@runtypelabs/cli 2.56.2 → 2.56.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.
Files changed (2) hide show
  1. package/dist/index.js +54 -43
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -135,7 +135,7 @@ const SURFACE_OUTBOUND_CREDENTIAL_KEYS = credentialKeysOf({
135
135
  smtpPassword: true
136
136
  });
137
137
  [.../* @__PURE__ */ new Set([...SURFACE_INBOUND_CREDENTIAL_KEYS, ...SURFACE_OUTBOUND_CREDENTIAL_KEYS])];
138
- // ../shared/dist/chunk-BP5cqd2d.mjs
138
+ // ../shared/dist/chunk-vz6TYCzg.mjs
139
139
  /** Every evaluation model the gateway lists, keyed by the gateway id a call names. */
140
140
  const GATEWAY_EVALUATION_MODELS = Object.freeze({
141
141
  "baseten/elephant-1": Object.freeze({
@@ -151,6 +151,19 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
151
151
  outputPer1MTokens: 0
152
152
  })
153
153
  }),
154
+ "baseten/joey-1": Object.freeze({
155
+ id: "baseten/joey-1",
156
+ name: "Joey-1",
157
+ description: "Joey-1 is a 2B decision model from Baseten's Base Labs for classification, routing, and scoring. It evaluates text context against choice, yes/no, and ordered scoring questions, returning answer probabilities and confidence in a single forward pass without generating free-form text.",
158
+ contextWindow: 16384,
159
+ supportedSpecifications: Object.freeze(["v4"]),
160
+ pricing: Object.freeze({
161
+ inputPerToken: "0.00000001",
162
+ outputPerToken: "0",
163
+ inputPer1MTokens: .01,
164
+ outputPer1MTokens: 0
165
+ })
166
+ }),
154
167
  "baseten/mammoth-1": Object.freeze({
155
168
  id: "baseten/mammoth-1",
156
169
  name: "Mammoth-1",
@@ -171,22 +184,9 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
171
184
  contextWindow: 8192,
172
185
  supportedSpecifications: Object.freeze(["v4"]),
173
186
  pricing: Object.freeze({
174
- inputPerToken: "0",
187
+ inputPerToken: "0.0000000105",
175
188
  outputPerToken: "0",
176
- inputPer1MTokens: 0,
177
- outputPer1MTokens: 0
178
- })
179
- }),
180
- "convaiinnovations/laya-free": Object.freeze({
181
- id: "convaiinnovations/laya-free",
182
- name: "Laya (Free)",
183
- description: "Laya is Convai Innovations’ System One evaluation model for fast, structured decisions. It evaluates shared state against choice, score, and yes/no questions and returns typed answers with probabilities in a single forward pass. It supports classification, routing, guardrail checks, and rubric-based assessment without generating free-form text.",
184
- contextWindow: 8192,
185
- supportedSpecifications: Object.freeze(["v4"]),
186
- pricing: Object.freeze({
187
- inputPerToken: "0",
188
- outputPerToken: "0",
189
- inputPer1MTokens: 0,
189
+ inputPer1MTokens: .0105,
190
190
  outputPer1MTokens: 0
191
191
  })
192
192
  }),
