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 16 to 17

Compare

+5 −4 in 5 places
Lines 14–20 at 17 (were 14–19 at 16)
1414import { absolute, isLocalOnly, loadIgnore, readText, walk, writeFileAtomic } from "./folder.ts";
1515import { onDisk, PLAIN, readKnownModes } from "./modes.ts";
1616import { unsafePath } from "./safety.ts";
17+import { stateDir } from "./state-dir.ts";
1718import { type TarEntry, tarGz } from "./tar.ts";
1819
1920/** One word for the box's shell (POSIX sh), quoted only when it needs it. */
Lines 88–94 at 17 (were 87–93 at 16)
8788 );
8889 const box = pair.slice(0, eq).replace(/\\/g, "/").replace(/^\.\//, "").replace(/\/+$/, "");
8990 const local = resolve(cwd, pair.slice(eq + 1));
90− const why = unsafePath(box) ?? (isLocalOnly(box) ? "it is under .git, .claude, .avcs or node_modules" : undefined);
91+ const why = unsafePath(box) ?? (isLocalOnly(box) ? "it is under .git, .claude, .abso or node_modules" : undefined);
9192 if (why !== undefined) throw new UsageError(`--with can't put a file at ${JSON.stringify(box)}: ${why}`);
9293 let st;
9394 try {
Lines 461–467 at 17 (were 460–466 at 16)
460461 runner.box = api.box;
461462 const log = (what: string, why: string): void => {
462463 try {
463− appendFileSync(join(root, ".avcs", "run.log"), `${new Date().toISOString()}\t${what}: ${named}\t${why}\n`);
464+ appendFileSync(join(stateDir(root), "run.log"), `${new Date().toISOString()}\t${what}: ${named}\t${why}\n`);
464465 } catch {
465466 // The log is a convenience.
466467 }
Lines 522–528 at 17 (were 521–527 at 16)
521522 * (#37, Artist 1: a 40 s suite ran, then was refused).
522523 */
523524function prepFile(root: string): string {
524− return join(root, ".avcs", "box-prep.json");
525+ return join(stateDir(root), "box-prep.json");
525526}
526527export function knownPrep(root: string, box: string | undefined): string | null | undefined {
527528 try {
Lines 568–574 at 17 (were 567–573 at 16)
567568 onReconnect: (why, attempt) => {
568569 try {
569570 appendFileSync(
570− join(root, ".avcs", "run.log"),
571+ join(stateDir(root), "run.log"),
571572 `${new Date().toISOString()}\treconnecting (try ${attempt}) to run ${id}\t${why}\n`,
572573 );
573574 } catch {
MCP
compare on this site's /mcp
CLI
abso diff 16 17 client/src/box-commands.ts --json
JSON
/christopher/abso-core/compare/16..17?file=client%2Fsrc%2Fbox-commands.ts&format=json