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.1 (#3152)
JD Davis37faf2f24724
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex da2b968e9..7e72dde19 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.0"+ "version": "0.36.1"},"plugins": [{"name": "headroom","source": "./plugins/headroom-agent-hooks","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.",- "version": "0.36.0",+ "version": "0.36.1","author": {"name": "Headroom Contributors","url": "https://github.com/chopratejas/headroom"diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.jsonindex da2b968e9..7e72dde19 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.0"+ "version": "0.36.1"},"plugins": [{"name": "headroom","source": "./plugins/headroom-agent-hooks","description": "Headroom startup hooks for Claude Code and GitHub Copilot CLI.",- "version": "0.36.0",+ "version": "0.36.1","author": {"name": "Headroom Contributors","url": "https://github.com/chopratejas/headroom"diff --git a/.release-please-manifest.json b/.release-please-manifest.jsonindex 93c546c8d..ae5e906b4 100644--- a/.release-please-manifest.json+++ b/.release-please-manifest.json@@ -1,3 +1,3 @@{- ".": "0.36.0"+ ".": "0.36.1"}diff --git a/.releasemetadata b/.releasemetadataindex 010cb2f47..fc99068b4 100644--- a/.releasemetadata+++ b/.releasemetadata@@ -1,10 +1,10 @@{- "version": "0.36.0",+ "version": "0.36.1","packages": {- "pypi": "0.36.0",- "npm-sdk": "0.36.0",- "npm-openclaw": "0.36.0",- "npm-opencode": "0.36.0",- "agent-hooks-plugin": "0.36.0"+ "pypi": "0.36.1",+ "npm-sdk": "0.36.1",+ "npm-openclaw": "0.36.1",+ "npm-opencode": "0.36.1",+ "agent-hooks-plugin": "0.36.1"}}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bdac98a30..714c76d84 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -284,6 +284,15 @@ 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.1](https://github.com/headroomlabs-ai/headroom/compare/v0.36.0...v0.36.1) (2026-08-20)+++### Bug Fixes++* **docker:** give :latest exactly one writer ([#3154](https://github.com/headroomlabs-ai/headroom/issues/3154)) ([bf651c3](https://github.com/headroomlabs-ai/headroom/commit/bf651c3dc1b8c43cca84d085b57528fa9c7de5cd))+* **metrics:** attribute tool-schema savings per model, not just compression ([#3155](https://github.com/headroomlabs-ai/headroom/issues/3155)) ([81fe9d5](https://github.com/headroomlabs-ai/headroom/commit/81fe9d534579d4dcac197ba901f65d6f19986d32))+* **security:** address u9up assessment findings (WEB-01–07) ([#2207](https://github.com/headroomlabs-ai/headroom/issues/2207)) ([1f96dab](https://github.com/headroomlabs-ai/headroom/commit/1f96dabc19130947770353cd6e814db4fd96e6a0))+## [0.36.0](https://github.com/headroomlabs-ai/headroom/compare/v0.35.0...v0.36.0) (2026-08-20)diff --git a/plugins/headroom-agent-hooks/.claude-plugin/plugin.json b/plugins/headroom-agent-hooks/.claude-plugin/plugin.jsonindex 0a2ec2d15..c68abe237 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.0",+ "version": "0.36.1","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 84de5902b..1458ffae7 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.0",+ "version": "0.36.1","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 5b41597d8..49bccf383 100644--- a/plugins/openclaw/package.json+++ b/plugins/openclaw/package.json@@ -1,6 +1,6 @@{"name": "headroom-openclaw",- "version": "0.36.0",+ "version": "0.36.1","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 19f18744b..ebae69047 100644--- a/plugins/opencode/package.json+++ b/plugins/opencode/package.json@@ -1,6 +1,6 @@{"name": "headroom-opencode",- "version": "0.36.0",+ "version": "0.36.1","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 f92a2f1a7..465ade89e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "maturin"[project]name = "headroom-ai"-version = "0.36.0"+version = "0.36.1"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 bf362883e..b97263752 100644--- a/sdk/typescript/package.json+++ b/sdk/typescript/package.json@@ -1,6 +1,6 @@{"name": "headroom-ai",- "version": "0.36.0",+ "version": "0.36.1","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 51d9b50ba..383f82c54 100644--- a/server.json+++ b/server.json@@ -9,13 +9,13 @@"source": "github","id": "1129940957"},- "version": "0.36.0",+ "version": "0.36.1","packages": [{"registryType": "pypi","registryBaseUrl": "https://pypi.org","identifier": "headroom-ai",- "version": "0.36.0",+ "version": "0.36.1","runtimeHint": "uvx","runtimeArguments": [{