v0.5.1 — Compression measures the code-mode path + live dashboard
v0.5.1 — Compression measures the code-mode path + live dashboard
A patch on v0.5.0 that makes token compression actually fire for the default usage pattern, and makes the dashboard live.
Fixes
- Token compression now measures
execute_codeoutput. The seam previously only ran on direct downstream tool results — but a slim-surface + code-mode harness (mcplexer's default) never makes those; every result comes back insideexecute_code, which is intentionally excluded from the seam (for JS iterability). So nothing was ever measured. Theexecute_codeoutput — the payload the model actually reads — is now measured (and, when turned on, compressed) too. - Live dashboard.
/settings/compressionupdates in real time via SSE (GET /api/v1/compression/stream), with a Live connection indicator — no manual refresh.
Notes
- Still dry-run by default — measurement only, zero accuracy/latency risk, until you flip a transform on.
- Code-mode output is often already compact (the sandbox caps it), so per-call savings are modest and accumulate; the larger wins are on verbose pretty-JSON / log outputs.
Full changes: v0.5.0...v0.5.1