Every account in the usage popover and a terminal that fits the browser
v4.6.1On v4.6.0, two small problems cost you time every day.
The sidebar usage popover showed the active account only. The other accounts were in a collapsed Switch list with one weekly percent each. To compare the usage of your accounts, you had to open the Accounts page.
The browser terminal did not fit the browser. Each tmux window had a fixed size of 200 by 50, and the ttyd client in the browser almost never had that size. A narrow browser showed a clipped view of the pane, and a wide browser showed lines that wrapped at the wrong column.
This release fixes the two problems. Both changes are fixes, so this is a patch release.
The usage popover shows every account (LOCAL-222)
- All accounts. The popover lists every account again. The active account is first, with the Active badge.
- One block for each account. Each block shows the email, a Refresh icon and, on each inactive account, a Switch button. Under the email, one row for each usage window shows the percent, the reset time and the pace badge. A state line at the bottom covers all the windows of that account.
- All windows. The popover shows each usage window that the account reports, not only the session window and the weekly window. The pace badge also uses all the windows.
- The same frame. The popover stays 320 px wide and at most 40 percent of the screen height. When the accounts do not fit, the popover scrolls. The anchor, Escape, the outside click, the focus return and the Accounts and Usage link did not change.
- Removed. The collapsed Switch list is gone.
Evidence: 15 of 15 cases of the account-popover visual suite pass, with new baselines in light and dark at 1440 px on macOS and Linux. (PR #376)
The browser terminal follows the size of the browser (LOCAL-223)
- The window follows the client. Each tmux window now has the size of the latest ttyd client that attached. The browser shows the pane exactly, with no clipped columns and no wrong wraps.
- The parsers keep a wide window. v4.6.0 fixed the window at 200 by 50 because a phone could leave a pane at 44 columns. At that width, Claude Code cuts its status row, and the context meter stops changing (LOCAL-162). Now, when the last client detaches, a tmux hook restores the window to 200 by 50.
- The heal on reconnect. Reconnect and the supervisor pane sample still widen a window below 120 columns to 200 by 50, but only when no client is attached. They do not resize a window under an attached client.
Evidence: three timing tests run on a real tmux server. A 100 by 30 client gets a 100 by 30 window, and the heal does not resize it while the client is attached. After the detach, the window is 200 by 50. A 40 by 20 client also leaves a 200 by 50 window after the detach. The heal widens a 44 column window with no client to 200 by 50. (PR #375)
Upgrade notes
- Install with
npm install -g @theyashgupta/dispatch@latest, then restart the service. - The store schema stays at 3, so there is no migration. No default changes.
- New sessions get the new window size at start. A session that ran before the upgrade keeps the fixed 200 by 50 window until you press Reconnect on its terminal or Dispatch resumes the session.
Known limits
- While a client narrower than 120 columns (a phone) is attached, the window is narrow too. During that time, the context meter of that session can stop changing. It changes again after the client detaches.
- When two clients of different sizes are attached to one session, the window has the size of the latest client. The other client shows a clipped or padded view.
- The tests attach tmux clients, not a browser through ttyd. No automated test checks the terminal view in a real browser.
- With many accounts, the popover scrolls inside its 40 percent height. It does not grow.
- The known limits of v4.6.0 still apply.
See it

Full changelog: https://github.com/theyashgupta/dispatch/compare/v4.6.0...v4.6.1
Requires Node ≥ 22.22, tmux, ttyd, git, and the Claude Code CLI. Setup is in the README.