Repository navigation
Commit fcc678e
fix(opencode): unrecognized OpenCode installs no longer get a one-click update that can't run
T3 offered `opencode upgrade` for any OpenCode path outside node_modules, including shell launchers, distro packages and launchers in front of an `npm --prefix` install. OpenCode cannot detect how those were installed, so 1.x waits on an "Install anyways?" prompt until T3 times out and 2.x exits with "Could not detect the installation method".
OpenCode's native update now requires its own installer's path (`~/.opencode/bin/opencode`), as Codex already does, so other installs show manual update guidance instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 15fe283 commit fcc678e
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
324 | 339 | | |
325 | 340 | | |
326 | 341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments