Skip to content

Add WSL log discovery for Claude and Codex#2

Draft
jeongwookie wants to merge 2 commits into
mainfrom
codex/wsl-support
Draft

Add WSL log discovery for Claude and Codex#2
jeongwookie wants to merge 2 commits into
mainfrom
codex/wsl-support

Conversation

@jeongwookie
Copy link
Copy Markdown
Owner

Closes #1

Adds optional WSL log discovery for Claude Code and Codex.

Implemented

  • Optional Settings toggle for WSL tracking.
  • WSL distribution discovery, excluding Docker internal distributions.
  • WSL UNC log path support for Claude and Codex logs.
  • Linux cwd to Windows-readable path mapping.
  • /mnt/<drive> path mapping back to Windows drive paths.
  • Claude JSONL filename fallback for newer Claude Code logs where ~/.claude/sessions/*.json session IDs do not match ~/.claude/projects/**/*.jsonl filenames.
  • Async WSL source discovery so enabling WSL tracking does not freeze the tray UI.

Validated locally

  • Ubuntu-24.04 WSL.
  • Real Codex CLI login and session.
  • Real Claude Code login and session.
  • Codex discovered as WSL Ubuntu-24.04 - Codex Exec.
  • Claude discovered as WSL Ubuntu-24.04 - Terminal.
  • npm test.
  • npm run build.

Still needs validation

  • Real VS Code Remote WSL workflow from an external user.
  • Long-running watcher behavior on real WSL projects.

This PR is intentionally draft until at least one real VS Code Remote WSL user confirms the behavior.

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.

Add WSL support for Claude Code and Codex log discovery

1 participant