- MCP
- show on this site's /mcp
- CLI
- abso show 40 --json
- JSON
- /christopher/abso-core/versions/40?format=json
Mods: the hooks mod is abso-hooks and the view mod abso-view; an install moves the old skills/avcs and skills/avcs-view folders to ~/.abso/retired-mods (moved, not deleted); the hook stands down for either name; status checks either. Tests cover the move.
of shared·review··Not checked
Version 39 · Files at version 40
10 files, 106 lines added, 38 removed.
--- a/client/.claude-plugin/plugin.json
+++ b/client/.claude-plugin/plugin.json
@@ -1,5 +1,5 @@
2− "name": "avcs",
44 "description": "Records each Claude Code edit into the agent's draft on the avcs server, and hands news about others' published work back to the agent.",
--- a/client/src/hook.ts
+++ b/client/src/hook.ts
@@ -44,6 +44,11 @@
4444
4545/** Where install-mod.ts puts the mod: Claude Code's skills folder, which every session loads. */
4646export function modDir(env: Readonly<Record<string, string | undefined>> = process.env): string {
49+
51+export function oldModDir(env: Readonly<Record<string, string | undefined>> = process.env): string {
4954
@@ -60,7 +65,9 @@
63− if (fromEnv(env, "HOOK_FORCE") !== "1" && existsSync(join(modDir(env), ".claude-plugin", "plugin.json"))) {
68+ if (fromEnv(env, "HOOK_FORCE") !== "1" && (existsSync(join(modDir(env), ".claude-plugin", "plugin.json")) ||
--- a/client/src/install.ts
+++ b/client/src/install.ts
@@ -107,27 +107,50 @@
107107
108108/** The abso mod: what the hook imports first, plugin.json last. src/core.ts is the only client file it imports. */
110− name: "avcs",
112112 files: ["src/core.ts", "hooks/stamp.ts", "hooks/register.ts", "hooks/hooks.json", ".claude-plugin/plugin.json"],
115115
116−/** The avcs-view mod (#12), from client/view. */
118− name: "avcs-view",
120120 files: ["types/index.d.ts", "hooks/stamp.ts", "hooks/register.tsx", "hooks/hooks.json", ".claude-plugin/plugin.json"],
123123
124+/** The skills folders the mods had before the rename; an install moves them out of the way (see retireOldMod). */
125+export const OLD_MOD_NAMES: Readonly<Record<string, string>> = { "abso-hooks": "avcs", "abso-view": "avcs-view" };
126+
125128export const skillsFolder = (name: string, env: Readonly<Record<string, string | undefined>> = process.env) =>
127130
128131export const modInstalled = (env: Readonly<Record<string, string | undefined>> = process.env) =>
129− existsSync(at(skillsFolder(AVCS_MOD.name, env), MANIFEST));
130134
136+ * After the new mod is in, the folder it replaces (skills/avcs, skills/avcs-view) would load beside it, so it
137+ * is moved, not deleted, to ~/.abso/retired-mods/<name>-<stamp>. Returns where it went, or undefined when there was none.
148+ const to = join(homedir(), ".abso", "retired-mods", `${old}-${now.toISOString().replace(/[:.]/g, "-")}`);
153+
131154/** The version an install of `spec` gets: plugin.json's, plus the last commit that changed its files (and .dirty when they differ from it). */
133156 const manifest = JSON.parse(readFileSync(at(spec.from, MANIFEST), "utf8")) as { version?: unknown };
@@ -405,6 +428,9 @@
407430 const r = installMod(spec, { target, check: unchecked ? () => undefined : checkWithClaude(spec) });
433+ if (retired) console.log(`Moved the old ${OLD_MOD_NAMES[spec.name]} mod out of the skills folder, to ${retired}.`);
409435 console.log(`The ${spec.name} mod ${r.version} is already installed in ${target}; nothing changed.`);
--- a/client/src/state-dir.ts
+++ b/client/src/state-dir.ts
@@ -24,7 +24,7 @@
2525
27−const MOD_NAMES = ["avcs", "avcs-view", "abso", "abso-view"] as const;
2828
--- a/client/src/status-commands.ts
+++ b/client/src/status-commands.ts
@@ -90,14 +90,17 @@
9191export function staleModText(root: string, env: Readonly<Record<string, string | undefined>>): string[] {
93− try {
94− const dir = join(env.CLAUDE_CONFIG_DIR || join(env.USERPROFILE || env.HOME || "", ".claude"), "skills", "avcs");
95− installed = String(
96− (JSON.parse(readFileSync(join(dir, ".claude-plugin", "plugin.json"), "utf8")) as { version?: unknown }).version,
97− );
98− } catch {
99− return [];
93+ const skills = join(env.CLAUDE_CONFIG_DIR || join(env.USERPROFILE || env.HOME || "", ".claude"), "skills");
97+ (JSON.parse(readFileSync(join(skills, name, ".claude-plugin", "plugin.json"), "utf8")) as { version?: unknown })
--- a/client/test/install.test.ts
+++ b/client/test/install.test.ts
@@ -24,7 +24,16 @@
27−import { installMod, type ModSpec, modsBehindText, rollbackMod, versionFor, versionReport } from "../src/install.ts";
2938
@@ -335,7 +344,7 @@
338− target: join(config, "skills", "avcs"),
@@ -346,9 +355,9 @@
349− /^the avcs mod: 0\.1\.0\+aaaaaaa in .*skills[\\/]avcs, installed 2026-10-05 04:30 UTC; this client has 0.2.0(\+[0-9a-f]{7}(\.dirty)?)?: node client\/install-mod\.ts installs it$/,
358+ /^the abso-hooks mod: 0\.1\.0\+aaaaaaa in .*skills[\\/]abso-hooks, installed 2026-10-05 04:30 UTC; this client has 0.2.0(\+[0-9a-f]{7}(\.dirty)?)?: node client\/install-mod\.ts installs it$/,
351− assert.equal(view, "the avcs-view mod: not installed (node client/install-view.ts)");
353362 (await main(["--version", "--json"], { cwd: config, env: { CLAUDE_CONFIG_DIR: config }, write: () => {} }))
@@ -357,12 +366,35 @@
359368
369+ it("moves the old avcs mod folder out of the skills folder, not deleting it, once abso-hooks is in", () => {
391+
360392 it("status says when an installed mod is behind this client, where the client knows its commit (abso issue 41)", () => {
365− target: join(config, "skills", "avcs"),
--- a/client/view/.claude-plugin/plugin.json
+++ b/client/view/.claude-plugin/plugin.json
@@ -1,5 +1,5 @@
2− "name": "avcs-view",
44 "description": "Shows this chat's abso state: its space, its draft, who else is on the same files, and recent news",
--- a/client/view/hooks/register.test.ts
+++ b/client/view/hooks/register.test.ts
@@ -1,4 +1,4 @@
1−// avcs-view against the engine: the server and the folder are answered here.
22
@@ -80,7 +80,7 @@
83− "abso: shared · 2 files unpublished · shared is 2 ahead (abso sync) · bob also on your files · 1 news item (/avcs-view)",
83+ "abso: shared · 2 files unpublished · shared is 2 ahead (abso sync) · bob also on your files · 1 news item (/abso-view)",
@@ -92,10 +92,10 @@
95− plugin: "avcs-view",
98− requestId: "avcs-view",
@@ -106,14 +106,14 @@
108108
109−test("/avcs-view opens the pane, and the status line stops counting the news it showed", async ($, on) => {
109+test("/abso-view opens the pane, and the status line stops counting the news it showed", async ($, on) => {
114− const answer = await $.command.run({ command: "avcs-view", args: "" } as never);
115− expect(answer).toMatchObject({ text: "Opened the avcs view." });
116− expect(w.opened).toEqual(["avcs-view"]);
119119
--- a/client/view/hooks/register.tsx
+++ b/client/view/hooks/register.tsx
@@ -1,9 +1,9 @@
1−// avcs-view: what abso knows about this chat's folder, at a glance (#12).
6−// `/avcs-view` opens a pane with the whole picture.
@@ -15,18 +15,18 @@
1717
18−const PANE = "avcs-view";
19−const COMMAND = "avcs-view";
26−const CLIENT = `avcs-view/${STAMP ?? "checkout"}`;
2727
28−const view = atom({ plugin: "avcs-view", key: "view" } as const, null);
29−const seenNewsAt = atom({ plugin: "avcs-view", key: "seenNewsAt" } as const, "");
3030
@@ -204,7 +204,7 @@
204204 parts.push(`${v.space === "shared" ? "shared" : "the draft"} is ${v.version - v.base} ahead (abso sync)`);
205205 if (v.overlap.length > 0) parts.push(`${v.overlap.map((o) => o.agent).join(", ")} also on your files`);
207− if (fresh > 0) parts.push(`${plural(fresh, "news item")} (/avcs-view)`);
210210
@@ -244,7 +244,7 @@
247− return { text: "Opened the avcs view." };
249249