sisyphi 1.1.32 → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/cli.js +132 -67
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +692 -322
- package/dist/daemon.js.map +1 -1
- package/dist/templates/agent-plugin/hooks/hooks.json +51 -0
- package/dist/tui.js +103 -41
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
- package/templates/agent-plugin/hooks/hooks.json +51 -0
package/package.json
CHANGED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"PreToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "SendMessage",
|
|
6
|
+
"agentTypes": ["all"],
|
|
7
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/intercept-send-message.sh" }]
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"matcher": "Bash",
|
|
11
|
+
"agentTypes": ["all"],
|
|
12
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/ask-background-guard.sh" }]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"matcher": "Bash",
|
|
16
|
+
"agentTypes": ["plan"],
|
|
17
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/plan-validate.sh" }]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"matcher": "Write|Edit|MultiEdit",
|
|
21
|
+
"agentTypes": ["plan"],
|
|
22
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/plan-write-path.sh" }]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"PostToolUse": [
|
|
26
|
+
{
|
|
27
|
+
"matcher": "Task",
|
|
28
|
+
"agentTypes": ["all"],
|
|
29
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/register-bg-task.sh" }]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"Stop": [
|
|
33
|
+
{
|
|
34
|
+
"agentTypes": ["all"],
|
|
35
|
+
"condition": "non-interactive",
|
|
36
|
+
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/require-submit.sh" }]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"UserPromptSubmit": [
|
|
40
|
+
{ "agentTypes": ["problem"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/problem-user-prompt.sh" }] },
|
|
41
|
+
{ "agentTypes": ["plan"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/plan-user-prompt.sh" }] },
|
|
42
|
+
{ "agentTypes": ["spec"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/spec-user-prompt.sh" }] },
|
|
43
|
+
{ "agentTypes": ["review"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/review-user-prompt.sh" }] },
|
|
44
|
+
{ "agentTypes": ["review-plan"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/review-plan-user-prompt.sh" }] },
|
|
45
|
+
{ "agentTypes": ["debug"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/debug-user-prompt.sh" }] },
|
|
46
|
+
{ "agentTypes": ["operator"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/operator-user-prompt.sh" }] },
|
|
47
|
+
{ "agentTypes": ["test-spec"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/test-spec-user-prompt.sh" }] },
|
|
48
|
+
{ "agentTypes": ["explore"], "hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/explore-user-prompt.sh" }] }
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|