summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-03 13:43:30 -0400
committerFrank <[email protected]>2025-09-03 13:43:32 -0400
commit3f9b569575e29368348e38697d9d7c0e65f5462f (patch)
treea5d112f39e9066b288ec0e9871cf2b43e9006a1c
parent1e4f5710aaac7cfa071cc6ad83ceca6e09463623 (diff)
downloadopencode-3f9b569575e29368348e38697d9d7c0e65f5462f.tar.gz
opencode-3f9b569575e29368348e38697d9d7c0e65f5462f.zip
script package
-rw-r--r--bun.lock30
-rw-r--r--cloud/scripts/.gitignore1
-rw-r--r--cloud/scripts/package.json19
-rw-r--r--cloud/scripts/src/placeholder.ts1
-rw-r--r--cloud/scripts/tsconfig.json9
5 files changed, 53 insertions, 7 deletions
diff --git a/bun.lock b/bun.lock
index b0fd13f9e..8381e898e 100644
--- a/bun.lock
+++ b/bun.lock
@@ -26,7 +26,7 @@
},
"cloud/core": {
"name": "@opencode/cloud-core",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@aws-sdk/client-sts": "3.782.0",
"@opencode/cloud-resource": "workspace:*",
@@ -43,7 +43,7 @@
},
"cloud/function": {
"name": "@opencode/cloud-function",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@ai-sdk/anthropic": "2.0.0",
"@ai-sdk/openai": "2.0.2",
@@ -67,9 +67,21 @@
"@cloudflare/workers-types": "^4.20250830.0",
},
},
+ "cloud/scripts": {
+ "name": "@opencode/cloud-scripts",
+ "version": "0.6.4",
+ "dependencies": {
+ "@opencode/cloud-core": "workspace:*",
+ "tsx": "4.20.5",
+ },
+ "devDependencies": {
+ "@types/node": "catalog:",
+ "typescript": "catalog:",
+ },
+ },
"packages/function": {
"name": "@opencode/function",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@octokit/auth-app": "8.0.1",
"@octokit/rest": "22.0.0",
@@ -84,7 +96,7 @@
},
"packages/opencode": {
"name": "opencode",
- "version": "0.6.3",
+ "version": "0.6.4",
"bin": {
"opencode": "./bin/opencode",
},
@@ -134,7 +146,7 @@
},
"packages/plugin": {
"name": "@opencode-ai/plugin",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@opencode-ai/sdk": "workspace:*",
},
@@ -145,7 +157,7 @@
},
"packages/sdk/js": {
"name": "@opencode-ai/sdk",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@hey-api/openapi-ts": "0.81.0",
},
@@ -157,7 +169,7 @@
},
"packages/web": {
"name": "@opencode/web",
- "version": "0.6.3",
+ "version": "0.6.4",
"dependencies": {
"@astrojs/cloudflare": "12.6.3",
"@astrojs/markdown-remark": "6.3.1",
@@ -666,6 +678,8 @@
"@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:cloud/resource"],
+ "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:cloud/scripts"],
+
"@opencode/function": ["@opencode/function@workspace:packages/function"],
"@opencode/web": ["@opencode/web@workspace:packages/web"],
@@ -2756,6 +2770,8 @@
"tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
+ "tsx": ["[email protected]", "", { "dependencies": { "esbuild": "~0.25.0", "get-tsconfig": "^4.7.5" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "bin": { "tsx": "dist/cli.mjs" } }, "sha512-+wKjMNU9w/EaQayHXb7WA7ZaHY6hN8WgfvHNQ3t1PnU91/7O8TcTnIhCDYTZwnt8JsO9IBqZ30Ln1r7pPF52Aw=="],
+
"tuf-js": ["[email protected]", "", { "dependencies": { "@tufjs/models": "2.0.1", "debug": "^4.3.4", "make-fetch-happen": "^13.0.1" } }, "sha512-GwIJau9XaA8nLVbUXsN3IlFi7WmQ48gBUrl3FTkkL/XLu/POhBzfmX9hd33FNMX1qAsfl6ozO1iMmW9NC8YniA=="],
"tunnel-agent": ["[email protected]", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w=="],
diff --git a/cloud/scripts/.gitignore b/cloud/scripts/.gitignore
new file mode 100644
index 000000000..18c5ea0f8
--- /dev/null
+++ b/cloud/scripts/.gitignore
@@ -0,0 +1 @@
+src/scrap.ts
diff --git a/cloud/scripts/package.json b/cloud/scripts/package.json
new file mode 100644
index 000000000..85896ea4e
--- /dev/null
+++ b/cloud/scripts/package.json
@@ -0,0 +1,19 @@
+{
+ "name": "@opencode/cloud-scripts",
+ "version": "0.6.4",
+ "$schema": "https://json.schemastore.org/package.json",
+ "private": true,
+ "type": "module",
+ "scripts": {
+ "start": "tsx",
+ "shell": "sst shell"
+ },
+ "dependencies": {
+ "@opencode/cloud-core": "workspace:*",
+ "tsx": "4.20.5"
+ },
+ "devDependencies": {
+ "@types/node": "catalog:",
+ "typescript": "catalog:"
+ }
+}
diff --git a/cloud/scripts/src/placeholder.ts b/cloud/scripts/src/placeholder.ts
new file mode 100644
index 000000000..ff7bd09c0
--- /dev/null
+++ b/cloud/scripts/src/placeholder.ts
@@ -0,0 +1 @@
+// placeholder
diff --git a/cloud/scripts/tsconfig.json b/cloud/scripts/tsconfig.json
new file mode 100644
index 000000000..0faf16aab
--- /dev/null
+++ b/cloud/scripts/tsconfig.json
@@ -0,0 +1,9 @@
+{
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "extends": "@tsconfig/node22/tsconfig.json",
+ "compilerOptions": {
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "types": ["@cloudflare/workers-types", "node"]
+ }
+}