summaryrefslogtreecommitdiffhomepage
path: root/packages/cloud/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cloud/scripts')
-rw-r--r--packages/cloud/scripts/.gitignore1
-rw-r--r--packages/cloud/scripts/package.json20
-rw-r--r--packages/cloud/scripts/src/backfill-usage-provider.ts10
-rw-r--r--packages/cloud/scripts/sst-env.d.ts9
-rw-r--r--packages/cloud/scripts/tsconfig.json9
5 files changed, 0 insertions, 49 deletions
diff --git a/packages/cloud/scripts/.gitignore b/packages/cloud/scripts/.gitignore
deleted file mode 100644
index 18c5ea0f8..000000000
--- a/packages/cloud/scripts/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-src/scrap.ts
diff --git a/packages/cloud/scripts/package.json b/packages/cloud/scripts/package.json
deleted file mode 100644
index bddc1b967..000000000
--- a/packages/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/packages/cloud/scripts/src/backfill-usage-provider.ts b/packages/cloud/scripts/src/backfill-usage-provider.ts
deleted file mode 100644
index 553dcb478..000000000
--- a/packages/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/packages/cloud/scripts/sst-env.d.ts b/packages/cloud/scripts/sst-env.d.ts
deleted file mode 100644
index bd5588217..000000000
--- a/packages/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/packages/cloud/scripts/tsconfig.json b/packages/cloud/scripts/tsconfig.json
deleted file mode 100644
index 0faf16aab..000000000
--- a/packages/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"]
- }
-}