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

Compare

+3 −2 in 2 places
Lines 24–30 at 318 (were 24–30 at 30)
2424export const MOD_KNOWS_ABSO = [0, 2, 0] as const;
2525
2626/** Every name a mod has been installed under, in Claude Code's skills folder. */
27−const MOD_NAMES = ["avcs", "avcs-view", "abso", "abso-view"] as const;
27+const MOD_NAMES = ["avcs", "avcs-view", "abso", "abso-view", "abso-hooks"] as const;
2828
2929function versionAtLeast(version: string, min: readonly number[]): boolean {
3030 const parts = version.split("+")[0]!.split(".").map(Number);
Lines 39–51 at 318 (were 39–50 at 30)
3939export function newFolderDir(env: Readonly<Record<string, string | undefined>> = process.env): string {
4040 const skills = join(env.CLAUDE_CONFIG_DIR || join(homedir(), ".claude"), "skills");
4141 for (const name of MOD_NAMES) {
42+ if (!existsSync(join(skills, name))) continue; // not installed
4243 let version: unknown;
4344 try {
4445 version = (JSON.parse(readFileSync(join(skills, name, ".avcs-install.json"), "utf8")) as { version?: unknown })
4546 .version;
4647 } catch {
47− continue; // not installed, or no readable record
48+ return OLD_STATE_DIR; // installed, but no readable record: count it as old
4849 }
4950 if (typeof version !== "string" || !versionAtLeast(version, MOD_KNOWS_ABSO)) return OLD_STATE_DIR;
5051 }
MCP
compare on this site's /mcp
CLI
abso diff 30 318 client/src/state-dir.ts --json
JSON
/christopher/abso-core/compare/30..318?file=client%2Fsrc%2Fstate-dir.ts&format=json