deepline 0.3.572 → 0.3.573

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 (135) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +4 -3
  3. package/dist/cli/auth-DGR7ZQJL.js +44 -0
  4. package/dist/cli/{auth-YUDM3YOC.mjs → auth-XX3HLRQ2.mjs} +5 -5
  5. package/dist/cli/{billing-F3ZGOWKL.js → billing-6TY2HMC6.js} +99 -99
  6. package/dist/cli/{billing-O7WUC4TU.mjs → billing-QASEPOBL.mjs} +8 -8
  7. package/dist/cli/{chunk-3SFLY3T3.js → chunk-2USXCXPZ.js} +5 -5
  8. package/dist/cli/{chunk-UFUXGMHL.mjs → chunk-4K6UVILG.mjs} +2 -2
  9. package/dist/cli/{chunk-6R57HEPF.mjs → chunk-4LWBURSS.mjs} +1 -1
  10. package/dist/cli/{chunk-JJEN7TRR.mjs → chunk-5MCC4D25.mjs} +1 -1
  11. package/dist/cli/{chunk-QA733N7N.mjs → chunk-5NEJOCOK.mjs} +1 -1
  12. package/dist/cli/{chunk-W742U53L.mjs → chunk-6JTJP3WO.mjs} +5 -5
  13. package/dist/cli/{chunk-UMP76GYQ.mjs → chunk-ANSHNREL.mjs} +3 -3
  14. package/dist/cli/{chunk-OUVQKSVC.mjs → chunk-C52RRBYB.mjs} +1 -1
  15. package/dist/cli/{chunk-5VUD7HGD.js → chunk-CY3BUFMG.js} +2 -2
  16. package/dist/cli/{chunk-XNJXRS3B.js → chunk-DIZI5YGW.js} +2 -2
  17. package/dist/cli/{chunk-FGBX2WVJ.js → chunk-DLWVJ66I.js} +4 -4
  18. package/dist/cli/{chunk-I4WKB3HO.mjs → chunk-DSE45YP4.mjs} +2 -2
  19. package/dist/cli/{chunk-JEI7PHET.mjs → chunk-ENLJ67CZ.mjs} +1 -1
  20. package/dist/cli/{chunk-EDAG7ZU4.mjs → chunk-ESKNCTFI.mjs} +1 -1
  21. package/dist/cli/{chunk-VZ4S5JRC.js → chunk-FUVVTHXE.js} +23 -23
  22. package/dist/cli/{chunk-PZGK6EEB.js → chunk-FXLVMWWA.js} +100 -100
  23. package/dist/cli/{chunk-ITQPBWDS.js → chunk-GWPXWKQR.js} +3 -3
  24. package/dist/cli/{chunk-UY6Z3XWW.mjs → chunk-IXCGWJJZ.mjs} +2 -2
  25. package/dist/cli/{chunk-PRDCU7BY.js → chunk-IZK2BLBW.js} +20 -20
  26. package/dist/cli/{chunk-HYCJNHZ4.js → chunk-JAW75RAO.js} +15 -15
  27. package/dist/cli/{chunk-SJI56XPM.mjs → chunk-JCVAVHDP.mjs} +11 -11
  28. package/dist/cli/{chunk-XVQE6IBS.js → chunk-KART6FR6.js} +2 -2
  29. package/dist/cli/{chunk-QMIMGKR2.js → chunk-KQLIG4YR.js} +9 -9
  30. package/dist/cli/{chunk-NOKSEYMS.js → chunk-KQZBN7TB.js} +1 -1
  31. package/dist/cli/{chunk-EKWDSE6H.mjs → chunk-LPYUGPTF.mjs} +4 -4
  32. package/dist/cli/{chunk-MVQ5XGRO.mjs → chunk-M2UJWUWX.mjs} +3 -3
  33. package/dist/cli/{chunk-AJO3I3LL.mjs → chunk-MQOJ7SP4.mjs} +1 -1
  34. package/dist/cli/{chunk-W3RHISD6.js → chunk-N3VZTISZ.js} +8 -8
  35. package/dist/cli/{chunk-72WI67H4.mjs → chunk-N5VL6BHF.mjs} +2 -2
  36. package/dist/cli/{chunk-RIA73OAZ.mjs → chunk-NJTTRJ32.mjs} +2 -2
  37. package/dist/cli/{chunk-CYW6PE3G.mjs → chunk-NUH56LTU.mjs} +5 -5
  38. package/dist/cli/{chunk-UUYB6IXC.js → chunk-OG3YWDYA.js} +13 -13
  39. package/dist/cli/{chunk-LBNP52C4.js → chunk-OPD6XUIG.js} +5 -5
  40. package/dist/cli/{chunk-PQ6PM4V6.mjs → chunk-PW3PADXI.mjs} +1 -1
  41. package/dist/cli/{chunk-BWWDU6FN.mjs → chunk-QDQOXHXQ.mjs} +5 -5
  42. package/dist/cli/{chunk-V2W7GX2I.mjs → chunk-QFDT35HF.mjs} +2 -2
  43. package/dist/cli/{chunk-UQWYDNGB.mjs → chunk-ROSPYLDN.mjs} +5 -5
  44. package/dist/cli/{chunk-EKIWY5DD.mjs → chunk-T2QI52F2.mjs} +1 -1
  45. package/dist/cli/{chunk-UKD5ZBQD.js → chunk-TJSKDOXN.js} +5 -5
  46. package/dist/cli/{chunk-PI4TKE2B.js → chunk-TNCJ2J76.js} +26 -26
  47. package/dist/cli/{chunk-YOST7EJF.js → chunk-UBTEDSIK.js} +20 -20
  48. package/dist/cli/{chunk-4W5EFHHY.js → chunk-UNTBQY64.js} +7 -7
  49. package/dist/cli/{chunk-VGPHXXPI.js → chunk-UZLTBBAG.js} +15 -15
  50. package/dist/cli/{chunk-EL4LME5Y.js → chunk-WQEGXOUT.js} +48 -48
  51. package/dist/cli/{chunk-GX4VZL4Z.mjs → chunk-WSXRJ2RZ.mjs} +3 -3
  52. package/dist/cli/{chunk-W3HLZ24Q.js → chunk-X3BGF6UU.js} +10 -10
  53. package/dist/cli/{chunk-Q6H5RRTG.mjs → chunk-XAIXTB74.mjs} +4 -4
  54. package/dist/cli/{chunk-X6F4XOT2.mjs → chunk-XLN4Z654.mjs} +2 -2
  55. package/dist/cli/{chunk-5EMYPLTW.js → chunk-XVFRNNL2.js} +53 -53
  56. package/dist/cli/{chunk-AHNJGA6Z.js → chunk-XWO4J34B.js} +6 -6
  57. package/dist/cli/{chunk-43GCEVHO.js → chunk-YKHXWO7N.js} +3 -3
  58. package/dist/cli/{chunk-K4LAEKHS.js → chunk-Z6KWSBOX.js} +41 -41
  59. package/dist/cli/concurrent-runs-help-HEIDXAM2.js +22 -0
  60. package/dist/cli/{concurrent-runs-help-5BKCGFGL.mjs → concurrent-runs-help-IILHMHBX.mjs} +6 -6
  61. package/dist/cli/{csv-7ZAWND7L.js → csv-OSJQVDAS.js} +13 -13
  62. package/dist/cli/{csv-MO5WZZDN.mjs → csv-VGYW2PQZ.mjs} +4 -4
  63. package/dist/cli/{db-36LX7JBQ.js → db-2IMS6K2F.js} +27 -27
  64. package/dist/cli/{db-OYMULINA.mjs → db-3IQYT3WD.mjs} +6 -6
  65. package/dist/cli/{describe-JLAERB6X.mjs → describe-IGJ4CHUC.mjs} +18 -18
  66. package/dist/cli/describe-LBU4I6SU.js +50 -0
  67. package/dist/cli/{executions-IZAB2XNC.mjs → executions-6F3PLVCR.mjs} +6 -6
  68. package/dist/cli/{executions-AQ32J4BZ.js → executions-VOJN4NPF.js} +8 -8
  69. package/dist/cli/{feedback-3IV54HOH.js → feedback-5N7GKSMC.js} +14 -14
  70. package/dist/cli/{feedback-WA6EBE5H.mjs → feedback-BP5G27DT.mjs} +6 -6
  71. package/dist/cli/{git-OSLU6HIK.mjs → git-FHNCP7QA.mjs} +5 -5
  72. package/dist/cli/git-JUSPUUOH.js +26 -0
  73. package/dist/cli/index.js +143 -143
  74. package/dist/cli/index.mjs +45 -45
  75. package/dist/cli/{integrations-65SYNL53.js → integrations-JZV55BZT.js} +29 -29
  76. package/dist/cli/{integrations-WOXFOC4M.mjs → integrations-KKCEEWDU.mjs} +7 -7
  77. package/dist/cli/{legacy-noops-3SGXDAV6.js → legacy-noops-OVOHF47E.js} +9 -9
  78. package/dist/cli/{legacy-noops-4FNG2JY3.mjs → legacy-noops-YOPWDLRG.mjs} +6 -6
  79. package/dist/cli/{mcp-PX27RHCY.js → mcp-F2XGBA6W.js} +24 -24
  80. package/dist/cli/{mcp-RZLWMZHH.mjs → mcp-SJAXFYTI.mjs} +4 -4
  81. package/dist/cli/{monitors-VK2LW7VU.mjs → monitors-PFH3FQLD.mjs} +7 -7
  82. package/dist/cli/{monitors-F5BLGS4R.js → monitors-RQRNQRYB.js} +100 -100
  83. package/dist/cli/{org-7AEBTN6Y.mjs → org-PZC6SUZD.mjs} +6 -6
  84. package/dist/cli/{org-UU3V7U4K.js → org-WPOEKMTG.js} +121 -121
  85. package/dist/cli/{outcomes-GCTBGPMK.js → outcomes-EXOCNHOC.js} +14 -14
  86. package/dist/cli/{outcomes-BWERSUJL.mjs → outcomes-ZS7XD3KQ.mjs} +6 -6
  87. package/dist/cli/{play-7NBCCL26.js → play-JS2TEEE7.js} +324 -324
  88. package/dist/cli/{play-TX3RAAYS.mjs → play-UKSRFVIU.mjs} +19 -19
  89. package/dist/cli/{providers-IL2IVKHB.js → providers-3U4MWBLU.js} +9 -9
  90. package/dist/cli/{providers-KFWZXDCV.mjs → providers-U6IODPMJ.mjs} +6 -6
  91. package/dist/cli/{quickstart-RAMDGRRI.mjs → quickstart-G5QN5CUE.mjs} +4 -4
  92. package/dist/cli/{quickstart-MPA6TUK5.js → quickstart-SHBAEDX6.js} +6 -6
  93. package/dist/cli/{run-QNJSKPBN.mjs → run-3ZOJ6V7C.mjs} +23 -23
  94. package/dist/cli/{run-WBUSXBUS.js → run-SZRKNLUT.js} +44 -44
  95. package/dist/cli/{search-2X4P2FXR.mjs → search-2VX5WNMJ.mjs} +7 -7
  96. package/dist/cli/search-TAFMLK4K.js +32 -0
  97. package/dist/cli/{search-output-MNJ4AQLV.mjs → search-output-U5N2O6IA.mjs} +4 -4
  98. package/dist/cli/{search-output-P2WNCHA3.js → search-output-WGDHYYHX.js} +6 -6
  99. package/dist/cli/{secrets-XX54OU22.mjs → secrets-SQKP5ILO.mjs} +6 -6
  100. package/dist/cli/{secrets-K5CNDUVR.js → secrets-UITJOGVQ.js} +15 -15
  101. package/dist/cli/{sessions-C4GQ6ZVO.mjs → sessions-LSXO2OKX.mjs} +6 -6
  102. package/dist/cli/sessions-RA6FBIHJ.js +23 -0
  103. package/dist/cli/{settings-QP3DVFPS.js → settings-VZI675JG.js} +85 -85
  104. package/dist/cli/{settings-7HBTADGW.mjs → settings-YGYRDPOK.mjs} +12 -12
  105. package/dist/cli/{setup-VPDAKY2G.mjs → setup-GXGXRWKN.mjs} +9 -9
  106. package/dist/cli/{setup-X6J7U6B4.js → setup-OJ33NOWK.js} +49 -49
  107. package/dist/cli/{skills-UGY6W4AC.mjs → skills-3VDYIFAX.mjs} +7 -7
  108. package/dist/cli/skills-J5QVWKLQ.js +37 -0
  109. package/dist/cli/tools-3PQXQGXL.js +57 -0
  110. package/dist/cli/{tools-SVBUAHDD.mjs → tools-3TKEGDBP.mjs} +17 -17
  111. package/dist/cli/update-CA3DZ75E.js +37 -0
  112. package/dist/cli/{update-SDNKNDNW.mjs → update-K6A4QXTC.mjs} +9 -9
  113. package/dist/cli/{views-M6RBPC65.mjs → views-2PPIVWDK.mjs} +6 -6
  114. package/dist/cli/{views-JBFSHQBU.js → views-SGGO77XS.js} +21 -21
  115. package/dist/cli/{workflow-RYVRAIHV.mjs → workflow-JTG6QEFO.mjs} +7 -7
  116. package/dist/cli/{workflow-UAMTGHQC.js → workflow-YSFOOTPB.js} +17 -17
  117. package/dist/index.js +9 -9
  118. package/dist/index.mjs +6 -6
  119. package/dist/install-integrity.json +112 -112
  120. package/dist/release.d.mts +1 -1
  121. package/dist/release.d.ts +1 -1
  122. package/dist/release.js +2 -2
  123. package/dist/release.mjs +1 -1
  124. package/dist/server.js +5 -5
  125. package/dist/server.mjs +3 -3
  126. package/package.json +1 -1
  127. package/dist/cli/auth-PXIVGUVZ.js +0 -44
  128. package/dist/cli/concurrent-runs-help-KGELXJIQ.js +0 -22
  129. package/dist/cli/describe-AVGE4MH6.js +0 -50
  130. package/dist/cli/git-VOFO6V5W.js +0 -26
  131. package/dist/cli/search-CJHG3VA4.js +0 -32
  132. package/dist/cli/sessions-3RMRBBJZ.js +0 -23
  133. package/dist/cli/skills-JUGXGSX2.js +0 -37
  134. package/dist/cli/tools-ZEI42NSP.js +0 -57
  135. package/dist/cli/update-VC4UEGMR.js +0 -37
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4W5EFHHYjs = require('./chunk-4W5EFHHY.js');
5
+ var _chunkUNTBQY64js = require('./chunk-UNTBQY64.js');
6
6
 
