@runtypelabs/cli 2.40.3 → 2.40.5
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 +16 -24
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -649,7 +649,7 @@ var GEN_AI_ATTRIBUTES = {
|
|
|
649
649
|
toolCallId: GEN_AI_TOOL_CALL_ID
|
|
650
650
|
};
|
|
651
651
|
|
|
652
|
-
// ../shared/dist/chunk-
|
|
652
|
+
// ../shared/dist/chunk-BK4B4E2H.mjs
|
|
653
653
|
var RUNTYPE_ITERATION = "runtype.iteration";
|
|
654
654
|
var RUNTYPE_TOTAL_COST = "runtype.total_cost";
|
|
655
655
|
var RUNTYPE_TURN_INDEX = "runtype.turn.index";
|
|
@@ -19426,7 +19426,7 @@ function date4(params) {
|
|
|
19426
19426
|
return _coercedDate(ZodDate, params);
|
|
19427
19427
|
}
|
|
19428
19428
|
|
|
19429
|
-
// ../shared/dist/chunk-
|
|
19429
|
+
// ../shared/dist/chunk-7YVBFWQ5.mjs
|
|
19430
19430
|
var AGENT_EXECUTION_STATUSES = [
|
|
19431
19431
|
"queued",
|
|
19432
19432
|
"running",
|
|
@@ -19438,7 +19438,7 @@ var AGENT_EXECUTION_STATUSES = [
|
|
|
19438
19438
|
];
|
|
19439
19439
|
var agentExecutionStatusSchema = external_exports.enum(AGENT_EXECUTION_STATUSES);
|
|
19440
19440
|
|
|
19441
|
-
// ../shared/dist/chunk-
|
|
19441
|
+
// ../shared/dist/chunk-NVSDP7OR.mjs
|
|
19442
19442
|
var CANONICAL_LOG_COLUMN_SET = {
|
|
19443
19443
|
// @snake-case-ok-start: R2 SQL / Iceberg column naming convention
|
|
19444
19444
|
event_id: true,
|
|
@@ -19451,9 +19451,10 @@ var CANONICAL_LOG_COLUMN_SET = {
|
|
|
19451
19451
|
};
|
|
19452
19452
|
var CANONICAL_LOG_COLUMNS = Object.keys(CANONICAL_LOG_COLUMN_SET);
|
|
19453
19453
|
|
|
19454
|
-
// ../shared/dist/chunk-
|
|
19454
|
+
// ../shared/dist/chunk-AH3ONIQB.mjs
|
|
19455
19455
|
var BUILTIN_TOOLS_LEAN = [
|
|
19456
|
-
{ "id": "gpt-image-2", "name": "GPT Image 2", "category": "image_generation", "providers": ["multi"], "defaultConfig": { "size": "1024x1024", "quality": "low", "outputFormat": "png", "background": "auto" }, "requiresApiKey": true, "executionHint": "platform", "platformKeySupport": true },
|
|
19456
|
+
{ "id": "gpt-image-2-5", "name": "GPT Image 2.5", "category": "image_generation", "providers": ["multi"], "defaultConfig": { "size": "1024x1024", "quality": "low", "outputFormat": "png", "background": "auto" }, "requiresApiKey": true, "executionHint": "platform", "platformKeySupport": true },
|
|
19457
|
+
{ "id": "gpt-image-2", "name": "GPT Image 2", "category": "image_generation", "providers": ["multi"], "defaultConfig": { "size": "1024x1024", "quality": "low", "outputFormat": "png", "background": "auto" }, "requiresApiKey": true, "executionHint": "platform", "platformKeySupport": true, "hidden": true, "deprecated": true },
|
|
19457
19458
|
{ "id": "dalle", "name": "DALL-E Image Generation", "category": "image_generation", "providers": ["multi"], "defaultConfig": { "size": "1024x1024", "quality": "standard", "style": "vivid" }, "requiresApiKey": true, "executionHint": "platform", "platformKeySupport": true, "hidden": true, "deprecated": true },
|
|
19458
19459
|
{ "id": "openai_web_search", "name": "OpenAI Web Search", "category": "web_search", "providers": ["openai"], "defaultConfig": { "searchContextSize": "medium", "userLocationType": "none" }, "modelCompatibility": [{ "provider": "openai", "models": ["gpt-4o", "gpt-4o-mini", "gpt-5", "gpt-5-mini", "gpt-5.4", "gpt-5.4-mini"] }], "requiresApiKey": true, "executionHint": "provider" },
|
|
19459
19460
|
{ "id": "anthropic_web_search", "name": "Anthropic Web Search", "category": "web_search", "providers": ["anthropic"], "defaultConfig": { "maxUses": 5 }, "modelCompatibility": [{ "provider": "anthropic", "models": ["claude-opus-4", "claude-sonnet-4", "claude-opus-4-5", "claude-sonnet-4-5", "claude-opus-4-6", "claude-sonnet-4-6", "claude-haiku-4-5"] }], "requiresApiKey": true, "executionHint": "provider" },
|
|
@@ -19682,7 +19683,7 @@ var BuiltInToolIdPrefix = {
|
|
|
19682
19683
|
PLATFORM: "platform"
|
|
19683
19684
|
};
|
|
19684
19685
|
|
|
19685
|
-
// ../shared/dist/chunk-
|
|
19686
|
+
// ../shared/dist/chunk-OYPPCGMC.mjs
|
|
19686
19687
|
var BUILTIN_TOOLS_REGISTRY = BUILTIN_TOOLS_LEAN;
|
|
19687
19688
|
function formatSystemToolId(tool) {
|
|
19688
19689
|
const prefix = tool.idPrefix ?? BuiltInToolIdPrefix.BUILTIN;
|
|
@@ -19715,7 +19716,7 @@ function isToolCompatibleWithModel(toolId, modelId, provider) {
|
|
|
19715
19716
|
return compatibility.models.some((m2) => modelId.includes(m2));
|
|
19716
19717
|
}
|
|
19717
19718
|
|
|
19718
|
-
// ../shared/dist/chunk-
|
|
19719
|
+
// ../shared/dist/chunk-U6AHQFVI.mjs
|
|
19719
19720
|
var MODEL_FAMILY_PROVIDER_IDS = {
|
|
19720
19721
|
"claude-fable-5": {
|
|
19721
19722
|
"anthropic": "claude-fable-5",
|
|
@@ -20023,9 +20024,6 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20023
20024
|
"glm-5-3-flash": {
|
|
20024
20025
|
"vercel": "zai/glm-5.3-flash"
|
|
20025
20026
|
},
|
|
20026
|
-
"glm-5-3-promo-50": {
|
|
20027
|
-
"vercel": "zai/glm-5.3-promo-50"
|
|
20028
|
-
},
|
|
20029
20027
|
"glm-5.2": {
|
|
20030
20028
|
"mixlayer": "z-ai/glm-5.2",
|
|
20031
20029
|
"vercel": "zai/glm-5.2"
|
|
@@ -20043,9 +20041,6 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20043
20041
|
"glm-5.3-flash": {
|
|
20044
20042
|
"vercel": "zai/glm-5.3-flash"
|
|
20045
20043
|
},
|
|
20046
|
-
"glm-5.3-promo-50": {
|
|
20047
|
-
"vercel": "zai/glm-5.3-promo-50"
|
|
20048
|
-
},
|
|
20049
20044
|
"gpt-4-1": {
|
|
20050
20045
|
"openai": "gpt-4.1",
|
|
20051
20046
|
"vercel": "openai/gpt-4.1"
|
|
@@ -20559,6 +20554,12 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20559
20554
|
"mercury-2": {
|
|
20560
20555
|
"vercel": "inception/mercury-2"
|
|
20561
20556
|
},
|
|
20557
|
+
"mercury-2-5": {
|
|
20558
|
+
"vercel": "inception/mercury-2.5"
|
|
20559
|
+
},
|
|
20560
|
+
"mercury-2.5": {
|
|
20561
|
+
"vercel": "inception/mercury-2.5"
|
|
20562
|
+
},
|
|
20562
20563
|
"mercury-coder-small": {
|
|
20563
20564
|
"vercel": "inception/mercury-coder-small"
|
|
20564
20565
|
},
|
|
@@ -20568,18 +20569,12 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
20568
20569
|
"mimo-v2-5-pro": {
|
|
20569
20570
|
"vercel": "xiaomi/mimo-v2.5-pro"
|
|
20570
20571
|
},
|
|
20571
|
-
"mimo-v2-5-pro-ultraspeed": {
|
|
20572
|
-
"vercel": "xiaomi/mimo-v2.5-pro-ultraspeed"
|
|
20573
|
-
},
|
|
20574
20572
|
"mimo-v2.5": {
|
|
20575
20573
|
"vercel": "xiaomi/mimo-v2.5"
|
|
20576
20574
|
},
|
|
20577
20575
|
"mimo-v2.5-pro": {
|
|
20578
20576
|
"vercel": "xiaomi/mimo-v2.5-pro"
|
|
20579
20577
|
},
|
|
20580
|
-
"mimo-v2.5-pro-ultraspeed": {
|
|
20581
|
-
"vercel": "xiaomi/mimo-v2.5-pro-ultraspeed"
|
|
20582
|
-
},
|
|
20583
20578
|
"minimax-m2-7": {
|
|
20584
20579
|
"vercel": "minimax/minimax-m2.7"
|
|
20585
20580
|
},
|
|
@@ -20986,7 +20981,6 @@ var DEEPSEEK_V4_FLASH_IDS = [
|
|
|
20986
20981
|
"deepseek/deepseek-v4-flash",
|
|
20987
20982
|
"deepseek/deepseek-v4-flash-0731"
|
|
20988
20983
|
];
|
|
20989
|
-
var GLM_5_3_IDS = ["glm-5.3", "glm-5-3", "zai/glm-5.3"];
|
|
20990
20984
|
var GLM_5_3_FLASH_IDS = ["glm-5.3-flash", "glm-5-3-flash", "zai/glm-5.3-flash"];
|
|
20991
20985
|
var QWEN_3_8_27B_IDS = ["qwen3.8-27b", "qwen3-8-27b"];
|
|
20992
20986
|
function mixlayerPrimary(ids) {
|
|
@@ -21225,8 +21219,7 @@ var PROVIDER_ROUTING_CONFIG = {
|
|
|
21225
21219
|
...workersAiPrimary(DEEPSEEK_V4_FLASH_IDS),
|
|
21226
21220
|
// WHY(packages/shared/src/provider-routing.ts): Qwen 3.8 27B routes through Mixlayer because its 262K context is below Vercel's 1M.
|
|
21227
21221
|
...mixlayerPrimary(QWEN_3_8_27B_IDS),
|
|
21228
|
-
// WHY(
|
|
21229
|
-
...workersAiPrimary(GLM_5_3_IDS),
|
|
21222
|
+
// WHY(needs-review): GLM-5.3 (non-flash) is Vercel-only for now; no entry here means the Vercel default applies.
|
|
21230
21223
|
// 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
21224
|
...workersAiPrimary(GLM_5_3_FLASH_IDS),
|
|
21232
21225
|
"minimax-m2.7": {
|
|
@@ -21305,7 +21298,6 @@ var MANUAL_PROVIDER_MAP_OVERRIDES = {
|
|
|
21305
21298
|
},
|
|
21306
21299
|
// 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
21300
|
...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
21301
|
...workersAiAliases("@cf/zai-org/glm-5.3-flash", GLM_5_3_FLASH_IDS),
|
|
21310
21302
|
"minimax-m2.7": {
|
|
21311
21303
|
"vercel": "minimax/minimax-m2.7"
|
|
@@ -21847,7 +21839,7 @@ function isDataConnectionToolId(toolId) {
|
|
|
21847
21839
|
return toolId.startsWith("dc:");
|
|
21848
21840
|
}
|
|
21849
21841
|
|
|
21850
|
-
// ../shared/dist/chunk-
|
|
21842
|
+
// ../shared/dist/chunk-FA2UL6MG.mjs
|
|
21851
21843
|
function sanitizeToolNameForAiSdk(name) {
|
|
21852
21844
|
return name.replace(/[^a-zA-Z0-9_]/g, "_").toLowerCase().replace(/_+/g, "_").replace(/^_|_$/g, "");
|
|
21853
21845
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.40.
|
|
3
|
+
"version": "2.40.5",
|
|
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.2",
|
|
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.
|
|
36
|
+
"@runtypelabs/shared": "3.52.0",
|
|
37
37
|
"@types/express": "^5.0.6",
|
|
38
38
|
"@types/micromatch": "^4.0.9",
|
|
39
39
|
"@types/node": "^25.3.3",
|