diff --git a/bun.lock b/bun.lock
index 48c8ea5b..b19e2364 100644
--- a/bun.lock
+++ b/bun.lock
@@ -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/abort-controller@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-vkzula+IwRvPR6oKQhMYioM3A/oX/lFCZiwuxkQbRhqJS2S4YRY2k7k/SyR2jMf3607HLtbEwlRxi0ndXHMjRg=="],
- "@smithy/config-resolver": ["@smithy/config-resolver@4.2.1", "", { "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/config-resolver@4.2.2", "", { "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/core@3.11.0", "", { "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/core@3.11.1", "", { "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/credential-provider-imds@4.1.1", "", { "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/credential-provider-imds@4.1.2", "", { "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/eventstream-codec@4.1.1", "", { "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/middleware-content-length@4.1.1", "", { "dependencies": { "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-9wlfBBgTsRvC2JxLJxv4xDGNBrZuio3AgSl0lSFX7fneW2cGskXTYpFxCdRYD2+5yzmsiTuaAJD1Wp7gWt9y9w=="],
- "@smithy/middleware-endpoint": ["@smithy/middleware-endpoint@4.2.1", "", { "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/middleware-endpoint@4.2.3", "", { "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/middleware-retry@4.2.1", "", { "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/middleware-retry@4.2.4", "", { "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/middleware-serde@4.1.1", "", { "dependencies": { "@smithy/protocol-http": "^5.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-lh48uQdbCoj619kRouev5XbWhCwRKLmphAif16c4J6JgJ4uXjub1PI6RL38d3BLliUvSso6klyB/LTNpWSNIyg=="],
"@smithy/middleware-stack": ["@smithy/middleware-stack@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-ygRnniqNcDhHzs6QAPIdia26M7e7z9gpkIMUe/pK0RsrQ7i5MblwxY8078/QCnGq6AmlUUWgljK2HlelsKIb/A=="],
- "@smithy/node-config-provider": ["@smithy/node-config-provider@4.2.1", "", { "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/node-config-provider@4.2.2", "", { "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/node-http-handler@4.2.1", "", { "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/querystring-parser@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-63TEp92YFz0oQ7Pj9IuI3IgnprP92LrZtRAkE3c6wLWJxfy/yOPRt39IOKerVr0JS770olzl0kGafXlAXZ1vng=="],
- "@smithy/service-error-classification": ["@smithy/service-error-classification@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0" } }, "sha512-Iam75b/JNXyDE41UvrlM6n8DNOa/r1ylFyvgruTUx7h2Uk7vDNV9AAwP1vfL1fOL8ls0xArwEGVcGZVd7IO/Cw=="],
+ "@smithy/service-error-classification": ["@smithy/service-error-classification@4.1.2", "", { "dependencies": { "@smithy/types": "^4.5.0" } }, "sha512-Kqd8wyfmBWHZNppZSMfrQFpc3M9Y/kjyN8n8P4DqJJtuwgK1H914R471HTw7+RL+T7+kI1f1gOnL7Vb5z9+NgQ=="],
- "@smithy/shared-ini-file-loader": ["@smithy/shared-ini-file-loader@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-YkpikhIqGc4sfXeIbzSj10t2bJI/sSoP5qxLue6zG+tEE3ngOBSm8sO3+djacYvS/R5DfpxN/L9CyZsvwjWOAQ=="],
+ "@smithy/shared-ini-file-loader": ["@smithy/shared-ini-file-loader@4.2.0", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-OQTfmIEp2LLuWdxa8nEEPhZmiOREO6bcB6pjs0AySf4yiZhl6kMOfqmcwcY8BaBPX+0Tb+tG7/Ia/6mwpoZ7Pw=="],
"@smithy/signature-v4": ["@smithy/signature-v4@5.2.1", "", { "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/smithy-client@4.6.1", "", { "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/smithy-client@4.6.3", "", { "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/types@4.5.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-RkUpIOsVlAwUIZXO1dsz8Zm+N72LClFfsNqf173catVlvRZiwPy0x2u0JLEA4byreOPKDZPGjmPDylMoP8ZJRg=="],
@@ -974,19 +974,19 @@
"@smithy/util-config-provider": ["@smithy/util-config-provider@4.1.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-swXz2vMjrP1ZusZWVTB/ai5gK+J8U0BWvP10v9fpcFvg+Xi/87LHvHfst2IgCs1i0v4qFZfGwCmeD/KNCdJZbQ=="],
- "@smithy/util-defaults-mode-browser": ["@smithy/util-defaults-mode-browser@4.1.1", "", { "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/util-defaults-mode-browser@4.1.3", "", { "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/util-defaults-mode-node@4.1.1", "", { "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/util-defaults-mode-node@4.1.3", "", { "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/util-endpoints@3.1.1", "", { "dependencies": { "@smithy/node-config-provider": "^4.2.1", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-qB4R9kO0SetA11Rzu6MVGFIaGYX3p6SGGGfWwsKnC6nXIf0n/0AKVwRTsYsz9ToN8CeNNtNgQRwKFBndGJZdyw=="],
+ "@smithy/util-endpoints": ["@smithy/util-endpoints@3.1.2", "", { "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/util-hex-encoding@4.1.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-1LcueNN5GYC4tr8mo14yVYbh/Ur8jHhWOxniZXii+1+ePiIbsLZ5fEI0QQGtbRRP5mOhmooos+rLmVASGGoq5w=="],
"@smithy/util-middleware": ["@smithy/util-middleware@4.1.1", "", { "dependencies": { "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-CGmZ72mL29VMfESz7S6dekqzCh8ZISj3B+w0g1hZFXaOjGTVaSqfAEFAq8EGp8fUL+Q2l8aqNmt8U1tglTikeg=="],
- "@smithy/util-retry": ["@smithy/util-retry@4.1.1", "", { "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/util-retry@4.1.2", "", { "dependencies": { "@smithy/service-error-classification": "^4.1.2", "@smithy/types": "^4.5.0", "tslib": "^2.6.2" } }, "sha512-NCgr1d0/EdeP6U5PSZ9Uv5SMR5XRRYoVr1kRVtKZxWL3tixEL3UatrPIMFZSKwHlCcp2zPLDvMubVDULRqeunA=="],
- "@smithy/util-stream": ["@smithy/util-stream@4.3.1", "", { "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/util-stream@4.3.2", "", { "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/util-uri-escape@4.1.0", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-b0EFQkq35K5NHUYxU72JuoheM6+pytEVUGlTwiFxWFpmddA+Bpz3LgsPRIpBk8lnPE47yT7AF2Egc3jVnKLuPg=="],
@@ -3028,7 +3028,7 @@
"@opencode-ai/sdk/@hey-api/openapi-ts": ["@hey-api/openapi-ts@0.81.0", "", { "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/workers-types@4.20250913.0", "", {}, "sha512-JjrYEvRn7cyALxwoFTw3XChaQneHSJOXqz2t5iKEpNzAnC2iPQU75rtTK/gw03Jjy4SHY5aEBh/uqQePtonZlA=="],
+ "@opencode/console-resource/@cloudflare/workers-types": ["@cloudflare/workers-types@4.20250913.0", "", {}, "sha512-JjrYEvRn7cyALxwoFTw3XChaQneHSJOXqz2t5iKEpNzAnC2iPQU75rtTK/gw03Jjy4SHY5aEBh/uqQePtonZlA=="],
"@opencode/web/@shikijs/transformers": ["@shikijs/transformers@3.4.2", "", { "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": ["lru-cache@7.18.3", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
- "nitropack/c12": ["c12@3.2.0", "", { "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": ["c12@3.3.0", "", { "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": ["confbox@0.2.2", "", {}, "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ=="],
@@ -3584,8 +3584,6 @@
"nitropack/c12/giget": ["giget@2.0.0", "", { "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": ["perfect-debounce@1.0.0", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="],
-
"nitropack/h3/cookie-es": ["cookie-es@1.2.2", "", {}, "sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg=="],
"nitropack/serve-static/send": ["send@1.2.0", "", { "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": ["minipass@3.3.6", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw=="],
- "nitropack/c12/giget/nypm": ["nypm@0.6.1", "", { "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": ["nypm@0.6.2", "", { "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": ["lru-cache@10.4.3", "", {}, "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="],
diff --git a/github/sst-env.d.ts b/github/sst-env.d.ts
index 6b69016e..f742a120 100644
--- a/github/sst-env.d.ts
+++ b/github/sst-env.d.ts
@@ -6,4 +6,4 @@
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/infra/cloud.ts b/infra/console.ts
similarity index 95%
rename from infra/cloud.ts
rename to infra/console.ts
index 23984cb4..6ca84238 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 8afdfbf9..d775a3fa 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 0397645b..b6a7e906 100644
--- a/packages/app/sst-env.d.ts
+++ b/packages/app/sst-env.d.ts
@@ -6,4 +6,4 @@
///
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 afa8c6fe..00000000
--- 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 afa8c6fe..00000000
--- 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
similarity index 100%
rename from packages/cloud/app/.gitignore
rename to packages/console/app/.gitignore
diff --git a/packages/cloud/app/.opencode/agent/css.md b/packages/console/app/.opencode/agent/css.md
similarity index 100%
rename from packages/cloud/app/.opencode/agent/css.md
rename to packages/console/app/.opencode/agent/css.md
diff --git a/packages/cloud/app/README.md b/packages/console/app/README.md
similarity index 100%
rename from packages/cloud/app/README.md
rename to packages/console/app/README.md
diff --git a/packages/cloud/app/app.config.ts b/packages/console/app/app.config.ts
similarity index 100%
rename from packages/cloud/app/app.config.ts
rename to packages/console/app/app.config.ts
diff --git a/packages/cloud/app/package.json b/packages/console/app/package.json
similarity index 89%
rename from packages/cloud/app/package.json
rename to packages/console/app/package.json
index 577f1dd8..2a9d9a98 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
similarity index 100%
rename from packages/cloud/app/public/favicon.svg
rename to packages/console/app/public/favicon.svg
diff --git a/packages/cloud/app/public/robots.txt b/packages/console/app/public/robots.txt
similarity index 100%
rename from packages/cloud/app/public/robots.txt
rename to packages/console/app/public/robots.txt
diff --git a/packages/cloud/app/public/social-share.png b/packages/console/app/public/social-share.png
similarity index 100%
rename from packages/cloud/app/public/social-share.png
rename to packages/console/app/public/social-share.png
diff --git a/packages/cloud/app/public/theme.json b/packages/console/app/public/theme.json
similarity index 100%
rename from packages/cloud/app/public/theme.json
rename to packages/console/app/public/theme.json
diff --git a/packages/cloud/app/src/app.css b/packages/console/app/src/app.css
similarity index 100%
rename from packages/cloud/app/src/app.css
rename to packages/console/app/src/app.css
diff --git a/packages/cloud/app/src/app.tsx b/packages/console/app/src/app.tsx
similarity index 100%
rename from packages/cloud/app/src/app.tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/check.svg
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/copy.svg
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/screenshot-github.png
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/screenshot-splash.png
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/screenshot-vscode.png
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/lander/screenshot.png
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/logo-ornate-dark.svg
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/logo-ornate-light.svg
rename to 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
similarity index 100%
rename from packages/cloud/app/src/asset/logo.svg
rename to 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
similarity index 100%
rename from packages/cloud/app/src/component/icon.tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/billing-section.module.css
rename to 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
similarity index 99%
rename from packages/cloud/app/src/component/workspace/billing-section.tsx
rename to packages/console/app/src/component/workspace/billing-section.tsx
index ec314d9e..57316e20 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/common.tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/key-section.module.css
rename to 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
similarity index 99%
rename from packages/cloud/app/src/component/workspace/key-section.tsx
rename to packages/console/app/src/component/workspace/key-section.tsx
index 4158ce79..a2bd380e 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/monthly-limit-section.module.css
rename to 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
similarity index 98%
rename from packages/cloud/app/src/component/workspace/monthly-limit-section.tsx
rename to packages/console/app/src/component/workspace/monthly-limit-section.tsx
index 5c1077ab..35da774d 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/new-user-section.module.css
rename to 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
similarity index 96%
rename from packages/cloud/app/src/component/workspace/new-user-section.tsx
rename to packages/console/app/src/component/workspace/new-user-section.tsx
index 6e031e37..5909072d 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/payment-section.module.css
rename to 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
similarity index 98%
rename from packages/cloud/app/src/component/workspace/payment-section.tsx
rename to packages/console/app/src/component/workspace/payment-section.tsx
index 8cdceebc..7be51a58 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
similarity index 100%
rename from packages/cloud/app/src/component/workspace/usage-section.module.css
rename to 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
similarity index 98%
rename from packages/cloud/app/src/component/workspace/usage-section.tsx
rename to packages/console/app/src/component/workspace/usage-section.tsx
index 5d3d3b6c..e68670c6 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
similarity index 100%
rename from packages/cloud/app/src/context/auth.session.ts
rename to 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
similarity index 85%
rename from packages/cloud/app/src/context/auth.ts
rename to packages/console/app/src/context/auth.ts
index e08d965b..02788524 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
similarity index 78%
rename from packages/cloud/app/src/context/auth.withActor.ts
rename to packages/console/app/src/context/auth.withActor.ts
index 4cfd5c3e..2cb97026 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(fn: () => T, workspace?: string) {
diff --git a/packages/cloud/app/src/entry-client.tsx b/packages/console/app/src/entry-client.tsx
similarity index 100%
rename from packages/cloud/app/src/entry-client.tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/entry-server.tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/global.d.ts
rename to packages/console/app/src/global.d.ts
diff --git a/packages/cloud/app/src/middleware.ts b/packages/console/app/src/middleware.ts
similarity index 100%
rename from packages/cloud/app/src/middleware.ts
rename to packages/console/app/src/middleware.ts
diff --git a/packages/cloud/app/src/routes/[...404].css b/packages/console/app/src/routes/[...404].css
similarity index 100%
rename from packages/cloud/app/src/routes/[...404].css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/[...404].tsx
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/auth/authorize.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/auth/callback.ts
rename to 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
similarity index 86%
rename from packages/cloud/app/src/routes/auth/index.ts
rename to packages/console/app/src/routes/auth/index.ts
index 308ae2d1..2c893185 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
similarity index 67%
rename from packages/cloud/app/src/routes/debug/index.ts
rename to packages/console/app/src/routes/debug/index.ts
index 8c7eb7bd..39fa33d9 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
similarity index 100%
rename from packages/cloud/app/src/routes/discord.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/docs/[...path].ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/docs/index.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/index.css
rename to 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
similarity index 99%
rename from packages/cloud/app/src/routes/index.tsx
rename to packages/console/app/src/routes/index.tsx
index 9075f407..e8c1998a 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
similarity index 100%
rename from packages/cloud/app/src/routes/s/[id].ts
rename to 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
similarity index 87%
rename from packages/cloud/app/src/routes/stripe/webhook.ts
rename to packages/console/app/src/routes/stripe/webhook.ts
index 925ede1a..92096628 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
similarity index 100%
rename from packages/cloud/app/src/routes/workspace.css
rename to 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
similarity index 94%
rename from packages/cloud/app/src/routes/workspace.tsx
rename to packages/console/app/src/routes/workspace.tsx
index 3f08a70a..3aa3f20d 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
similarity index 100%
rename from packages/cloud/app/src/routes/workspace/[id].css
rename to 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
similarity index 96%
rename from packages/cloud/app/src/routes/workspace/[id].tsx
rename to packages/console/app/src/routes/workspace/[id].tsx
index 4a2c3424..68a706d5 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
similarity index 100%
rename from packages/cloud/app/src/routes/workspace/index.tsx
rename to 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
similarity index 97%
rename from packages/cloud/app/src/routes/zen/handler.ts
rename to packages/console/app/src/routes/zen/handler.ts
index ab1fc659..6065e2f7 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
similarity index 100%
rename from packages/cloud/app/src/routes/zen/v1/chat/completions.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/zen/v1/messages.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/routes/zen/v1/responses.ts
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/base.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/component/button.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/index.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/reset.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/token/color.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/token/font.css
rename to 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
similarity index 100%
rename from packages/cloud/app/src/style/token/space.css
rename to 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
similarity index 94%
rename from packages/cloud/app/sst-env.d.ts
rename to packages/console/app/sst-env.d.ts
index bd558821..9b9de732 100644
--- a/packages/cloud/app/sst-env.d.ts
+++ b/packages/console/app/sst-env.d.ts
@@ -6,4 +6,4 @@
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/packages/cloud/app/tsconfig.json b/packages/console/app/tsconfig.json
similarity index 100%
rename from packages/cloud/app/tsconfig.json
rename to packages/console/app/tsconfig.json
diff --git a/packages/cloud/core/drizzle.config.ts b/packages/console/core/drizzle.config.ts
similarity index 100%
rename from packages/cloud/core/drizzle.config.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0000_fluffy_raza.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0001_serious_whistler.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0002_violet_loners.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0003_dusty_clint_barton.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0004_first_mockingbird.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0005_jazzy_skrulls.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0006_parallel_gauntlet.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0007_familiar_nightshade.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0008_eminent_ultimatum.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0009_redundant_piledriver.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0010_needy_sue_storm.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0011_freezing_phil_sheldon.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0012_bright_photon.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/0013_absurd_hobgoblin.sql
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0000_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0001_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0002_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0003_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0004_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0005_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0006_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0007_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0008_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0009_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0010_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0011_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0012_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/0013_snapshot.json
rename to 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
similarity index 100%
rename from packages/cloud/core/migrations/meta/_journal.json
rename to packages/console/core/migrations/meta/_journal.json
diff --git a/packages/cloud/core/package.json b/packages/console/core/package.json
similarity index 88%
rename from packages/cloud/core/package.json
rename to packages/console/core/package.json
index e9e7fc70..e54dd4b0 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
similarity index 100%
rename from packages/cloud/core/src/account.ts
rename to packages/console/core/src/account.ts
diff --git a/packages/cloud/core/src/actor.ts b/packages/console/core/src/actor.ts
similarity index 100%
rename from packages/cloud/core/src/actor.ts
rename to packages/console/core/src/actor.ts
diff --git a/packages/cloud/core/src/billing.ts b/packages/console/core/src/billing.ts
similarity index 99%
rename from packages/cloud/core/src/billing.ts
rename to packages/console/core/src/billing.ts
index 2254adc7..dda0c539 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
similarity index 100%
rename from packages/cloud/core/src/context.ts
rename to packages/console/core/src/context.ts
diff --git a/packages/cloud/core/src/drizzle/index.ts b/packages/console/core/src/drizzle/index.ts
similarity index 98%
rename from packages/cloud/core/src/drizzle/index.ts
rename to packages/console/core/src/drizzle/index.ts
index 80603799..899f6914 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
similarity index 100%
rename from packages/cloud/core/src/drizzle/types.ts
rename to packages/console/core/src/drizzle/types.ts
diff --git a/packages/cloud/core/src/identifier.ts b/packages/console/core/src/identifier.ts
similarity index 100%
rename from packages/cloud/core/src/identifier.ts
rename to packages/console/core/src/identifier.ts
diff --git a/packages/cloud/core/src/key.ts b/packages/console/core/src/key.ts
similarity index 100%
rename from packages/cloud/core/src/key.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/schema/account.sql.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/schema/billing.sql.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/schema/key.sql.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/schema/user.sql.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/schema/workspace.sql.ts
rename to packages/console/core/src/schema/workspace.sql.ts
diff --git a/packages/cloud/core/src/user.ts b/packages/console/core/src/user.ts
similarity index 100%
rename from packages/cloud/core/src/user.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/util/env.cloudflare.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/util/fn.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/util/log.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/util/memo.ts
rename to 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
similarity index 100%
rename from packages/cloud/core/src/util/price.ts
rename to packages/console/core/src/util/price.ts
diff --git a/packages/cloud/core/src/workspace.ts b/packages/console/core/src/workspace.ts
similarity index 100%
rename from packages/cloud/core/src/workspace.ts
rename to packages/console/core/src/workspace.ts
diff --git a/packages/cloud/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts
similarity index 94%
rename from packages/cloud/core/sst-env.d.ts
rename to packages/console/core/sst-env.d.ts
index bd558821..9b9de732 100644
--- a/packages/cloud/core/sst-env.d.ts
+++ b/packages/console/core/sst-env.d.ts
@@ -6,4 +6,4 @@
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/packages/cloud/core/tsconfig.json b/packages/console/core/tsconfig.json
similarity index 100%
rename from packages/cloud/core/tsconfig.json
rename to packages/console/core/tsconfig.json
diff --git a/packages/cloud/function/package.json b/packages/console/function/package.json
similarity index 94%
rename from packages/cloud/function/package.json
rename to packages/console/function/package.json
index 856db369..4ced6510 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
similarity index 94%
rename from packages/cloud/function/src/auth.ts
rename to packages/console/function/src/auth.ts
index 776855e4..5dc79968 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
similarity index 97%
rename from packages/cloud/function/src/log-processor.ts
rename to packages/console/function/src/log-processor.ts
index 70fcf5a4..21b9b214 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 00000000..09c60c7c
--- /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
similarity index 100%
rename from packages/cloud/function/tsconfig.json
rename to packages/console/function/tsconfig.json
diff --git a/packages/cloud/resource/bun.lock b/packages/console/resource/bun.lock
similarity index 100%
rename from packages/cloud/resource/bun.lock
rename to packages/console/resource/bun.lock
diff --git a/packages/cloud/resource/package.json b/packages/console/resource/package.json
similarity index 87%
rename from packages/cloud/resource/package.json
rename to packages/console/resource/package.json
index fd9fa6f3..94a65454 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
similarity index 100%
rename from packages/cloud/resource/resource.cloudflare.ts
rename to packages/console/resource/resource.cloudflare.ts
diff --git a/packages/cloud/resource/resource.node.ts b/packages/console/resource/resource.node.ts
similarity index 100%
rename from packages/cloud/resource/resource.node.ts
rename to 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 00000000..09c60c7c
--- /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
similarity index 100%
rename from packages/cloud/resource/tsconfig.json
rename to packages/console/resource/tsconfig.json
diff --git a/packages/cloud/scripts/.gitignore b/packages/console/scripts/.gitignore
similarity index 100%
rename from packages/cloud/scripts/.gitignore
rename to packages/console/scripts/.gitignore
diff --git a/packages/cloud/scripts/package.json b/packages/console/scripts/package.json
similarity index 83%
rename from packages/cloud/scripts/package.json
rename to packages/console/scripts/package.json
index bddc1b96..06795ee1 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
similarity index 55%
rename from packages/cloud/scripts/src/backfill-usage-provider.ts
rename to packages/console/scripts/src/backfill-usage-provider.ts
index 553dcb47..1485735d 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
similarity index 94%
rename from packages/cloud/scripts/sst-env.d.ts
rename to packages/console/scripts/sst-env.d.ts
index bd558821..9b9de732 100644
--- a/packages/cloud/scripts/sst-env.d.ts
+++ b/packages/console/scripts/sst-env.d.ts
@@ -6,4 +6,4 @@
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/packages/cloud/scripts/tsconfig.json b/packages/console/scripts/tsconfig.json
similarity index 100%
rename from packages/cloud/scripts/tsconfig.json
rename to packages/console/scripts/tsconfig.json
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index afa8c6fe..09c60c7c 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
+ "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
}
- BASETEN_API_KEY: {
- type: "sst.sst.Secret"
- value: string
+ "BASETEN_API_KEY": {
+ "type": "sst.sst.Secret"
+ "value": string
}
- 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
}
- 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
}
}
}
-// 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 0397645b..b6a7e906 100644
--- a/packages/opencode/sst-env.d.ts
+++ b/packages/opencode/sst-env.d.ts
@@ -6,4 +6,4 @@
///
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 0397645b..b6a7e906 100644
--- a/packages/plugin/sst-env.d.ts
+++ b/packages/plugin/sst-env.d.ts
@@ -6,4 +6,4 @@
///
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 bd558821..9b9de732 100644
--- a/packages/sdk/js/sst-env.d.ts
+++ b/packages/sdk/js/sst-env.d.ts
@@ -6,4 +6,4 @@
///
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 0397645b..b6a7e906 100644
--- a/packages/web/sst-env.d.ts
+++ b/packages/web/sst-env.d.ts
@@ -6,4 +6,4 @@
///
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 0397645b..b6a7e906 100644
--- a/sdks/vscode/sst-env.d.ts
+++ b/sdks/vscode/sst-env.d.ts
@@ -6,4 +6,4 @@
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/sst-env.d.ts b/sst-env.d.ts
index 22caba96..e45b4e5e 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
}
}
}
///
import "sst"
-export {}
+export {}
\ No newline at end of file
diff --git a/sst.config.ts b/sst.config.ts
index 05e50e50..5fcd4273 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")
},
})