logout: add --all to drain every saved login (context)

Commit

toothbrush3mo ago

entire logout --all iterates all saved contexts, revokes each context's current session server-side against its own core (or every session on that core when combined with --everywhere), and removes each login locally — then clears the legacy keyring entry so the machine ends fully logged out. Per-context failures warn but never abort the sweep; local removal always proceeds. Adds auth.RemoveContext (named sibling of RemoveCurrentContext, sharing a keychain-cleanup helper). Also fixes the stale --all reference in the logout help left by the --all→--everywhere rename.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 51b6330bf003

Checkpoints

Refine logout Command with --all-contexts Flag

Claude Code
View session
Checkpoint 1

Refactor Auth Commands for Session Management

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1