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 276 to 277

Compare

+7 −3 in 3 places
Lines 1–8 at 277 (were 1–6 at 276)
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";
3+import { hostname } from "node:os";
4+import { callerHeader } from "../../src/caller.ts";
5+import { Api, type News, newsLines, type RunKind, takeSeatNotices } from "./api.ts";
46import { UsageError } from "./args.ts";
57import { type Config, findRoot, readConfig } from "./config.ts";
68import { newsBlockLines, newsShown } from "./core.ts";
Lines 47–55 at 277 (were 45–51 at 276)
4547 `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.`,
4648 );
4749 const config = readConfig(root, env.env, env.tokenFile === true);
48− return { root, config, api: new Api(config) };
50+ const api = new Api(config);
51+ api.caller = callerHeader({ session: env.env.CLAUDE_CODE_SESSION_ID, machine: hostname(), folder: root });
52+ return { root, config, api };
4953}
5054
5155/**
Lines 60–66 at 277 (were 56–62 at 276)
5660 */
5761const takenNews: string[] = [];
5862export function takeNews(): string[] {
59− return takenNews.splice(0);
63+ return [...takeSeatNotices(), ...takenNews.splice(0)];
6064}
6165
6266/** News a record answered with: kept in .avcs/news.log, and printed by main(). */
MCP
compare on this site's /mcp
CLI
abso diff 276 277 client/src/command-env.ts --json
JSON
/christopher/abso-core/compare/276..277?file=client%2Fsrc%2Fcommand-env.ts&format=json