[BUG] Session history disappears from UI after restarting the Claude desktop app
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?
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
- Open the Claude desktop app (Claude Code v2.1.49)
- Start a conversation and exchange several messages
- Quit the app completely (Cmd+Q)
- Reopen the Claude desktop app
- 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_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