-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathcodex-hooks.json
More file actions
40 lines (40 loc) · 1.15 KB
/
Copy pathcodex-hooks.json
File metadata and controls
40 lines (40 loc) · 1.15 KB
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
32
33
34
35
36
37
38
39
40
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "[ \"${LIMUX_CODEX_HOOKS_DISABLED:-}\" != \"1\" ] && limux --json hooks codex session-start || echo '{\"continue\":true,\"suppressOutput\":false}'",
"statusMessage": "Limux Codex session restore",
"timeout": 5000
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "[ \"${LIMUX_CODEX_HOOKS_DISABLED:-}\" != \"1\" ] && limux --json hooks codex prompt-submit || echo '{\"continue\":true,\"suppressOutput\":false}'",
"statusMessage": "Limux Codex session restore",
"timeout": 5000
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "[ \"${LIMUX_CODEX_HOOKS_DISABLED:-}\" != \"1\" ] && limux --json hooks codex stop || echo '{\"continue\":true,\"suppressOutput\":false}'",
"statusMessage": "Limux Codex session restore",
"timeout": 5000
}
]
}
]
}
}