Releases: josheche/tokengolf
Releases · josheche/tokengolf
v1.1.2
v1.1.1
v1.1.0
Added
- 3-line statusline HUD — New top line shows efficiency rating + project name + git branch/dirty status (
📂 myapp ⎇ main ✓). Rating moved from line 1 to its own line for cleaner layout. - Per-project state isolation — Run state is now keyed by working directory (
current-run-{cwd}.json). Concurrent Claude Code sessions in different repos no longer collide. Migration from globalcurrent-run.jsonis automatic. - Stable statusline path —
statusline.shis copied to~/.tokengolf/statusline.shon every session start. Survives plugin uninstall and npm removal (exits cleanly with no active run). Wrapper script also writes to stable path. - python3 availability guard —
statusline.shchecks for python3 before invoking it. Graceful silent exit on systems without python3. - Plugin build in CI pipeline —
npm run preparenow includesbuild:pluginso the plugin bundle can't ship stale.
Fixed
- npm-only auto-sync guard — Early bail via
fs.existsSync(pkgPath)so plugin users skip 50 lines of dead auto-sync code on every session start. - install.js error handling —
copyFileSyncand version stamp wrapped in try-catch with user-facing warnings instead of raw stack traces.
Changed
- Sublinear par scaling (sqrt) — Par formula changed from
prompts × ratetorate × sqrt(prompts). Early prompts have headroom for exploration; pressure builds as the session goes on. Long wasteful sessions bust. Rates recalibrated: Haiku $0.55, Sonnet $7.00, Paladin $22.00, Opus $45.00. Floors unchanged. All models bust around 20 prompts at typical per-prompt spend. - Design D HUD — StatusLine HUD redesigned with
██accent bar, inline▓░progress bars for budget and context, no separator lines. 1 line when context <50%, 2 lines when context visible. Accent bar turns red when budget >75%. Matches Design D across all UI surfaces. - Design D block accent UI — All bordered boxes replaced with left-only
██block accent bars. Eliminates persistent right-border misalignment caused by emoji/unicode width differences across terminals. Color-coded: yellow for won, red for died, gray for neutral. - ScoreCard, StatsView, ActiveRun, StartRun components all use custom Ink
borderStylewithleft: '██', no right/top/bottom borders - session-end.js ANSI scorecard uses
██prefix per line with─horizontal separators - Achievement badges in StatsView rendered inline (no individual bordered boxes)
- Death tip in ScoreCard rendered as indented text (no bordered box)
- Landing page terminal demos updated to match
██style - README screenshots replaced with inline code block demos — no more stale PNGs
Fixed
- StatusLine HUD effort label now reads exclusively from live
settings.json—/modelchanges (High, Low, Max) reflect immediately without requiring a new session - Medium effort no longer shown in HUD or scorecard — it's the default, so it's omitted (same as not annotating Sonnet as "normal difficulty")
- Scorecard
modelSuffixno longer suppressed effort when stored as 'medium' — effort label now shows whenever explicitly stored in run state
v1.0.5
Full Changelog: v1.0.4...v1.0.5
v1.0.4
Full Changelog: v1.0.3...v1.0.4
v1.0.3
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Full Changelog: v1.0.0...v1.0.1