Files
claude-mem/hooks/hooks.json
T

50 lines
846 B
JSON

{
"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
}
]
}
]
}
}