Skip to content

windows menubar: Claude quota panel reads ~/.claude/.credentials.json from the Windows home only — empty for WSL-only installs #1061

Closed

Description

@iamtoruk

Found while building #1059 (WSL discovery). windows/src-tauri/src/plan.rs reads ~/.claude/.credentials.json from the Windows home for the Claude quota/plan panel. A user whose Claude Code lives entirely inside WSL (the #1059 scenario) gets usage data via the CLI (once #1059 lands) but an empty Plan panel, because the credentials sit in \\wsl$\<distro>\home\<u>\.claude\.

Fix direction: after #1059, reuse src/wsl.ts's running-distro home enumeration from the tray app (or have the CLI expose the resolved credential path), with the same running-only/never-boot-a-stopped-distro rule and read-only access. Out of scope for #1059 itself.

Activity

  1. added
    bugSomething isn't working
    area: windowsThe Windows tray app and Windows-specific behaviour
    status: confirmedReproduced or verified by a maintainer
    status: has-prAn open pull request references this issue
    on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: menubarThe macOS menubar apparea: windowsThe Windows tray app and Windows-specific behaviourbugSomething isn't workingprovider: claudeClaude Code providerstatus: confirmedReproduced or verified by a maintainerstatus: has-prAn open pull request references this issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions