mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-13 04:01:35 +00:00
75 lines
1.7 KiB
JSON
75 lines
1.7 KiB
JSON
{
|
|
"description": "ReMe recall, durable capture, background delivery, and bounded exit retry.",
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 125
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\" --capture-only",
|
|
"timeout": 10,
|
|
"statusMessage": "Queueing ReMe memory"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 3610,
|
|
"async": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SubagentStop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\" --capture-only",
|
|
"timeout": 10,
|
|
"statusMessage": "Queueing ReMe memory"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 3610,
|
|
"async": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 3610,
|
|
"async": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|