What's New
Bash Output Compression is now ON by default. 16 handlers compress verbose CLI output from git, pytest, jest, npm, lint tools, logs, tree, docker, kubectl, sqlite3, du/df/wc, and build tools. Saves 5,000-30,000 tokens per session depending on CLI usage.
Disable anytime: measure.py v5 disable bash_compress or TOKEN_OPTIMIZER_BASH_COMPRESS=0
Security Hardening
Ahead of the default-ON flip, three whitelist tightenings:
- printenv removed from compression whitelist (could expose environment variables)
- docker exec removed (not read-only, executes arbitrary commands in containers)
- kubectl get secrets now blocked (prevents Kubernetes secret disclosure)
Dashboard and Documentation
- Dashboard V5 feature metadata synced with Python source of truth
- Dashboard toggle handler now uses correct per-feature defaults
- Welcome screen updated to reflect new defaults
- README: removed outdated Unknown skill: plugin section
- All SVG assets updated to show bash compression as active (green)
- Comparison table updated with accurate handler count
Upgrade
Plugin users: auto-update delivers this automatically if enabled.
Script users: cd ~/.claude/token-optimizer && git pull