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 16 to 17

Compare

+3 −2 in 2 places
Lines 16–27 at 17 (were 16–26 at 16)
1616import { homedir } from "node:os";
1717import { dirname, isAbsolute, join, resolve } from "node:path";
1818import { Api, type News, newsLines } from "./api.ts";
19−import { AVCS_DIR, findRoot, isReader, readConfig } from "./config.ts";
19+import { findRoot, isReader, readConfig } from "./config.ts";
2020import { editBody, newsContext, normalize, spellingText, uncomposedText } from "./core.ts";
2121import { forgetKnown, isPaused, loadIgnore, logNews, readKnown, readText, relativeTo, writeKnown } from "./folder.ts";
2222import { tryFolderLock } from "./lock.ts";
2323import { readKnownModes } from "./modes.ts";
24+import { stateDir } from "./state-dir.ts";
2425
2526/** The fields of Claude Code's PostToolUse input that the hook reads. */
2627interface HookInput {
Lines 190–196 at 17 (were 189–195 at 16)
189190
190191function log(root: string, line: string): void {
191192 try {
192− appendFileSync(join(root, AVCS_DIR, "hook.log"), `${line}\n`);
193+ appendFileSync(join(stateDir(root), "hook.log"), `${line}\n`);
193194 } catch {
194195 // Logging is best effort.
195196 }
MCP
compare on this site's /mcp
CLI
abso diff 16 17 client/src/hook.ts --json
JSON
/christopher/abso-core/compare/16..17?file=client%2Fsrc%2Fhook.ts&format=json