mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-13 04:01:35 +00:00
49 lines
1,013 B
JSON
49 lines
1,013 B
JSON
{
|
|
"description": "Automatic ReMe recall and retryable completed-turn recording.",
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 15
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 610
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 610
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 \"${PLUGIN_ROOT}/hooks/auto_memory.py\"",
|
|
"timeout": 3
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|