claude-code - 💡(How to fix) Fix Desktop app should list and resume CLI sessions from ~/.claude/projects/ [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#50891Fetched 2026-04-20 12:10:12
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
commented ×2labeled ×2closed ×1

Fix Action

Fix / Workaround

Workaround today: stay in the CLI (claude --resume) for any session started there.

RAW_BUFFERClick to expand / collapse

The Claude Code CLI stores sessions as JSONL files in ~/.claude/projects/<project-slug>/<session-id>.jsonl and can resume them with claude --resume.

The desktop app (post-April 2026 redesign) has its own session sidebar, but it doesn't surface CLI sessions — they're invisible in the UI and can't be resumed there. The two interfaces appear to use separate session stores.

Request: have the desktop app read the same ~/.claude/projects/ directory so CLI sessions appear in the sidebar and can be resumed interchangeably. This would let users move fluidly between terminal and desktop without losing history.

Workaround today: stay in the CLI (claude --resume) for any session started there.

extent analysis

TL;DR

Modify the desktop app to read sessions from the ~/.claude/projects/ directory to make CLI sessions visible and resumable.

Guidance

  • Investigate the current session storage mechanism in the desktop app to understand how it differs from the CLI.
  • Identify the code responsible for populating the session sidebar in the desktop app and modify it to read from the ~/.claude/projects/ directory.
  • Ensure that the desktop app can parse and handle the JSONL file format used by the CLI for session storage.
  • Consider implementing a unified session store or a synchronization mechanism between the CLI and desktop app to maintain consistency across both interfaces.

Example

No code snippet is provided due to the lack of specific implementation details in the issue.

Notes

The solution may require changes to the desktop app's architecture or session management logic, and careful consideration should be given to handling potential conflicts or inconsistencies between CLI and desktop app sessions.

Recommendation

Apply a workaround by modifying the desktop app to read sessions from the ~/.claude/projects/ directory, as this would allow users to access CLI sessions from the desktop app without requiring a unified session store.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING