diff options
| author | Frank <[email protected]> | 2025-09-18 01:32:40 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-09-18 01:32:40 -0400 |
| commit | fc4f281408c56ab12db571a470456212a479edf5 (patch) | |
| tree | 309d23b0c497bc61af6f8e650a6036fa41d7cbdb /cloud/scripts | |
| parent | f8c4f713a5b48892899d0ac195c3470ab7ef764c (diff) | |
| download | opencode-fc4f281408c56ab12db571a470456212a479edf5.tar.gz opencode-fc4f281408c56ab12db571a470456212a479edf5.zip | |
wip: zen
Diffstat (limited to 'cloud/scripts')
| -rw-r--r-- | cloud/scripts/.gitignore | 1 | ||||
| -rw-r--r-- | cloud/scripts/package.json | 20 | ||||
| -rw-r--r-- | cloud/scripts/src/backfill-usage-provider.ts | 10 | ||||
| -rw-r--r-- | cloud/scripts/sst-env.d.ts | 9 | ||||
| -rw-r--r-- | cloud/scripts/tsconfig.json | 9 |
5 files changed, 0 insertions, 49 deletions
diff --git a/cloud/scripts/.gitignore b/cloud/scripts/.gitignore deleted file mode 100644 index 18c5ea0f8..000000000 --- a/cloud/scripts/.gitignore +++ /dev/null @@ -1 +0,0 @@ -src/scrap.ts diff --git a/cloud/scripts/package.json b/cloud/scripts/package.json deleted file mode 100644 index bddc1b967..000000000 --- a/cloud/scripts/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "@opencode/cloud-scripts", - "version": "0.9.11", - "$schema": "https://json.schemastore.org/package.json", - "private": true, - "type": "module", - "scripts": { - "shell": "sst shell -- bun tsx", - "shell-dev": "sst shell --stage dev -- bun tsx", - "shell-prod": "sst shell --stage production -- bun tsx" - }, - "dependencies": { - "@opencode/cloud-core": "workspace:*", - "tsx": "4.20.5" - }, - "devDependencies": { - "@types/node": "catalog:", - "typescript": "catalog:" - } -} diff --git a/cloud/scripts/src/backfill-usage-provider.ts b/cloud/scripts/src/backfill-usage-provider.ts deleted file mode 100644 index 553dcb478..000000000 --- a/cloud/scripts/src/backfill-usage-provider.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Database, eq } from "@opencode/cloud-core/drizzle/index.js" -import { UsageTable } from "@opencode/cloud-core/schema/billing.sql.js" - -await Database.use(async (tx) => { - await tx - .update(UsageTable) - .set({ model: "grok-code" }) - .where(eq(UsageTable.model, "x-ai/grok-code-fast-1")) - .limit(90000) -}) diff --git a/cloud/scripts/sst-env.d.ts b/cloud/scripts/sst-env.d.ts deleted file mode 100644 index 0397645b5..000000000 --- a/cloud/scripts/sst-env.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* This file is auto-generated by SST. Do not edit. */ -/* tslint:disable */ -/* eslint-disable */ -/* deno-fmt-ignore-file */ - -/// <reference path="../../sst-env.d.ts" /> - -import "sst" -export {} diff --git a/cloud/scripts/tsconfig.json b/cloud/scripts/tsconfig.json deleted file mode 100644 index 0faf16aab..000000000 --- a/cloud/scripts/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "@tsconfig/node22/tsconfig.json", - "compilerOptions": { - "module": "ESNext", - "moduleResolution": "bundler", - "types": ["@cloudflare/workers-types", "node"] - } -} |
