feat: unify hooks installs and webhooks

This commit is contained in:
Peter Steinberger
2026-01-17 07:08:04 +00:00
parent 5dc87a2ed4
commit 3a6ee5ee00
33 changed files with 2235 additions and 829 deletions

View File

@@ -179,7 +179,7 @@ describe("onboard-hooks", () => {
// Second note should confirm configuration
expect(noteCalls[1][0]).toContain("Enabled 1 hook: session-memory");
expect(noteCalls[1][0]).toContain("clawdbot hooks internal list");
expect(noteCalls[1][0]).toContain("clawdbot hooks list");
});
});
});

View File

@@ -73,9 +73,9 @@ export async function setupInternalHooks(
`Enabled ${selected.length} hook${selected.length > 1 ? "s" : ""}: ${selected.join(", ")}`,
"",
"You can manage hooks later with:",
" clawdbot hooks internal list",
" clawdbot hooks internal enable <name>",
" clawdbot hooks internal disable <name>",
" clawdbot hooks list",
" clawdbot hooks enable <name>",
" clawdbot hooks disable <name>",
].join("\n"),
"Hooks Configured",
);