ReMe/integrations/claude_code/reme/hooks/hooks.json

51 lines
1.1 KiB
JSON

{
"description": "Automatic ReMe recall and retryable completed-turn recording.",
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/auto_memory.py\"",
"timeout": 15
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/auto_memory.py\"",
"timeout": 610,
"async": true
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/auto_memory.py\"",
"timeout": 610,
"async": true
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/auto_memory.py\"",
"timeout": 3
}
]
}
]
}
}