deepline 0.3.454 → 0.3.456

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 (115) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -0
  2. package/dist/bundling-sources/sdk/src/http.ts +17 -3
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/tool-calls.ts +13 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +2 -0
  6. package/dist/cli/{auth-YNPT3IER.mjs → auth-OBWRDCK3.mjs} +4 -4
  7. package/dist/cli/auth-X5H25CM4.js +40 -0
  8. package/dist/cli/{billing-VXIIND6T.js → billing-XDDTD7C3.js} +73 -73
  9. package/dist/cli/{billing-TLRVAOXB.mjs → billing-ZR4OHVLA.mjs} +4 -4
  10. package/dist/cli/{chunk-U72KDMYJ.mjs → chunk-4EMVWEUJ.mjs} +2 -2
  11. package/dist/cli/{chunk-VHGGHRGY.js → chunk-4X5H47H5.js} +93 -92
  12. package/dist/cli/{chunk-BUYQU7TB.js → chunk-76GTVFFG.js} +8 -8
  13. package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-77Z5BO7D.mjs} +21 -0
  14. package/dist/cli/{chunk-27NNEBIS.mjs → chunk-7PW2K3AT.mjs} +2 -2
  15. package/dist/cli/{chunk-RDAUQGPG.mjs → chunk-AGWG2PVB.mjs} +1 -1
  16. package/dist/cli/{chunk-5OQMUDPM.mjs → chunk-APPPIUEW.mjs} +1 -1
  17. package/dist/cli/{chunk-NMJ4D2WO.js → chunk-AQFHU3DW.js} +21 -0
  18. package/dist/cli/{chunk-KPPL2WNH.js → chunk-BQWHXKXO.js} +16 -16
  19. package/dist/cli/{chunk-WONLZMDF.js → chunk-CJTOZLFI.js} +6 -6
  20. package/dist/cli/{chunk-DCZSJON4.mjs → chunk-GQVMERZ7.mjs} +2 -2
  21. package/dist/cli/{chunk-LVHRP7XM.mjs → chunk-HZODG765.mjs} +4 -4
  22. package/dist/cli/{chunk-THJ7ORNM.mjs → chunk-IQ5OW2WC.mjs} +3 -3
  23. package/dist/cli/{chunk-7ICOQRW5.js → chunk-J2KWJKTM.js} +3 -3
  24. package/dist/cli/{chunk-YPYR4ACF.js → chunk-K5TWU5I6.js} +51 -51
  25. package/dist/cli/{chunk-IJ5WCZ32.js → chunk-KFCXTVDW.js} +20 -20
  26. package/dist/cli/{chunk-TECW24CR.mjs → chunk-M7FF76WO.mjs} +5 -3
  27. package/dist/cli/{chunk-5GJH2BYN.mjs → chunk-NXJEDRPH.mjs} +2 -2
  28. package/dist/cli/{chunk-SJH66N73.js → chunk-OQEIP4HF.js} +6 -6
  29. package/dist/cli/{chunk-G6ZOZQXT.mjs → chunk-P5MB2PXV.mjs} +3 -3
  30. package/dist/cli/{chunk-FKGXZXRP.js → chunk-PPF557JY.js} +8 -8
  31. package/dist/cli/{chunk-6JY2NGJN.js → chunk-QLB5T7IS.js} +26 -26
  32. package/dist/cli/{chunk-VXBEHDM6.js → chunk-S3D7OY6D.js} +8 -6
  33. package/dist/cli/{chunk-S2PO3X5R.js → chunk-SAO7KYJE.js} +2 -2
  34. package/dist/cli/{chunk-QLMQ2NAQ.js → chunk-SHWMFFKX.js} +2 -2
  35. package/dist/cli/{chunk-33FEF4RH.js → chunk-SOUPX3YJ.js} +50 -50
  36. package/dist/cli/{chunk-2I7GE7KB.mjs → chunk-U4JZWJ52.mjs} +1 -1
  37. package/dist/cli/{chunk-Z5PQSTYX.js → chunk-VVYM2F7X.js} +252 -239
  38. package/dist/cli/{chunk-UT6W675P.mjs → chunk-W64S7C55.mjs} +1 -1
  39. package/dist/cli/{chunk-7V3OKSB2.js → chunk-WEHXHC7N.js} +1 -1
  40. package/dist/cli/{chunk-CPXT4KPC.mjs → chunk-WXCYW6PA.mjs} +3 -3
  41. package/dist/cli/{chunk-YETNOEAZ.mjs → chunk-XRNBDUYR.mjs} +10 -9
  42. package/dist/cli/{chunk-P5IQ6LIK.js → chunk-XVGEAB44.js} +35 -35
  43. package/dist/cli/{chunk-EXWKHMMP.mjs → chunk-YMV3AULG.mjs} +5 -5
  44. package/dist/cli/{chunk-LWYOJG66.mjs → chunk-ZCXFZSVH.mjs} +1 -1
  45. package/dist/cli/{chunk-YXCLG3KB.mjs → chunk-ZODPS5JW.mjs} +15 -2
  46. package/dist/cli/command-docs.js +2 -2
  47. package/dist/cli/command-docs.mjs +1 -1
  48. package/dist/cli/{csv-BSKJR3CR.js → csv-B35BFYGT.js} +12 -12
  49. package/dist/cli/{csv-I4CAAV6A.mjs → csv-P2ATJQUY.mjs} +3 -3
  50. package/dist/cli/{db-RA3IL6MC.js → db-ELEZFHG7.js} +25 -25
  51. package/dist/cli/{db-EQP24K3B.mjs → db-PSITREEX.mjs} +4 -4
  52. package/dist/cli/{describe-62KPTIFH.js → describe-AXWFWCWZ.js} +17 -17
  53. package/dist/cli/{describe-EZDVJDPQ.mjs → describe-E2ZFRC5Z.mjs} +13 -13
  54. package/dist/cli/describe-core.d.mts +1 -1
  55. package/dist/cli/describe-core.d.ts +1 -1
  56. package/dist/cli/{executions-W5KR56KP.mjs → executions-BZTPNWW2.mjs} +4 -4
  57. package/dist/cli/{executions-2HBBXRPM.js → executions-GWYPVJYE.js} +6 -6
  58. package/dist/cli/{feedback-6UTOLSFP.mjs → feedback-F3RKOHZN.mjs} +3 -3
  59. package/dist/cli/{feedback-CVYS7ZPV.js → feedback-UCW6EFOR.js} +7 -7
  60. package/dist/cli/git-HEKGLILK.js +24 -0
  61. package/dist/cli/{git-JXH64LI4.mjs → git-LGQMBBO3.mjs} +4 -4
  62. package/dist/cli/index.js +136 -136
  63. package/dist/cli/index.mjs +38 -38
  64. package/dist/cli/{legacy-noops-NYMLGQNX.mjs → legacy-noops-4TVFFILL.mjs} +4 -4
  65. package/dist/cli/{legacy-noops-5XTXIPU2.js → legacy-noops-SRH3BPNV.js} +7 -7
  66. package/dist/cli/{monitors-J6HAQLX2.js → monitors-6NHXI3EW.js} +89 -89
  67. package/dist/cli/{monitors-CEU6SP2B.mjs → monitors-WBST3XUH.mjs} +5 -5
  68. package/dist/cli/{org-CYE3DCIT.js → org-5EFVZUB2.js} +66 -66
  69. package/dist/cli/{org-RRKAJM5V.mjs → org-DSDNRGDV.mjs} +4 -4
  70. package/dist/cli/{play-PXISXZ2P.mjs → play-EKOV2T5N.mjs} +11 -11
  71. package/dist/cli/{play-NJDW74YH.js → play-RMWBABCH.js} +284 -284
  72. package/dist/cli/{providers-6QGGDOWK.mjs → providers-AWNJWZWD.mjs} +46 -4
  73. package/dist/cli/{providers-JE3MUBYK.js → providers-Y4EYH7IZ.js} +50 -8
  74. package/dist/cli/{quickstart-MKJ7TYQZ.mjs → quickstart-CPW66MBY.mjs} +3 -3
  75. package/dist/cli/{quickstart-AQBBOFQL.js → quickstart-JQ3W6LWQ.js} +5 -5
  76. package/dist/cli/search-PJXI2GJR.js +30 -0
  77. package/dist/cli/{search-6PKFZ2JD.mjs → search-VP4Y6MQU.mjs} +5 -5
  78. package/dist/cli/{secrets-QBWRVZCT.mjs → secrets-2VEENFF4.mjs} +4 -4
  79. package/dist/cli/{secrets-IKGJYESD.js → secrets-CPMHM5HU.js} +13 -13
  80. package/dist/cli/{sessions-462I5YEQ.js → sessions-ALPCLDJI.js} +5 -5
  81. package/dist/cli/{sessions-SVYTBNRJ.mjs → sessions-INDUUZ3K.mjs} +4 -4
  82. package/dist/cli/{settings-FH4XZ7FE.mjs → settings-3YBZZPAM.mjs} +10 -10
  83. package/dist/cli/{settings-WHLTLPXZ.js → settings-5PO4C33K.js} +77 -77
  84. package/dist/cli/{setup-ISCNCB4W.mjs → setup-7SOJ4INF.mjs} +8 -8
  85. package/dist/cli/{setup-IKTCP3QB.js → setup-RK2MUVXO.js} +43 -43
  86. package/dist/cli/{skills-HITZS5EJ.mjs → skills-5PR5RTOX.mjs} +6 -6
  87. package/dist/cli/skills-J3243JQE.js +30 -0
  88. package/dist/cli/{tools-SQUTVLPO.mjs → tools-OSJJUP36.mjs} +13 -13
  89. package/dist/cli/tools-V2B44RFH.js +45 -0
  90. package/dist/cli/update-CKIL2SWB.js +32 -0
  91. package/dist/cli/{update-AFYEREBX.mjs → update-TDCMXJ62.mjs} +8 -8
  92. package/dist/cli/{workflow-AAOOROIR.js → workflow-6DKCCQYA.js} +15 -15
  93. package/dist/cli/{workflow-VBCZPKVF.mjs → workflow-6O24O6LT.mjs} +5 -5
  94. package/dist/{client-Ct6OBj9Y.d.mts → client-BX2EVlPo.d.mts} +21 -0
  95. package/dist/{client-BV7tC6oq.d.ts → client-CRz2laoR.d.ts} +21 -0
  96. package/dist/index.d.mts +2 -2
  97. package/dist/index.d.ts +2 -2
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +84 -84
  101. package/dist/plays/play-description.d.mts +1 -1
  102. package/dist/plays/play-description.d.ts +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/package.json +1 -1
  110. package/dist/cli/auth-GUZWKNXM.js +0 -40
  111. package/dist/cli/git-U6FMVAAM.js +0 -24
  112. package/dist/cli/search-EJGRNQQK.js +0 -30
  113. package/dist/cli/skills-LC2YKUSO.js +0 -30
  114. package/dist/cli/tools-Y55OXE72.js +0 -45
  115. package/dist/cli/update-Q3I6MSEQ.js +0 -32
