[Bug]: Failed to execute OpenCode CLI health check
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Downloaded the newest OpenCode on my Windows machine.
- Subscribed to OpenCode Go plan.
- Connected the CLI to my API Key and tested if it works, it did.
- Opened newest nightly version of T3Code(i also tried latest stable) and saw an error message under OpenCode Section in T3Code Settings.
Expected behavior
Expected it to give the same message/notice as it does under Codex section. Authenticated - Plan name
Actual behavior
Got this message instead.
OpenCode v1.14.24 Unavailable - Failed to execute OpenCode CLI health check: Timed out waiting for OpenCode server start after 5000ms.
Impact
Blocks work completely
Version or commit
No response
Environment
Windows 10 / Newest Nightly and Stable T3Code / Node 25.9.0 / Bun 1.3.13 / OpenCode 1.14.24
Logs or stack traces
Screenshots, recordings, or supporting files
Screenshot_1.png Screenshot_2.png
Workaround
No response
The settings could figure out the Opencode Version, But complains "Not found - OpenCode CLI (opencode) is not installed or not on PATH."
Did you install opencode with npm i -g opencode-ai? If you did, then this is a duplicate of #2163 with a proposed fix in #2183.
Try running the following and check if you see opencode.cmd to confirm:
where.exe opencode
# C:\Program Files\nodejs\opencode
# C:\Program Files\nodejs\opencode.cmd
Did you install opencode with
npm i -g opencode-ai? If you did, then this is a duplicate of #2163 with a proposed fix in #2183.Try running the following and check if you see
opencode.cmdto confirm:where.exe opencode # C:\Program Files\nodejs\opencode # C:\Program Files\nodejs\opencode.cmd
that doesnt have anything to do with my issue.. he commented a different issue on mine..
More info concerning this:
In my experience, if you spin up the Opencode server (opencode web) yourself and configure T3Code settings to hook up with the server manually, the issue does not persist and the Opencode provider works well on T3Code in that situation.
This has been my workaround for many weeks now.
Closing as fixed for the reported five-second OpenCode startup failure by merged PR #4132, which raises the health-check deadline to 30 seconds. Please file a fresh report with current logs if bundled local launch still fails for another cause.