v1.2.0
New: Output Token Compression
outputcomp.ts — 7 compression layers for model responses (conciseness directive, budget cap, boilerplate elimination, etc.)
- Integrates with
router.ts to apply post-call on assistant responses
- Zero-risk: if filtered response is longer, original is returned
New: TUI Clock
statusline.ts — Real-time clock widget for the OpenCode status bar (Solid.js)
- Shows elapsed time for the current session
- Full accessibility support (aria-labels, forced-color-adjust)
New: npm Publishing
- Published as
@mrgray17/opentoken on npm
npm install -g @mrgray17/opentoken or opencode plugin @mrgray17/opentoken@latest --global
Improvements
- README rewrite with competitive comparison table (vs DCP, Caveman, RTK)
publishConfig.access: public in package.json
- Bug fix:
enableHistoryCompression now properly defaults to false
Install
# npm (recommended)
opencode plugin @mrgray17/opentoken@latest --global
# curl
curl -fsSL https://raw.githubusercontent.com/MrGray17/opentoken/refs/heads/main/install.sh | bash