7
7
 
8
8
 
@@ -11,11 +11,11 @@ var _chunk4W5EFHHYjs = require('./chunk-4W5EFHHY.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVGPHXXPIjs = require('./chunk-VGPHXXPI.js');
14
+ var _chunkUZLTBBAGjs = require('./chunk-UZLTBBAG.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkW3HLZ24Qjs = require('./chunk-W3HLZ24Q.js');
18
+ var _chunkX3BGF6UUjs = require('./chunk-X3BGF6UU.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 _chunkLBNP52C4js = require('./chunk-LBNP52C4.js');
60
+ var _chunkOPD6XUIGjs = require('./chunk-OPD6XUIG.js');
61
61
 
62
62
 
63
- var _chunkW3RHISD6js = require('./chunk-W3RHISD6.js');
63
+ var _chunkN3VZTISZjs = require('./chunk-N3VZTISZ.js');
64
64
 
65
65
 
66
66
 
67
67
 
68
68
 
69
69
 
70
- var _chunkVZ4S5JRCjs = require('./chunk-VZ4S5JRC.js');
70
+ var _chunkFUVVTHXEjs = require('./chunk-FUVVTHXE.js');
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkXVQE6IBSjs = require('./chunk-XVQE6IBS.js');
75
+ var _chunkKART6FR6js = require('./chunk-KART6FR6.js');
76
76
 
77
77
 
78
78
 
79
79
 
80
80
 
81
81
 
82
- var _chunkEL4LME5Yjs = require('./chunk-EL4LME5Y.js');
82
+ var _chunkWQEGXOUTjs = require('./chunk-WQEGXOUT.js');
83
83
 
84
84
 
85
85
 
@@ -88,12 +88,12 @@ var _chunkEL4LME5Yjs = require('./chunk-EL4LME5Y.js');
88
88
 
89
89
 
90
90
 
91
- var _chunkPRDCU7BYjs = require('./chunk-PRDCU7BY.js');
91
+ var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
92
92
 
93
93
 
94
94
 
95
95
 
96
- var _chunkITQPBWDSjs = require('./chunk-ITQPBWDS.js');
96
+ var _chunkGWPXWKQRjs = require('./chunk-GWPXWKQR.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 = _chunkITQPBWDSjs.resolveConfig.call(void 0, );
205
+ const config = _chunkGWPXWKQRjs.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
- _chunkITQPBWDSjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
208
+ _chunkGWPXWKQRjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
209
209
  `${PENDING_PREFIX}${fingerprint}.json`
210
210
  );
211
211
  }
@@ -585,13 +585,13 @@ function categoryEnumerationRender(summaries) {
585
585
  };
586
586
  }
587
587
  async function listToolCategories(emitJson, compact) {
588
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
588
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
589
589
  if (!emitJson) {
590
590
  const summaries2 = (await client.listToolCategories()).map((category) => ({
591
591
  ...category,
592
592
  description: describeToolCategory(category.name)
593
593
  }));
594
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
594
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
595
595
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
596
596
  { json: false }
597
597
  );
@@ -601,7 +601,7 @@ async function listToolCategories(emitJson, compact) {
601
601
  const items = rawTools.map(toListedTool);
602
602
  const summaries = aggregateCategorySummaries(rawTools);
603
603
  const outputItems = compact ? items.map(compactTool) : items;
604
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
604
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
605
605
  {
606
606
  tools: outputItems,
607
607
  count: outputItems.length,
@@ -620,7 +620,7 @@ function unknownCategoryError(category, summaries, emitJson) {
620
620
  const known = summaries.map((item) => item.name);
621
621
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
622
622
  if (emitJson) {
623
- _chunkPRDCU7BYjs.printJson.call(void 0, {
623
+ _chunkIZK2BLBWjs.printJson.call(void 0, {
624
624
  ok: false,
625
625
  exitCode: 4,
626
626
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -634,13 +634,13 @@ function unknownCategoryError(category, summaries, emitJson) {
634
634
  const render = categoryEnumerationRender(summaries);
635
635
  console.error(message);
636
636
  console.error("");
637
- console.error(_chunkPRDCU7BYjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
637
+ console.error(_chunkIZK2BLBWjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
638
638
  console.error("");
639
639
  console.error(`Valid categories: ${known.join(", ")}`);
640
640
  return 4;
641
641
  }
642
642
  async function listToolsInCategory(category, emitJson) {
643
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
643
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
644
644
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
645
645
  const summaries = categories.map((item) => ({
646
646
  ...item,
@@ -676,7 +676,7 @@ async function listToolsInCategory(category, emitJson) {
676
676
  }
677
677
  ]
678
678
  };
679
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
679
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
680
680
  {
681
681
  category,
682
682
  total: rows.length,
@@ -689,7 +689,7 @@ async function listToolsInCategory(category, emitJson) {
689
689
  return 0;
690
690
  }
691
691
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
692
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
692
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
693
693
  const items = (await client.listTools({
694
694
  categories: requestedCategories.join(","),
695
695
  compact
@@ -718,7 +718,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
718
718
  ]
719
719
  };
720
720
  const outputItems = compact ? items.map(compactTool) : items;
721
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
721
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
722
722
  {
723
723
  tools: outputItems,
724
724
  count: outputItems.length,
@@ -737,13 +737,13 @@ async function listTools(category, options = {}) {
737
737
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _12 => _12.trim, 'call', _13 => _13()]), () => ( ""));
738
738
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
739
739
  const compact = options.compact !== false;
740
- const emitJson = options.json === true || _chunkPRDCU7BYjs.shouldEmitJson.call(void 0, );
740
+ const emitJson = options.json === true || _chunkIZK2BLBWjs.shouldEmitJson.call(void 0, );
741
741
  if (positional && flagCategories.length > 0) {
742
742
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
743
743
  if (!flagIsSameSingle) {
744
744
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
745
745
  if (emitJson) {
746
- _chunkPRDCU7BYjs.printJson.call(void 0, {
746
+ _chunkIZK2BLBWjs.printJson.call(void 0, {
747
747
  ok: false,
748
748
  exitCode: 2,
749
749
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -770,7 +770,7 @@ async function grepTools(queryInput, options = {}) {
770
770
  console.error("Usage: deepline tools grep <query> [--json]");
771
771
  return 1;
772
772
  }
773
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
773
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
774
774
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
775
775
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
776
776
  const jsonOutput = options.json === true;
@@ -794,7 +794,7 @@ async function grepTools(queryInput, options = {}) {
794
794
  query,
795
795
  mode
796
796
  }) : null;
797
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
797
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
798
798
  {
799
799
  tools: outputTools,
800
800
  count: outputTools.length,
@@ -812,7 +812,7 @@ async function grepTools(queryInput, options = {}) {
812
812
  } : {},
813
813
  commandTemplates: TOOL_COMMAND_TEMPLATES
814
814
  },
815
- { json: options.json || _chunkPRDCU7BYjs.shouldEmitJson.call(void 0, ) }
815
+ { json: options.json || _chunkIZK2BLBWjs.shouldEmitJson.call(void 0, ) }
816
816
  );
817
817
  return 0;
818
818
  }
@@ -908,13 +908,13 @@ Output:
908
908
  activity.
909
909
  `
910
910
  );
911
- _chunkVGPHXXPIjs.registerIntegrationBalanceCommand.call(void 0, tools, true);
912
- _chunkVGPHXXPIjs.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
913
- _chunkVGPHXXPIjs.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
914
- _chunkVGPHXXPIjs.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
915
- _chunkVGPHXXPIjs.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
916
- _chunkVGPHXXPIjs.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
917
- _chunkVGPHXXPIjs.registerIntegrationConnectCommand.call(void 0, tools, false, true);
911
+ _chunkUZLTBBAGjs.registerIntegrationBalanceCommand.call(void 0, tools, true);
912
+ _chunkUZLTBBAGjs.registerWorkspaceConnectionListCommand.call(void 0, tools, "workspace-connections", true);
913
+ _chunkUZLTBBAGjs.registerLegacyHubSpotMembersCommand.call(void 0, tools, true);
914
+ _chunkUZLTBBAGjs.registerLegacyWorkspaceConnectionCommand.call(void 0, tools, true);
915
+ _chunkUZLTBBAGjs.registerLegacyCalendarDelegationCommand.call(void 0, tools, true);
916
+ _chunkUZLTBBAGjs.registerLegacyAvailabilityCalendarsCommand.call(void 0, tools, true);
917
+ _chunkUZLTBBAGjs.registerIntegrationConnectCommand.call(void 0, tools, false, true);
918
918
  tools.command("list [category]").description("Browse tool categories, or list every tool in a category.").addHelpText(
919
919
  "after",
920
920
  `
@@ -947,7 +947,7 @@ Examples:
947
947
  json: Boolean(options.json)
948
948
  });
949
949
  });
950
- _chunkW3HLZ24Qjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
950
+ _chunkX3BGF6UUjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
951
951
  tools.command("grep <query>").description(
952
952
  "Regex grep over tool ids, descriptions, categories, and input fields."
953
953
  ).addHelpText(
@@ -982,7 +982,7 @@ Examples:
982
982
  });
983
983
  const addToolMetadataCommand = (command) => {
984
984
  let compatibilityMetadata;
985
- _chunkVZ4S5JRCjs.registerCompatibilityCatalog.call(void 0, command, () => ({
985
+ _chunkFUVVTHXEjs.registerCompatibilityCatalog.call(void 0, command, () => ({
986
986
  toolId: command.args[0],
987
987
  acceptMetadata: (metadata) => {
988
988
  compatibilityMetadata = metadata;
@@ -1052,7 +1052,7 @@ Examples:
1052
1052
  process.exitCode = await narrowView();
1053
1053
  return;
1054
1054
  }
1055
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AVGE4MH6.js")));
1055
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-LBU4I6SU.js")));
1056
1056
  process.exitCode = await describeAnything(
1057
1057
  toolId,
1058
1058
  {
@@ -1067,7 +1067,7 @@ Examples:
1067
1067
  });
1068
1068
  };
1069
1069
  addToolMetadataCommand(
1070
- _chunk4W5EFHHYjs.addDescribeOptions.call(void 0,
1070
+ _chunkUNTBQY64js.addDescribeOptions.call(void 0,
1071
1071
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
1072
1072
  { json: false }
1073
1073
  )
@@ -1136,7 +1136,7 @@ Examples:
1136
1136
  options,
1137
1137
  void 0,
1138
1138
  true,
1139
- _chunkXVQE6IBSjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1139
+ _chunkKART6FR6js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1140
1140
  );
1141
1141
  }
1142
1142
  );
@@ -1144,13 +1144,13 @@ Examples:
1144
1144
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1145
1145
  let metadata;
1146
1146
  const startedAt = performance.now();
1147
- const baseUrl = _chunkITQPBWDSjs.resolveConfig.call(void 0, ).baseUrl;
1148
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1149
- const result = _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
1147
+ const baseUrl = _chunkGWPXWKQRjs.resolveConfig.call(void 0, ).baseUrl;
1148
+ _chunkKART6FR6js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1149
+ const result = _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
1150
1150
  "SDK compatibility",
1151
- () => _chunkEL4LME5Yjs.checkSdkCompatibility.call(void 0, baseUrl, {
1151
+ () => _chunkWQEGXOUTjs.checkSdkCompatibility.call(void 0, baseUrl, {
1152
1152
  command: "tools execute",
1153
- skillsVersion: _chunkITQPBWDSjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1153
+ skillsVersion: _chunkGWPXWKQRjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1154
1154
  persistCache: false,
1155
1155
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1156
1156
  catalog: {
@@ -1164,7 +1164,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1164
1164
  })
1165
1165
  ).then(
1166
1166
  (compatibility) => {
1167
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, {
1167
+ _chunkKART6FR6js.recordCliTrace.call(void 0, {
1168
1168
  phase: "cli.tool_execute_compatibility_ready",
1169
1169
  ms: performance.now() - startedAt,
1170
1170
  ok: compatibility.error === null,
@@ -1173,7 +1173,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1173
1173
  return compatibility;
1174
1174
  },
1175
1175
  (error) => {
1176
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, {
1176
+ _chunkKART6FR6js.recordCliTrace.call(void 0, {
1177
1177
  phase: "cli.tool_execute_compatibility_ready",
1178
1178
  ms: performance.now() - startedAt,
1179
1179
  ok: false
@@ -1188,7 +1188,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1188
1188
  console.error("Usage: deepline tools describe <toolId> [--json]");
1189
1189
  return 1;
1190
1190
  }
1191
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
1191
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
1192
1192
  let tool;
1193
1193
  try {
1194
1194
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1247,7 +1247,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1247
1247
  const lines = toolPricingOnlyLines(tool, toolId);
1248
1248
  if (inferenceQuote)
1249
1249
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1250
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0,
1250
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
1251
1251
  {
1252
1252
  toolId: String(tool.toolId || toolId),
1253
1253
  cost: _chunkTBLP7HDLjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1270,7 +1270,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1270
1270
  void 0,
1271
1271
  seedToolListScript
1272
1272
  );
1273
- _chunkPRDCU7BYjs.printCompactJson.call(void 0, {
1273
+ _chunkIZK2BLBWjs.printCompactJson.call(void 0, {
1274
1274
  toolId: contract.toolId,
1275
1275
  ...options.schemaOnly ? {
1276
1276
  inputSchema: contract.inputSchema,
@@ -1293,7 +1293,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1293
1293
  return 0;
1294
1294
  }
1295
1295
  if (options.contractJson) {
1296
- _chunkPRDCU7BYjs.printCompactJson.call(void 0, {
1296
+ _chunkIZK2BLBWjs.printCompactJson.call(void 0, {
1297
1297
  ..._chunkTBLP7HDLjs.toolContractJsonForDescribe.call(void 0,
1298
1298
  tool,
1299
1299
  toolId,
@@ -1307,7 +1307,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1307
1307
  }
1308
1308
  const emitJson = options.json === true;
1309
1309
  if (emitJson) {
1310
- _chunkPRDCU7BYjs.printCompactJson.call(void 0, {
1310
+ _chunkIZK2BLBWjs.printCompactJson.call(void 0, {
1311
1311
  ..._chunkTBLP7HDLjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1312
1312
  ...modelDescription ? { modelOptions: modelDescription } : {},
1313
1313
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2181,7 +2181,7 @@ function parseExecuteOptions(toolId, options, output) {
2181
2181
  outputFormat = normalizeOutputFormat(options.outputFormat);
2182
2182
  }
2183
2183
  if (options.idempotencyKey !== void 0) {
2184
- _chunkW3RHISD6js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2184
+ _chunkN3VZTISZjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2185
2185
  }
2186
2186
  if (options.connection !== void 0 && (options.recover || options.idempotencyKey !== void 0)) {
2187
2187
  throw new Error(
@@ -2570,7 +2570,7 @@ function writeToolReceipt(input) {
2570
2570
  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;
2571
2571
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2572
2572
  const charged = _chunkTBLP7HDLjs.recordField.call(void 0, envelope, "billing").credits_charged;
2573
- _chunk4W5EFHHYjs.writeExecutionOutput.call(void 0,
2573
+ _chunkUNTBQY64js.writeExecutionOutput.call(void 0,
2574
2574
  {
2575
2575
  id: _nullishCoalesce(input.key, () => ( jobId)),
2576
2576
  status,
@@ -2601,8 +2601,8 @@ async function executeToolForReceipt(input) {
2601
2601
  let retryKey = null;
2602
2602
  let received = false;
2603
2603
  try {
2604
- const cliInvocationId = _nullishCoalesce(_chunkVZ4S5JRCjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkVZ4S5JRCjs.beginToolExecuteCommand.call(void 0, )));
2605
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
2604
+ const cliInvocationId = _nullishCoalesce(_chunkFUVVTHXEjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkFUVVTHXEjs.beginToolExecuteCommand.call(void 0, )));
2605
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
2606
2606
  const metadata = assertExecutableToolMetadata(
2607
2607
  toolId,
2608
2608
  await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })))
@@ -2624,9 +2624,9 @@ async function executeToolForReceipt(input) {
2624
2624
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2625
2625
  ..._optionalChain([metadata, 'access', _37 => _37.executionMetadata, 'optionalAccess', _38 => _38.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2626
2626
  ...idempotencyKey ? { idempotencyKey } : {},
2627
- searchRef: _chunkW3HLZ24Qjs.recentSearchRef.call(void 0, toolId),
2627
+ searchRef: _chunkX3BGF6UUjs.recentSearchRef.call(void 0, toolId),
2628
2628
  cliInvocationId,
2629
- onResponseReceived: _chunk4W5EFHHYjs.recordApiResponse
2629
+ onResponseReceived: _chunkUNTBQY64js.recordApiResponse
2630
2630
  });
2631
2631
  const response = await call(key).catch((error) => {
2632
2632
  if (!key || !refusedRetryKey(error)) throw error;
@@ -2662,11 +2662,11 @@ async function executeToolForReceipt(input) {
2662
2662
  if (received) throw error;
2663
2663
  const outcomeKnown = answeredWithFailure(error);
2664
2664
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _39 => _39.discard, 'call', _40 => _40()]);
2665
- _chunk4W5EFHHYjs.writeExecutionOutput.call(void 0,
2665
+ _chunkUNTBQY64js.writeExecutionOutput.call(void 0,
2666
2666
  {
2667
2667
  id: outcomeKnown ? null : key,
2668
2668
  status: "failed",
2669
- error: _chunkPRDCU7BYjs.errorToJsonPayload.call(void 0, error).error,
2669
+ error: _chunkIZK2BLBWjs.errorToJsonPayload.call(void 0, error).error,
2670
2670
  ...key && !outcomeKnown ? {
2671
2671
  next: {
2672
2672
  retry: "Run the same command again: it picks up this call without paying twice."
@@ -2698,11 +2698,11 @@ function answeredWithFailure(error) {
2698
2698
  !(error.code === "IDEMPOTENCY_NOT_SUPPORTED" && !serverBodyHasCode(_optionalChain([error, 'access', _43 => _43.details, 'optionalAccess', _44 => _44.response]), "IDEMPOTENCY_NOT_SUPPORTED"));
2699
2699
  }
2700
2700
  async function getToolExecutionReceipt(key, output) {
2701
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
2701
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
2702
2702
  const execution = await client.executions.getByKey(key);
2703
2703
  output.label = `${execution.toolId} (tool)`;
2704
2704
  if (execution.response === void 0) {
2705
- _chunk4W5EFHHYjs.writeExecutionOutput.call(void 0,
2705
+ _chunkUNTBQY64js.writeExecutionOutput.call(void 0,
2706
2706
  {
2707
2707
  id: key,
2708
2708
  status: execution.executionRecovery.state,
@@ -2731,19 +2731,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2731
2731
  parsed = parseExecuteOptions(toolId, options, output);
2732
2732
  } catch (error) {
2733
2733
  if (wantsJson) {
2734
- _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
2734
+ _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
2735
2735
  } else {
2736
2736
  console.error(error instanceof Error ? error.message : String(error));
2737
2737
  }
2738
2738
  return error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2739
2739
  }
2740
- const cliInvocationId = _nullishCoalesce(_chunkVZ4S5JRCjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkVZ4S5JRCjs.beginToolExecuteCommand.call(void 0, )));
2740
+ const cliInvocationId = _nullishCoalesce(_chunkFUVVTHXEjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkFUVVTHXEjs.beginToolExecuteCommand.call(void 0, )));
2741
2741
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2742
- const tracing = _chunkXVQE6IBSjs.isCliTraceEnabled.call(void 0, );
2742
+ const tracing = _chunkKART6FR6js.isCliTraceEnabled.call(void 0, );
2743
2743
  const clientStartedAt = tracing ? performance.now() : void 0;
2744
- const client = new (0, _chunkLBNP52C4js.DeeplineClient)();
2744
+ const client = new (0, _chunkOPD6XUIGjs.DeeplineClient)();
2745
2745
  if (clientStartedAt !== void 0) {
2746
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, {
2746
+ _chunkKART6FR6js.recordCliTrace.call(void 0, {
2747
2747
  phase: "cli.tool_execute_client_setup",
2748
2748
  ms: performance.now() - clientStartedAt
2749
2749
  });
@@ -2752,13 +2752,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2752
2752
  const readMetadata = async () => {
2753
2753
  if (metadata) return assertExecutableToolMetadata(parsed.toolId, metadata);
2754
2754
  try {
2755
- metadata = await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
2755
+ metadata = await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
2756
2756
  "tool metadata lookup",
2757
2757
  () => client.getTool(parsed.toolId, { cliInvocationId })
2758
2758
  );
2759
2759
  } catch (error) {
2760
2760
  if (isMissingToolMetadataError(error)) {
2761
- const play = await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
2761
+ const play = await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
2762
2762
  "play alias lookup",
2763
2763
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2764
2764
  );
@@ -2781,7 +2781,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2781
2781
  toolMetadata = await readMetadata();
2782
2782
  } catch (error) {
2783
2783
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2784
- if (wantsJson) _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
2784
+ if (wantsJson) _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
2785
2785
  else console.error(error.message);
2786
2786
  return 2;
2787
2787
  }
@@ -2809,7 +2809,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2809
2809
  assertExecutableToolMetadata(parsed.toolId, metadata);
2810
2810
  } catch (error) {
2811
2811
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2812
- if (wantsJson) _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
2812
+ if (wantsJson) _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
2813
2813
  else console.error(error.message);
2814
2814
  return 2;
2815
2815
  }
@@ -2821,7 +2821,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2821
2821
  metadata = await readMetadata();
2822
2822
  } catch (error) {
2823
2823
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2824
- if (wantsJson) _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
2824
+ if (wantsJson) _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
2825
2825
  else console.error(error.message);
2826
2826
  return 2;
2827
2827
  }
@@ -2837,7 +2837,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2837
2837
  metadata = await readMetadata();
2838
2838
  } catch (error) {
2839
2839
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2840
- if (wantsJson) _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
2840
+ if (wantsJson) _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
2841
2841
  else console.error(error.message);
2842
2842
  return 2;
2843
2843
  }
@@ -2864,11 +2864,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2864
2864
  ...parsed.connection !== void 0 ? { connection: parsed.connection } : {},
2865
2865
  ...idempotencyKey ? { idempotencyKey } : {},
2866
2866
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2867
- searchRef: _chunkW3HLZ24Qjs.recentSearchRef.call(void 0, parsed.toolId),
2867
+ searchRef: _chunkX3BGF6UUjs.recentSearchRef.call(void 0, parsed.toolId),
2868
2868
  cliInvocationId,
2869
- onResponseReceived: _chunk4W5EFHHYjs.recordApiResponse,
2869
+ onResponseReceived: _chunkUNTBQY64js.recordApiResponse,
2870
2870
  ...tracing ? {
2871
- onServerTiming: (serverTiming) => _chunkXVQE6IBSjs.recordCliTrace.call(void 0, {
2871
+ onServerTiming: (serverTiming) => _chunkKART6FR6js.recordCliTrace.call(void 0, {
2872
2872
  phase: "tool_execute_server_timing",
2873
2873
  cliInvocationId,
2874
2874
  serverTiming,
@@ -2879,13 +2879,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2879
2879
  let rawResponse;
2880
2880
  let successfulCompatibilityResponse;
2881
2881
  try {
2882
- const executeResult = await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
2882
+ const executeResult = await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
2883
2883
  "execute request",
2884
2884
  async () => {
2885
2885
  try {
2886
2886
  if (tracing) {
2887
2887
  submissionStartedAt = performance.now();
2888
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2888
+ _chunkKART6FR6js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2889
2889
  }
2890
2890
  return await client.executeTool(parsed.toolId, parsed.params, {
2891
2891
  ...executeOptions,
@@ -2895,34 +2895,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2895
2895
  } catch (error) {
2896
2896
  if (parsed.connection !== void 0 || !(error instanceof _chunkLFQJW4S2js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2897
2897
  throw error;
2898
- const baseUrl = _chunkITQPBWDSjs.resolveConfig.call(void 0, ).baseUrl;
2898
+ const baseUrl = _chunkGWPXWKQRjs.resolveConfig.call(void 0, ).baseUrl;
2899
2899
  if (maintenancePolicy !== "off") {
2900
- _chunkEL4LME5Yjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2900
+ _chunkWQEGXOUTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2901
2901
  }
2902
2902
  const preflight = deferredCompatibility ? await deferredCompatibility.result.catch(() => null) : null;
2903
- const compatibilityResponse = _optionalChain([preflight, 'optionalAccess', _50 => _50.live]) === true ? preflight.response : await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
2903
+ const compatibilityResponse = _optionalChain([preflight, 'optionalAccess', _50 => _50.live]) === true ? preflight.response : await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
2904
2904
  "SDK compatibility",
2905
- () => _chunkEL4LME5Yjs.requireSdkCompatibility.call(void 0, baseUrl, {
2905
+ () => _chunkWQEGXOUTjs.requireSdkCompatibility.call(void 0, baseUrl, {
2906
2906
  command: "tools execute",
2907
- skillsVersion: _chunkITQPBWDSjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2907
+ skillsVersion: _chunkGWPXWKQRjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2908
2908
  persistCache: maintenancePolicy !== "off"
2909
2909
  })
2910
2910
  );
2911
2911
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _51 => _51.readMetadata, 'call', _52 => _52()]), () => ( metadata));
2912
- if (maintenancePolicy !== "off" && await _chunkVZ4S5JRCjs.maybeAutoUpdateAndRelaunch.call(void 0,
2912
+ if (maintenancePolicy !== "off" && await _chunkFUVVTHXEjs.maybeAutoUpdateAndRelaunch.call(void 0,
2913
2913
  compatibilityResponse,
2914
2914
  baseUrl,
2915
2915
  maintenancePolicy
2916
2916
  )) {
2917
2917
  return void 0;
2918
2918
  }
2919
- _chunkEL4LME5Yjs.enforceSdkCompatibilityResponse.call(void 0, compatibilityResponse, {
2919
+ _chunkWQEGXOUTjs.enforceSdkCompatibilityResponse.call(void 0, compatibilityResponse, {
2920
2920
  quietAdvisory: wantsJson
2921
2921
  });
2922
2922
  if (maintenancePolicy !== "off") {
2923
- await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
2923
+ await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
2924
2924
  "agent skills sync",
2925
- () => _chunkEL4LME5Yjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2925
+ () => _chunkWQEGXOUTjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2926
2926
  update: _optionalChain([compatibilityResponse, 'optionalAccess', _53 => _53.skills]),
2927
2927
  mode: "detached"
2928
2928
  })
@@ -2931,7 +2931,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2931
2931
  const legacyMetadata = await readMetadata();
2932
2932
  if (tracing) {
2933
2933
  submissionStartedAt = performance.now();
2934
- _chunkXVQE6IBSjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2934
+ _chunkKART6FR6js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2935
2935
  }
2936
2936
  return client.executeTool(parsed.toolId, parsed.params, {
2937
2937
  ...executeOptions,
@@ -2954,8 +2954,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2954
2954
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2955
2955
  const updateRequiredBeforeExecution = error instanceof _chunkLFQJW4S2js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2956
2956
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2957
- const baseUrl = _chunkITQPBWDSjs.resolveConfig.call(void 0, ).baseUrl;
2958
- if (await _chunkVZ4S5JRCjs.maybeAutoUpdateAndRelaunch.call(void 0,
2957
+ const baseUrl = _chunkGWPXWKQRjs.resolveConfig.call(void 0, ).baseUrl;
2958
+ if (await _chunkFUVVTHXEjs.maybeAutoUpdateAndRelaunch.call(void 0,
2959
2959
  compatibility.response,
2960
2960
  baseUrl,
2961
2961
  maintenancePolicy
@@ -2979,7 +2979,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2979
2979
  }
2980
2980
  }
2981
2981
  if (failure instanceof _chunkLFQJW4S2js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2982
- if (wantsJson) _chunkPRDCU7BYjs.printJsonError.call(void 0, failure);
2982
+ if (wantsJson) _chunkIZK2BLBWjs.printJsonError.call(void 0, failure);
2983
2983
  else console.error(failure.message);
2984
2984
  return 2;
2985
2985
  }
@@ -3006,9 +3006,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3006
3006
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
3007
3007
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _60 => _60.auto_update]);
3008
3008
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _61 => _61.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
3009
- await _chunkVZ4S5JRCjs.maybeAutoUpdateAndRelaunch.call(void 0,
3009
+ await _chunkFUVVTHXEjs.maybeAutoUpdateAndRelaunch.call(void 0,
3010
3010
  compatibilityResponse,
3011
- _chunkITQPBWDSjs.resolveConfig.call(void 0, ).baseUrl,
3011
+ _chunkGWPXWKQRjs.resolveConfig.call(void 0, ).baseUrl,
3012
3012
  maintenancePolicy
3013
3013
  );
3014
3014
  }
@@ -3043,7 +3043,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3043
3043
  const { _metadata, ...execution } = rawResponse;
3044
3044
  rawResponse = execution;
3045
3045
  }
3046
- const { listConversion, summary, baseEnvelope } = await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
3046
+ const { listConversion, summary, baseEnvelope } = await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
3047
3047
  "result formatting",
3048
3048
  async () => {
3049
3049
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -3078,9 +3078,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3078
3078
  }
3079
3079
  skillsSyncAttempted = true;
3080
3080
  try {
3081
- await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
3081
+ await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
3082
3082
  "agent skills sync",
3083
- () => _chunkEL4LME5Yjs.syncSdkSkillsIfNeeded.call(void 0, _chunkITQPBWDSjs.resolveConfig.call(void 0, ).baseUrl, {
3083
+ () => _chunkWQEGXOUTjs.syncSdkSkillsIfNeeded.call(void 0, _chunkGWPXWKQRjs.resolveConfig.call(void 0, ).baseUrl, {
3084
3084
  update: deliveredCompatibilityResponse.skills,
3085
3085
  mode: "detached"
3086
3086
  })
@@ -3091,15 +3091,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3091
3091
  );
3092
3092
  }
3093
3093
  };
3094
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0, envelope, {
3094
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0, envelope, {
3095
3095
  ...options2,
3096
3096
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
3097
3097
  });
3098
3098
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
3099
3099
  await syncSkillsForDeliveredOutput();
3100
- _chunkPRDCU7BYjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3100
+ _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3101
3101
  };
3102
- const delivered = await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3102
+ const delivered = await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3103
3103
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3104
3104
  await printDeliveredJsonEnvelope(baseEnvelope);
3105
3105
  return true;
@@ -3128,7 +3128,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3128
3128
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3129
3129
  );
3130
3130
  if (wantsJson) {
3131
- _chunkPRDCU7BYjs.printJsonError.call(void 0, error);
3131
+ _chunkIZK2BLBWjs.printJsonError.call(void 0, error);
3132
3132
  } else {
3133
3133
  console.error(error.message);
3134
3134
  }
@@ -3223,13 +3223,13 @@ inspect: ${inspection.inspect}
3223
3223
  return true;
3224
3224
  });
3225
3225
  if (delivered) {
3226
- await _chunkVZ4S5JRCjs.runToolExecuteStage.call(void 0,
3226
+ await _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0,
3227
3227
  "acknowledge delivery",
3228
3228
  () => recovery.acknowledgeDelivery()
3229
3229
  );
3230
3230
  }
3231
3231
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3232
- _chunkEL4LME5Yjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3232
+ _chunkWQEGXOUTjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3233
3233
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _64 => _64.auto_update, 'optionalAccess', _65 => _65.should_auto_update]) === true
3234
3234
  });
3235
3235
  }