Repository navigation
Description
What happened
On Windows, Settings → Providers shows Muse Code as Unavailable · Muse Code CLI version check timed out. Running muse --version in a terminal works.
This is the same symptom as #24165. That issue was closed after #33275 added T3CODE_MUSE_PROBE_TIMEOUT_MS, but the default is still 4 seconds. On Windows, Muse stays unavailable until the user finds and sets that variable.
Diagnosis
checkMuseProviderStatus (packages/provider-muse/src/server/status.ts) runs muse --version with resolveProviderProbeTimeoutMs("muse", DEFAULT_TIMEOUT_MS, …). That is 4,000 ms unless the env override is set. It is unchanged on main (ae926f6).
On Windows, muse resolves to the official launcher, muse.cmd. The launcher starts Windows PowerShell 5.1, which runs .muse-launcher.ps1, which then runs muse-bin-<version>.exe. #24165 also found that Muse runs about 4 seconds slower inside a Windows job object, and the T3 server runs inside one.
On this machine the launcher alone exceeds the 4-second budget on every run. Calling the binary directly takes 0.17 s (timings under Evidence).
The model-catalog probe that follows allows 8 s for startup plus 4 s, which is also tight when the launcher takes 5–8 s.
Suggested fix: give Muse a longer default on Windows instead of relying on the opt-in variable. For example, add about 12 s to Muse's probe deadlines on win32: the version check goes from 4 s to 16 s, and catalog startup from 8 s to 20 s, which matches the 20 s session-startup default in sdk.ts. T3CODE_MUSE_PROBE_TIMEOUT_MS would still extend these. The patch is small (a platform-aware resolveMuseProbeTimeoutMs in modelCatalog.ts, used by status.ts, plus a unit test). I can open a PR if that approach works for you.
Steps to reproduce
- On Windows 11, install Muse Code with the official installer (
%LOCALAPPDATA%\Programs\muse\muse.cmd) and runmuse login. - In the T3 Code desktop app (Nightly), enable Muse Code in Settings → Providers.
- The status shows Unavailable · Muse Code CLI version check timed out.
- Optional: time
cmd /d /c muse.cmd --versionwithMUSE_NO_AUTO_UPDATE=1. It takes 5–8 s.
Version
T3 Code desktop v0.1.12-nightly.20261123.5165, with a local server.
Environment
Windows 11 Pro (build 26300), x64, T3 Code desktop app (Nightly) with a local server, Muse Code 1.4.25 (1.4.25-R9361.1) through the official Windows launcher.
Evidence
muse --version on an idle machine, spawned the way T3 spawns it (cmd /d /c muse.cmd --version, MUSE_NO_AUTO_UPDATE=1, output redirected), from a shell running under the T3 server:
launcher (muse.cmd): 5.45 s, 6.03 s, 6.51 s, 6.78 s, 7.73 s
binary called directly: 0.17 s
Related issues
- Muse provider always Unavailable on Windows: Muse starts ~4s slower inside a job object and the version probe allows 4s #24165: same symptom; closed as fixed by fix(provider): make readiness probe timeouts configurable #33275, and confirmed again after it closed
- fix(provider): make readiness probe timeouts configurable #33275: added
T3CODE_MUSE_PROBE_TIMEOUT_MS
Fix applied or workaround
Add T3CODE_MUSE_PROBE_TIMEOUT_MS=20000 to the Muse Code instance's environment variables in Settings → Providers, then refresh its status.
Filed by
Claude Code (Claude Opus 5.5), following the T3 Code triage playbook.
Activity