@@ -6471,7 +6471,7 @@ function date(params) {
6471
6471
  function number$1(params) {
6472
6472
  return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
6473
6473
  }
6474
- // ../shared/dist/chunk-VCYa1mc5.mjs
6474
+ // ../shared/dist/chunk-7fo51oVg.mjs
6475
6475
  const judgmentJsonValueSchema = lazy(() => union([
6476
6476
  _null(),
6477
6477
  string$2(),
@@ -9871,7 +9871,7 @@ function isSupportedElicitationSchema(schema) {
9871
9871
  const parsed = schemaNode.safeParse(schema);
9872
9872
  return parsed.success && typeof parsed.data !== "boolean" && parsed.data.type === "object";
9873
9873
  }
9874
- // ../shared/dist/chunk-DBw0Iwzv.mjs
9874
+ // ../shared/dist/chunk-CXNdCxH5.mjs
9875
9875
  /** The Tenancy Assurance Levels, in the order `tenancyAssuranceLevelSchema` is built from. */
9876
9876
  const TENANCY_ASSURANCE_LEVELS = [
9877
9877
  "anonymous",
@@ -9914,7 +9914,7 @@ function identityAudienceAllowed(audience, patterns) {
9914
9914
  return HOSTNAME_LABEL.test(label);
9915
9915
  });
9916
9916
  }
9917
- // ../shared/dist/chunk-DK3Dfg4W.mjs
9917
+ // ../shared/dist/chunk-DreMwtf_.mjs
9918
9918
  function extractSecretReferences(template) {
9919
9919
  const keys = /* @__PURE__ */ new Set();
9920
9920
  let match;
@@ -10505,7 +10505,7 @@ function separateToolIds(toolIds) {
10505
10505
  function isDataConnectionToolId(toolId) {
10506
10506
  return toolId.startsWith("dc:");
10507
10507
  }
10508
- // ../shared/dist/chunk-C8GiaVaQ.mjs
10508
+ // ../shared/dist/chunk-Bi36OeG1.mjs
10509
10509
  /**
10510
10510
  * The reserved model-facing name of the agent state write tool
10511
10511
  * (`packages/runtime/src/engine/state-write-tool.ts`). The model is told to call
@@ -11539,7 +11539,7 @@ object$4({
11539
11539
  externalId: string$2().min(1).max(500).optional().describe("The conversation id in the source system. Re-creating with the same system and externalId returns the existing conversation with imported: false instead of a duplicate."),
11540
11540
  importedAt: string$2().datetime({ offset: true }).optional()
11541
11541
  });
11542
- // ../shared/dist/chunk-DAnim9u1.mjs
11542
+ // ../shared/dist/chunk-BD17-E7U.mjs
11543
11543
  const voiceInterruptionModeSchema = _enum([
11544
11544
  "none",
11545
11545
  "cancel",
@@ -21152,6 +21152,25 @@ function finalize(r) {
21152
21152
  r.valid = r.errors.length === 0;
21153
21153
  return r;
21154
21154
  }
21155
+ /**
21156
+ * The setup mode a stored Claude Managed config is committed to. With no `setupMode`, a config that
21157
+ * names an `anthropicAgentId` is connect, which is how the FPO schema reads an omitted mode.
21158
+ * Returns undefined when the config commits to neither mode.
21159
+ */
21160
+ function resolveClaudeManagedSetupMode(stored) {
21161
+ if (!stored) return void 0;
21162
+ if (stored.setupMode === "create" || stored.setupMode === "connect") return stored.setupMode;
21163
+ const agentId = stored.anthropicAgentId;
21164
+ return typeof agentId === "string" && agentId.trim() ? "connect" : void 0;
21165
+ }
21166
+ /** Stable code for a create-mode Claude Managed config whose `mcpServers` are stored but never sent (#9588). */
21167
+ const CLAUDE_MANAGED_MCP_SERVERS_NOT_SENT_CODE = "CLAUDE_MANAGED_MCP_SERVERS_NOT_SENT";
21168
+ const CLAUDE_MANAGED_MCP_SERVERS_NOT_SENT_MESSAGE = "claudeManagedConfig.mcpServers is saved but not sent to Anthropic: Claude Managed agents do not connect Anthropic-native MCP servers yet. Add each MCP server as a Runtype tool instead (capabilities or config.tools.toolIds); Runtype tools reach the Anthropic agent as custom tools.";
21169
+ /** True when a create-mode config carries MCP servers Runtype will not send; connect mode never writes them. */
21170
+ function hasUnsentClaudeManagedMcpServers(config) {
21171
+ if (resolveClaudeManagedSetupMode(config) !== "create") return false;
21172
+ return Array.isArray(config?.mcpServers) && config.mcpServers.length > 0;
21173
+ }
21155
21174
  function getAgentSandboxCapabilityIssues(config) {
21156
21175
  if (!config || typeof config !== "object" || !("enabled" in config) || config.enabled !== true) return [];
21157
21176
  const sandbox = config;
@@ -21324,6 +21343,7 @@ function validateAgentDefinition(agent, capIndex) {
21324
21343
  const base = `capabilities[${capIndex}].agent`;
21325
21344
  if (!agent.name || agent.name.trim() === "") result.errors.push(createIssue("error", "AGENT_NAME_EMPTY", "Agent name is required", `${base}.name`));
21326
21345
  pushAgentTypeConfigMismatchIssues(agent, base, result);
21346
+ if (hasUnsentClaudeManagedMcpServers(agent.claudeManagedConfig)) result.warnings.push(createIssue("warning", CLAUDE_MANAGED_MCP_SERVERS_NOT_SENT_CODE, CLAUDE_MANAGED_MCP_SERVERS_NOT_SENT_MESSAGE, `${base}.claudeManagedConfig.mcpServers`));
21327
21347
  if (isNestedFpoAgent(agent)) {
21328
21348
  for (const issue of getAgentSandboxCapabilityIssues(agent.config?.sandbox)) result.errors.push(createIssue("error", issue.code, issue.message, `${base}.${issue.path}`, void 0, {
21329
21349
  requested: issue.requested,
@@ -24665,7 +24685,7 @@ _enum([
24665
24685
  "cancelled",
24666
24686
  "interrupted"
24667
24687
  ]);
24668
- // ../shared/dist/chunk-DA5hhace.mjs
24688
+ // ../shared/dist/chunk-22MoSt_7.mjs
24669
24689
  /**
24670
24690
  * Maps model families to provider-specific model IDs.
24671
24691
  * Use for routing: family + provider → exact model ID
@@ -24861,7 +24881,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24861
24881
  "google": "gemini-3.5-flash",
24862
24882
  "vercel": "google/gemini-3.5-flash"
24863
24883
  },
24864
- "gemini-3-5-flash-batch": { "vercel": "google/gemini-3.5-flash-batch" },
24865
24884
  "gemini-3-5-flash-lite": {
24866
24885
  "google": "gemini-3.5-flash-lite",
24867
24886
  "vercel": "google/gemini-3.5-flash-lite"
@@ -24876,7 +24895,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24876
24895
  "google": "gemini-3.7-flash",
24877
24896
  "vercel": "google/gemini-3.7-flash"
24878
24897
  },
24879
- "gemini-3-7-flash-batch": { "vercel": "google/gemini-3.7-flash-batch" },
24880
24898
  "gemini-3-8-flash": {
24881
24899
  "google": "gemini-3.8-flash",
24882
24900
  "vercel": "google/gemini-3.8-flash"
@@ -24914,7 +24932,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24914
24932
  "google": "gemini-3.5-flash",
24915
24933
  "vercel": "google/gemini-3.5-flash"
24916
24934
  },
24917
- "gemini-3.5-flash-batch": { "vercel": "google/gemini-3.5-flash-batch" },
24918
24935
  "gemini-3.5-flash-lite": {
24919
24936
  "google": "gemini-3.5-flash-lite",
24920
24937
  "vercel": "google/gemini-3.5-flash-lite"
@@ -24929,7 +24946,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24929
24946
  "google": "gemini-3.7-flash",
24930
24947
  "vercel": "google/gemini-3.7-flash"
24931
24948
  },
24932
- "gemini-3.7-flash-batch": { "vercel": "google/gemini-3.7-flash-batch" },
24933
24949
  "gemini-3.8-flash": {
24934
24950
  "google": "gemini-3.8-flash",
24935
24951
  "vercel": "google/gemini-3.8-flash"
@@ -24962,6 +24978,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24962
24978
  "glm-5-3-fast": { "vercel": "zai/glm-5.3-fast" },
24963
24979
  "glm-5-3-flash": { "vercel": "zai/glm-5.3-flash" },
24964
24980
  "glm-5-3-flashx": { "vercel": "zai/glm-5.3-flashx" },
24981
+ "glm-5-3-flashx-legal": { "vercel": "zai/glm-5.3-flashx-legal" },
24965
24982
  "glm-5.2": { "vercel": "zai/glm-5.2" },
24966
24983
  "glm-5.2-fast": { "vercel": "zai/glm-5.2-fast" },
24967
24984
  "glm-5.3": {
@@ -24971,6 +24988,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
24971
24988
  "glm-5.3-fast": { "vercel": "zai/glm-5.3-fast" },
24972
24989
  "glm-5.3-flash": { "vercel": "zai/glm-5.3-flash" },
24973
24990
  "glm-5.3-flashx": { "vercel": "zai/glm-5.3-flashx" },
24991
+ "glm-5.3-flashx-legal": { "vercel": "zai/glm-5.3-flashx-legal" },
24974
24992
  "gpt-4-1": {
24975
24993
  "openai": "gpt-4.1",
24976
24994
  "vercel": "openai/gpt-4.1"
@@ -25291,8 +25309,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
25291
25309
  "vercel": "spacexai/grok-build-0.1",
25292
25310
  "xai": "grok-build-0.1"
25293
25311
  },
25294
- "grok-voice-think-fast-2-0": { "vercel": "spacexai/grok-voice-think-fast-2.0" },
25295
- "grok-voice-think-fast-2.0": { "vercel": "spacexai/grok-voice-think-fast-2.0" },
25296
25312
  "hy-mt2-lite": { "vercel": "tencent/hy-mt2-lite" },
25297
25313
  "hy-mt2-plus": { "vercel": "tencent/hy-mt2-plus" },
25298
25314
  "hy-mt2-pro": { "vercel": "tencent/hy-mt2-pro" },
@@ -25316,27 +25332,27 @@ const MODEL_FAMILY_PROVIDER_IDS = {
25316
25332
  "kimi-k3.1-pro": { "vercel": "moonshotai/kimi-k3.1-pro" },
25317
25333
  "kimi-k3.1-pro-highspeed": { "vercel": "moonshotai/kimi-k3.1-pro-highspeed" },
25318
25334
  "laguna-s-2-1": { "vercel": "poolside/laguna-s-2.1" },
25319
- "laguna-s-2-1-free": { "vercel": "poolside/laguna-s-2.1-free" },
25320
25335
  "laguna-s-2.1": { "vercel": "poolside/laguna-s-2.1" },
25321
- "laguna-s-2.1-free": { "vercel": "poolside/laguna-s-2.1-free" },
25322
25336
  "lfm2-5-24b-a2b": { "vercel": "liquid/lfm2.5-24b-a2b" },
25323
25337
  "lfm2.5-24b-a2b": { "vercel": "liquid/lfm2.5-24b-a2b" },
25324
25338
  "ling-3-0-flash": { "vercel": "inclusionai/ling-3.0-flash" },
25325
25339
  "ling-3-0-flash-sante": { "vercel": "inclusionai/ling-3.0-flash-sante" },
25326
25340
  "ling-3-0-flash-vl": { "vercel": "inclusionai/ling-3.0-flash-vl" },
25327
25341
  "ling-3-1-flash": { "vercel": "inclusionai/ling-3.1-flash" },
25342
+ "ling-3-1-flash-1019": { "vercel": "inclusionai/ling-3.1-flash-1019" },
25328
25343
  "ling-3.0-flash": { "vercel": "inclusionai/ling-3.0-flash" },
25329
25344
  "ling-3.0-flash-sante": { "vercel": "inclusionai/ling-3.0-flash-sante" },
25330
25345
  "ling-3.0-flash-vl": { "vercel": "inclusionai/ling-3.0-flash-vl" },
25331
25346
  "ling-3.1-flash": { "vercel": "inclusionai/ling-3.1-flash" },
25347
+ "ling-3.1-flash-1019": { "vercel": "inclusionai/ling-3.1-flash-1019" },
25332
25348
  "llama-3.1-70b": { "vercel": "meta/llama-3.1-70b" },
25333
25349
  "llama-3.1-8b": { "vercel": "meta/llama-3.1-8b" },
25334
25350
  "llama-3.3-70b": { "vercel": "meta/llama-3.3-70b" },
25335
25351
  "llama3-1-70b": { "vercel": "meta/llama-3.1-70b" },
25336
25352
  "llama3-1-8b": { "vercel": "meta/llama-3.1-8b" },
25337
25353
  "llama3-3-70b": { "vercel": "meta/llama-3.3-70b" },
25338
- "longcat-2-5": { "vercel": "meituan/longcat-2.5-preview" },
25339
- "longcat-2.5-preview": { "vercel": "meituan/longcat-2.5-preview" },
25354
+ "longcat-2-5": { "vercel": "meituan/longcat-2.5" },
25355
+ "longcat-2.5": { "vercel": "meituan/longcat-2.5" },
25340
25356
  "lyria-3-clip": { "google": "lyria-3-clip-preview" },
25341
25357
  "lyria-3-clip-preview": { "google": "lyria-3-clip-preview" },
25342
25358
  "lyria-3-pro": { "google": "lyria-3-pro-preview" },
@@ -25346,13 +25362,9 @@ const MODEL_FAMILY_PROVIDER_IDS = {
25346
25362
  "mercury-2.5": { "vercel": "inception/mercury-2.5" },
25347
25363
  "mercury-3": { "vercel": "inception/mercury-3" },
25348
25364
  "mercury-coder-small": { "vercel": "inception/mercury-coder-small" },
25349
- "mimo-v2-5": { "vercel": "xiaomi/mimo-v2.5" },
25350
- "mimo-v2-5-pro": { "vercel": "xiaomi/mimo-v2.5-pro" },
25351
25365
  "mimo-v2-6-flash": { "vercel": "xiaomi/mimo-v2.6-flash" },
25352
25366
  "mimo-v2-6-pro": { "vercel": "xiaomi/mimo-v2.6-pro" },
25353
25367
  "mimo-v2-6-pro-ultraspeed": { "vercel": "xiaomi/mimo-v2.6-pro-ultraspeed" },
25354
- "mimo-v2.5": { "vercel": "xiaomi/mimo-v2.5" },
25355
- "mimo-v2.5-pro": { "vercel": "xiaomi/mimo-v2.5-pro" },
25356
25368
  "mimo-v2.6-flash": { "vercel": "xiaomi/mimo-v2.6-flash" },
25357
25369
  "mimo-v2.6-pro": { "vercel": "xiaomi/mimo-v2.6-pro" },
25358
25370
  "mimo-v2.6-pro-ultraspeed": { "vercel": "xiaomi/mimo-v2.6-pro-ultraspeed" },
@@ -25404,6 +25416,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
25404
25416
  "nova-lite": { "vercel": "amazon/nova-lite" },
25405
25417
  "nova-micro": { "vercel": "amazon/nova-micro" },
25406
25418
  "nova-pro": { "vercel": "amazon/nova-pro" },
25419
+ "particle-1": { "vercel": "particle/particle-1" },
25407
25420
  "qwen-3-14b": { "vercel": "alibaba/qwen-3-14b" },
25408
25421
  "qwen-3-235b": { "vercel": "alibaba/qwen-3-235b" },
25409
25422
  "qwen-3-30b": { "vercel": "alibaba/qwen-3-30b" },
@@ -25482,9 +25495,7 @@ const MODEL_FAMILY_PROVIDER_IDS = {
25482
25495
  "text-embedding-3-large": { "openai": "text-embedding-3-large" },
25483
25496
  "text-embedding-3-small": { "openai": "text-embedding-3-small" },
25484
25497
  "text-embedding-ada-002": { "openai": "text-embedding-ada-002" },
25485
- "toast-1": { "vercel": "mixedbread/toast-1" },
25486
- "trinity-large": { "vercel": "arcee-ai/trinity-large-thinking" },
25487
- "trinity-large-thinking": { "vercel": "arcee-ai/trinity-large-thinking" }
25498
+ "toast-1": { "vercel": "mixedbread/toast-1" }
25488
25499
  };
25489
25500
  new Set(Object.entries({
25490
25501
  "mixlayer": true,
@@ -25770,7 +25781,7 @@ const CREATOR_TO_PROVIDER = {
25770
25781
  "xiaomi": "vercel",
25771
25782
  "unknown": "openai"
25772
25783
  };
25773
- // ../shared/dist/chunk-Dq3RIWqI.mjs
25784
+ // ../shared/dist/chunk-Dga31wP2.mjs
25774
25785
  const DEFAULT_GENERIC_OPENAI_API_FORMAT = "chat-completions";
25775
25786
  /** Provider defaults shared by every execution engine and deploy guidance. */
25776
25787
  const DEFAULT_BEDROCK_REGION = "us-east-1";
@@ -26208,7 +26219,7 @@ function loadBrandConfig(env) {
26208
26219
  }
26209
26220
  loadBrandConfig();
26210
26221
  BRAND_CONFIGS[DEFAULT_BRAND_NAME];
26211
- // ../shared/dist/chunk-D3A8AGxO.mjs
26222
+ // ../shared/dist/chunk-C0kBjss_.mjs
26212
26223
  const ARCHITECTURE_PREVIEW_SURFACE_TYPES = [
26213
26224
  "chat",
26214
26225
  "api",
@@ -56685,9 +56696,9 @@ clientTokensCommand.command("regenerate <id>").description("Regenerate a client
56685
56696
  await waitUntilExit();
56686
56697
  });
56687
56698
  clientTokensCommand.addCommand(clientTokenEnsureCommand);
56688
- // ../../node_modules/.pnpm/@runtypelabs+persona@4.33.0/node_modules/@runtypelabs/persona/dist/codegen.js
56699
+ // ../../node_modules/.pnpm/@runtypelabs+persona@4.34.0/node_modules/@runtypelabs/persona/dist/codegen.js
56689
56700
  function e(e) {
56690
- return e?.cdnBase?.trim().replace(/\/+$/, ``).replace(/[\\'"<>`]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase().padStart(2, `0`)}`) || `https://cdn.jsdelivr.net/npm/@runtypelabs/persona@4.33.0/dist`;
56701
+ return e?.cdnBase?.trim().replace(/\/+$/, ``).replace(/[\\'"<>`]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase().padStart(2, `0`)}`) || `https://cdn.jsdelivr.net/npm/@runtypelabs/persona@4.34.0/dist`;
56691
56702
  }
56692
56703
  function t(e) {
56693
56704
  if (e !== void 0) return typeof e == `string` ? e : Array.isArray(e) ? `[${e.map((e) => e.toString()).join(`, `)}]` : e.toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.56.2",
3
+ "version": "2.56.4",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "@modelcontextprotocol/core": "2.3.1",
14
14
  "@napi-rs/keyring": "2.1.0",
15
15
  "@runtypelabs/ink-components": "0.3.13",
16
- "@runtypelabs/sdk": "11.13.0",
16
+ "@runtypelabs/sdk": "11.13.2",
17
17
  "@runtypelabs/terminal-animations": "0.2.4",
18
18
  "add-mcp": "2.0.0",
19
19
  "chalk": "^5.3.0",
@@ -37,9 +37,9 @@
37
37
  "devDependencies": {
38
38
  "@modelcontextprotocol/server": "2.3.1",
39
39
  "@runtypelabs/device-bridge": "0.2.5",
40
- "@runtypelabs/model-execution": "0.41.0",
41
- "@runtypelabs/persona": "4.33.0",
42
- "@runtypelabs/shared": "3.104.1",
40
+ "@runtypelabs/model-execution": "0.41.3",
41
+ "@runtypelabs/persona": "4.34.0",
42
+ "@runtypelabs/shared": "3.105.0",
43
43
  "@types/express": "^5.0.6",
44
44
  "@types/micromatch": "^4.0.9",
45
45
  "@types/node": "^25.3.3",