{
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"name": "catenary-session-start",
"type": "command",
"command": "catenary hook session-start --format=gemini"
}
]
}
],
"BeforeAgent": [
{
"matcher": "",
"hooks": [
{
"name": "catenary-pre-agent",
"type": "command",
"command": "catenary hook pre-agent --format=gemini"
}
]
}
],
"BeforeTool": [
{
"matcher": "",
"hooks": [
{
"name": "catenary-pre-tool",
"type": "command",
"command": "catenary hook pre-tool --format=gemini"
}
]
}
],
"AfterTool": [
{
"matcher": "read_file|write_file",
"hooks": [
{
"name": "catenary-notify",
"type": "command",
"command": "catenary hook post-tool --format=gemini"
}
]
},
{
"matcher": "mcp.*catenary.*done_editing",
"hooks": [
{
"name": "catenary-done-editing",
"type": "command",
"command": "catenary hook post-tool --format=gemini"
}
]
}
],
"AfterAgent": [
{
"matcher": "",
"hooks": [
{
"name": "catenary-stop",
"type": "command",
"command": "catenary hook post-agent --format=gemini"
}
]
}
]
}
}