summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-18 01:32:40 -0400
committerFrank <[email protected]>2025-09-18 01:32:40 -0400
commitfc4f281408c56ab12db571a470456212a479edf5 (patch)
tree309d23b0c497bc61af6f8e650a6036fa41d7cbdb
parentf8c4f713a5b48892899d0ac195c3470ab7ef764c (diff)
downloadopencode-fc4f281408c56ab12db571a470456212a479edf5.tar.gz
opencode-fc4f281408c56ab12db571a470456212a479edf5.zip
wip: zen
-rw-r--r--bun.lock84
-rw-r--r--cloud/function/sst-env.d.ts96
-rw-r--r--cloud/resource/sst-env.d.ts96
-rw-r--r--github/sst-env.d.ts2
-rw-r--r--infra/cloud.ts8
-rw-r--r--package.json2
-rw-r--r--packages/app/sst-env.d.ts2
-rw-r--r--packages/cloud/app/.gitignore (renamed from cloud/app/.gitignore)0
-rw-r--r--packages/cloud/app/.opencode/agent/css.md (renamed from cloud/app/.opencode/agent/css.md)0
-rw-r--r--packages/cloud/app/README.md (renamed from cloud/app/README.md)0
-rw-r--r--packages/cloud/app/app.config.ts (renamed from cloud/app/app.config.ts)0
-rw-r--r--packages/cloud/app/package.json (renamed from cloud/app/package.json)0
-rw-r--r--packages/cloud/app/public/favicon.svg (renamed from cloud/app/public/favicon.svg)0
-rw-r--r--packages/cloud/app/public/robots.txt (renamed from cloud/app/public/robots.txt)0
-rw-r--r--packages/cloud/app/public/social-share.png (renamed from cloud/app/public/social-share.png)bin17520 -> 17520 bytes
-rw-r--r--packages/cloud/app/public/theme.json (renamed from cloud/app/public/theme.json)0
-rw-r--r--packages/cloud/app/src/app.css (renamed from cloud/app/src/app.css)0
-rw-r--r--packages/cloud/app/src/app.tsx (renamed from cloud/app/src/app.tsx)0
-rw-r--r--packages/cloud/app/src/asset/lander/check.svg (renamed from cloud/app/src/asset/lander/check.svg)0
-rw-r--r--packages/cloud/app/src/asset/lander/copy.svg (renamed from cloud/app/src/asset/lander/copy.svg)0
-rw-r--r--packages/cloud/app/src/asset/lander/screenshot-github.png (renamed from cloud/app/src/asset/lander/screenshot-github.png)bin924094 -> 924094 bytes
-rw-r--r--packages/cloud/app/src/asset/lander/screenshot-splash.png (renamed from cloud/app/src/asset/lander/screenshot-splash.png)bin467281 -> 467281 bytes
-rw-r--r--packages/cloud/app/src/asset/lander/screenshot-vscode.png (renamed from cloud/app/src/asset/lander/screenshot-vscode.png)bin1022418 -> 1022418 bytes
-rw-r--r--packages/cloud/app/src/asset/lander/screenshot.png (renamed from cloud/app/src/asset/lander/screenshot.png)bin606051 -> 606051 bytes
-rw-r--r--packages/cloud/app/src/asset/logo-ornate-dark.svg (renamed from cloud/app/src/asset/logo-ornate-dark.svg)0
-rw-r--r--packages/cloud/app/src/asset/logo-ornate-light.svg (renamed from cloud/app/src/asset/logo-ornate-light.svg)0
-rw-r--r--packages/cloud/app/src/asset/logo.svg (renamed from cloud/app/src/asset/logo.svg)0
-rw-r--r--packages/cloud/app/src/component/icon.tsx (renamed from cloud/app/src/component/icon.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/billing-section.module.css (renamed from cloud/app/src/component/workspace/billing-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/billing-section.tsx (renamed from cloud/app/src/component/workspace/billing-section.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/common.tsx (renamed from cloud/app/src/component/workspace/common.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/key-section.module.css (renamed from cloud/app/src/component/workspace/key-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/key-section.tsx (renamed from cloud/app/src/component/workspace/key-section.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/monthly-limit-section.module.css (renamed from cloud/app/src/component/workspace/monthly-limit-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/monthly-limit-section.tsx (renamed from cloud/app/src/component/workspace/monthly-limit-section.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/new-user-section.module.css (renamed from cloud/app/src/component/workspace/new-user-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/new-user-section.tsx (renamed from cloud/app/src/component/workspace/new-user-section.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/payment-section.module.css (renamed from cloud/app/src/component/workspace/payment-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/payment-section.tsx (renamed from cloud/app/src/component/workspace/payment-section.tsx)0
-rw-r--r--packages/cloud/app/src/component/workspace/usage-section.module.css (renamed from cloud/app/src/component/workspace/usage-section.module.css)0
-rw-r--r--packages/cloud/app/src/component/workspace/usage-section.tsx (renamed from cloud/app/src/component/workspace/usage-section.tsx)0
-rw-r--r--packages/cloud/app/src/context/auth.session.ts (renamed from cloud/app/src/context/auth.session.ts)0
-rw-r--r--packages/cloud/app/src/context/auth.ts (renamed from cloud/app/src/context/auth.ts)0
-rw-r--r--packages/cloud/app/src/context/auth.withActor.ts (renamed from cloud/app/src/context/auth.withActor.ts)0
-rw-r--r--packages/cloud/app/src/entry-client.tsx (renamed from cloud/app/src/entry-client.tsx)0
-rw-r--r--packages/cloud/app/src/entry-server.tsx (renamed from cloud/app/src/entry-server.tsx)0
-rw-r--r--packages/cloud/app/src/global.d.ts (renamed from cloud/app/src/global.d.ts)0
-rw-r--r--packages/cloud/app/src/middleware.ts (renamed from cloud/app/src/middleware.ts)0
-rw-r--r--packages/cloud/app/src/routes/[...404].css (renamed from cloud/app/src/routes/[...404].css)0
-rw-r--r--packages/cloud/app/src/routes/[...404].tsx (renamed from cloud/app/src/routes/[...404].tsx)0
-rw-r--r--packages/cloud/app/src/routes/auth/authorize.ts (renamed from cloud/app/src/routes/auth/authorize.ts)0
-rw-r--r--packages/cloud/app/src/routes/auth/callback.ts (renamed from cloud/app/src/routes/auth/callback.ts)0
-rw-r--r--packages/cloud/app/src/routes/auth/index.ts (renamed from cloud/app/src/routes/auth/index.ts)0
-rw-r--r--packages/cloud/app/src/routes/debug/index.ts (renamed from cloud/app/src/routes/debug/index.ts)0
-rw-r--r--packages/cloud/app/src/routes/discord.ts (renamed from cloud/app/src/routes/discord.ts)0
-rw-r--r--packages/cloud/app/src/routes/docs/[...path].ts (renamed from cloud/app/src/routes/docs/[...path].ts)0
-rw-r--r--packages/cloud/app/src/routes/docs/index.ts (renamed from cloud/app/src/routes/docs/index.ts)0
-rw-r--r--packages/cloud/app/src/routes/index.css (renamed from cloud/app/src/routes/index.css)0
-rw-r--r--packages/cloud/app/src/routes/index.tsx (renamed from cloud/app/src/routes/index.tsx)0
-rw-r--r--packages/cloud/app/src/routes/s/[id].ts (renamed from cloud/app/src/routes/s/[id].ts)0
-rw-r--r--packages/cloud/app/src/routes/stripe/webhook.ts (renamed from cloud/app/src/routes/stripe/webhook.ts)0
-rw-r--r--packages/cloud/app/src/routes/workspace.css (renamed from cloud/app/src/routes/workspace.css)0
-rw-r--r--packages/cloud/app/src/routes/workspace.tsx (renamed from cloud/app/src/routes/workspace.tsx)0
-rw-r--r--packages/cloud/app/src/routes/workspace/[id].css (renamed from cloud/app/src/routes/workspace/[id].css)0
-rw-r--r--packages/cloud/app/src/routes/workspace/[id].tsx (renamed from cloud/app/src/routes/workspace/[id].tsx)0
-rw-r--r--packages/cloud/app/src/routes/workspace/index.tsx (renamed from cloud/app/src/routes/workspace/index.tsx)0
-rw-r--r--packages/cloud/app/src/routes/zen/handler.ts (renamed from cloud/app/src/routes/zen/handler.ts)0
-rw-r--r--packages/cloud/app/src/routes/zen/v1/chat/completions.ts (renamed from cloud/app/src/routes/zen/v1/chat/completions.ts)0
-rw-r--r--packages/cloud/app/src/routes/zen/v1/messages.ts (renamed from cloud/app/src/routes/zen/v1/messages.ts)0
-rw-r--r--packages/cloud/app/src/routes/zen/v1/responses.ts (renamed from cloud/app/src/routes/zen/v1/responses.ts)0
-rw-r--r--packages/cloud/app/src/style/base.css (renamed from cloud/app/src/style/base.css)0
-rw-r--r--packages/cloud/app/src/style/component/button.css (renamed from cloud/app/src/style/component/button.css)0
-rw-r--r--packages/cloud/app/src/style/index.css (renamed from cloud/app/src/style/index.css)0
-rw-r--r--packages/cloud/app/src/style/reset.css (renamed from cloud/app/src/style/reset.css)0
-rw-r--r--packages/cloud/app/src/style/token/color.css (renamed from cloud/app/src/style/token/color.css)0
-rw-r--r--packages/cloud/app/src/style/token/font.css (renamed from cloud/app/src/style/token/font.css)0
-rw-r--r--packages/cloud/app/src/style/token/space.css (renamed from cloud/app/src/style/token/space.css)0
-rw-r--r--packages/cloud/app/sst-env.d.ts (renamed from cloud/app/sst-env.d.ts)4
-rw-r--r--packages/cloud/app/tsconfig.json (renamed from cloud/app/tsconfig.json)0
-rw-r--r--packages/cloud/core/drizzle.config.ts (renamed from cloud/core/drizzle.config.ts)0
-rw-r--r--packages/cloud/core/migrations/0000_fluffy_raza.sql (renamed from cloud/core/migrations/0000_fluffy_raza.sql)0
-rw-r--r--packages/cloud/core/migrations/0001_serious_whistler.sql (renamed from cloud/core/migrations/0001_serious_whistler.sql)0
-rw-r--r--packages/cloud/core/migrations/0002_violet_loners.sql (renamed from cloud/core/migrations/0002_violet_loners.sql)0
-rw-r--r--packages/cloud/core/migrations/0003_dusty_clint_barton.sql (renamed from cloud/core/migrations/0003_dusty_clint_barton.sql)0
-rw-r--r--packages/cloud/core/migrations/0004_first_mockingbird.sql (renamed from cloud/core/migrations/0004_first_mockingbird.sql)0
-rw-r--r--packages/cloud/core/migrations/0005_jazzy_skrulls.sql (renamed from cloud/core/migrations/0005_jazzy_skrulls.sql)0
-rw-r--r--packages/cloud/core/migrations/0006_parallel_gauntlet.sql (renamed from cloud/core/migrations/0006_parallel_gauntlet.sql)0
-rw-r--r--packages/cloud/core/migrations/0007_familiar_nightshade.sql (renamed from cloud/core/migrations/0007_familiar_nightshade.sql)0
-rw-r--r--packages/cloud/core/migrations/0008_eminent_ultimatum.sql (renamed from cloud/core/migrations/0008_eminent_ultimatum.sql)0
-rw-r--r--packages/cloud/core/migrations/0009_redundant_piledriver.sql (renamed from cloud/core/migrations/0009_redundant_piledriver.sql)0
-rw-r--r--packages/cloud/core/migrations/0010_needy_sue_storm.sql (renamed from cloud/core/migrations/0010_needy_sue_storm.sql)0
-rw-r--r--packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql (renamed from cloud/core/migrations/0011_freezing_phil_sheldon.sql)0
-rw-r--r--packages/cloud/core/migrations/0012_bright_photon.sql (renamed from cloud/core/migrations/0012_bright_photon.sql)0
-rw-r--r--packages/cloud/core/migrations/0013_absurd_hobgoblin.sql (renamed from cloud/core/migrations/0013_absurd_hobgoblin.sql)0
-rw-r--r--packages/cloud/core/migrations/meta/0000_snapshot.json (renamed from cloud/core/migrations/meta/0000_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0001_snapshot.json (renamed from cloud/core/migrations/meta/0001_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0002_snapshot.json (renamed from cloud/core/migrations/meta/0002_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0003_snapshot.json (renamed from cloud/core/migrations/meta/0003_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0004_snapshot.json (renamed from cloud/core/migrations/meta/0004_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0005_snapshot.json (renamed from cloud/core/migrations/meta/0005_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0006_snapshot.json (renamed from cloud/core/migrations/meta/0006_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0007_snapshot.json (renamed from cloud/core/migrations/meta/0007_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0008_snapshot.json (renamed from cloud/core/migrations/meta/0008_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0009_snapshot.json (renamed from cloud/core/migrations/meta/0009_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0010_snapshot.json (renamed from cloud/core/migrations/meta/0010_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0011_snapshot.json (renamed from cloud/core/migrations/meta/0011_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0012_snapshot.json (renamed from cloud/core/migrations/meta/0012_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/0013_snapshot.json (renamed from cloud/core/migrations/meta/0013_snapshot.json)0
-rw-r--r--packages/cloud/core/migrations/meta/_journal.json (renamed from cloud/core/migrations/meta/_journal.json)0
-rw-r--r--packages/cloud/core/package.json (renamed from cloud/core/package.json)0
-rw-r--r--packages/cloud/core/src/account.ts (renamed from cloud/core/src/account.ts)0
-rw-r--r--packages/cloud/core/src/actor.ts (renamed from cloud/core/src/actor.ts)0
-rw-r--r--packages/cloud/core/src/billing.ts (renamed from cloud/core/src/billing.ts)0
-rw-r--r--packages/cloud/core/src/context.ts (renamed from cloud/core/src/context.ts)0
-rw-r--r--packages/cloud/core/src/drizzle/index.ts (renamed from cloud/core/src/drizzle/index.ts)0
-rw-r--r--packages/cloud/core/src/drizzle/types.ts (renamed from cloud/core/src/drizzle/types.ts)0
-rw-r--r--packages/cloud/core/src/identifier.ts (renamed from cloud/core/src/identifier.ts)0
-rw-r--r--packages/cloud/core/src/key.ts (renamed from cloud/core/src/key.ts)0
-rw-r--r--packages/cloud/core/src/schema/account.sql.ts (renamed from cloud/core/src/schema/account.sql.ts)0
-rw-r--r--packages/cloud/core/src/schema/billing.sql.ts (renamed from cloud/core/src/schema/billing.sql.ts)0
-rw-r--r--packages/cloud/core/src/schema/key.sql.ts (renamed from cloud/core/src/schema/key.sql.ts)0
-rw-r--r--packages/cloud/core/src/schema/user.sql.ts (renamed from cloud/core/src/schema/user.sql.ts)0
-rw-r--r--packages/cloud/core/src/schema/workspace.sql.ts (renamed from cloud/core/src/schema/workspace.sql.ts)0
-rw-r--r--packages/cloud/core/src/user.ts (renamed from cloud/core/src/user.ts)0
-rw-r--r--packages/cloud/core/src/util/env.cloudflare.ts (renamed from cloud/core/src/util/env.cloudflare.ts)0
-rw-r--r--packages/cloud/core/src/util/fn.ts (renamed from cloud/core/src/util/fn.ts)0
-rw-r--r--packages/cloud/core/src/util/log.ts (renamed from cloud/core/src/util/log.ts)0
-rw-r--r--packages/cloud/core/src/util/memo.ts (renamed from cloud/core/src/util/memo.ts)0
-rw-r--r--packages/cloud/core/src/util/price.ts (renamed from cloud/core/src/util/price.ts)0
-rw-r--r--packages/cloud/core/src/workspace.ts (renamed from cloud/core/src/workspace.ts)0
-rw-r--r--packages/cloud/core/sst-env.d.ts (renamed from cloud/core/sst-env.d.ts)4
-rw-r--r--packages/cloud/core/tsconfig.json (renamed from cloud/core/tsconfig.json)0
-rw-r--r--packages/cloud/function/package.json (renamed from cloud/function/package.json)0
-rw-r--r--packages/cloud/function/src/auth.ts (renamed from cloud/function/src/auth.ts)0
-rw-r--r--packages/cloud/function/src/log-processor.ts (renamed from cloud/function/src/log-processor.ts)0
-rw-r--r--packages/cloud/function/sst-env.d.ts96
-rw-r--r--packages/cloud/function/tsconfig.json (renamed from cloud/function/tsconfig.json)0
-rw-r--r--packages/cloud/resource/bun.lock (renamed from cloud/resource/bun.lock)0
-rw-r--r--packages/cloud/resource/package.json (renamed from cloud/resource/package.json)0
-rw-r--r--packages/cloud/resource/resource.cloudflare.ts (renamed from cloud/resource/resource.cloudflare.ts)0
-rw-r--r--packages/cloud/resource/resource.node.ts (renamed from cloud/resource/resource.node.ts)0
-rw-r--r--packages/cloud/resource/sst-env.d.ts96
-rw-r--r--packages/cloud/resource/tsconfig.json (renamed from cloud/resource/tsconfig.json)0
-rw-r--r--packages/cloud/scripts/.gitignore (renamed from cloud/scripts/.gitignore)0
-rw-r--r--packages/cloud/scripts/package.json (renamed from cloud/scripts/package.json)0
-rw-r--r--packages/cloud/scripts/src/backfill-usage-provider.ts (renamed from cloud/scripts/src/backfill-usage-provider.ts)0
-rw-r--r--packages/cloud/scripts/sst-env.d.ts (renamed from cloud/scripts/sst-env.d.ts)4
-rw-r--r--packages/cloud/scripts/tsconfig.json (renamed from cloud/scripts/tsconfig.json)0
-rw-r--r--packages/function/sst-env.d.ts158
-rw-r--r--packages/opencode/sst-env.d.ts2
-rw-r--r--packages/plugin/sst-env.d.ts2
-rw-r--r--packages/sdk/js/sst-env.d.ts2
-rw-r--r--packages/web/sst-env.d.ts2
-rw-r--r--sdks/vscode/sst-env.d.ts2
-rw-r--r--sst-env.d.ts138
155 files changed, 400 insertions, 400 deletions
diff --git a/bun.lock b/bun.lock
index 1d775e202..18bab7024 100644
--- a/bun.lock
+++ b/bun.lock
@@ -12,7 +12,39 @@
"turbo": "2.5.6",
},
},
- "cloud/app": {
+ "packages/app": {
+ "name": "@opencode/app",
+ "version": "0.9.11",
+ "dependencies": {
+ "@kobalte/core": "0.13.11",
+ "@opencode-ai/sdk": "workspace:*",
+ "@shikijs/transformers": "3.9.2",
+ "@solid-primitives/resize-observer": "2.1.3",
+ "@solid-primitives/scroll": "2.1.3",
+ "@solidjs/router": "0.15.3",
+ "@thisbeyond/solid-dnd": "0.7.5",
+ "diff": "8.0.2",
+ "luxon": "3.7.1",
+ "marked": "16.2.0",
+ "marked-shiki": "1.2.1",
+ "remeda": "catalog:",
+ "shiki": "3.9.2",
+ "solid-js": "catalog:",
+ "solid-list": "0.3.0",
+ "tailwindcss": "4.1.11",
+ "virtua": "0.42.3",
+ },
+ "devDependencies": {
+ "@tailwindcss/vite": "4.1.11",
+ "@types/luxon": "3.7.1",
+ "@types/node": "catalog:",
+ "typescript": "catalog:",
+ "vite": "^6.0.0",
+ "vite-plugin-icons-spritesheet": "3.0.1",
+ "vite-plugin-solid": "^2.11.6",
+ },
+ },
+ "packages/cloud/app": {
"name": "@opencode/cloud-app",
"dependencies": {
"@ibm/plex": "6.4.1",
@@ -25,7 +57,7 @@
"vinxi": "^0.5.7",
},
},
- "cloud/core": {
+ "packages/cloud/core": {
"name": "@opencode/cloud-core",
"version": "0.9.11",
"dependencies": {
@@ -42,7 +74,7 @@
"mysql2": "3.14.4",
},
},
- "cloud/function": {
+ "packages/cloud/function": {
"name": "@opencode/cloud-function",
"version": "0.9.11",
"dependencies": {
@@ -62,13 +94,13 @@
"typescript": "catalog:",
},
},
- "cloud/resource": {
+ "packages/cloud/resource": {
"name": "@opencode/cloud-resource",
"dependencies": {
"@cloudflare/workers-types": "^4.20250830.0",
},
},
- "cloud/scripts": {
+ "packages/cloud/scripts": {
"name": "@opencode/cloud-scripts",
"version": "0.9.11",
"dependencies": {
@@ -80,38 +112,6 @@
"typescript": "catalog:",
},
},
- "packages/app": {
- "name": "@opencode/app",
- "version": "0.9.11",
- "dependencies": {
- "@kobalte/core": "0.13.11",
- "@opencode-ai/sdk": "workspace:*",
- "@shikijs/transformers": "3.9.2",
- "@solid-primitives/resize-observer": "2.1.3",
- "@solid-primitives/scroll": "2.1.3",
- "@solidjs/router": "0.15.3",
- "@thisbeyond/solid-dnd": "0.7.5",
- "diff": "8.0.2",
- "luxon": "3.7.1",
- "marked": "16.2.0",
- "marked-shiki": "1.2.1",
- "remeda": "catalog:",
- "shiki": "3.9.2",
- "solid-js": "catalog:",
- "solid-list": "0.3.0",
- "tailwindcss": "4.1.11",
- "virtua": "0.42.3",
- },
- "devDependencies": {
- "@tailwindcss/vite": "4.1.11",
- "@types/luxon": "3.7.1",
- "@types/node": "catalog:",
- "typescript": "catalog:",
- "vite": "^6.0.0",
- "vite-plugin-icons-spritesheet": "3.0.1",
- "vite-plugin-solid": "^2.11.6",
- },
- },
"packages/function": {
"name": "@opencode/function",
"version": "0.9.11",
@@ -693,15 +693,15 @@
"@opencode/app": ["@opencode/app@workspace:packages/app"],
- "@opencode/cloud-app": ["@opencode/cloud-app@workspace:cloud/app"],
+ "@opencode/cloud-app": ["@opencode/cloud-app@workspace:packages/cloud/app"],
- "@opencode/cloud-core": ["@opencode/cloud-core@workspace:cloud/core"],
+ "@opencode/cloud-core": ["@opencode/cloud-core@workspace:packages/cloud/core"],
- "@opencode/cloud-function": ["@opencode/cloud-function@workspace:cloud/function"],
+ "@opencode/cloud-function": ["@opencode/cloud-function@workspace:packages/cloud/function"],
- "@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:cloud/resource"],
+ "@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:packages/cloud/resource"],
- "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:cloud/scripts"],
+ "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:packages/cloud/scripts"],
"@opencode/function": ["@opencode/function@workspace:packages/function"],
diff --git a/cloud/function/sst-env.d.ts b/cloud/function/sst-env.d.ts
deleted file mode 100644
index afa8c6fe7..000000000
--- a/cloud/function/sst-env.d.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/* This file is auto-generated by SST. Do not edit. */
-/* tslint:disable */
-/* eslint-disable */
-/* deno-fmt-ignore-file */
-
-import "sst"
-declare module "sst" {
- export interface Resource {
- ANTHROPIC_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- AUTH_API_URL: {
- type: "sst.sst.Linkable"
- value: string
- }
- BASETEN_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- Console: {
- type: "sst.cloudflare.SolidStart"
- url: string
- }
- Database: {
- database: string
- host: string
- password: string
- port: number
- type: "sst.sst.Linkable"
- username: string
- }
- FIREWORKS_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_PRIVATE_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_ID_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_SECRET_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GOOGLE_CLIENT_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- HONEYCOMB_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- OPENAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_SECRET_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_WEBHOOK_SECRET: {
- type: "sst.sst.Linkable"
- value: string
- }
- Web: {
- type: "sst.cloudflare.Astro"
- url: string
- }
- XAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- }
-}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types"
-declare module "sst" {
- export interface Resource {
- Api: cloudflare.Service
- AuthApi: cloudflare.Service
- AuthStorage: cloudflare.KVNamespace
- Bucket: cloudflare.R2Bucket
- LogProcessor: cloudflare.Service
- }
-}
-
-import "sst"
-export {}
diff --git a/cloud/resource/sst-env.d.ts b/cloud/resource/sst-env.d.ts
deleted file mode 100644
index afa8c6fe7..000000000
--- a/cloud/resource/sst-env.d.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/* This file is auto-generated by SST. Do not edit. */
-/* tslint:disable */
-/* eslint-disable */
-/* deno-fmt-ignore-file */
-
-import "sst"
-declare module "sst" {
- export interface Resource {
- ANTHROPIC_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- AUTH_API_URL: {
- type: "sst.sst.Linkable"
- value: string
- }
- BASETEN_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- Console: {
- type: "sst.cloudflare.SolidStart"
- url: string
- }
- Database: {
- database: string
- host: string
- password: string
- port: number
- type: "sst.sst.Linkable"
- username: string
- }
- FIREWORKS_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_PRIVATE_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_ID_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_SECRET_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GOOGLE_CLIENT_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- HONEYCOMB_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- OPENAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_SECRET_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_WEBHOOK_SECRET: {
- type: "sst.sst.Linkable"
- value: string
- }
- Web: {
- type: "sst.cloudflare.Astro"
- url: string
- }
- XAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- }
-}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types"
-declare module "sst" {
- export interface Resource {
- Api: cloudflare.Service
- AuthApi: cloudflare.Service
- AuthStorage: cloudflare.KVNamespace
- Bucket: cloudflare.R2Bucket
- LogProcessor: cloudflare.Service
- }
-}
-
-import "sst"
-export {}
diff --git a/github/sst-env.d.ts b/github/sst-env.d.ts
index 6b69016e7..f742a1200 100644
--- a/github/sst-env.d.ts
+++ b/github/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/infra/cloud.ts b/infra/cloud.ts
index 9c58150c3..23984cb4c 100644
--- a/infra/cloud.ts
+++ b/infra/cloud.ts
@@ -44,7 +44,7 @@ new sst.x.DevCommand("Studio", {
link: [database],
dev: {
command: "bun db studio",
- directory: "cloud/core",
+ directory: "packages/cloud/core",
autostart: true,
},
})
@@ -59,7 +59,7 @@ const GOOGLE_CLIENT_ID = new sst.Secret("GOOGLE_CLIENT_ID")
const authStorage = new sst.cloudflare.Kv("AuthStorage")
export const auth = new sst.cloudflare.Worker("AuthApi", {
domain: `auth.${domain}`,
- handler: "cloud/function/src/auth.ts",
+ handler: "packages/cloud/function/src/auth.ts",
url: true,
link: [database, authStorage, GITHUB_CLIENT_ID_CONSOLE, GITHUB_CLIENT_SECRET_CONSOLE, GOOGLE_CLIENT_ID],
})
@@ -120,14 +120,14 @@ let logProcessor
if ($app.stage === "production" || $app.stage === "frank") {
const HONEYCOMB_API_KEY = new sst.Secret("HONEYCOMB_API_KEY")
logProcessor = new sst.cloudflare.Worker("LogProcessor", {
- handler: "cloud/function/src/log-processor.ts",
+ handler: "packages/cloud/function/src/log-processor.ts",
link: [HONEYCOMB_API_KEY],
})
}
new sst.cloudflare.x.SolidStart("Console", {
domain,
- path: "cloud/app",
+ path: "packages/cloud/app",
link: [
database,
AUTH_API_URL,
diff --git a/package.json b/package.json
index 70a54cb67..8afdfbf96 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,8 @@
},
"workspaces": {
"packages": [
- "cloud/*",
"packages/*",
+ "packages/cloud/*",
"packages/sdk/js"
],
"catalog": {
diff --git a/packages/app/sst-env.d.ts b/packages/app/sst-env.d.ts
index 0397645b5..b6a7e9066 100644
--- a/packages/app/sst-env.d.ts
+++ b/packages/app/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/cloud/app/.gitignore b/packages/cloud/app/.gitignore
index 751513ce1..751513ce1 100644
--- a/cloud/app/.gitignore
+++ b/packages/cloud/app/.gitignore
diff --git a/cloud/app/.opencode/agent/css.md b/packages/cloud/app/.opencode/agent/css.md
index d0ec43a48..d0ec43a48 100644
--- a/cloud/app/.opencode/agent/css.md
+++ b/packages/cloud/app/.opencode/agent/css.md
diff --git a/cloud/app/README.md b/packages/cloud/app/README.md
index 9337430cf..9337430cf 100644
--- a/cloud/app/README.md
+++ b/packages/cloud/app/README.md
diff --git a/cloud/app/app.config.ts b/packages/cloud/app/app.config.ts
index af013bc81..af013bc81 100644
--- a/cloud/app/app.config.ts
+++ b/packages/cloud/app/app.config.ts
diff --git a/cloud/app/package.json b/packages/cloud/app/package.json
index bd01f074e..bd01f074e 100644
--- a/cloud/app/package.json
+++ b/packages/cloud/app/package.json
diff --git a/cloud/app/public/favicon.svg b/packages/cloud/app/public/favicon.svg
index 3c81bbdb4..3c81bbdb4 100644
--- a/cloud/app/public/favicon.svg
+++ b/packages/cloud/app/public/favicon.svg
diff --git a/cloud/app/public/robots.txt b/packages/cloud/app/public/robots.txt
index f88eb1790..f88eb1790 100644
--- a/cloud/app/public/robots.txt
+++ b/packages/cloud/app/public/robots.txt
diff --git a/cloud/app/public/social-share.png b/packages/cloud/app/public/social-share.png
index 97f67994d..97f67994d 100644
--- a/cloud/app/public/social-share.png
+++ b/packages/cloud/app/public/social-share.png
Binary files differ
diff --git a/cloud/app/public/theme.json b/packages/cloud/app/public/theme.json
index b3e97f7ca..b3e97f7ca 100644
--- a/cloud/app/public/theme.json
+++ b/packages/cloud/app/public/theme.json
diff --git a/cloud/app/src/app.css b/packages/cloud/app/src/app.css
index c0261c422..c0261c422 100644
--- a/cloud/app/src/app.css
+++ b/packages/cloud/app/src/app.css
diff --git a/cloud/app/src/app.tsx b/packages/cloud/app/src/app.tsx
index bc3961214..bc3961214 100644
--- a/cloud/app/src/app.tsx
+++ b/packages/cloud/app/src/app.tsx
diff --git a/cloud/app/src/asset/lander/check.svg b/packages/cloud/app/src/asset/lander/check.svg
index 22de6f2a8..22de6f2a8 100644
--- a/cloud/app/src/asset/lander/check.svg
+++ b/packages/cloud/app/src/asset/lander/check.svg
diff --git a/cloud/app/src/asset/lander/copy.svg b/packages/cloud/app/src/asset/lander/copy.svg
index f1baac30a..f1baac30a 100644
--- a/cloud/app/src/asset/lander/copy.svg
+++ b/packages/cloud/app/src/asset/lander/copy.svg
diff --git a/cloud/app/src/asset/lander/screenshot-github.png b/packages/cloud/app/src/asset/lander/screenshot-github.png
index fda74e641..fda74e641 100644
--- a/cloud/app/src/asset/lander/screenshot-github.png
+++ b/packages/cloud/app/src/asset/lander/screenshot-github.png
Binary files differ
diff --git a/cloud/app/src/asset/lander/screenshot-splash.png b/packages/cloud/app/src/asset/lander/screenshot-splash.png
index e900673ef..e900673ef 100644
--- a/cloud/app/src/asset/lander/screenshot-splash.png
+++ b/packages/cloud/app/src/asset/lander/screenshot-splash.png
Binary files differ
diff --git a/cloud/app/src/asset/lander/screenshot-vscode.png b/packages/cloud/app/src/asset/lander/screenshot-vscode.png
index b8966a6b8..b8966a6b8 100644
--- a/cloud/app/src/asset/lander/screenshot-vscode.png
+++ b/packages/cloud/app/src/asset/lander/screenshot-vscode.png
Binary files differ
diff --git a/cloud/app/src/asset/lander/screenshot.png b/packages/cloud/app/src/asset/lander/screenshot.png
index feb617585..feb617585 100644
--- a/cloud/app/src/asset/lander/screenshot.png
+++ b/packages/cloud/app/src/asset/lander/screenshot.png
Binary files differ
diff --git a/cloud/app/src/asset/logo-ornate-dark.svg b/packages/cloud/app/src/asset/logo-ornate-dark.svg
index 2efda934d..2efda934d 100644
--- a/cloud/app/src/asset/logo-ornate-dark.svg
+++ b/packages/cloud/app/src/asset/logo-ornate-dark.svg
diff --git a/cloud/app/src/asset/logo-ornate-light.svg b/packages/cloud/app/src/asset/logo-ornate-light.svg
index 789223bc4..789223bc4 100644
--- a/cloud/app/src/asset/logo-ornate-light.svg
+++ b/packages/cloud/app/src/asset/logo-ornate-light.svg
diff --git a/cloud/app/src/asset/logo.svg b/packages/cloud/app/src/asset/logo.svg
index cbfcccf51..cbfcccf51 100644
--- a/cloud/app/src/asset/logo.svg
+++ b/packages/cloud/app/src/asset/logo.svg
diff --git a/cloud/app/src/component/icon.tsx b/packages/cloud/app/src/component/icon.tsx
index a82572e62..a82572e62 100644
--- a/cloud/app/src/component/icon.tsx
+++ b/packages/cloud/app/src/component/icon.tsx
diff --git a/cloud/app/src/component/workspace/billing-section.module.css b/packages/cloud/app/src/component/workspace/billing-section.module.css
index 0bb5709cb..0bb5709cb 100644
--- a/cloud/app/src/component/workspace/billing-section.module.css
+++ b/packages/cloud/app/src/component/workspace/billing-section.module.css
diff --git a/cloud/app/src/component/workspace/billing-section.tsx b/packages/cloud/app/src/component/workspace/billing-section.tsx
index ec314d9ef..ec314d9ef 100644
--- a/cloud/app/src/component/workspace/billing-section.tsx
+++ b/packages/cloud/app/src/component/workspace/billing-section.tsx
diff --git a/cloud/app/src/component/workspace/common.tsx b/packages/cloud/app/src/component/workspace/common.tsx
index f85fd8423..f85fd8423 100644
--- a/cloud/app/src/component/workspace/common.tsx
+++ b/packages/cloud/app/src/component/workspace/common.tsx
diff --git a/cloud/app/src/component/workspace/key-section.module.css b/packages/cloud/app/src/component/workspace/key-section.module.css
index 6a1d0c85f..6a1d0c85f 100644
--- a/cloud/app/src/component/workspace/key-section.module.css
+++ b/packages/cloud/app/src/component/workspace/key-section.module.css
diff --git a/cloud/app/src/component/workspace/key-section.tsx b/packages/cloud/app/src/component/workspace/key-section.tsx
index 4158ce793..4158ce793 100644
--- a/cloud/app/src/component/workspace/key-section.tsx
+++ b/packages/cloud/app/src/component/workspace/key-section.tsx
diff --git a/cloud/app/src/component/workspace/monthly-limit-section.module.css b/packages/cloud/app/src/component/workspace/monthly-limit-section.module.css
index 02de058e4..02de058e4 100644
--- a/cloud/app/src/component/workspace/monthly-limit-section.module.css
+++ b/packages/cloud/app/src/component/workspace/monthly-limit-section.module.css
diff --git a/cloud/app/src/component/workspace/monthly-limit-section.tsx b/packages/cloud/app/src/component/workspace/monthly-limit-section.tsx
index 5c1077ab1..5c1077ab1 100644
--- a/cloud/app/src/component/workspace/monthly-limit-section.tsx
+++ b/packages/cloud/app/src/component/workspace/monthly-limit-section.tsx
diff --git a/cloud/app/src/component/workspace/new-user-section.module.css b/packages/cloud/app/src/component/workspace/new-user-section.module.css
index 2edc7cc14..2edc7cc14 100644
--- a/cloud/app/src/component/workspace/new-user-section.module.css
+++ b/packages/cloud/app/src/component/workspace/new-user-section.module.css
diff --git a/cloud/app/src/component/workspace/new-user-section.tsx b/packages/cloud/app/src/component/workspace/new-user-section.tsx
index 6e031e371..6e031e371 100644
--- a/cloud/app/src/component/workspace/new-user-section.tsx
+++ b/packages/cloud/app/src/component/workspace/new-user-section.tsx
diff --git a/cloud/app/src/component/workspace/payment-section.module.css b/packages/cloud/app/src/component/workspace/payment-section.module.css
index ea8e2ed42..ea8e2ed42 100644
--- a/cloud/app/src/component/workspace/payment-section.module.css
+++ b/packages/cloud/app/src/component/workspace/payment-section.module.css
diff --git a/cloud/app/src/component/workspace/payment-section.tsx b/packages/cloud/app/src/component/workspace/payment-section.tsx
index 8cdceebc3..8cdceebc3 100644
--- a/cloud/app/src/component/workspace/payment-section.tsx
+++ b/packages/cloud/app/src/component/workspace/payment-section.tsx
diff --git a/cloud/app/src/component/workspace/usage-section.module.css b/packages/cloud/app/src/component/workspace/usage-section.module.css
index 1a772ba87..1a772ba87 100644
--- a/cloud/app/src/component/workspace/usage-section.module.css
+++ b/packages/cloud/app/src/component/workspace/usage-section.module.css
diff --git a/cloud/app/src/component/workspace/usage-section.tsx b/packages/cloud/app/src/component/workspace/usage-section.tsx
index 5d3d3b6c3..5d3d3b6c3 100644
--- a/cloud/app/src/component/workspace/usage-section.tsx
+++ b/packages/cloud/app/src/component/workspace/usage-section.tsx
diff --git a/cloud/app/src/context/auth.session.ts b/packages/cloud/app/src/context/auth.session.ts
index 609bc364b..609bc364b 100644
--- a/cloud/app/src/context/auth.session.ts
+++ b/packages/cloud/app/src/context/auth.session.ts
diff --git a/cloud/app/src/context/auth.ts b/packages/cloud/app/src/context/auth.ts
index e08d965b8..e08d965b8 100644
--- a/cloud/app/src/context/auth.ts
+++ b/packages/cloud/app/src/context/auth.ts
diff --git a/cloud/app/src/context/auth.withActor.ts b/packages/cloud/app/src/context/auth.withActor.ts
index 4cfd5c3e0..4cfd5c3e0 100644
--- a/cloud/app/src/context/auth.withActor.ts
+++ b/packages/cloud/app/src/context/auth.withActor.ts
diff --git a/cloud/app/src/entry-client.tsx b/packages/cloud/app/src/entry-client.tsx
index 642deacf7..642deacf7 100644
--- a/cloud/app/src/entry-client.tsx
+++ b/packages/cloud/app/src/entry-client.tsx
diff --git a/cloud/app/src/entry-server.tsx b/packages/cloud/app/src/entry-server.tsx
index d5fca6aa5..d5fca6aa5 100644
--- a/cloud/app/src/entry-server.tsx
+++ b/packages/cloud/app/src/entry-server.tsx
diff --git a/cloud/app/src/global.d.ts b/packages/cloud/app/src/global.d.ts
index dc6f10c22..dc6f10c22 100644
--- a/cloud/app/src/global.d.ts
+++ b/packages/cloud/app/src/global.d.ts
diff --git a/cloud/app/src/middleware.ts b/packages/cloud/app/src/middleware.ts
index b49473cbe..b49473cbe 100644
--- a/cloud/app/src/middleware.ts
+++ b/packages/cloud/app/src/middleware.ts
diff --git a/cloud/app/src/routes/[...404].css b/packages/cloud/app/src/routes/[...404].css
index 1edbd0a5a..1edbd0a5a 100644
--- a/cloud/app/src/routes/[...404].css
+++ b/packages/cloud/app/src/routes/[...404].css
diff --git a/cloud/app/src/routes/[...404].tsx b/packages/cloud/app/src/routes/[...404].tsx
index ba2842b5a..ba2842b5a 100644
--- a/cloud/app/src/routes/[...404].tsx
+++ b/packages/cloud/app/src/routes/[...404].tsx
diff --git a/cloud/app/src/routes/auth/authorize.ts b/packages/cloud/app/src/routes/auth/authorize.ts
index 166466ef8..166466ef8 100644
--- a/cloud/app/src/routes/auth/authorize.ts
+++ b/packages/cloud/app/src/routes/auth/authorize.ts
diff --git a/cloud/app/src/routes/auth/callback.ts b/packages/cloud/app/src/routes/auth/callback.ts
index 23025b54d..23025b54d 100644
--- a/cloud/app/src/routes/auth/callback.ts
+++ b/packages/cloud/app/src/routes/auth/callback.ts
diff --git a/cloud/app/src/routes/auth/index.ts b/packages/cloud/app/src/routes/auth/index.ts
index 308ae2d1d..308ae2d1d 100644
--- a/cloud/app/src/routes/auth/index.ts
+++ b/packages/cloud/app/src/routes/auth/index.ts
diff --git a/cloud/app/src/routes/debug/index.ts b/packages/cloud/app/src/routes/debug/index.ts
index 8c7eb7bd8..8c7eb7bd8 100644
--- a/cloud/app/src/routes/debug/index.ts
+++ b/packages/cloud/app/src/routes/debug/index.ts
diff --git a/cloud/app/src/routes/discord.ts b/packages/cloud/app/src/routes/discord.ts
index 7088295da..7088295da 100644
--- a/cloud/app/src/routes/discord.ts
+++ b/packages/cloud/app/src/routes/discord.ts
diff --git a/cloud/app/src/routes/docs/[...path].ts b/packages/cloud/app/src/routes/docs/[...path].ts
index f07781583..f07781583 100644
--- a/cloud/app/src/routes/docs/[...path].ts
+++ b/packages/cloud/app/src/routes/docs/[...path].ts
diff --git a/cloud/app/src/routes/docs/index.ts b/packages/cloud/app/src/routes/docs/index.ts
index f07781583..f07781583 100644
--- a/cloud/app/src/routes/docs/index.ts
+++ b/packages/cloud/app/src/routes/docs/index.ts
diff --git a/cloud/app/src/routes/index.css b/packages/cloud/app/src/routes/index.css
index fe95bb7ea..fe95bb7ea 100644
--- a/cloud/app/src/routes/index.css
+++ b/packages/cloud/app/src/routes/index.css
diff --git a/cloud/app/src/routes/index.tsx b/packages/cloud/app/src/routes/index.tsx
index 9075f4079..9075f4079 100644
--- a/cloud/app/src/routes/index.tsx
+++ b/packages/cloud/app/src/routes/index.tsx
diff --git a/cloud/app/src/routes/s/[id].ts b/packages/cloud/app/src/routes/s/[id].ts
index 3fd1305a0..3fd1305a0 100644
--- a/cloud/app/src/routes/s/[id].ts
+++ b/packages/cloud/app/src/routes/s/[id].ts
diff --git a/cloud/app/src/routes/stripe/webhook.ts b/packages/cloud/app/src/routes/stripe/webhook.ts
index 925ede1ac..925ede1ac 100644
--- a/cloud/app/src/routes/stripe/webhook.ts
+++ b/packages/cloud/app/src/routes/stripe/webhook.ts
diff --git a/cloud/app/src/routes/workspace.css b/packages/cloud/app/src/routes/workspace.css
index ed94365f0..ed94365f0 100644
--- a/cloud/app/src/routes/workspace.css
+++ b/packages/cloud/app/src/routes/workspace.css
diff --git a/cloud/app/src/routes/workspace.tsx b/packages/cloud/app/src/routes/workspace.tsx
index 3f08a70a0..3f08a70a0 100644
--- a/cloud/app/src/routes/workspace.tsx
+++ b/packages/cloud/app/src/routes/workspace.tsx
diff --git a/cloud/app/src/routes/workspace/[id].css b/packages/cloud/app/src/routes/workspace/[id].css
index 8b318a19f..8b318a19f 100644
--- a/cloud/app/src/routes/workspace/[id].css
+++ b/packages/cloud/app/src/routes/workspace/[id].css
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/packages/cloud/app/src/routes/workspace/[id].tsx
index 4a2c3424d..4a2c3424d 100644
--- a/cloud/app/src/routes/workspace/[id].tsx
+++ b/packages/cloud/app/src/routes/workspace/[id].tsx
diff --git a/cloud/app/src/routes/workspace/index.tsx b/packages/cloud/app/src/routes/workspace/index.tsx
index e69de29bb..e69de29bb 100644
--- a/cloud/app/src/routes/workspace/index.tsx
+++ b/packages/cloud/app/src/routes/workspace/index.tsx
diff --git a/cloud/app/src/routes/zen/handler.ts b/packages/cloud/app/src/routes/zen/handler.ts
index ab1fc6599..ab1fc6599 100644
--- a/cloud/app/src/routes/zen/handler.ts
+++ b/packages/cloud/app/src/routes/zen/handler.ts
diff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/packages/cloud/app/src/routes/zen/v1/chat/completions.ts
index 801557324..801557324 100644
--- a/cloud/app/src/routes/zen/v1/chat/completions.ts
+++ b/packages/cloud/app/src/routes/zen/v1/chat/completions.ts
diff --git a/cloud/app/src/routes/zen/v1/messages.ts b/packages/cloud/app/src/routes/zen/v1/messages.ts
index 1fd85d5c7..1fd85d5c7 100644
--- a/cloud/app/src/routes/zen/v1/messages.ts
+++ b/packages/cloud/app/src/routes/zen/v1/messages.ts
diff --git a/cloud/app/src/routes/zen/v1/responses.ts b/packages/cloud/app/src/routes/zen/v1/responses.ts
index 486c129b9..486c129b9 100644
--- a/cloud/app/src/routes/zen/v1/responses.ts
+++ b/packages/cloud/app/src/routes/zen/v1/responses.ts
diff --git a/cloud/app/src/style/base.css b/packages/cloud/app/src/style/base.css
index a4847ed43..a4847ed43 100644
--- a/cloud/app/src/style/base.css
+++ b/packages/cloud/app/src/style/base.css
diff --git a/cloud/app/src/style/component/button.css b/packages/cloud/app/src/style/component/button.css
index d10f7af53..d10f7af53 100644
--- a/cloud/app/src/style/component/button.css
+++ b/packages/cloud/app/src/style/component/button.css
diff --git a/cloud/app/src/style/index.css b/packages/cloud/app/src/style/index.css
index 832a901e8..832a901e8 100644
--- a/cloud/app/src/style/index.css
+++ b/packages/cloud/app/src/style/index.css
diff --git a/cloud/app/src/style/reset.css b/packages/cloud/app/src/style/reset.css
index d331ed724..d331ed724 100644
--- a/cloud/app/src/style/reset.css
+++ b/packages/cloud/app/src/style/reset.css
diff --git a/cloud/app/src/style/token/color.css b/packages/cloud/app/src/style/token/color.css
index f1a097d2f..f1a097d2f 100644
--- a/cloud/app/src/style/token/color.css
+++ b/packages/cloud/app/src/style/token/color.css
diff --git a/cloud/app/src/style/token/font.css b/packages/cloud/app/src/style/token/font.css
index 67143e662..67143e662 100644
--- a/cloud/app/src/style/token/font.css
+++ b/packages/cloud/app/src/style/token/font.css
diff --git a/cloud/app/src/style/token/space.css b/packages/cloud/app/src/style/token/space.css
index 7e1a1b397..7e1a1b397 100644
--- a/cloud/app/src/style/token/space.css
+++ b/packages/cloud/app/src/style/token/space.css
diff --git a/cloud/app/sst-env.d.ts b/packages/cloud/app/sst-env.d.ts
index 0397645b5..9b9de7327 100644
--- a/cloud/app/sst-env.d.ts
+++ b/packages/cloud/app/sst-env.d.ts
@@ -3,7 +3,7 @@
/* eslint-disable */
/* deno-fmt-ignore-file */
-/// <reference path="../../sst-env.d.ts" />
+/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/cloud/app/tsconfig.json b/packages/cloud/app/tsconfig.json
index 07148a458..07148a458 100644
--- a/cloud/app/tsconfig.json
+++ b/packages/cloud/app/tsconfig.json
diff --git a/cloud/core/drizzle.config.ts b/packages/cloud/core/drizzle.config.ts
index 0b7c4417e..0b7c4417e 100644
--- a/cloud/core/drizzle.config.ts
+++ b/packages/cloud/core/drizzle.config.ts
diff --git a/cloud/core/migrations/0000_fluffy_raza.sql b/packages/cloud/core/migrations/0000_fluffy_raza.sql
index 8e8173346..8e8173346 100644
--- a/cloud/core/migrations/0000_fluffy_raza.sql
+++ b/packages/cloud/core/migrations/0000_fluffy_raza.sql
diff --git a/cloud/core/migrations/0001_serious_whistler.sql b/packages/cloud/core/migrations/0001_serious_whistler.sql
index 4a9a03d63..4a9a03d63 100644
--- a/cloud/core/migrations/0001_serious_whistler.sql
+++ b/packages/cloud/core/migrations/0001_serious_whistler.sql
diff --git a/cloud/core/migrations/0002_violet_loners.sql b/packages/cloud/core/migrations/0002_violet_loners.sql
index 17273356c..17273356c 100644
--- a/cloud/core/migrations/0002_violet_loners.sql
+++ b/packages/cloud/core/migrations/0002_violet_loners.sql
diff --git a/cloud/core/migrations/0003_dusty_clint_barton.sql b/packages/cloud/core/migrations/0003_dusty_clint_barton.sql
index 14efae216..14efae216 100644
--- a/cloud/core/migrations/0003_dusty_clint_barton.sql
+++ b/packages/cloud/core/migrations/0003_dusty_clint_barton.sql
diff --git a/cloud/core/migrations/0004_first_mockingbird.sql b/packages/cloud/core/migrations/0004_first_mockingbird.sql
index 2a6b11067..2a6b11067 100644
--- a/cloud/core/migrations/0004_first_mockingbird.sql
+++ b/packages/cloud/core/migrations/0004_first_mockingbird.sql
diff --git a/cloud/core/migrations/0005_jazzy_skrulls.sql b/packages/cloud/core/migrations/0005_jazzy_skrulls.sql
index 774c38dd8..774c38dd8 100644
--- a/cloud/core/migrations/0005_jazzy_skrulls.sql
+++ b/packages/cloud/core/migrations/0005_jazzy_skrulls.sql
diff --git a/cloud/core/migrations/0006_parallel_gauntlet.sql b/packages/cloud/core/migrations/0006_parallel_gauntlet.sql
index a1ff78e78..a1ff78e78 100644
--- a/cloud/core/migrations/0006_parallel_gauntlet.sql
+++ b/packages/cloud/core/migrations/0006_parallel_gauntlet.sql
diff --git a/cloud/core/migrations/0007_familiar_nightshade.sql b/packages/cloud/core/migrations/0007_familiar_nightshade.sql
index 89cf77f92..89cf77f92 100644
--- a/cloud/core/migrations/0007_familiar_nightshade.sql
+++ b/packages/cloud/core/migrations/0007_familiar_nightshade.sql
diff --git a/cloud/core/migrations/0008_eminent_ultimatum.sql b/packages/cloud/core/migrations/0008_eminent_ultimatum.sql
index 93e40a7fe..93e40a7fe 100644
--- a/cloud/core/migrations/0008_eminent_ultimatum.sql
+++ b/packages/cloud/core/migrations/0008_eminent_ultimatum.sql
diff --git a/cloud/core/migrations/0009_redundant_piledriver.sql b/packages/cloud/core/migrations/0009_redundant_piledriver.sql
index 4ba1b2d4a..4ba1b2d4a 100644
--- a/cloud/core/migrations/0009_redundant_piledriver.sql
+++ b/packages/cloud/core/migrations/0009_redundant_piledriver.sql
diff --git a/cloud/core/migrations/0010_needy_sue_storm.sql b/packages/cloud/core/migrations/0010_needy_sue_storm.sql
index ffd46c9fc..ffd46c9fc 100644
--- a/cloud/core/migrations/0010_needy_sue_storm.sql
+++ b/packages/cloud/core/migrations/0010_needy_sue_storm.sql
diff --git a/cloud/core/migrations/0011_freezing_phil_sheldon.sql b/packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql
index 095f25993..095f25993 100644
--- a/cloud/core/migrations/0011_freezing_phil_sheldon.sql
+++ b/packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql
diff --git a/cloud/core/migrations/0012_bright_photon.sql b/packages/cloud/core/migrations/0012_bright_photon.sql
index 8ad777bcf..8ad777bcf 100644
--- a/cloud/core/migrations/0012_bright_photon.sql
+++ b/packages/cloud/core/migrations/0012_bright_photon.sql
diff --git a/cloud/core/migrations/0013_absurd_hobgoblin.sql b/packages/cloud/core/migrations/0013_absurd_hobgoblin.sql
index 8c331b12f..8c331b12f 100644
--- a/cloud/core/migrations/0013_absurd_hobgoblin.sql
+++ b/packages/cloud/core/migrations/0013_absurd_hobgoblin.sql
diff --git a/cloud/core/migrations/meta/0000_snapshot.json b/packages/cloud/core/migrations/meta/0000_snapshot.json
index 17d3bd7f9..17d3bd7f9 100644
--- a/cloud/core/migrations/meta/0000_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0000_snapshot.json
diff --git a/cloud/core/migrations/meta/0001_snapshot.json b/packages/cloud/core/migrations/meta/0001_snapshot.json
index d23d1601d..d23d1601d 100644
--- a/cloud/core/migrations/meta/0001_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0001_snapshot.json
diff --git a/cloud/core/migrations/meta/0002_snapshot.json b/packages/cloud/core/migrations/meta/0002_snapshot.json
index 45d06926c..45d06926c 100644
--- a/cloud/core/migrations/meta/0002_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0002_snapshot.json
diff --git a/cloud/core/migrations/meta/0003_snapshot.json b/packages/cloud/core/migrations/meta/0003_snapshot.json
index e832ebb00..e832ebb00 100644
--- a/cloud/core/migrations/meta/0003_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0003_snapshot.json
diff --git a/cloud/core/migrations/meta/0004_snapshot.json b/packages/cloud/core/migrations/meta/0004_snapshot.json
index 6d2695c48..6d2695c48 100644
--- a/cloud/core/migrations/meta/0004_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0004_snapshot.json
diff --git a/cloud/core/migrations/meta/0005_snapshot.json b/packages/cloud/core/migrations/meta/0005_snapshot.json
index 12246a6d6..12246a6d6 100644
--- a/cloud/core/migrations/meta/0005_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0005_snapshot.json
diff --git a/cloud/core/migrations/meta/0006_snapshot.json b/packages/cloud/core/migrations/meta/0006_snapshot.json
index d726b6f67..d726b6f67 100644
--- a/cloud/core/migrations/meta/0006_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0006_snapshot.json
diff --git a/cloud/core/migrations/meta/0007_snapshot.json b/packages/cloud/core/migrations/meta/0007_snapshot.json
index 122db42cb..122db42cb 100644
--- a/cloud/core/migrations/meta/0007_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0007_snapshot.json
diff --git a/cloud/core/migrations/meta/0008_snapshot.json b/packages/cloud/core/migrations/meta/0008_snapshot.json
index 02c473200..02c473200 100644
--- a/cloud/core/migrations/meta/0008_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0008_snapshot.json
diff --git a/cloud/core/migrations/meta/0009_snapshot.json b/packages/cloud/core/migrations/meta/0009_snapshot.json
index a3bd57cae..a3bd57cae 100644
--- a/cloud/core/migrations/meta/0009_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0009_snapshot.json
diff --git a/cloud/core/migrations/meta/0010_snapshot.json b/packages/cloud/core/migrations/meta/0010_snapshot.json
index cb55610ae..cb55610ae 100644
--- a/cloud/core/migrations/meta/0010_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0010_snapshot.json
diff --git a/cloud/core/migrations/meta/0011_snapshot.json b/packages/cloud/core/migrations/meta/0011_snapshot.json
index 7eb6fa71a..7eb6fa71a 100644
--- a/cloud/core/migrations/meta/0011_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0011_snapshot.json
diff --git a/cloud/core/migrations/meta/0012_snapshot.json b/packages/cloud/core/migrations/meta/0012_snapshot.json
index 4220c988b..4220c988b 100644
--- a/cloud/core/migrations/meta/0012_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0012_snapshot.json
diff --git a/cloud/core/migrations/meta/0013_snapshot.json b/packages/cloud/core/migrations/meta/0013_snapshot.json
index ef805ee83..ef805ee83 100644
--- a/cloud/core/migrations/meta/0013_snapshot.json
+++ b/packages/cloud/core/migrations/meta/0013_snapshot.json
diff --git a/cloud/core/migrations/meta/_journal.json b/packages/cloud/core/migrations/meta/_journal.json
index 1b7d45da3..1b7d45da3 100644
--- a/cloud/core/migrations/meta/_journal.json
+++ b/packages/cloud/core/migrations/meta/_journal.json
diff --git a/cloud/core/package.json b/packages/cloud/core/package.json
index e9e7fc701..e9e7fc701 100644
--- a/cloud/core/package.json
+++ b/packages/cloud/core/package.json
diff --git a/cloud/core/src/account.ts b/packages/cloud/core/src/account.ts
index cb123e048..cb123e048 100644
--- a/cloud/core/src/account.ts
+++ b/packages/cloud/core/src/account.ts
diff --git a/cloud/core/src/actor.ts b/packages/cloud/core/src/actor.ts
index 0d13f7216..0d13f7216 100644
--- a/cloud/core/src/actor.ts
+++ b/packages/cloud/core/src/actor.ts
diff --git a/cloud/core/src/billing.ts b/packages/cloud/core/src/billing.ts
index 2254adc79..2254adc79 100644
--- a/cloud/core/src/billing.ts
+++ b/packages/cloud/core/src/billing.ts
diff --git a/cloud/core/src/context.ts b/packages/cloud/core/src/context.ts
index c2ca6a313..c2ca6a313 100644
--- a/cloud/core/src/context.ts
+++ b/packages/cloud/core/src/context.ts
diff --git a/cloud/core/src/drizzle/index.ts b/packages/cloud/core/src/drizzle/index.ts
index 806037996..806037996 100644
--- a/cloud/core/src/drizzle/index.ts
+++ b/packages/cloud/core/src/drizzle/index.ts
diff --git a/cloud/core/src/drizzle/types.ts b/packages/cloud/core/src/drizzle/types.ts
index f16ad5a8a..f16ad5a8a 100644
--- a/cloud/core/src/drizzle/types.ts
+++ b/packages/cloud/core/src/drizzle/types.ts
diff --git a/cloud/core/src/identifier.ts b/packages/cloud/core/src/identifier.ts
index f8e73852e..f8e73852e 100644
--- a/cloud/core/src/identifier.ts
+++ b/packages/cloud/core/src/identifier.ts
diff --git a/cloud/core/src/key.ts b/packages/cloud/core/src/key.ts
index 28643a521..28643a521 100644
--- a/cloud/core/src/key.ts
+++ b/packages/cloud/core/src/key.ts
diff --git a/cloud/core/src/schema/account.sql.ts b/packages/cloud/core/src/schema/account.sql.ts
index 4d9937114..4d9937114 100644
--- a/cloud/core/src/schema/account.sql.ts
+++ b/packages/cloud/core/src/schema/account.sql.ts
diff --git a/cloud/core/src/schema/billing.sql.ts b/packages/cloud/core/src/schema/billing.sql.ts
index 5bec4e900..5bec4e900 100644
--- a/cloud/core/src/schema/billing.sql.ts
+++ b/packages/cloud/core/src/schema/billing.sql.ts
diff --git a/cloud/core/src/schema/key.sql.ts b/packages/cloud/core/src/schema/key.sql.ts
index 98b99c788..98b99c788 100644
--- a/cloud/core/src/schema/key.sql.ts
+++ b/packages/cloud/core/src/schema/key.sql.ts
diff --git a/cloud/core/src/schema/user.sql.ts b/packages/cloud/core/src/schema/user.sql.ts
index 00c372d1a..00c372d1a 100644
--- a/cloud/core/src/schema/user.sql.ts
+++ b/packages/cloud/core/src/schema/user.sql.ts
diff --git a/cloud/core/src/schema/workspace.sql.ts b/packages/cloud/core/src/schema/workspace.sql.ts
index 979255428..979255428 100644
--- a/cloud/core/src/schema/workspace.sql.ts
+++ b/packages/cloud/core/src/schema/workspace.sql.ts
diff --git a/cloud/core/src/user.ts b/packages/cloud/core/src/user.ts
index 7914926ff..7914926ff 100644
--- a/cloud/core/src/user.ts
+++ b/packages/cloud/core/src/user.ts
diff --git a/cloud/core/src/util/env.cloudflare.ts b/packages/cloud/core/src/util/env.cloudflare.ts
index e69de29bb..e69de29bb 100644
--- a/cloud/core/src/util/env.cloudflare.ts
+++ b/packages/cloud/core/src/util/env.cloudflare.ts
diff --git a/cloud/core/src/util/fn.ts b/packages/cloud/core/src/util/fn.ts
index 9efe4622f..9efe4622f 100644
--- a/cloud/core/src/util/fn.ts
+++ b/packages/cloud/core/src/util/fn.ts
diff --git a/cloud/core/src/util/log.ts b/packages/cloud/core/src/util/log.ts
index 4f2d25c13..4f2d25c13 100644
--- a/cloud/core/src/util/log.ts
+++ b/packages/cloud/core/src/util/log.ts
diff --git a/cloud/core/src/util/memo.ts b/packages/cloud/core/src/util/memo.ts
index 49043010f..49043010f 100644
--- a/cloud/core/src/util/memo.ts
+++ b/packages/cloud/core/src/util/memo.ts
diff --git a/cloud/core/src/util/price.ts b/packages/cloud/core/src/util/price.ts
index abdbca032..abdbca032 100644
--- a/cloud/core/src/util/price.ts
+++ b/packages/cloud/core/src/util/price.ts
diff --git a/cloud/core/src/workspace.ts b/packages/cloud/core/src/workspace.ts
index a9fb923d6..a9fb923d6 100644
--- a/cloud/core/src/workspace.ts
+++ b/packages/cloud/core/src/workspace.ts
diff --git a/cloud/core/sst-env.d.ts b/packages/cloud/core/sst-env.d.ts
index 0397645b5..9b9de7327 100644
--- a/cloud/core/sst-env.d.ts
+++ b/packages/cloud/core/sst-env.d.ts
@@ -3,7 +3,7 @@
/* eslint-disable */
/* deno-fmt-ignore-file */
-/// <reference path="../../sst-env.d.ts" />
+/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/cloud/core/tsconfig.json b/packages/cloud/core/tsconfig.json
index 0faf16aab..0faf16aab 100644
--- a/cloud/core/tsconfig.json
+++ b/packages/cloud/core/tsconfig.json
diff --git a/cloud/function/package.json b/packages/cloud/function/package.json
index 856db3696..856db3696 100644
--- a/cloud/function/package.json
+++ b/packages/cloud/function/package.json
diff --git a/cloud/function/src/auth.ts b/packages/cloud/function/src/auth.ts
index 776855e46..776855e46 100644
--- a/cloud/function/src/auth.ts
+++ b/packages/cloud/function/src/auth.ts
diff --git a/cloud/function/src/log-processor.ts b/packages/cloud/function/src/log-processor.ts
index 70fcf5a44..70fcf5a44 100644
--- a/cloud/function/src/log-processor.ts
+++ b/packages/cloud/function/src/log-processor.ts
diff --git a/packages/cloud/function/sst-env.d.ts b/packages/cloud/function/sst-env.d.ts
new file mode 100644
index 000000000..09c60c7c2
--- /dev/null
+++ b/packages/cloud/function/sst-env.d.ts
@@ -0,0 +1,96 @@
+/* This file is auto-generated by SST. Do not edit. */
+/* tslint:disable */
+/* eslint-disable */
+/* deno-fmt-ignore-file */
+
+import "sst"
+declare module "sst" {
+ export interface Resource {
+ "ANTHROPIC_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "AUTH_API_URL": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "BASETEN_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "Console": {
+ "type": "sst.cloudflare.SolidStart"
+ "url": string
+ }
+ "Database": {
+ "database": string
+ "host": string
+ "password": string
+ "port": number
+ "type": "sst.sst.Linkable"
+ "username": string
+ }
+ "FIREWORKS_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_PRIVATE_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_ID_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_SECRET_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GOOGLE_CLIENT_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "HONEYCOMB_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "OPENAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_SECRET_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_WEBHOOK_SECRET": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "Web": {
+ "type": "sst.cloudflare.Astro"
+ "url": string
+ }
+ "XAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ }
+}
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types";
+declare module "sst" {
+ export interface Resource {
+ "Api": cloudflare.Service
+ "AuthApi": cloudflare.Service
+ "AuthStorage": cloudflare.KVNamespace
+ "Bucket": cloudflare.R2Bucket
+ "LogProcessor": cloudflare.Service
+ }
+}
+
+import "sst"
+export {} \ No newline at end of file
diff --git a/cloud/function/tsconfig.json b/packages/cloud/function/tsconfig.json
index 0faf16aab..0faf16aab 100644
--- a/cloud/function/tsconfig.json
+++ b/packages/cloud/function/tsconfig.json
diff --git a/cloud/resource/bun.lock b/packages/cloud/resource/bun.lock
index 56bdf44ca..56bdf44ca 100644
--- a/cloud/resource/bun.lock
+++ b/packages/cloud/resource/bun.lock
diff --git a/cloud/resource/package.json b/packages/cloud/resource/package.json
index fd9fa6f34..fd9fa6f34 100644
--- a/cloud/resource/package.json
+++ b/packages/cloud/resource/package.json
diff --git a/cloud/resource/resource.cloudflare.ts b/packages/cloud/resource/resource.cloudflare.ts
index a56b1e417..a56b1e417 100644
--- a/cloud/resource/resource.cloudflare.ts
+++ b/packages/cloud/resource/resource.cloudflare.ts
diff --git a/cloud/resource/resource.node.ts b/packages/cloud/resource/resource.node.ts
index d7dbb6c6d..d7dbb6c6d 100644
--- a/cloud/resource/resource.node.ts
+++ b/packages/cloud/resource/resource.node.ts
diff --git a/packages/cloud/resource/sst-env.d.ts b/packages/cloud/resource/sst-env.d.ts
new file mode 100644
index 000000000..09c60c7c2
--- /dev/null
+++ b/packages/cloud/resource/sst-env.d.ts
@@ -0,0 +1,96 @@
+/* This file is auto-generated by SST. Do not edit. */
+/* tslint:disable */
+/* eslint-disable */
+/* deno-fmt-ignore-file */
+
+import "sst"
+declare module "sst" {
+ export interface Resource {
+ "ANTHROPIC_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "AUTH_API_URL": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "BASETEN_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "Console": {
+ "type": "sst.cloudflare.SolidStart"
+ "url": string
+ }
+ "Database": {
+ "database": string
+ "host": string
+ "password": string
+ "port": number
+ "type": "sst.sst.Linkable"
+ "username": string
+ }
+ "FIREWORKS_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_PRIVATE_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_ID_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_SECRET_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GOOGLE_CLIENT_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "HONEYCOMB_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "OPENAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_SECRET_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_WEBHOOK_SECRET": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "Web": {
+ "type": "sst.cloudflare.Astro"
+ "url": string
+ }
+ "XAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ }
+}
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types";
+declare module "sst" {
+ export interface Resource {
+ "Api": cloudflare.Service
+ "AuthApi": cloudflare.Service
+ "AuthStorage": cloudflare.KVNamespace
+ "Bucket": cloudflare.R2Bucket
+ "LogProcessor": cloudflare.Service
+ }
+}
+
+import "sst"
+export {} \ No newline at end of file
diff --git a/cloud/resource/tsconfig.json b/packages/cloud/resource/tsconfig.json
index 0faf16aab..0faf16aab 100644
--- a/cloud/resource/tsconfig.json
+++ b/packages/cloud/resource/tsconfig.json
diff --git a/cloud/scripts/.gitignore b/packages/cloud/scripts/.gitignore
index 18c5ea0f8..18c5ea0f8 100644
--- a/cloud/scripts/.gitignore
+++ b/packages/cloud/scripts/.gitignore
diff --git a/cloud/scripts/package.json b/packages/cloud/scripts/package.json
index bddc1b967..bddc1b967 100644
--- a/cloud/scripts/package.json
+++ b/packages/cloud/scripts/package.json
diff --git a/cloud/scripts/src/backfill-usage-provider.ts b/packages/cloud/scripts/src/backfill-usage-provider.ts
index 553dcb478..553dcb478 100644
--- a/cloud/scripts/src/backfill-usage-provider.ts
+++ b/packages/cloud/scripts/src/backfill-usage-provider.ts
diff --git a/cloud/scripts/sst-env.d.ts b/packages/cloud/scripts/sst-env.d.ts
index 0397645b5..9b9de7327 100644
--- a/cloud/scripts/sst-env.d.ts
+++ b/packages/cloud/scripts/sst-env.d.ts
@@ -3,7 +3,7 @@
/* eslint-disable */
/* deno-fmt-ignore-file */
-/// <reference path="../../sst-env.d.ts" />
+/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/cloud/scripts/tsconfig.json b/packages/cloud/scripts/tsconfig.json
index 0faf16aab..0faf16aab 100644
--- a/cloud/scripts/tsconfig.json
+++ b/packages/cloud/scripts/tsconfig.json
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index afa8c6fe7..09c60c7c2 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -6,91 +6,91 @@
import "sst"
declare module "sst" {
export interface Resource {
- ANTHROPIC_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- AUTH_API_URL: {
- type: "sst.sst.Linkable"
- value: string
- }
- BASETEN_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- Console: {
- type: "sst.cloudflare.SolidStart"
- url: string
- }
- Database: {
- database: string
- host: string
- password: string
- port: number
- type: "sst.sst.Linkable"
- username: string
- }
- FIREWORKS_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_APP_PRIVATE_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_ID_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GITHUB_CLIENT_SECRET_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
- }
- GOOGLE_CLIENT_ID: {
- type: "sst.sst.Secret"
- value: string
- }
- HONEYCOMB_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- OPENAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_SECRET_KEY: {
- type: "sst.sst.Secret"
- value: string
- }
- STRIPE_WEBHOOK_SECRET: {
- type: "sst.sst.Linkable"
- value: string
- }
- Web: {
- type: "sst.cloudflare.Astro"
- url: string
- }
- XAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "ANTHROPIC_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "AUTH_API_URL": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "BASETEN_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "Console": {
+ "type": "sst.cloudflare.SolidStart"
+ "url": string
+ }
+ "Database": {
+ "database": string
+ "host": string
+ "password": string
+ "port": number
+ "type": "sst.sst.Linkable"
+ "username": string
+ }
+ "FIREWORKS_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_APP_PRIVATE_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_ID_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GITHUB_CLIENT_SECRET_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "GOOGLE_CLIENT_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "HONEYCOMB_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "OPENAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_SECRET_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "STRIPE_WEBHOOK_SECRET": {
+ "type": "sst.sst.Linkable"
+ "value": string
+ }
+ "Web": {
+ "type": "sst.cloudflare.Astro"
+ "url": string
+ }
+ "XAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
}
}
-// cloudflare
-import * as cloudflare from "@cloudflare/workers-types"
+// cloudflare
+import * as cloudflare from "@cloudflare/workers-types";
declare module "sst" {
export interface Resource {
- Api: cloudflare.Service
- AuthApi: cloudflare.Service
- AuthStorage: cloudflare.KVNamespace
- Bucket: cloudflare.R2Bucket
- LogProcessor: cloudflare.Service
+ "Api": cloudflare.Service
+ "AuthApi": cloudflare.Service
+ "AuthStorage": cloudflare.KVNamespace
+ "Bucket": cloudflare.R2Bucket
+ "LogProcessor": cloudflare.Service
}
}
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/packages/opencode/sst-env.d.ts b/packages/opencode/sst-env.d.ts
index 0397645b5..b6a7e9066 100644
--- a/packages/opencode/sst-env.d.ts
+++ b/packages/opencode/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/packages/plugin/sst-env.d.ts b/packages/plugin/sst-env.d.ts
index 0397645b5..b6a7e9066 100644
--- a/packages/plugin/sst-env.d.ts
+++ b/packages/plugin/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/packages/sdk/js/sst-env.d.ts b/packages/sdk/js/sst-env.d.ts
index bd5588217..9b9de7327 100644
--- a/packages/sdk/js/sst-env.d.ts
+++ b/packages/sdk/js/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/packages/web/sst-env.d.ts b/packages/web/sst-env.d.ts
index 0397645b5..b6a7e9066 100644
--- a/packages/web/sst-env.d.ts
+++ b/packages/web/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/sdks/vscode/sst-env.d.ts b/sdks/vscode/sst-env.d.ts
index 0397645b5..b6a7e9066 100644
--- a/sdks/vscode/sst-env.d.ts
+++ b/sdks/vscode/sst-env.d.ts
@@ -6,4 +6,4 @@
/// <reference path="../../sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file
diff --git a/sst-env.d.ts b/sst-env.d.ts
index 22caba969..e45b4e5ea 100644
--- a/sst-env.d.ts
+++ b/sst-env.d.ts
@@ -5,99 +5,99 @@
declare module "sst" {
export interface Resource {
- ANTHROPIC_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "ANTHROPIC_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- AUTH_API_URL: {
- type: "sst.sst.Linkable"
- value: string
+ "AUTH_API_URL": {
+ "type": "sst.sst.Linkable"
+ "value": string
}
- Api: {
- type: "sst.cloudflare.Worker"
- url: string
+ "Api": {
+ "type": "sst.cloudflare.Worker"
+ "url": string
}
- AuthApi: {
- type: "sst.cloudflare.Worker"
- url: string
+ "AuthApi": {
+ "type": "sst.cloudflare.Worker"
+ "url": string
}
- AuthStorage: {
- type: "sst.cloudflare.Kv"
+ "AuthStorage": {
+ "type": "sst.cloudflare.Kv"
}
- BASETEN_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "BASETEN_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- Bucket: {
- name: string
- type: "sst.cloudflare.Bucket"
+ "Bucket": {
+ "name": string
+ "type": "sst.cloudflare.Bucket"
}
- Console: {
- type: "sst.cloudflare.SolidStart"
- url: string
+ "Console": {
+ "type": "sst.cloudflare.SolidStart"
+ "url": string
}
- Database: {
- database: string
- host: string
- password: string
- port: number
- type: "sst.sst.Linkable"
- username: string
+ "Database": {
+ "database": string
+ "host": string
+ "password": string
+ "port": number
+ "type": "sst.sst.Linkable"
+ "username": string
}
- FIREWORKS_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "FIREWORKS_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- GITHUB_APP_ID: {
- type: "sst.sst.Secret"
- value: string
+ "GITHUB_APP_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- GITHUB_APP_PRIVATE_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "GITHUB_APP_PRIVATE_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- GITHUB_CLIENT_ID_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
+ "GITHUB_CLIENT_ID_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- GITHUB_CLIENT_SECRET_CONSOLE: {
- type: "sst.sst.Secret"
- value: string
+ "GITHUB_CLIENT_SECRET_CONSOLE": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- GOOGLE_CLIENT_ID: {
- type: "sst.sst.Secret"
- value: string
+ "GOOGLE_CLIENT_ID": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- HONEYCOMB_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "HONEYCOMB_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- LogProcessor: {
- type: "sst.cloudflare.Worker"
+ "LogProcessor": {
+ "type": "sst.cloudflare.Worker"
}
- OPENAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "OPENAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- STRIPE_SECRET_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "STRIPE_SECRET_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- STRIPE_WEBHOOK_SECRET: {
- type: "sst.sst.Linkable"
- value: string
+ "STRIPE_WEBHOOK_SECRET": {
+ "type": "sst.sst.Linkable"
+ "value": string
}
- Web: {
- type: "sst.cloudflare.Astro"
- url: string
+ "Web": {
+ "type": "sst.cloudflare.Astro"
+ "url": string
}
- XAI_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "XAI_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
}
}
/// <reference path="sst-env.d.ts" />
import "sst"
-export {}
+export {} \ No newline at end of file