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 46 to 47

Compare

+12 −0 in 2 places
Lines 318–334 at 47 (were 318–323 at 46)
318318 /attached a0123456789ab: "shot.png", 2 KB, https:\/\/issues.example\/p\/x\/attachments\/a0123456789ab/,
319319 );
320320 assert.match(text, /\n {4}attached a00000000000f: "mine.png", 3.0 MB/);
321+ // The way in comes before the first link, since an agent's fetch of a link is refused.
322+ assert.match(
323+ text,
324+ /^Issue [^\n]*\n[^\n]*\n3 files are attached below\. To read them: abso issue \d+ --save-attachments <folder> saves every one there, then open the files\. The links are for people signed in on the website\.\n/,
325+ );
326+ assert.doesNotMatch(
327+ issuePage({ ...page, issue: { ...page.issue, attachments: [] }, comments: [] } as unknown as IssuePage).join(
328+ "\n",
329+ ),
330+ /--save-attachments/,
331+ );
321332 // An SVG is listed as its PNG, with its own file as a download beside it.
322333 assert.match(
323334 text,
Lines 359–365 at 47 (were 348–353 at 46)
348359 ],
349360 } as unknown as IssuePage;
350361 const asks = issuePage(asked, { attachmentUrl: (id: string) => `https://i.example/${id}` }).join("\n");
362+ assert.match(asks, /\n5 files are attached below\./, "an ask's question and answer files count too");
351363 assert.match(
352364 asks,
353365 /ask 4: .*"Which\?"\n {4}attached a00000000000d: "a.png", 1 KB, https:\/\/i.example\/a00000000000d\n {4}answer: "This"\n {6}attached a00000000000e: "b.png", 1 KB/,
MCP
compare on this site's /mcp
CLI
abso diff 46 47 client/test/attach.test.ts --json
JSON
/christopher/abso-core/compare/46..47?file=client%2Ftest%2Fattach.test.ts&format=json