summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFrank <[email protected]>2026-02-08 10:31:07 -0500
committerFrank <[email protected]>2026-02-08 10:31:09 -0500
commit80c1c59ed34cd19119bbb53f40e5214cae35ad29 (patch)
tree3ba62af0b3f067064fa9eed15e2b17301e5a33b8
parent7c6b8d7a8a7180f330b83b736c46a62fb5f91258 (diff)
downloadopencode-80c1c59ed34cd19119bbb53f40e5214cae35ad29.tar.gz
opencode-80c1c59ed34cd19119bbb53f40e5214cae35ad29.zip
wip: zen
-rw-r--r--infra/console.ts10
-rwxr-xr-xpackages/console/core/script/promote-models.ts2
-rwxr-xr-xpackages/console/core/script/pull-models.ts2
-rwxr-xr-xpackages/console/core/script/update-models.ts2
-rw-r--r--packages/console/core/src/model.ts12
-rw-r--r--packages/console/core/sst-env.d.ts40
-rw-r--r--packages/console/function/sst-env.d.ts40
-rw-r--r--packages/console/resource/sst-env.d.ts40
-rw-r--r--packages/enterprise/sst-env.d.ts40
-rw-r--r--packages/function/sst-env.d.ts40
-rw-r--r--sst-env.d.ts40
11 files changed, 264 insertions, 4 deletions
diff --git a/infra/console.ts b/infra/console.ts
index ba1ff15bf..5abffb555 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -135,6 +135,16 @@ const ZEN_MODELS = [
new sst.Secret("ZEN_MODELS8"),
new sst.Secret("ZEN_MODELS9"),
new sst.Secret("ZEN_MODELS10"),
+ new sst.Secret("ZEN_MODELS11"),
+ new sst.Secret("ZEN_MODELS12"),
+ new sst.Secret("ZEN_MODELS13"),
+ new sst.Secret("ZEN_MODELS14"),
+ new sst.Secret("ZEN_MODELS15"),
+ new sst.Secret("ZEN_MODELS16"),
+ new sst.Secret("ZEN_MODELS17"),
+ new sst.Secret("ZEN_MODELS18"),
+ new sst.Secret("ZEN_MODELS19"),
+ new sst.Secret("ZEN_MODELS20"),
]
const STRIPE_SECRET_KEY = new sst.Secret("STRIPE_SECRET_KEY")
const STRIPE_PUBLISHABLE_KEY = new sst.Secret("STRIPE_PUBLISHABLE_KEY")
diff --git a/packages/console/core/script/promote-models.ts b/packages/console/core/script/promote-models.ts
index 62d9bd6ff..17715bedf 100755
--- a/packages/console/core/script/promote-models.ts
+++ b/packages/console/core/script/promote-models.ts
@@ -9,7 +9,7 @@ const stage = process.argv[2]
if (!stage) throw new Error("Stage is required")
const root = path.resolve(process.cwd(), "..", "..", "..")
-const PARTS = 10
+const PARTS = 20
// read the secret
const ret = await $`bun sst secret list`.cwd(root).text()
diff --git a/packages/console/core/script/pull-models.ts b/packages/console/core/script/pull-models.ts
index 01240a715..4c376210f 100755
--- a/packages/console/core/script/pull-models.ts
+++ b/packages/console/core/script/pull-models.ts
@@ -9,7 +9,7 @@ const stage = process.argv[2]
if (!stage) throw new Error("Stage is required")
const root = path.resolve(process.cwd(), "..", "..", "..")
-const PARTS = 10
+const PARTS = 20
// read the secret
const ret = await $`bun sst secret list --stage ${stage}`.cwd(root).text()
diff --git a/packages/console/core/script/update-models.ts b/packages/console/core/script/update-models.ts
index 7d1fa99c3..9025a6526 100755
--- a/packages/console/core/script/update-models.ts
+++ b/packages/console/core/script/update-models.ts
@@ -7,7 +7,7 @@ import { ZenData } from "../src/model"
const root = path.resolve(process.cwd(), "..", "..", "..")
const models = await $`bun sst secret list`.cwd(root).text()
-const PARTS = 10
+const PARTS = 20
// read the line starting with "ZEN_MODELS"
const lines = models.split("\n")
diff --git a/packages/console/core/src/model.ts b/packages/console/core/src/model.ts
index 3848d82bc..e1e540fb7 100644
--- a/packages/console/core/src/model.ts
+++ b/packages/console/core/src/model.ts
@@ -86,7 +86,17 @@ export namespace ZenData {
Resource.ZEN_MODELS7.value +
Resource.ZEN_MODELS8.value +
Resource.ZEN_MODELS9.value +
- Resource.ZEN_MODELS10.value,
+ Resource.ZEN_MODELS10.value +
+ Resource.ZEN_MODELS11.value +
+ Resource.ZEN_MODELS12.value +
+ Resource.ZEN_MODELS13.value +
+ Resource.ZEN_MODELS14.value +
+ Resource.ZEN_MODELS15.value +
+ Resource.ZEN_MODELS16.value +
+ Resource.ZEN_MODELS17.value +
+ Resource.ZEN_MODELS18.value +
+ Resource.ZEN_MODELS19.value +
+ Resource.ZEN_MODELS20.value,
)
return ModelsSchema.parse(json)
})
diff --git a/packages/console/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts
index 0769c7633..fea908213 100644
--- a/packages/console/core/sst-env.d.ts
+++ b/packages/console/core/sst-env.d.ts
@@ -137,10 +137,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/console/function/sst-env.d.ts b/packages/console/function/sst-env.d.ts
index 0769c7633..fea908213 100644
--- a/packages/console/function/sst-env.d.ts
+++ b/packages/console/function/sst-env.d.ts
@@ -137,10 +137,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/console/resource/sst-env.d.ts b/packages/console/resource/sst-env.d.ts
index 0769c7633..fea908213 100644
--- a/packages/console/resource/sst-env.d.ts
+++ b/packages/console/resource/sst-env.d.ts
@@ -137,10 +137,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/enterprise/sst-env.d.ts b/packages/enterprise/sst-env.d.ts
index 0769c7633..fea908213 100644
--- a/packages/enterprise/sst-env.d.ts
+++ b/packages/enterprise/sst-env.d.ts
@@ -137,10 +137,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index 0769c7633..fea908213 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -137,10 +137,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
diff --git a/sst-env.d.ts b/sst-env.d.ts
index 2d60c83ec..f87d4d603 100644
--- a/sst-env.d.ts
+++ b/sst-env.d.ts
@@ -163,10 +163,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS11": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS12": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS13": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS14": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS15": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS16": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS17": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS18": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS19": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS2": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS20": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string