48 lines
926 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|