Skip to content

v0.31.0

Choose a tag to compare

@errhythm errhythm released this 21 Aug 11:12
· 63 commits to main since this release
e5063a3

The dashboard has a Settings screen, and the per-provider view removed in 0.30.0 is back — as a saved preference this time, not a mode you have to remember you are in.

Added

  • Settings… in the dashboard menu, holding four rows. Selecting a row cycles its value in place, so the menu stays one level deep and nothing is buried:

    Theme: dark
    Dashboard view: Combined
    Auto-switch threshold: 90%
    Auto-switch strategy: best
    

    Park the cursor on a row and press Enter repeatedly to cycle it. Theme moves here from the root menu; Ctrl+T still cycles it from anywhere.

  • ui.view — Combined, Claude Code, or Codex. Combined is the 0.30 view with both providers stacked; the other two filter the dashboard, the switch screen and the watch screen to one provider, keeping its section header so it is always clear what you are looking at. The choice persists between sessions.

  • Two auto-switch settings are now reachable from the TUI. autoswitch.threshold was already drawn as a tick on every usage bar but could only be changed by editing config; it now cycles a 75/80/85/90/95 ladder. autoswitch.strategy cycles best / consume-first. Exact threshold values (say 87.5) still belong to ccswap config set autoswitch.threshold — a value set that way is shown as-is and cycles up from where it is, never quietly snapped to a round number.

  • ccswap config get/set/list ui.view works too. The view is an ordinary settings key, so both surfaces read and write the same file; nothing in the CLI needed changing to gain it.

Fixed

  • An unrecognised ui.theme no longer resets your other appearance settings. The loader returned its whole default object when the theme was unreadable, which was invisible while theme was the only field in that section and would have silently reset ui.view alongside it.

Notes

  • Filtering is a display filter over data that is already being collected for both providers, not a return to the old one-provider-at-a-time fetching. Switching views is immediate and the hidden provider stays current, so flipping back shows fresh numbers rather than a reload.
  • The Disable/enable and Remove menus stay unfiltered on purpose. The view preference governs what the dashboard shows, not which accounts you can administer — an account should never go missing from a destructive menu because of a display setting.
  • No change to stored data, credentials, or on-disk layout, and none to ccswap list or the menu bar.
  • Suite: 2171 passed, 3 skipped.