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 40 to 318

Compare

+8 −4 in 3 places
Lines 16–22 at 318 (were 16–22 at 40)
1616import { homedir } from "node:os";
1717import { dirname, isAbsolute, join, resolve } from "node:path";
1818import { Api, type News, newsLines } from "./api.ts";
19−import { findRoot, isReader, readConfig } from "./config.ts";
19+import { findRoot, isReader, isVisitor, readConfig } from "./config.ts";
2020import { editBody, newsContext, normalize, spellingText, uncomposedText } from "./core.ts";
2121import { fromEnv } from "./env-names.ts";
2222import { forgetKnown, isPaused, loadIgnore, logNews, readKnown, readText, relativeTo, writeKnown } from "./folder.ts";
Lines 65–75 at 318 (were 65–73 at 40)
6565 }
6666 // With the abso mod installed, every Claude Code session on this machine sends
6767 // its edits in-process, so this hook stands down rather than send them twice.
68− if (fromEnv(env, "HOOK_FORCE") !== "1" && (existsSync(join(modDir(env), ".claude-plugin", "plugin.json")) ||
69− existsSync(join(oldModDir(env), ".claude-plugin", "plugin.json"))))
70− {
68+ if (
69+ fromEnv(env, "HOOK_FORCE") !== "1" &&
70+ (existsSync(join(modDir(env), ".claude-plugin", "plugin.json")) ||
71+ existsSync(join(oldModDir(env), ".claude-plugin", "plugin.json")))
72+ ) {
7173 return { stdout: "", outcome: "skipped: the abso mod sends edits" };
7274 }
7375 const tool = input.tool_name ?? "";
Lines 91–98 at 318 (were 89–94 at 40)
8991 outcome = "skipped: recording is paused (abso resume)";
9092 } else if (isReader(root)) {
9193 outcome = "skipped: this folder is a reader";
94+ } else if (isVisitor(root)) {
95+ outcome = "skipped: this folder reads signed out";
9296 } else if (rel === undefined || loadIgnore(root)(rel, false)) {
9397 outcome = "skipped: ignored path";
9498 } else if (readKnownModes(root).get(rel)?.link != null) {
MCP
compare on this site's /mcp
CLI
abso diff 40 318 client/src/hook.ts --json
JSON
/christopher/abso-core/compare/40..318?file=client%2Fsrc%2Fhook.ts&format=json