Skip to content

Claude Code sessions disappear from desktop app sidebar after restart #29172

Description

@mat-frenz

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions