deepline 0.3.576 → 0.3.577

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 (140) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{agents-BLJR2Y3X.mjs → agents-SUJRATC2.mjs} +27 -10
  3. package/dist/cli/{agents-CJQ7KBFT.js → agents-ZIGK3FQ2.js} +54 -37
  4. package/dist/cli/auth-A5U6GVCF.js +44 -0
  5. package/dist/cli/{auth-SLZIRCPE.mjs → auth-TRKPRZK6.mjs} +5 -5
  6. package/dist/cli/{billing-IECMVARO.js → billing-6RAF4DQY.js} +102 -102
  7. package/dist/cli/{billing-6Q4SK5KF.mjs → billing-WPQT3QRS.mjs} +9 -9
  8. package/dist/cli/{chunk-L6H72AIX.js → chunk-2NFDB6CL.js} +2 -2
  9. package/dist/cli/{chunk-X5V6S5KI.mjs → chunk-425SUSDJ.mjs} +5 -5
  10. package/dist/cli/{chunk-66K7F7LR.mjs → chunk-4ANO4DM5.mjs} +1 -1
  11. package/dist/cli/{chunk-EQO77FQZ.js → chunk-772IV64Y.js} +5 -5
  12. package/dist/cli/{chunk-TZHS2W5Z.mjs → chunk-APJ6YIYW.mjs} +1 -1
  13. package/dist/cli/{chunk-6RY5COUY.js → chunk-APOWCBO7.js} +23 -23
  14. package/dist/cli/{chunk-QCD7BQ5Z.mjs → chunk-ATW77ZBL.mjs} +2 -2
  15. package/dist/cli/{chunk-7DI34I73.mjs → chunk-CCGFSELM.mjs} +3 -3
  16. package/dist/cli/{chunk-ZRC52APB.mjs → chunk-CWHXE6HJ.mjs} +1 -1
  17. package/dist/cli/{chunk-4KIIXV5Z.js → chunk-CZF2LKIT.js} +16 -16
  18. package/dist/cli/{chunk-5VABOJ4M.mjs → chunk-DA5C5WOI.mjs} +2 -2
  19. package/dist/cli/{chunk-45POZK3F.js → chunk-DJP7CJQC.js} +3 -3
  20. package/dist/cli/{chunk-WPGZ6V36.js → chunk-EJN43WGD.js} +48 -48
  21. package/dist/cli/{chunk-ANPHEXTT.js → chunk-EKZ6JD6K.js} +9 -9
  22. package/dist/cli/{chunk-OXRG325T.js → chunk-EV47DV25.js} +41 -41
  23. package/dist/cli/{chunk-XJNJ3BWU.mjs → chunk-FHYNK7GL.mjs} +1 -1
  24. package/dist/cli/{chunk-SBZSJQEI.js → chunk-FRYLXDNP.js} +53 -53
  25. package/dist/cli/{chunk-JSIOLCTK.js → chunk-FXN5WSTY.js} +20 -20
  26. package/dist/cli/{chunk-GI57Q7JU.mjs → chunk-GFWVBXAK.mjs} +2 -2
  27. package/dist/cli/{chunk-OMVBBAQP.mjs → chunk-H6NF5SNY.mjs} +2 -2
  28. package/dist/cli/{chunk-S4IW4NAI.mjs → chunk-I44Y4MPK.mjs} +1 -1
  29. package/dist/cli/{chunk-CUIFDMNP.mjs → chunk-ID5WQZ2H.mjs} +1 -1
  30. package/dist/cli/{chunk-GZ7KYGYE.js → chunk-ITK5TGQ7.js} +15 -15
  31. package/dist/cli/{chunk-36254433.js → chunk-JHQ7FORY.js} +3 -3
  32. package/dist/cli/{chunk-Y4A6Y5EY.js → chunk-JWLV3XRF.js} +7 -7
  33. package/dist/cli/{chunk-MXPCTF57.js → chunk-KVDIN2YW.js} +11 -0
  34. package/dist/cli/{chunk-YHM64N5C.mjs → chunk-LUQMTNFB.mjs} +1 -1
  35. package/dist/cli/{chunk-ZIGMC2X4.mjs → chunk-LXM36EXW.mjs} +11 -11
  36. package/dist/cli/{chunk-KQTZO6NT.mjs → chunk-MDP3CNDM.mjs} +2 -2
  37. package/dist/cli/{chunk-F4H26PP6.js → chunk-MOWABWHT.js} +100 -100
  38. package/dist/cli/{chunk-DGY4EYIX.js → chunk-MTHAVEQN.js} +5 -5
  39. package/dist/cli/{chunk-LKC7PHDX.mjs → chunk-MTM6WNPP.mjs} +4 -4
  40. package/dist/cli/{chunk-PU5VCDCJ.mjs → chunk-MVCKEPWF.mjs} +5 -5
  41. package/dist/cli/{chunk-AUR24RQB.mjs → chunk-N6EU2FRF.mjs} +2 -2
  42. package/dist/cli/{chunk-HE53AI2E.mjs → chunk-NDMKFA6W.mjs} +3 -3
  43. package/dist/cli/{chunk-M23G33MH.js → chunk-NMSDMXYS.js} +2 -2
  44. package/dist/cli/{chunk-NQFZ7FYN.js → chunk-NRBIYZUG.js} +10 -10
  45. package/dist/cli/{chunk-BRPUB6UA.js → chunk-NVJGVNEN.js} +5 -5
  46. package/dist/cli/{chunk-JPFAD6G6.mjs → chunk-O35BHZLQ.mjs} +2 -2
  47. package/dist/cli/{chunk-E4M4QZBP.js → chunk-OBZB4J7B.js} +1 -1
  48. package/dist/cli/{chunk-2UHEJPSS.mjs → chunk-OQQDNJ2D.mjs} +5 -5
  49. package/dist/cli/{chunk-AZFSCPYK.mjs → chunk-ORLJIJVX.mjs} +11 -0
  50. package/dist/cli/{chunk-SY3OKOI5.mjs → chunk-Q3WDT3YA.mjs} +1 -1
  51. package/dist/cli/{chunk-WDWV77SJ.js → chunk-QXAPAHIG.js} +13 -13
  52. package/dist/cli/{chunk-MDJ4LPQ5.js → chunk-RSZSKTRC.js} +4 -4
  53. package/dist/cli/{chunk-6JQZC6HX.js → chunk-RVICQWXU.js} +20 -20
  54. package/dist/cli/{chunk-D5LWYP2H.mjs → chunk-U6Y4HX6J.mjs} +3 -3
  55. package/dist/cli/{chunk-UD6M2ZTY.js → chunk-V5SF5CJ7.js} +2 -2
  56. package/dist/cli/{chunk-ZYN6S6G2.mjs → chunk-WP4Q5PTK.mjs} +4 -4
  57. package/dist/cli/{chunk-PYFMNPTA.js → chunk-X5ZE7K4J.js} +8 -8
  58. package/dist/cli/{chunk-UGIH4462.mjs → chunk-X7Y4T7CV.mjs} +5 -5
  59. package/dist/cli/{chunk-R5NKLZL2.mjs → chunk-XQTJET2Y.mjs} +1 -1
  60. package/dist/cli/{chunk-HHMO3CON.js → chunk-Y37JQZBP.js} +6 -6
  61. package/dist/cli/{chunk-V25CXBR2.js → chunk-ZHJIDDYR.js} +26 -26
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/{concurrent-runs-help-H3SA7J6H.mjs → concurrent-runs-help-6CGXMTFQ.mjs} +6 -6
  65. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +22 -0
  66. package/dist/cli/{csv-6DEKR3QQ.js → csv-7UZT2LGE.js} +13 -13
  67. package/dist/cli/{csv-ICXI7JAS.mjs → csv-L7P6PC6I.mjs} +4 -4
  68. package/dist/cli/{db-VI7T5E6O.mjs → db-4OOEC5KV.mjs} +6 -6
  69. package/dist/cli/{db-AG7INMLP.js → db-7KETOIZY.js} +27 -27
  70. package/dist/cli/{describe-S6NFWWGK.mjs → describe-M6HEFS46.mjs} +18 -18
  71. package/dist/cli/describe-RLWJYZIR.js +50 -0
  72. package/dist/cli/{executions-MK7H4Q2H.mjs → executions-U27R2LY4.mjs} +6 -6
  73. package/dist/cli/{executions-M5R5QHIA.js → executions-UIR6RQFM.js} +8 -8
  74. package/dist/cli/{feedback-L3L4FEQL.js → feedback-CQ5FUE4T.js} +14 -14
  75. package/dist/cli/{feedback-ZHATL2XF.mjs → feedback-UUUISTGQ.mjs} +6 -6
  76. package/dist/cli/{git-W5DHNH2Q.mjs → git-DTILSRIQ.mjs} +5 -5
  77. package/dist/cli/git-ZGDD3BVX.js +26 -0
  78. package/dist/cli/index.js +148 -148
  79. package/dist/cli/index.mjs +47 -47
  80. package/dist/cli/{integrations-IBWNO3YP.js → integrations-ABBLLEJH.js} +29 -29
  81. package/dist/cli/{integrations-73YSN2LI.mjs → integrations-NNACG3HD.mjs} +7 -7
  82. package/dist/cli/{legacy-noops-AE6DBYJM.js → legacy-noops-3JLS5OD7.js} +9 -9
  83. package/dist/cli/{legacy-noops-4LFZJTDX.mjs → legacy-noops-KQW7AIYU.mjs} +6 -6
  84. package/dist/cli/{mcp-E6PTSNDE.mjs → mcp-7NHGPYZH.mjs} +4 -4
  85. package/dist/cli/{mcp-BKL6M6OI.js → mcp-JPBFKR26.js} +24 -24
  86. package/dist/cli/{monitors-SW7ZCPPT.js → monitors-J6HK5KCN.js} +100 -100
  87. package/dist/cli/{monitors-MXJ27KQK.mjs → monitors-JOE2DALW.mjs} +7 -7
  88. package/dist/cli/{org-HYAJ2MIK.mjs → org-VZZ4LN4O.mjs} +6 -6
  89. package/dist/cli/{org-XJ44KZ5I.js → org-WFZFQIXQ.js} +121 -121
  90. package/dist/cli/{outcomes-PUMAXRGD.mjs → outcomes-H2WEZYNT.mjs} +6 -6
  91. package/dist/cli/{outcomes-PTXGG4BZ.js → outcomes-RZWL47BJ.js} +14 -14
  92. package/dist/cli/{play-EPDZ3GDV.js → play-2ZEBUF5T.js} +336 -336
  93. package/dist/cli/{play-QN3X6IAE.mjs → play-KMWA7GVN.mjs} +19 -19
  94. package/dist/cli/{providers-JIN5UQ7Z.mjs → providers-2BIA3OWA.mjs} +6 -6
  95. package/dist/cli/{providers-GNJFGNDH.js → providers-57AZWFSW.js} +9 -9
  96. package/dist/cli/{quickstart-YH6NNC5I.js → quickstart-EYJFERQO.js} +6 -6
  97. package/dist/cli/{quickstart-4EBFHGB7.mjs → quickstart-NSDM2RXV.mjs} +4 -4
  98. package/dist/cli/{run-4DRF7KQJ.js → run-BW62DZGQ.js} +44 -44
  99. package/dist/cli/{run-5467KBCP.mjs → run-X6H5SCEE.mjs} +23 -23
  100. package/dist/cli/{search-ZERTOGH6.mjs → search-2VN74P5N.mjs} +7 -7
  101. package/dist/cli/search-HYRDZVPQ.js +32 -0
  102. package/dist/cli/{search-output-OMNZN2LP.js → search-output-SFWQVBYU.js} +6 -6
  103. package/dist/cli/{search-output-OAVJXRFO.mjs → search-output-VN7XOZEQ.mjs} +4 -4
  104. package/dist/cli/{secrets-KAVDYB4P.mjs → secrets-4M26N436.mjs} +6 -6
  105. package/dist/cli/{secrets-7XK2BGYX.js → secrets-OIPKG2H7.js} +15 -15
  106. package/dist/cli/sessions-5P2KZOQE.js +23 -0
  107. package/dist/cli/{sessions-TNPI6XWB.mjs → sessions-SYFH23L3.mjs} +6 -6
  108. package/dist/cli/{settings-KUABXRAJ.mjs → settings-4HPF3T4P.mjs} +12 -12
  109. package/dist/cli/{settings-RQ3Z3JCM.js → settings-5NB4HZYL.js} +85 -85
  110. package/dist/cli/{setup-6IX6BSS7.mjs → setup-CI74F6CL.mjs} +9 -9
  111. package/dist/cli/{setup-TDOWNKYN.js → setup-JV3F5C7P.js} +49 -49
  112. package/dist/cli/{skills-Z6NBJ4KP.mjs → skills-76CM4GHO.mjs} +7 -7
  113. package/dist/cli/skills-PJ5EL32L.js +37 -0
  114. package/dist/cli/{tools-LQKFWK7J.mjs → tools-SVGLDWOC.mjs} +17 -17
  115. package/dist/cli/tools-Y5ID2SPK.js +57 -0
  116. package/dist/cli/update-FSUMCMNZ.js +37 -0
  117. package/dist/cli/{update-RUB4EIKW.mjs → update-KPMDOZRX.mjs} +9 -9
  118. package/dist/cli/{views-D7WY5QPR.mjs → views-KW54SAES.mjs} +6 -6
  119. package/dist/cli/{views-FFLXLAGC.js → views-R37NWN6J.js} +21 -21
  120. package/dist/cli/{workflow-BV2OTEQD.mjs → workflow-3MIRQV4Q.mjs} +7 -7
  121. package/dist/cli/{workflow-QW7QVODA.js → workflow-BKRKUNYS.js} +17 -17
  122. package/dist/index.js +9 -9
  123. package/dist/index.mjs +6 -6
  124. package/dist/install-integrity.json +116 -116
  125. package/dist/release.d.mts +1 -1
  126. package/dist/release.d.ts +1 -1
  127. package/dist/release.js +2 -2
  128. package/dist/release.mjs +1 -1
  129. package/dist/server.js +5 -5
  130. package/dist/server.mjs +3 -3
  131. package/package.json +1 -1
  132. package/dist/cli/auth-GSDYP4ZN.js +0 -44
  133. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +0 -22
  134. package/dist/cli/describe-LMHIG3DP.js +0 -50
  135. package/dist/cli/git-WYNCLDHD.js +0 -26
  136. package/dist/cli/search-B2KCWPUV.js +0 -32
  137. package/dist/cli/sessions-PUQURPPC.js +0 -23
  138. package/dist/cli/skills-AACRY2TV.js +0 -37
  139. package/dist/cli/tools-OTYA4722.js +0 -57
  140. package/dist/cli/update-JTGMI6OJ.js +0 -37
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkY4A6Y5EYjs = require('./chunk-Y4A6Y5EY.js');
5
+ var _chunkJWLV3XRFjs = require('./chunk-JWLV3XRF.js');
6
6
 
7
7
 
8
8
 
@@ -11,11 +11,11 @@ var _chunkY4A6Y5EYjs = require('./chunk-Y4A6Y5EY.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkGZ7KYGYEjs = require('./chunk-GZ7KYGYE.js');
14
+ var _chunkITK5TGQ7js = require('./chunk-ITK5TGQ7.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkNQFZ7FYNjs = require('./chunk-NQFZ7FYN.js');
18
+ var _chunkNRBIYZUGjs = require('./chunk-NRBIYZUG.js');
19
19
 
20
20
 
21
21
 
@@ -57,29 +57,29 @@ var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
57
57
  var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
58
58
 
59
59
 
60
- var _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
60
+ var _chunkNVJGVNENjs = require('./chunk-NVJGVNEN.js');
61
61
 
62
62
 
63
- var _chunkPYFMNPTAjs = require('./chunk-PYFMNPTA.js');
63
+ var _chunkX5ZE7K4Jjs = require('./chunk-X5ZE7K4J.js');
64
64
 
65
65
 
66
66
 
67
67
 
68
68
 
69
69
 
70
- var _chunk6RY5COUYjs = require('./chunk-6RY5COUY.js');
70
+ var _chunkAPOWCBO7js = require('./chunk-APOWCBO7.js');
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkL6H72AIXjs = require('./chunk-L6H72AIX.js');
75
+ var _chunk2NFDB6CLjs = require('./chunk-2NFDB6CL.js');
76
76
 
77
77
 
78
78
 
79
79
 
80
80
 
81
81
 
82
- var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
82
+ var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
83
83
 
84
84
 
85
85
 
@@ -88,12 +88,12 @@ var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
88
88
 
89
89
 
90
90
 
91
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
91
+ var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
92
92
 
93
93
 
94
94
 
95
95
 
96
- var _chunk36254433js = require('./chunk-36254433.js');
96
+ var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
97
97
 
98
98
 
99
99
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -202,10 +202,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
202
202
  }
203
203
  };
