Files
gh-schpet-jjagent/hooks/hooks.json
2025-11-30 08:54:29 +08:00

48 lines
926 B
JSON

{
"description": "jjagent hooks for tracking Claude Code sessions as jj changes",
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "jjagent claude hooks UserPromptSubmit"
}
]
}
],
"PreToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "jjagent claude hooks PreToolUse"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "jjagent claude hooks PostToolUse"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "jjagent claude hooks Stop"
}
]
}
]
}
}