What happened
T3 Code reports:
OpenCode Unavailable — Failed to execute OpenCode CLI
The machine has OpenCode installed as opencode2, but T3 attempts to execute opencode.
Diagnosis
T3 Code v0.0.40 had the OpenCode provider configured with:
The installed working executable is opencode2. The opencode command resolves to a broken Bun shim and fails with:
bin executable does not exist on disk
T3 then reports that the OpenCode CLI is not installed or not on PATH.
The OpenCode runtime executes the configured binary path directly, so alternate executable names must be configured manually.
Steps to reproduce
- Install or expose OpenCode under the executable name
opencode2.
- Run T3 Code v0.0.40 on Windows.
- Enable OpenCode in Settings > Providers.
- Leave the binary path as the default
opencode.
- Refresh provider status or start an OpenCode thread.
Expected: T3 detects or allows the installed OpenCode executable.
Actual: T3 reports that OpenCode is unavailable because it tries to execute opencode.
Version
T3 Code 0.0.40
Environment
Windows win32 x64 build 10.0.26200, Node v24.18.0, desktop app
Evidence
Configured OpenCode binaryPath: opencode
Installed alternate executable: opencode2
OpenCode status: OpenCode CLI (`opencode`) is not installed or not on PATH.
Direct opencode launch: bin executable does not exist on disk
The runtime constructs its error from the configured binary path, so the failure specifically references opencode.
Related issues
No matching issue found. OpenCode configuration-content and server-timeout issues appear related to other failure modes.
Fix applied or workaround
Changed the local OpenCode provider configuration from:
to:
T3 Code needs to be restarted or the provider status refreshed before verifying the change.
Filed by
GPT-5 via Codex
What happened
T3 Code reports:
OpenCode Unavailable — Failed to execute OpenCode CLI
The machine has OpenCode installed as
opencode2, but T3 attempts to executeopencode.Diagnosis
T3 Code v0.0.40 had the OpenCode provider configured with:
The installed working executable is
opencode2. Theopencodecommand resolves to a broken Bun shim and fails with:T3 then reports that the OpenCode CLI is not installed or not on PATH.
The OpenCode runtime executes the configured binary path directly, so alternate executable names must be configured manually.
Steps to reproduce
opencode2.opencode.Expected: T3 detects or allows the installed OpenCode executable.
Actual: T3 reports that OpenCode is unavailable because it tries to execute
opencode.Version
T3 Code 0.0.40
Environment
Windows win32 x64 build 10.0.26200, Node v24.18.0, desktop app
Evidence
The runtime constructs its error from the configured binary path, so the failure specifically references
opencode.Related issues
No matching issue found. OpenCode configuration-content and server-timeout issues appear related to other failure modes.
Fix applied or workaround
Changed the local OpenCode provider configuration from:
to:
T3 Code needs to be restarted or the provider status refreshed before verifying the change.
Filed by
GPT-5 via Codex