@runtypelabs/cli 2.22.0 → 2.22.2
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 +43 -19
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15128,7 +15128,7 @@ function date4(params) {
|
|
|
15128
15128
|
// ../../node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/external.js
|
|
15129
15129
|
config(en_default());
|
|
15130
15130
|
|
|
15131
|
-
// ../shared/dist/chunk-
|
|
15131
|
+
// ../shared/dist/chunk-IZI2WRCS.mjs
|
|
15132
15132
|
var apiReleaseChannelSchema = external_exports.enum(["staging", "production"]);
|
|
15133
15133
|
var API_ARTIFACT_SCRIPT_PATTERN = /^api-[a-z0-9][a-z0-9-]{0,62}$/;
|
|
15134
15134
|
var apiArtifactScriptNameSchema = external_exports.string().regex(
|
|
@@ -15173,8 +15173,6 @@ var edgeContextPayloadSchema = external_exports.object({
|
|
|
15173
15173
|
userId: external_exports.string().min(1),
|
|
15174
15174
|
/** Resolved org id (`org_…`); null for a personal (no-org) credential. */
|
|
15175
15175
|
orgId: external_exports.string().min(1).nullable(),
|
|
15176
|
-
/** Billing tier display name (e.g. `growth`); informational at the edge. */
|
|
15177
|
-
tier: external_exports.string().min(1),
|
|
15178
15176
|
/** Effective permission scopes for the credential (e.g. `["*"]`). */
|
|
15179
15177
|
scopes: external_exports.array(external_exports.string()),
|
|
15180
15178
|
/** Token id (one per mint) — replay/audit handle, never reused as a secret. */
|
|
@@ -36782,36 +36780,36 @@ var caseExpectedSchema = external_exports.object({
|
|
|
36782
36780
|
});
|
|
36783
36781
|
var DEFAULT_MODELS_FOR_NEW_ACCOUNTS = [
|
|
36784
36782
|
// Mixlayer models
|
|
36785
|
-
{ provider: "runtype", modelId: "qwen/qwen3.
|
|
36786
|
-
{ provider: "runtype", modelId: "qwen3.
|
|
36783
|
+
{ provider: "runtype", modelId: "qwen/qwen3.6-27b", isDefault: false },
|
|
36784
|
+
{ provider: "runtype", modelId: "qwen3.6-plus", isDefault: false },
|
|
36787
36785
|
// General Compute (platform key) - explicit provider prefix, single-provider model
|
|
36788
36786
|
{ provider: "runtype", modelId: "general-compute/minimax-m2.7", isDefault: false },
|
|
36789
36787
|
// Routed models - benefit from automatic provider optimization
|
|
36790
36788
|
// OpenAI models (routed via OpenAI direct, with Vercel fallback)
|
|
36791
|
-
{ provider: "runtype", modelId: "gpt-5.
|
|
36789
|
+
{ provider: "runtype", modelId: "gpt-5.5", isDefault: false },
|
|
36792
36790
|
{ provider: "runtype", modelId: "gpt-5.4-mini", isDefault: false },
|
|
36793
36791
|
{ provider: "runtype", modelId: "gpt-5.4-nano", isDefault: false },
|
|
36794
36792
|
// Anthropic models (routed via Anthropic direct, with Vertex/Bedrock fallback)
|
|
36795
|
-
{ provider: "runtype", modelId: "claude-sonnet-4-6", isDefault: false },
|
|
36796
36793
|
{ provider: "runtype", modelId: "claude-haiku-4-5", isDefault: false },
|
|
36797
|
-
{ provider: "runtype", modelId: "claude-
|
|
36794
|
+
{ provider: "runtype", modelId: "claude-sonnet-4-6", isDefault: false },
|
|
36795
|
+
{ provider: "runtype", modelId: "claude-opus-4-8", isDefault: false },
|
|
36798
36796
|
// Google models (routed via Google direct, with Vertex/Vercel fallback)
|
|
36799
36797
|
{ provider: "runtype", modelId: "gemini-3-1-flash-lite", isDefault: false },
|
|
36798
|
+
{ provider: "runtype", modelId: "gemini-3.5-flash", isDefault: false },
|
|
36800
36799
|
{ provider: "runtype", modelId: "gemini-3-1-flash-image", isDefault: false },
|
|
36801
36800
|
{ provider: "runtype", modelId: "gemini-3.1-pro", isDefault: false },
|
|
36802
|
-
// xAI models (routed via Vercel, with xAI fallback when available)
|
|
36803
|
-
{ provider: "runtype", modelId: "grok-4.3", isDefault: false },
|
|
36804
|
-
{ provider: "runtype", modelId: "grok-4.1-fast-non-reasoning", isDefault: false },
|
|
36805
36801
|
// Inception models (routed via Vercel)
|
|
36806
36802
|
{ provider: "runtype", modelId: "mercury-2", isDefault: false },
|
|
36807
|
-
// Moonshot models (routed via
|
|
36808
|
-
|
|
36809
|
-
//
|
|
36810
|
-
{ provider: "runtype", modelId: "
|
|
36803
|
+
// Moonshot models (routed via Vercel)
|
|
36804
|
+
// Kimi K2.6 is the default model: a reasoning + tool-use + vision model
|
|
36805
|
+
// already trusted as the product-generator default.
|
|
36806
|
+
{ provider: "runtype", modelId: "kimi-k2.6", isDefault: true },
|
|
36807
|
+
// NVIDIA Nemotron Ultra (reasoning + tool-use flagship, routed via Vercel)
|
|
36808
|
+
{ provider: "runtype", modelId: "nemotron-3-ultra-550b-a55b", isDefault: false },
|
|
36811
36809
|
// Google models (routed via Cloudflare Workers AI)
|
|
36812
36810
|
{ provider: "runtype", modelId: "gemma-4-26b-a4b-it", isDefault: false }
|
|
36813
36811
|
];
|
|
36814
|
-
var DEFAULT_MODEL_ID = DEFAULT_MODELS_FOR_NEW_ACCOUNTS.find((m2) => m2.isDefault)?.modelId ?? "
|
|
36812
|
+
var DEFAULT_MODEL_ID = DEFAULT_MODELS_FOR_NEW_ACCOUNTS.find((m2) => m2.isDefault)?.modelId ?? "kimi-k2.6";
|
|
36815
36813
|
var userProfileFeaturesSchema = external_exports.object({
|
|
36816
36814
|
enableAgentSkills: external_exports.boolean(),
|
|
36817
36815
|
// Routed model id the product generator dispatches with. Driven by the
|
|
@@ -36839,8 +36837,7 @@ var userProfileFeaturesSchema = external_exports.object({
|
|
|
36839
36837
|
});
|
|
36840
36838
|
var MODEL_FAMILY_PROVIDER_IDS = {
|
|
36841
36839
|
"claude-fable-5": {
|
|
36842
|
-
"anthropic": "claude-fable-5"
|
|
36843
|
-
"vercel": "anthropic/claude-fable-5"
|
|
36840
|
+
"anthropic": "claude-fable-5"
|
|
36844
36841
|
},
|
|
36845
36842
|
"claude-haiku-4-5": {
|
|
36846
36843
|
"anthropic": "claude-haiku-4-5-20251001",
|
|
@@ -37170,6 +37167,18 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37170
37167
|
"togetherai": "togetherai/pearl-ai/gemma-4-31b-it",
|
|
37171
37168
|
"vercel": "google/gemma-4-31b-it"
|
|
37172
37169
|
},
|
|
37170
|
+
"gemma-4-e2b-it": {
|
|
37171
|
+
"google": "gemma-4-E2B-it"
|
|
37172
|
+
},
|
|
37173
|
+
"gemma-4-E2B-it": {
|
|
37174
|
+
"google": "gemma-4-E2B-it"
|
|
37175
|
+
},
|
|
37176
|
+
"gemma-4-e4b-it": {
|
|
37177
|
+
"google": "gemma-4-E4B-it"
|
|
37178
|
+
},
|
|
37179
|
+
"gemma-4-E4B-it": {
|
|
37180
|
+
"google": "gemma-4-E4B-it"
|
|
37181
|
+
},
|
|
37173
37182
|
"glm-4-5": {
|
|
37174
37183
|
"vercel": "zai/glm-4.5"
|
|
37175
37184
|
},
|
|
@@ -37614,8 +37623,12 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37614
37623
|
"vercel": "moonshotai/kimi-k2.6"
|
|
37615
37624
|
},
|
|
37616
37625
|
"kimi-k2-7-code": {
|
|
37626
|
+
"togetherai": "togetherai/moonshotai/Kimi-K2.7-Code",
|
|
37617
37627
|
"vercel": "moonshotai/kimi-k2.7-code"
|
|
37618
37628
|
},
|
|
37629
|
+
"kimi-k2-7-code-highspeed": {
|
|
37630
|
+
"vercel": "moonshotai/kimi-k2.7-code-highspeed"
|
|
37631
|
+
},
|
|
37619
37632
|
"kimi-k2-thinking": {
|
|
37620
37633
|
"vercel": "moonshotai/kimi-k2-thinking"
|
|
37621
37634
|
},
|
|
@@ -37628,6 +37641,9 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37628
37641
|
"kimi-k2.7-code": {
|
|
37629
37642
|
"vercel": "moonshotai/kimi-k2.7-code"
|
|
37630
37643
|
},
|
|
37644
|
+
"kimi-k2.7-code-highspeed": {
|
|
37645
|
+
"vercel": "moonshotai/kimi-k2.7-code-highspeed"
|
|
37646
|
+
},
|
|
37631
37647
|
"kling-v2-5-turbo-i2v": {
|
|
37632
37648
|
"vercel": "klingai/kling-v2.5-turbo-i2v"
|
|
37633
37649
|
},
|
|
@@ -37810,6 +37826,7 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37810
37826
|
"vercel": "minimax/minimax-m2.7-highspeed"
|
|
37811
37827
|
},
|
|
37812
37828
|
"minimax-m3": {
|
|
37829
|
+
"togetherai": "togetherai/MiniMaxAI/MiniMax-M3",
|
|
37813
37830
|
"vercel": "minimax/minimax-m3"
|
|
37814
37831
|
},
|
|
37815
37832
|
"MiniMaxAI/MiniMax-M2.5": {
|
|
@@ -37818,6 +37835,9 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37818
37835
|
"MiniMaxAI/MiniMax-M2.7": {
|
|
37819
37836
|
"togetherai": "togetherai/MiniMaxAI/MiniMax-M2.7"
|
|
37820
37837
|
},
|
|
37838
|
+
"MiniMaxAI/MiniMax-M3": {
|
|
37839
|
+
"togetherai": "togetherai/MiniMaxAI/MiniMax-M3"
|
|
37840
|
+
},
|
|
37821
37841
|
"ministral-14b": {
|
|
37822
37842
|
"vercel": "mistral/ministral-14b"
|
|
37823
37843
|
},
|
|
@@ -37845,6 +37865,9 @@ var MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
37845
37865
|
"moonshotai/Kimi-K2.6": {
|
|
37846
37866
|
"togetherai": "togetherai/moonshotai/Kimi-K2.6"
|
|
37847
37867
|
},
|
|
37868
|
+
"moonshotai/Kimi-K2.7-Code": {
|
|
37869
|
+
"togetherai": "togetherai/moonshotai/Kimi-K2.7-Code"
|
|
37870
|
+
},
|
|
37848
37871
|
"morph-v3-fast": {
|
|
37849
37872
|
"vercel": "morph/morph-v3-fast"
|
|
37850
37873
|
},
|
|
@@ -42755,7 +42778,8 @@ var InlineClientToolSchema = external_exports.object({
|
|
|
42755
42778
|
type: external_exports.literal("object")
|
|
42756
42779
|
}).passthrough(),
|
|
42757
42780
|
origin: external_exports.enum(["webmcp", "sdk"]).optional(),
|
|
42758
|
-
pageOrigin: external_exports.string().optional()
|
|
42781
|
+
pageOrigin: external_exports.string().optional(),
|
|
42782
|
+
untrustedContentHint: external_exports.boolean().optional()
|
|
42759
42783
|
});
|
|
42760
42784
|
var ClientToolsPolicySchema = external_exports.object({
|
|
42761
42785
|
allowlist: external_exports.array(external_exports.string()).optional()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"rosie-skills": "0.8.1",
|
|
25
25
|
"yaml": "^2.9.0",
|
|
26
26
|
"@runtypelabs/ink-components": "0.3.2",
|
|
27
|
-
"@runtypelabs/sdk": "4.19.
|
|
27
|
+
"@runtypelabs/sdk": "4.19.2",
|
|
28
28
|
"@runtypelabs/terminal-animations": "0.2.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"tsx": "^4.7.1",
|
|
40
40
|
"typescript": "^5.3.3",
|
|
41
41
|
"vitest": "^4.1.0",
|
|
42
|
-
"@runtypelabs/shared": "1.
|
|
42
|
+
"@runtypelabs/shared": "1.34.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=22.0.0"
|