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

+11 −0 in 1 place
Lines 259–278 at 47 (were 259–267 at 46)
259259 ? `${i.closed.how === "done" ? "Done" : "Dropped"} by ${i.closed.by}${i.closed.version !== null ? ` in version ${i.closed.version}` : ""}, ${shortWhen(i.closed.at)}.`
260260 : "",
261261 ].filter((f) => f !== "");
262+ // The links below open for people signed in on the website; an agent's fetch of one is refused. Say the way in
263+ // before the first link, so an agent reads the files instead of hunting for them.
264+ const files =
265+ (i.attachments ?? []).length +
266+ p.comments.reduce((n, c) => n + (c.attachments ?? []).length, 0) +
267+ p.asks.reduce((n, a) => n + (a.attachments ?? []).length + (a.answer?.attachments ?? []).length, 0);
262268 return [
263269 `Issue ${i.id}: ${q(i.title)} [${i.status}]`,
264270 facts.join(" "),
271+ ...(files > 0
272+ ? [
273+ `${files === 1 ? "1 file is" : `${files} files are`} attached below. To read ${files === 1 ? "it" : "them"}: abso issue ${i.id} --save-attachments <folder> saves ${files === 1 ? "it" : "every one"} there, then open the files. The links are for people signed in on the website.`,
274+ ]
275+ : []),
265276 ...(i.lines ? [`From ${i.lines.file} lines ${i.lines.from}-${i.lines.to} at version ${i.lines.version}.`] : []),
266277 ...(i.description !== "" ? ["", ...i.description.split("\n").map((l) => ` ${l}`)] : []),
267278 ...attachmentLines(api, i.attachments, " "),
MCP
compare on this site's /mcp
CLI
abso diff 46 47 client/src/issues.ts --json
JSON
/christopher/abso-core/compare/46..47?file=client%2Fsrc%2Fissues.ts&format=json