Skip to content

Add recovery hints for crashed and expired sessions#102

Merged
jancurn merged 2 commits intofeat/grep-cmdfrom
claude/add-mcp-sessions-zK8Ya
Mar 23, 2026
Merged

Add recovery hints for crashed and expired sessions#102
jancurn merged 2 commits intofeat/grep-cmdfrom
claude/add-mcp-sessions-zK8Ya

Conversation

@jancurn
Copy link
Member

@jancurn jancurn commented Mar 23, 2026

Summary

Enhanced the session list output to provide helpful recovery commands for sessions in non-live states, improving user experience when troubleshooting session issues.

Changes

  • Updated the recovery hint system in listSessionsAndAuthProfiles() to display contextual recovery commands for multiple session states:
    • Unauthorized sessions: Shows login and restart command (existing behavior)
    • Crashed sessions: Shows reconnect command (mcpc <session>)
    • Expired sessions: Shows restart command (mcpc <session> restart)
  • Updated comment to reflect the broader scope of recovery hints ("non-live sessions" instead of just "unauthorized sessions")
  • Added entry to CHANGELOG documenting the new feature

Implementation Details

The recovery hints are displayed as dimmed text below each affected session in the list output, providing users with immediate guidance on how to recover their sessions without requiring them to consult documentation.

https://claude.ai/code/session_01D6ovkixxWohRHXaJP7Hh3g

@jancurn jancurn merged commit 937ef01 into feat/grep-cmd Mar 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants