feat(cli): redesign TUI — list-first dashboard + in-process auto-refresh#13
Merged
Conversation
Drop defaultInterval; introduce refreshLeadMinutes (default 5) and autoStartDaemon (default false). Legacy files with defaultInterval are migrated transparently. settings.ts is sync; index.tsx updated accordingly. REFRESH_INTERVALS kept as local shim until Task 12/13 interval UI removal.
…fy on manual refresh
…e device-auth init failure
…n login/settings/details
…gle-process auto-refresh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full UX/UI overhaul of the SSOmatic terminal app, plus a dependency refresh and README rewrite.
What changed
atoggles auto-refresh (⟳ marker) — pins a profile so its role credentials are kept fresh expiry-aware while the app is open. (Replaces the old "favorites" naming.)Esc= back on sub-screens (details/settings/login);qquits at the dashboard/top level only. Harmonized, styled footer key-hints across all screens.rrefresh (with feedback),ccopy export block,ycopy name,oopen AWS console,Enterdetails,/filter,ssettings.ssomatic status | refresh [profile] | export <profile>.Architecture note (important)
This branch initially implemented a persistent background daemon (Unix socket, detach, attach-from-any-terminal) per the original spec. During review it was removed by request in favor of a simpler single-process model: the TUI auto-refreshes ⟳ profiles in-process while open, and quitting exits cleanly (no lingering process/socket). The daemon code, socket IPC, and
ssomatic daemonsubcommands were deleted.Tests
bun test25 pass / 0 fail ·bun run lintclean ·bun run buildok ·tsc --noEmitclean.Design docs
docs/superpowers/specs/2026-06-11-ssomatic-v2-daemon-ux-design.mddocs/superpowers/plans/2026-06-11-ssomatic-v2-daemon-ux.md(Both describe the original daemon design; see the architecture note above for the single-process pivot.)