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 14 to 15

Compare

+7 −0 in 1 place
Lines 424–436 at 15 (were 424–429 at 14)
424424 );
425425 }
426426 const text = await res.text();
427+ // A server from before attachments has no upload route: it answers 404, or 400 because the body isn't JSON;
428+ // one with the route but nowhere to keep files answers 501. Say so plainly, and that nothing was sent.
429+ if (res.status === 404 || res.status === 501 || (res.status === 400 && /the body is JSON/.test(text)))
430+ throw new ApiError(
431+ `${this.issuesServer} doesn't take attachments yet, so ${name} wasn't sent and nothing was written. Leave --attach off, or link the image instead.`,
432+ res.status,
433+ );
427434 if (!res.ok) throw new ApiError(`uploading ${name} answered ${res.status}: ${errorSentence(text)}`, res.status);
428435 return JSON.parse(text) as Attachment;
429436 }
MCP
compare on this site's /mcp
CLI
abso diff 14 15 client/src/api.ts --json
JSON
/christopher/abso-core/compare/14..15?file=client%2Fsrc%2Fapi.ts&format=json