Add WSL2 Claude Code detection and sync support#149
Open
tylergraydev wants to merge 1 commit intomainfrom
Open
Add WSL2 Claude Code detection and sync support#149tylergraydev wants to merge 1 commit intomainfrom
tylergraydev wants to merge 1 commit intomainfrom
Conversation
… errors Adds support for detecting and managing Claude Code installations inside WSL2 distros from the Windows host. Each WSL distro appears as a separate toggleable editor in the settings UI, enabling independent MCP config sync to both native Windows and WSL Claude Code. Also fixes 12 preexisting TypeScript errors across analytics, sessions, skills, and test files.
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
wsl.exe~/.claude.jsoninside WSL distros throughwsl.execommands#[cfg(target_os = "windows")]gated — no-ops on other platformsNew files
src-tauri/src/utils/wsl.rs— WSL2 detection, distro listing, file I/O throughwsl.exe, UTF-16LE decodingsrc-tauri/src/services/wsl_config.rs— Config writer for WSL distros (same claude.json format)Modified files
settings.rs,config.rs,models.rs,lib.rs,mod.rsfiles — WSL editor detection, sync, and command registrationSettingsEditorSyncTab.svelte— WSL editors get amber "W" badge with proper display namesskill.ts,usageStore.svelte.ts,invokeMock.ts,skillLibrary.test.ts,sessions/+page.svelteTest plan
svelte-checkreports 0 errors (down from 12)