Hooks: persist session memory on /reset

This commit is contained in:
Vignesh Natarajan
2026-02-20 20:19:29 -08:00
parent 544c213d42
commit d583399c92
8 changed files with 39 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ export async function setupInternalHooks(
await prompter.note(
[
"Hooks let you automate actions when agent commands are issued.",
"Example: Save session context to memory when you issue /new.",
"Example: Save session context to memory when you issue /new or /reset.",
"",
"Learn more: https://docs.openclaw.ai/automation/hooks",
].join("\n"),