Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
chore: release 0.36.5 (#3214)
JD Davis34a551756222
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 6da0369bc..62abf2ed3 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -5,14 +5,14 @@},"metadata": {"description": "Headroom marketplace for Claude Code and GitHub Copilot CLI plugins.",- "version": "0.36.4"+ "version": "0.36.5"},"plugins": [{"name": "headroom","source": "./plugins/headroom-agent-hooks","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.",- "version": "0.36.4",+ "version": "0.36.5","author": {"name": "Headroom Contributors","url": "https://github.com/chopratejas/headroom"diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.jsonindex 6da0369bc..62abf2ed3 100644--- a/.github/plugin/marketplace.json+++ b/.github/plugin/marketplace.json@@ -5,14 +5,14 @@},"metadata": {"description": "Headroom marketplace for Claude Code and GitHub Copilot CLI plugins.",- "version": "0.36.4"+ "version": "0.36.5"},"plugins": [{"name": "headroom","source": "./plugins/headroom-agent-hooks","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.",- "version": "0.36.4",+ "version": "0.36.5","author": {"name": "Headroom Contributors","url": "https://github.com/chopratejas/headroom"diff --git a/.release-please-manifest.json b/.release-please-manifest.jsonindex 00a26c097..28c17198a 100644--- a/.release-please-manifest.json+++ b/.release-please-manifest.json@@ -1,3 +1,3 @@{- ".": "0.36.4"+ ".": "0.36.5"}diff --git a/.releasemetadata b/.releasemetadataindex 2d731b82c..df07a0b5a 100644--- a/.releasemetadata+++ b/.releasemetadata@@ -1,10 +1,10 @@{- "version": "0.36.4",+ "version": "0.36.5","packages": {- "pypi": "0.36.4",- "npm-sdk": "0.36.4",- "npm-openclaw": "0.36.4",- "npm-opencode": "0.36.4",- "agent-hooks-plugin": "0.36.4"+ "pypi": "0.36.5",+ "npm-sdk": "0.36.5",+ "npm-openclaw": "0.36.5",+ "npm-opencode": "0.36.5",+ "agent-hooks-plugin": "0.36.5"}}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex cf7a97113..89a8f36fa 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -284,6 +284,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- **code:** fix two `CodeAwareCompressor` AST-reassembly bugs: an exported JS/TS function or class (`export function foo() {`) produced a duplicated `export export` keyword and invalid syntax, because line-based node slicing (used to preserve indentation) pulled in the preceding `export` sibling's text on top of the `export_statement` handler's own prefix reconstruction. Separately, in every supported language, a doc comment immediately above a top-level function, class, or type was detached from its declaration during extraction and re-emitted in a cluster at the end of the compressed output instead of staying attached to what it documents.- * **proxy:** Buffered upstream responses containing a `server_tool_use` (or any other unrecognized Anthropic content block) no longer turn a fully-generated response into an HTTP 502. `StreamingMixin._response_to_sse` raised `ValueError` on unknown block types after the entire upstream generation had already been buffered, so a slow-but-successful response failed and the client retried the whole multi-minute request. Unknown blocks are now emitted verbatim in `content_block_start` (following the existing redacted_thinking` pattern), so `server_tool_use`, `server_tool_result`, `mcp_tool_use`, and future block types round-trip ([#1806](https://github.com/headroomlabs-ai/headroom/issues/1806)).+## [0.36.5](https://github.com/headroomlabs-ai/headroom/compare/v0.36.4...v0.36.5) (2026-08-22)+++### Bug Fixes++* **codex:** detect ChatGPT auth from id_token claims so wrap/init emit requires_openai_auth ([#3212](https://github.com/headroomlabs-ai/headroom/issues/3212)) ([2f81fa5](https://github.com/headroomlabs-ai/headroom/commit/2f81fa5931ddf233b908103f25c614b5a6b7e33b))+* **doctor:** report project-scoped Claude routing instead of a false negative ([#3213](https://github.com/headroomlabs-ai/headroom/issues/3213)) ([8f3e33a](https://github.com/headroomlabs-ai/headroom/commit/8f3e33a00ea377403497b600841c03344d0c1cd8))+## [0.36.4](https://github.com/headroomlabs-ai/headroom/compare/v0.36.3...v0.36.4) (2026-08-22)diff --git a/plugins/headroom-agent-hooks/.claude-plugin/plugin.json b/plugins/headroom-agent-hooks/.claude-plugin/plugin.jsonindex f646bcf47..6ac2d6875 100644--- a/plugins/headroom-agent-hooks/.claude-plugin/plugin.json+++ b/plugins/headroom-agent-hooks/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "headroom",- "version": "0.36.4",+ "version": "0.36.5","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.","author": {"name": "Headroom Contributors",diff --git a/plugins/headroom-agent-hooks/.github/plugin/plugin.json b/plugins/headroom-agent-hooks/.github/plugin/plugin.jsonindex 34a703b5b..67948772f 100644--- a/plugins/headroom-agent-hooks/.github/plugin/plugin.json+++ b/plugins/headroom-agent-hooks/.github/plugin/plugin.json@@ -1,6 +1,6 @@{"name": "headroom",- "version": "0.36.4",+ "version": "0.36.5","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.","author": {"name": "Headroom Contributors",diff --git a/plugins/openclaw/package.json b/plugins/openclaw/package.jsonindex 41f5dd1fd..76a0ad3a0 100644--- a/plugins/openclaw/package.json+++ b/plugins/openclaw/package.json@@ -1,6 +1,6 @@{"name": "headroom-openclaw",- "version": "0.36.4",+ "version": "0.36.5","description": "Headroom context compression plugin for OpenClaw — 70-90% token savings with zero LLM calls","type": "module","main": "./dist/index.js",diff --git a/plugins/opencode/package.json b/plugins/opencode/package.jsonindex ef071bb06..674432586 100644--- a/plugins/opencode/package.json+++ b/plugins/opencode/package.json@@ -1,6 +1,6 @@{"name": "headroom-opencode",- "version": "0.36.4",+ "version": "0.36.5","description": "Headroom proxy integration plugin for OpenCode - routes LLM traffic through the Headroom proxy for token compression","type": "module","main": "./dist/index.js",diff --git a/pyproject.toml b/pyproject.tomlindex 9003173b0..3e930bc2d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "maturin"[project]name = "headroom-ai"-version = "0.36.4"+version = "0.36.5"description = "The Context Optimization Layer for LLM Applications - Cut costs by 50-90%"readme = "README.md"license = "Apache-2.0"diff --git a/sdk/typescript/package.json b/sdk/typescript/package.jsonindex 6bcd9173e..9a1341b22 100644--- a/sdk/typescript/package.json+++ b/sdk/typescript/package.json@@ -1,6 +1,6 @@{"name": "headroom-ai",- "version": "0.36.4",+ "version": "0.36.5","description": "Compress LLM context. Save tokens. Fit more into every request.","type": "module","main": "./dist/index.cjs",diff --git a/server.json b/server.jsonindex 70bc9d8a0..2b72896a6 100644--- a/server.json+++ b/server.json@@ -9,13 +9,13 @@"source": "github","id": "1129940957"},- "version": "0.36.4",+ "version": "0.36.5","packages": [{"registryType": "pypi","registryBaseUrl": "https://pypi.org","identifier": "headroom-ai",- "version": "0.36.4",+ "version": "0.36.5","runtimeHint": "uvx","runtimeArguments": [{