@@ -5,7 +5,7 @@ var _chunkPQUUWFXYjs = require('./chunk-PQUUWFXY.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkBUYQU7TBjs = require('./chunk-BUYQU7TB.js');
8
+ var _chunk76GTVFFGjs = require('./chunk-76GTVFFG.js');
9
9
 
10
10
 
11
11
 
@@ -48,7 +48,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
48
48
 
49
49
 
50
50
 
51
- var _chunkZ5PQSTYXjs = require('./chunk-Z5PQSTYX.js');
51
+ var _chunkVVYM2F7Xjs = require('./chunk-VVYM2F7X.js');
52
52
 
53
53
 
54
54
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -58,18 +58,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
58
58
 
59
59
 
60
60
 
61
- var _chunkIJ5WCZ32js = require('./chunk-IJ5WCZ32.js');
61
+ var _chunkKFCXTVDWjs = require('./chunk-KFCXTVDW.js');
62
62
 
63
63
 
64
64
 
65
65
 
66
- var _chunkQLMQ2NAQjs = require('./chunk-QLMQ2NAQ.js');
66
+ var _chunkSHWMFFKXjs = require('./chunk-SHWMFFKX.js');
67
67
 
68
68
 
69
69
 
70
70
 
71
71
 
72
- var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
72
+ var _chunkK5TWU5I6js = require('./chunk-K5TWU5I6.js');
73
73
 
74
74
 
75
75
 
@@ -77,12 +77,12 @@ var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
77
77
 
78
78
 
79
79
 
80
- var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
80
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
81
81
 
82
82
 
83
83
 
84
84
 
85
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
85
+ var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.js');
86
86
 
87
87
 
88
88
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -161,10 +161,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
161
161
  }
