@runtypelabs/cli 2.58.0 → 2.58.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.
Files changed (2) hide show
  1. package/dist/index.js +21 -10
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ function mergeResults(...results) {
111
111
  merged.valid = merged.errors.length === 0;
112
112
  return merged;
113
113
  }
114
- // ../shared/dist/chunk-BbTDzQd7.mjs
114
+ // ../shared/dist/chunk-CIAa1ORz.mjs
115
115
  /** Names every key of `T` exactly once, so a new credential field fails the build. */
116
116
  function credentialKeysOf(presence) {
117
117
  return Object.keys(presence);
@@ -12675,7 +12675,7 @@ object$4({
12675
12675
  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."),
12676
12676
  importedAt: string$2().datetime({ offset: true }).optional()
12677
12677
  });
12678
- // ../shared/dist/chunk-Dkn7TqhO.mjs
12678
+ // ../shared/dist/chunk-Pcqp2fcI.mjs
12679
12679
  const voiceInterruptionModeSchema = _enum([
12680
12680
  "none",
12681
12681
  "cancel",
@@ -21408,7 +21408,12 @@ const DispatchPausedReasonSchema = union([
21408
21408
  parameters: record$2(string$2(), unknown()),
21409
21409
  awaitReason: string$2().optional(),
21410
21410
  approvalId: string$2().optional(),
21411
- elicitation: record$2(string$2(), unknown()).optional()
21411
+ elicitation: record$2(string$2(), unknown()).optional(),
21412
+ /** Set when a sub-agent raised the request and the parent parked on it shows it; answer it on the parent. */
21413
+ subagent: object$4({
21414
+ toolName: string$2(),
21415
+ parentToolCallId: string$2()
21416
+ }).optional()
21412
21417
  }),
21413
21418
  object$4({
21414
21419
  type: literal("crawl_pending"),
@@ -23442,7 +23447,7 @@ const UNIFIED_TERMINAL_OUTCOMES = [
23442
23447
  "error",
23443
23448
  "aborted"
23444
23449
  ];
23445
- // ../shared/dist/chunk-CylpViOl.mjs
23450
+ // ../shared/dist/chunk-DTYIy7IV.mjs
23446
23451
  const tokensSchema$1 = object$4({
23447
23452
  input: number$2(),
23448
23453
  output: number$2()
@@ -24017,7 +24022,9 @@ discriminatedUnion("type", [
24017
24022
  externalAgent: unifiedExternalAgentContextSchema.optional(),
24018
24023
  awaitReason: string$2().optional(),
24019
24024
  crawlId: string$2().optional(),
24020
- stepId: string$2().optional()
24025
+ stepId: string$2().optional(),
24026
+ /** Present when a parent waits on an attached child: the child's request, answered on the parent's routes. */
24027
+ subagent: unifiedSubagentAttributionSchema.optional()
24021
24028
  }),
24022
24029
  object$4({
24023
24030
  ...unifiedBase,
@@ -24112,7 +24119,7 @@ const UNIFIED_SSE_EVENT_TYPES = _unifiedTuple([
24112
24119
  "ping",
24113
24120
  "custom"
24114
24121
  ]);
24115
- // ../shared/dist/chunk-BuxVUmPs.mjs
24122
+ // ../shared/dist/chunk-DMRIr-Mz.mjs
24116
24123
  /** {@link MediaContentPart} — mirror of the union in `../media-types`. */
24117
24124
  const mediaAnnotationsSchema = object$4({ audience: array(_enum(["user", "assistant"])).optional() });
24118
24125
  const mediaContentPartSchema = union([
@@ -24407,7 +24414,9 @@ discriminatedUnion("type", [
24407
24414
  annotations: ToolAnnotationsSchema.optional(),
24408
24415
  pageOrigin: string$2().optional(),
24409
24416
  awaitReason: string$2().optional(),
24410
- elicitation: elicitationWireSchema.optional()
24417
+ elicitation: elicitationWireSchema.optional(),
24418
+ /** Present when a parent waits on an attached child (ES-43): the child's request, answered on the parent. */
24419
+ subagent: subagentAttributionSchema.optional()
24411
24420
  }),
24412
24421
  object$4({
24413
24422
  ...baseAgentEvent,
@@ -26292,7 +26301,7 @@ function loadBrandConfig(env) {
26292
26301
  }
26293
26302
  loadBrandConfig();
26294
26303
  BRAND_CONFIGS[DEFAULT_BRAND_NAME];
26295
- // ../shared/dist/chunk-DV7xJaYR.mjs
26304
+ // ../shared/dist/chunk-q502QsI7.mjs
26296
26305
  const ARCHITECTURE_PREVIEW_SURFACE_TYPES = [
26297
26306
  "chat",
26298
26307
  "api",
@@ -27767,7 +27776,7 @@ object$4({
27767
27776
  signalsConfigured: boolean().optional(),
27768
27777
  enableCliSurface: boolean().optional(),
27769
27778
  enableCliSurfacePublish: boolean().optional(),
27770
- enableCliSurfaceGraduation: boolean().optional(),
27779
+ enableCliSurfaceInstallDomain: boolean().optional(),
27771
27780
  enableMcpSurfaceSignIn: boolean().optional(),
27772
27781
  enableMcpSurfaceDeviceGrant: boolean().optional(),
27773
27782
  enableMcpSurfaceOobApprovals: boolean().optional(),
@@ -70537,7 +70546,7 @@ const productKindSchema = _enum([
70537
70546
  "external",
70538
70547
  "spec_only"
70539
70548
  ]);
70540
- // ../shared/dist/chunk-BobaAxaK.mjs
70549
+ // ../shared/dist/chunk-BxCw-_YD.mjs
70541
70550
  /** The manifest file at the root of a candidate's source bundle. */
70542
70551
  const CANDIDATE_MANIFEST_FILENAME = "runtype-candidate.json";
70543
70552
  const candidateRuntimeSchema = _enum([
@@ -72871,6 +72880,8 @@ object$4({
72871
72880
  exchangeId: string$2(),
72872
72881
  plausible: boolean().nullable()
72873
72882
  });
72883
+ const resynthesizeToolName = string$2().min(1).max(255);
72884
+ object$4({ tools: union([resynthesizeToolName, array(resynthesizeToolName).min(1).max(64)]).optional().describe("A server tool whose frozen answers to discard; repeat for several. Omit to discard every tool's.") });
72874
72885
  object$4({ discarded: number$2().int().nonnegative() });
72875
72886
  /** A tool's synthesized answers and how reviewers judged them, for the profile and the report caveats. */
72876
72887
  const synthesisReviewStatsSchema = object$4({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.58.0",
3
+ "version": "2.58.2",
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.14",
16
- "@runtypelabs/sdk": "11.18.2",
16
+ "@runtypelabs/sdk": "11.19.1",
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.2.1",
40
+ "@runtypelabs/mcp-cli": "0.3.1",
41
41
  "@runtypelabs/model-execution": "0.41.8",
42
42
  "@runtypelabs/persona": "4.34.0",
43
- "@runtypelabs/shared": "3.113.0",
43
+ "@runtypelabs/shared": "3.114.1",
44
44
  "@types/express": "^5.0.6",
45
45
  "@types/micromatch": "^4.0.9",
46
46
  "@types/node": "^25.3.3",