Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:56:18 +08:00
commit c50d9b355d
7 changed files with 541 additions and 0 deletions

34
config/hooks.json Normal file
View File

@@ -0,0 +1,34 @@
{
"hooks": {
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/context-saver.sh"
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/context-saver.sh"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/context-restore.sh"
}
]
}
]
}
}