summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorFrank <[email protected]>2026-02-17 01:32:57 -0500
committerFrank <[email protected]>2026-02-17 01:32:57 -0500
commita93a1b93e119a976935e5ab6f214ef7c33d60d45 (patch)
tree06884ea188b36c63bb754d73ee15b7c3605e482a /packages
parentace63b3ddb99335b9ff71121336f70407c4b3ea5 (diff)
downloadopencode-a93a1b93e119a976935e5ab6f214ef7c33d60d45.tar.gz
opencode-a93a1b93e119a976935e5ab6f214ef7c33d60d45.zip
wip: zen
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/console/core/script/promote-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
8 files changed, 213 insertions, 3 deletions
diff --git a/packages/console/core/script/promote-models.ts b/packages/console/core/script/promote-models.ts
index 17715bedf..aa9f20abc 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 = 20
+const PARTS = 30
// read the secret
const ret = await $`bun sst secret list`.cwd(root).text()
diff --git a/packages/console/core/script/update-models.ts b/packages/console/core/script/update-models.ts
index 9025a6526..6d7f7662a 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 = 20
+const PARTS = 30
// 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 da2677844..6011cac37 100644
--- a/packages/console/core/src/model.ts
+++ b/packages/console/core/src/model.ts
@@ -102,7 +102,17 @@ export namespace ZenData {
Resource.ZEN_MODELS17.value +
Resource.ZEN_MODELS18.value +
Resource.ZEN_MODELS19.value +
- Resource.ZEN_MODELS20.value,
+ Resource.ZEN_MODELS20.value +
+ Resource.ZEN_MODELS21.value +
+ Resource.ZEN_MODELS22.value +
+ Resource.ZEN_MODELS23.value +
+ Resource.ZEN_MODELS24.value +
+ Resource.ZEN_MODELS25.value +
+ Resource.ZEN_MODELS26.value +
+ Resource.ZEN_MODELS27.value +
+ Resource.ZEN_MODELS28.value +
+ Resource.ZEN_MODELS29.value +
+ Resource.ZEN_MODELS30.value,
)
const { models, providers, providerFamilies } = ModelsSchema.parse(json)
return {
diff --git a/packages/console/core/sst-env.d.ts b/packages/console/core/sst-env.d.ts
index fea908213..737af71d4 100644
--- a/packages/console/core/sst-env.d.ts
+++ b/packages/console/core/sst-env.d.ts
@@ -181,10 +181,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS21": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS22": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS23": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS24": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS25": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS26": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS27": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS28": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS29": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS30": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS4": {
"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 fea908213..737af71d4 100644
--- a/packages/console/function/sst-env.d.ts
+++ b/packages/console/function/sst-env.d.ts
@@ -181,10 +181,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS21": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS22": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS23": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS24": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS25": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS26": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS27": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS28": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS29": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS30": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS4": {
"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 fea908213..737af71d4 100644
--- a/packages/console/resource/sst-env.d.ts
+++ b/packages/console/resource/sst-env.d.ts
@@ -181,10 +181,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS21": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS22": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS23": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS24": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS25": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS26": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS27": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS28": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS29": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS30": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS4": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/enterprise/sst-env.d.ts b/packages/enterprise/sst-env.d.ts
index fea908213..737af71d4 100644
--- a/packages/enterprise/sst-env.d.ts
+++ b/packages/enterprise/sst-env.d.ts
@@ -181,10 +181,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS21": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS22": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS23": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS24": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS25": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS26": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS27": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS28": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS29": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS30": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS4": {
"type": "sst.sst.Secret"
"value": string
diff --git a/packages/function/sst-env.d.ts b/packages/function/sst-env.d.ts
index fea908213..737af71d4 100644
--- a/packages/function/sst-env.d.ts
+++ b/packages/function/sst-env.d.ts
@@ -181,10 +181,50 @@ declare module "sst" {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS21": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS22": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS23": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS24": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS25": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS26": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS27": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS28": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
+ "ZEN_MODELS29": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS3": {
"type": "sst.sst.Secret"
"value": string
}
+ "ZEN_MODELS30": {
+ "type": "sst.sst.Secret"
+ "value": string
+ }
"ZEN_MODELS4": {
"type": "sst.sst.Secret"
"value": string