diff options
| author | Dax Raad <[email protected]> | 2025-11-02 19:07:22 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-11-02 19:07:22 -0500 |
| commit | f42e1c63757e937a1b7839eaab3e545ed53517b0 (patch) | |
| tree | 5b633fc098713397cb21e6794de1af5a69ae104d /packages/script | |
| parent | f68374ad2223ddc213bdea9519ca6a699819ee0e (diff) | |
| download | opencode-f42e1c63757e937a1b7839eaab3e545ed53517b0.tar.gz opencode-f42e1c63757e937a1b7839eaab3e545ed53517b0.zip | |
tui: fix focus management and dialog interactions
Diffstat (limited to 'packages/script')
| -rw-r--r-- | packages/script/src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/script/src/index.ts b/packages/script/src/index.ts index f1f1e4597..695a45143 100644 --- a/packages/script/src/index.ts +++ b/packages/script/src/index.ts @@ -20,6 +20,7 @@ const CHANNEL = (await $`git branch --show-current`.text().then((x) => x.trim())) const IS_PREVIEW = CHANNEL !== "latest" const VERSION = await (async () => { + if (process.env["OPENCODE_VERSION"]) return process.env["OPENCODE_VERSION"] if (IS_PREVIEW) return `0.0.0-${CHANNEL}-${new Date().toISOString().slice(0, 16).replace(/[-:T]/g, "")}` const version = await fetch("https://registry.npmjs.org/opencode-ai/latest") |
