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 53 to 54

Compare

+7 −7 in 5 places
Lines 156–162 at 54 (were 156–162 at 53)
156156 this.startRetryDelaysMs = startRetryDelaysMs;
157157 }
158158
159− /** What a box run is for, for the server's box-run records (#39): X-Avcs-Kind on POST /run. */
159+ /** What a box run is for, for the server's box-run records (#39): X-Abso-Kind on POST /run. */
160160 runKind: RunKind = "run";
161161
162162 /** The Issues Worker (#54) this folder's issues calls go to; set by the issues commands (issues.ts). */
Lines 173–179 at 54 (were 173–179 at 53)
173173 headers(contentType?: string): Record<string, string> {
174174 return {
175175 // Which client made the call (#29); the mods send theirs too.
176− "x-avcs-client": `abso-cli/${clientVersion()}`,
176+ "x-abso-client": `abso-cli/${clientVersion()}`,
177177 ...(this.config.token ? { authorization: `Bearer ${this.config.token}` } : {}),
178178 ...(contentType ? { "content-type": contentType } : {}),
179179 };
Lines 479–485 at 54 (were 479–485 at 53)
479479 try {
480480 res = await fetch(this.url(path, this.issuesServer), {
481481 method: "POST",
482− headers: { ...this.headers("application/octet-stream"), "x-avcs-name": encodeURIComponent(name) },
482+ headers: { ...this.headers("application/octet-stream"), "x-abso-name": encodeURIComponent(name) },
483483 body: bytes as Uint8Array<ArrayBuffer>,
484484 signal: AbortSignal.timeout(Math.max(this.timeoutMs, 120_000)),
485485 });
Lines 882–890 at 54 (were 882–890 at 53)
882882 */
883883 async run(command: string, tarGz: Uint8Array<ArrayBuffer>, io: RunIO): Promise<number> {
884884 const res = await postRun(this, command, tarGz, io.onRetry, io.replace, io.fresh);
885− // X-Avcs-Box: cold means the box started for this run; X-Avcs-Prep says whether it started from the prep (#37).
886− io.onBox?.(res.headers.get("x-avcs-box") === "cold", res.headers.get("x-avcs-prep") ?? undefined);
887− return follow(this, res, res.headers.get("x-avcs-run"), { at: 0, errAt: 0 }, io);
885+ // X-Abso-Box: cold means the box started for this run; X-Abso-Prep says whether it started from the prep (#37).
886+ io.onBox?.(res.headers.get("x-abso-box") === "cold", res.headers.get("x-abso-prep") ?? undefined);
887+ return follow(this, res, res.headers.get("x-abso-run"), { at: 0, errAt: 0 }, io);
888888 }
889889
890890 /**
Lines 898–904 at 54 (were 898–904 at 53)
898898 replace = false,
899899 ): Promise<string> {
900900 const res = await postRun(this, command, tarGz, onRetry, replace);
901− const id = res.headers.get("x-avcs-run");
901+ const id = res.headers.get("x-abso-run");
902902 if (id === null) {
903903 // No id: the box failed before the job started ({"error"} in the body), or the server can't detach.
904904 await consumeRun(res, { out: () => {} }, { at: 0, errAt: 0 });
MCP
compare on this site's /mcp
CLI
abso diff 53 54 client/src/api.ts --json
JSON
/christopher/abso-core/compare/53..54?file=client%2Fsrc%2Fapi.ts&format=json