ring/installer/tests/fixtures/hooks/hooks.json
Fred Amaral e3ece79ccf
feat(installer): introduce python-based multi-platform installer
refactor(installer): introduce adapter and transformer architecture
fix(security): harden installer against path traversal and symlinks
docs: add comprehensive guides for multi-platform support and migration
fix(beads): improve stop hook logic to check for open issues
2025-11-27 18:20:53 -03:00

34 lines
860 B
JSON

{
"hooks": [
{
"event": "SessionStart",
"triggers": ["startup", "resume", "clear", "compact"],
"type": "command",
"command": "bash ${RING_PLUGIN_ROOT}/hooks/session-start.sh"
},
{
"event": "UserPromptSubmit",
"triggers": ["always"],
"type": "command",
"command": "bash ${RING_PLUGIN_ROOT}/hooks/prompt-submit.sh"
},
{
"event": "PreToolUse",
"triggers": ["Bash"],
"type": "prompt",
"prompt": "Verify the Bash command is safe to execute."
},
{
"event": "PostToolUse",
"triggers": ["Write", "Edit"],
"type": "command",
"command": "bash ${RING_PLUGIN_ROOT}/hooks/post-edit.sh"
},
{
"event": "Stop",
"triggers": ["always"],
"type": "command",
"command": "bash ${RING_PLUGIN_ROOT}/hooks/stop.sh"
}
]
}