Claude Code sessions disappear from desktop app sidebar after restart

Resolved 💬 3 comments Opened Feb 26, 2026 by mat-frenz Closed Mar 2, 2026

Describe the bug

Old Claude Code sessions don't persist in the desktop app sidebar. After restarting the app, only the current session appears — previous sessions are gone from the sidebar nav.

Session data is intact — the .jsonl files are all present in ~/.claude/projects/, but the app's session index at ~/Library/Application Support/Claude/claude-code-sessions/ only contains the current session.

To reproduce

  1. Open Claude desktop app in Code mode
  2. Have a session, close the app
  3. Reopen — previous sessions missing from sidebar

Expected behavior

All previous sessions should remain listed in the sidebar's Sessions panel.

Environment

  • macOS
  • Claude desktop app (sidebarMode: "code")

View original on GitHub ↗

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