Versions 85 to 86
new file, 44 lines
1+// A visitor folder: abso join <project> --reader with no sign-in, for a public project. It reads the
2+// project through the routes anyone can read, and sends no credential, whatever the environment holds
3+// (config.ts reads no token for it, and Api sends none and follows no redirect). Which commands it runs
4+// is a list of reads: anything not on it is refused here, before any call, so a new command stays
5+// refused until someone adds it. The server refuses writes from it too; this is so the refusal is plain.
6+
8+
22+
25+
28+
30+ return `This folder reads ${project} signed out. To work on it: abso login, then abso join ${project} in a new folder.`;
32+
40+ throw new UsageError(`${visitorRefusal(project)} Here, ${command} reads only; --${name} isn't one of its reads.`);
42+ if (command === "issue" && !(args.positionals.length === 1 && /^#?\d+$/.test(args.positionals[0]!)))
43+ throw new UsageError(`${visitorRefusal(project)} Here, issue reads one issue: abso issue <N>.`);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 85 86 client/src/visitor.ts --json
- JSON
- /christopher/abso-core/compare/85..86?file=client%2Fsrc%2Fvisitor.ts&format=json