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 10 to 11

Compare

+8 −3 in 3 places
Lines 18–28 at 11 (were 18–27 at 10)
1818 syncFolder,
1919 turnedBinaryText,
2020 unwrittenText,
21+ withLeftOut,
2122} from "./commands.ts";
2223import { type Config, isReader } from "./config.ts";
2324import { ignoredHere } from "./fetch.ts";
24−import { absolute, forgetKnown, isLocalOnly, loadIgnore, readText, writeFileAtomic } from "./folder.ts";
25+import { absolute, forgetKnown, isLocalOnly, type LeftOut, loadIgnore, readText, writeFileAtomic } from "./folder.ts";
2526import { PROJECT_FILE, readProjectFile } from "./project-file.ts";
2627import { pulledText, STILL_QUEUED, standing, WAIT_SECONDS, waitForQueued } from "./queue.ts";
2728import { type Refused, refusedText, unsafePath } from "./safety.ts";
Lines 187–203 at 11 (were 186–200 at 10)
186187 say("avcs: the check passed; publishing.\n");
187188 }
188189 const checked = check !== undefined;
189− const steps = publishSteps(args, env, root, config, api, message, checked, waitSeconds, skippedCheck);
190+ const leftOut: LeftOut[] = [];
191+ const steps = publishSteps(args, env, root, config, api, message, checked, waitSeconds, skippedCheck, leftOut);
190192 // Say how far it got when the server can't be reached (#37, GAME - UI/UX: did the check run? did the draft go up?).
191− const out = await unreached(
193+ const reached = await unreached(
192194 steps,
193195 checked
194196 ? "The check passed, but the publish never reached the server: nothing was published."
195197 : "Nothing was published.",
196198 `${checked ? "The check passed; " : ""}the publish may have reached the server before its answer was lost: abso status shows whether your draft was published.`,
197199 );
200+ const out = withLeftOut(reached, leftOut);
198201 // --done: this publish finishes the work the start note named (#44): take the note back once it's published or queued.
199202 const went =
200203 (out.json as { version?: unknown; queued?: unknown }).version !== undefined ||
Lines 285–294 at 11 (were 282–289 at 10)
282285 checked: boolean,
283286 waitSeconds: number,
284287 skippedCheck: boolean,
288+ leftOut: LeftOut[],
285289): Promise<Output> {
286290 const recorded = await recordFolder(root, api, false, meantBinary(args));
291+ leftOut.push(...recorded.leftOut);
287292 const pre = [...recordedFirst(recorded), ...droppedIgnoredText(await dropIgnoredFromDraft(root, api))];
288293 if (recorded.turnedBinary.length > 0) {
289294 // Publishing now would leave the others on the file's old text without anyone noticing (#25).
MCP
compare on this site's /mcp
CLI
abso diff 10 11 client/src/publish-commands.ts --json
JSON
/christopher/abso-core/compare/10..11?file=client%2Fsrc%2Fpublish-commands.ts&format=json