claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] /resume slash command skips session picker, directly switches to previous session

Open omriariav opened this issue 2 months ago • 0 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using /resume from within an active session, it directly switches to the previous conversation instead of showing the session picker.

What Should Happen?

/resume should display the interactive session picker UI, identical to running claude --resume from terminal. The picker should show:

  • List of previous sessions grouped by forked sessions
  • Session metadata (time, message count, branch)
  • Keyboard shortcuts: P to preview, R to rename, / to search
  • Ability to select which session to resume

Currently claude --resume (terminal) shows this picker correctly, but /resume (slash command) skips it entirely.

Error Messages/Logs


Steps to Reproduce

  1. Start Claude Code: claude
  2. Have any conversation (send at least one message)
  3. Type /resume and press Enter
  4. Observe: Session switches directly to previous conversation
  5. Expected: Session picker UI should appear

For comparison:

  1. Exit Claude Code
  2. Run claude --resume from terminal
  3. Observe: Session picker UI appears correctly

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Unknown exact version, but /resume previously showed the picker. Noticed after updating to 2.0.64.

Claude Code Version

2.0.64

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

Environment details:

  • Node: v25.2.1
  • npm: 11.6.2

Session info (may be relevant if there's a performance optimization):

  • Projects: 6
  • Sessions in current project: 424
  • Total session data size: 180MB

Per CHANGELOG.md, /resume should have full picker functionality:

  • v2.0.27: "Added current branch filtering and search to session resume screen"
  • v2.0.64: "Improved /resume screen with grouped forked sessions and keyboard shortcuts for preview (P) and rename (R)"

omriariav avatar Dec 10 '25 13:12 omriariav