diff options
| author | Frank <[email protected]> | 2025-09-18 10:59:01 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-09-18 10:59:01 -0400 |
| commit | 4ceabdffa07b1af8d99eb73622a4d549d99ec6d2 (patch) | |
| tree | 72e2ae62084a9e24cc76caffbd1f30dafc69ea56 | |
| parent | c87480cf931a6f8f8b55552558ef521f1918b578 (diff) | |
| download | opencode-4ceabdffa07b1af8d99eb73622a4d549d99ec6d2.tar.gz opencode-4ceabdffa07b1af8d99eb73622a4d549d99ec6d2.zip | |
wip: zen
| -rw-r--r-- | bun.lock | 72 | ||||
| -rw-r--r-- | github/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | infra/console.ts (renamed from infra/cloud.ts) | 8 | ||||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | packages/app/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | packages/cloud/function/sst-env.d.ts | 96 | ||||
| -rw-r--r-- | packages/cloud/resource/sst-env.d.ts | 96 | ||||
| -rw-r--r-- | packages/console/app/.gitignore (renamed from packages/cloud/app/.gitignore) | 0 | ||||
| -rw-r--r-- | packages/console/app/.opencode/agent/css.md (renamed from packages/cloud/app/.opencode/agent/css.md) | 0 | ||||
| -rw-r--r-- | packages/console/app/README.md (renamed from packages/cloud/app/README.md) | 0 | ||||
| -rw-r--r-- | packages/console/app/app.config.ts (renamed from packages/cloud/app/app.config.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/package.json (renamed from packages/cloud/app/package.json) | 4 | ||||
| -rw-r--r-- | packages/console/app/public/favicon.svg (renamed from packages/cloud/app/public/favicon.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/public/robots.txt (renamed from packages/cloud/app/public/robots.txt) | 0 | ||||
| -rw-r--r-- | packages/console/app/public/social-share.png (renamed from packages/cloud/app/public/social-share.png) | bin | 17520 -> 17520 bytes | |||
| -rw-r--r-- | packages/console/app/public/theme.json (renamed from packages/cloud/app/public/theme.json) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/app.css (renamed from packages/cloud/app/src/app.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/app.tsx (renamed from packages/cloud/app/src/app.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/asset/lander/check.svg (renamed from packages/cloud/app/src/asset/lander/check.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/asset/lander/copy.svg (renamed from packages/cloud/app/src/asset/lander/copy.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/asset/lander/screenshot-github.png (renamed from packages/cloud/app/src/asset/lander/screenshot-github.png) | bin | 924094 -> 924094 bytes | |||
| -rw-r--r-- | packages/console/app/src/asset/lander/screenshot-splash.png (renamed from packages/cloud/app/src/asset/lander/screenshot-splash.png) | bin | 467281 -> 467281 bytes | |||
| -rw-r--r-- | packages/console/app/src/asset/lander/screenshot-vscode.png (renamed from packages/cloud/app/src/asset/lander/screenshot-vscode.png) | bin | 1022418 -> 1022418 bytes | |||
| -rw-r--r-- | packages/console/app/src/asset/lander/screenshot.png (renamed from packages/cloud/app/src/asset/lander/screenshot.png) | bin | 606051 -> 606051 bytes | |||
| -rw-r--r-- | packages/console/app/src/asset/logo-ornate-dark.svg (renamed from packages/cloud/app/src/asset/logo-ornate-dark.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/asset/logo-ornate-light.svg (renamed from packages/cloud/app/src/asset/logo-ornate-light.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/asset/logo.svg (renamed from packages/cloud/app/src/asset/logo.svg) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/icon.tsx (renamed from packages/cloud/app/src/component/icon.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/billing-section.module.css (renamed from packages/cloud/app/src/component/workspace/billing-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/billing-section.tsx (renamed from packages/cloud/app/src/component/workspace/billing-section.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/common.tsx (renamed from packages/cloud/app/src/component/workspace/common.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/key-section.module.css (renamed from packages/cloud/app/src/component/workspace/key-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/key-section.tsx (renamed from packages/cloud/app/src/component/workspace/key-section.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/monthly-limit-section.module.css (renamed from packages/cloud/app/src/component/workspace/monthly-limit-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/monthly-limit-section.tsx (renamed from packages/cloud/app/src/component/workspace/monthly-limit-section.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/new-user-section.module.css (renamed from packages/cloud/app/src/component/workspace/new-user-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/new-user-section.tsx (renamed from packages/cloud/app/src/component/workspace/new-user-section.tsx) | 4 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/payment-section.module.css (renamed from packages/cloud/app/src/component/workspace/payment-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/payment-section.tsx (renamed from packages/cloud/app/src/component/workspace/payment-section.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/usage-section.module.css (renamed from packages/cloud/app/src/component/workspace/usage-section.module.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/component/workspace/usage-section.tsx (renamed from packages/cloud/app/src/component/workspace/usage-section.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/context/auth.session.ts (renamed from packages/cloud/app/src/context/auth.session.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/context/auth.ts (renamed from packages/cloud/app/src/context/auth.ts) | 10 | ||||
| -rw-r--r-- | packages/console/app/src/context/auth.withActor.ts (renamed from packages/cloud/app/src/context/auth.withActor.ts) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/entry-client.tsx (renamed from packages/cloud/app/src/entry-client.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/entry-server.tsx (renamed from packages/cloud/app/src/entry-server.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/global.d.ts (renamed from packages/cloud/app/src/global.d.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/middleware.ts (renamed from packages/cloud/app/src/middleware.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/[...404].css (renamed from packages/cloud/app/src/routes/[...404].css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/[...404].tsx (renamed from packages/cloud/app/src/routes/[...404].tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/auth/authorize.ts (renamed from packages/cloud/app/src/routes/auth/authorize.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/auth/callback.ts (renamed from packages/cloud/app/src/routes/auth/callback.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/auth/index.ts (renamed from packages/cloud/app/src/routes/auth/index.ts) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/routes/debug/index.ts (renamed from packages/cloud/app/src/routes/debug/index.ts) | 4 | ||||
| -rw-r--r-- | packages/console/app/src/routes/discord.ts (renamed from packages/cloud/app/src/routes/discord.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/docs/[...path].ts (renamed from packages/cloud/app/src/routes/docs/[...path].ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/docs/index.ts (renamed from packages/cloud/app/src/routes/docs/index.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/index.css (renamed from packages/cloud/app/src/routes/index.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/index.tsx (renamed from packages/cloud/app/src/routes/index.tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/routes/s/[id].ts (renamed from packages/cloud/app/src/routes/s/[id].ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/stripe/webhook.ts (renamed from packages/cloud/app/src/routes/stripe/webhook.ts) | 14 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace.css (renamed from packages/cloud/app/src/routes/workspace.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace.tsx (renamed from packages/cloud/app/src/routes/workspace.tsx) | 4 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id].css (renamed from packages/cloud/app/src/routes/workspace/[id].css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id].tsx (renamed from packages/cloud/app/src/routes/workspace/[id].tsx) | 2 | ||||
| -rw-r--r-- | packages/console/app/src/routes/workspace/index.tsx (renamed from packages/cloud/app/src/routes/workspace/index.tsx) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/zen/handler.ts (renamed from packages/cloud/app/src/routes/zen/handler.ts) | 14 | ||||
| -rw-r--r-- | packages/console/app/src/routes/zen/v1/chat/completions.ts (renamed from packages/cloud/app/src/routes/zen/v1/chat/completions.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/zen/v1/messages.ts (renamed from packages/cloud/app/src/routes/zen/v1/messages.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/routes/zen/v1/responses.ts (renamed from packages/cloud/app/src/routes/zen/v1/responses.ts) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/base.css (renamed from packages/cloud/app/src/style/base.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/component/button.css (renamed from packages/cloud/app/src/style/component/button.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/index.css (renamed from packages/cloud/app/src/style/index.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/reset.css (renamed from packages/cloud/app/src/style/reset.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/token/color.css (renamed from packages/cloud/app/src/style/token/color.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/token/font.css (renamed from packages/cloud/app/src/style/token/font.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/src/style/token/space.css (renamed from packages/cloud/app/src/style/token/space.css) | 0 | ||||
| -rw-r--r-- | packages/console/app/sst-env.d.ts (renamed from packages/cloud/app/sst-env.d.ts) | 2 | ||||
| -rw-r--r-- | packages/console/app/tsconfig.json (renamed from packages/cloud/app/tsconfig.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/drizzle.config.ts (renamed from packages/cloud/core/drizzle.config.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0000_fluffy_raza.sql (renamed from packages/cloud/core/migrations/0000_fluffy_raza.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0001_serious_whistler.sql (renamed from packages/cloud/core/migrations/0001_serious_whistler.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0002_violet_loners.sql (renamed from packages/cloud/core/migrations/0002_violet_loners.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0003_dusty_clint_barton.sql (renamed from packages/cloud/core/migrations/0003_dusty_clint_barton.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0004_first_mockingbird.sql (renamed from packages/cloud/core/migrations/0004_first_mockingbird.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0005_jazzy_skrulls.sql (renamed from packages/cloud/core/migrations/0005_jazzy_skrulls.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0006_parallel_gauntlet.sql (renamed from packages/cloud/core/migrations/0006_parallel_gauntlet.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0007_familiar_nightshade.sql (renamed from packages/cloud/core/migrations/0007_familiar_nightshade.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0008_eminent_ultimatum.sql (renamed from packages/cloud/core/migrations/0008_eminent_ultimatum.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0009_redundant_piledriver.sql (renamed from packages/cloud/core/migrations/0009_redundant_piledriver.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0010_needy_sue_storm.sql (renamed from packages/cloud/core/migrations/0010_needy_sue_storm.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0011_freezing_phil_sheldon.sql (renamed from packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0012_bright_photon.sql (renamed from packages/cloud/core/migrations/0012_bright_photon.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/0013_absurd_hobgoblin.sql (renamed from packages/cloud/core/migrations/0013_absurd_hobgoblin.sql) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0000_snapshot.json (renamed from packages/cloud/core/migrations/meta/0000_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0001_snapshot.json (renamed from packages/cloud/core/migrations/meta/0001_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0002_snapshot.json (renamed from packages/cloud/core/migrations/meta/0002_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0003_snapshot.json (renamed from packages/cloud/core/migrations/meta/0003_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0004_snapshot.json (renamed from packages/cloud/core/migrations/meta/0004_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0005_snapshot.json (renamed from packages/cloud/core/migrations/meta/0005_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0006_snapshot.json (renamed from packages/cloud/core/migrations/meta/0006_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0007_snapshot.json (renamed from packages/cloud/core/migrations/meta/0007_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0008_snapshot.json (renamed from packages/cloud/core/migrations/meta/0008_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0009_snapshot.json (renamed from packages/cloud/core/migrations/meta/0009_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0010_snapshot.json (renamed from packages/cloud/core/migrations/meta/0010_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0011_snapshot.json (renamed from packages/cloud/core/migrations/meta/0011_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0012_snapshot.json (renamed from packages/cloud/core/migrations/meta/0012_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/0013_snapshot.json (renamed from packages/cloud/core/migrations/meta/0013_snapshot.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/migrations/meta/_journal.json (renamed from packages/cloud/core/migrations/meta/_journal.json) | 0 | ||||
| -rw-r--r-- | packages/console/core/package.json (renamed from packages/cloud/core/package.json) | 4 | ||||
| -rw-r--r-- | packages/console/core/src/account.ts (renamed from packages/cloud/core/src/account.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/actor.ts (renamed from packages/cloud/core/src/actor.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/billing.ts (renamed from packages/cloud/core/src/billing.ts) | 2 | ||||
| -rw-r--r-- | packages/console/core/src/context.ts (renamed from packages/cloud/core/src/context.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/drizzle/index.ts (renamed from packages/cloud/core/src/drizzle/index.ts) | 2 | ||||
| -rw-r--r-- | packages/console/core/src/drizzle/types.ts (renamed from packages/cloud/core/src/drizzle/types.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/identifier.ts (renamed from packages/cloud/core/src/identifier.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/key.ts (renamed from packages/cloud/core/src/key.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/schema/account.sql.ts (renamed from packages/cloud/core/src/schema/account.sql.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/schema/billing.sql.ts (renamed from packages/cloud/core/src/schema/billing.sql.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/schema/key.sql.ts (renamed from packages/cloud/core/src/schema/key.sql.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/schema/user.sql.ts (renamed from packages/cloud/core/src/schema/user.sql.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/schema/workspace.sql.ts (renamed from packages/cloud/core/src/schema/workspace.sql.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/user.ts (renamed from packages/cloud/core/src/user.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/util/env.cloudflare.ts (renamed from packages/cloud/core/src/util/env.cloudflare.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/util/fn.ts (renamed from packages/cloud/core/src/util/fn.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/util/log.ts (renamed from packages/cloud/core/src/util/log.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/util/memo.ts (renamed from packages/cloud/core/src/util/memo.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/util/price.ts (renamed from packages/cloud/core/src/util/price.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/src/workspace.ts (renamed from packages/cloud/core/src/workspace.ts) | 0 | ||||
| -rw-r--r-- | packages/console/core/sst-env.d.ts (renamed from packages/cloud/core/sst-env.d.ts) | 2 | ||||
| -rw-r--r-- | packages/console/core/tsconfig.json (renamed from packages/cloud/core/tsconfig.json) | 0 | ||||
| -rw-r--r-- | packages/console/function/package.json (renamed from packages/cloud/function/package.json) | 2 | ||||
| -rw-r--r-- | packages/console/function/src/auth.ts (renamed from packages/cloud/function/src/auth.ts) | 10 | ||||
| -rw-r--r-- | packages/console/function/src/log-processor.ts (renamed from packages/cloud/function/src/log-processor.ts) | 2 | ||||
| -rw-r--r-- | packages/console/function/sst-env.d.ts | 96 | ||||
| -rw-r--r-- | packages/console/function/tsconfig.json (renamed from packages/cloud/function/tsconfig.json) | 0 | ||||
| -rw-r--r-- | packages/console/resource/bun.lock (renamed from packages/cloud/resource/bun.lock) | 0 | ||||
| -rw-r--r-- | packages/console/resource/package.json (renamed from packages/cloud/resource/package.json) | 2 | ||||
| -rw-r--r-- | packages/console/resource/resource.cloudflare.ts (renamed from packages/cloud/resource/resource.cloudflare.ts) | 0 | ||||
| -rw-r--r-- | packages/console/resource/resource.node.ts (renamed from packages/cloud/resource/resource.node.ts) | 0 | ||||
| -rw-r--r-- | packages/console/resource/sst-env.d.ts | 96 | ||||
| -rw-r--r-- | packages/console/resource/tsconfig.json (renamed from packages/cloud/resource/tsconfig.json) | 0 | ||||
| -rw-r--r-- | packages/console/scripts/.gitignore (renamed from packages/cloud/scripts/.gitignore) | 0 | ||||
| -rw-r--r-- | packages/console/scripts/package.json (renamed from packages/cloud/scripts/package.json) | 4 | ||||
| -rw-r--r-- | packages/console/scripts/src/backfill-usage-provider.ts (renamed from packages/cloud/scripts/src/backfill-usage-provider.ts) | 4 | ||||
| -rw-r--r-- | packages/console/scripts/sst-env.d.ts (renamed from packages/cloud/scripts/sst-env.d.ts) | 2 | ||||
| -rw-r--r-- | packages/console/scripts/tsconfig.json (renamed from packages/cloud/scripts/tsconfig.json) | 0 | ||||
| -rw-r--r-- | packages/function/sst-env.d.ts | 158 | ||||
| -rw-r--r-- | packages/opencode/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | packages/plugin/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | packages/sdk/js/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | packages/web/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | sdks/vscode/sst-env.d.ts | 2 | ||||
| -rw-r--r-- | sst-env.d.ts | 138 | ||||
| -rw-r--r-- | sst.config.ts | 2 |
156 files changed, 443 insertions, 445 deletions
@@ -44,12 +44,12 @@ "vite-plugin-solid": "^2.11.6", }, }, - "packages/cloud/app": { - "name": "@opencode/cloud-app", + "packages/console/app": { + "name": "@opencode/console-app", "dependencies": { "@ibm/plex": "6.4.1", "@openauthjs/openauth": "0.0.0-20250322224806", - "@opencode/cloud-core": "workspace:*", + "@opencode/console-core": "workspace:*", "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.15.0", "@solidjs/start": "^1.1.0", @@ -57,12 +57,12 @@ "vinxi": "^0.5.7", }, }, - "packages/cloud/core": { - "name": "@opencode/cloud-core", + "packages/console/core": { + "name": "@opencode/console-core", "version": "0.9.11", "dependencies": { "@aws-sdk/client-sts": "3.782.0", - "@opencode/cloud-resource": "workspace:*", + "@opencode/console-resource": "workspace:*", "@planetscale/database": "1.19.0", "drizzle-orm": "0.41.0", "postgres": "3.4.7", @@ -74,8 +74,8 @@ "mysql2": "3.14.4", }, }, - "packages/cloud/function": { - "name": "@opencode/cloud-function", + "packages/console/function": { + "name": "@opencode/console-function", "version": "0.9.11", "dependencies": { "@ai-sdk/anthropic": "2.0.0", @@ -94,17 +94,17 @@ "typescript": "catalog:", }, }, - "packages/cloud/resource": { - "name": "@opencode/cloud-resource", + "packages/console/resource": { + "name": "@opencode/console-resource", "dependencies": { "@cloudflare/workers-types": "^4.20250830.0", }, }, - "packages/cloud/scripts": { - "name": "@opencode/cloud-scripts", + "packages/console/scripts": { + "name": "@opencode/console-scripts", "version": "0.9.11", "dependencies": { - "@opencode/cloud-core": "workspace:*", + "@opencode/console-core": "workspace:*", "tsx": "4.20.5", }, "devDependencies": { @@ -694,15 +694,15 @@ "@opencode/app": ["@opencode/app@workspace:packages/app"], - "@opencode/cloud-app": ["@opencode/cloud-app@workspace:packages/cloud/app"], + "@opencode/console-app": ["@opencode/console-app@workspace:packages/console/app"], - "@opencode/cloud-core": ["@opencode/cloud-core@workspace:packages/cloud/core"], + "@opencode/console-core": ["@opencode/console-core@workspace:packages/console/core"], - "@opencode/cloud-function": ["@opencode/cloud-function@workspace:packages/cloud/function"], + "@opencode/console-function": ["@opencode/console-function@workspace:packages/console/function"], - "@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:packages/cloud/resource"], + "@opencode/console-resource": ["@opencode/console-resource@workspace:packages/console/resource"], - "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:packages/cloud/scripts"], + "@opencode/console-scripts": ["@opencode/console-scripts@workspace:packages/console/scripts"], "@opencode/function": ["@opencode/function@workspace:packages/function"], @@ -914,11 +914,11 @@ "@smithy/abort-controller": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-vkzula+IwRvPR6oKQhMYioM3A/oX/lFCZiwuxkQbRhqJS2S4YRY2k7k/SyR2jMf3607HLtbEwlRxi0ndXHMjRg=="], - "@smithy/config-resolver": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.1", "@smithy/types": "^4.5.0", "@smithy/util-config-provider": "^4.1.0", "@smithy/util-middleware": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-FXil8q4QN7mgKwU2hCLm0ltab8NyY/1RiqEf25Jnf6WLS3wmb11zGAoLETqg1nur2Aoibun4w4MjeN9CMJ4G6A=="], + "@smithy/config-resolver": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.2", "@smithy/types": "^4.5.0", "@smithy/util-config-provider": "^4.1.0", "@smithy/util-middleware": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-IT6MatgBWagLybZl1xQcURXRICvqz1z3APSCAI9IqdvfCkrA7RaQIEfgC6G/KvfxnDfQUDqFV+ZlixcuFznGBQ=="], - "@smithy/core": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/middleware-serde": "^4.1.1", "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "@smithy/util-base64": "^4.1.0", "@smithy/util-body-length-browser": "^4.1.0", "@smithy/util-middleware": "^4.1.1", "@smithy/util-stream": "^4.3.1", "@smithy/util-utf8": "^4.1.0", "@types/uuid": "^9.0.1", "tslib": "^2.6.2", "uuid": "^9.0.1" } }, "sha512-Abs5rdP1o8/OINtE49wwNeWuynCu0kme1r4RI3VXVrHr4odVDG7h7mTnw1WXXfN5Il+c25QOnrdL2y56USfxkA=="], + "@smithy/core": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/middleware-serde": "^4.1.1", "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "@smithy/util-base64": "^4.1.0", "@smithy/util-body-length-browser": "^4.1.0", "@smithy/util-middleware": "^4.1.1", "@smithy/util-stream": "^4.3.2", "@smithy/util-utf8": "^4.1.0", "@types/uuid": "^9.0.1", "tslib": "^2.6.2", "uuid": "^9.0.1" } }, "sha512-REH7crwORgdjSpYs15JBiIWOYjj0hJNC3aCecpJvAlMMaaqL5i2CLb1i6Hc4yevToTKSqslLMI9FKjhugEwALA=="], - "@smithy/credential-provider-imds": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.1", "@smithy/property-provider": "^4.1.1", "@smithy/types": "^4.5.0", "@smithy/url-parser": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-1WdBfM9DwA59pnpIizxnUvBf/de18p4GP+6zP2AqrlFzoW3ERpZaT4QueBR0nS9deDMaQRkBlngpVlnkuuTisQ=="], + "@smithy/credential-provider-imds": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.2", "@smithy/property-provider": "^4.1.1", "@smithy/types": "^4.5.0", "@smithy/url-parser": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-JlYNq8TShnqCLg0h+afqe2wLAwZpuoSgOyzhYvTgbiKBWRov+uUve+vrZEQO6lkdLOWPh7gK5dtb9dS+KGendg=="], "@smithy/eventstream-codec": ["@smithy/[email protected]", "", { "dependencies": { "@aws-crypto/crc32": "5.2.0", "@smithy/types": "^4.5.0", "@smithy/util-hex-encoding": "^4.1.0", "tslib": "^2.6.2" } }, "sha512-PwkQw1hZwHTQB6X5hSUWz2OSeuj5Z6enWuAqke7DgWoP3t6vg3ktPpqPz3Erkn6w+tmsl8Oss6nrgyezoea2Iw=="], @@ -932,15 +932,15 @@ "@smithy/middleware-content-length": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-9wlfBBgTsRvC2JxLJxv4xDGNBrZuio3AgSl0lSFX7fneW2cGskXTYpFxCdRYD2+5yzmsiTuaAJD1Wp7gWt9y9w=="], - "@smithy/middleware-endpoint": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.11.0", "@smithy/middleware-serde": "^4.1.1", "@smithy/node-config-provider": "^4.2.1", "@smithy/shared-ini-file-loader": "^4.1.1", "@smithy/types": "^4.5.0", "@smithy/url-parser": "^4.1.1", "@smithy/util-middleware": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-fUTMmQvQQZakXOuKizfu7fBLDpwvWZjfH6zUK2OLsoNZRZGbNUdNSdLJHpwk1vS208jtDjpUIskh+JoA8zMzZg=="], + "@smithy/middleware-endpoint": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.11.1", "@smithy/middleware-serde": "^4.1.1", "@smithy/node-config-provider": "^4.2.2", "@smithy/shared-ini-file-loader": "^4.2.0", "@smithy/types": "^4.5.0", "@smithy/url-parser": "^4.1.1", "@smithy/util-middleware": "^4.1.1", "tslib": "^2.6.2" } }, "sha512-+1H5A28DeffRVrqmVmtqtRraEjoaC6JVap3xEQdVoBh2EagCVY7noPmcBcG4y7mnr9AJitR1ZAse2l+tEtK5vg=="], - "@smithy/middleware-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.1", "@smithy/protocol-http": "^5.2.1", "@smithy/service-error-classification": "^4.1.1", "@smithy/smithy-client": "^4.6.1", "@smithy/types": "^4.5.0", "@smithy/util-middleware": "^4.1.1", "@smithy/util-retry": "^4.1.1", "@types/uuid": "^9.0.1", "tslib": "^2.6.2", "uuid": "^9.0.1" } }, "sha512-JzfvjwSJXWRl7LkLgIRTUTd2Wj639yr3sQGpViGNEOjtb0AkAuYqRAHs+jSOI/LPC0ZTjmFVVtfrCICMuebexw=="], + "@smithy/middleware-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.2", "@smithy/protocol-http": "^5.2.1", "@smithy/service-error-classification": "^4.1.2", "@smithy/smithy-client": "^4.6.3", "@smithy/types": "^4.5.0", "@smithy/util-middleware": "^4.1.1", "@smithy/util-retry": "^4.1.2", "@types/uuid": "^9.0.1", "tslib": "^2.6.2", "uuid": "^9.0.1" } }, "sha512-amyqYQFewnAviX3yy/rI/n1HqAgfvUdkEhc04kDjxsngAUREKuOI24iwqQUirrj6GtodWmR4iO5Zeyl3/3BwWg=="], "@smithy/middleware-serde": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-lh48uQdbCoj619kRouev5XbWhCwRKLmphAif16c4J6JgJ4uXjub1PI6RL38d3BLliUvSso6klyB/LTNpWSNIyg=="], "@smithy/middleware-stack": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-ygRnniqNcDhHzs6QAPIdia26M7e7z9gpkIMUe/pK0RsrQ7i5MblwxY8078/QCnGq6AmlUUWgljK2HlelsKIb/A=="], - "@smithy/node-config-provider": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/property-provider": "^4.1.1", "@smithy/shared-ini-file-loader": "^4.1.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-AIA0BJZq2h295J5NeCTKhg1WwtdTA/GqBCaVjk30bDgMHwniUETyh5cP9IiE9VrId7Kt8hS7zvREVMTv1VfA6g=="], + "@smithy/node-config-provider": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/property-provider": "^4.1.1", "@smithy/shared-ini-file-loader": "^4.2.0", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-SYGTKyPvyCfEzIN5rD8q/bYaOPZprYUPD2f5g9M7OjaYupWOoQFYJ5ho+0wvxIRf471i2SR4GoiZ2r94Jq9h6A=="], "@smithy/node-http-handler": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/abort-controller": "^4.1.1", "@smithy/protocol-http": "^5.2.1", "@smithy/querystring-builder": "^4.1.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-REyybygHlxo3TJICPF89N2pMQSf+p+tBJqpVe1+77Cfi9HBPReNjTgtZ1Vg73exq24vkqJskKDpfF74reXjxfw=="], @@ -952,13 +952,13 @@ "@smithy/querystring-parser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-63TEp92YFz0oQ7Pj9IuI3IgnprP92LrZtRAkE3c6wLWJxfy/yOPRt39IOKerVr0JS770olzl0kGafXlAXZ1vng=="], - "@smithy/service-error-classification": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0" } }, "sha512-Iam75b/JNXyDE41UvrlM6n8DNOa/r1ylFyvgruTUx7h2Uk7vDNV9AAwP1vfL1fOL8ls0xArwEGVcGZVd7IO/Cw=="], + "@smithy/service-error-classification": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0" } }, "sha512-Kqd8wyfmBWHZNppZSMfrQFpc3M9Y/kjyN8n8P4DqJJtuwgK1H914R471HTw7+RL+T7+kI1f1gOnL7Vb5z9+NgQ=="], - "@smithy/shared-ini-file-loader": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-YkpikhIqGc4sfXeIbzSj10t2bJI/sSoP5qxLue6zG+tEE3ngOBSm8sO3+djacYvS/R5DfpxN/L9CyZsvwjWOAQ=="], + "@smithy/shared-ini-file-loader": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-OQTfmIEp2LLuWdxa8nEEPhZmiOREO6bcB6pjs0AySf4yiZhl6kMOfqmcwcY8BaBPX+0Tb+tG7/Ia/6mwpoZ7Pw=="], "@smithy/signature-v4": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/is-array-buffer": "^4.1.0", "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "@smithy/util-hex-encoding": "^4.1.0", "@smithy/util-middleware": "^4.1.1", "@smithy/util-uri-escape": "^4.1.0", "@smithy/util-utf8": "^4.1.0", "tslib": "^2.6.2" } }, "sha512-M9rZhWQLjlQVCCR37cSjHfhriGRN+FQ8UfgrYNufv66TJgk+acaggShl3KS5U/ssxivvZLlnj7QH2CUOKlxPyA=="], - "@smithy/smithy-client": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.11.0", "@smithy/middleware-endpoint": "^4.2.1", "@smithy/middleware-stack": "^4.1.1", "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "@smithy/util-stream": "^4.3.1", "tslib": "^2.6.2" } }, "sha512-WolVLDb9UTPMEPPOncrCt6JmAMCSC/V2y5gst2STWJ5r7+8iNac+EFYQnmvDCYMfOLcilOSEpm5yXZXwbLak1Q=="], + "@smithy/smithy-client": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/core": "^3.11.1", "@smithy/middleware-endpoint": "^4.2.3", "@smithy/middleware-stack": "^4.1.1", "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "@smithy/util-stream": "^4.3.2", "tslib": "^2.6.2" } }, "sha512-K27LqywsaqKz4jusdUQYJh/YP2VbnbdskZ42zG8xfV+eovbTtMc2/ZatLWCfSkW0PDsTUXlpvlaMyu8925HsOw=="], "@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-RkUpIOsVlAwUIZXO1dsz8Zm+N72LClFfsNqf173catVlvRZiwPy0x2u0JLEA4byreOPKDZPGjmPDylMoP8ZJRg=="], @@ -974,19 +974,19 @@ "@smithy/util-config-provider": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-swXz2vMjrP1ZusZWVTB/ai5gK+J8U0BWvP10v9fpcFvg+Xi/87LHvHfst2IgCs1i0v4qFZfGwCmeD/KNCdJZbQ=="], - "@smithy/util-defaults-mode-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/property-provider": "^4.1.1", "@smithy/smithy-client": "^4.6.1", "@smithy/types": "^4.5.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-hA1AKIHFUMa9Tl6q6y8p0pJ9aWHCCG8s57flmIyLE0W7HcJeYrYtnqXDcGnftvXEhdQnSexyegXnzzTGk8bKLA=="], + "@smithy/util-defaults-mode-browser": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/property-provider": "^4.1.1", "@smithy/smithy-client": "^4.6.3", "@smithy/types": "^4.5.0", "bowser": "^2.11.0", "tslib": "^2.6.2" } }, "sha512-5fm3i2laE95uhY6n6O6uGFxI5SVbqo3/RWEuS3YsT0LVmSZk+0eUqPhKd4qk0KxBRPaT5VNT/WEBUqdMyYoRgg=="], - "@smithy/util-defaults-mode-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/config-resolver": "^4.2.1", "@smithy/credential-provider-imds": "^4.1.1", "@smithy/node-config-provider": "^4.2.1", "@smithy/property-provider": "^4.1.1", "@smithy/smithy-client": "^4.6.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-RGSpmoBrA+5D2WjwtK7tto6Pc2wO9KSXKLpLONhFZ8VyuCbqlLdiDAfuDTNY9AJe4JoE+Cx806cpTQQoQ71zPQ=="], + "@smithy/util-defaults-mode-node": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/config-resolver": "^4.2.2", "@smithy/credential-provider-imds": "^4.1.2", "@smithy/node-config-provider": "^4.2.2", "@smithy/property-provider": "^4.1.1", "@smithy/smithy-client": "^4.6.3", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-lwnMzlMslZ9GJNt+/wVjz6+fe9Wp5tqR1xAyQn+iywmP+Ymj0F6NhU/KfHM5jhGPQchRSCcau5weKhFdLIM4cA=="], - "@smithy/util-endpoints": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-qB4R9kO0SetA11Rzu6MVGFIaGYX3p6SGGGfWwsKnC6nXIf0n/0AKVwRTsYsz9ToN8CeNNtNgQRwKFBndGJZdyw=="], + "@smithy/util-endpoints": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.2", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-+AJsaaEGb5ySvf1SKMRrPZdYHRYSzMkCoK16jWnIMpREAnflVspMIDeCVSZJuj+5muZfgGpNpijE3mUNtjv01Q=="], "@smithy/util-hex-encoding": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-1LcueNN5GYC4tr8mo14yVYbh/Ur8jHhWOxniZXii+1+ePiIbsLZ5fEI0QQGtbRRP5mOhmooos+rLmVASGGoq5w=="], "@smithy/util-middleware": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-CGmZ72mL29VMfESz7S6dekqzCh8ZISj3B+w0g1hZFXaOjGTVaSqfAEFAq8EGp8fUL+Q2l8aqNmt8U1tglTikeg=="], - "@smithy/util-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/service-error-classification": "^4.1.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-jGeybqEZ/LIordPLMh5bnmnoIgsqnp4IEimmUp5c5voZ8yx+5kAlN5+juyr7p+f7AtZTgvhmInQk4Q0UVbrZ0Q=="], + "@smithy/util-retry": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/service-error-classification": "^4.1.2", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-NCgr1d0/EdeP6U5PSZ9Uv5SMR5XRRYoVr1kRVtKZxWL3tixEL3UatrPIMFZSKwHlCcp2zPLDvMubVDULRqeunA=="], - "@smithy/util-stream": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/fetch-http-handler": "^5.2.1", "@smithy/node-http-handler": "^4.2.1", "@smithy/types": "^4.5.0", "@smithy/util-base64": "^4.1.0", "@smithy/util-buffer-from": "^4.1.0", "@smithy/util-hex-encoding": "^4.1.0", "@smithy/util-utf8": "^4.1.0", "tslib": "^2.6.2" } }, "sha512-khKkW/Jqkgh6caxMWbMuox9+YfGlsk9OnHOYCGVEdYQb/XVzcORXHLYUubHmmda0pubEDncofUrPNniS9d+uAA=="], + "@smithy/util-stream": ["@smithy/[email protected]", "", { "dependencies": { "@smithy/fetch-http-handler": "^5.2.1", "@smithy/node-http-handler": "^4.2.1", "@smithy/types": "^4.5.0", "@smithy/util-base64": "^4.1.0", "@smithy/util-buffer-from": "^4.1.0", "@smithy/util-hex-encoding": "^4.1.0", "@smithy/util-utf8": "^4.1.0", "tslib": "^2.6.2" } }, "sha512-Ka+FA2UCC/Q1dEqUanCdpqwxOFdf5Dg2VXtPtB1qxLcSGh5C1HdzklIt18xL504Wiy9nNUKwDMRTVCbKGoK69g=="], "@smithy/util-uri-escape": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-b0EFQkq35K5NHUYxU72JuoheM6+pytEVUGlTwiFxWFpmddA+Bpz3LgsPRIpBk8lnPE47yT7AF2Egc3jVnKLuPg=="], @@ -3028,7 +3028,7 @@ "@opencode-ai/sdk/@hey-api/openapi-ts": ["@hey-api/[email protected]", "", { "dependencies": { "@hey-api/json-schema-ref-parser": "1.0.6", "ansi-colors": "4.1.3", "c12": "2.0.1", "color-support": "1.1.3", "commander": "13.0.0", "handlebars": "4.7.8", "js-yaml": "4.1.0", "open": "10.1.2", "semver": "7.7.2" }, "peerDependencies": { "typescript": "^5.5.3" }, "bin": { "openapi-ts": "bin/index.cjs" } }, "sha512-PoJukNBkUfHOoMDpN33bBETX49TUhy7Hu8Sa0jslOvFndvZ5VjQr4Nl/Dzjb9LG1Lp5HjybyTJMA6a1zYk/q6A=="], - "@opencode/cloud-resource/@cloudflare/workers-types": ["@cloudflare/[email protected]", "", {}, "sha512-JjrYEvRn7cyALxwoFTw3XChaQneHSJOXqz2t5iKEpNzAnC2iPQU75rtTK/gw03Jjy4SHY5aEBh/uqQePtonZlA=="], + "@opencode/console-resource/@cloudflare/workers-types": ["@cloudflare/[email protected]", "", {}, "sha512-JjrYEvRn7cyALxwoFTw3XChaQneHSJOXqz2t5iKEpNzAnC2iPQU75rtTK/gw03Jjy4SHY5aEBh/uqQePtonZlA=="], "@opencode/web/@shikijs/transformers": ["@shikijs/[email protected]", "", { "dependencies": { "@shikijs/core": "3.4.2", "@shikijs/types": "3.4.2" } }, "sha512-I5baLVi/ynLEOZoWSAMlACHNnG+yw5HDmse0oe+GW6U1u+ULdEB3UHiVWaHoJSSONV7tlcVxuaMy74sREDkSvg=="], @@ -3200,7 +3200,7 @@ "named-placeholders/lru-cache": ["[email protected]", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="], - "nitropack/c12": ["[email protected]", "", { "dependencies": { "chokidar": "^4.0.3", "confbox": "^0.2.2", "defu": "^6.1.4", "dotenv": "^17.2.1", "exsolve": "^1.0.7", "giget": "^2.0.0", "jiti": "^2.5.1", "ohash": "^2.0.11", "pathe": "^2.0.3", "perfect-debounce": "^1.0.0", "pkg-types": "^2.2.0", "rc9": "^2.1.2" }, "peerDependencies": { "magicast": "^0.3.5" }, "optionalPeers": ["magicast"] }, "sha512-ixkEtbYafL56E6HiFuonMm1ZjoKtIo7TH68/uiEq4DAwv9NcUX2nJ95F8TrbMeNjqIkZpruo3ojXQJ+MGG5gcQ=="], + "nitropack/c12": ["[email protected]", "", { "dependencies": { "chokidar": "^4.0.3", "confbox": "^0.2.2", "defu": "^6.1.4", "dotenv": "^17.2.2", "exsolve": "^1.0.7", "giget": "^2.0.0", "jiti": "^2.5.1", "ohash": "^2.0.11", "pathe": "^2.0.3", "perfect-debounce": "^2.0.0", "pkg-types": "^2.3.0", "rc9": "^2.1.2" }, "peerDependencies": { "magicast": "^0.3.5" }, "optionalPeers": ["magicast"] }, "sha512-K9ZkuyeJQeqLEyqldbYLG3wjqwpw4BVaAqvmxq3GYKK0b1A/yYQdIcJxkzAOWcNVWhJpRXAPfZFueekiY/L8Dw=="], "nitropack/confbox": ["[email protected]", "", {}, "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ=="], @@ -3584,8 +3584,6 @@ "nitropack/c12/giget": ["[email protected]", "", { "dependencies": { "citty": "^0.1.6", "consola": "^3.4.0", "defu": "^6.1.4", "node-fetch-native": "^1.6.6", "nypm": "^0.6.0", "pathe": "^2.0.3" }, "bin": { "giget": "dist/cli.mjs" } }, "sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA=="], - "nitropack/c12/perfect-debounce": ["[email protected]", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="], - "nitropack/h3/cookie-es": ["[email protected]", "", {}, "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg=="], "nitropack/serve-static/send": ["[email protected]", "", { "dependencies": { "debug": "^4.3.5", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.0", "mime-types": "^3.0.1", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.1" } }, "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw=="], @@ -3750,7 +3748,7 @@ "giget/tar/minizlib/minipass": ["[email protected]", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="], - "nitropack/c12/giget/nypm": ["[email protected]", "", { "dependencies": { "citty": "^0.1.6", "consola": "^3.4.2", "pathe": "^2.0.3", "pkg-types": "^2.2.0", "tinyexec": "^1.0.1" }, "bin": { "nypm": "dist/cli.mjs" } }, "sha512-hlacBiRiv1k9hZFiphPUkfSQ/ZfQzZDzC+8z0wL3lvDAOUu/2NnChkKuMoMjNur/9OpKuz2QsIeiPVN0xM5Q0w=="], + "nitropack/c12/giget/nypm": ["[email protected]", "", { "dependencies": { "citty": "^0.1.6", "consola": "^3.4.2", "pathe": "^2.0.3", "pkg-types": "^2.3.0", "tinyexec": "^1.0.1" }, "bin": { "nypm": "dist/cli.mjs" } }, "sha512-7eM+hpOtrKrBDCh7Ypu2lJ9Z7PNZBdi/8AT3AX8xoCj43BBVHD0hPSTEvMtkMpfs8FCqBGhxB+uToIQimA111g=="], "node-gyp/glob/path-scurry/lru-cache": ["[email protected]", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="], 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/console.ts index 23984cb4c..6ca842380 100644 --- a/infra/cloud.ts +++ b/infra/console.ts @@ -44,7 +44,7 @@ new sst.x.DevCommand("Studio", { link: [database], dev: { command: "bun db studio", - directory: "packages/cloud/core", + directory: "packages/console/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: "packages/cloud/function/src/auth.ts", + handler: "packages/console/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: "packages/cloud/function/src/log-processor.ts", + handler: "packages/console/function/src/log-processor.ts", link: [HONEYCOMB_API_KEY], }) } new sst.cloudflare.x.SolidStart("Console", { domain, - path: "packages/cloud/app", + path: "packages/console/app", link: [ database, AUTH_API_URL, diff --git a/package.json b/package.json index 8afdfbf96..d775a3faf 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "workspaces": { "packages": [ "packages/*", - "packages/cloud/*", + "packages/console/*", "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/packages/cloud/function/sst-env.d.ts b/packages/cloud/function/sst-env.d.ts deleted file mode 100644 index afa8c6fe7..000000000 --- a/packages/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/packages/cloud/resource/sst-env.d.ts b/packages/cloud/resource/sst-env.d.ts deleted file mode 100644 index afa8c6fe7..000000000 --- a/packages/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/packages/cloud/app/.gitignore b/packages/console/app/.gitignore index 751513ce1..751513ce1 100644 --- a/packages/cloud/app/.gitignore +++ b/packages/console/app/.gitignore diff --git a/packages/cloud/app/.opencode/agent/css.md b/packages/console/app/.opencode/agent/css.md index d0ec43a48..d0ec43a48 100644 --- a/packages/cloud/app/.opencode/agent/css.md +++ b/packages/console/app/.opencode/agent/css.md diff --git a/packages/cloud/app/README.md b/packages/console/app/README.md index 9337430cf..9337430cf 100644 --- a/packages/cloud/app/README.md +++ b/packages/console/app/README.md diff --git a/packages/cloud/app/app.config.ts b/packages/console/app/app.config.ts index af013bc81..af013bc81 100644 --- a/packages/cloud/app/app.config.ts +++ b/packages/console/app/app.config.ts diff --git a/packages/cloud/app/package.json b/packages/console/app/package.json index 577f1dd8d..2a9d9a98b 100644 --- a/packages/cloud/app/package.json +++ b/packages/console/app/package.json @@ -1,5 +1,5 @@ { - "name": "@opencode/cloud-app", + "name": "@opencode/console-app", "type": "module", "scripts": { "typecheck": "tsc --noEmit", @@ -17,7 +17,7 @@ "@solidjs/start": "^1.1.0", "solid-js": "catalog:", "vinxi": "^0.5.7", - "@opencode/cloud-core": "workspace:*" + "@opencode/console-core": "workspace:*" }, "engines": { "node": ">=22" diff --git a/packages/cloud/app/public/favicon.svg b/packages/console/app/public/favicon.svg index 3c81bbdb4..3c81bbdb4 100644 --- a/packages/cloud/app/public/favicon.svg +++ b/packages/console/app/public/favicon.svg diff --git a/packages/cloud/app/public/robots.txt b/packages/console/app/public/robots.txt index f88eb1790..f88eb1790 100644 --- a/packages/cloud/app/public/robots.txt +++ b/packages/console/app/public/robots.txt diff --git a/packages/cloud/app/public/social-share.png b/packages/console/app/public/social-share.png Binary files differindex 97f67994d..97f67994d 100644 --- a/packages/cloud/app/public/social-share.png +++ b/packages/console/app/public/social-share.png diff --git a/packages/cloud/app/public/theme.json b/packages/console/app/public/theme.json index b3e97f7ca..b3e97f7ca 100644 --- a/packages/cloud/app/public/theme.json +++ b/packages/console/app/public/theme.json diff --git a/packages/cloud/app/src/app.css b/packages/console/app/src/app.css index c0261c422..c0261c422 100644 --- a/packages/cloud/app/src/app.css +++ b/packages/console/app/src/app.css diff --git a/packages/cloud/app/src/app.tsx b/packages/console/app/src/app.tsx index bc3961214..bc3961214 100644 --- a/packages/cloud/app/src/app.tsx +++ b/packages/console/app/src/app.tsx diff --git a/packages/cloud/app/src/asset/lander/check.svg b/packages/console/app/src/asset/lander/check.svg index 22de6f2a8..22de6f2a8 100644 --- a/packages/cloud/app/src/asset/lander/check.svg +++ b/packages/console/app/src/asset/lander/check.svg diff --git a/packages/cloud/app/src/asset/lander/copy.svg b/packages/console/app/src/asset/lander/copy.svg index f1baac30a..f1baac30a 100644 --- a/packages/cloud/app/src/asset/lander/copy.svg +++ b/packages/console/app/src/asset/lander/copy.svg diff --git a/packages/cloud/app/src/asset/lander/screenshot-github.png b/packages/console/app/src/asset/lander/screenshot-github.png Binary files differindex fda74e641..fda74e641 100644 --- a/packages/cloud/app/src/asset/lander/screenshot-github.png +++ b/packages/console/app/src/asset/lander/screenshot-github.png diff --git a/packages/cloud/app/src/asset/lander/screenshot-splash.png b/packages/console/app/src/asset/lander/screenshot-splash.png Binary files differindex e900673ef..e900673ef 100644 --- a/packages/cloud/app/src/asset/lander/screenshot-splash.png +++ b/packages/console/app/src/asset/lander/screenshot-splash.png diff --git a/packages/cloud/app/src/asset/lander/screenshot-vscode.png b/packages/console/app/src/asset/lander/screenshot-vscode.png Binary files differindex b8966a6b8..b8966a6b8 100644 --- a/packages/cloud/app/src/asset/lander/screenshot-vscode.png +++ b/packages/console/app/src/asset/lander/screenshot-vscode.png diff --git a/packages/cloud/app/src/asset/lander/screenshot.png b/packages/console/app/src/asset/lander/screenshot.png Binary files differindex feb617585..feb617585 100644 --- a/packages/cloud/app/src/asset/lander/screenshot.png +++ b/packages/console/app/src/asset/lander/screenshot.png diff --git a/packages/cloud/app/src/asset/logo-ornate-dark.svg b/packages/console/app/src/asset/logo-ornate-dark.svg index 2efda934d..2efda934d 100644 --- a/packages/cloud/app/src/asset/logo-ornate-dark.svg +++ b/packages/console/app/src/asset/logo-ornate-dark.svg diff --git a/packages/cloud/app/src/asset/logo-ornate-light.svg b/packages/console/app/src/asset/logo-ornate-light.svg index 789223bc4..789223bc4 100644 --- a/packages/cloud/app/src/asset/logo-ornate-light.svg +++ b/packages/console/app/src/asset/logo-ornate-light.svg diff --git a/packages/cloud/app/src/asset/logo.svg b/packages/console/app/src/asset/logo.svg index cbfcccf51..cbfcccf51 100644 --- a/packages/cloud/app/src/asset/logo.svg +++ b/packages/console/app/src/asset/logo.svg diff --git a/packages/cloud/app/src/component/icon.tsx b/packages/console/app/src/component/icon.tsx index a82572e62..a82572e62 100644 --- a/packages/cloud/app/src/component/icon.tsx +++ b/packages/console/app/src/component/icon.tsx diff --git a/packages/cloud/app/src/component/workspace/billing-section.module.css b/packages/console/app/src/component/workspace/billing-section.module.css index 0bb5709cb..0bb5709cb 100644 --- a/packages/cloud/app/src/component/workspace/billing-section.module.css +++ b/packages/console/app/src/component/workspace/billing-section.module.css diff --git a/packages/cloud/app/src/component/workspace/billing-section.tsx b/packages/console/app/src/component/workspace/billing-section.tsx index ec314d9ef..57316e208 100644 --- a/packages/cloud/app/src/component/workspace/billing-section.tsx +++ b/packages/console/app/src/component/workspace/billing-section.tsx @@ -1,6 +1,6 @@ import { json, query, action, useParams, useAction, createAsync, useSubmission } from "@solidjs/router" import { createMemo, Show } from "solid-js" -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import { withActor } from "~/context/auth.withActor" import { IconCreditCard } from "~/component/icon" import styles from "./billing-section.module.css" diff --git a/packages/cloud/app/src/component/workspace/common.tsx b/packages/console/app/src/component/workspace/common.tsx index f85fd8423..f85fd8423 100644 --- a/packages/cloud/app/src/component/workspace/common.tsx +++ b/packages/console/app/src/component/workspace/common.tsx diff --git a/packages/cloud/app/src/component/workspace/key-section.module.css b/packages/console/app/src/component/workspace/key-section.module.css index 6a1d0c85f..6a1d0c85f 100644 --- a/packages/cloud/app/src/component/workspace/key-section.module.css +++ b/packages/console/app/src/component/workspace/key-section.module.css diff --git a/packages/cloud/app/src/component/workspace/key-section.tsx b/packages/console/app/src/component/workspace/key-section.tsx index 4158ce793..a2bd380ea 100644 --- a/packages/cloud/app/src/component/workspace/key-section.tsx +++ b/packages/console/app/src/component/workspace/key-section.tsx @@ -1,7 +1,7 @@ import { json, query, action, useParams, createAsync, useSubmission } from "@solidjs/router" import { createEffect, createSignal, For, Show } from "solid-js" import { IconCopy, IconCheck } from "~/component/icon" -import { Key } from "@opencode/cloud-core/key.js" +import { Key } from "@opencode/console-core/key.js" import { withActor } from "~/context/auth.withActor" import { createStore } from "solid-js/store" import { formatDateUTC, formatDateForTable } from "./common" diff --git a/packages/cloud/app/src/component/workspace/monthly-limit-section.module.css b/packages/console/app/src/component/workspace/monthly-limit-section.module.css index 02de058e4..02de058e4 100644 --- a/packages/cloud/app/src/component/workspace/monthly-limit-section.module.css +++ b/packages/console/app/src/component/workspace/monthly-limit-section.module.css diff --git a/packages/cloud/app/src/component/workspace/monthly-limit-section.tsx b/packages/console/app/src/component/workspace/monthly-limit-section.tsx index 5c1077ab1..35da774d0 100644 --- a/packages/cloud/app/src/component/workspace/monthly-limit-section.tsx +++ b/packages/console/app/src/component/workspace/monthly-limit-section.tsx @@ -2,7 +2,7 @@ import { json, query, action, useParams, createAsync, useSubmission } from "@sol import { createEffect, Show } from "solid-js" import { createStore } from "solid-js/store" import { withActor } from "~/context/auth.withActor" -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import styles from "./monthly-limit-section.module.css" const getBillingInfo = query(async (workspaceID: string) => { diff --git a/packages/cloud/app/src/component/workspace/new-user-section.module.css b/packages/console/app/src/component/workspace/new-user-section.module.css index 2edc7cc14..2edc7cc14 100644 --- a/packages/cloud/app/src/component/workspace/new-user-section.module.css +++ b/packages/console/app/src/component/workspace/new-user-section.module.css diff --git a/packages/cloud/app/src/component/workspace/new-user-section.tsx b/packages/console/app/src/component/workspace/new-user-section.tsx index 6e031e371..5909072dd 100644 --- a/packages/cloud/app/src/component/workspace/new-user-section.tsx +++ b/packages/console/app/src/component/workspace/new-user-section.tsx @@ -1,8 +1,8 @@ import { query, useParams, createAsync } from "@solidjs/router" import { createMemo, createSignal, Show } from "solid-js" import { IconCopy, IconCheck } from "~/component/icon" -import { Key } from "@opencode/cloud-core/key.js" -import { Billing } from "@opencode/cloud-core/billing.js" +import { Key } from "@opencode/console-core/key.js" +import { Billing } from "@opencode/console-core/billing.js" import { withActor } from "~/context/auth.withActor" import styles from "./new-user-section.module.css" diff --git a/packages/cloud/app/src/component/workspace/payment-section.module.css b/packages/console/app/src/component/workspace/payment-section.module.css index ea8e2ed42..ea8e2ed42 100644 --- a/packages/cloud/app/src/component/workspace/payment-section.module.css +++ b/packages/console/app/src/component/workspace/payment-section.module.css diff --git a/packages/cloud/app/src/component/workspace/payment-section.tsx b/packages/console/app/src/component/workspace/payment-section.tsx index 8cdceebc3..7be51a581 100644 --- a/packages/cloud/app/src/component/workspace/payment-section.tsx +++ b/packages/console/app/src/component/workspace/payment-section.tsx @@ -1,4 +1,4 @@ -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import { query, action, useParams, createAsync, useAction } from "@solidjs/router" import { For } from "solid-js" import { withActor } from "~/context/auth.withActor" diff --git a/packages/cloud/app/src/component/workspace/usage-section.module.css b/packages/console/app/src/component/workspace/usage-section.module.css index 1a772ba87..1a772ba87 100644 --- a/packages/cloud/app/src/component/workspace/usage-section.module.css +++ b/packages/console/app/src/component/workspace/usage-section.module.css diff --git a/packages/cloud/app/src/component/workspace/usage-section.tsx b/packages/console/app/src/component/workspace/usage-section.tsx index 5d3d3b6c3..e68670c6d 100644 --- a/packages/cloud/app/src/component/workspace/usage-section.tsx +++ b/packages/console/app/src/component/workspace/usage-section.tsx @@ -1,4 +1,4 @@ -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import { query, useParams, createAsync } from "@solidjs/router" import { createMemo, For, Show } from "solid-js" import { formatDateUTC, formatDateForTable } from "./common" diff --git a/packages/cloud/app/src/context/auth.session.ts b/packages/console/app/src/context/auth.session.ts index 609bc364b..609bc364b 100644 --- a/packages/cloud/app/src/context/auth.session.ts +++ b/packages/console/app/src/context/auth.session.ts diff --git a/packages/cloud/app/src/context/auth.ts b/packages/console/app/src/context/auth.ts index e08d965b8..027885241 100644 --- a/packages/cloud/app/src/context/auth.ts +++ b/packages/console/app/src/context/auth.ts @@ -1,10 +1,10 @@ import { getRequestEvent } from "solid-js/web" -import { and, Database, eq, inArray } from "@opencode/cloud-core/drizzle/index.js" -import { WorkspaceTable } from "@opencode/cloud-core/schema/workspace.sql.js" -import { UserTable } from "@opencode/cloud-core/schema/user.sql.js" +import { and, Database, eq, inArray } from "@opencode/console-core/drizzle/index.js" +import { WorkspaceTable } from "@opencode/console-core/schema/workspace.sql.js" +import { UserTable } from "@opencode/console-core/schema/user.sql.js" import { redirect } from "@solidjs/router" -import { AccountTable } from "@opencode/cloud-core/schema/account.sql.js" -import { Actor } from "@opencode/cloud-core/actor.js" +import { AccountTable } from "@opencode/console-core/schema/account.sql.js" +import { Actor } from "@opencode/console-core/actor.js" import { createClient } from "@openauthjs/openauth/client" import { useAuthSession } from "./auth.session" diff --git a/packages/cloud/app/src/context/auth.withActor.ts b/packages/console/app/src/context/auth.withActor.ts index 4cfd5c3e0..2cb970269 100644 --- a/packages/cloud/app/src/context/auth.withActor.ts +++ b/packages/console/app/src/context/auth.withActor.ts @@ -1,4 +1,4 @@ -import { Actor } from "@opencode/cloud-core/actor.js" +import { Actor } from "@opencode/console-core/actor.js" import { getActor } from "./auth" export async function withActor<T>(fn: () => T, workspace?: string) { diff --git a/packages/cloud/app/src/entry-client.tsx b/packages/console/app/src/entry-client.tsx index 642deacf7..642deacf7 100644 --- a/packages/cloud/app/src/entry-client.tsx +++ b/packages/console/app/src/entry-client.tsx diff --git a/packages/cloud/app/src/entry-server.tsx b/packages/console/app/src/entry-server.tsx index d5fca6aa5..d5fca6aa5 100644 --- a/packages/cloud/app/src/entry-server.tsx +++ b/packages/console/app/src/entry-server.tsx diff --git a/packages/cloud/app/src/global.d.ts b/packages/console/app/src/global.d.ts index dc6f10c22..dc6f10c22 100644 --- a/packages/cloud/app/src/global.d.ts +++ b/packages/console/app/src/global.d.ts diff --git a/packages/cloud/app/src/middleware.ts b/packages/console/app/src/middleware.ts index b49473cbe..b49473cbe 100644 --- a/packages/cloud/app/src/middleware.ts +++ b/packages/console/app/src/middleware.ts diff --git a/packages/cloud/app/src/routes/[...404].css b/packages/console/app/src/routes/[...404].css index 1edbd0a5a..1edbd0a5a 100644 --- a/packages/cloud/app/src/routes/[...404].css +++ b/packages/console/app/src/routes/[...404].css diff --git a/packages/cloud/app/src/routes/[...404].tsx b/packages/console/app/src/routes/[...404].tsx index ba2842b5a..ba2842b5a 100644 --- a/packages/cloud/app/src/routes/[...404].tsx +++ b/packages/console/app/src/routes/[...404].tsx diff --git a/packages/cloud/app/src/routes/auth/authorize.ts b/packages/console/app/src/routes/auth/authorize.ts index 166466ef8..166466ef8 100644 --- a/packages/cloud/app/src/routes/auth/authorize.ts +++ b/packages/console/app/src/routes/auth/authorize.ts diff --git a/packages/cloud/app/src/routes/auth/callback.ts b/packages/console/app/src/routes/auth/callback.ts index 23025b54d..23025b54d 100644 --- a/packages/cloud/app/src/routes/auth/callback.ts +++ b/packages/console/app/src/routes/auth/callback.ts diff --git a/packages/cloud/app/src/routes/auth/index.ts b/packages/console/app/src/routes/auth/index.ts index 308ae2d1d..2c893185f 100644 --- a/packages/cloud/app/src/routes/auth/index.ts +++ b/packages/console/app/src/routes/auth/index.ts @@ -1,4 +1,4 @@ -import { Account } from "@opencode/cloud-core/account.js" +import { Account } from "@opencode/console-core/account.js" import { redirect } from "@solidjs/router" import type { APIEvent } from "@solidjs/start/server" import { withActor } from "~/context/auth.withActor" diff --git a/packages/cloud/app/src/routes/debug/index.ts b/packages/console/app/src/routes/debug/index.ts index 8c7eb7bd8..39fa33d90 100644 --- a/packages/cloud/app/src/routes/debug/index.ts +++ b/packages/console/app/src/routes/debug/index.ts @@ -1,7 +1,7 @@ import type { APIEvent } from "@solidjs/start/server" import { json } from "@solidjs/router" -import { Database } from "@opencode/cloud-core/drizzle/index.js" -import { UserTable } from "@opencode/cloud-core/schema/user.sql.js" +import { Database } from "@opencode/console-core/drizzle/index.js" +import { UserTable } from "@opencode/console-core/schema/user.sql.js" export async function GET(evt: APIEvent) { return json({ diff --git a/packages/cloud/app/src/routes/discord.ts b/packages/console/app/src/routes/discord.ts index 7088295da..7088295da 100644 --- a/packages/cloud/app/src/routes/discord.ts +++ b/packages/console/app/src/routes/discord.ts diff --git a/packages/cloud/app/src/routes/docs/[...path].ts b/packages/console/app/src/routes/docs/[...path].ts index f07781583..f07781583 100644 --- a/packages/cloud/app/src/routes/docs/[...path].ts +++ b/packages/console/app/src/routes/docs/[...path].ts diff --git a/packages/cloud/app/src/routes/docs/index.ts b/packages/console/app/src/routes/docs/index.ts index f07781583..f07781583 100644 --- a/packages/cloud/app/src/routes/docs/index.ts +++ b/packages/console/app/src/routes/docs/index.ts diff --git a/packages/cloud/app/src/routes/index.css b/packages/console/app/src/routes/index.css index fe95bb7ea..fe95bb7ea 100644 --- a/packages/cloud/app/src/routes/index.css +++ b/packages/console/app/src/routes/index.css diff --git a/packages/cloud/app/src/routes/index.tsx b/packages/console/app/src/routes/index.tsx index 9075f4079..e8c1998ae 100644 --- a/packages/cloud/app/src/routes/index.tsx +++ b/packages/console/app/src/routes/index.tsx @@ -8,7 +8,7 @@ import { IconCopy, IconCheck } from "../component/icon" import { createAsync, query } from "@solidjs/router" import { getActor } from "~/context/auth" import { withActor } from "~/context/auth.withActor" -import { Account } from "@opencode/cloud-core/account.js" +import { Account } from "@opencode/console-core/account.js" function CopyStatus() { return ( diff --git a/packages/cloud/app/src/routes/s/[id].ts b/packages/console/app/src/routes/s/[id].ts index 3fd1305a0..3fd1305a0 100644 --- a/packages/cloud/app/src/routes/s/[id].ts +++ b/packages/console/app/src/routes/s/[id].ts diff --git a/packages/cloud/app/src/routes/stripe/webhook.ts b/packages/console/app/src/routes/stripe/webhook.ts index 925ede1ac..920966286 100644 --- a/packages/cloud/app/src/routes/stripe/webhook.ts +++ b/packages/console/app/src/routes/stripe/webhook.ts @@ -1,11 +1,11 @@ -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import type { APIEvent } from "@solidjs/start/server" -import { Database, eq, sql } from "@opencode/cloud-core/drizzle/index.js" -import { BillingTable, PaymentTable } from "@opencode/cloud-core/schema/billing.sql.js" -import { Identifier } from "@opencode/cloud-core/identifier.js" -import { centsToMicroCents } from "@opencode/cloud-core/util/price.js" -import { Actor } from "@opencode/cloud-core/actor.js" -import { Resource } from "@opencode/cloud-resource" +import { Database, eq, sql } from "@opencode/console-core/drizzle/index.js" +import { BillingTable, PaymentTable } from "@opencode/console-core/schema/billing.sql.js" +import { Identifier } from "@opencode/console-core/identifier.js" +import { centsToMicroCents } from "@opencode/console-core/util/price.js" +import { Actor } from "@opencode/console-core/actor.js" +import { Resource } from "@opencode/console-resource" export async function POST(input: APIEvent) { const body = await Billing.stripe().webhooks.constructEventAsync( diff --git a/packages/cloud/app/src/routes/workspace.css b/packages/console/app/src/routes/workspace.css index ed94365f0..ed94365f0 100644 --- a/packages/cloud/app/src/routes/workspace.css +++ b/packages/console/app/src/routes/workspace.css diff --git a/packages/cloud/app/src/routes/workspace.tsx b/packages/console/app/src/routes/workspace.tsx index 3f08a70a0..3aa3f20d3 100644 --- a/packages/cloud/app/src/routes/workspace.tsx +++ b/packages/console/app/src/routes/workspace.tsx @@ -13,8 +13,8 @@ import { useParams, A, } from "@solidjs/router" -import { User } from "@opencode/cloud-core/user.js" -import { Actor } from "@opencode/cloud-core/actor.js" +import { User } from "@opencode/console-core/user.js" +import { Actor } from "@opencode/console-core/actor.js" import { getRequestEvent } from "solid-js/web" const getUserInfo = query(async (workspaceID: string) => { diff --git a/packages/cloud/app/src/routes/workspace/[id].css b/packages/console/app/src/routes/workspace/[id].css index 8b318a19f..8b318a19f 100644 --- a/packages/cloud/app/src/routes/workspace/[id].css +++ b/packages/console/app/src/routes/workspace/[id].css diff --git a/packages/cloud/app/src/routes/workspace/[id].tsx b/packages/console/app/src/routes/workspace/[id].tsx index 4a2c3424d..68a706d5d 100644 --- a/packages/cloud/app/src/routes/workspace/[id].tsx +++ b/packages/console/app/src/routes/workspace/[id].tsx @@ -1,5 +1,5 @@ import "./[id].css" -import { Billing } from "@opencode/cloud-core/billing.js" +import { Billing } from "@opencode/console-core/billing.js" import { query, useParams, createAsync } from "@solidjs/router" import { Show } from "solid-js" import { withActor } from "~/context/auth.withActor" diff --git a/packages/cloud/app/src/routes/workspace/index.tsx b/packages/console/app/src/routes/workspace/index.tsx index e69de29bb..e69de29bb 100644 --- a/packages/cloud/app/src/routes/workspace/index.tsx +++ b/packages/console/app/src/routes/workspace/index.tsx diff --git a/packages/cloud/app/src/routes/zen/handler.ts b/packages/console/app/src/routes/zen/handler.ts index ab1fc6599..6065e2f76 100644 --- a/packages/cloud/app/src/routes/zen/handler.ts +++ b/packages/console/app/src/routes/zen/handler.ts @@ -1,13 +1,13 @@ import type { APIEvent } from "@solidjs/start/server" import path from "node:path" -import { and, Database, eq, isNull, lt, or, sql } from "@opencode/cloud-core/drizzle/index.js" -import { KeyTable } from "@opencode/cloud-core/schema/key.sql.js" -import { BillingTable, PaymentTable, UsageTable } from "@opencode/cloud-core/schema/billing.sql.js" -import { centsToMicroCents } from "@opencode/cloud-core/util/price.js" -import { Identifier } from "@opencode/cloud-core/identifier.js" -import { Resource } from "@opencode/cloud-resource" +import { and, Database, eq, isNull, lt, or, sql } from "@opencode/console-core/drizzle/index.js" +import { KeyTable } from "@opencode/console-core/schema/key.sql.js" +import { BillingTable, PaymentTable, UsageTable } from "@opencode/console-core/schema/billing.sql.js" +import { centsToMicroCents } from "@opencode/console-core/util/price.js" +import { Identifier } from "@opencode/console-core/identifier.js" +import { Resource } from "@opencode/console-resource" import { Billing } from "../../../../core/src/billing" -import { Actor } from "@opencode/cloud-core/actor.js" +import { Actor } from "@opencode/console-core/actor.js" type ModelCost = { input: number diff --git a/packages/cloud/app/src/routes/zen/v1/chat/completions.ts b/packages/console/app/src/routes/zen/v1/chat/completions.ts index 801557324..801557324 100644 --- a/packages/cloud/app/src/routes/zen/v1/chat/completions.ts +++ b/packages/console/app/src/routes/zen/v1/chat/completions.ts diff --git a/packages/cloud/app/src/routes/zen/v1/messages.ts b/packages/console/app/src/routes/zen/v1/messages.ts index 1fd85d5c7..1fd85d5c7 100644 --- a/packages/cloud/app/src/routes/zen/v1/messages.ts +++ b/packages/console/app/src/routes/zen/v1/messages.ts diff --git a/packages/cloud/app/src/routes/zen/v1/responses.ts b/packages/console/app/src/routes/zen/v1/responses.ts index 486c129b9..486c129b9 100644 --- a/packages/cloud/app/src/routes/zen/v1/responses.ts +++ b/packages/console/app/src/routes/zen/v1/responses.ts diff --git a/packages/cloud/app/src/style/base.css b/packages/console/app/src/style/base.css index a4847ed43..a4847ed43 100644 --- a/packages/cloud/app/src/style/base.css +++ b/packages/console/app/src/style/base.css diff --git a/packages/cloud/app/src/style/component/button.css b/packages/console/app/src/style/component/button.css index d10f7af53..d10f7af53 100644 --- a/packages/cloud/app/src/style/component/button.css +++ b/packages/console/app/src/style/component/button.css diff --git a/packages/cloud/app/src/style/index.css b/packages/console/app/src/style/index.css index 832a901e8..832a901e8 100644 --- a/packages/cloud/app/src/style/index.css +++ b/packages/console/app/src/style/index.css diff --git a/packages/cloud/app/src/style/reset.css b/packages/console/app/src/style/reset.css index d331ed724..d331ed724 100644 --- a/packages/cloud/app/src/style/reset.css +++ b/packages/console/app/src/style/reset.css diff --git a/packages/cloud/app/src/style/token/color.css b/packages/console/app/src/style/token/color.css index f1a097d2f..f1a097d2f 100644 --- a/packages/cloud/app/src/style/token/color.css +++ b/packages/console/app/src/style/token/color.css diff --git a/packages/cloud/app/src/style/token/font.css b/packages/console/app/src/style/token/font.css index 67143e662..67143e662 100644 --- a/packages/cloud/app/src/style/token/font.css +++ b/packages/console/app/src/style/token/font.css diff --git a/packages/cloud/app/src/style/token/space.css b/packages/console/app/src/style/token/space.css index 7e1a1b397..7e1a1b397 100644 --- a/packages/cloud/app/src/style/token/space.css +++ b/packages/console/app/src/style/token/space.css diff --git a/packages/cloud/app/sst-env.d.ts b/packages/console/app/sst-env.d.ts index bd5588217..9b9de7327 100644 --- a/packages/cloud/app/sst-env.d.ts +++ b/packages/console/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/packages/cloud/app/tsconfig.json b/packages/console/app/tsconfig.json index 07148a458..07148a458 100644 --- a/packages/cloud/app/tsconfig.json +++ b/packages/console/app/tsconfig.json diff --git a/packages/cloud/core/drizzle.config.ts b/packages/console/core/drizzle.config.ts index 0b7c4417e..0b7c4417e 100644 --- a/packages/cloud/core/drizzle.config.ts +++ b/packages/console/core/drizzle.config.ts diff --git a/packages/cloud/core/migrations/0000_fluffy_raza.sql b/packages/console/core/migrations/0000_fluffy_raza.sql index 8e8173346..8e8173346 100644 --- a/packages/cloud/core/migrations/0000_fluffy_raza.sql +++ b/packages/console/core/migrations/0000_fluffy_raza.sql diff --git a/packages/cloud/core/migrations/0001_serious_whistler.sql b/packages/console/core/migrations/0001_serious_whistler.sql index 4a9a03d63..4a9a03d63 100644 --- a/packages/cloud/core/migrations/0001_serious_whistler.sql +++ b/packages/console/core/migrations/0001_serious_whistler.sql diff --git a/packages/cloud/core/migrations/0002_violet_loners.sql b/packages/console/core/migrations/0002_violet_loners.sql index 17273356c..17273356c 100644 --- a/packages/cloud/core/migrations/0002_violet_loners.sql +++ b/packages/console/core/migrations/0002_violet_loners.sql diff --git a/packages/cloud/core/migrations/0003_dusty_clint_barton.sql b/packages/console/core/migrations/0003_dusty_clint_barton.sql index 14efae216..14efae216 100644 --- a/packages/cloud/core/migrations/0003_dusty_clint_barton.sql +++ b/packages/console/core/migrations/0003_dusty_clint_barton.sql diff --git a/packages/cloud/core/migrations/0004_first_mockingbird.sql b/packages/console/core/migrations/0004_first_mockingbird.sql index 2a6b11067..2a6b11067 100644 --- a/packages/cloud/core/migrations/0004_first_mockingbird.sql +++ b/packages/console/core/migrations/0004_first_mockingbird.sql diff --git a/packages/cloud/core/migrations/0005_jazzy_skrulls.sql b/packages/console/core/migrations/0005_jazzy_skrulls.sql index 774c38dd8..774c38dd8 100644 --- a/packages/cloud/core/migrations/0005_jazzy_skrulls.sql +++ b/packages/console/core/migrations/0005_jazzy_skrulls.sql diff --git a/packages/cloud/core/migrations/0006_parallel_gauntlet.sql b/packages/console/core/migrations/0006_parallel_gauntlet.sql index a1ff78e78..a1ff78e78 100644 --- a/packages/cloud/core/migrations/0006_parallel_gauntlet.sql +++ b/packages/console/core/migrations/0006_parallel_gauntlet.sql diff --git a/packages/cloud/core/migrations/0007_familiar_nightshade.sql b/packages/console/core/migrations/0007_familiar_nightshade.sql index 89cf77f92..89cf77f92 100644 --- a/packages/cloud/core/migrations/0007_familiar_nightshade.sql +++ b/packages/console/core/migrations/0007_familiar_nightshade.sql diff --git a/packages/cloud/core/migrations/0008_eminent_ultimatum.sql b/packages/console/core/migrations/0008_eminent_ultimatum.sql index 93e40a7fe..93e40a7fe 100644 --- a/packages/cloud/core/migrations/0008_eminent_ultimatum.sql +++ b/packages/console/core/migrations/0008_eminent_ultimatum.sql diff --git a/packages/cloud/core/migrations/0009_redundant_piledriver.sql b/packages/console/core/migrations/0009_redundant_piledriver.sql index 4ba1b2d4a..4ba1b2d4a 100644 --- a/packages/cloud/core/migrations/0009_redundant_piledriver.sql +++ b/packages/console/core/migrations/0009_redundant_piledriver.sql diff --git a/packages/cloud/core/migrations/0010_needy_sue_storm.sql b/packages/console/core/migrations/0010_needy_sue_storm.sql index ffd46c9fc..ffd46c9fc 100644 --- a/packages/cloud/core/migrations/0010_needy_sue_storm.sql +++ b/packages/console/core/migrations/0010_needy_sue_storm.sql diff --git a/packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql b/packages/console/core/migrations/0011_freezing_phil_sheldon.sql index 095f25993..095f25993 100644 --- a/packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql +++ b/packages/console/core/migrations/0011_freezing_phil_sheldon.sql diff --git a/packages/cloud/core/migrations/0012_bright_photon.sql b/packages/console/core/migrations/0012_bright_photon.sql index 8ad777bcf..8ad777bcf 100644 --- a/packages/cloud/core/migrations/0012_bright_photon.sql +++ b/packages/console/core/migrations/0012_bright_photon.sql diff --git a/packages/cloud/core/migrations/0013_absurd_hobgoblin.sql b/packages/console/core/migrations/0013_absurd_hobgoblin.sql index 8c331b12f..8c331b12f 100644 --- a/packages/cloud/core/migrations/0013_absurd_hobgoblin.sql +++ b/packages/console/core/migrations/0013_absurd_hobgoblin.sql diff --git a/packages/cloud/core/migrations/meta/0000_snapshot.json b/packages/console/core/migrations/meta/0000_snapshot.json index 17d3bd7f9..17d3bd7f9 100644 --- a/packages/cloud/core/migrations/meta/0000_snapshot.json +++ b/packages/console/core/migrations/meta/0000_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0001_snapshot.json b/packages/console/core/migrations/meta/0001_snapshot.json index d23d1601d..d23d1601d 100644 --- a/packages/cloud/core/migrations/meta/0001_snapshot.json +++ b/packages/console/core/migrations/meta/0001_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0002_snapshot.json b/packages/console/core/migrations/meta/0002_snapshot.json index 45d06926c..45d06926c 100644 --- a/packages/cloud/core/migrations/meta/0002_snapshot.json +++ b/packages/console/core/migrations/meta/0002_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0003_snapshot.json b/packages/console/core/migrations/meta/0003_snapshot.json index e832ebb00..e832ebb00 100644 --- a/packages/cloud/core/migrations/meta/0003_snapshot.json +++ b/packages/console/core/migrations/meta/0003_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0004_snapshot.json b/packages/console/core/migrations/meta/0004_snapshot.json index 6d2695c48..6d2695c48 100644 --- a/packages/cloud/core/migrations/meta/0004_snapshot.json +++ b/packages/console/core/migrations/meta/0004_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0005_snapshot.json b/packages/console/core/migrations/meta/0005_snapshot.json index 12246a6d6..12246a6d6 100644 --- a/packages/cloud/core/migrations/meta/0005_snapshot.json +++ b/packages/console/core/migrations/meta/0005_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0006_snapshot.json b/packages/console/core/migrations/meta/0006_snapshot.json index d726b6f67..d726b6f67 100644 --- a/packages/cloud/core/migrations/meta/0006_snapshot.json +++ b/packages/console/core/migrations/meta/0006_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0007_snapshot.json b/packages/console/core/migrations/meta/0007_snapshot.json index 122db42cb..122db42cb 100644 --- a/packages/cloud/core/migrations/meta/0007_snapshot.json +++ b/packages/console/core/migrations/meta/0007_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0008_snapshot.json b/packages/console/core/migrations/meta/0008_snapshot.json index 02c473200..02c473200 100644 --- a/packages/cloud/core/migrations/meta/0008_snapshot.json +++ b/packages/console/core/migrations/meta/0008_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0009_snapshot.json b/packages/console/core/migrations/meta/0009_snapshot.json index a3bd57cae..a3bd57cae 100644 --- a/packages/cloud/core/migrations/meta/0009_snapshot.json +++ b/packages/console/core/migrations/meta/0009_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0010_snapshot.json b/packages/console/core/migrations/meta/0010_snapshot.json index cb55610ae..cb55610ae 100644 --- a/packages/cloud/core/migrations/meta/0010_snapshot.json +++ b/packages/console/core/migrations/meta/0010_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0011_snapshot.json b/packages/console/core/migrations/meta/0011_snapshot.json index 7eb6fa71a..7eb6fa71a 100644 --- a/packages/cloud/core/migrations/meta/0011_snapshot.json +++ b/packages/console/core/migrations/meta/0011_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0012_snapshot.json b/packages/console/core/migrations/meta/0012_snapshot.json index 4220c988b..4220c988b 100644 --- a/packages/cloud/core/migrations/meta/0012_snapshot.json +++ b/packages/console/core/migrations/meta/0012_snapshot.json diff --git a/packages/cloud/core/migrations/meta/0013_snapshot.json b/packages/console/core/migrations/meta/0013_snapshot.json index ef805ee83..ef805ee83 100644 --- a/packages/cloud/core/migrations/meta/0013_snapshot.json +++ b/packages/console/core/migrations/meta/0013_snapshot.json diff --git a/packages/cloud/core/migrations/meta/_journal.json b/packages/console/core/migrations/meta/_journal.json index 1b7d45da3..1b7d45da3 100644 --- a/packages/cloud/core/migrations/meta/_journal.json +++ b/packages/console/core/migrations/meta/_journal.json diff --git a/packages/cloud/core/package.json b/packages/console/core/package.json index e9e7fc701..e54dd4b0a 100644 --- a/packages/cloud/core/package.json +++ b/packages/console/core/package.json @@ -1,12 +1,12 @@ { "$schema": "https://json.schemastore.org/package.json", - "name": "@opencode/cloud-core", + "name": "@opencode/console-core", "version": "0.9.11", "private": true, "type": "module", "dependencies": { "@aws-sdk/client-sts": "3.782.0", - "@opencode/cloud-resource": "workspace:*", + "@opencode/console-resource": "workspace:*", "@planetscale/database": "1.19.0", "drizzle-orm": "0.41.0", "postgres": "3.4.7", diff --git a/packages/cloud/core/src/account.ts b/packages/console/core/src/account.ts index cb123e048..cb123e048 100644 --- a/packages/cloud/core/src/account.ts +++ b/packages/console/core/src/account.ts diff --git a/packages/cloud/core/src/actor.ts b/packages/console/core/src/actor.ts index 0d13f7216..0d13f7216 100644 --- a/packages/cloud/core/src/actor.ts +++ b/packages/console/core/src/actor.ts diff --git a/packages/cloud/core/src/billing.ts b/packages/console/core/src/billing.ts index 2254adc79..dda0c539f 100644 --- a/packages/cloud/core/src/billing.ts +++ b/packages/console/core/src/billing.ts @@ -5,7 +5,7 @@ import { Actor } from "./actor" import { fn } from "./util/fn" import { z } from "zod" import { User } from "./user" -import { Resource } from "@opencode/cloud-resource" +import { Resource } from "@opencode/console-resource" import { Identifier } from "./identifier" import { centsToMicroCents } from "./util/price" diff --git a/packages/cloud/core/src/context.ts b/packages/console/core/src/context.ts index c2ca6a313..c2ca6a313 100644 --- a/packages/cloud/core/src/context.ts +++ b/packages/console/core/src/context.ts diff --git a/packages/cloud/core/src/drizzle/index.ts b/packages/console/core/src/drizzle/index.ts index 806037996..899f69148 100644 --- a/packages/cloud/core/src/drizzle/index.ts +++ b/packages/console/core/src/drizzle/index.ts @@ -1,5 +1,5 @@ import { drizzle } from "drizzle-orm/planetscale-serverless" -import { Resource } from "@opencode/cloud-resource" +import { Resource } from "@opencode/console-resource" export * from "drizzle-orm" import { Client } from "@planetscale/database" diff --git a/packages/cloud/core/src/drizzle/types.ts b/packages/console/core/src/drizzle/types.ts index f16ad5a8a..f16ad5a8a 100644 --- a/packages/cloud/core/src/drizzle/types.ts +++ b/packages/console/core/src/drizzle/types.ts diff --git a/packages/cloud/core/src/identifier.ts b/packages/console/core/src/identifier.ts index f8e73852e..f8e73852e 100644 --- a/packages/cloud/core/src/identifier.ts +++ b/packages/console/core/src/identifier.ts diff --git a/packages/cloud/core/src/key.ts b/packages/console/core/src/key.ts index 28643a521..28643a521 100644 --- a/packages/cloud/core/src/key.ts +++ b/packages/console/core/src/key.ts diff --git a/packages/cloud/core/src/schema/account.sql.ts b/packages/console/core/src/schema/account.sql.ts index 4d9937114..4d9937114 100644 --- a/packages/cloud/core/src/schema/account.sql.ts +++ b/packages/console/core/src/schema/account.sql.ts diff --git a/packages/cloud/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts index 5bec4e900..5bec4e900 100644 --- a/packages/cloud/core/src/schema/billing.sql.ts +++ b/packages/console/core/src/schema/billing.sql.ts diff --git a/packages/cloud/core/src/schema/key.sql.ts b/packages/console/core/src/schema/key.sql.ts index 98b99c788..98b99c788 100644 --- a/packages/cloud/core/src/schema/key.sql.ts +++ b/packages/console/core/src/schema/key.sql.ts diff --git a/packages/cloud/core/src/schema/user.sql.ts b/packages/console/core/src/schema/user.sql.ts index 00c372d1a..00c372d1a 100644 --- a/packages/cloud/core/src/schema/user.sql.ts +++ b/packages/console/core/src/schema/user.sql.ts diff --git a/packages/cloud/core/src/schema/workspace.sql.ts b/packages/console/core/src/schema/workspace.sql.ts index 979255428..979255428 100644 --- a/packages/cloud/core/src/schema/workspace.sql.ts +++ b/packages/console/core/src/schema/workspace.sql.ts diff --git a/packages/cloud/core/src/user.ts b/packages/console/core/src/user.ts index 7914926ff..7914926ff 100644 --- a/packages/cloud/core/src/user.ts +++ b/packages/console/core/src/user.ts diff --git a/packages/cloud/core/src/util/env.cloudflare.ts b/packages/console/core/src/util/env.cloudflare.ts index e69de29bb..e69de29bb 100644 --- a/packages/cloud/core/src/util/env.cloudflare.ts +++ b/packages/console/core/src/util/env.cloudflare.ts diff --git a/packages/cloud/core/src/util/fn.ts b/packages/console/core/src/util/fn.ts index 9efe4622f..9efe4622f 100644 --- a/packages/cloud/core/src/util/fn.ts +++ b/packages/console/core/src/util/fn.ts diff --git a/packages/cloud/core/src/util/log.ts b/packages/console/core/src/util/log.ts index 4f2d25c13..4f2d25c13 100644 --- a/packages/cloud/core/src/util/log.ts +++ b/packages/console/core/src/util/log.ts diff --git a/packages/cloud/core/src/util/memo.ts b/packages/console/core/src/util/memo.ts index 49043010f..49043010f 100644 --- a/packages/cloud/core/src/util/memo.ts +++ b/packages/console/core/src/util/memo.ts diff --git a/packages/cloud/core/src/util/price.ts b/packages/console/core/src/util/price.ts index abdbca032..abdbca032 100644 --- a/packages/cloud/core/src/util/price.ts +++ b/packages/console/core/src/util/price.ts diff --git a/packages/cloud/core/src/workspace.ts b/packages/console/core/src/workspace.ts index a9fb923d6..a9fb923d6 100644 --- a/packages/cloud/core/src/workspace.ts +++ b/packages/console/core/src/workspace.ts diff --git a/packages/cloud/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts index bd5588217..9b9de7327 100644 --- a/packages/cloud/core/sst-env.d.ts +++ b/packages/console/core/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/cloud/core/tsconfig.json b/packages/console/core/tsconfig.json index 0faf16aab..0faf16aab 100644 --- a/packages/cloud/core/tsconfig.json +++ b/packages/console/core/tsconfig.json diff --git a/packages/cloud/function/package.json b/packages/console/function/package.json index 856db3696..4ced6510b 100644 --- a/packages/cloud/function/package.json +++ b/packages/console/function/package.json @@ -1,5 +1,5 @@ { - "name": "@opencode/cloud-function", + "name": "@opencode/console-function", "version": "0.9.11", "$schema": "https://json.schemastore.org/package.json", "private": true, diff --git a/packages/cloud/function/src/auth.ts b/packages/console/function/src/auth.ts index 776855e46..5dc799683 100644 --- a/packages/cloud/function/src/auth.ts +++ b/packages/console/function/src/auth.ts @@ -6,11 +6,11 @@ import { THEME_OPENAUTH } from "@openauthjs/openauth/ui/theme" import { GithubProvider } from "@openauthjs/openauth/provider/github" import { GoogleOidcProvider } from "@openauthjs/openauth/provider/google" import { CloudflareStorage } from "@openauthjs/openauth/storage/cloudflare" -import { Account } from "@opencode/cloud-core/account.js" -import { Workspace } from "@opencode/cloud-core/workspace.js" -import { Actor } from "@opencode/cloud-core/actor.js" -import { Resource } from "@opencode/cloud-resource" -import { Database } from "@opencode/cloud-core/drizzle/index.js" +import { Account } from "@opencode/console-core/account.js" +import { Workspace } from "@opencode/console-core/workspace.js" +import { Actor } from "@opencode/console-core/actor.js" +import { Resource } from "@opencode/console-resource" +import { Database } from "@opencode/console-core/drizzle/index.js" type Env = { AuthStorage: KVNamespace diff --git a/packages/cloud/function/src/log-processor.ts b/packages/console/function/src/log-processor.ts index 70fcf5a44..21b9b214e 100644 --- a/packages/cloud/function/src/log-processor.ts +++ b/packages/console/function/src/log-processor.ts @@ -1,4 +1,4 @@ -import { Resource } from "@opencode/cloud-resource" +import { Resource } from "@opencode/console-resource" import type { TraceItem } from "@cloudflare/workers-types" export default { diff --git a/packages/console/function/sst-env.d.ts b/packages/console/function/sst-env.d.ts new file mode 100644 index 000000000..09c60c7c2 --- /dev/null +++ b/packages/console/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/packages/cloud/function/tsconfig.json b/packages/console/function/tsconfig.json index 0faf16aab..0faf16aab 100644 --- a/packages/cloud/function/tsconfig.json +++ b/packages/console/function/tsconfig.json diff --git a/packages/cloud/resource/bun.lock b/packages/console/resource/bun.lock index 56bdf44ca..56bdf44ca 100644 --- a/packages/cloud/resource/bun.lock +++ b/packages/console/resource/bun.lock diff --git a/packages/cloud/resource/package.json b/packages/console/resource/package.json index fd9fa6f34..94a654548 100644 --- a/packages/cloud/resource/package.json +++ b/packages/console/resource/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "name": "@opencode/cloud-resource", + "name": "@opencode/console-resource", "dependencies": { "@cloudflare/workers-types": "^4.20250830.0" }, diff --git a/packages/cloud/resource/resource.cloudflare.ts b/packages/console/resource/resource.cloudflare.ts index a56b1e417..a56b1e417 100644 --- a/packages/cloud/resource/resource.cloudflare.ts +++ b/packages/console/resource/resource.cloudflare.ts diff --git a/packages/cloud/resource/resource.node.ts b/packages/console/resource/resource.node.ts index d7dbb6c6d..d7dbb6c6d 100644 --- a/packages/cloud/resource/resource.node.ts +++ b/packages/console/resource/resource.node.ts diff --git a/packages/console/resource/sst-env.d.ts b/packages/console/resource/sst-env.d.ts new file mode 100644 index 000000000..09c60c7c2 --- /dev/null +++ b/packages/console/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/packages/cloud/resource/tsconfig.json b/packages/console/resource/tsconfig.json index 0faf16aab..0faf16aab 100644 --- a/packages/cloud/resource/tsconfig.json +++ b/packages/console/resource/tsconfig.json diff --git a/packages/cloud/scripts/.gitignore b/packages/console/scripts/.gitignore index 18c5ea0f8..18c5ea0f8 100644 --- a/packages/cloud/scripts/.gitignore +++ b/packages/console/scripts/.gitignore diff --git a/packages/cloud/scripts/package.json b/packages/console/scripts/package.json index bddc1b967..06795ee15 100644 --- a/packages/cloud/scripts/package.json +++ b/packages/console/scripts/package.json @@ -1,5 +1,5 @@ { - "name": "@opencode/cloud-scripts", + "name": "@opencode/console-scripts", "version": "0.9.11", "$schema": "https://json.schemastore.org/package.json", "private": true, @@ -10,7 +10,7 @@ "shell-prod": "sst shell --stage production -- bun tsx" }, "dependencies": { - "@opencode/cloud-core": "workspace:*", + "@opencode/console-core": "workspace:*", "tsx": "4.20.5" }, "devDependencies": { diff --git a/packages/cloud/scripts/src/backfill-usage-provider.ts b/packages/console/scripts/src/backfill-usage-provider.ts index 553dcb478..1485735da 100644 --- a/packages/cloud/scripts/src/backfill-usage-provider.ts +++ b/packages/console/scripts/src/backfill-usage-provider.ts @@ -1,5 +1,5 @@ -import { Database, eq } from "@opencode/cloud-core/drizzle/index.js" -import { UsageTable } from "@opencode/cloud-core/schema/billing.sql.js" +import { Database, eq } from "@opencode/console-core/drizzle/index.js" +import { UsageTable } from "@opencode/console-core/schema/billing.sql.js" await Database.use(async (tx) => { await tx diff --git a/packages/cloud/scripts/sst-env.d.ts b/packages/console/scripts/sst-env.d.ts index bd5588217..9b9de7327 100644 --- a/packages/cloud/scripts/sst-env.d.ts +++ b/packages/console/scripts/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/cloud/scripts/tsconfig.json b/packages/console/scripts/tsconfig.json index 0faf16aab..0faf16aab 100644 --- a/packages/cloud/scripts/tsconfig.json +++ b/packages/console/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 diff --git a/sst.config.ts b/sst.config.ts index 05e50e50a..5fcd4273a 100644 --- a/sst.config.ts +++ b/sst.config.ts @@ -16,7 +16,7 @@ export default $config({ }, async run() { await import("./infra/app.js") - await import("./infra/cloud.js") + await import("./infra/console.js") //await import("./infra/desktop.js") }, }) |
