119 lines
2.8 KiB
JSON
119 lines
2.8 KiB
JSON
|
|
{
|
||
|
|
"hooks": {
|
||
|
|
"SessionStart": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "loading OMO project rules"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start",
|
||
|
|
"timeout": 5
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"UserPromptSubmit": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "loading OMO project rules"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit",
|
||
|
|
"timeout": 5
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/ultragoal/dist/cli.js\" hook user-prompt-submit",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "checking OMO ultragoal steering"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"PostToolUse": [
|
||
|
|
{
|
||
|
|
"matcher": "^(apply_patch|Write|Edit|MultiEdit)$",
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use",
|
||
|
|
"timeout": 30,
|
||
|
|
"statusMessage": "checking OMO comments"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use",
|
||
|
|
"timeout": 60,
|
||
|
|
"statusMessage": "checking OMO LSP diagnostics"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-tool-use",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "matching OMO project rules"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"PostCompact": [
|
||
|
|
{
|
||
|
|
"matcher": "manual|auto",
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "resetting OMO project rule cache"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"Stop": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/start-work-continuation/dist/cli.js\" hook stop",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "checking OMO start-work continuation"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"SubagentStop": [
|
||
|
|
{
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/components/start-work-continuation/dist/cli.js\" hook subagent-stop",
|
||
|
|
"timeout": 10,
|
||
|
|
"statusMessage": "checking OMO start-work continuation"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|