headroom_3 / headroom /proxy /server.py

Commit History

Refactor: extract data models to headroom/proxy/models.py (Step 1/9)
2b7049f

chopratejas commited on

Add transforms_summary to TransformResult and /v1/compress response
9f01b57

chopratejas commited on

Merge pull request #81 from dorphalsig/main
03e2a45

chopratejas commited on

Fix multi-worker beacon spam, cost dashboard, upsert telemetry; bump 0.5.17
a71a45d

chopratejas commited on

Fix dashboard cost savings: use model list price, not moving average
91b077d

chopratejas commited on

Merge pull request #61 from gglucass/feat/persist-savings-history
ced25eb

chopratejas commited on

Fix WebSocket proxy: forward all headers + required OpenAI-Beta header
777053c

chopratejas commited on

Add Anthropic url overrides via ANTHROPIC_TARGET_URL env var and --anthropic-api-url flag
8da3765

dorphalsig commited on

Merge remote-tracking branch 'origin/main' into feat/persist-savings-history
10d071e

Garm commited on

feat: add historical rollups and exports
bb74115

Garm commited on

Add WebSocket proxy for /v1/responses (Codex gpt-5.4+)
acad54a

chopratejas commited on

Add compression for OpenAI Responses API (/v1/responses)
16d1d82

chopratejas commited on

Fix zstd streaming decompression, add zstandard dep; bump to 0.5.14
e32d19d

chopratejas commited on

Fix streaming tool calls, compressed request bodies, beacon field names; bump to 0.5.13
f99f02a

chopratejas commited on

Fix cost calculation: don't mix cache savings into Headroom savings
0e5332d

chopratejas commited on

Merge branch 'main' into feat/persist-savings-history
02d84fe

gglucass commited on

fix: restore anthropic compression when hooks enabled
c461ff0

Garm commited on

Merge pull request #60 from gglucass/feat/add-headroom-sdk
c32da96

chopratejas commited on

OpenClaw plugin fixes, telemetry fix, cost tracker improvement, tokenBudget support
0b469f5

chopratejas commited on

style: fix ruff format in server.py
c198ba5

chopratejas commited on

fix: move extract_user_query import out of conditional scope
66c3ce7

matgasser commited on

feat: persist proxy savings history
1b40634

Garm commited on

feat: allow overriding proxy telemetry sdk via HEADROOM_SDK
9f37321

Garm commited on

Add TypeScript SDK (headroom-ai npm package)
61a26b6

chopratejas commited on

Remove LLMLingua: Kompress is the sole text compressor
356d8ba

chopratejas commited on

Pass user query context through proxy pipeline (9 call sites)
3ddf4aa

chopratejas Claude Opus 4.6 (1M context) commited on

fix: forward upstream ratelimit headers in streaming responses
82f163f

jocel1 Claude Opus 4.6 commited on

Reduce compression latency: cache serializations, eager-load all compressors, fix Magika, bump to 0.5.5
1e808d1

chopratejas Claude Opus 4.6 (1M context) commited on

Add telemetry beacon, fix Starlette 0.41+ crash, bump to 0.5.4
09dcef6

chopratejas commited on

fix: close TOIN feedback loop — retrievals now flow back for learning
d51fc64

chopratejas commited on

feat: add license key validation + phone-home usage reporter
cf08723

chopratejas commited on

fix: memory handler overwrites system prompt when it's a list of content blocks
1a6a8cb

chopratejas commited on

feat: add live traffic learning + cross-agent memory writers (--learn flag)
246bf80

chopratejas commited on

fix: use cache-aware pricing from LiteLLM for dashboard cost display
cc653b2

chopratejas commited on

feat: make token_headroom the default mode + fix Gemini handler bug
72a87b4

chopratejas commited on

fix: propagate HEADROOM_MODE through wrap CLI and drop cache write premium penalty
e51d8c6

chopratejas commited on

fix: capture Zone 1 + Zone 2 savings in token_headroom stats
47a9422

chopratejas commited on

feat: add clean session summary to /stats and MCP headroom_stats
c91220b

chopratejas Claude Opus 4.6 (1M context) commited on

feat: add compression_cache stats to /stats endpoint
f3043c1

chopratejas Claude Opus 4.6 (1M context) commited on

feat: add token_headroom branch to OpenAI handler
6838f75

chopratejas Claude Opus 4.6 (1M context) commited on

feat: add token_headroom branch to Anthropic handler
26e8b69

chopratejas Claude Opus 4.6 (1M context) commited on

feat: configure pipeline based on HEADROOM_MODE at startup
6a5ec2d

chopratejas Claude Opus 4.6 (1M context) commited on

feat: add HEADROOM_MODE config to ProxyConfig
e46862d

chopratejas Claude Opus 4.6 (1M context) commited on

Add wrap commands for Codex/Cursor/Aider with rtk instructions, fix savings metrics
aacfc8b

chopratejas commited on

Fix proxy backend bugs: env vars, tool forwarding, and provider support
5a87378

chopratejas commited on

Introducing headroom wrap
641cfec

chopratejas commited on

Updating the README to reflect the right positioning for Headroom
66ac1c8

chopratejas commited on

feat: provider-aware prefix cache tracking and combined savings dashboard
22987ea

chopratejas Claude Opus 4.6 commited on

fix: dashboard metrics, TTFB tracking, eager LLMLingua loading, and multi-provider consistency
0e85550

chopratejas commited on