59 lines
1.3 KiB
JSON
59 lines
1.3 KiB
JSON
{
|
|
"name": "aircontext",
|
|
"version": "0.1.0",
|
|
"description": "User-controlled periodic context compaction with auto-resume. Replaces Claude Code's auto-compact with rule-driven external LLM compression.",
|
|
"author": {
|
|
"name": "AirContext"
|
|
},
|
|
"keywords": [
|
|
"context",
|
|
"compaction",
|
|
"automation"
|
|
],
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python ${CLAUDE_PLUGIN_ROOT}/scripts/on_session_start.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python ${CLAUDE_PLUGIN_ROOT}/scripts/on_user_prompt.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python ${CLAUDE_PLUGIN_ROOT}/scripts/on_tool_use.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"matcher": "auto",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python ${CLAUDE_PLUGIN_ROOT}/scripts/on_pre_compact.py"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"repository": "http://git.airlongdian.fun/admin/aircontext.git"
|
|
}
|