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
Commits on main
fix(proxy): warn when --compressor selection matches no built-in (#2385)
a84b28a Zhenjia ZHOU committed 4 months ago
feat(proxy): select built-in compressors via --compressor + registry inventory (#2373)
56c7d4a Tejas Chopra committed 4 months ago
feat(metrics): record per-extension token savings (#2371)
02eb90f Tejas Chopra committed 4 months ago
feat(transforms): add pluggable compressor registry + headroom.compressor entry point (#2370)
a02073e Tejas Chopra committed 4 months ago
fix(wrap): make RTK opt-in (off by default) across wrap subcommands (#2344)
44136ed Tejas Chopra committed 4 months ago
fix(proxy/openai): apply output shaping on /v1/chat/completions (#2328)
1b8c11e Abhay Singh committed 4 months ago
fix(wrap): stop same-port persistent routing during claude unwrap (#2340) (#2350)
cf5fa64 Rod Boev committed 4 months ago
fix(transforms/kompress-remote): keep compress fail-open on malformed 200 (#2320)
b759990 Abhay Singh committed 4 months ago
fix(backends/litellm): guard None completion_tokens in usage mapping (#2322)
44a174f Abhay Singh committed 4 months ago
fix(proxy/gemini): None-guard token counts from usageMetadata (#2347)
f64aac9 Abhay Singh committed 4 months ago
fix(security): exclude compromised ast-grep-cli 0.44.1 (supply-chain trojan) (#2342)
494fb5a Abhay Singh committed 4 months ago
build(deps): refresh stale uv.lock (reconcile ~30 missing deps) (#2349)
0fa337f Tejas Chopra committed 4 months ago
fix(deps): bump mcp to 1.28.1 to clear 3 high-severity CVEs (#2348)
a90be94 Tejas Chopra committed 4 months ago
chore: sync version state to released 0.31.0 to unblock release-please (v0.32.0) (#2338)
63945ab Tejas Chopra committed 4 months ago
ci: repair mypy no-any-return in _win32_pid_alive (#1556 follow-up) (#2336)
4726c73 Tejas Chopra committed 4 months ago
fix(memory): serialize MCP backend initialization (#2309)
0924755 Gautam Sharma committed 4 months ago
fix(proxy/streaming): preserve non-standard content-block fields on SSE reconstruction (#2271)
6decbd1 Abhay Singh committed 4 months ago
fix(ccr): don't crash tool-call detection on a null function/functionCall (#2269)
1612f06 Abhay Singh committed 4 months ago
fix(proxy/memory): don't crash memory tool-call detection on a null function (#2272)
8b7e797 Abhay Singh committed 4 months ago
fix(proxy/memory): don't crash the memory tool adapter on a null function/arguments (#2270)
ef1e7e4 Abhay Singh committed 4 months ago
fix(learn/claude): don't abort the whole scan on a null message line (#2299)
eed80dd Abhay Singh committed 4 months ago
fix(savings): don't fabricate output savings for a free (zero-priced) model (#2298)
ec12e18 Abhay Singh committed 4 months ago
fix(proxy): key drift detector on conversations, not credentials; canonicalize drift hashes (#2301)
6744833 Andrei Boldyrev committed 4 months ago
fix(proxy): quarantine compression while timed-out workers run (#2292)
517bf99 Sebastian Schkudlara committed 4 months ago
ci(changelog): stop the CHANGELOG cascade — release-please owns it (#2329)
e7340ae Tejas Chopra committed 4 months ago
feat(text-crusher): fold full-width ASCII to half-width in CJK token keys (#2259)
844d9ca Zhenjia ZHOU committed 4 months ago
fix(proxy): preserve content-part array structure in excluded-tool lossless fold write-back (#2261)
8951a26 GUOHAO LIU committed 4 months ago