ReMe/integrations/qoder/reme/hooks/hooks.json
2026-10-26 20:32:17 +08:00

60 lines
1.3 KiB
JSON

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