162
162
  };
163
163
  function pendingToolExecutionPath(input) {
164
- const config = _chunkVXBEHDM6js.resolveConfig.call(void 0, );
164
+ const config = _chunkS3D7OY6Djs.resolveConfig.call(void 0, );
165
165
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkXDVT3GOMjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
166
166
  return _path.join.call(void 0,
167
- _chunkVXBEHDM6js.sdkCliStateDirPath.call(void 0, config.baseUrl),
167
+ _chunkS3D7OY6Djs.sdkCliStateDirPath.call(void 0, config.baseUrl),
168
168
  `pending-tool-execution-${fingerprint}.json`
169
169
  );
170
170
  }
@@ -440,13 +440,13 @@ function categoryEnumerationRender(summaries) {
440
440
  };
441
441
  }
442
442
  async function listToolCategories(emitJson, compact) {
443
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
443
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
444
444
  if (!emitJson) {
445
445
  const summaries2 = (await client.listToolCategories()).map((category) => ({
446
446
  ...category,
447
447
  description: describeToolCategory(category.name)
448
448
  }));
449
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
449
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
450
450
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
451
451
  { json: false }
452
452
  );
@@ -456,7 +456,7 @@ async function listToolCategories(emitJson, compact) {
456
456
  const items = rawTools.map(toListedTool);
457
457
  const summaries = aggregateCategorySummaries(rawTools);
458
458
  const outputItems = compact ? items.map(compactTool) : items;
459
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
459
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
460
460
  {
461
461
  tools: outputItems,
462
462
  count: outputItems.length,
@@ -475,7 +475,7 @@ function unknownCategoryError(category, summaries, emitJson) {
475
475
  const known = summaries.map((item) => item.name);
476
476
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
477
477
  if (emitJson) {
478
- _chunkSJH66N73js.printJson.call(void 0, {
478
+ _chunkOQEIP4HFjs.printJson.call(void 0, {
479
479
  ok: false,
480
480
  exitCode: 4,
481
481
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -489,13 +489,13 @@ function unknownCategoryError(category, summaries, emitJson) {
489
489
  const render = categoryEnumerationRender(summaries);
490
490
  console.error(message);
491
491
  console.error("");
492
- console.error(_chunkSJH66N73js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
492
+ console.error(_chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
493
493
  console.error("");
494
494
  console.error(`Valid categories: ${known.join(", ")}`);
495
495
  return 4;
496
496
  }
497
497
  async function listToolsInCategory(category, emitJson) {
498
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
498
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
499
499
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
500
500
  const summaries = categories.map((item) => ({
501
501
  ...item,
@@ -531,7 +531,7 @@ async function listToolsInCategory(category, emitJson) {
531
531
  }
532
532
  ]
533
533
  };
534
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
534
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
535
535
  {
536
536
  category,
537
537
  total: rows.length,
@@ -544,7 +544,7 @@ async function listToolsInCategory(category, emitJson) {
544
544
  return 0;
545
545
  }
546
546
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
547
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
547
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
548
548
  const items = (await client.listTools({
549
549
  categories: requestedCategories.join(","),
550
550
  compact
@@ -573,7 +573,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
573
573
  ]
574
574
  };
575
575
  const outputItems = compact ? items.map(compactTool) : items;
576
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
576
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
577
577
  {
578
578
  tools: outputItems,
579
579
  count: outputItems.length,
@@ -592,13 +592,13 @@ async function listTools(category, options = {}) {
592
592
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
593
593
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
594
594
  const compact = options.compact !== false;
595
- const emitJson = options.json === true || _chunkSJH66N73js.shouldEmitJson.call(void 0, );
595
+ const emitJson = options.json === true || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, );
596
596
  if (positional && flagCategories.length > 0) {
597
597
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
598
598
  if (!flagIsSameSingle) {
599
599
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
600
600
  if (emitJson) {
601
- _chunkSJH66N73js.printJson.call(void 0, {
601
+ _chunkOQEIP4HFjs.printJson.call(void 0, {
602
602
  ok: false,
603
603
  exitCode: 2,
604
604
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -625,7 +625,7 @@ async function grepTools(queryInput, options = {}) {
625
625
  console.error("Usage: deepline tools grep <query> [--json]");
626
626
  return 1;
627
627
  }
628
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
628
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
629
629
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
630
630
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
631
631
  const jsonOutput = options.json === true;
@@ -649,7 +649,7 @@ async function grepTools(queryInput, options = {}) {
649
649
  query,
650
650
  mode
651
651
  }) : null;
652
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
652
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
653
653
  {
654
654
  tools: outputTools,
655
655
  count: outputTools.length,
@@ -667,7 +667,7 @@ async function grepTools(queryInput, options = {}) {
667
667
  } : {},
668
668
  commandTemplates: TOOL_COMMAND_TEMPLATES
669
669
  },
670
- { json: options.json || _chunkSJH66N73js.shouldEmitJson.call(void 0, ) }
670
+ { json: options.json || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, ) }
671
671
  );
672
672
  return 0;
673
673
  }
@@ -778,7 +778,7 @@ Output:
778
778
  if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
779
779
  throw new Error("Use --preset or individual scopes, not both.");
780
780
  const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
781
- const result2 = await new (0, _chunkZ5PQSTYXjs.DeeplineClient)().startIntegrationOAuth(
781
+ const result2 = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().startIntegrationOAuth(
782
782
  provider,
783
783
  {
784
784
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -790,7 +790,7 @@ Output:
790
790
  throw new Error(
791
791
  "The API did not return an OAuth authorization URL."
792
792
  );
793
- if (_chunkSJH66N73js.shouldEmitJson.call(void 0, options.json))
793
+ if (_chunkOQEIP4HFjs.shouldEmitJson.call(void 0, options.json))
794
794
  console.log(
795
795
  JSON.stringify({ provider, redirect_url: result2.redirect_url })
796
796
  );
@@ -816,7 +816,7 @@ Output:
816
816
  "--credentials-file must contain a nonempty JSON object of string credential values."
817
817
  );
818
818
  }
819
- const result = await new (0, _chunkZ5PQSTYXjs.DeeplineClient)().setIntegrationCredentials(
819
+ const result = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().setIntegrationCredentials(
820
820
  provider,
821
821
  credentials
822
822
  );
@@ -826,7 +826,7 @@ Output:
826
826
  );
827
827
  }
828
828
  const confirmation = { provider, credential_saved: true };
829
- if (_chunkSJH66N73js.shouldEmitJson.call(void 0, options.json))
829
+ if (_chunkOQEIP4HFjs.shouldEmitJson.call(void 0, options.json))
830
830
  console.log(JSON.stringify(confirmation));
831
831
  else
832
832
  console.log(
@@ -866,7 +866,7 @@ Examples:
866
866
  json: Boolean(options.json)
867
867
  });
868
868
  });
869
- _chunkBUYQU7TBjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
869
+ _chunk76GTVFFGjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
870
870
  tools.command("grep <query>").description(
871
871
  "Regex grep over tool ids, descriptions, categories, and input fields."
872
872
  ).addHelpText(
@@ -901,7 +901,7 @@ Examples:
901
901
  });
902
902
  const addToolMetadataCommand = (command) => {
903
903
  let compatibilityMetadata;
904
- _chunkIJ5WCZ32js.registerCompatibilityCatalog.call(void 0, command, () => ({
904
+ _chunkKFCXTVDWjs.registerCompatibilityCatalog.call(void 0, command, () => ({
905
905
  toolId: command.args[0],
906
906
  acceptMetadata: (metadata) => {
907
907
  compatibilityMetadata = metadata;
@@ -971,7 +971,7 @@ Examples:
971
971
  process.exitCode = await narrowView();
972
972
  return;
973
973
  }
974
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-62KPTIFH.js")));
974
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AXWFWCWZ.js")));
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -1055,7 +1055,7 @@ Examples:
1055
1055
  options,
1056
1056
  void 0,
1057
1057
  true,
1058
- _chunkQLMQ2NAQjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1058
+ _chunkSHWMFFKXjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1059
1059
  );
1060
1060
  }
1061
1061
  );
@@ -1063,13 +1063,13 @@ Examples:
1063
1063
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1064
1064
  let metadata;
1065
1065
  const startedAt = performance.now();
1066
- const baseUrl = _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl;
1067
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1068
- const result = _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
1066
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
1067
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1068
+ const result = _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
1069
1069
  "SDK compatibility",
1070
- () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, {
1070
+ () => _chunkK5TWU5I6js.checkSdkCompatibility.call(void 0, baseUrl, {
1071
1071
  command: "tools execute",
1072
- skillsVersion: _chunkVXBEHDM6js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1072
+ skillsVersion: _chunkS3D7OY6Djs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1073
1073
  persistCache: false,
1074
1074
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1075
1075
  catalog: {
@@ -1083,7 +1083,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1083
1083
  })
1084
1084
  ).then(
1085
1085
  (compatibility) => {
1086
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1086
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
1087
1087
  phase: "cli.tool_execute_compatibility_ready",
1088
1088
  ms: performance.now() - startedAt,
1089
1089
  ok: compatibility.error === null,
@@ -1092,7 +1092,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1092
1092
  return compatibility;
1093
1093
  },
1094
1094
  (error) => {
1095
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1095
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
1096
1096
  phase: "cli.tool_execute_compatibility_ready",
1097
1097
  ms: performance.now() - startedAt,
1098
1098
  ok: false
@@ -1107,7 +1107,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1107
1107
  console.error("Usage: deepline tools describe <toolId> [--json]");
1108
1108
  return 1;
1109
1109
  }
1110
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
1110
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
1111
1111
  let tool;
1112
1112
  try {
1113
1113
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1161,7 +1161,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1161
1161
  const lines = toolPricingOnlyLines(tool, toolId);
1162
1162
  if (inferenceQuote)
1163
1163
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1164
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1164
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  toolId: String(tool.toolId || toolId),
1167
1167
  cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1184,7 +1184,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1184
1184
  void 0,
1185
1185
  seedToolListScript
1186
1186
  );
1187
- _chunkSJH66N73js.printCompactJson.call(void 0, {
1187
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1188
1188
  toolId: contract.toolId,
1189
1189
  ...options.schemaOnly ? {
1190
1190
  inputSchema: contract.inputSchema,
@@ -1207,7 +1207,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1207
1207
  return 0;
1208
1208
  }
1209
1209
  if (options.contractJson) {
1210
- _chunkSJH66N73js.printCompactJson.call(void 0, {
1210
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1211
1211
  ..._chunkZ2GUFYT6js.toolContractJsonForDescribe.call(void 0,
1212
1212
  tool,
1213
1213
  toolId,
@@ -1221,7 +1221,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1221
1221
  }
1222
1222
  const emitJson = options.json === true;
1223
1223
  if (emitJson) {
1224
- _chunkSJH66N73js.printCompactJson.call(void 0, {
1224
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1225
1225
  ..._chunkZ2GUFYT6js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1226
1226
  ...modelDescription ? { modelOptions: modelDescription } : {},
1227
1227
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2083,7 +2083,7 @@ function parseExecuteOptions(toolId, options, output) {
2083
2083
  outputFormat = normalizeOutputFormat(options.outputFormat);
2084
2084
  }
2085
2085
  if (options.idempotencyKey !== void 0) {
2086
- _chunkZ5PQSTYXjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2086
+ _chunkVVYM2F7Xjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2087
2087
  }
2088
2088
  if (options.recoveryTimeoutMs !== void 0) {
2089
2089
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2404,19 +2404,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2404
2404
  parsed = parseExecuteOptions(toolId, options, output);
2405
2405
  } catch (error) {
2406
2406
  if (wantsJson) {
2407
- _chunkSJH66N73js.printJsonError.call(void 0, error);
2407
+ _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2408
2408
  } else {
2409
2409
  console.error(error instanceof Error ? error.message : String(error));
2410
2410
  }
2411
2411
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2412
2412
  }
2413
- const cliInvocationId = _nullishCoalesce(_chunkIJ5WCZ32js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkIJ5WCZ32js.beginToolExecuteCommand.call(void 0, )));
2413
+ const cliInvocationId = _nullishCoalesce(_chunkKFCXTVDWjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkKFCXTVDWjs.beginToolExecuteCommand.call(void 0, )));
2414
2414
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2415
- const tracing = _chunkQLMQ2NAQjs.isCliTraceEnabled.call(void 0, );
2415
+ const tracing = _chunkSHWMFFKXjs.isCliTraceEnabled.call(void 0, );
2416
2416
  const clientStartedAt = tracing ? performance.now() : void 0;
2417
- const client = new (0, _chunkZ5PQSTYXjs.DeeplineClient)();
2417
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
2418
2418
  if (clientStartedAt !== void 0) {
2419
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
2419
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
2420
2420
  phase: "cli.tool_execute_client_setup",
2421
2421
  ms: performance.now() - clientStartedAt
2422
2422
  });
@@ -2425,13 +2425,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2425
2425
  const readMetadata = async () => {
2426
2426
  if (metadata) return metadata;
2427
2427
  try {
2428
- metadata = await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2428
+ metadata = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2429
2429
  "tool metadata lookup",
2430
2430
  () => client.getTool(parsed.toolId, { cliInvocationId })
2431
2431
  );
2432
2432
  } catch (error) {
2433
2433
  if (isMissingToolMetadataError(error)) {
2434
- const play = await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2434
+ const play = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2435
2435
  "play alias lookup",
2436
2436
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2437
2437
  );
@@ -2470,7 +2470,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2470
2470
  metadata = await readMetadata();
2471
2471
  } catch (error) {
2472
2472
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2473
- if (wantsJson) _chunkSJH66N73js.printJsonError.call(void 0, error);
2473
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2474
2474
  else console.error(error.message);
2475
2475
  return 2;
2476
2476
  }
@@ -2486,7 +2486,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2486
2486
  metadata = await readMetadata();
2487
2487
  } catch (error) {
2488
2488
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2489
- if (wantsJson) _chunkSJH66N73js.printJsonError.call(void 0, error);
2489
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2490
2490
  else console.error(error.message);
2491
2491
  return 2;
2492
2492
  }
@@ -2512,11 +2512,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2512
2512
  responseIntent,
2513
2513
  ...idempotencyKey ? { idempotencyKey } : {},
2514
2514
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2515
- searchRef: _chunkBUYQU7TBjs.recentSearchRef.call(void 0, ),
2515
+ searchRef: _chunk76GTVFFGjs.recentSearchRef.call(void 0, ),
2516
2516
  cliInvocationId,
2517
2517
  onResponseReceived: _chunkPQUUWFXYjs.recordApiResponse,
2518
2518
  ...tracing ? {
2519
- onServerTiming: (serverTiming) => _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
2519
+ onServerTiming: (serverTiming) => _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
2520
2520
  phase: "tool_execute_server_timing",
2521
2521
  cliInvocationId,
2522
2522
  serverTiming,
@@ -2527,50 +2527,51 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2527
2527
  let rawResponse;
2528
2528
  let successfulCompatibilityResponse;
2529
2529
  try {
2530
- const executeResult = await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2530
+ const executeResult = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2531
2531
  "execute request",
2532
2532
  async () => {
2533
2533
  try {
2534
2534
  if (tracing) {
2535
2535
  submissionStartedAt = performance.now();
2536
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2536
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2537
2537
  }
2538
2538
  return await client.executeTool(parsed.toolId, parsed.params, {
2539
2539
  ...executeOptions,
2540
- atomicToolOnly: true
2540
+ atomicToolOnly: true,
2541
+ ..._optionalChain([metadata, 'optionalAccess', _28 => _28.executionMetadata, 'optionalAccess', _29 => _29.retrySafeAmbiguousDelivery]) === true ? { retryAmbiguousDelivery: true } : {}
2541
2542
  });
2542
2543
  } catch (error) {
2543
2544
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2544
2545
  throw error;
2545
- const baseUrl = _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl;
2546
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
2546
2547
  if (maintenancePolicy !== "off") {
2547
- _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2548
+ _chunkK5TWU5I6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2548
2549
  }
2549
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2550
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2550
2551
  "SDK compatibility",
2551
- () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, {
2552
+ () => _chunkK5TWU5I6js.checkSdkCompatibility.call(void 0, baseUrl, {
2552
2553
  command: "tools execute",
2553
- skillsVersion: _chunkVXBEHDM6js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2554
+ skillsVersion: _chunkS3D7OY6Djs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2554
2555
  persistCache: maintenancePolicy !== "off"
2555
2556
  })
2556
2557
  );
2557
2558
  if (compatibility.error) throw compatibility.error;
2558
- metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
2559
- if (maintenancePolicy !== "off" && await _chunkIJ5WCZ32js.maybeAutoUpdateAndRelaunch.call(void 0,
2559
+ metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _30 => _30.readMetadata, 'call', _31 => _31()]), () => ( metadata));
2560
+ if (maintenancePolicy !== "off" && await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2560
2561
  compatibility.response,
2561
2562
  baseUrl,
2562
2563
  maintenancePolicy
2563
2564
  )) {
2564
2565
  return void 0;
2565
2566
  }
2566
- _chunkYPYR4ACFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2567
+ _chunkK5TWU5I6js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2567
2568
  quietAdvisory: wantsJson
2568
2569
  });
2569
2570
  if (maintenancePolicy !== "off") {
2570
- await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2571
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2571
2572
  "agent skills sync",
2572
- () => _chunkYPYR4ACFjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2573
- update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
2573
+ () => _chunkK5TWU5I6js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2574
+ update: _optionalChain([compatibility, 'access', _32 => _32.response, 'optionalAccess', _33 => _33.skills]),
2574
2575
  mode: "detached"
2575
2576
  })
2576
2577
  );
@@ -2578,11 +2579,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2578
2579
  const legacyMetadata = await readMetadata();
2579
2580
  if (tracing) {
2580
2581
  submissionStartedAt = performance.now();
2581
- _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2582
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2582
2583
  }
2583
2584
  return client.executeTool(parsed.toolId, parsed.params, {
2584
2585
  ...executeOptions,
2585
- ..._optionalChain([legacyMetadata, 'access', _32 => _32.executionMetadata, 'optionalAccess', _33 => _33.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {}
2586
+ ..._optionalChain([legacyMetadata, 'access', _34 => _34.executionMetadata, 'optionalAccess', _35 => _35.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {}
2586
2587
  });
2587
2588
  }
2588
2589
  }
@@ -2599,8 +2600,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2599
2600
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2600
2601
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2601
2602
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2602
- const baseUrl = _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl;
2603
- if (await _chunkIJ5WCZ32js.maybeAutoUpdateAndRelaunch.call(void 0,
2603
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
2604
+ if (await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2604
2605
  compatibility.response,
2605
2606
  baseUrl,
2606
2607
  maintenancePolicy
@@ -2619,14 +2620,14 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2619
2620
  failure = diagnosticError;
2620
2621
  }
2621
2622
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2622
- if (wantsJson) _chunkSJH66N73js.printJsonError.call(void 0, failure);
2623
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, failure);
2623
2624
  else console.error(failure.message);
2624
2625
  return 2;
2625
2626
  }
2626
- const guidanceLines = toolGuidanceLines(_optionalChain([metadata, 'optionalAccess', _34 => _34.guidance]));
2627
+ const guidanceLines = toolGuidanceLines(_optionalChain([metadata, 'optionalAccess', _36 => _36.guidance]));
2627
2628
  if (guidanceLines.length > 0) {
2628
2629
  if (wantsJson && failure instanceof Error) {
2629
- Object.assign(failure, { guidance: _optionalChain([metadata, 'optionalAccess', _35 => _35.guidance]) });
2630
+ Object.assign(failure, { guidance: _optionalChain([metadata, 'optionalAccess', _37 => _37.guidance]) });
2630
2631
  } else {
2631
2632
  console.error(
2632
2633
  [`Guidance for ${parsed.toolId}:`, ...guidanceLines].join("\n")
@@ -2642,13 +2643,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2642
2643
  } catch (e5) {
2643
2644
  }
2644
2645
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2645
- const compatibilityResponse = _optionalChain([compatibility, 'optionalAccess', _36 => _36.response]);
2646
+ const compatibilityResponse = _optionalChain([compatibility, 'optionalAccess', _38 => _38.response]);
2646
2647
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2647
- const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
2648
- if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2649
- await _chunkIJ5WCZ32js.maybeAutoUpdateAndRelaunch.call(void 0,
2648
+ const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _39 => _39.auto_update]);
2649
+ if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _40 => _40.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2650
+ await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2650
2651
  compatibilityResponse,
2651
- _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl,
2652
+ _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl,
2652
2653
  maintenancePolicy
2653
2654
  );
2654
2655
  }
@@ -2683,7 +2684,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2683
2684
  const { _metadata, ...execution } = rawResponse;
2684
2685
  rawResponse = execution;
2685
2686
  }
2686
- const { listConversion, summary, baseEnvelope } = await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2687
+ const { listConversion, summary, baseEnvelope } = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2687
2688
  "result formatting",
2688
2689
  async () => {
2689
2690
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2703,7 +2704,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2703
2704
  rawResponse,
2704
2705
  listConversion: listConversion2,
2705
2706
  summary: summary2,
2706
- guidance: _optionalChain([metadata, 'optionalAccess', _39 => _39.guidance]),
2707
+ guidance: _optionalChain([metadata, 'optionalAccess', _41 => _41.guidance]),
2707
2708
  listExpected: listExtractorPaths.length > 0
2708
2709
  });
2709
2710
  return { listConversion: listConversion2, summary: summary2, baseEnvelope: baseEnvelope2 };
@@ -2718,9 +2719,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2718
2719
  }
2719
2720
  skillsSyncAttempted = true;
2720
2721
  try {
2721
- await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2722
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2722
2723
  "agent skills sync",
2723
- () => _chunkYPYR4ACFjs.syncSdkSkillsIfNeeded.call(void 0, _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl, {
2724
+ () => _chunkK5TWU5I6js.syncSdkSkillsIfNeeded.call(void 0, _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl, {
2724
2725
  update: deliveredCompatibilityResponse.skills,
2725
2726
  mode: "detached"
2726
2727
  })
@@ -2731,15 +2732,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2731
2732
  );
2732
2733
  }
2733
2734
  };
2734
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkSJH66N73js.printCommandEnvelope.call(void 0, envelope, {
2735
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, envelope, {
2735
2736
  ...options2,
2736
2737
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2737
2738
  });
2738
2739
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2739
2740
  await syncSkillsForDeliveredOutput();
2740
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2741
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2741
2742
  };
2742
- const delivered = await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0, "output delivery", async () => {
2743
+ const delivered = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2743
2744
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2744
2745
  await printDeliveredJsonEnvelope(baseEnvelope);
2745
2746
  return true;
@@ -2768,7 +2769,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2768
2769
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2769
2770
  );
2770
2771
  if (wantsJson) {
2771
- _chunkSJH66N73js.printJsonError.call(void 0, error);
2772
+ _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2772
2773
  } else {
2773
2774
  console.error(error.message);
2774
2775
  }
@@ -2863,14 +2864,14 @@ inspect: ${inspection.inspect}
2863
2864
  return true;
2864
2865
  });
2865
2866
  if (delivered) {
2866
- await _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0,
2867
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2867
2868
  "acknowledge delivery",
2868
2869
  () => recovery.acknowledgeDelivery()
2869
2870
  );
2870
2871
  }
2871
2872
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
2872
- _chunkYPYR4ACFjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2873
- quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
2873
+ _chunkK5TWU5I6js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2874
+ quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _42 => _42.auto_update, 'optionalAccess', _43 => _43.should_auto_update]) === true
2874
2875
  });
2875
2876
  }
2876
2877
  if (delivered && !skillsSyncAttempted) await syncSkillsForDeliveredOutput();