headroom/plugins/openclaw/openclaw.plugin.json
chopratejas 053c4a06af feat: add OpenClaw ContextEngine plugin (@headroom-ai/openclaw)
- HeadroomContextEngine: implements ContextEngine interface (bootstrap, ingest,
  assemble, compact, afterTurn, prepareSubagentSpawn, dispose)
- ProxyManager: auto-detects running proxy or spawns one as child process,
  health checks, restart on crash, graceful shutdown
- AgentMessage ↔ OpenAI format conversion (user, assistant/tool_use, toolResult)
- headroom_retrieve CCR tool: agent can retrieve original uncompressed content
- Plugin manifest (openclaw.plugin.json) with config schema
- 11 tests (6 unit + 5 integration), all passing
- Integration tested: 100 servers compressed, 3,735 tokens saved (82%)
2026-03-28 13:43:40 -07:00

41 lines
897 B
JSON

{
"id": "headroom",
"uiHints": {
"proxyUrl": {
"label": "Proxy URL",
"help": "URL of the Headroom proxy (auto-detected or auto-started if not set)"
},
"pythonPath": {
"label": "Python Path",
"help": "Path to Python binary (auto-detected if not set)"
},
"autoStart": {
"label": "Auto-Start Proxy",
"help": "Automatically start the Headroom proxy if not already running"
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"proxyUrl": {
"type": "string"
},
"pythonPath": {
"type": "string"
},
"autoStart": {
"type": "boolean",
"default": true
},
"proxyPort": {
"type": "integer",
"minimum": 0,
"maximum": 65535
}
}
}
}