refactor: add hooks configuration and plugin installation documentation

This commit is contained in:
Alex Newman
2025-10-16 15:09:40 -04:00
parent b44853fb2c
commit 5f05f991bc
4 changed files with 250 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "claude-mem context",
"timeout": 180000
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "claude-mem new",
"timeout": 60000
}
]
}
],
"PostToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "claude-mem save",
"timeout": 180000
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "claude-mem summary",
"timeout": 60000
}
]
}
]
}
}