diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts index 975ca749bc..25ef79fda0 100644 --- a/packages/opencode/src/installation/index.ts +++ b/packages/opencode/src/installation/index.ts @@ -158,6 +158,7 @@ export namespace Installation { throw new UpgradeFailedError({ stderr: result.stderr.toString("utf8"), }) + await $`${process.execPath} --version`.nothrow().quiet().text() } export const VERSION = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"