Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 26 to 27

Compare

+3 −2 in 2 places
Lines 17–23 at 27 (were 17–22 at 26)
1717import { basename, join } from "node:path";
1818import { UsageError } from "./args.ts";
1919import { LOCK_FILE, LOCK_STALE_MS, type LockInfo } from "./core.ts";
20+import { fromEnv } from "./env-names.ts";
2021import { writeFileAtomic } from "./folder.ts";
2122import { stateDir } from "./state-dir.ts";
2223
Lines 143–150 at 27 (were 142–149 at 26)
142143 const mine = held.get(root);
143144 if (mine) mine.depth++;
144145 else {
145− // AVCS_LOCK_WAIT_MS shortens the wait in tests.
146− const until = Date.now() + (Number(process.env.AVCS_LOCK_WAIT_MS) || WAIT_MS);
146+ // ABSO_LOCK_WAIT_MS shortens the wait in tests.
147+ const until = Date.now() + (Number(fromEnv(process.env, "LOCK_WAIT_MS")) || WAIT_MS);
147148 for (;;) {
148149 const got = take(root, what);
149150 if (got === "no folder") return fn(); // no .avcs/ yet (init): nothing to protect
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/src/lock.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Fsrc%2Flock.ts&format=json