Initial release: aircontext
This commit is contained in:
13
.claude-plugin/marketplace.json
Normal file
13
.claude-plugin/marketplace.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "aircontext-mkt",
|
||||
"owner": {
|
||||
"name": "AirContext"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "aircontext",
|
||||
"source": "./",
|
||||
"description": "Rule-driven, automated context compaction with auto-resume. Replaces Claude Code's auto-compact."
|
||||
}
|
||||
]
|
||||
}
|
||||
58
.claude-plugin/plugin.json
Normal file
58
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user