Frank 5 месяцев назад
Родитель
Сommit
fc4f281408
100 измененных файлов с 51 добавлено и 243 удалено
  1. 42 42
      bun.lock
  2. 0 96
      cloud/function/sst-env.d.ts
  3. 0 96
      cloud/resource/sst-env.d.ts
  4. 1 1
      github/sst-env.d.ts
  5. 4 4
      infra/cloud.ts
  6. 1 1
      package.json
  7. 1 1
      packages/app/sst-env.d.ts
  8. 0 0
      packages/cloud/app/.gitignore
  9. 0 0
      packages/cloud/app/.opencode/agent/css.md
  10. 0 0
      packages/cloud/app/README.md
  11. 0 0
      packages/cloud/app/app.config.ts
  12. 0 0
      packages/cloud/app/package.json
  13. 0 0
      packages/cloud/app/public/favicon.svg
  14. 0 0
      packages/cloud/app/public/robots.txt
  15. 0 0
      packages/cloud/app/public/social-share.png
  16. 0 0
      packages/cloud/app/public/theme.json
  17. 0 0
      packages/cloud/app/src/app.css
  18. 0 0
      packages/cloud/app/src/app.tsx
  19. 0 0
      packages/cloud/app/src/asset/lander/check.svg
  20. 0 0
      packages/cloud/app/src/asset/lander/copy.svg
  21. 0 0
      packages/cloud/app/src/asset/lander/screenshot-github.png
  22. 0 0
      packages/cloud/app/src/asset/lander/screenshot-splash.png
  23. 0 0
      packages/cloud/app/src/asset/lander/screenshot-vscode.png
  24. 0 0
      packages/cloud/app/src/asset/lander/screenshot.png
  25. 0 0
      packages/cloud/app/src/asset/logo-ornate-dark.svg
  26. 0 0
      packages/cloud/app/src/asset/logo-ornate-light.svg
  27. 0 0
      packages/cloud/app/src/asset/logo.svg
  28. 0 0
      packages/cloud/app/src/component/icon.tsx
  29. 0 0
      packages/cloud/app/src/component/workspace/billing-section.module.css
  30. 0 0
      packages/cloud/app/src/component/workspace/billing-section.tsx
  31. 0 0
      packages/cloud/app/src/component/workspace/common.tsx
  32. 0 0
      packages/cloud/app/src/component/workspace/key-section.module.css
  33. 0 0
      packages/cloud/app/src/component/workspace/key-section.tsx
  34. 0 0
      packages/cloud/app/src/component/workspace/monthly-limit-section.module.css
  35. 0 0
      packages/cloud/app/src/component/workspace/monthly-limit-section.tsx
  36. 0 0
      packages/cloud/app/src/component/workspace/new-user-section.module.css
  37. 0 0
      packages/cloud/app/src/component/workspace/new-user-section.tsx
  38. 0 0
      packages/cloud/app/src/component/workspace/payment-section.module.css
  39. 0 0
      packages/cloud/app/src/component/workspace/payment-section.tsx
  40. 0 0
      packages/cloud/app/src/component/workspace/usage-section.module.css
  41. 0 0
      packages/cloud/app/src/component/workspace/usage-section.tsx
  42. 0 0
      packages/cloud/app/src/context/auth.session.ts
  43. 0 0
      packages/cloud/app/src/context/auth.ts
  44. 0 0
      packages/cloud/app/src/context/auth.withActor.ts
  45. 0 0
      packages/cloud/app/src/entry-client.tsx
  46. 0 0
      packages/cloud/app/src/entry-server.tsx
  47. 0 0
      packages/cloud/app/src/global.d.ts
  48. 0 0
      packages/cloud/app/src/middleware.ts
  49. 0 0
      packages/cloud/app/src/routes/[...404].css
  50. 0 0
      packages/cloud/app/src/routes/[...404].tsx
  51. 0 0
      packages/cloud/app/src/routes/auth/authorize.ts
  52. 0 0
      packages/cloud/app/src/routes/auth/callback.ts
  53. 0 0
      packages/cloud/app/src/routes/auth/index.ts
  54. 0 0
      packages/cloud/app/src/routes/debug/index.ts
  55. 0 0
      packages/cloud/app/src/routes/discord.ts
  56. 0 0
      packages/cloud/app/src/routes/docs/[...path].ts
  57. 0 0
      packages/cloud/app/src/routes/docs/index.ts
  58. 0 0
      packages/cloud/app/src/routes/index.css
  59. 0 0
      packages/cloud/app/src/routes/index.tsx
  60. 0 0
      packages/cloud/app/src/routes/s/[id].ts
  61. 0 0
      packages/cloud/app/src/routes/stripe/webhook.ts
  62. 0 0
      packages/cloud/app/src/routes/workspace.css
  63. 0 0
      packages/cloud/app/src/routes/workspace.tsx
  64. 0 0
      packages/cloud/app/src/routes/workspace/[id].css
  65. 0 0
      packages/cloud/app/src/routes/workspace/[id].tsx
  66. 0 0
      packages/cloud/app/src/routes/workspace/index.tsx
  67. 0 0
      packages/cloud/app/src/routes/zen/handler.ts
  68. 0 0
      packages/cloud/app/src/routes/zen/v1/chat/completions.ts
  69. 0 0
      packages/cloud/app/src/routes/zen/v1/messages.ts
  70. 0 0
      packages/cloud/app/src/routes/zen/v1/responses.ts
  71. 0 0
      packages/cloud/app/src/style/base.css
  72. 0 0
      packages/cloud/app/src/style/component/button.css
  73. 0 0
      packages/cloud/app/src/style/index.css
  74. 0 0
      packages/cloud/app/src/style/reset.css
  75. 0 0
      packages/cloud/app/src/style/token/color.css
  76. 0 0
      packages/cloud/app/src/style/token/font.css
  77. 0 0
      packages/cloud/app/src/style/token/space.css
  78. 2 2
      packages/cloud/app/sst-env.d.ts
  79. 0 0
      packages/cloud/app/tsconfig.json
  80. 0 0
      packages/cloud/core/drizzle.config.ts
  81. 0 0
      packages/cloud/core/migrations/0000_fluffy_raza.sql
  82. 0 0
      packages/cloud/core/migrations/0001_serious_whistler.sql
  83. 0 0
      packages/cloud/core/migrations/0002_violet_loners.sql
  84. 0 0
      packages/cloud/core/migrations/0003_dusty_clint_barton.sql
  85. 0 0
      packages/cloud/core/migrations/0004_first_mockingbird.sql
  86. 0 0
      packages/cloud/core/migrations/0005_jazzy_skrulls.sql
  87. 0 0
      packages/cloud/core/migrations/0006_parallel_gauntlet.sql
  88. 0 0
      packages/cloud/core/migrations/0007_familiar_nightshade.sql
  89. 0 0
      packages/cloud/core/migrations/0008_eminent_ultimatum.sql
  90. 0 0
      packages/cloud/core/migrations/0009_redundant_piledriver.sql
  91. 0 0
      packages/cloud/core/migrations/0010_needy_sue_storm.sql
  92. 0 0
      packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql
  93. 0 0
      packages/cloud/core/migrations/0012_bright_photon.sql
  94. 0 0
      packages/cloud/core/migrations/0013_absurd_hobgoblin.sql
  95. 0 0
      packages/cloud/core/migrations/meta/0000_snapshot.json
  96. 0 0
      packages/cloud/core/migrations/meta/0001_snapshot.json
  97. 0 0
      packages/cloud/core/migrations/meta/0002_snapshot.json
  98. 0 0
      packages/cloud/core/migrations/meta/0003_snapshot.json
  99. 0 0
      packages/cloud/core/migrations/meta/0004_snapshot.json
  100. 0 0
      packages/cloud/core/migrations/meta/0005_snapshot.json

