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
fix: remove Bearer auth header for Supabase publishable key (telemetry broken since 0.5.5)
chopratejas854d9f3de523
diff --git a/headroom/telemetry/beacon.py b/headroom/telemetry/beacon.pyindex fb13ecfdf..e3789789c 100644--- a/headroom/telemetry/beacon.py+++ b/headroom/telemetry/beacon.py@@ -252,7 +252,8 @@ class TelemetryBeacon:json=payload,headers={"apikey": _SUPABASE_KEY,- "Authorization": f"Bearer {_SUPABASE_KEY}",+ # sb_publishable_ keys are not JWTs — don't send as Bearer token+ # (Supabase migrated from JWT anon keys to publishable keys in 2025)"Content-Type": "application/json",# Upsert: on conflict with session_id, merge (overwrite) the row"Prefer": "resolution=merge-duplicates,return=minimal",