claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Windows desktop app: Code sessions missing from sidebar despite intact index and transcripts

Open firstprinciplescode opened this issue 2 weeks ago • 4 comments

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?

All my local Code sessions for one project disappeared from the Claude desktop app sidebar. The 50 .jsonl transcripts are intact in %USERPROFILE%.claude\projects and claude --resume opens all of them fine. The app’s claude-code-sessions folder has 74 local_*.json entries, 73 not archived, and still none show in the sidebar.

What Should Happen?

All local Code sessions should show in the desktop app sidebar.

Error Messages/Logs


Steps to Reproduce

Use the Claude desktop app Code tab on Windows with many local sessions in one project folder Restart or update the app Sessions are missing from the sidebar Fully quitting and restarting, rebuilding the local_*.json entries, and renaming the IndexedDB folder all fail to bring them back

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.269

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Claude desktop app version 5.11492.5

firstprinciplescode avatar Nov 16 '26 15:11 firstprinciplescode

To check why these sessions are missing from the list, compare the transcripts with their Desktop metadata links. The file counts alone won't show whether each transcript has a matching record or whether the records sit under different account and organisation pairs.

I spent ages getting my own Desktop sessions back, so I built BasedGPT/claude-code-session-recovery to help inspect that file layer. From its checkout, run python tools/diagnose.py. It is read-only and reports unlinked transcripts and metadata pairs. If there are multiple pairs, keep the populated folders intact; the diagnostic cannot tell which pair Desktop currently reads.

If the links and paths are already intact, the diagnostic cannot rebuild Desktop's internal sidebar index. On a Microsoft Store installation, externally written metadata also may not appear in that index.

Hope this helps, if my tools are able to help you, would appreciate a ⭐ :)

BasedGPT avatar Nov 18 '26 07:11 BasedGPT

To check why these sessions are missing from the list, compare the transcripts with their Desktop metadata links. The file counts alone won't show whether each transcript has a matching record or whether the records sit under different account and organisation pairs.

I spent ages getting my own Desktop sessions back, so I built BasedGPT/claude-code-session-recovery to help inspect that file layer. From its checkout, run python tools/diagnose.py. It is read-only and reports unlinked transcripts and metadata pairs. If there are multiple pairs, keep the populated folders intact; the diagnostic cannot tell which pair Desktop currently reads.

If the links and paths are already intact, the diagnostic cannot rebuild Desktop's internal sidebar index. On a Microsoft Store installation, externally written metadata also may not appear in that index.

Hope this helps, if my tools are able to help you, would appreciate a ⭐ :)

What’s actually useful in that comment is the Microsoft Store detail. Reply on the issue with: “Mine is the Microsoft Store install (data under AppData\Local\Claude-Data). 74 local_*.json entries written and not archived, still invisible.” That gives Anthropic the clue they need.

firstprinciplescode avatar Nov 18 '26 14:11 firstprinciplescode

How slow are Claude employees? Don't we all have time sensitive work that failures like these are fucking us on?

firstprinciplescode avatar Nov 18 '26 16:11 firstprinciplescode

More detail: Claude desktop app on Windows 11, installed as an MSIX package but not from the Microsoft Store (Claude_6.28899.2.0_x64__pzs8sxrjxfjjc, SignatureKind Developer). App data is under AppData\Local\Claude-Data\claude_pzs8sxrjxfjjc. The claude-code-sessions folder there has 74 local_*.json entries, 73 not archived, and none of them show in the sidebar. Still broken on 6.28899.2.0 after updating on Nov 20.

firstprinciplescode avatar Nov 20 '26 20:11 firstprinciplescode

Closing this out. The sessions are all in the Code view sidebar. I’d been looking in the chat Recents list. 14 sessions were still missing from claude-code-sessions on Nov 16 and only came back after I recreated their local_*.json entries. Noting that in case it’s useful.

firstprinciplescode avatar Nov 21 '26 00:11 firstprinciplescode