+ 42 - 42
bun.lock

@@ -12,7 +12,39 @@
         "turbo": "2.5.6",
       },
     },
-    "cloud/app": {
+    "packages/app": {
+      "name": "@opencode/app",
+      "version": "0.9.11",
+      "dependencies": {
+        "@kobalte/core": "0.13.11",
+        "@opencode-ai/sdk": "workspace:*",
+        "@shikijs/transformers": "3.9.2",
+        "@solid-primitives/resize-observer": "2.1.3",
+        "@solid-primitives/scroll": "2.1.3",
+        "@solidjs/router": "0.15.3",
+        "@thisbeyond/solid-dnd": "0.7.5",
+        "diff": "8.0.2",
+        "luxon": "3.7.1",
+        "marked": "16.2.0",
+        "marked-shiki": "1.2.1",
+        "remeda": "catalog:",
+        "shiki": "3.9.2",
+        "solid-js": "catalog:",
+        "solid-list": "0.3.0",
+        "tailwindcss": "4.1.11",
+        "virtua": "0.42.3",
+      },
+      "devDependencies": {
+        "@tailwindcss/vite": "4.1.11",
+        "@types/luxon": "3.7.1",
+        "@types/node": "catalog:",
+        "typescript": "catalog:",
+        "vite": "^6.0.0",
+        "vite-plugin-icons-spritesheet": "3.0.1",
+        "vite-plugin-solid": "^2.11.6",
+      },
+    },
+    "packages/cloud/app": {
       "name": "@opencode/cloud-app",
       "dependencies": {
         "@ibm/plex": "6.4.1",
@@ -25,7 +57,7 @@
         "vinxi": "^0.5.7",
       },
     },
-    "cloud/core": {
+    "packages/cloud/core": {
       "name": "@opencode/cloud-core",
       "version": "0.9.11",
       "dependencies": {
@@ -42,7 +74,7 @@
         "mysql2": "3.14.4",
       },
     },
-    "cloud/function": {
+    "packages/cloud/function": {
       "name": "@opencode/cloud-function",
       "version": "0.9.11",
       "dependencies": {
@@ -62,13 +94,13 @@
         "typescript": "catalog:",
       },
     },
-    "cloud/resource": {
+    "packages/cloud/resource": {
       "name": "@opencode/cloud-resource",
       "dependencies": {
         "@cloudflare/workers-types": "^4.20250830.0",
       },
     },
-    "cloud/scripts": {
+    "packages/cloud/scripts": {
       "name": "@opencode/cloud-scripts",
       "version": "0.9.11",
       "dependencies": {
@@ -80,38 +112,6 @@
         "typescript": "catalog:",
       },
     },
-    "packages/app": {
-      "name": "@opencode/app",
-      "version": "0.9.11",
-      "dependencies": {
-        "@kobalte/core": "0.13.11",
-        "@opencode-ai/sdk": "workspace:*",
-        "@shikijs/transformers": "3.9.2",
-        "@solid-primitives/resize-observer": "2.1.3",
-        "@solid-primitives/scroll": "2.1.3",
-        "@solidjs/router": "0.15.3",
-        "@thisbeyond/solid-dnd": "0.7.5",
-        "diff": "8.0.2",
-        "luxon": "3.7.1",
-        "marked": "16.2.0",
-        "marked-shiki": "1.2.1",
-        "remeda": "catalog:",
-        "shiki": "3.9.2",
-        "solid-js": "catalog:",
-        "solid-list": "0.3.0",
-        "tailwindcss": "4.1.11",
-        "virtua": "0.42.3",
-      },
-      "devDependencies": {
-        "@tailwindcss/vite": "4.1.11",
-        "@types/luxon": "3.7.1",
-        "@types/node": "catalog:",
-        "typescript": "catalog:",
-        "vite": "^6.0.0",
-        "vite-plugin-icons-spritesheet": "3.0.1",
-        "vite-plugin-solid": "^2.11.6",
-      },
-    },
     "packages/function": {
       "name": "@opencode/function",
       "version": "0.9.11",
@@ -693,15 +693,15 @@
 
     "@opencode/app": ["@opencode/app@workspace:packages/app"],
 
-    "@opencode/cloud-app": ["@opencode/cloud-app@workspace:cloud/app"],
+    "@opencode/cloud-app": ["@opencode/cloud-app@workspace:packages/cloud/app"],
 
-    "@opencode/cloud-core": ["@opencode/cloud-core@workspace:cloud/core"],
+    "@opencode/cloud-core": ["@opencode/cloud-core@workspace:packages/cloud/core"],
 
-    "@opencode/cloud-function": ["@opencode/cloud-function@workspace:cloud/function"],
+    "@opencode/cloud-function": ["@opencode/cloud-function@workspace:packages/cloud/function"],
 
-    "@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:cloud/resource"],
+    "@opencode/cloud-resource": ["@opencode/cloud-resource@workspace:packages/cloud/resource"],
 
-    "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:cloud/scripts"],
+    "@opencode/cloud-scripts": ["@opencode/cloud-scripts@workspace:packages/cloud/scripts"],
 
     "@opencode/function": ["@opencode/function@workspace:packages/function"],
 

+ 0 - 96
cloud/function/sst-env.d.ts

@@ -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 {}

+ 0 - 96
cloud/resource/sst-env.d.ts

@@ -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 {}

+ 1 - 1
github/sst-env.d.ts

@@ -6,4 +6,4 @@
 /// <reference path="../sst-env.d.ts" />
 
 import "sst"
-export {}
+export {}

+ 4 - 4
infra/cloud.ts

@@ -44,7 +44,7 @@ new sst.x.DevCommand("Studio", {
   link: [database],
   dev: {
     command: "bun db studio",
-    directory: "cloud/core",
+    directory: "packages/cloud/core",
     autostart: true,
   },
 })
@@ -59,7 +59,7 @@ const GOOGLE_CLIENT_ID = new sst.Secret("GOOGLE_CLIENT_ID")
 const authStorage = new sst.cloudflare.Kv("AuthStorage")
 export const auth = new sst.cloudflare.Worker("AuthApi", {
   domain: `auth.${domain}`,
-  handler: "cloud/function/src/auth.ts",
+  handler: "packages/cloud/function/src/auth.ts",
   url: true,
   link: [database, authStorage, GITHUB_CLIENT_ID_CONSOLE, GITHUB_CLIENT_SECRET_CONSOLE, GOOGLE_CLIENT_ID],
 })
@@ -120,14 +120,14 @@ let logProcessor
 if ($app.stage === "production" || $app.stage === "frank") {
   const HONEYCOMB_API_KEY = new sst.Secret("HONEYCOMB_API_KEY")
   logProcessor = new sst.cloudflare.Worker("LogProcessor", {
-    handler: "cloud/function/src/log-processor.ts",
+    handler: "packages/cloud/function/src/log-processor.ts",
     link: [HONEYCOMB_API_KEY],
   })
 }
 
 new sst.cloudflare.x.SolidStart("Console", {
   domain,
-  path: "cloud/app",
+  path: "packages/cloud/app",
   link: [
     database,
     AUTH_API_URL,

+ 1 - 1
package.json

@@ -12,8 +12,8 @@
   },
   "workspaces": {
     "packages": [
-      "cloud/*",
       "packages/*",
+      "packages/cloud/*",
       "packages/sdk/js"
     ],
     "catalog": {

+ 1 - 1
packages/app/sst-env.d.ts

@@ -6,4 +6,4 @@
 /// <reference path="../../sst-env.d.ts" />
 
 import "sst"
-export {}
+export {}

+ 0 - 0
cloud/app/.gitignore → packages/cloud/app/.gitignore


+ 0 - 0
cloud/app/.opencode/agent/css.md → packages/cloud/app/.opencode/agent/css.md


+ 0 - 0
cloud/app/README.md → packages/cloud/app/README.md


+ 0 - 0
cloud/app/app.config.ts → packages/cloud/app/app.config.ts


+ 0 - 0
cloud/app/package.json → packages/cloud/app/package.json


+ 0 - 0
cloud/app/public/favicon.svg → packages/cloud/app/public/favicon.svg


+ 0 - 0
cloud/app/public/robots.txt → packages/cloud/app/public/robots.txt


+ 0 - 0
cloud/app/public/social-share.png → packages/cloud/app/public/social-share.png


+ 0 - 0
cloud/app/public/theme.json → packages/cloud/app/public/theme.json


+ 0 - 0
cloud/app/src/app.css → packages/cloud/app/src/app.css


+ 0 - 0
cloud/app/src/app.tsx → packages/cloud/app/src/app.tsx


+ 0 - 0
cloud/app/src/asset/lander/check.svg → packages/cloud/app/src/asset/lander/check.svg


+ 0 - 0
cloud/app/src/asset/lander/copy.svg → packages/cloud/app/src/asset/lander/copy.svg


+ 0 - 0
cloud/app/src/asset/lander/screenshot-github.png → packages/cloud/app/src/asset/lander/screenshot-github.png


+ 0 - 0
cloud/app/src/asset/lander/screenshot-splash.png → packages/cloud/app/src/asset/lander/screenshot-splash.png


+ 0 - 0
cloud/app/src/asset/lander/screenshot-vscode.png → packages/cloud/app/src/asset/lander/screenshot-vscode.png


+ 0 - 0
cloud/app/src/asset/lander/screenshot.png → packages/cloud/app/src/asset/lander/screenshot.png


+ 0 - 0
cloud/app/src/asset/logo-ornate-dark.svg → packages/cloud/app/src/asset/logo-ornate-dark.svg


+ 0 - 0
cloud/app/src/asset/logo-ornate-light.svg → packages/cloud/app/src/asset/logo-ornate-light.svg


+ 0 - 0
cloud/app/src/asset/logo.svg → packages/cloud/app/src/asset/logo.svg


+ 0 - 0
cloud/app/src/component/icon.tsx → packages/cloud/app/src/component/icon.tsx


+ 0 - 0
cloud/app/src/component/workspace/billing-section.module.css → packages/cloud/app/src/component/workspace/billing-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/billing-section.tsx → packages/cloud/app/src/component/workspace/billing-section.tsx


+ 0 - 0
cloud/app/src/component/workspace/common.tsx → packages/cloud/app/src/component/workspace/common.tsx


+ 0 - 0
cloud/app/src/component/workspace/key-section.module.css → packages/cloud/app/src/component/workspace/key-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/key-section.tsx → packages/cloud/app/src/component/workspace/key-section.tsx


+ 0 - 0
cloud/app/src/component/workspace/monthly-limit-section.module.css → packages/cloud/app/src/component/workspace/monthly-limit-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/monthly-limit-section.tsx → packages/cloud/app/src/component/workspace/monthly-limit-section.tsx


+ 0 - 0
cloud/app/src/component/workspace/new-user-section.module.css → packages/cloud/app/src/component/workspace/new-user-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/new-user-section.tsx → packages/cloud/app/src/component/workspace/new-user-section.tsx


+ 0 - 0
cloud/app/src/component/workspace/payment-section.module.css → packages/cloud/app/src/component/workspace/payment-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/payment-section.tsx → packages/cloud/app/src/component/workspace/payment-section.tsx


+ 0 - 0
cloud/app/src/component/workspace/usage-section.module.css → packages/cloud/app/src/component/workspace/usage-section.module.css


+ 0 - 0
cloud/app/src/component/workspace/usage-section.tsx → packages/cloud/app/src/component/workspace/usage-section.tsx


+ 0 - 0
cloud/app/src/context/auth.session.ts → packages/cloud/app/src/context/auth.session.ts


+ 0 - 0
cloud/app/src/context/auth.ts → packages/cloud/app/src/context/auth.ts


+ 0 - 0
cloud/app/src/context/auth.withActor.ts → packages/cloud/app/src/context/auth.withActor.ts


+ 0 - 0
cloud/app/src/entry-client.tsx → packages/cloud/app/src/entry-client.tsx


+ 0 - 0
cloud/app/src/entry-server.tsx → packages/cloud/app/src/entry-server.tsx


+ 0 - 0
cloud/app/src/global.d.ts → packages/cloud/app/src/global.d.ts


+ 0 - 0
cloud/app/src/middleware.ts → packages/cloud/app/src/middleware.ts


+ 0 - 0
cloud/app/src/routes/[...404].css → packages/cloud/app/src/routes/[...404].css


+ 0 - 0
cloud/app/src/routes/[...404].tsx → packages/cloud/app/src/routes/[...404].tsx


+ 0 - 0
cloud/app/src/routes/auth/authorize.ts → packages/cloud/app/src/routes/auth/authorize.ts


+ 0 - 0
cloud/app/src/routes/auth/callback.ts → packages/cloud/app/src/routes/auth/callback.ts


+ 0 - 0
cloud/app/src/routes/auth/index.ts → packages/cloud/app/src/routes/auth/index.ts


+ 0 - 0
cloud/app/src/routes/debug/index.ts → packages/cloud/app/src/routes/debug/index.ts


+ 0 - 0
cloud/app/src/routes/discord.ts → packages/cloud/app/src/routes/discord.ts


+ 0 - 0
cloud/app/src/routes/docs/[...path].ts → packages/cloud/app/src/routes/docs/[...path].ts


+ 0 - 0
cloud/app/src/routes/docs/index.ts → packages/cloud/app/src/routes/docs/index.ts


+ 0 - 0
cloud/app/src/routes/index.css → packages/cloud/app/src/routes/index.css


+ 0 - 0
cloud/app/src/routes/index.tsx → packages/cloud/app/src/routes/index.tsx


+ 0 - 0
cloud/app/src/routes/s/[id].ts → packages/cloud/app/src/routes/s/[id].ts


+ 0 - 0
cloud/app/src/routes/stripe/webhook.ts → packages/cloud/app/src/routes/stripe/webhook.ts


+ 0 - 0
cloud/app/src/routes/workspace.css → packages/cloud/app/src/routes/workspace.css


+ 0 - 0
cloud/app/src/routes/workspace.tsx → packages/cloud/app/src/routes/workspace.tsx


+ 0 - 0
cloud/app/src/routes/workspace/[id].css → packages/cloud/app/src/routes/workspace/[id].css


+ 0 - 0
cloud/app/src/routes/workspace/[id].tsx → packages/cloud/app/src/routes/workspace/[id].tsx


+ 0 - 0
cloud/app/src/routes/workspace/index.tsx → packages/cloud/app/src/routes/workspace/index.tsx


+ 0 - 0
cloud/app/src/routes/zen/handler.ts → packages/cloud/app/src/routes/zen/handler.ts


+ 0 - 0
cloud/app/src/routes/zen/v1/chat/completions.ts → packages/cloud/app/src/routes/zen/v1/chat/completions.ts


+ 0 - 0
cloud/app/src/routes/zen/v1/messages.ts → packages/cloud/app/src/routes/zen/v1/messages.ts


+ 0 - 0
cloud/app/src/routes/zen/v1/responses.ts → packages/cloud/app/src/routes/zen/v1/responses.ts


+ 0 - 0
cloud/app/src/style/base.css → packages/cloud/app/src/style/base.css


+ 0 - 0
cloud/app/src/style/component/button.css → packages/cloud/app/src/style/component/button.css


+ 0 - 0
cloud/app/src/style/index.css → packages/cloud/app/src/style/index.css


+ 0 - 0
cloud/app/src/style/reset.css → packages/cloud/app/src/style/reset.css


+ 0 - 0
cloud/app/src/style/token/color.css → packages/cloud/app/src/style/token/color.css


+ 0 - 0
cloud/app/src/style/token/font.css → packages/cloud/app/src/style/token/font.css


+ 0 - 0
cloud/app/src/style/token/space.css → packages/cloud/app/src/style/token/space.css


+ 2 - 2
cloud/app/sst-env.d.ts → packages/cloud/app/sst-env.d.ts

@@ -3,7 +3,7 @@
 /* eslint-disable */
 /* deno-fmt-ignore-file */
 
-/// <reference path="../../sst-env.d.ts" />
+/// <reference path="../../../sst-env.d.ts" />
 
 import "sst"
-export {}
+export {}

+ 0 - 0
cloud/app/tsconfig.json → packages/cloud/app/tsconfig.json


+ 0 - 0
cloud/core/drizzle.config.ts → packages/cloud/core/drizzle.config.ts


+ 0 - 0
cloud/core/migrations/0000_fluffy_raza.sql → packages/cloud/core/migrations/0000_fluffy_raza.sql


+ 0 - 0
cloud/core/migrations/0001_serious_whistler.sql → packages/cloud/core/migrations/0001_serious_whistler.sql


+ 0 - 0
cloud/core/migrations/0002_violet_loners.sql → packages/cloud/core/migrations/0002_violet_loners.sql


+ 0 - 0
cloud/core/migrations/0003_dusty_clint_barton.sql → packages/cloud/core/migrations/0003_dusty_clint_barton.sql


+ 0 - 0
cloud/core/migrations/0004_first_mockingbird.sql → packages/cloud/core/migrations/0004_first_mockingbird.sql


+ 0 - 0
cloud/core/migrations/0005_jazzy_skrulls.sql → packages/cloud/core/migrations/0005_jazzy_skrulls.sql


+ 0 - 0
cloud/core/migrations/0006_parallel_gauntlet.sql → packages/cloud/core/migrations/0006_parallel_gauntlet.sql


+ 0 - 0
cloud/core/migrations/0007_familiar_nightshade.sql → packages/cloud/core/migrations/0007_familiar_nightshade.sql


+ 0 - 0
cloud/core/migrations/0008_eminent_ultimatum.sql → packages/cloud/core/migrations/0008_eminent_ultimatum.sql


+ 0 - 0
cloud/core/migrations/0009_redundant_piledriver.sql → packages/cloud/core/migrations/0009_redundant_piledriver.sql


+ 0 - 0
cloud/core/migrations/0010_needy_sue_storm.sql → packages/cloud/core/migrations/0010_needy_sue_storm.sql


+ 0 - 0
cloud/core/migrations/0011_freezing_phil_sheldon.sql → packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql


+ 0 - 0
cloud/core/migrations/0012_bright_photon.sql → packages/cloud/core/migrations/0012_bright_photon.sql


+ 0 - 0
cloud/core/migrations/0013_absurd_hobgoblin.sql → packages/cloud/core/migrations/0013_absurd_hobgoblin.sql


+ 0 - 0
cloud/core/migrations/meta/0000_snapshot.json → packages/cloud/core/migrations/meta/0000_snapshot.json


+ 0 - 0
cloud/core/migrations/meta/0001_snapshot.json → packages/cloud/core/migrations/meta/0001_snapshot.json


+ 0 - 0
cloud/core/migrations/meta/0002_snapshot.json → packages/cloud/core/migrations/meta/0002_snapshot.json


+ 0 - 0
cloud/core/migrations/meta/0003_snapshot.json → packages/cloud/core/migrations/meta/0003_snapshot.json


+ 0 - 0
cloud/core/migrations/meta/0004_snapshot.json → packages/cloud/core/migrations/meta/0004_snapshot.json


+ 0 - 0
cloud/core/migrations/meta/0005_snapshot.json → packages/cloud/core/migrations/meta/0005_snapshot.json


Некоторые файлы не были показаны из-за большого количества измененных файлов