@introspection-ai/recipes 0.56.0 → 0.57.0

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 (141) hide show
  1. package/dist/batch/shards.d.ts +1 -1
  2. package/dist/batch/shards.d.ts.map +1 -1
  3. package/dist/batch/shards.js +3 -3
  4. package/dist/batch/shards.js.map +1 -1
  5. package/dist/child/agent.d.ts.map +1 -1
  6. package/dist/child/agent.js +6 -5
  7. package/dist/child/agent.js.map +1 -1
  8. package/dist/child/session.d.ts +1 -0
  9. package/dist/child/session.d.ts.map +1 -1
  10. package/dist/child/session.js +9 -6
  11. package/dist/child/session.js.map +1 -1
  12. package/dist/mcp/daemon/server.d.ts +0 -2
  13. package/dist/mcp/daemon/server.d.ts.map +1 -1
  14. package/dist/mcp/daemon/server.js +1 -1
  15. package/dist/mcp/daemon/server.js.map +1 -1
  16. package/dist/mcp-chunks/{auth-command-PZLSOYAT.js → auth-command-WE7QY6RH.js} +27 -27
  17. package/dist/mcp-chunks/call-arguments-2ABANGLE.js +16 -0
  18. package/dist/mcp-chunks/{call-command-VILJIFYG.js → call-command-OOBUGVTM.js} +56 -70
  19. package/dist/mcp-chunks/{chunk-N2U2FODH.js → chunk-2PTK6KBV.js} +4 -4
  20. package/dist/mcp-chunks/{chunk-F2X4Y2TQ.js → chunk-2R2HWX2E.js} +1 -1
  21. package/dist/mcp-chunks/{chunk-ORJND4AI.js → chunk-2R7UGABC.js} +70 -70
  22. package/dist/mcp-chunks/{chunk-US63Y6XE.js → chunk-32UZRZIL.js} +1 -1
  23. package/dist/mcp-chunks/{chunk-THRMUZZD.js → chunk-37VJZIFW.js} +8 -8
  24. package/dist/mcp-chunks/{chunk-5Z6WSV5D.js → chunk-3KSDZBUJ.js} +5 -5
  25. package/dist/mcp-chunks/{chunk-JTPTAO4M.js → chunk-44KI6DPL.js} +24 -15
  26. package/dist/mcp-chunks/{chunk-BHXCAVFP.js → chunk-4ACA5GWL.js} +1 -1
  27. package/dist/mcp-chunks/{chunk-E76ZUBOJ.js → chunk-4NABHXDS.js} +4 -4
  28. package/dist/mcp-chunks/{chunk-AJDK5Z7O.js → chunk-4SO2DY7F.js} +2 -3
  29. package/dist/mcp-chunks/{chunk-I6UFV7RW.js → chunk-5ZQKSEUN.js} +1 -1
  30. package/dist/mcp-chunks/{chunk-KZGUH7E2.js → chunk-73TMUGJL.js} +2039 -1148
  31. package/dist/mcp-chunks/{chunk-UVRJ3AAD.js → chunk-7KOGD2JK.js} +2 -2
  32. package/dist/mcp-chunks/{chunk-KJ5FPQF6.js → chunk-7SQZWTDU.js} +30 -26
  33. package/dist/mcp-chunks/{chunk-MYAMG6VL.js → chunk-ABPXAKP7.js} +89 -28
  34. package/dist/mcp-chunks/{chunk-2YV72LUA.js → chunk-AIUZOMBB.js} +12 -12
  35. package/dist/mcp-chunks/{chunk-V42T3QNK.js → chunk-BI6L3SYV.js} +9 -9
  36. package/dist/mcp-chunks/{chunk-757ZF552.js → chunk-CFRA424Y.js} +4 -4
  37. package/dist/mcp-chunks/{chunk-DU4SDPEV.js → chunk-CIQX62WO.js} +2 -2
  38. package/dist/mcp-chunks/{chunk-MHUMLEBO.js → chunk-CWM4RO33.js} +1 -1
  39. package/dist/mcp-chunks/{chunk-TUPFPO4L.js → chunk-DEYGZRBD.js} +5 -5
  40. package/dist/mcp-chunks/{chunk-3SXP4S2A.js → chunk-DL3GVI4M.js} +2 -2
  41. package/dist/mcp-chunks/{chunk-O7SIXJM6.js → chunk-EUHXZKP2.js} +108 -108
  42. package/dist/mcp-chunks/{chunk-H5PBSJP3.js → chunk-EV3SP7ME.js} +1 -1
  43. package/dist/mcp-chunks/chunk-EVEVCVYR.js +42 -0
  44. package/dist/mcp-chunks/{chunk-RUF27IUF.js → chunk-FDVES4CU.js} +2 -2
  45. package/dist/mcp-chunks/{chunk-L2MSWQDL.js → chunk-FJNWUAGR.js} +1 -1
  46. package/dist/mcp-chunks/{chunk-IWCVZ46B.js → chunk-G5DK4L6M.js} +2 -2
  47. package/dist/mcp-chunks/{chunk-3ETUDW7N.js → chunk-GQM53HF7.js} +1 -1
  48. package/dist/mcp-chunks/{chunk-2AKSS7WR.js → chunk-H44A4G2O.js} +2 -2
  49. package/dist/mcp-chunks/{chunk-WDWSA7RL.js → chunk-HGEKP2E5.js} +4 -4
  50. package/dist/mcp-chunks/{chunk-ELHS763C.js → chunk-HKMH4N3Z.js} +1 -1
  51. package/dist/mcp-chunks/{chunk-GZ53GNFP.js → chunk-HPFIAALB.js} +13 -10
  52. package/dist/mcp-chunks/chunk-KUJUYFDC.js +224 -0
  53. package/dist/mcp-chunks/{chunk-OIK5AH2S.js → chunk-MG6EVYIM.js} +41 -19
  54. package/dist/mcp-chunks/{chunk-QNXOIF5U.js → chunk-MSPGQEWX.js} +12 -12
  55. package/dist/mcp-chunks/{chunk-JEHI2YU4.js → chunk-MW3YO24Q.js} +3 -3
  56. package/dist/mcp-chunks/{chunk-WQL7FJQ3.js → chunk-NJR33E7V.js} +4 -4
  57. package/dist/mcp-chunks/{chunk-7U5NSQ5T.js → chunk-OSK2JGFH.js} +2 -2
  58. package/dist/mcp-chunks/{chunk-ZEA3Y5ZD.js → chunk-QHD5RXW4.js} +7 -7
  59. package/dist/mcp-chunks/{chunk-TC2JPBFB.js → chunk-QYR3UKJS.js} +7 -4
  60. package/dist/mcp-chunks/{chunk-3FRLDHVD.js → chunk-SYBDN4SV.js} +5 -5
  61. package/dist/mcp-chunks/{chunk-3P3KGT4H.js → chunk-TQ5T5VO7.js} +2 -2
  62. package/dist/mcp-chunks/{chunk-OWGTNJNR.js → chunk-TT3LOCMN.js} +2 -2
  63. package/dist/mcp-chunks/{chunk-3LENTPGE.js → chunk-TTVO6RCP.js} +2 -2
  64. package/dist/mcp-chunks/{chunk-IRSL7JRH.js → chunk-UY2QWZB3.js} +53 -49
  65. package/dist/mcp-chunks/{chunk-B6S43WID.js → chunk-VJ45Y5IO.js} +1 -1
  66. package/dist/mcp-chunks/{chunk-IRARVOUM.js → chunk-VJ5VDK6D.js} +1 -1
  67. package/dist/mcp-chunks/{chunk-6O42UGLI.js → chunk-VLJQSE6L.js} +9 -9
  68. package/dist/mcp-chunks/{chunk-HNQSUT44.js → chunk-W47YAN6W.js} +3 -3
  69. package/dist/mcp-chunks/{chunk-66VSGFXA.js → chunk-XU4D5QN2.js} +1 -1
  70. package/dist/mcp-chunks/{chunk-CXST5CVH.js → chunk-Y7JQJ352.js} +22 -18
  71. package/dist/mcp-chunks/{chunk-3HSC6NHZ.js → chunk-Y7UTXETL.js} +1 -1
  72. package/dist/mcp-chunks/{chunk-O3RTM5HD.js → chunk-YFPPHEDE.js} +1 -1
  73. package/dist/mcp-chunks/{chunk-N6YUOYDS.js → chunk-YGT57XUN.js} +2 -2
  74. package/dist/mcp-chunks/{chunk-BUOGKTKK.js → chunk-Z43KJRXY.js} +1 -1
  75. package/dist/mcp-chunks/{chunk-6P3KAQ5N.js → chunk-Z5XOB522.js} +1 -1
  76. package/dist/mcp-chunks/{chunk-63L6SHK3.js → chunk-ZEMVGFKG.js} +2 -2
  77. package/dist/mcp-chunks/{chunk-MEQXX43K.js → chunk-ZJZ53NIB.js} +1 -1
  78. package/dist/mcp-chunks/{cli-UQ5QXFXU.js → cli-TJFAYJO4.js} +81 -283
  79. package/dist/mcp-chunks/client-LDKUW5K5.js +32 -0
  80. package/dist/mcp-chunks/{config-command-ZSPJI34E.js → config-command-YGNK2VVL.js} +29 -29
  81. package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +36 -0
  82. package/dist/mcp-chunks/dist-5JNZD3JV.js +69 -0
  83. package/dist/mcp-chunks/{dist-Q7WSCBBK.js → dist-IFOLXE2R.js} +351 -1305
  84. package/dist/mcp-chunks/{emit-ts-command-SY4LQE4S.js → emit-ts-command-4EVF6CIG.js} +28 -25
  85. package/dist/mcp-chunks/{generate-cli-runner-LQBBQ7F5.js → generate-cli-runner-UFVSXJVK.js} +58 -49
  86. package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +32 -0
  87. package/dist/mcp-chunks/{inspect-cli-command-JPX4ON6N.js → inspect-cli-command-L3JGLLTG.js} +11 -11
  88. package/dist/mcp-chunks/{launch-UG7IH27P.js → launch-LUKDWKH4.js} +1 -1
  89. package/dist/mcp-chunks/{lifecycle-QBYGUHQ3.js → lifecycle-H57PYAZ5.js} +1 -1
  90. package/dist/mcp-chunks/{list-command-SDITI3ZM.js → list-command-QBO4LK5Q.js} +53 -42
  91. package/dist/mcp-chunks/logger-LvdykevT-BQ5B4N5O.js +995 -0
  92. package/dist/mcp-chunks/{output-utils-YTMZTA7J.js → output-utils-MB3PEV2M.js} +3 -3
  93. package/dist/mcp-chunks/{pi-mcp-runtime-OLO25D7A.js → pi-mcp-runtime-OIMIJV5A.js} +73 -17
  94. package/dist/mcp-chunks/{prompt-DkftHXS7-N7UENQ4C.js → prompt-DkftHXS7-TE2LNPAM.js} +1 -1
  95. package/dist/mcp-chunks/{record-command-JGTMATYI.js → record-command-RYDP3Y2A.js} +5 -5
  96. package/dist/mcp-chunks/{replay-command-S2VAC4RW.js → replay-command-QDJCQ5JU.js} +6 -6
  97. package/dist/mcp-chunks/{resource-command-SRFQQROJ.js → resource-command-RKHHQBFP.js} +9 -9
  98. package/dist/mcp-chunks/{result-utils-JASGNHXK.js → result-utils-ZD5GFX7P.js} +3 -3
  99. package/dist/mcp-chunks/runtime-F7PP4V25.js +39 -0
  100. package/dist/mcp-chunks/{runtime-wrapper-7HYO3NM5.js → runtime-wrapper-AV4JCNRF.js} +3 -3
  101. package/dist/mcp-chunks/{serve-command-YKSIXG7K.js → serve-command-MRPTK4XX.js} +26 -26
  102. package/dist/mcp-chunks/server-2WSYXDII.js +43 -0
  103. package/dist/mcp-chunks/{timeouts-BJWDJEMH.js → timeouts-2SQIDYBE.js} +4 -3
  104. package/dist/mcp-chunks/{vault-command-EYOIFWEY.js → vault-command-6JVDCFWU.js} +5 -5
  105. package/dist/mcp-chunks/{webapi-WMMA3OEC.js → webapi-CI4O7AUX.js} +1 -1
  106. package/dist/mcp-daemon.js +35 -31
  107. package/dist/mcp-run-worker.js +34 -30
  108. package/dist/model-binding.d.ts +34 -3
  109. package/dist/model-binding.d.ts.map +1 -1
  110. package/dist/model-binding.js +174 -4
  111. package/dist/model-binding.js.map +1 -1
  112. package/dist/recipe/manifest.generated.d.ts +2 -2
  113. package/dist/recipe/manifest.generated.d.ts.map +1 -1
  114. package/dist/recipe/manifest.generated.js +2 -2
  115. package/dist/recipe/manifest.generated.js.map +1 -1
  116. package/dist/recipe/model.d.ts +2 -0
  117. package/dist/recipe/model.d.ts.map +1 -1
  118. package/dist/recipe/model.js +15 -1
  119. package/dist/recipe/model.js.map +1 -1
  120. package/dist/session.d.ts +5 -0
  121. package/dist/session.d.ts.map +1 -1
  122. package/dist/session.js +57 -6
  123. package/dist/session.js.map +1 -1
  124. package/dist/suggestion-picker.d.ts +2 -2
  125. package/dist/suggestion-picker.d.ts.map +1 -1
  126. package/dist/suggestion-picker.js +5 -3
  127. package/dist/suggestion-picker.js.map +1 -1
  128. package/docs/batch.md +2 -2
  129. package/docs/recipe-format.md +14 -3
  130. package/package.json +15 -15
  131. package/skills/documents/SKILL.md +6 -2
  132. package/skills/issues/SKILL.md +2 -1
  133. package/skills/search/SKILL.md +3 -0
  134. package/skills/signature/SKILL.md +4 -4
  135. package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +0 -16
  136. package/dist/mcp-chunks/client-SBELHRAE.js +0 -32
  137. package/dist/mcp-chunks/daemon-command-MQS6AP2W.js +0 -32
  138. package/dist/mcp-chunks/dist-SDPPH7XQ.js +0 -65
  139. package/dist/mcp-chunks/generated-daemon-runtime-TUCZ3JEP.js +0 -32
  140. package/dist/mcp-chunks/runtime-5SOGEUTQ.js +0 -39
  141. package/dist/mcp-chunks/server-HQBFWAJR.js +0 -41
