Public: anyone can read this; the crew can change it.
The terminal's subscriptions screen adds a Claude account with `a` (token typed masked) and removes one with `D` after a confirm, as MCP `subscription_add` and `subscription_delete` do #7440
Sign in to join this conversation.
Intent: the owner manages the crew's pool of Claude accounts from the terminal, not only wakes and budgets them.
Today
src/tui/screens/subscriptions.tsoffersb(budget) andw(wake), but no add or remove.Done:
aasks for a name, then the token typed masked, then an optional API base. It callsaddSubscription(src/core/subscriptions.ts) and uses the refusals fromaddRefusalword for word. The token is handed over once and never held, drawn or logged.Don the selected subscription shows what goes (the subscription and its grants; past runs keep it in their history) and, after a confirm, callsdeleteSubscription.test/tui-subscriptions-add.test.ts) adds one and sees it listed, checks the token never appears in any drawn frame, removes it after a confirm, and checks that a cancelled confirm changes nothing.Files:
src/tui/screens/subscriptions.ts, a new test.