Repository navigation
Conversation
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
Adds support for Claude Desktop session discovery on import and migrating from Claude Cloud exports.
--to claude), writes the native Claude Code JSONL session to~/.claude/projects/and generates the companionlocal_<cliSessionId>.jsonpointer underclaude-code-sessions/<org_id>/<project_id>/so imported sessions appear simultaneously in both Claude Desktop and Claude Code CLI.claude-code-sessionsdirectories on macOS (~/Library/Application Support/Claude), Linux (~/.config/Claude), and Windows (%APPDATA%/Claude), with support for--claude-desktop-dirandCLAUDE_DESKTOP_CONFIG_DIR.cwd, falls back to the active org/project directory, or initializes the default00000000-0000-4000-8000-000000000001pair.AgentFormat.CLAUDE_CLOUD = "claude-cloud"read-only source adapter to ingest Claude.ai data export bundles (conversations.jsonor individual conversation JSON files).--from claude-cloudacrossinspect,convert,import, and catalog discovery.Validation
uv run ruff check .passed with 0 errors.uv run pytest -qpassed 1,543 tests, 55 skipped (100% pass rate).tests/test_claude_desktop.pyandtests/test_claude_cloud.pycovering desktop pointer generation, path resolution, collision handling, and cloud format ingestion.