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 26 to 27

Compare

+3 −2 in 3 places
Lines 18–24 at 27 (were 18–23 at 26)
1818import { Api, type News, newsLines } from "./api.ts";
1919import { findRoot, isReader, readConfig } from "./config.ts";
2020import { editBody, newsContext, normalize, spellingText, uncomposedText } from "./core.ts";
21+import { fromEnv } from "./env-names.ts";
2122import { forgetKnown, isPaused, loadIgnore, logNews, readKnown, readText, relativeTo, writeKnown } from "./folder.ts";
2223import { tryFolderLock } from "./lock.ts";
2324import { readKnownModes } from "./modes.ts";
Lines 60–66 at 27 (were 59–65 at 26)
5960 }
6061 // With the abso mod installed, every Claude Code session on this machine sends
6162 // its edits in-process, so this hook stands down rather than send them twice.
62− if (env.AVCS_HOOK_FORCE !== "1" && existsSync(join(modDir(env), ".claude-plugin", "plugin.json"))) {
63+ if (fromEnv(env, "HOOK_FORCE") !== "1" && existsSync(join(modDir(env), ".claude-plugin", "plugin.json"))) {
6364 return { stdout: "", outcome: "skipped: the abso mod sends edits" };
6465 }
6566 const tool = input.tool_name ?? "";
Lines 88–94 at 27 (were 87–93 at 26)
8788 outcome = "skipped: a link (a file standing in for one); abso record sends links";
8889 } else {
8990 const config = readConfig(root, env);
90− const timeout = Number(env.AVCS_HOOK_TIMEOUT_MS) || DEFAULT_TIMEOUT_MS;
91+ const timeout = Number(fromEnv(env, "HOOK_TIMEOUT_MS")) || DEFAULT_TIMEOUT_MS;
9192 const api = new Api(config, timeout);
9293 const who = {
9394 ...(input.session_id ? { session: input.session_id } : {}),
MCP
compare on this site's /mcp
CLI
abso diff 26 27 client/src/hook.ts --json
JSON
/christopher/abso-core/compare/26..27?file=client%2Fsrc%2Fhook.ts&format=json