Versions 270 to 271
Lines 5–11 at 271 (were 5–11 at 270)
66import { type Answer, type BoxRecord, boxGet, boxText, originOf, readBox, signedInServers } from "./box.ts";
8−import { type Config, credentialLabel, findRoot, readConfig } from "./config.ts";
1010
Lines 84–92 at 271 (were 84–90 at 270)
87− : "no key";
8991
Lines 329–340 at 271 (were 327–338 at 270)
327329 * The commonest failures in plain words, with the next step: no credential, a credential the server refuses, and a
328330 * server that can't be reached. Anything else is left as it was. `signedIn` is whether the call carried a key or token.
330−export function plainError(err: unknown, signedIn: boolean): string | undefined {
332+export function plainError(err: unknown, signedIn: boolean, tokenFileUnasked = false): string | undefined {
334336 ? `The server didn't accept this folder's key: it may be revoked or expired. abso doctor checks it. (${err.message})`
335− : "You're not signed in. Run abso login, then abso join <project>.";
337+ : `You're not signed in. Run abso login, then abso join <project>.${tokenFileUnasked ? " ~/.abso/token is used only with --token-file." : ""}`;
338340 // A message that already gives its next step (publish's "Run the same command again.") keeps it as the last word.
- MCP
- compare on this site's /mcp
- CLI
- abso diff 270 271 client/src/doctor.ts --json
- JSON
- /christopher/abso-core/compare/270..271?file=client%2Fsrc%2Fdoctor.ts&format=json