-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathhooks.json
More file actions
31 lines (31 loc) · 791 Bytes
/
hooks.json
File metadata and controls
31 lines (31 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"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
}
]
}
]
}
}