Skip to content

v0.1.93 — session rename/pin, reduced-motion, PTY-size smoke coverage

Choose a tag to compare

@Mechres Mechres released this 16 Aug 00:32
· 35 commits to master since this release

Completing Codex's unfinished TUI batch:

  • Persistent session rename & pin — in /sessions, n opens a rename input (persisted; empty clears back to the auto-title), and */P toggles pinning so pinned sessions sort to the top with a 📌 marker. CLI equivalents: yagent sessions rename <id> <title>, pin <id>, unpin <id>. The store gained SetTitle/SetPinned and a pinned column, auto-migrated on existing databases.
  • ui.reduced_motion — replaces the animated spinner with a static indicator and stops spinner ticks, for vestibular sensitivity or log-scroll contexts. Live-applied via /settings and /set.
  • PTY-size smoke coverage — tests render every TUI modal (settings, sessions, tools, workspace, model) at a 40×10 terminal and assert no panic; modalRows at tiny heights keeps the selection visible with omission markers. This exposed two latent panics — nil-cfg in headerView and nil-ag in statusView — now guarded.
  • Accessibility tests — setIconMode ASCII swap/restore, high-contrast theme lookup, and ui.accessibility/ui.reduced_motion config validation + round-trip.

Unit tests + go test -race clean.