2026-05-25 22:24:37 +09:00
|
|
|
{
|
|
|
|
|
"hooks": {
|
|
|
|
|
"SessionStart": [
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook session-start",
|
|
|
|
|
"timeout": 10,
|
|
|
|
|
"statusMessage": "loading OMO project rules"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-05-26 15:30:41 +09:00
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/telemetry/dist/cli.js\" hook session-start",
|
|
|
|
|
"timeout": 5
|
|
|
|
|
}
|
|
|
|
|
]
|
2026-05-25 22:24:37 +09:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"UserPromptSubmit": [
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
|
|
|
|
|
"timeout": 10,
|
|
|
|
|
"statusMessage": "loading OMO project rules"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
2026-05-28 15:07:51 +09:00
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/ultrawork/dist/cli.js\" hook user-prompt-submit",
|
2026-05-25 22:24:37 +09:00
|
|
|
"timeout": 5
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
2026-05-29 12:38:22 +09:00
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook user-prompt-submit",
|
2026-05-25 22:24:37 +09:00
|
|
|
"timeout": 10,
|
2026-05-29 12:38:22 +09:00
|
|
|
"statusMessage": "checking OMO ulw-loop steering"
|
2026-05-25 22:24:37 +09:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-05-28 14:19:14 +09:00
|
|
|
"PreToolUse": [
|
|
|
|
|
{
|
|
|
|
|
"matcher": "^create_goal$",
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
2026-05-29 12:38:22 +09:00
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/ulw-loop/dist/cli.js\" hook pre-tool-use",
|
2026-05-28 14:19:14 +09:00
|
|
|
"timeout": 5,
|
|
|
|
|
"statusMessage": "enforcing OMO unlimited goal budget"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-05-25 22:24:37 +09:00
|
|
|
"PostToolUse": [
|
|
|
|
|
{
|
|
|
|
|
"matcher": "^(apply_patch|write|Write|edit|Edit|multi_edit|multiedit|MultiEdit)$",
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/comment-checker/dist/cli.js\" hook post-tool-use",
|
|
|
|
|
"timeout": 30,
|
|
|
|
|
"statusMessage": "checking OMO comments"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${PLUGIN_ROOT}/components/lsp/dist/cli.js\" hook post-tool-use",
|
|
|
|
|
"timeout": 60,
|
|
|
|
|
"statusMessage": "checking OMO LSP diagnostics"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"matcher": "^apply_patch$",
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${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 \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook post-compact",
|
|
|
|
|
"timeout": 10,
|
|
|
|
|
"statusMessage": "resetting OMO project rule cache"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2026-05-28 16:15:18 +09:00
|
|
|
],
|
|
|
|
|
"Stop": [
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "node \"${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 \"${PLUGIN_ROOT}/components/start-work-continuation/dist/cli.js\" hook subagent-stop",
|
|
|
|
|
"timeout": 10,
|
|
|
|
|
"statusMessage": "checking OMO start-work continuation"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2026-05-25 22:24:37 +09:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|