@@ -1,25 +1,20 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  dumpActiveHandles
4
- } from "./chunk-N6YUOYDS.js";
4
+ } from "./chunk-YGT57XUN.js";
5
+ import {
6
+ printCallOutput,
7
+ tailLogIfRequested
8
+ } from "./chunk-FDVES4CU.js";
5
9
  import {
6
10
  loadToolMetadata
7
- } from "./chunk-3P3KGT4H.js";
11
+ } from "./chunk-TQ5T5VO7.js";
8
12
  import {
9
13
  chooseClosestIdentifier,
10
14
  normalizeIdentifier,
11
15
  renderIdentifierResolutionMessages
12
- } from "./chunk-66VSGFXA.js";
13
- import "./chunk-KJ5FPQF6.js";
14
- import {
15
- dimText,
16
- redText,
17
- yellowText
18
- } from "./chunk-IRARVOUM.js";
19
- import {
20
- printCallOutput,
21
- tailLogIfRequested
22
- } from "./chunk-RUF27IUF.js";
16
+ } from "./chunk-XU4D5QN2.js";
17
+ import "./chunk-7SQZWTDU.js";
23
18
  import {
24
19
  CALL_HELP_ARGUMENT_LINES,
25
20
  CALL_HELP_EXAMPLE_LINES,
@@ -27,51 +22,56 @@ import {
27
22
  buildUnknownCallFlagMessage,
28
23
  buildUnvalidatedCallFlagMessage,
29
24
  parseCallArguments
30
- } from "./chunk-JTPTAO4M.js";
31
- import {
32
- CliUsageError
33
- } from "./chunk-H5PBSJP3.js";
25
+ } from "./chunk-44KI6DPL.js";
34
26
  import {
35
27
  resolveServerCallTimeout,
36
28
  withTimeout
37
- } from "./chunk-TC2JPBFB.js";
29
+ } from "./chunk-QYR3UKJS.js";
30
+ import "./chunk-CIQX62WO.js";
38
31
  import {
39
32
  persistPreparedEphemeralServer,
40
33
  prepareEphemeralServerTarget,
41
34
  renderAdhocServerHelpLines
42
- } from "./chunk-3FRLDHVD.js";
43
- import "./chunk-63L6SHK3.js";
44
- import "./chunk-ZEA3Y5ZD.js";
45
- import "./chunk-DU4SDPEV.js";
35
+ } from "./chunk-SYBDN4SV.js";
46
36
  import {
47
37
  buildConnectionIssueEnvelope
48
- } from "./chunk-3HSC6NHZ.js";
49
- import "./chunk-L2MSWQDL.js";
38
+ } from "./chunk-Y7UTXETL.js";
39
+ import "./chunk-ZEMVGFKG.js";
40
+ import "./chunk-QHD5RXW4.js";
41
+ import "./chunk-FJNWUAGR.js";
50
42
  import {
51
43
  looksLikeHttpUrl,
52
44
  normalizeHttpUrlCandidate
53
- } from "./chunk-US63Y6XE.js";
54
- import "./chunk-MEQXX43K.js";
45
+ } from "./chunk-32UZRZIL.js";
46
+ import "./chunk-ZJZ53NIB.js";
47
+ import {
48
+ dimText,
49
+ redText,
50
+ yellowText
51
+ } from "./chunk-VJ5VDK6D.js";
52
+ import {
53
+ CliUsageError
54
+ } from "./chunk-EV3SP7ME.js";
55
55
  import {
56
56
  wrapCallResult
57
- } from "./chunk-3SXP4S2A.js";
58
- import "./chunk-6O42UGLI.js";
59
- import "./chunk-CXST5CVH.js";
60
- import "./chunk-7U5NSQ5T.js";
61
- import "./chunk-3LENTPGE.js";
62
- import "./chunk-JEHI2YU4.js";
63
- import "./chunk-IWCVZ46B.js";
64
- import "./chunk-O3RTM5HD.js";
57
+ } from "./chunk-DL3GVI4M.js";
58
+ import "./chunk-VLJQSE6L.js";
59
+ import "./chunk-YFPPHEDE.js";
60
+ import "./chunk-Y7JQJ352.js";
61
+ import "./chunk-OSK2JGFH.js";
62
+ import "./chunk-TTVO6RCP.js";
63
+ import "./chunk-MW3YO24Q.js";
64
+ import "./chunk-G5DK4L6M.js";
65
65
  import "./chunk-T4MQCFIK.js";