204
204
  function pendingToolExecutionPath(input) {
205
- const config = _chunk36254433js.resolveConfig.call(void 0, );
205
+ const config = _chunkJHQ7FORYjs.resolveConfig.call(void 0, );
206
206
  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(_chunkCFJFUVX2js.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
207
207
  return _path.join.call(void 0,
208
- _chunk36254433js.sdkCliStateDirPath.call(void 0, config.baseUrl),
208
+ _chunkJHQ7FORYjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
209
209
  `${PENDING_PREFIX}${fingerprint}.json`
210
210
  );
211
211
  }
@@ -589,13 +589,13 @@ function categoryEnumerationRender(summaries) {
589
589
  };
590
590
  }
591
591
  async function listToolCategories(emitJson, compact) {
592
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
592
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
593
593
  if (!emitJson) {
594
594
  const summaries2 = (await client.listToolCategories()).map((category) => ({
595
595
  ...category,
596
596
  description: describeToolCategory(category.name)
597
597
  }));
598
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
598
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
599
599
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
600
600
  { json: false }
601
601
  );
@@ -605,7 +605,7 @@ async function listToolCategories(emitJson, compact) {
605
605
  const items = rawTools.map(toListedTool);
606
606
  const summaries = aggregateCategorySummaries(rawTools);
607
607
  const outputItems = compact ? items.map(compactTool) : items;
608
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
608
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
609
609
  {
610
610
  tools: outputItems,
611
611
  count: outputItems.length,
@@ -624,7 +624,7 @@ function unknownCategoryError(category, summaries, emitJson) {
624
624
  const known = summaries.map((item) => item.name);
625
625
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
626
626
  if (emitJson) {
627
- _chunkJSIOLCTKjs.printJson.call(void 0, {
627
+ _chunkFXN5WSTYjs.printJson.call(void 0, {
628
628
  ok: false,
629
629
  exitCode: 4,
630
630
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -638,13 +638,13 @@ function unknownCategoryError(category, summaries, emitJson) {
638
638
  const render = categoryEnumerationRender(summaries);
639
639
  console.error(message);
640
640
  console.error("");
641
- console.error(_chunkJSIOLCTKjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
641
+ console.error(_chunkFXN5WSTYjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
642
642
  console.error("");
643
643
  console.error(`Valid categories: ${known.join(", ")}`);
644
644
  return 4;
645
645
  }
646
646
  async function listToolsInCategory(category, emitJson) {
647
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
647
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
648
648
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
649
649
  const summaries = categories.map((item) => ({
650
650
  ...item,
@@ -681,7 +681,7 @@ async function listToolsInCategory(category, emitJson) {
681
681
  }
682
682
  ]
683
683
  };
684
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
684
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
685
685
  {
686
686
  category,
687
687
  total: rows.length,
@@ -694,7 +694,7 @@ async function listToolsInCategory(category, emitJson) {
694
694
  return 0;
695
695
  }
696
696
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
697
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
697
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
698
698
  const items = (await client.listTools({
699
699
  categories: requestedCategories.join(","),
700
700
  compact
@@ -723,7 +723,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
723
723
  ]
724
724
  };
725
725
  const outputItems = compact ? items.map(compactTool) : items;
726
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
726
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
727
727
  {
728
728
  tools: outputItems,
729
729
  count: outputItems.length,
@@ -742,13 +742,13 @@ async function listTools(category, options = {}) {
742
742
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _12 => _12.trim, 'call', _13 => _13()]), () => ( ""));
743
743
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
744
744
  const compact = options.compact !== false;
745
- const emitJson = options.json === true || _chunkJSIOLCTKjs.shouldEmitJson.call(void 0, );
745
+ const emitJson = options.json === true || _chunkFXN5WSTYjs.shouldEmitJson.call(void 0, );
746
746
  if (positional && flagCategories.length > 0) {
747
747
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
748
748
  if (!flagIsSameSingle) {
749
749
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
750
750
  if (emitJson) {
751
- _chunkJSIOLCTKjs.printJson.call(void 0, {
751
+ _chunkFXN5WSTYjs.printJson.call(void 0, {
752
752
  ok: false,
753
753
  exitCode: 2,
754
754
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -775,7 +775,7 @@ async function grepTools(queryInput, options = {}) {
775
775
  console.error("Usage: deepline tools grep <query> [--json]");
776
776
  return 1;
777
777
  }
778
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
778
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
779
779
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
780
780
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
781
781
  const jsonOutput = options.json === true;
@@ -799,7 +799,7 @@ async function grepTools(queryInput, options = {}) {
799
799
  query,
800
800
  mode
801
801
  }) : null;
802
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
802
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
803
803
  {
804
804
  tools: outputTools,
805
805
  count: outputTools.length,
@@ -817,7 +817,7 @@ async function grepTools(queryInput, options = {}) {
817
817
  } : {},
818
818
  commandTemplates: TOOL_COMMAND_TEMPLATES
819
819
  },
820
- { json: options.json || _chunkJSIOLCTKjs.shouldEmitJson.call(void 0, ) }
820
+ { json: options.json || _chunkFXN5WSTYjs.shouldEmitJson.call(void 0, ) }
821
821
  );
822
822
  return 0;
823
823
  }
@@ -913,13 +913,13 @@ Output:
913
913
  activity.
914
914
  `
915
915
  );
916
- _chunkGZ7KYGYEjs.registerIntegrationBalanceCommand.call(void 0, tools, true);
917
- _chunkGZ7KYGYEjs.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
918
- _chunkGZ7KYGYEjs.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
919
- _chunkGZ7KYGYEjs.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
920
- _chunkGZ7KYGYEjs.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
921
- _chunkGZ7KYGYEjs.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
922
- _chunkGZ7KYGYEjs.registerIntegrationConnectCommand.call(void 0, tools, false, true);
916
+ _chunkITK5TGQ7js.registerIntegrationBalanceCommand.call(void 0, tools, true);
917
+ _chunkITK5TGQ7js.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
918
+ _chunkITK5TGQ7js.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
919
+ _chunkITK5TGQ7js.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
920
+ _chunkITK5TGQ7js.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
921
+ _chunkITK5TGQ7js.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
922
+ _chunkITK5TGQ7js.registerIntegrationConnectCommand.call(void 0, tools, false, true);
923
923
  tools.command("list [category]").description("Browse tool categories, or list every tool in a category.").addHelpText(
924
924
  "after",
925
925
  `
@@ -952,7 +952,7 @@ Examples:
952
952
  json: Boolean(options.json)
953
953
  });
954
954
  });
955
- _chunkNQFZ7FYNjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
955
+ _chunkNRBIYZUGjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
956
956
  tools.command("grep <query>").description(
957
957
  "Regex grep over tool ids, descriptions, categories, and input fields."
958
958
  ).addHelpText(
@@ -987,7 +987,7 @@ Examples:
987
987
  });
988
988
  const addToolMetadataCommand = (command) => {
989
989
  let compatibilityMetadata;
990
- _chunk6RY5COUYjs.registerCompatibilityCatalog.call(void 0, command, () => ({
990
+ _chunkAPOWCBO7js.registerCompatibilityCatalog.call(void 0, command, () => ({
991
991
  toolId: command.args[0],
992
992
  acceptMetadata: (metadata) => {
993
993
  compatibilityMetadata = metadata;
@@ -1057,7 +1057,7 @@ Examples:
1057
1057
  process.exitCode = await narrowView();
1058
1058
  return;
1059
1059
  }
1060
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-LMHIG3DP.js")));
1060
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RLWJYZIR.js")));
1061
1061
  process.exitCode = await describeAnything(
1062
1062
  toolId,
1063
1063
  {
@@ -1072,7 +1072,7 @@ Examples:
1072
1072
  });
1073
1073
  };
1074
1074
  addToolMetadataCommand(
1075
- _chunkY4A6Y5EYjs.addDescribeOptions.call(void 0,
1075
+ _chunkJWLV3XRFjs.addDescribeOptions.call(void 0,
1076
1076
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
1077
1077
  { json: false }
1078
1078
  )
@@ -1141,7 +1141,7 @@ Examples:
1141
1141
  options,
1142
1142
  void 0,
1143
1143
  true,
1144
- _chunkL6H72AIXjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1144
+ _chunk2NFDB6CLjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1145
1145
  );
1146
1146
  }
1147
1147
  );
@@ -1149,13 +1149,13 @@ Examples:
1149
1149
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1150
1150
  let metadata;
1151
1151
  const startedAt = performance.now();
1152
- const baseUrl = _chunk36254433js.resolveConfig.call(void 0, ).baseUrl;
1153
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1154
- const result = _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
1152
+ const baseUrl = _chunkJHQ7FORYjs.resolveConfig.call(void 0, ).baseUrl;
1153
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1154
+ const result = _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
1155
1155
  "SDK compatibility",
1156
- () => _chunkWPGZ6V36js.checkSdkCompatibility.call(void 0, baseUrl, {
1156
+ () => _chunkEJN43WGDjs.checkSdkCompatibility.call(void 0, baseUrl, {
1157
1157
  command: "tools execute",
1158
- skillsVersion: _chunk36254433js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1158
+ skillsVersion: _chunkJHQ7FORYjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1159
1159
  persistCache: false,
1160
1160
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1161
1161
  catalog: {
@@ -1169,7 +1169,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1169
1169
  })
1170
1170
  ).then(
1171
1171
  (compatibility) => {
1172
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, {
1172
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, {
1173
1173
  phase: "cli.tool_execute_compatibility_ready",
1174
1174
  ms: performance.now() - startedAt,
1175
1175
  ok: compatibility.error === null,
@@ -1178,7 +1178,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1178
1178
  return compatibility;
1179
1179
  },
1180
1180
  (error) => {
1181
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, {
1181
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, {
1182
1182
  phase: "cli.tool_execute_compatibility_ready",
1183
1183
  ms: performance.now() - startedAt,
1184
1184
  ok: false
@@ -1193,7 +1193,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1193
1193
  console.error("Usage: deepline tools describe <toolId> [--json]");
1194
1194
  return 1;
1195
1195
  }
1196
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
1196
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
1197
1197
  let tool;
1198
1198
  try {
1199
1199
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1252,7 +1252,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1252
1252
  const lines = toolPricingOnlyLines(tool, toolId);
1253
1253
  if (inferenceQuote)
1254
1254
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1255
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
1255
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
1256
1256
  {
1257
1257
  toolId: String(tool.toolId || toolId),
1258
1258
  cost: _chunkSKHUWQZEjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1275,7 +1275,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1275
1275
  void 0,
1276
1276
  seedToolListScript
1277
1277
  );
1278
- _chunkJSIOLCTKjs.printCompactJson.call(void 0, {
1278
+ _chunkFXN5WSTYjs.printCompactJson.call(void 0, {
1279
1279
  toolId: contract.toolId,
1280
1280
  ...options.schemaOnly ? {
1281
1281
  inputSchema: contract.inputSchema,
@@ -1298,7 +1298,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1298
1298
  return 0;
1299
1299
  }
1300
1300
  if (options.contractJson) {
1301
- _chunkJSIOLCTKjs.printCompactJson.call(void 0, {
1301
+ _chunkFXN5WSTYjs.printCompactJson.call(void 0, {
1302
1302
  ..._chunkSKHUWQZEjs.toolContractJsonForDescribe.call(void 0,
1303
1303
  tool,
1304
1304
  toolId,
@@ -1312,7 +1312,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1312
1312
  }
1313
1313
  const emitJson = options.json === true;
1314
1314
  if (emitJson) {
1315
- _chunkJSIOLCTKjs.printCompactJson.call(void 0, {
1315
+ _chunkFXN5WSTYjs.printCompactJson.call(void 0, {
1316
1316
  ..._chunkSKHUWQZEjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1317
1317
  ...modelDescription ? { modelOptions: modelDescription } : {},
1318
1318
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2186,7 +2186,7 @@ function parseExecuteOptions(toolId, options, output) {
2186
2186
  outputFormat = normalizeOutputFormat(options.outputFormat);
2187
2187
  }
2188
2188
  if (options.idempotencyKey !== void 0) {
2189
- _chunkPYFMNPTAjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2189
+ _chunkX5ZE7K4Jjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2190
2190
  }
2191
2191
  if (options.connection !== void 0 && (options.recover || options.idempotencyKey !== void 0)) {
2192
2192
  throw new Error(
@@ -2575,7 +2575,7 @@ function writeToolReceipt(input) {
2575
2575
  const data = Object.hasOwn(toolResponse, "rawV2") ? toolResponse.rawV2 : Object.hasOwn(toolResponse, "raw") ? toolResponse.raw : Object.hasOwn(envelope, "output") ? envelope.output : Object.hasOwn(envelope, "result") ? envelope.result : response;
2576
2576
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2577
2577
  const charged = _chunkSKHUWQZEjs.recordField.call(void 0, envelope, "billing").credits_charged;
2578
- _chunkY4A6Y5EYjs.writeExecutionOutput.call(void 0,
2578
+ _chunkJWLV3XRFjs.writeExecutionOutput.call(void 0,
2579
2579
  {
2580
2580
  id: _nullishCoalesce(input.key, () => ( jobId)),
2581
2581
  status,
@@ -2606,8 +2606,8 @@ async function executeToolForReceipt(input) {
2606
2606
  let retryKey = null;
2607
2607
  let received = false;
2608
2608
  try {
2609
- const cliInvocationId = _nullishCoalesce(_chunk6RY5COUYjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk6RY5COUYjs.beginToolExecuteCommand.call(void 0, )));
2610
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
2609
+ const cliInvocationId = _nullishCoalesce(_chunkAPOWCBO7js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkAPOWCBO7js.beginToolExecuteCommand.call(void 0, )));
2610
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
2611
2611
  const metadata = assertExecutableToolMetadata(
2612
2612
  toolId,
2613
2613
  await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })))
@@ -2629,9 +2629,9 @@ async function executeToolForReceipt(input) {
2629
2629
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2630
2630
  ..._optionalChain([metadata, 'access', _37 => _37.executionMetadata, 'optionalAccess', _38 => _38.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2631
2631
  ...idempotencyKey ? { idempotencyKey } : {},
2632
- searchRef: _chunkNQFZ7FYNjs.recentSearchRef.call(void 0, toolId),
2632
+ searchRef: _chunkNRBIYZUGjs.recentSearchRef.call(void 0, toolId),
2633
2633
  cliInvocationId,
2634
- onResponseReceived: _chunkY4A6Y5EYjs.recordApiResponse
2634
+ onResponseReceived: _chunkJWLV3XRFjs.recordApiResponse
2635
2635
  });
2636
2636
  const response = await call(key).catch((error) => {
2637
2637
  if (!key || !refusedRetryKey(error)) throw error;
@@ -2667,11 +2667,11 @@ async function executeToolForReceipt(input) {
2667
2667
  if (received) throw error;
2668
2668
  const outcomeKnown = answeredWithFailure(error);
2669
2669
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _39 => _39.discard, 'call', _40 => _40()]);
2670
- _chunkY4A6Y5EYjs.writeExecutionOutput.call(void 0,
2670
+ _chunkJWLV3XRFjs.writeExecutionOutput.call(void 0,
2671
2671
  {
2672
2672
  id: outcomeKnown ? null : key,
2673
2673
  status: "failed",
2674
- error: _chunkJSIOLCTKjs.errorToJsonPayload.call(void 0, error).error,
2674
+ error: _chunkFXN5WSTYjs.errorToJsonPayload.call(void 0, error).error,
2675
2675
  ...key && !outcomeKnown ? {
2676
2676
  next: {
2677
2677
  retry: "Run the same command again: it picks up this call without paying twice."
@@ -2703,11 +2703,11 @@ function answeredWithFailure(error) {
2703
2703
  !(error.code === "IDEMPOTENCY_NOT_SUPPORTED" && !serverBodyHasCode(_optionalChain([error, 'access', _43 => _43.details, 'optionalAccess', _44 => _44.response]), "IDEMPOTENCY_NOT_SUPPORTED"));
2704
2704
  }
2705
2705
  async function getToolExecutionReceipt(key, output) {
2706
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
2706
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
2707
2707
  const execution = await client.executions.getByKey(key);
2708
2708
  output.label = `${execution.toolId} (tool)`;
2709
2709
  if (execution.response === void 0) {
2710
- _chunkY4A6Y5EYjs.writeExecutionOutput.call(void 0,
2710
+ _chunkJWLV3XRFjs.writeExecutionOutput.call(void 0,
2711
2711
  {
2712
2712
  id: key,
2713
2713
  status: execution.executionRecovery.state,
@@ -2736,19 +2736,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2736
2736
  parsed = parseExecuteOptions(toolId, options, output);
2737
2737
  } catch (error) {
2738
2738
  if (wantsJson) {
2739
- _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
2739
+ _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
2740
2740
  } else {
2741
2741
  console.error(error instanceof Error ? error.message : String(error));
2742
2742
  }
2743
2743
  return error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2744
2744
  }
2745
- const cliInvocationId = _nullishCoalesce(_chunk6RY5COUYjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk6RY5COUYjs.beginToolExecuteCommand.call(void 0, )));
2745
+ const cliInvocationId = _nullishCoalesce(_chunkAPOWCBO7js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkAPOWCBO7js.beginToolExecuteCommand.call(void 0, )));
2746
2746
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2747
- const tracing = _chunkL6H72AIXjs.isCliTraceEnabled.call(void 0, );
2747
+ const tracing = _chunk2NFDB6CLjs.isCliTraceEnabled.call(void 0, );
2748
2748
  const clientStartedAt = tracing ? performance.now() : void 0;
2749
- const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
2749
+ const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
2750
2750
  if (clientStartedAt !== void 0) {
2751
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, {
2751
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, {
2752
2752
  phase: "cli.tool_execute_client_setup",
2753
2753
  ms: performance.now() - clientStartedAt
2754
2754
  });
@@ -2757,13 +2757,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2757
2757
  const readMetadata = async () => {
2758
2758
  if (metadata) return assertExecutableToolMetadata(parsed.toolId, metadata);
2759
2759
  try {
2760
- metadata = await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
2760
+ metadata = await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
2761
2761
  "tool metadata lookup",
2762
2762
  () => client.getTool(parsed.toolId, { cliInvocationId })
2763
2763
  );
2764
2764
  } catch (error) {
2765
2765
  if (isMissingToolMetadataError(error)) {
2766
- const play = await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
2766
+ const play = await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
2767
2767
  "play alias lookup",
2768
2768
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2769
2769
  );
@@ -2786,7 +2786,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2786
2786
  toolMetadata = await readMetadata();
2787
2787
  } catch (error) {
2788
2788
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2789
- if (wantsJson) _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
2789
+ if (wantsJson) _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
2790
2790
  else console.error(error.message);
2791
2791
  return 2;
2792
2792
  }
@@ -2814,7 +2814,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2814
2814
  assertExecutableToolMetadata(parsed.toolId, metadata);
2815
2815
  } catch (error) {
2816
2816
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2817
- if (wantsJson) _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
2817
+ if (wantsJson) _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
2818
2818
  else console.error(error.message);
2819
2819
  return 2;
2820
2820
  }
@@ -2826,7 +2826,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2826
2826
  metadata = await readMetadata();
2827
2827
  } catch (error) {
2828
2828
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2829
- if (wantsJson) _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
2829
+ if (wantsJson) _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
2830
2830
  else console.error(error.message);
2831
2831
  return 2;
2832
2832
  }
@@ -2842,7 +2842,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2842
2842
  metadata = await readMetadata();
2843
2843
  } catch (error) {
2844
2844
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2845
- if (wantsJson) _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
2845
+ if (wantsJson) _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
2846
2846
  else console.error(error.message);
2847
2847
  return 2;
2848
2848
  }
@@ -2869,11 +2869,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2869
2869
  ...parsed.connection !== void 0 ? { connection: parsed.connection } : {},
2870
2870
  ...idempotencyKey ? { idempotencyKey } : {},
2871
2871
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2872
- searchRef: _chunkNQFZ7FYNjs.recentSearchRef.call(void 0, parsed.toolId),
2872
+ searchRef: _chunkNRBIYZUGjs.recentSearchRef.call(void 0, parsed.toolId),
2873
2873
  cliInvocationId,
2874
- onResponseReceived: _chunkY4A6Y5EYjs.recordApiResponse,
2874
+ onResponseReceived: _chunkJWLV3XRFjs.recordApiResponse,
2875
2875
  ...tracing ? {
2876
- onServerTiming: (serverTiming) => _chunkL6H72AIXjs.recordCliTrace.call(void 0, {
2876
+ onServerTiming: (serverTiming) => _chunk2NFDB6CLjs.recordCliTrace.call(void 0, {
2877
2877
  phase: "tool_execute_server_timing",
2878
2878
  cliInvocationId,
2879
2879
  serverTiming,
@@ -2884,13 +2884,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2884
2884
  let rawResponse;
2885
2885
  let successfulCompatibilityResponse;
2886
2886
  try {
2887
- const executeResult = await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
2887
+ const executeResult = await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
2888
2888
  "execute request",
2889
2889
  async () => {
2890
2890
  try {
2891
2891
  if (tracing) {
2892
2892
  submissionStartedAt = performance.now();
2893
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2893
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2894
2894
  }
2895
2895
  return await client.executeTool(parsed.toolId, parsed.params, {
2896
2896
  ...executeOptions,
@@ -2900,34 +2900,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2900
2900
  } catch (error) {
2901
2901
  if (parsed.connection !== void 0 || !(error instanceof _chunkLFQJW4S2js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2902
2902
  throw error;
2903
- const baseUrl = _chunk36254433js.resolveConfig.call(void 0, ).baseUrl;
2903
+ const baseUrl = _chunkJHQ7FORYjs.resolveConfig.call(void 0, ).baseUrl;
2904
2904
  if (maintenancePolicy !== "off") {
2905
- _chunkWPGZ6V36js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2905
+ _chunkEJN43WGDjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2906
2906
  }
2907
2907
  const preflight = deferredCompatibility ? await deferredCompatibility.result.catch(() => null) : null;
2908
- const compatibilityResponse = _optionalChain([preflight, 'optionalAccess', _50 => _50.live]) === true ? preflight.response : await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
2908
+ const compatibilityResponse = _optionalChain([preflight, 'optionalAccess', _50 => _50.live]) === true ? preflight.response : await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
2909
2909
  "SDK compatibility",
2910
- () => _chunkWPGZ6V36js.requireSdkCompatibility.call(void 0, baseUrl, {
2910
+ () => _chunkEJN43WGDjs.requireSdkCompatibility.call(void 0, baseUrl, {
2911
2911
  command: "tools execute",
2912
- skillsVersion: _chunk36254433js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2912
+ skillsVersion: _chunkJHQ7FORYjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2913
2913
  persistCache: maintenancePolicy !== "off"
2914
2914
  })
2915
2915
  );
2916
2916
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _51 => _51.readMetadata, 'call', _52 => _52()]), () => ( metadata));
2917
- if (maintenancePolicy !== "off" && await _chunk6RY5COUYjs.maybeAutoUpdateAndRelaunch.call(void 0,
2917
+ if (maintenancePolicy !== "off" && await _chunkAPOWCBO7js.maybeAutoUpdateAndRelaunch.call(void 0,
2918
2918
  compatibilityResponse,
2919
2919
  baseUrl,
2920
2920
  maintenancePolicy
2921
2921
  )) {
2922
2922
  return void 0;
2923
2923
  }
2924
- _chunkWPGZ6V36js.enforceSdkCompatibilityResponse.call(void 0, compatibilityResponse, {
2924
+ _chunkEJN43WGDjs.enforceSdkCompatibilityResponse.call(void 0, compatibilityResponse, {
2925
2925
  quietAdvisory: wantsJson
2926
2926
  });
2927
2927
  if (maintenancePolicy !== "off") {
2928
- await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
2928
+ await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
2929
2929
  "agent skills sync",
2930
- () => _chunkWPGZ6V36js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2930
+ () => _chunkEJN43WGDjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2931
2931
  update: _optionalChain([compatibilityResponse, 'optionalAccess', _53 => _53.skills]),
2932
2932
  mode: "detached"
2933
2933
  })
@@ -2936,7 +2936,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2936
2936
  const legacyMetadata = await readMetadata();
2937
2937
  if (tracing) {
2938
2938
  submissionStartedAt = performance.now();
2939
- _chunkL6H72AIXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2939
+ _chunk2NFDB6CLjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2940
2940
  }
2941
2941
  return client.executeTool(parsed.toolId, parsed.params, {
2942
2942
  ...executeOptions,
@@ -2959,8 +2959,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2959
2959
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2960
2960
  const updateRequiredBeforeExecution = error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2961
2961
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2962
- const baseUrl = _chunk36254433js.resolveConfig.call(void 0, ).baseUrl;
2963
- if (await _chunk6RY5COUYjs.maybeAutoUpdateAndRelaunch.call(void 0,
2962
+ const baseUrl = _chunkJHQ7FORYjs.resolveConfig.call(void 0, ).baseUrl;
2963
+ if (await _chunkAPOWCBO7js.maybeAutoUpdateAndRelaunch.call(void 0,
2964
2964
  compatibility.response,
2965
2965
  baseUrl,
2966
2966
  maintenancePolicy
@@ -2984,7 +2984,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2984
2984
  }
2985
2985
  }
2986
2986
  if (failure instanceof _chunkLFQJW4S2js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2987
- if (wantsJson) _chunkJSIOLCTKjs.printJsonError.call(void 0, failure);
2987
+ if (wantsJson) _chunkFXN5WSTYjs.printJsonError.call(void 0, failure);
2988
2988
  else console.error(failure.message);
2989
2989
  return 2;
2990
2990
  }
@@ -3011,9 +3011,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3011
3011
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
3012
3012
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _60 => _60.auto_update]);
3013
3013
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _61 => _61.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
3014
- await _chunk6RY5COUYjs.maybeAutoUpdateAndRelaunch.call(void 0,
3014
+ await _chunkAPOWCBO7js.maybeAutoUpdateAndRelaunch.call(void 0,
3015
3015
  compatibilityResponse,
3016
- _chunk36254433js.resolveConfig.call(void 0, ).baseUrl,
3016
+ _chunkJHQ7FORYjs.resolveConfig.call(void 0, ).baseUrl,
3017
3017
  maintenancePolicy
3018
3018
  );
3019
3019
  }
@@ -3048,7 +3048,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3048
3048
  const { _metadata, ...execution } = rawResponse;
3049
3049
  rawResponse = execution;
3050
3050
  }
3051
- const { listConversion, summary, baseEnvelope } = await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
3051
+ const { listConversion, summary, baseEnvelope } = await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
3052
3052
  "result formatting",
3053
3053
  async () => {
3054
3054
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -3083,9 +3083,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3083
3083
  }
3084
3084
  skillsSyncAttempted = true;
3085
3085
  try {
3086
- await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
3086
+ await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
3087
3087
  "agent skills sync",
3088
- () => _chunkWPGZ6V36js.syncSdkSkillsIfNeeded.call(void 0, _chunk36254433js.resolveConfig.call(void 0, ).baseUrl, {
3088
+ () => _chunkEJN43WGDjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJHQ7FORYjs.resolveConfig.call(void 0, ).baseUrl, {
3089
3089
  update: deliveredCompatibilityResponse.skills,
3090
3090
  mode: "detached"
3091
3091
  })
@@ -3096,15 +3096,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3096
3096
  );
3097
3097
  }
3098
3098
  };
3099
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, envelope, {
3099
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0, envelope, {
3100
3100
  ...options2,
3101
3101
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
3102
3102
  });
3103
3103
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
3104
3104
  await syncSkillsForDeliveredOutput();
3105
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3105
+ _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3106
3106
  };
3107
- const delivered = await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3107
+ const delivered = await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0, "output delivery", async () => {
3108
3108
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3109
3109
  await printDeliveredJsonEnvelope(baseEnvelope);
3110
3110
  return true;
@@ -3133,7 +3133,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3133
3133
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3134
3134
  );
3135
3135
  if (wantsJson) {
3136
- _chunkJSIOLCTKjs.printJsonError.call(void 0, error);
3136
+ _chunkFXN5WSTYjs.printJsonError.call(void 0, error);
3137
3137
  } else {
3138
3138
  console.error(error.message);
3139
3139
  }
@@ -3228,13 +3228,13 @@ inspect: ${inspection.inspect}
3228
3228
  return true;
3229
3229
  });
3230
3230
  if (delivered) {
3231
- await _chunk6RY5COUYjs.runToolExecuteStage.call(void 0,
3231
+ await _chunkAPOWCBO7js.runToolExecuteStage.call(void 0,
3232
3232
  "acknowledge delivery",
3233
3233
  () => recovery.acknowledgeDelivery()
3234
3234
  );
3235
3235
  }
3236
3236
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3237
- _chunkWPGZ6V36js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3237
+ _chunkEJN43WGDjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3238
3238
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _64 => _64.auto_update, 'optionalAccess', _65 => _65.should_auto_update]) === true
3239
3239
  });
3240
3240
  }