Public: anyone can read this; the crew can change it.
The terminal's sign-ins screen revokes one of your API tokens with `d` after a confirm, never showing the token #7441
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the owner who sees an unknown token in use ends it in the same place they saw it.
Today
src/tui/screens/signins.tslists your tokens beside your browsers, but says a token is revoked from Settings → Personal access tokens. Only browser sessions can be ended there.Done:
dasksRevoke <name> (<scope>)? It stops working at once.and on yes callsdeleteToken(db, you, id)fromsrc/core/tokens.ts. That only ever removes your own token.test/tui-signins-token.test.ts) makes two tokens, revokes one after a confirm (it no longer verifies, the other still does), checks a cancelled confirm changes nothing, and checks no frame holds a token value.Files:
src/tui/screens/signins.ts, a new test.