@runtypelabs/cli 2.59.5 → 2.59.7

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/README.md CHANGED
@@ -1083,8 +1083,9 @@ Pass `--timeout <ms>` to use a different positive millisecond deadline.
1083
1083
 
1084
1084
  ### `runtype simulations`
1085
1085
 
1086
- Push a sandbox candidate (an agent run as real code in a Runtype sandbox). Simulations run on
1087
- staging, so pass `--api-url https://api.runtype-staging.com` with a staging key.
1086
+ Push a sandbox candidate (an agent run as real code in a Runtype sandbox). Simulations is not
1087
+ available on every account; when it is not enabled for yours, these commands fail with
1088
+ `SIMULATIONS_DISABLED`.
1088
1089
 
1089
1090
  | Command | Description |
1090
1091
  | ------------------------------------------------------- | ----------------------------------------------------------------- |
@@ -184,7 +184,7 @@ const productKindSchema = _enum([
184
184
  "external",
185
185
  "spec_only"
186
186
  ]);
187
- // ../shared/dist/chunk-Cf0i0FDN.mjs
187
+ // ../shared/dist/chunk-CfE8pNWb.mjs
188
188
  /** The manifest file at the root of a candidate's source bundle. */
189
189
  const CANDIDATE_MANIFEST_FILENAME = "runtype-candidate.json";
