GeezerVison is showing github.com — [Bug]: Windows reports every provider CLI not found even when they are on User PATH · Issue #7360 · pingdotgg/t3code
[Bug]: Windows reports every provider CLI not found even when they are on User PATH #7360DescriptionBefore submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- On Windows, install any T3 provider CLI so it is on User PATH (winget, official
irm installer, npm). Confirm a new PowerShell window can run it (Get-Command opencode, grok, codex, cursor-agent, …).
- Launch T3 Code from the desktop shortcut / Start Menu (not from that shell).
- Open Settings → Providers.
Expected behavior
Each installed CLI is found (opencode, grok, codex, cursor-agent, claude, …) without setting an absolute binaryPath.
Actual behavior
Every local provider stays red / Not found, even when the same binaries were on User PATH before T3 was installed. A refreshed PowerShell session finds them. Restarting T3 does not help.
This is Windows-only. Electron inherits a stale process PATH. The Windows environment probe uses [Environment]::GetEnvironmentVariable('PATH') (process env), not User/Machine registry. macOS/Linux login-shell probing is a different path and is not this bug.
On this machine the CLIs are present:
cursor-agent → %LOCALAPPDATA%\cursor-agent\cursor-agent.cmd
opencode → %LOCALAPPDATA%\Microsoft\WinGet\Links\opencode.exe
grok → %LOCALAPPDATA%\Microsoft\WinGet\Links\grok.exe
codex → %LOCALAPPDATA%\Microsoft\WinGet\Links\codex.exe
T3 looks for cursor-agent, opencode, grok, codex, and claude. User PATH includes %LOCALAPPDATA%\Microsoft\WinGet\Links and %LOCALAPPDATA%\cursor-agent.
Impact
Major degradation or frequent failure
Version or commit
Current Windows desktop (reproduced 2026-08-17)
Environment
- OS: Windows 11 (Build 26200)
- Shell: PowerShell 7
- T3 Code desktop Settings → Providers
- Provider CLIs on User PATH via WinGet Links and the official Cursor CLI installer
Workaround
Set each provider binaryPath to the absolute executable, or launch T3 from a shell whose process PATH already includes User PATH.
Related
ActivityAMDphreak commented on Aug 18, 2026 Fix attempt: #7362
Screenshot of Settings (Cursor CLI not found) next to a PowerShell session that successfully launched cursor-agent is attached in the original report. I can add the PNG in a follow-up comment if GitHub UI upload is needed. changed the title [-][Bug]: Windows reports cursor-agent not found after official CLI install[/-] [+][Bug]: Windows reports every provider CLI not found even when they are on User PATH[/+] on Aug 18, 2026coah80 commented on Aug 21, 2026 bump this, having and issue with cursor just not being detected at all
 t3dotgg commented on Sep 4, 2026 Note 🤖 GPT-6 Astra (preview) responding on behalf of Theo
This note is part of an automated cleanup pass.
Preserve the mid-session acceptance case from #6352 alongside startup detection. Start T3 while Codex is absent, install Codex with the official Windows installer while T3 stays open, then click Refresh provider status. It must find the CLI without an app restart. Keep uninstall-then-refresh detection working too.
The macOS comment reports a similar symptom but has no version, install method, or PATH evidence. It needs a separate macOS reproduction. A Windows registry-PATH fix does not establish that the macOS case is fixed.
adesugbaa commented on Sep 4, 2026 This is happening on macOS - all providers reporting as missing even though they are on the laptop. Do I report a new issue?
T3Code Version: 0.0.39-nightly.20260904.1280 (d6e29dc9dee9)
which cursor
/usr/local/bin/cursor
which claude
/Users/ayorinde/.local/bin/claude
which opencode
/opt/homebrew/bin/opencode
which codex
/opt/homebrew/bin/codex
which grok
/Users/ayorinde/.grok/bin/grok AMDphreak commented on Sep 4, 2026
This is happening on macOS - all providers reporting as missing even though they are on the laptop. Do I report a new issue?
T3Code Version: 0.0.39-nightly.20260904.1280 (d6e29dc9dee9)
which cursor
/usr/local/bin/cursor
which claude
/Users/ayorinde/.local/bin/claude
which opencode
/opt/homebrew/bin/opencode
which codex
/opt/homebrew/bin/codex
which grok
/Users/ayorinde/.grok/bin/grok
I like your comment. Wish all bug reports were this clean. It's unclear whether the problem is with something OS specific or further up the chain danedane commented on Oct 27, 2026 Windows Nightly: Codex launcher resolves, but its child cannot find Node; verified PATH workaround
Adding a Windows case that appears related, with captured child-process output and a workaround verified after restarting T3.
Environment
- T3 Code Desktop, Nightly channel; observed October 27, 2026. Exact Nightly build was not recorded.
- Windows.
- Codex CLI
0.163.0, installed through npm.
- Node
v24.19.0 in the working PowerShell environment.
- Codex Binary path configured explicitly as
C:\Users\<user>\AppData\Roaming\npm\codex.cmd.
Observed behavior
Running that exact launcher in PowerShell with --version succeeded. Running it with app-server remained running for ten seconds without error output, until intentionally stopped with Ctrl+C.
T3 still reported:
Codex app-server provider probe failed:
Codex App Server process exited with code 1.
A temporary batch wrapper captured stderr from the launcher when started by T3. The working directory, USERPROFILE, APPDATA, and LOCALAPPDATA matched the expected Windows user profile. CODEX_HOME was unset.
Inside the T3-launched process, where.exe node found no matches, followed by:
INFO: Could not find files for the given pattern(s).
'"node"' is not recognized as an internal or external command,
operable program or batch file.
This established that T3 could reach the npm launcher, but the launcher could not resolve Node in its inherited environment. I have not isolated why Node’s directory was missing from that environment.
Confirmed workaround
- Keep the Codex Binary path pointed at the original absolute
codex.cmd path.
- From the PowerShell session where the launcher works, copy the complete PATH:
Set-Clipboard -Value $env:Path
- In the Codex provider’s Environment settings, save that full value as a
PATH override, using Plain text storage.
- Refresh the provider.
The override must contain the complete expanded PATH because it replaces the provider’s inherited value.
Verification
- Codex became available and authenticated with ChatGPT.
- After fully quitting and relaunching T3, the provider remained functional.
- The PATH override persisted.
Suggested improvements
- Check whether Node is discoverable when launching an npm-installed provider.
- Surface the underlying stderr when a provider probe exits. The generic exit-code message hid the actionable missing-Node error.
Related: #21435 documents a similar provider-PATH workaround on macOS; this report supplies Windows evidence. tiliakoos commented on Nov 20, 2026 This looks fixed by #37632 (5a20d59), first shipped in v0.1.10. The Windows PATH probe now merges the Process, Machine and User scopes, and a provider Refresh re-reads the registry PATH and rebuilds instances still missing their CLI, which covers the install-while-open case in the earlier note. Its test rebuilds only instances missing their CLI when a refresh finds a new Windows PATH fails on 5a20d59^ (expected 'C:\Windows' to equal 'C:\Windows;C:\Tools') and passes on main 59651c1; I ran the tests on macOS, not on a Windows machine. The PR said "Bug fix for #7360" without a closing keyword, so this stayed open. shivamhwp commented on Nov 21, 2026 Thanks for reporting this, @AMDphreak! This is fixed in #37632, so we're closing this issue.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|