30 lines
745 B
JSON
30 lines
745 B
JSON
{
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|