66
- import "./chunk-BHXCAVFP.js";
67
- import "./chunk-MHUMLEBO.js";
66
+ import "./chunk-4ACA5GWL.js";
67
+ import "./chunk-CWM4RO33.js";
68
68
  import {
69
69
  analyzeConnectionError
70
- } from "./chunk-UVRJ3AAD.js";
71
- import "./chunk-O7SIXJM6.js";
70
+ } from "./chunk-7KOGD2JK.js";
71
+ import "./chunk-EUHXZKP2.js";
72
72
  import "./chunk-LRKZP7DJ.js";
73
73
 
74
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/image-output.js
74
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/image-output.js
75
75
  import fs from "node:fs";
76
76
  import path from "node:path";
77
77
  function saveCallImagesIfRequested(wrapped, outputDir) {
@@ -129,7 +129,7 @@ function resolveImageOutputPath(outputDir, baseName, extension) {
129
129
  }
130
130
  }
131
131
 
132
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/call-command.js
132
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/call-command.js
133
133
  async function handleCall(runtime, args) {
134
134
  let prepared;
135
135
  try {
@@ -301,7 +301,7 @@ async function maybeDescribeServer(runtime, server, tool, outputFormat, disableO
301
301
  if (outputFormat === "json") {
302
302
  listArgs2.push("--json");
303
303
  }
304
- const { handleList: handleList2 } = await import("./list-command-SDITI3ZM.js");
304
+ const { handleList: handleList2 } = await import("./list-command-QBO4LK5Q.js");
305
305
  await handleList2(runtime, listArgs2);
306
306
  return true;
307
307
  }
@@ -324,7 +324,7 @@ async function maybeDescribeServer(runtime, server, tool, outputFormat, disableO
324
324
  if (outputFormat === "json") {
325
325
  listArgs.push("--json");
326
326
  }
327
- const { handleList } = await import("./list-command-SDITI3ZM.js");
327
+ const { handleList } = await import("./list-command-QBO4LK5Q.js");
328
328
  await handleList(runtime, listArgs);
329
329
  return true;
330
330
  }
@@ -335,7 +335,7 @@ function resolveCallTarget(parsed, options = {}) {
335
335
  if (selector && !server && selector.includes(".")) {
336
336
  const split = splitServerToolSelector(selector);
337
337
  server = split?.server ?? selector.slice(0, selector.indexOf("."));
338
- tool = split?.tool;
338
+ tool = parsed.toolFromPositional ? split?.tool : tool ?? split?.tool;
339
339
  } else if (selector && !server) {
340
340
  server = selector;
341
341
  } else if (selector && !tool && selector !== server) {
@@ -395,10 +395,16 @@ async function enforceSchemaAwareArgumentTypes(runtime, server, tool, args, stri
395
395
  }
396
396
  let corrected;
397
397
  for (const [key, rawValue] of Object.entries(stringCandidates ?? {})) {
398
- if (typeof args[key] !== "number") {
398
+ const value = args[key];
399
+ if (typeof value === "string") {
399
400
  continue;
400
401
  }
401
- if (!schemaAllowsString(schemaProperties[key])) {
402
+ const descriptor = schemaProperties[key];
403
+ if (!schemaAllowsType(descriptor, "string")) {
404
+ continue;
405
+ }
406
+ const coercedType = value === null ? "null" : Array.isArray(value) ? "array" : typeof value;
407
+ if (coercedType !== "number" && schemaAllowsType(descriptor, coercedType)) {
402
408
  continue;
403
409
  }
404
410
  corrected ??= { ...args };
@@ -409,7 +415,7 @@ async function enforceSchemaAwareArgumentTypes(runtime, server, tool, args, stri
409
415
  continue;
410
416
  }
411
417
  const descriptor = schemaProperties[key];
412
- if (!schemaAllowsArray(descriptor) || schemaAllowsString(descriptor)) {
418
+ if (!schemaAllowsType(descriptor, "array") || schemaAllowsType(descriptor, "string")) {
413
419
  continue;
414
420
  }
415
421
  corrected ??= { ...args };
@@ -427,41 +433,21 @@ function readSchemaProperties(schema) {
427
433
  }
428
434
  return properties;
429
435
  }
430
- function schemaAllowsString(descriptor) {
431
- if (!descriptor || typeof descriptor !== "object") {
432
- return false;
433
- }
434
- const record = descriptor;
435
- const type = record.type;
436
- if (type === "string") {
437
- return true;
438
- }
439
- if (Array.isArray(type) && type.includes("string")) {
440
- return true;
441
- }
442
- for (const key of ["anyOf", "oneOf", "allOf"]) {
443
- const variants = record[key];
444
- if (Array.isArray(variants) && variants.some(schemaAllowsString)) {
445
- return true;
446
- }
447
- }
448
- return false;
449
- }
450
- function schemaAllowsArray(descriptor) {
436
+ function schemaAllowsType(descriptor, expected) {
451
437
  if (!descriptor || typeof descriptor !== "object") {
452
438
  return false;
453
439
  }
454
440
  const record = descriptor;
455
441
  const type = record.type;
456
- if (type === "array") {
442
+ if (type === expected) {
457
443
  return true;
458
444
  }
459
- if (Array.isArray(type) && type.includes("array")) {
445
+ if (Array.isArray(type) && type.includes(expected)) {
460
446
  return true;
461
447
  }
462
448
  for (const key of ["anyOf", "oneOf", "allOf"]) {
463
449
  const variants = record[key];
464
- if (Array.isArray(variants) && variants.some(schemaAllowsArray)) {
450
+ if (Array.isArray(variants) && variants.some((variant) => schemaAllowsType(variant, expected))) {
465
451
  return true;
466
452
  }
467
453
  }
@@ -1,15 +1,15 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  buildRecordCommandEnv
4
- } from "./chunk-ELHS763C.js";
4
+ } from "./chunk-HKMH4N3Z.js";
5
5
  import {
6
6
  PRIVATE_RECORDING_FILE_MODE,
7
7
  ensurePrivateRecordingDir,
8
8
  resolveRecordingConfigPath,
9
9
  resolveRecordingPath
10
- } from "./chunk-2AKSS7WR.js";
10
+ } from "./chunk-H44A4G2O.js";
11
11
 
12
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/record-replay-command.js
12
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/record-replay-command.js
13
13
  import { spawn } from "node:child_process";
14
14
  import fs from "node:fs/promises";
15
15
  async function writeRecordReplayConfig(parsed, mode) {
@@ -63,7 +63,7 @@ function buildRecordReplayInstructionEnv(mode, sessionName, server) {
63
63
  };
64
64
  }
65
65
 
66
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/record-command.js
66
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/record-command.js
67
67
  async function handleRecordCli(args) {
68
68
  const parsed = parseRecordArgs(args);
69
69
  const recordPath = resolveRecordingPath(parsed.sessionName);
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
 
3
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/elicitation.js
3
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/elicitation.js
4
4
  import readline from "node:readline";
5
5
  var NON_INTERACTIVE_ELICITATION_HINT = "Server requested interactive input; run mcporter in a terminal.";
6
6
  function createInteractiveElicitationResponder(options = {}) {