Versions 292 to 293
Lines 3–12 at 293 (were 3–11 at 292)
33
67
78/** The world beneath the mod: a chat in /w/p, an abso folder when `inFolder`, and a server with `news` waiting. */
8−function world(on: On, inFolder: boolean, news: string[][]) {
Lines 22–28 at 293 (were 21–27 at 292)
24− return { value: JSON.stringify({ server: "https://avcs.test", project: "p", agent: "bob" }) };
Lines 115–152 at 293 (were 114–116 at 292)
114115 expect(w.written.get("/w/p/.abso/hook.log") ?? "").toContain("not sent: a NUL byte at line 3");
118+
119+test("a local project's edit goes to abso hook as Claude Code's command hook would get it, and its news to the chat", async ($, on) => {
128+ const stdout = JSON.stringify({ hookSpecificOutput: { hookEventName: "PostToolUse", additionalContext: context } });
132+ await $.tool.call({ tool: "Write", tool_use_id: "t1", file_path: "/w/p/notes.md", content: "hello\n" } as never);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 292 293 client/hooks/register.test.ts --json
- JSON
- /christopher/abso-core/compare/292..293?file=client%2Fhooks%2Fregister.test.ts&format=json