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 280 to 281

Compare

+4 −4 in 1 place
Lines 327–339 at 281 (were 327–339 at 280)
327327
328328/**
329329 * The commonest failures in plain words, with the next step: no credential, a credential the server refuses, and a
330− * server that can't be reached. Anything else is left as it was. `signedIn` is whether the call carried a key or token.
330+ * server that can't be reached. Anything else is left as it was. `sent` names the key or token the call carried, if any.
331331 */
332−export function plainError(err: unknown, signedIn: boolean, tokenFileUnasked = false): string | undefined {
332+export function plainError(err: unknown, sent: string | undefined, tokenFileUnasked = false): string | undefined {
333333 if (!(err instanceof ApiError)) return undefined;
334334 if (err.status === 401)
335− return signedIn
336− ? `The server didn't accept this folder's key: it may be revoked or expired. abso doctor checks it. (${err.message})`
335+ return sent !== undefined
336+ ? `The server didn't accept ${sent}: it may be revoked or expired. abso doctor checks it. (${err.message})`
337337 : `You're not signed in. Run abso login, then abso join <project>.${tokenFileUnasked ? " ~/.abso/token is used only with --token-file." : ""}`;
338338 if (err.status === undefined && err.message.startsWith("could not reach ")) {
339339 const said = err.message.replace(/^could not reach /, "Can't reach ");
MCP
compare on this site's /mcp
CLI
abso diff 280 281 client/src/doctor.ts --json
JSON
/christopher/abso-core/compare/280..281?file=client%2Fsrc%2Fdoctor.ts&format=json