Initial commit
This commit is contained in:
29
hooks/hooks.json
Normal file
29
hooks/hooks.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"description": "Claude-Handoff: Intelligent context transfer via /compact detection",
|
||||
"hooks": {
|
||||
"PreCompact": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entrypoints/pre-compact.sh",
|
||||
"description": "Save session state before compact for handoff generation"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/entrypoints/session-start.sh",
|
||||
"description": "Generate and inject handoff context after /compact",
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user