Skip to content

[codex] fix Cursor Claude session history#1

Draft
BigStrongSun wants to merge 1 commit into
mainfrom
codex/fix-cursor-claude-session-history
Draft

[codex] fix Cursor Claude session history#1
BigStrongSun wants to merge 1 commit into
mainfrom
codex/fix-cursor-claude-session-history

Conversation

@BigStrongSun

Copy link
Copy Markdown
Owner

What changed

  • Set the WSL Claude wrapper template to use a Windows-visible CLAUDE_CONFIG_DIR.
  • Document migration from WSL ~/.claude into C:\Users\sunda\.claude.
  • Document the Windows project-key junction needed for Cursor's Sessions view.
  • Add validation for the shared session directory.

Why

Cursor's Claude Code extension runs in the Windows extension host and lists sessions from the Windows Claude config path. WSL Claude was writing session JSONL files under /home/openclaw/.claude, so past conversations could disappear from the Cursor plugin after restart even though the underlying Claude sessions still existed.

Validation

  • Compiled the C# wrapper template with csc.exe.
  • Ran git diff --check.
  • Verified no real API token was added to the tracked docs or wrapper template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant