Skip to content

[BUG] Session history disappears from UI after restarting the Claude desktop app #27752

Description

@sinnsyakai

Preflight Checklist

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

What's Wrong?

After restarting the Claude desktop app, all previous session history disappears from the UI. The history list appears empty and there is no way to continue prior conversations from within the app.

Every session's debug log contains the following error, which may be related:
[DEBUG] Failed to check enabledPlatforms: TypeError: undefined is not an object (evaluating 'mK.join')

Note: The underlying .jsonl files remain intact at ~/.claude/projects/. The data is not lost — only the UI fails to display it. Sessions can still be resumed manually via claude --resume <session-id>.

What Should Happen?

After restarting the app, all previous sessions should appear in the session history list so the user can continue any prior conversation.

Error Messages/Logs

Steps to Reproduce

  1. Open the Claude desktop app (Claude Code v2.1.49)
  2. Start a conversation and exchange several messages
  3. Quit the app completely (Cmd+Q)
  4. Reopen the Claude desktop app
  5. Observe that the session history list is empty

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.49

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

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