What changed since v5.5.0
Structure Map unblocked for large files. The feature was silently rejecting the most valuable files (anything over 300KB or 5K lines). Now handles Python files up to 800KB/20K lines. A 180,000-token file re-read compresses to ~250 tokens (99.86% reduction). Updated all surfaces (README, dashboard, welcome screen) to reflect structure map is actively saving tokens, not just measuring.
Context Intel Promotion. After compaction wipes your conversation, the model now receives a digest of large tool outputs it previously processed (~200 tokens). Prevents the post-compaction re-read-everything pattern that burns 20-50K tokens.
MCP Tool Introspection. Replaced the flat 10-tools-per-server estimate with a known-server lookup table for 8 public MCP servers. More accurate baseline measurement for users with common servers.
Security hardening. Removed printenv and docker exec from bash compression whitelist. Added kubectl secrets guard (catches secret/name aliased form). Removed Start/End verbatim lines from context intel summaries (prompt injection surface). Added RECOVERED DATA disclaimer to intel digest output.
Simplification. Trimmed MCP server table from 24 personal entries to 8 public ones. Removed dead code (unused return keys, dead split logic). Net -20 lines across the session.
Upgrade
Plugin users with auto-update: automatic. Otherwise: restart Claude Code.
Script users: cd ~/.clone/token-optimizer && git pull