refactor: rename hooks docs and add tests

This commit is contained in:
Peter Steinberger committed 2026-01-17 07:32:54 +00:00
1 parent 0c0d9e1d22
commit 34d59d7913
25 files changed
+384 -85

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ describe("handleCommands identity", () => {
});
});
describe("handleCommands internal hooks", () => {
describe("handleCommands hooks", () => {
it("triggers hooks for /new with arguments", async () => {
const cfg = {
commands: { text: true },
+1 -1
View File
@@ -96,7 +96,7 @@ export type MsgContext = {
*/
OriginatingTo?: string;
/**
* Messages from internal hooks to be included in the response.
* Messages from hooks to be included in the response.
* Used for hook confirmation messages like "Session context saved to memory".
*/
HookMessages?: string[];