Versions 86 to 318
Lines 1–9 at 318 (were 1–6 at 86)
11// What every abso command shares: its output, its environment, the folder it opens, and the news it took.
22
3−import { Api, type News, newsLines, type RunKind } from "./api.ts";
Lines 22–40 at 318 (were 19–30 at 86)
25+ /** --token-file: this machine's ~/.abso/token may sign in, where nothing else does. Never read otherwise. */
2429 /** What a box run is for, when a command runs one for its own ends (shot, bisect, publish --check). */
34+ * The server --server named, checked (server-choice.ts), when the command was given one. It is used as given,
2939
Lines 47–74 at 318 (were 37–47 at 86)
3848 `You're not in an abso folder: ${env.cwd} has no .abso/config.json, nor does any folder above it. abso join <project> makes one, or abso init a new project.`,
40− const config = readConfig(root, env.env);
41− return { root, config, api: new Api(config) };
4355
57+ * The caller header for this chat, computer and folder. The chat's session id goes as a short SHA-256 of it and the
58+ * folder as its last part, so neither the raw id nor the path (which names the person) leaves the machine.
60+export function callerFor(session: string | undefined, machine: string, root: string): string | undefined {
61+ const hashed = session ? createHash("sha256").update(session).digest("hex").slice(0, 16) : undefined;
70+
Lines 76–82 at 318 (were 49–55 at 86)
52− return takenNews.splice(0);
5481
- MCP
- compare on this site's /mcp
- CLI
- abso diff 86 318 client/src/command-env.ts --json
- JSON
- /christopher/abso-core/compare/86..318?file=client%2Fsrc%2Fcommand-env.ts&format=json