mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
5973f9b787
Signed-off-by: phernandez <paul@basicmachines.co>
32 lines
791 B
JSON
32 lines
791 B
JSON
{
|
|
"description": "Basic Memory for Codex hooks - orient from the graph on session start and checkpoint before compaction.",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup|resume|compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${PLUGIN_ROOT}/hooks/session-start.sh",
|
|
"statusMessage": "Loading Basic Memory context",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"matcher": "manual|auto",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${PLUGIN_ROOT}/hooks/pre-compact.sh",
|
|
"statusMessage": "Checkpointing Codex work to Basic Memory",
|
|
"timeout": 60
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|