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 157 to 318

Compare

+14 −2 in 3 places
Lines 18–24 at 318 (were 18–23 at 157)
1818// ABSO_TOKEN set, the server refuses every call.
1919
2020import { type Answer, validName } from "../../worker/project/http.ts";
21+import { withAdvice } from "./autosettle.ts";
2122import { artifactsOf, type Env, secret } from "./env.ts";
2223import type { IssuesAuth, issuesFetch } from "./issues-entry.ts";
2324import { isAgentKey, type KeyRole, keyAllows, keysEnabled, timingSame } from "./keys.ts";
Lines 54–60 at 318 (were 53–58 at 157)
5354 "file",
5455 "files",
5556 "compare",
57+ "without",
5658 "where",
5759 "feed",
5860 "drafts",
Lines 259–276 at 318 (were 257–264 at 157)
257259 body = { ...rest, ...(/^[\w.+-]{1,20}\/[\w.+-]{1,40}$/.test(client) ? { client } : {}) };
258260 }
259261 try {
260− const a = (await obj.call(project, (op ?? top)!, agent, body, false, how, keyForCall)) as unknown as Answer;
261− return json(a.status, a.body);
262+ const a = (await obj.call(
263+ project,
264+ (op ?? top)!,
265+ agent,
266+ body,
267+ false,
268+ how,
269+ keyForCall,
270+ request.headers.get("Idempotency-Key") ?? undefined,
271+ )) as unknown as Answer;
272+ // A held push gets a first opinion on each collision (#19), when the server is set up for it.
273+ return json(a.status, await withAdvice(env, op, agent, body, a.body));
262274 } catch (e) {
263275 const error = `the project object failed: ${e instanceof Error ? e.message : String(e)}`;
264276 console.error(`${project} ${op ?? top}: ${error}`);
MCP
compare on this site's /mcp
CLI
abso diff 157 318 server/src/router.ts --json
JSON
/christopher/abso-core/compare/157..318?file=server%2Fsrc%2Frouter.ts&format=json