Versions 271 to 318
Lines 1–9 at 318 (were 1–6 at 271)
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 48–74 at 318 (were 45–54 at 271)
4548 `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.`,
48− return { root, config, api: new Api(config) };
5055
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 56–62 at 271)
59− return takenNews.splice(0);
6181
- MCP
- compare on this site's /mcp
- CLI
- abso diff 271 318 client/src/command-env.ts --json
- JSON
- /christopher/abso-core/compare/271..318?file=client%2Fsrc%2Fcommand-env.ts&format=json