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

+9 −8 in 5 places
Lines 6–17 at 27 (were 6–16 at 26)
66import { bool, type Parsed, str, UsageError } from "./args.ts";
77import { writeKnownBlobs } from "./blobs.ts";
88import { mintKey, readBox } from "./box.ts";
9−import { STARTING_AVCSIGNORE } from "./check-ignore.ts";
9+import { STARTING_ABSOIGNORE } from "./check-ignore.ts";
1010import { CLIENT_DIR } from "./client-version.ts";
1111import { type Env, type Output, plural } from "./command-env.ts";
1212import { leftOutText, syncFolder, uploadBlobs } from "./commands.ts";
1313import { findRoot, installKey, readConfig, type Settings, tokenFor, writeConfig } from "./config.ts";
14+import { fromEnv } from "./env-names.ts";
1415import { clearKnown, loadIgnore, readFolder, writeKnown } from "./folder.ts";
1516import { modInstalled } from "./install.ts";
1617import { type FullMode, foldModes, writeKnownModes } from "./modes.ts";
Lines 20–27 at 27 (were 19–26 at 26)
1920import { stateDir } from "./state-dir.ts";
2021
2122function serverFrom(args: Parsed, env: Env): string {
22− const server = str(args, "server") ?? env.env.AVCS_SERVER;
23− if (!server) throw new UsageError("give the server with --server <url> (or AVCS_SERVER)");
23+ const server = str(args, "server") ?? fromEnv(env.env, "SERVER");
24+ if (!server) throw new UsageError("give the server with --server <url> (or ABSO_SERVER)");
2425 return server;
2526}
2627
Lines 46–54 at 27 (were 45–53 at 26)
4546 if (!project) throw new UsageError("give the project a name with --project <name>");
4647 const config = makeSettings(args, env, project);
4748 const asIs = bool(args, "as-is");
48− const avcsignore = join(root, ".avcsignore");
49− const wroteIgnore = !asIs && !existsSync(avcsignore);
50− if (wroteIgnore) writeFileSync(avcsignore, STARTING_AVCSIGNORE);
49+ const absoignore = join(root, ".absoignore");
50+ const wroteIgnore = !asIs && !existsSync(absoignore) && !existsSync(join(root, ".avcsignore"));
51+ if (wroteIgnore) writeFileSync(absoignore, STARTING_ABSOIGNORE);
5152 // What the server runs on each new version (#39), guessed from package.json; recorded with the rest.
5253 const wroteProject = asIs ? "exists" : writeStartingProjectFile(root);
5354 const { files, blobs, modes, leftOut } = readFolder(root, loadIgnore(root));
Lines 73–79 at 27 (were 72–78 at 26)
7273 `Created project ${project} at version ${answer.version} from ${plural(files.size, "text file")} in ${root}.`,
7374 ...leftOutText(leftOut),
7475 ...(wroteIgnore
75− ? ["Wrote a starting .avcsignore (Claude Code state and operating system files); edit it like .gitignore."]
76+ ? ["Wrote a starting .absoignore (Claude Code state and operating system files); edit it like .gitignore."]
7677 : []),
7778 ...startingProjectFileText(wroteProject),
7879 ...(answer.skipped && answer.skipped.length > 0 ? [`The server skipped: ${answer.skipped.join(", ")}.`] : []),
Lines 88–94 at 27 (were 87–93 at 26)
8788 files: files.size,
8889 root,
8990 agent: config.agent,
90− wroteAvcsignore: wroteIgnore,
91+ wroteAbsoignore: wroteIgnore,
9192 wroteProjectFile: typeof wroteProject === "string" ? null : wroteProject,
9293 leftOut,
9394 },
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/src/join-commands.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Fsrc%2Fjoin-commands.ts&format=json