[proposal] CLI-desktop conversation sync (#61967) - #61969
Open
giruuuuj wants to merge 2 commits into
Open
Conversation
Adds desktop-session-sync plugin that bridges CLI session transcripts (~/.claude/projects/**/*.jsonl) to the Claude desktop app's conversation list by synthesising local_<uuid>.json metadata files. Includes: - Python sync script (hooks/sync_sessions.py) with dry-run support - PostToolUse hook for auto-sync after transcript writes - /sync-desktop-sessions slash command for on-demand sync - Cross-platform support (macOS, Windows, Linux) - Full plugin README, updated feature proposal, and CHANGELOG
This was referenced May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Feature proposal for syncing Claude Code CLI conversation history with the Claude desktop app, enabling users to browse and review sessions from either interface.
Closes #61967
Problem
CLI sessions are local-only (stored in ~/.claude/projects/**/*.jsonl) and invisible in the desktop app. Users must choose between CLI power-user workflow and desktop browsing UI.
Proposed Architecture
Three options analyzed in the proposal document:
Existing Infrastructure
Claude Code already has session IDs, feedback IDs, resume mechanism, and stats cache � the plumbing partially exists. The gap is a shared metadata index that both products can read.