Skip to content

Releases: josheche/tokengolf

v1.1.2

19 Mar 04:22

Choose a tag to compare

v1.1.1

19 Mar 03:58

Choose a tag to compare

What's Changed

  • docs: update UI demos, README, website for v1.1.0 3-line HUD by @josheche in #13

Full Changelog: v1.1.0...v1.1.1

v1.1.0

19 Mar 03:58

Choose a tag to compare

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 global current-run.json is automatic.
  • Stable statusline pathstatusline.sh is copied to ~/.tokengolf/statusline.sh on every session start. Survives plugin uninstall and npm removal (exits cleanly with no active run). Wrapper script also writes to stable path.
  • python3 availability guardstatusline.sh checks for python3 before invoking it. Graceful silent exit on systems without python3.
  • Plugin build in CI pipelinenpm run prepare now includes build:plugin so 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 handlingcopyFileSync and 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 × rate to rate × 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 borderStyle with left: '██', 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/model changes (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 modelSuffix no longer suppressed effort when stored as 'medium' — effort label now shows whenever explicitly stored in run state

v1.0.5

19 Mar 04:01

Choose a tag to compare

Full Changelog: v1.0.4...v1.0.5

v1.0.4

19 Mar 04:01

Choose a tag to compare

Full Changelog: v1.0.3...v1.0.4

v1.0.3

19 Mar 04:01

Choose a tag to compare

Full Changelog: v1.0.2...v1.0.3

v1.0.2

19 Mar 04:01

Choose a tag to compare

Full Changelog: v1.0.1...v1.0.2

v1.0.1

19 Mar 04:01

Choose a tag to compare

Full Changelog: v1.0.0...v1.0.1

v1.0.0

19 Mar 04:01

Choose a tag to compare

What's Changed

  • feat: emotion modes, sqrt par scaling, design system overhaul by @josheche in #9
  • Recalibrate par rates + drop HUD prompt counter by @josheche in #11

Full Changelog: v0.5.4...v1.0.0