logout: stop double-wrapping session revoke errors

main

Commit

toothbrush3mo ago

revokeAllSessions wrapped ListSessions/RevokeSession failures with their own prefixes, but (*api.Client) already wraps both (incl. the session id), producing "list sessions: list sessions: …" / "revoke session X: revoke session X: …". Return the wrapped errors verbatim.

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

Checkpoints

Refine logout Command with --all-contexts Flag

Claude Code
View session
Checkpoint 1