Dax Raad 6 месяцев назад
Родитель
Сommit
0ae213ee0e

+ 1 - 1
packages/function/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@opencode/function",
-  "version": "0.0.0-202508022246",
+  "version": "0.3.113",
   "$schema": "https://json.schemastore.org/package.json",
   "private": true,
   "type": "module",

+ 1 - 1
packages/opencode/package.json

@@ -1,6 +1,6 @@
 {
   "$schema": "https://json.schemastore.org/package.json",
-  "version": "0.0.0-202508022246",
+  "version": "0.3.113",
   "name": "opencode",
   "type": "module",
   "private": true,

+ 5 - 0
packages/opencode/tsconfig.json

@@ -2,6 +2,11 @@
   "$schema": "https://json.schemastore.org/tsconfig",
   "extends": "@tsconfig/bun/tsconfig.json",
   "compilerOptions": {
+    "lib": [
+      "ESNext",
+      "DOM",
+      "DOM.Iterable"
+    ],
     "customConditions": [
       "development"
     ]

+ 1 - 1
packages/plugin/package.json

@@ -1,7 +1,7 @@
 {
   "$schema": "https://json.schemastore.org/package.json",
   "name": "@opencode-ai/plugin",
-  "version": "0.0.0",
+  "version": "0.3.113",
   "type": "module",
   "scripts": {
     "typecheck": "tsc --noEmit"

+ 1 - 1
packages/sdk/js/package.json

@@ -1,7 +1,7 @@
 {
   "$schema": "https://json.schemastore.org/package.json",
   "name": "@opencode-ai/sdk",
-  "version": "0.0.0-202508022246",
+  "version": "0.3.113",
   "type": "module",
   "scripts": {
     "typecheck": "tsc --noEmit"

+ 1 - 1
packages/web/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@opencode/web",
   "type": "module",
-  "version": "0.0.0-202508022246",
+  "version": "0.3.113",
   "scripts": {
     "dev": "astro dev",
     "dev:remote": "sst shell --stage=dev --target=Web astro dev",

+ 4 - 2
script/publish.ts

@@ -26,7 +26,7 @@ for await (const file of new Bun.Glob("**/package.json").scan({
   await Bun.file(file).write(pkg)
 }
 
-// await import(`../packages/opencode/script/publish.ts`)
+await import(`../packages/opencode/script/publish.ts`)
 await import(`../packages/sdk/js/script/publish.ts`)
 await import(`../packages/plugin/script/publish.ts`)
 // await import(`../packages/sdk/stainless/generate.ts`)
@@ -37,10 +37,12 @@ if (!snapshot) {
   await $`git push origin HEAD --tags --no-verify`
 }
 if (snapshot) {
+  await $`git checkout -b snapshot-${version}`
   await $`git commit --allow-empty -m "Snapshot release v${version}"`
   await $`git tag v${version}`
   await $`git push origin v${version} --no-verify`
-  await $`git reset --soft HEAD~1`
+  await $`git checkout dev`
+  await $`git branch -D snapshot-${version}`
   for await (const file of new Bun.Glob("**/package.json").scan({
     absolute: true,
   })) {

+ 1 - 1
sdks/vscode/package.json

@@ -2,7 +2,7 @@
   "name": "opencode",
   "displayName": "opencode",
   "description": "opencode for VS Code",
-  "version": "0.0.0-202508022246",
+  "version": "0.3.113",
   "publisher": "sst-dev",
   "repository": {
     "type": "git",