summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-09 21:49:38 -0500
committerDax Raad <[email protected]>2025-12-09 21:49:38 -0500
commite72c974c4c70a2439f5f19a17a772f3ce7541eaf (patch)
treecbc0789e23ca1b8c822f4e2abb9bebc3f0c1aa51
parenta762da7caba3906bbf92fc540b63d21b351b9515 (diff)
downloadopencode-e72c974c4c70a2439f5f19a17a772f3ce7541eaf.tar.gz
opencode-e72c974c4c70a2439f5f19a17a772f3ce7541eaf.zip
ci
-rw-r--r--packages/script/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/script/src/index.ts b/packages/script/src/index.ts
index 09ebb4463..2f3f96c8d 100644
--- a/packages/script/src/index.ts
+++ b/packages/script/src/index.ts
@@ -29,7 +29,7 @@ const IS_PREVIEW = CHANNEL !== "latest"
const VERSION = await (async () => {
if (env.OPENCODE_VERSION) return 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")
+ const version = await fetch("https://registry.npmjs.org/opencode-ai/latest-1")
.then((res) => {
if (!res.ok) throw new Error(res.statusText)
return res.json()