@runtypelabs/cli 2.40.3 → 2.40.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -18
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -19715,7 +19715,7 @@ function isToolCompatibleWithModel(toolId, modelId, provider) {
|
|
|
19715
19715
|
return compatibility.models.some((m2) => modelId.includes(m2));
|
|
19716
19716
|
}
|
|
19717
19717
|
|
|
19718
|
-
// ../shared/dist/chunk-
|
|
19718
|
+
// ../shared/dist/chunk-U6AHQFVI.mjs
|
|
19719
19719
|
var MODEL_FAMILY_PROVIDER_IDS = {
|
|
19720
19720
|
"claude-fable-5": {
|
|
19721
19721
|
"anthropic": "claude-fable-5",
|
|
@@ -20023,9 +20023,6 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20023
20023
|
"glm-5-3-flash": {
|
|
20024
20024
|
"vercel": "zai/glm-5.3-flash"
|
|
20025
20025
|
},
|
|
20026
|
-
"glm-5-3-promo-50": {
|
|
20027
|
-
"vercel": "zai/glm-5.3-promo-50"
|
|
20028
|
-
},
|
|
20029
20026
|
"glm-5.2": {
|
|
20030
20027
|
"mixlayer": "z-ai/glm-5.2",
|
|
20031
20028
|
"vercel": "zai/glm-5.2"
|
|
@@ -20043,9 +20040,6 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20043
20040
|
"glm-5.3-flash": {
|
|
20044
20041
|
"vercel": "zai/glm-5.3-flash"
|
|
20045
20042
|
},
|
|
20046
|
-
"glm-5.3-promo-50": {
|
|
20047
|
-
"vercel": "zai/glm-5.3-promo-50"
|
|
20048
|
-
},
|
|
20049
20043
|
"gpt-4-1": {
|
|
20050
20044
|
"openai": "gpt-4.1",
|
|
20051
20045
|
"vercel": "openai/gpt-4.1"
|
|
@@ -20559,6 +20553,12 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20559
20553
|
"mercury-2": {
|
|
20560
20554
|
"vercel": "inception/mercury-2"
|
|
20561
20555
|
},
|
|
20556
|
+
"mercury-2-5": {
|
|
20557
|
+
"vercel": "inception/mercury-2.5"
|
|
20558
|
+
},
|
|
20559
|
+
"mercury-2.5": {
|
|
20560
|
+
"vercel": "inception/mercury-2.5"
|
|
20561
|
+
},
|
|
20562
20562
|
"mercury-coder-small": {
|
|
20563
20563
|
"vercel": "inception/mercury-coder-small"
|
|
20564
20564
|
},
|
|
@@ -20568,18 +20568,12 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20568
20568
|
"mimo-v2-5-pro": {
|
|
20569
20569
|
"vercel": "xiaomi/mimo-v2.5-pro"
|
|
20570
20570
|
},
|
|
20571
|
-
"mimo-v2-5-pro-ultraspeed": {
|
|
20572
|
-
"vercel": "xiaomi/mimo-v2.5-pro-ultraspeed"
|
|
20573
|
-
},
|
|
20574
20571
|
"mimo-v2.5": {
|
|
20575
20572
|
"vercel": "xiaomi/mimo-v2.5"
|
|
20576
20573
|
},
|
|
20577
20574
|
"mimo-v2.5-pro": {
|
|
20578
20575
|
"vercel": "xiaomi/mimo-v2.5-pro"
|
|
20579
20576
|
},
|
|
20580
|
-
"mimo-v2.5-pro-ultraspeed": {
|
|
20581
|
-
"vercel": "xiaomi/mimo-v2.5-pro-ultraspeed"
|
|
20582
|
-
},
|
|
20583
20577
|
"minimax-m2-7": {
|
|
20584
20578
|
"vercel": "minimax/minimax-m2.7"
|
|
20585
20579
|
},
|
|
@@ -20986,7 +20980,6 @@ var DEEPSEEK_V4_FLASH_IDS = [
|
|
|
20986
20980
|
"deepseek/deepseek-v4-flash",
|
|
20987
20981
|
"deepseek/deepseek-v4-flash-0731"
|
|
20988
20982
|
];
|
|
20989
|
-
var GLM_5_3_IDS = ["glm-5.3", "glm-5-3", "zai/glm-5.3"];
|
|
20990
20983
|
var GLM_5_3_FLASH_IDS = ["glm-5.3-flash", "glm-5-3-flash", "zai/glm-5.3-flash"];
|
|
20991
20984
|
var QWEN_3_8_27B_IDS = ["qwen3.8-27b", "qwen3-8-27b"];
|
|
20992
20985
|
function mixlayerPrimary(ids) {
|
|
@@ -21225,8 +21218,7 @@ var PROVIDER_ROUTING_CONFIG = {
|
|
|
21225
21218
|
...workersAiPrimary(DEEPSEEK_V4_FLASH_IDS),
|
|
21226
21219
|
// WHY(packages/shared/src/provider-routing.ts): Qwen 3.8 27B routes through Mixlayer because its 262K context is below Vercel's 1M.
|
|
21227
21220
|
...mixlayerPrimary(QWEN_3_8_27B_IDS),
|
|
21228
|
-
// WHY(
|
|
21229
|
-
...workersAiPrimary(GLM_5_3_IDS),
|
|
21221
|
+
// WHY(needs-review): GLM-5.3 (non-flash) is Vercel-only for now; no entry here means the Vercel default applies.
|
|
21230
21222
|
// WHY(docs/why/packages/shared/src.md#vercel-renamed-its-xai-gateway-namespace-xai-to): Vercel renamed its xAI gateway namespace xai/ to spacexai/ on 2026-08-22; this hand-maintained table isn't
|
|
21231
21223
|
...workersAiPrimary(GLM_5_3_FLASH_IDS),
|
|
21232
21224
|
"minimax-m2.7": {
|
|
@@ -21305,7 +21297,6 @@ var MANUAL_PROVIDER_MAP_OVERRIDES = {
|
|
|
21305
21297
|
},
|
|
21306
21298
|
// WHY(docs/why/packages/shared/src.md#same-rule-as-v4-pro-cloudflares-date-pinned-deep): Same rule as V4 Pro: Cloudflare's date-pinned DeepSeek build means bare families inherit vercel ids and slash
|
|
21307
21299
|
...workersAiAliases("@cf/deepseek-ai/deepseek-v4-flash-0731", DEEPSEEK_V4_FLASH_IDS),
|
|
21308
|
-
...workersAiAliases("@cf/zai-org/glm-5.3", GLM_5_3_IDS),
|
|
21309
21300
|
...workersAiAliases("@cf/zai-org/glm-5.3-flash", GLM_5_3_FLASH_IDS),
|
|
21310
21301
|
"minimax-m2.7": {
|
|
21311
21302
|
"vercel": "minimax/minimax-m2.7"
|
|
@@ -21847,7 +21838,7 @@ function isDataConnectionToolId(toolId) {
|
|
|
21847
21838
|
return toolId.startsWith("dc:");
|
|
21848
21839
|
}
|
|
21849
21840
|
|
|
21850
|
-
// ../shared/dist/chunk-
|
|
21841
|
+
// ../shared/dist/chunk-ESTLNSU2.mjs
|
|
21851
21842
|
function sanitizeToolNameForAiSdk(name) {
|
|
21852
21843
|
return name.replace(/[^a-zA-Z0-9_]/g, "_").toLowerCase().replace(/_+/g, "_").replace(/^_|_$/g, "");
|
|
21853
21844
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.40.
|
|
3
|
+
"version": "2.40.4",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@modelcontextprotocol/client": "2.0.0",
|
|
12
12
|
"@modelcontextprotocol/core": "2.0.0",
|
|
13
13
|
"@runtypelabs/ink-components": "0.3.7",
|
|
14
|
-
"@runtypelabs/sdk": "9.16.
|
|
14
|
+
"@runtypelabs/sdk": "9.16.1",
|
|
15
15
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
16
16
|
"add-mcp": "2.0.0",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@modelcontextprotocol/server": "2.0.0",
|
|
35
35
|
"@runtypelabs/persona": "4.22.0",
|
|
36
|
-
"@runtypelabs/shared": "3.51.
|
|
36
|
+
"@runtypelabs/shared": "3.51.3",
|
|
37
37
|
"@types/express": "^5.0.6",
|
|
38
38
|
"@types/micromatch": "^4.0.9",
|
|
39
39
|
"@types/node": "^25.3.3",
|