claude-code - 💡(How to fix) Fix Sync sessions across Claude Code CLI, Desktop app, and web [1 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#56038Fetched 2026-05-05 05:59:47
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×1labeled ×1

Claude Code CLI sessions and the Claude Desktop app each maintain their own independent session history (per https://code.claude.com/docs/en/sessions.md). There's no way to view or continue a CLI conversation from the Desktop app, or vice versa. The only handoff today is /export + manual paste, which is lossy and one-shot.

Root Cause

Claude Code CLI sessions and the Claude Desktop app each maintain their own independent session history (per https://code.claude.com/docs/en/sessions.md). There's no way to view or continue a CLI conversation from the Desktop app, or vice versa. The only handoff today is /export + manual paste, which is lossy and one-shot.

Fix Action

Fix / Workaround

Workarounds today

/export -> paste into Desktop. Lossy, one-shot, no live view

RAW_BUFFERClick to expand / collapse

Summary

Claude Code CLI sessions and the Claude Desktop app each maintain their own independent session history (per https://code.claude.com/docs/en/sessions.md). There's no way to view or continue a CLI conversation from the Desktop app, or vice versa. The only handoff today is /export + manual paste, which is lossy and one-shot.

Use case

I run long Claude Code CLI sessions while working in VR (Quest 3 game dev) on my desktop. I'd like to glance at the conversation on my phone or laptop via the Desktop app — or hand off the active session to continue there without losing context.

Suggested directions (any of these would help)

  1. Account-scoped session sync — same conversation visible in CLI, Desktop, web
  2. Read-only live view of an active CLI session from the Desktop app
  3. Resume a CLI session in the Desktop app (and vice versa)

Workarounds today

/export -> paste into Desktop. Lossy, one-shot, no live view

extent analysis

TL;DR

Implementing account-scoped session sync or a read-only live view of active CLI sessions in the Desktop app could address the issue.

Guidance

  • Investigate the feasibility of storing session history in a centralized location, accessible by both the CLI and Desktop app, to enable account-scoped session sync.
  • Consider developing a live view feature in the Desktop app that can fetch and display the current state of an active CLI session, allowing for real-time monitoring.
  • Evaluate the potential for a handoff mechanism, enabling users to resume a CLI session in the Desktop app or vice versa, while preserving context.
  • Assess the current /export and paste workaround, identifying areas for improvement to make it less lossy and more seamless.

Example

No code snippet is provided as the issue focuses on high-level functionality and user experience.

Notes

The solution may require significant changes to the existing architecture and infrastructure of the Claude Code CLI and Desktop app, and may involve additional considerations such as data consistency, security, and user authentication.

Recommendation

Apply a workaround, such as enhancing the /export and paste functionality to reduce data loss and improve usability, while exploring more comprehensive solutions like account-scoped session sync or live view features.

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

claude-code - 💡(How to fix) Fix Sync sessions across Claude Code CLI, Desktop app, and web [1 comments, 2 participants]