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 35 to 36

Compare

+20 −0 in 1 place
Lines 2204–2229 at 36 (were 2204–2209 at 35)
22042204 (await main(["status", "--short"], { cwd: folders.alice!, env: QENV, write: () => {} })).stdout,
22052205 "0+unpublished+queued\n",
22062206 );
2207+ // waiting --mine lists it beside the asks (an Issues stand-in with none open).
2208+ const stub = createHttpServer((_req, res) =>
2209+ res.writeHead(200, { "content-type": "application/json" }).end('{"asks":[]}'),
2210+ );
2211+ await new Promise<void>((ok) => stub.listen(0, "127.0.0.1", ok));
2212+ try {
2213+ const issuesUrl = `http://127.0.0.1:${(stub.address() as AddressInfo).port}`;
2214+ const waiting = await main(["waiting", "--mine"], {
2215+ cwd: folders.alice!,
2216+ env: { ...QENV, AVCS_ISSUES_SERVER: issuesUrl },
2217+ write: () => {},
2218+ });
2219+ assert.equal(waiting.exit, 0, waiting.stdout + waiting.stderr);
2220+ assert.match(
2221+ waiting.stdout,
2222+ /^Your publish 1 \("two"\) is in the merge queue: [^\n]+\.\nIt lands or is pulled once the project's check runs on it; the outcome comes as news, and abso unqueue takes it back\.\nNo open asks of alice\.\n$/,
2223+ );
2224+ } finally {
2225+ await new Promise((ok) => stub.close(ok));
2226+ }
22072227
22082228 // bob changes the same line: refused at once, naming the queued publish, not a version.
22092229 write(folders.bob!, { "other.txt": "two, by bob\n" });
MCP
compare on this site's /mcp
CLI
abso diff 35 36 client/test/client.test.ts --json
JSON
/christopher/abso-core/compare/35..36?file=client%2Ftest%2Fclient.test.ts&format=json