190
190
  const candidateRuntimeSchema = _enum([
@@ -532,6 +532,8 @@ const toolProcessCheckSchema = discriminatedUnion("assert", [
532
532
  format: _enum(["uuid", "uuid_keyed"]),
533
533
  /** For `uuid_keyed`, the suffixes a key may end in, such as filter operators. */
534
534
  keySuffixes: array(string().min(1).max(32).regex(/^[A-Za-z0-9]+$/)).max(20).optional(),
535
+ /** For `uuid_keyed`, a bare `<uuid>` key with no suffix also passes, for a server that reads it as a default. */
536
+ bareKeys: boolean().optional(),
535
537
  /** Count only calls that also ended in an error, for a surface that may accept the other form. */
536
538
  onlyFailed: boolean().optional(),
537
539
  max: allowedCountSchema.optional()
@@ -1503,6 +1505,7 @@ const servedBySchema = _enum([
1503
1505
  const servedByCountsSchema = partialRecord(servedBySchema, number().int().nonnegative());
1504
1506
  /** One tool call as the tool layer records it ("Agent experience", "Per-call facts in the tool layer"). */
1505
1507
  const toolCallFactsSchema = object({
1508
+ /** The native tool call id, when the target or the operator host knew one; the transcript's `toolCallId`. */
1506
1509
  callId: string().optional(),
1507
1510
  callIndex: number().int().nonnegative(),
1508
1511
  shownName: string(),
@@ -1553,6 +1556,8 @@ const toolCallFactsSchema = object({
1553
1556
  unanswered: boolean().optional(),
1554
1557
  /** Why the synthesizer answered as it did, on a synthesized call; the review panel and the judge citation read it. */
1555
1558
  rationale: string().max(500).optional(),
1559
+ /** Why a `synthesisFailed` call's synthesis failed: the refused check, `provider error: …` or `aborted`. */
1560
+ synthesisFailure: string().max(500).optional(),
1556
1561
  /** The frozen row of the suggestions the mini-agent filled into this call's designed error (D4); `exchangeId` stays the answer's. */
1557
1562
  suggestionsExchangeId: string().nullable().optional()
1558
1563
  });
@@ -3533,6 +3538,7 @@ async function digestCandidateArchive(file, options = {}) {
3533
3538
  bytes
3534
3539
  };
3535
3540
  }
3541
+ const SIMULATIONS_DISABLED_MESSAGE = "Simulations is not enabled for this account.";
3536
3542
  var ExchangesFileError = class extends Error {
3537
3543
  code = "INVALID_INPUT";
3538
3544
  constructor(message) {
@@ -3616,7 +3622,7 @@ function describeSimulationApiError(error) {
3616
3622
  };
3617
3623
  if (code === "SIMULATIONS_DISABLED") return {
3618
3624
  code,
3619
- message: "Simulations are not available on this API. They run on staging: pass --api-url https://api.runtype-staging.com with a staging key."
3625
+ message: SIMULATIONS_DISABLED_MESSAGE
3620
3626
  };
3621
3627
  return {
3622
3628
  code: code ?? "EXECUTION_FAILED",
@@ -3716,7 +3722,7 @@ function describeCandidateApiError(error, action) {
3716
3722
  case 401: return new CandidatePushError("AUTH_REQUIRED", "Not authenticated: run `runtype login` or set RUNTYPE_API_KEY.");
3717
3723
  case 403: return new CandidatePushError("FORBIDDEN", `${error.message} This step needs an API key with ${ACTION_SCOPE[action]}.`);
3718
3724
  case 404:
3719
- if (code === "SIMULATIONS_DISABLED") return new CandidatePushError("SIMULATIONS_DISABLED", "Simulations are not available on this API. They run on staging: pass --api-url https://api.runtype-staging.com with a staging key.");
3725
+ if (code === "SIMULATIONS_DISABLED") return new CandidatePushError("SIMULATIONS_DISABLED", SIMULATIONS_DISABLED_MESSAGE);
3720
3726
  return new CandidatePushError("NOT_FOUND", `Not found: ${error.message}`);
3721
3727
  case 411: return new CandidatePushError("LENGTH_REQUIRED", "The API refused the upload because it carried no Content-Length.");
3722
3728
  case 413: return new CandidatePushError("TOO_LARGE", "The API refused the bundle: it is over the 250 MB compressed limit.");
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { C as BuiltInToolGroup, S as BuiltInToolCategory, a as TextContentPartSchema, d as ToolAnnotationsSchema, f as modelVisibleToolName, g as extractionFieldSchema, h as stripTrailingChars, i as ReasoningContentPartSchema, m as crawlConfigSchema, n as ImageContentPartSchema, p as FILTER_OPERATORS, t as FileContentPartSchema, w as PRODUCT_SURFACE_TYPES } from "./chunk-Bor6T2kX.js";
2
+ import { C as BuiltInToolGroup, S as BuiltInToolCategory, a as TextContentPartSchema, d as ToolAnnotationsSchema, f as modelVisibleToolName, g as extractionFieldSchema, h as stripTrailingChars, i as ReasoningContentPartSchema, m as crawlConfigSchema, n as ImageContentPartSchema, p as FILTER_OPERATORS, t as FileContentPartSchema, w as PRODUCT_SURFACE_TYPES } from "./chunk-daI6hXN9.js";
3
3
  import { C as unknown, S as union, T as toJSONSchema, _ as preprocess, a as _null, b as string, c as boolean, f as literal, h as object, i as _enum, m as number, s as array, u as discriminatedUnion, v as record } from "./chunk-BOpO6xE-.js";
4
4
  import { i as number$1, r as jsonPatchSchema } from "./chunk-BJQv9Elp.js";
5
5
  import { n as MCPServerCategory } from "./chunk-BVMhjGVe.js";
@@ -2515,7 +2515,7 @@ function loadBrandConfig(env) {
2515
2515
  }
2516
2516
  loadBrandConfig();
2517
2517
  BRAND_CONFIGS[DEFAULT_BRAND_NAME];
2518
- // ../shared/dist/chunk-DDNfGs20.mjs
2518
+ // ../shared/dist/chunk-o0jfQu03.mjs
2519
2519
  const ARCHITECTURE_PREVIEW_SURFACE_TYPES = [
2520
2520
  "chat",
2521
2521
  "api",
@@ -71,7 +71,7 @@ const initCommand = new Command("init").description("Set up Runtype CLI with gui
71
71
  console.error(message);
72
72
  process.exit(1);
73
73
  }
74
- const { InitApp } = await import("./chunk-BA54r0E3.js");
74
+ const { InitApp } = await import("./chunk-dJOtWsqj.js");
75
75
  const { waitUntilExit } = render(React.createElement(InitApp, {
76
76
  apiUrl: options.apiUrl,
77
77
  onComplete: () => {}
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { _ as isProductEventName, a as PRODUCT_EVENT_DEFAULT_NEXT_POLL_MS, i as PRODUCT_EVENT_CURSOR_PATTERN, o as PRODUCT_EVENT_MAX_WAIT_MS, s as PRODUCT_EVENT_NAMES } from "./chunk-ldrPop2n.js";
2
+ import { _ as isProductEventName, a as PRODUCT_EVENT_DEFAULT_NEXT_POLL_MS, i as PRODUCT_EVENT_CURSOR_PATTERN, o as PRODUCT_EVENT_MAX_WAIT_MS, s as PRODUCT_EVENT_NAMES } from "./chunk-B9jVbuiZ.js";
3
3
  import { i as getApiUrl, r as createCliClient } from "./chunk-BW2fg46T.js";
4
4
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
5
5
  import { Command } from "commander";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as isTTY } from "./index.js";
3
3
  import { ConfirmPrompt, DataList, EntityCard, MutationResult, React, render, useEffect, useState } from "./chunk-CoAWdSiE.js";
4
- import { y as neutralizeCsvFormula } from "./chunk-ldrPop2n.js";
4
+ import { y as neutralizeCsvFormula } from "./chunk-B9jVbuiZ.js";
5
5
  import { r as createCliClient } from "./chunk-BW2fg46T.js";
6
6
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
7
7
  import { a as printJson, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { a as printJson } from "./chunk-CcFCyqbB.js";
3
- import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-CGEnHIUD.js";
3
+ import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.js";
4
4
  import { t as buildAgentVersionSelector } from "./chunk-BxNJgYbE.js";
5
5
  import { Command } from "commander";
6
6
  import chalk from "chalk";
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as isTTY } from "./index.js";
3
3
  import { ConfirmPrompt, DataList, EntityCard, MutationResult, React, render, useEffect, useState } from "./chunk-CoAWdSiE.js";
4
- import "./chunk-Bor6T2kX.js";
4
+ import "./chunk-daI6hXN9.js";
5
5
  import { r as createCliClient } from "./chunk-BW2fg46T.js";
6
6
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
7
7
  import { a as printJson, i as printDetail, n as buildListParams, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
8
- import { taskCommand } from "./chunk-B4QDHw-S.js";
8
+ import { taskCommand } from "./chunk-wTGNGQeY.js";
9
9
  import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
10
- import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-CGEnHIUD.js";
10
+ import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.js";
11
11
  import { f as writePulledDefinition, o as agentSkillsCommand } from "./chunk-BirUxTtH.js";
12
12
  import { r as describeAgentExportFailure, t as agentReleaseSelectorParams } from "./chunk-87nRnNRG.js";
13
13
  import { t as buildAgentVersionSelector } from "./chunk-BxNJgYbE.js";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { v as managedDeploymentCreateRequestSchema } from "./chunk-ldrPop2n.js";
2
+ import { v as managedDeploymentCreateRequestSchema } from "./chunk-B9jVbuiZ.js";
3
3
  import { r as createCliClient } from "./chunk-BW2fg46T.js";
4
4
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
5
5
  import { a as printJson } from "./chunk-CcFCyqbB.js";
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as isTTY } from "./index.js";
3
3
  import { DataList, EntityCard, MutationResult, React, render, useEffect, useState } from "./chunk-CoAWdSiE.js";
4
- import { p as buildDashboardUrl } from "./chunk-ldrPop2n.js";
4
+ import { p as buildDashboardUrl } from "./chunk-B9jVbuiZ.js";
5
5
  import { r as createCliClient, s as getDashboardUrl } from "./chunk-BW2fg46T.js";
6
6
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
7
7
  import { a as printJson, i as printDetail, n as buildListParams, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
8
8
  import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
9
9
  import { c as buildEntityPullCommand, d as productPullFpoCommand, r as PRODUCT_ENSURE_SPEC, s as buildEntityEnsureCommand, u as productEnsureFpoCommand } from "./chunk-BirUxTtH.js";
10
- import { t as getCurrentAccountId } from "./chunk-CxKyVJcL.js";
10
+ import { t as getCurrentAccountId } from "./chunk-DT8f26ha.js";
11
11
  import { n as validateQuickStartUrl, t as createQuickStartProduct } from "./chunk-i7DwkvvD.js";
12
12
  import { Command } from "commander";
13
13
  import chalk from "chalk";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { g as isOwnExecutionFrame } from "./chunk-ldrPop2n.js";
2
+ import { g as isOwnExecutionFrame } from "./chunk-B9jVbuiZ.js";
3
3
  import { r as createCliClient } from "./chunk-BW2fg46T.js";
4
4
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
5
5
  import { a as printJson } from "./chunk-CcFCyqbB.js";
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { b as CredentialStore, t as isTTY } from "./index.js";
3
- import { p as buildDashboardUrl } from "./chunk-ldrPop2n.js";
3
+ import { p as buildDashboardUrl } from "./chunk-B9jVbuiZ.js";
4
4
  import { i as getApiUrl, l as getRuntimeApiKey, n as ApiKeyValidationUnavailableError, r as createCliClient, s as getDashboardUrl, t as ApiKeyManager } from "./chunk-BW2fg46T.js";
5
5
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
6
6
  import { a as printJson } from "./chunk-CcFCyqbB.js";
7
- import { t as getCurrentAccountId } from "./chunk-CxKyVJcL.js";
7
+ import { t as getCurrentAccountId } from "./chunk-DT8f26ha.js";
8
8
  import { Command } from "commander";
9
9
  import chalk from "chalk";
10
10
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { b as CredentialStore } from "./index.js";
3
- import { S as selectAccountId } from "./chunk-ldrPop2n.js";
3
+ import { S as selectAccountId } from "./chunk-B9jVbuiZ.js";
4
4
  import { t as ApiKeyManager } from "./chunk-BW2fg46T.js";
5
5
  // src/lib/account-context.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { p as buildDashboardUrl } from "./chunk-ldrPop2n.js";
3
- import { a as treeLogPathForStateFile, i as materializeAtHead, n as readSessionEventLog, r as loadTreeLog, t as getActiveDeploySandboxPreviewUrl } from "./chunk-B4QDHw-S.js";
4
- import { t as getCurrentAccountId } from "./chunk-CxKyVJcL.js";
2
+ import { p as buildDashboardUrl } from "./chunk-B9jVbuiZ.js";
3
+ import { a as treeLogPathForStateFile, i as materializeAtHead, n as readSessionEventLog, r as loadTreeLog, t as getActiveDeploySandboxPreviewUrl } from "./chunk-wTGNGQeY.js";
4
+ import { t as getCurrentAccountId } from "./chunk-DT8f26ha.js";
5
5
  import { t as ModelPicker } from "./chunk-CrlqIfmb.js";
6
6
  import chalk from "chalk";
7
7
  import * as fs$1 from "node:fs";
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as mergeZodSchemaAndSemantic, l as validateFPO, o as coerceFullProductObjectForSemanticValidation, s as fullProductObjectSchema, u as validateFPOTemplate } from "./chunk-Bor6T2kX.js";
2
+ import { c as mergeZodSchemaAndSemantic, l as validateFPO, o as coerceFullProductObjectForSemanticValidation, s as fullProductObjectSchema, u as validateFPOTemplate } from "./chunk-daI6hXN9.js";
3
3
  import { a as printJson } from "./chunk-CcFCyqbB.js";
4
4
  import { Command, Option } from "commander";
5
5
  import chalk from "chalk";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { P as getRuntypeHomeDir, b as CredentialStore, t as isTTY } from "./index.js";
3
3
  import { ConfirmPrompt, DataList, EntityCard, MutationResult, React, Text, mutationResultProps, render, useEffect, useMutationState, useState } from "./chunk-CoAWdSiE.js";
4
- import { b as pkceCodeChallengeSchema, d as apiKeyFileSlug, f as apiKeyFileUsageHint, m as isForbiddenRequestedPermission, n as API_KEY_REQUEST_MAX_TTL_SECONDS, r as API_KEY_REQUEST_POLL_INTERVAL_MS, t as API_KEY_FILE_FORMAT, u as apiKeyFileSchema, x as pkceCodeVerifierSchema } from "./chunk-ldrPop2n.js";
4
+ import { b as pkceCodeChallengeSchema, d as apiKeyFileSlug, f as apiKeyFileUsageHint, m as isForbiddenRequestedPermission, n as API_KEY_REQUEST_MAX_TTL_SECONDS, r as API_KEY_REQUEST_POLL_INTERVAL_MS, t as API_KEY_FILE_FORMAT, u as apiKeyFileSchema, x as pkceCodeVerifierSchema } from "./chunk-B9jVbuiZ.js";
5
5
  import { i as getApiUrl, r as createCliClient } from "./chunk-BW2fg46T.js";
6
6
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
7
7
  import { a as printJson, i as printDetail, r as getTotalCount } from "./chunk-CcFCyqbB.js";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { b as CredentialStore } from "./index.js";
3
- import { S as selectAccountId, p as buildDashboardUrl } from "./chunk-ldrPop2n.js";
3
+ import { S as selectAccountId, p as buildDashboardUrl } from "./chunk-B9jVbuiZ.js";
4
4
  import { s as getDashboardUrl, t as ApiKeyManager } from "./chunk-BW2fg46T.js";
5
5
  import { n as browserLogin, r as orgMismatchWarning } from "./chunk-BnWhIqW1.js";
6
6
  import { n as validateQuickStartUrl, t as createQuickStartProduct } from "./chunk-i7DwkvvD.js";
@@ -3507,7 +3507,7 @@ function isToolCompatibleWithModel(toolId, modelId, provider) {
3507
3507
  if (compatibility.models.length === 0) return true;
3508
3508
  return compatibility.models.some((m) => modelId.includes(m));
3509
3509
  }
3510
- // ../shared/dist/chunk-B-1pUIO0.mjs
3510
+ // ../shared/dist/chunk-CLyQG4bc.mjs
3511
3511
  /**
3512
3512
  * Maps model families to provider-specific model IDs.
3513
3513
  * Use for routing: family + provider → exact model ID
@@ -3795,7 +3795,10 @@ const MODEL_FAMILY_PROVIDER_IDS = {
3795
3795
  "google": "gemini-4-carbon",
3796
3796
  "vercel": "google/gemini-4-carbon"
3797
3797
  },
3798
- "gemini-4-hydrogen": { "vercel": "google/gemini-4-hydrogen" },
3798
+ "gemini-4-hydrogen": {
3799
+ "google": "gemini-4-hydrogen",
3800
+ "vercel": "google/gemini-4-hydrogen"
3801
+ },
3799
3802
  "gemini-embedding-001": { "google": "gemini-embedding-001" },
3800
3803
  "gemini-embedding-2": { "google": "gemini-embedding-2" },
3801
3804
  "gemini-nano-banana-2-1": { "vercel": "google/gemini-nano-banana-2.1" },
@@ -4197,11 +4200,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
4197
4200
  "lyria-3-clip-preview": { "google": "lyria-3-clip-preview" },
4198
4201
  "lyria-3-pro": { "google": "lyria-3-pro-preview" },
4199
4202
  "lyria-3-pro-preview": { "google": "lyria-3-pro-preview" },
4200
- "mercury-2": { "vercel": "inception/mercury-2" },
4201
- "mercury-2-5": { "vercel": "inception/mercury-2.5" },
4202
- "mercury-2.5": { "vercel": "inception/mercury-2.5" },
4203
- "mercury-3": { "vercel": "inception/mercury-3" },
4204
- "mercury-coder-small": { "vercel": "inception/mercury-coder-small" },
4205
4203
  "mimo-v2-6-flash": { "vercel": "xiaomi/mimo-v2.6-flash" },
4206
4204
  "mimo-v2-6-pro": { "vercel": "xiaomi/mimo-v2.6-pro" },
4207
4205
  "mimo-v2-6-pro-ultraspeed": { "vercel": "xiaomi/mimo-v2.6-pro-ultraspeed" },
@@ -4761,7 +4759,7 @@ object({
4761
4759
  schemaTokens: number().int().min(0).optional(),
4762
4760
  passes: number().int().min(0).optional()
4763
4761
  });
4764
- // ../shared/dist/chunk-Bj_H8JHp.mjs
4762
+ // ../shared/dist/chunk-CcsLI8BI.mjs
4765
4763
  const voiceInterruptionModeSchema = _enum([
4766
4764
  "none",
4767
4765
  "cancel",
@@ -8029,7 +8027,7 @@ object({
8029
8027
  externalId: string().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."),
8030
8028
  importedAt: string().datetime({ offset: true }).optional()
8031
8029
  });
8032
- // ../shared/dist/chunk-BO9z44vJ.mjs
8030
+ // ../shared/dist/chunk-BJKUc65d.mjs
8033
8031
  /** Public schedule knobs shared by canonical, product-surface and FPO schedule writes. */
8034
8032
  const scheduleExecutionOptionsSchema = object({
8035
8033
  chunkSize: number().int().min(1).max(250).optional(),
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as TRACE_QUERY_DIMENSIONS, l as TRACE_SLICE_SPAN_KINDS } from "./chunk-ldrPop2n.js";
2
+ import { c as TRACE_QUERY_DIMENSIONS, l as TRACE_SLICE_SPAN_KINDS } from "./chunk-B9jVbuiZ.js";
3
3
  import { r as createCliClient } from "./chunk-BW2fg46T.js";
4
4
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
5
5
  import { a as printJson } from "./chunk-CcFCyqbB.js";
@@ -5,7 +5,7 @@ import { r as createCliClient } from "./chunk-BW2fg46T.js";
5
5
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
6
6
  import { a as printJson, i as printDetail, o as printList, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
7
7
  import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
8
- import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-CGEnHIUD.js";
8
+ import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.js";
9
9
  import { c as buildEntityPullCommand, n as FLOW_ENSURE_SPEC, s as buildEntityEnsureCommand } from "./chunk-BirUxTtH.js";
10
10
  import { Command } from "commander";
11
11
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as ModelPicker } from "./chunk-CrlqIfmb.js";
3
- import { MarathonApp } from "./chunk-o7OOUFvc.js";
3
+ import { MarathonApp } from "./chunk-J7og7tcU.js";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { Box, Text, useApp, useInput, useStdout } from "ink";
6
6
  import { theme } from "@runtypelabs/ink-components";
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { C as setMarathonTitle, F as getCliVersion, L as __require, N as getMarathonStateDir, P as getRuntypeHomeDir } from "./index.js";
3
3
  import { React, enterAltScreen, loadUi, render } from "./chunk-CoAWdSiE.js";
4
- import { _ as inferModelCreator, b as getBuiltInToolById, v as formatSystemToolId, x as isToolCompatibleWithModel, y as getAllBuiltInTools } from "./chunk-Bor6T2kX.js";
5
- import { h as isNonAIProvider } from "./chunk-ldrPop2n.js";
4
+ import { _ as inferModelCreator, b as getBuiltInToolById, v as formatSystemToolId, x as isToolCompatibleWithModel, y as getAllBuiltInTools } from "./chunk-daI6hXN9.js";
5
+ import { h as isNonAIProvider } from "./chunk-B9jVbuiZ.js";
6
6
  import { c as getDevPlanOverride, i as getApiUrl, s as getDashboardUrl } from "./chunk-BW2fg46T.js";
7
7
  import { n as ensureAuth } from "./chunk-CJraEBVd.js";
8
8
  import { a as printJson } from "./chunk-CcFCyqbB.js";
@@ -3768,8 +3768,8 @@ async function taskAction(agent, options) {
3768
3768
  }
3769
3769
  await loadUi();
3770
3770
  const [{ MarathonApp }, { MarathonStartupShell }, { DEFAULT_MODELS: DEFAULT_STARTUP_MODELS }] = await Promise.all([
3771
- import("./chunk-o7OOUFvc.js"),
3772
- import("./chunk-DRFnN4vE.js"),
3771
+ import("./chunk-J7og7tcU.js"),
3772
+ import("./chunk-ncO2uQf4.js"),
3773
3773
  import("./chunk-CrlqIfmb.js").then((n) => n.n)
3774
3774
  ]);
3775
3775
  const useStartupShell = canUseMarathonStartupShell(options);
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ const COMMAND_REGISTRY = [
71
71
  name: "init",
72
72
  term: "init [options]",
73
73
  description: "Set up Runtype CLI with guided onboarding",
74
- load: async () => (await import("./chunk-HElGjb0j.js")).initCommand
74
+ load: async () => (await import("./chunk-BiaJpE8S.js")).initCommand
75
75
  },
76
76
  {
77
77
  name: "login",
@@ -101,13 +101,13 @@ const COMMAND_REGISTRY = [
101
101
  name: "flows",
102
102
  term: "flows",
103
103
  description: "Manage flows",
104
- load: async () => (await import("./chunk-DZ826fCU.js")).flowsCommand
104
+ load: async () => (await import("./chunk-kwEUMViA.js")).flowsCommand
105
105
  },
106
106
  {
107
107
  name: "records",
108
108
  term: "records",
109
109
  description: "Manage records",
110
- load: async () => (await import("./chunk-5BlBUX1m.js")).recordsCommand
110
+ load: async () => (await import("./chunk-C-9ssZzB.js")).recordsCommand
111
111
  },
112
112
  {
113
113
  name: "collections",
@@ -143,7 +143,7 @@ const COMMAND_REGISTRY = [
143
143
  name: "sandbox-deployments",
144
144
  term: "sandbox-deployments",
145
145
  description: "Author managed deployments using retained runtime profiles and uploaded source IDs",
146
- load: async () => (await import("./chunk-DRuXafHh.js")).sandboxDeploymentsCommand
146
+ load: async () => (await import("./chunk-D-uxUFTT.js")).sandboxDeploymentsCommand
147
147
  },
148
148
  {
149
149
  name: "tools",
@@ -167,13 +167,13 @@ const COMMAND_REGISTRY = [
167
167
  name: "products",
168
168
  term: "products",
169
169
  description: "Manage products",
170
- load: async () => (await import("./chunk-BfshsW9I.js")).productsCommand
170
+ load: async () => (await import("./chunk-D6fmuAl0.js")).productsCommand
171
171
  },
172
172
  {
173
173
  name: "dispatch",
174
174
  term: "dispatch [options]",
175
175
  description: "Execute a flow or agent via the dispatch API",
176
- load: async () => (await import("./chunk-Bk3jcaaN.js")).dispatchCommand
176
+ load: async () => (await import("./chunk-CD4pXn7y.js")).dispatchCommand
177
177
  },
178
178
  {
179
179
  name: "conversations",
@@ -203,13 +203,13 @@ const COMMAND_REGISTRY = [
203
203
  name: "traces",
204
204
  term: "traces",
205
205
  description: "Mine traces: aggregate runs, read a bounded slice of one trace, compare two runs or cohorts",
206
- load: async () => (await import("./chunk-D01lTX0i.js")).tracesCommand
206
+ load: async () => (await import("./chunk-fqgOJsK2.js")).tracesCommand
207
207
  },
208
208
  {
209
209
  name: "agents",
210
210
  term: "agents",
211
211
  description: "Manage agents",
212
- load: async () => (await import("./chunk-Db7SOoy8.js")).agentsCommand
212
+ load: async () => (await import("./chunk-Cz1fluA2.js")).agentsCommand
213
213
  },
214
214
  {
215
215
  name: "models",
@@ -234,7 +234,7 @@ const COMMAND_REGISTRY = [
234
234
  aliases: ["keys"],
235
235
  term: "api-keys|keys",
236
236
  description: "Manage API keys",
237
- load: async () => (await import("./chunk-DZZHXQDF.js")).apiKeysCommand
237
+ load: async () => (await import("./chunk-Zk-o5_r7.js")).apiKeysCommand
238
238
  },
239
239
  {
240
240
  name: "client-tokens",
@@ -246,7 +246,7 @@ const COMMAND_REGISTRY = [
246
246
  name: "persona",
247
247
  term: "persona",
248
248
  description: "Set up Persona: create an agent, client token, and embed snippet",
249
- load: async () => (await import("./chunk-CUWlH8gE.js")).personaCommand
249
+ load: async () => (await import("./chunk-DDL8EL7C.js")).personaCommand
250
250
  },
251
251
  {
252
252
  name: "analytics",
@@ -276,7 +276,7 @@ const COMMAND_REGISTRY = [
276
276
  name: "marathon",
277
277
  term: "marathon [options] <agent>",
278
278
  description: "Run a multi-session agent task (alias for agents task)",
279
- load: async () => (await import("./chunk-B4QDHw-S.js")).createMarathonCommand()
279
+ load: async () => (await import("./chunk-wTGNGQeY.js")).createMarathonCommand()
280
280
  },
281
281
  {
282
282
  name: "tail",
@@ -288,13 +288,13 @@ const COMMAND_REGISTRY = [
288
288
  name: "events",
289
289
  term: "events",
290
290
  description: "Watch product events (failed executions, approvals, eval results, ...)",
291
- load: async () => (await import("./chunk-DPIb2n1u.js")).eventsCommand
291
+ load: async () => (await import("./chunk-BozvKSoV.js")).eventsCommand
292
292
  },
293
293
  {
294
294
  name: "validate-product",
295
295
  term: "validate-product [options] [input]",
296
296
  description: "Validate a product (FPO) or FPO template locally (no API call)",
297
- load: async () => (await import("./chunk-BuDinNcA.js")).validateProductCommand
297
+ load: async () => (await import("./chunk-NaMByjdC.js")).validateProductCommand
298
298
  },
299
299
  {
300
300
  name: "deploy",
@@ -358,7 +358,7 @@ const COMMAND_REGISTRY = [
358
358
  name: "simulations",
359
359
  term: "simulations",
360
360
  description: "Simulations: sandbox candidates, recorded tool exchanges and reports",
361
- load: async () => (await import("./chunk-DPuofXMp.js")).simulationsCommand
361
+ load: async () => (await import("./chunk-A9sGZdg3.js")).simulationsCommand
362
362
  },
363
363
  {
364
364
  name: "apps",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.59.5",
3
+ "version": "2.59.7",
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.15",
16
- "@runtypelabs/sdk": "11.22.0",
16
+ "@runtypelabs/sdk": "11.22.2",
17
17
  "@runtypelabs/terminal-animations": "0.2.4",
18
18
  "add-mcp": "2.6.0",
19
19
  "chalk": "^5.3.0",
@@ -37,10 +37,10 @@
37
37
  "devDependencies": {
38
38
  "@modelcontextprotocol/server": "2.3.1",
39
39
  "@runtypelabs/device-bridge": "0.2.5",
40
- "@runtypelabs/mcp-cli": "0.4.0",
41
- "@runtypelabs/model-execution": "0.42.1",
40
+ "@runtypelabs/mcp-cli": "0.4.1",
41
+ "@runtypelabs/model-execution": "0.42.2",
42
42
  "@runtypelabs/persona": "4.34.0",
43
- "@runtypelabs/shared": "3.119.1",
43
+ "@runtypelabs/shared": "3.119.3",
44
44
  "@types/express": "^5.0.6",
45
45
  "@types/micromatch": "^4.0.9",
46
46
  "@types/node": "^25.3.3",