Resume Session Inconsistency with `claude --resume` Command

Resolved 💬 2 comments Opened Jun 17, 2025 by ocuzacq Closed Jun 18, 2025

Bug Description
claude --resume often does not show up my last session I just exited.
then I hit Esc, try agian, and here it is in first position..

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.25
  • Feedback ID: 741fa8ec-916b-4efb-a69e-0c9301ca96ad

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at wZ (file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8863\n    at Q (file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at IX (file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8009)\n    at NS (file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7090)\n    at T6 (file:///Users/olivier/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11202)","timestamp":"2025-06-17T08:07:54.587Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