deepline 0.3.506 → 0.3.508

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 (147) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +27 -6
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/deactivation-reasons.ts +38 -1
  4. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +4 -2
  5. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-admission-codes.ts +11 -0
  7. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +15 -0
  9. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +24 -4
  10. package/dist/bundling-sources/shared_libs/monitors/provider-resource-failure.ts +405 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
  15. package/dist/cli/{auth-ZHFONT2D.mjs → auth-2URIN52G.mjs} +5 -5
  16. package/dist/cli/auth-LFU77QDI.js +43 -0
  17. package/dist/cli/{billing-B2YEMNHE.mjs → billing-IW23GSR5.mjs} +6 -6
  18. package/dist/cli/{billing-3Z7N4WTL.js → billing-R2HY2ZVJ.js} +79 -79
  19. package/dist/cli/{chunk-TS4KFQKS.mjs → chunk-2LY42EZJ.mjs} +1 -1
  20. package/dist/cli/{chunk-ND4WPLTE.mjs → chunk-2PYFXXYA.mjs} +2 -2
  21. package/dist/cli/{chunk-N7G36GXB.js → chunk-2YOM5J3G.js} +26 -26
  22. package/dist/cli/{chunk-SUJIVF6L.js → chunk-3BZ74K27.js} +16 -16
  23. package/dist/cli/{chunk-Z7EHY2MF.mjs → chunk-3C6VBHNW.mjs} +2 -2
  24. package/dist/cli/{chunk-FFGQR5J3.mjs → chunk-3XBI4KZM.mjs} +2 -2
  25. package/dist/cli/{chunk-OHNMJ5XQ.js → chunk-3ZNPIJX6.js} +41 -41
  26. package/dist/cli/{chunk-6RYVIZRP.mjs → chunk-4DAR2GYV.mjs} +2 -2
  27. package/dist/cli/{chunk-E554XCJI.js → chunk-63BGKU3A.js} +96 -96
  28. package/dist/cli/{chunk-OUGJUM5X.mjs → chunk-63MCLOR2.mjs} +6 -6
  29. package/dist/cli/{chunk-FWSEGIT6.js → chunk-74UO7THC.js} +4 -4
  30. package/dist/cli/{chunk-ZZDTWVCQ.js → chunk-7PELFO3C.js} +21 -21
  31. package/dist/cli/{chunk-3F676QXJ.js → chunk-AYNO4VFW.js} +11 -11
  32. package/dist/cli/{chunk-D7OCORZ7.mjs → chunk-C6TP4DR3.mjs} +1 -1
  33. package/dist/cli/{chunk-F7IQQYKV.js → chunk-D73YB5NQ.js} +2 -2
  34. package/dist/cli/{chunk-QAY5AS2H.mjs → chunk-DWV7KM6H.mjs} +10 -10
  35. package/dist/cli/{chunk-2CFTDVEP.mjs → chunk-DZ7JCRAL.mjs} +2 -2
  36. package/dist/cli/{chunk-2OY5DXTC.js → chunk-ESVK4Z7S.js} +1 -1
  37. package/dist/cli/{chunk-YVOS5KSG.mjs → chunk-FRT5MFLF.mjs} +1 -1
  38. package/dist/cli/{chunk-PRIHD5XS.js → chunk-FXKKFM7J.js} +9 -9
  39. package/dist/cli/{chunk-GJNIC2CO.mjs → chunk-GRGZKXLL.mjs} +5 -5
  40. package/dist/cli/{chunk-CHGRURBN.mjs → chunk-IF242BIJ.mjs} +5 -5
  41. package/dist/cli/{chunk-HINTYT5H.js → chunk-IZZ7FFWP.js} +44 -44
  42. package/dist/cli/{chunk-MHRR47VQ.js → chunk-J3LJ37WD.js} +3 -3
  43. package/dist/cli/{chunk-O4DZG4VA.mjs → chunk-JEB6BNIU.mjs} +2 -2
  44. package/dist/cli/{chunk-AD2WJUZA.js → chunk-JRHMPZJX.js} +7 -7
  45. package/dist/cli/{chunk-75NAFY36.js → chunk-JUYW6TSU.js} +7 -7
  46. package/dist/cli/{chunk-2IXXB7OA.mjs → chunk-JXYVBF5L.mjs} +5 -5
  47. package/dist/cli/{chunk-QP333GFE.js → chunk-JYNHHO3J.js} +6 -6
  48. package/dist/cli/{chunk-3BFZEHBH.mjs → chunk-K4RME7AV.mjs} +1 -1
  49. package/dist/cli/{chunk-OPBXKB57.mjs → chunk-KSQO32L5.mjs} +1 -1
  50. package/dist/cli/{chunk-LRSRJJPD.js → chunk-M37I4A2Z.js} +16 -16
  51. package/dist/cli/{chunk-YJKKOSXS.js → chunk-N5HRBS4K.js} +3 -3
  52. package/dist/cli/{chunk-TEMORCEE.mjs → chunk-NC2FIUPX.mjs} +1 -1
  53. package/dist/cli/{chunk-YWZEBPXK.mjs → chunk-OWH7SSBO.mjs} +2 -2
  54. package/dist/cli/{chunk-GRESJ3H3.js → chunk-P7GOQTUN.js} +14 -14
  55. package/dist/cli/{chunk-ONBXTEFQ.mjs → chunk-Q4I5YKN4.mjs} +1 -1
  56. package/dist/cli/{chunk-BQBPVUFJ.mjs → chunk-QBZECLNG.mjs} +3 -3
  57. package/dist/cli/{chunk-ZM5BJ5MP.js → chunk-R4S2AK3Q.js} +53 -53
  58. package/dist/cli/{chunk-XUY7WQ2R.mjs → chunk-RNZQ7RDW.mjs} +2 -2
  59. package/dist/cli/{chunk-F53SGS3C.js → chunk-RUD77W2Y.js} +5 -5
  60. package/dist/cli/{chunk-OD6TASBP.js → chunk-RWXHMG6F.js} +8 -8
  61. package/dist/cli/{chunk-DB54ROPH.js → chunk-TVADI7K5.js} +5 -5
  62. package/dist/cli/{chunk-YEX6RPUO.mjs → chunk-UDH3YMBI.mjs} +1 -1
  63. package/dist/cli/{chunk-BJ5OX62J.mjs → chunk-VXNL4HLE.mjs} +5 -5
  64. package/dist/cli/{chunk-EN7GXLFX.mjs → chunk-XSOLA2ED.mjs} +4 -4
  65. package/dist/cli/{chunk-5ARG7J7A.js → chunk-ZL2ME3UT.js} +6 -6
  66. package/dist/cli/{chunk-26DJ4BDY.js → chunk-ZLIAUR2E.js} +2 -2
  67. package/dist/cli/{csv-ARHQ54HA.mjs → csv-CMJSMC2I.mjs} +4 -4
  68. package/dist/cli/{csv-7K7LK63Y.js → csv-DPDO6BU6.js} +13 -13
  69. package/dist/cli/{db-V4Z2I6DY.js → db-PPPKNTT5.js} +27 -27
  70. package/dist/cli/{db-JBX24NJY.mjs → db-SL3EFN6V.mjs} +6 -6
  71. package/dist/cli/describe-JKZ67X3E.js +50 -0
  72. package/dist/cli/{describe-RBDSGSZ7.mjs → describe-XLN33FJX.mjs} +18 -18
  73. package/dist/cli/describe-core.d.mts +2 -2
  74. package/dist/cli/describe-core.d.ts +2 -2
  75. package/dist/cli/{executions-XEZKV5QU.js → executions-6YDTV2J6.js} +8 -8
  76. package/dist/cli/{executions-BAZEU63W.mjs → executions-O6Z5B5NY.mjs} +6 -6
  77. package/dist/cli/{feedback-LOERESRU.js → feedback-BZ434BN4.js} +8 -8
  78. package/dist/cli/{feedback-YDSWBHCO.mjs → feedback-DP7LPWAD.mjs} +4 -4
  79. package/dist/cli/{git-4Z3W2CQU.mjs → git-MI7E5WGL.mjs} +5 -5
  80. package/dist/cli/git-U5N6CTML.js +25 -0
  81. package/dist/cli/index.js +138 -138
  82. package/dist/cli/index.mjs +41 -41
  83. package/dist/cli/{legacy-noops-4QIQPVE5.js → legacy-noops-65WNPQVZ.js} +8 -8
  84. package/dist/cli/{legacy-noops-E4HH7S5O.mjs → legacy-noops-6VYXF2MG.mjs} +5 -5
  85. package/dist/cli/{monitors-QBHDSDA7.js → monitors-BYUCTVSC.js} +127 -112
  86. package/dist/cli/{monitors-FPDW5DDM.mjs → monitors-Y7I5ZVCN.mjs} +34 -19
  87. package/dist/cli/{org-JO4GGSAH.js → org-F2ASWTFY.js} +72 -72
  88. package/dist/cli/{org-UCDHIHAD.mjs → org-IW3YD6JZ.mjs} +6 -6
  89. package/dist/cli/{pages-6V52IZXY.mjs → pages-H2CXNIDB.mjs} +6 -6
  90. package/dist/cli/{pages-FJAAXAWO.js → pages-X6HLRQNV.js} +18 -18
  91. package/dist/cli/{play-F3AENS6W.js → play-H2EM7DTI.js} +317 -317
  92. package/dist/cli/{play-MF4DWROJ.mjs → play-LLEEDXRX.mjs} +18 -18
  93. package/dist/cli/{providers-XXOQLPX7.js → providers-6R2SPOEV.js} +9 -9
  94. package/dist/cli/{providers-NJJLTECA.mjs → providers-BZR5JONN.mjs} +6 -6
  95. package/dist/cli/{quickstart-Z5MSMI7S.mjs → quickstart-KVES7R6D.mjs} +4 -4
  96. package/dist/cli/{quickstart-JCE3XGQG.js → quickstart-PW7ONQUH.js} +6 -6
  97. package/dist/cli/{run-X2DNIW3F.js → run-HVUQROBE.js} +41 -41
  98. package/dist/cli/{run-56UGPIRL.mjs → run-RDI3Q6GO.mjs} +23 -23
  99. package/dist/cli/{search-SZYI4NBB.mjs → search-3TJ24CUF.mjs} +8 -8
  100. package/dist/cli/search-NKEEGLY6.js +33 -0
  101. package/dist/cli/{search-output-7UNT6EMP.js → search-output-JHT553SL.js} +6 -6
  102. package/dist/cli/{search-output-T35QNZUF.mjs → search-output-Y57OBQXX.mjs} +4 -4
  103. package/dist/cli/{secrets-Q36VC35L.mjs → secrets-OZK7GRD5.mjs} +6 -6
  104. package/dist/cli/{secrets-JMUAVIVC.js → secrets-U5JHWAXU.js} +15 -15
  105. package/dist/cli/{sessions-HG6I3HMY.mjs → sessions-D6DSEQ2T.mjs} +5 -5
  106. package/dist/cli/{sessions-SUXU7OM7.js → sessions-PNMYAJNB.js} +6 -6
  107. package/dist/cli/{settings-UIELQ5CV.js → settings-DLPEHYGS.js} +82 -82
  108. package/dist/cli/{settings-Z76XW4KF.mjs → settings-ITLSLT2R.mjs} +12 -12
  109. package/dist/cli/{setup-OXNYAOQ4.mjs → setup-XTYLF2CF.mjs} +10 -10
  110. package/dist/cli/{setup-2L7H5P2O.js → setup-Y5ZYEC6U.js} +50 -50
  111. package/dist/cli/{skills-XSNLXJGI.mjs → skills-C4WCAVII.mjs} +8 -8
  112. package/dist/cli/skills-K6FVG3BX.js +37 -0
  113. package/dist/cli/tools-LSALTN7I.js +57 -0
  114. package/dist/cli/{tools-SUSFAYFH.mjs → tools-ZESAPVOW.mjs} +17 -17
  115. package/dist/cli/{update-ENSTG3QO.mjs → update-4PCKVDCS.mjs} +10 -10
  116. package/dist/cli/update-P5KGNFNL.js +35 -0
  117. package/dist/cli/{workflow-Z33QE6VT.mjs → workflow-42CL4TVR.mjs} +7 -7
  118. package/dist/cli/{workflow-FMBZNY4F.js → workflow-XXKXMPTI.js} +17 -17
  119. package/dist/{client-Cx0420fs.d.ts → client-BlwD-G4v.d.ts} +1 -1
  120. package/dist/{client-BDbouy3Y.d.mts → client-DMpsMNH9.d.mts} +1 -1
  121. package/dist/{client-core-CwiVaMZ5.d.mts → client-core-CITtRTbB.d.mts} +27 -8
  122. package/dist/{client-core-B4hq0-m2.d.ts → client-core-DwBLuEkm.d.ts} +27 -8
  123. package/dist/index.d.mts +3 -3
  124. package/dist/index.d.ts +3 -3
  125. package/dist/index.js +9 -9
  126. package/dist/index.mjs +6 -6
  127. package/dist/install-integrity.json +106 -104
  128. package/dist/plays/play-description.d.mts +1 -1
  129. package/dist/plays/play-description.d.ts +1 -1
  130. package/dist/plays/run-request.d.mts +1 -1
  131. package/dist/plays/run-request.d.ts +1 -1
  132. package/dist/release.d.mts +1 -1
  133. package/dist/release.d.ts +1 -1
  134. package/dist/release.js +2 -2
  135. package/dist/release.mjs +1 -1
  136. package/dist/server.d.mts +2 -2
  137. package/dist/server.d.ts +2 -2
  138. package/dist/server.js +5 -5
  139. package/dist/server.mjs +3 -3
  140. package/package.json +1 -1
  141. package/dist/cli/auth-MMHG2OFE.js +0 -43
  142. package/dist/cli/describe-AYXVS6DZ.js +0 -50
  143. package/dist/cli/git-T6WKO7EA.js +0 -25
  144. package/dist/cli/search-B753RTKC.js +0 -33
  145. package/dist/cli/skills-DEVXYGYH.js +0 -37
  146. package/dist/cli/tools-SCGHABDL.js +0 -57
  147. package/dist/cli/update-BSIILGO3.js +0 -35
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5ARG7J7Ajs = require('./chunk-5ARG7J7A.js');
5
+ var _chunkZL2ME3UTjs = require('./chunk-ZL2ME3UT.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk3F676QXJjs = require('./chunk-3F676QXJ.js');
9
+ var _chunkAYNO4VFWjs = require('./chunk-AYNO4VFW.js');
10
10
 
11
11
 
12
12
 
@@ -46,10 +46,10 @@ var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
46
46
  var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
47
47
 
48
48
 
49
- var _chunkDB54ROPHjs = require('./chunk-DB54ROPH.js');
49
+ var _chunkTVADI7K5js = require('./chunk-TVADI7K5.js');
50
50
 
51
51
 
52
- var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
52
+ var _chunkJRHMPZJXjs = require('./chunk-JRHMPZJX.js');
53
53
 
54
54
 
55
55
  var _chunkWSGXBROEjs = require('./chunk-WSGXBROE.js');
@@ -59,18 +59,18 @@ var _chunkWSGXBROEjs = require('./chunk-WSGXBROE.js');
59
59
 
60
60
 
61
61
 
62
- var _chunkZZDTWVCQjs = require('./chunk-ZZDTWVCQ.js');
62
+ var _chunk7PELFO3Cjs = require('./chunk-7PELFO3C.js');
63
63
 
64
64
 
65
65
 
66
66
 
67
- var _chunk26DJ4BDYjs = require('./chunk-26DJ4BDY.js');
67
+ var _chunkZLIAUR2Ejs = require('./chunk-ZLIAUR2E.js');
68
68
 
69
69
 
70
70
 
71
71
 
72
72
 
73
- var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
73
+ var _chunkIZZ7FFWPjs = require('./chunk-IZZ7FFWP.js');
74
74
 
75
75
 
76
76
 
@@ -78,12 +78,12 @@ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
78
78
 
79
79
 
80
80
 
81
- var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
81
+ var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
82
82
 
83
83
 
84
84
 
85
85
 
86
- var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
86
+ var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
87
87
 
88
88
 
89
89
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -189,10 +189,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
189
189
  }
190
190
  };
191
191
  function pendingToolExecutionPath(input) {
192
- const config = _chunkMHRR47VQjs.resolveConfig.call(void 0, );
192
+ const config = _chunkJ3LJ37WDjs.resolveConfig.call(void 0, );
193
193
  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(_chunkWSGXBROEjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
194
194
  return _path.join.call(void 0,
195
- _chunkMHRR47VQjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
195
+ _chunkJ3LJ37WDjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
196
196
  `${PENDING_PREFIX}${fingerprint}.json`
197
197
  );
198
198
  }
@@ -505,13 +505,13 @@ function categoryEnumerationRender(summaries) {
505
505
  };
506
506
  }
507
507
  async function listToolCategories(emitJson, compact) {
508
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
508
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
509
509
  if (!emitJson) {
510
510
  const summaries2 = (await client.listToolCategories()).map((category) => ({
511
511
  ...category,
512
512
  description: describeToolCategory(category.name)
513
513
  }));
514
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
514
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
515
515
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
516
516
  { json: false }
517
517
  );
@@ -521,7 +521,7 @@ async function listToolCategories(emitJson, compact) {
521
521
  const items = rawTools.map(toListedTool);
522
522
  const summaries = aggregateCategorySummaries(rawTools);
523
523
  const outputItems = compact ? items.map(compactTool) : items;
524
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
524
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  tools: outputItems,
527
527
  count: outputItems.length,
@@ -540,7 +540,7 @@ function unknownCategoryError(category, summaries, emitJson) {
540
540
  const known = summaries.map((item) => item.name);
541
541
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
542
542
  if (emitJson) {
543
- _chunk75NAFY36js.printJson.call(void 0, {
543
+ _chunkJUYW6TSUjs.printJson.call(void 0, {
544
544
  ok: false,
545
545
  exitCode: 4,
546
546
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -554,13 +554,13 @@ function unknownCategoryError(category, summaries, emitJson) {
554
554
  const render = categoryEnumerationRender(summaries);
555
555
  console.error(message);
556
556
  console.error("");
557
- console.error(_chunk75NAFY36js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
557
+ console.error(_chunkJUYW6TSUjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
558
558
  console.error("");
559
559
  console.error(`Valid categories: ${known.join(", ")}`);
560
560
  return 4;
561
561
  }
562
562
  async function listToolsInCategory(category, emitJson) {
563
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
563
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
564
564
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
565
565
  const summaries = categories.map((item) => ({
566
566
  ...item,
@@ -596,7 +596,7 @@ async function listToolsInCategory(category, emitJson) {
596
596
  }
597
597
  ]
598
598
  };
599
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
599
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
600
600
  {
601
601
  category,
602
602
  total: rows.length,
@@ -609,7 +609,7 @@ async function listToolsInCategory(category, emitJson) {
609
609
  return 0;
610
610
  }
611
611
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
612
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
612
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
613
613
  const items = (await client.listTools({
614
614
  categories: requestedCategories.join(","),
615
615
  compact
@@ -638,7 +638,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
638
638
  ]
639
639
  };
640
640
  const outputItems = compact ? items.map(compactTool) : items;
641
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
641
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
642
642
  {
643
643
  tools: outputItems,
644
644
  count: outputItems.length,
@@ -657,13 +657,13 @@ async function listTools(category, options = {}) {
657
657
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
658
658
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
659
659
  const compact = options.compact !== false;
660
- const emitJson = options.json === true || _chunk75NAFY36js.shouldEmitJson.call(void 0, );
660
+ const emitJson = options.json === true || _chunkJUYW6TSUjs.shouldEmitJson.call(void 0, );
661
661
  if (positional && flagCategories.length > 0) {
662
662
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
663
663
  if (!flagIsSameSingle) {
664
664
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
665
665
  if (emitJson) {
666
- _chunk75NAFY36js.printJson.call(void 0, {
666
+ _chunkJUYW6TSUjs.printJson.call(void 0, {
667
667
  ok: false,
668
668
  exitCode: 2,
669
669
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -690,7 +690,7 @@ async function grepTools(queryInput, options = {}) {
690
690
  console.error("Usage: deepline tools grep <query> [--json]");
691
691
  return 1;
692
692
  }
693
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
693
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
694
694
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
695
695
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
696
696
  const jsonOutput = options.json === true;
@@ -714,7 +714,7 @@ async function grepTools(queryInput, options = {}) {
714
714
  query,
715
715
  mode
716
716
  }) : null;
717
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
717
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
718
718
  {
719
719
  tools: outputTools,
720
720
  count: outputTools.length,
@@ -732,7 +732,7 @@ async function grepTools(queryInput, options = {}) {
732
732
  } : {},
733
733
  commandTemplates: TOOL_COMMAND_TEMPLATES
734
734
  },
735
- { json: options.json || _chunk75NAFY36js.shouldEmitJson.call(void 0, ) }
735
+ { json: options.json || _chunkJUYW6TSUjs.shouldEmitJson.call(void 0, ) }
736
736
  );
737
737
  return 0;
738
738
  }
@@ -847,10 +847,10 @@ Output:
847
847
  ).option("--json", "Print JSON without credential values").action(
848
848
  async (provider, options) => {
849
849
  if (options.link) {
850
- const link = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getIntegrationConnectLink(
850
+ const link = await new (0, _chunkTVADI7K5js.DeeplineClient)().getIntegrationConnectLink(
851
851
  provider
852
852
  );
853
- if (_chunk75NAFY36js.shouldEmitJson.call(void 0, options.json)) console.log(JSON.stringify(link));
853
+ if (_chunkJUYW6TSUjs.shouldEmitJson.call(void 0, options.json)) console.log(JSON.stringify(link));
854
854
  else console.log(link.connect_url);
855
855
  return;
856
856
  }
@@ -860,7 +860,7 @@ Output:
860
860
  if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
861
861
  throw new Error("Use --preset or individual scopes, not both.");
862
862
  const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
863
- const result2 = await new (0, _chunkDB54ROPHjs.DeeplineClient)().startIntegrationOAuth(
863
+ const result2 = await new (0, _chunkTVADI7K5js.DeeplineClient)().startIntegrationOAuth(
864
864
  provider,
865
865
  {
866
866
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -872,7 +872,7 @@ Output:
872
872
  throw new Error(
873
873
  "The API did not return an OAuth authorization URL."
874
874
  );
875
- if (_chunk75NAFY36js.shouldEmitJson.call(void 0, options.json))
875
+ if (_chunkJUYW6TSUjs.shouldEmitJson.call(void 0, options.json))
876
876
  console.log(
877
877
  JSON.stringify({ provider, redirect_url: result2.redirect_url })
878
878
  );
@@ -898,7 +898,7 @@ Output:
898
898
  "--credentials-file must contain a nonempty JSON object of string credential values."
899
899
  );
900
900
  }
901
- const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().setIntegrationCredentials(
901
+ const result = await new (0, _chunkTVADI7K5js.DeeplineClient)().setIntegrationCredentials(
902
902
  provider,
903
903
  credentials
904
904
  );
@@ -908,7 +908,7 @@ Output:
908
908
  );
909
909
  }
910
910
  const confirmation = { provider, credential_saved: true };
911
- if (_chunk75NAFY36js.shouldEmitJson.call(void 0, options.json))
911
+ if (_chunkJUYW6TSUjs.shouldEmitJson.call(void 0, options.json))
912
912
  console.log(JSON.stringify(confirmation));
913
913
  else
914
914
  console.log(
@@ -948,7 +948,7 @@ Examples:
948
948
  json: Boolean(options.json)
949
949
  });
950
950
  });
951
- _chunk3F676QXJjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
951
+ _chunkAYNO4VFWjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
952
952
  tools.command("grep <query>").description(
953
953
  "Regex grep over tool ids, descriptions, categories, and input fields."
954
954
  ).addHelpText(
@@ -983,7 +983,7 @@ Examples:
983
983
  });
984
984
  const addToolMetadataCommand = (command) => {
985
985
  let compatibilityMetadata;
986
- _chunkZZDTWVCQjs.registerCompatibilityCatalog.call(void 0, command, () => ({
986
+ _chunk7PELFO3Cjs.registerCompatibilityCatalog.call(void 0, command, () => ({
987
987
  toolId: command.args[0],
988
988
  acceptMetadata: (metadata) => {
989
989
  compatibilityMetadata = metadata;
@@ -1053,7 +1053,7 @@ Examples:
1053
1053
  process.exitCode = await narrowView();
1054
1054
  return;
1055
1055
  }
1056
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AYXVS6DZ.js")));
1056
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-JKZ67X3E.js")));
1057
1057
  process.exitCode = await describeAnything(
1058
1058
  toolId,
1059
1059
  {
@@ -1068,7 +1068,7 @@ Examples:
1068
1068
  });
1069
1069
  };
1070
1070
  addToolMetadataCommand(
1071
- _chunk5ARG7J7Ajs.addDescribeOptions.call(void 0,
1071
+ _chunkZL2ME3UTjs.addDescribeOptions.call(void 0,
1072
1072
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
1073
1073
  { json: false }
1074
1074
  )
@@ -1137,7 +1137,7 @@ Examples:
1137
1137
  options,
1138
1138
  void 0,
1139
1139
  true,
1140
- _chunk26DJ4BDYjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1140
+ _chunkZLIAUR2Ejs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1141
1141
  );
1142
1142
  }
1143
1143
  );
@@ -1145,13 +1145,13 @@ Examples:
1145
1145
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1146
1146
  let metadata;
1147
1147
  const startedAt = performance.now();
1148
- const baseUrl = _chunkMHRR47VQjs.resolveConfig.call(void 0, ).baseUrl;
1149
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1150
- const result = _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
1148
+ const baseUrl = _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl;
1149
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1150
+ const result = _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
1151
1151
  "SDK compatibility",
1152
- () => _chunkHINTYT5Hjs.checkSdkCompatibility.call(void 0, baseUrl, {
1152
+ () => _chunkIZZ7FFWPjs.checkSdkCompatibility.call(void 0, baseUrl, {
1153
1153
  command: "tools execute",
1154
- skillsVersion: _chunkMHRR47VQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1154
+ skillsVersion: _chunkJ3LJ37WDjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1155
1155
  persistCache: false,
1156
1156
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1157
1157
  catalog: {
@@ -1165,7 +1165,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1165
1165
  })
1166
1166
  ).then(
1167
1167
  (compatibility) => {
1168
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
1168
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
1169
1169
  phase: "cli.tool_execute_compatibility_ready",
1170
1170
  ms: performance.now() - startedAt,
1171
1171
  ok: compatibility.error === null,
@@ -1174,7 +1174,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1174
1174
  return compatibility;
1175
1175
  },
1176
1176
  (error) => {
1177
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
1177
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
1178
1178
  phase: "cli.tool_execute_compatibility_ready",
1179
1179
  ms: performance.now() - startedAt,
1180
1180
  ok: false
@@ -1189,7 +1189,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1189
1189
  console.error("Usage: deepline tools describe <toolId> [--json]");
1190
1190
  return 1;
1191
1191
  }
1192
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
1192
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
1193
1193
  let tool;
1194
1194
  try {
1195
1195
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1243,7 +1243,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1243
1243
  const lines = toolPricingOnlyLines(tool, toolId);
1244
1244
  if (inferenceQuote)
1245
1245
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1246
- _chunk75NAFY36js.printCommandEnvelope.call(void 0,
1246
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
1247
1247
  {
1248
1248
  toolId: String(tool.toolId || toolId),
1249
1249
  cost: _chunkBN5VKY4Xjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1266,7 +1266,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1266
1266
  void 0,
1267
1267
  seedToolListScript
1268
1268
  );
1269
- _chunk75NAFY36js.printCompactJson.call(void 0, {
1269
+ _chunkJUYW6TSUjs.printCompactJson.call(void 0, {
1270
1270
  toolId: contract.toolId,
1271
1271
  ...options.schemaOnly ? {
1272
1272
  inputSchema: contract.inputSchema,
@@ -1289,7 +1289,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1289
1289
  return 0;
1290
1290
  }
1291
1291
  if (options.contractJson) {
1292
- _chunk75NAFY36js.printCompactJson.call(void 0, {
1292
+ _chunkJUYW6TSUjs.printCompactJson.call(void 0, {
1293
1293
  ..._chunkBN5VKY4Xjs.toolContractJsonForDescribe.call(void 0,
1294
1294
  tool,
1295
1295
  toolId,
@@ -1303,7 +1303,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1303
1303
  }
1304
1304
  const emitJson = options.json === true;
1305
1305
  if (emitJson) {
1306
- _chunk75NAFY36js.printCompactJson.call(void 0, {
1306
+ _chunkJUYW6TSUjs.printCompactJson.call(void 0, {
1307
1307
  ..._chunkBN5VKY4Xjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1308
1308
  ...modelDescription ? { modelOptions: modelDescription } : {},
1309
1309
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2166,7 +2166,7 @@ function parseExecuteOptions(toolId, options, output) {
2166
2166
  outputFormat = normalizeOutputFormat(options.outputFormat);
2167
2167
  }
2168
2168
  if (options.idempotencyKey !== void 0) {
2169
- _chunkAD2WJUZAjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2169
+ _chunkJRHMPZJXjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2170
2170
  }
2171
2171
  if (options.recoveryTimeoutMs !== void 0) {
2172
2172
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2545,7 +2545,7 @@ function writeToolReceipt(input) {
2545
2545
  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;
2546
2546
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2547
2547
  const charged = _chunkBN5VKY4Xjs.recordField.call(void 0, envelope, "billing").credits_charged;
2548
- _chunk5ARG7J7Ajs.writeExecutionOutput.call(void 0,
2548
+ _chunkZL2ME3UTjs.writeExecutionOutput.call(void 0,
2549
2549
  {
2550
2550
  id: _nullishCoalesce(input.key, () => ( jobId)),
2551
2551
  status,
@@ -2576,8 +2576,8 @@ async function executeToolForReceipt(input) {
2576
2576
  let retryKey = null;
2577
2577
  let received = false;
2578
2578
  try {
2579
- const cliInvocationId = _nullishCoalesce(_chunkZZDTWVCQjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkZZDTWVCQjs.beginToolExecuteCommand.call(void 0, )));
2580
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
2579
+ const cliInvocationId = _nullishCoalesce(_chunk7PELFO3Cjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk7PELFO3Cjs.beginToolExecuteCommand.call(void 0, )));
2580
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
2581
2581
  const metadata = assertExecutableToolMetadata(
2582
2582
  toolId,
2583
2583
  await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })))
@@ -2598,9 +2598,9 @@ async function executeToolForReceipt(input) {
2598
2598
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2599
2599
  ..._optionalChain([metadata, 'access', _35 => _35.executionMetadata, 'optionalAccess', _36 => _36.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2600
2600
  ...key ? { idempotencyKey: key } : {},
2601
- searchRef: _chunk3F676QXJjs.recentSearchRef.call(void 0, toolId),
2601
+ searchRef: _chunkAYNO4VFWjs.recentSearchRef.call(void 0, toolId),
2602
2602
  cliInvocationId,
2603
- onResponseReceived: _chunk5ARG7J7Ajs.recordApiResponse
2603
+ onResponseReceived: _chunkZL2ME3UTjs.recordApiResponse
2604
2604
  }).catch((error) => {
2605
2605
  const guidance = toolGuidanceLines(metadata.guidance);
2606
2606
  if (guidance.length)
@@ -2623,7 +2623,7 @@ async function executeToolForReceipt(input) {
2623
2623
  if (received) throw error;
2624
2624
  const outcomeKnown = answeredWithFailure(error);
2625
2625
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _37 => _37.discard, 'call', _38 => _38()]);
2626
- _chunk5ARG7J7Ajs.writeExecutionOutput.call(void 0,
2626
+ _chunkZL2ME3UTjs.writeExecutionOutput.call(void 0,
2627
2627
  {
2628
2628
  id: outcomeKnown ? null : key,
2629
2629
  status: "failed",
@@ -2647,11 +2647,11 @@ function answeredWithFailure(error) {
2647
2647
  error.statusCode !== 408 && error.code !== "EXECUTION_OUTCOME_UNKNOWN";
2648
2648
  }
2649
2649
  async function getToolExecutionReceipt(key, output) {
2650
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
2650
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
2651
2651
  const execution = await client.executions.getByKey(key);
2652
2652
  output.label = `${execution.toolId} (tool)`;
2653
2653
  if (execution.response === void 0) {
2654
- _chunk5ARG7J7Ajs.writeExecutionOutput.call(void 0,
2654
+ _chunkZL2ME3UTjs.writeExecutionOutput.call(void 0,
2655
2655
  {
2656
2656
  id: key,
2657
2657
  status: execution.executionRecovery.state,
@@ -2680,19 +2680,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2680
2680
  parsed = parseExecuteOptions(toolId, options, output);
2681
2681
  } catch (error) {
2682
2682
  if (wantsJson) {
2683
- _chunk75NAFY36js.printJsonError.call(void 0, error);
2683
+ _chunkJUYW6TSUjs.printJsonError.call(void 0, error);
2684
2684
  } else {
2685
2685
  console.error(error instanceof Error ? error.message : String(error));
2686
2686
  }
2687
2687
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2688
2688
  }
2689
- const cliInvocationId = _nullishCoalesce(_chunkZZDTWVCQjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkZZDTWVCQjs.beginToolExecuteCommand.call(void 0, )));
2689
+ const cliInvocationId = _nullishCoalesce(_chunk7PELFO3Cjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk7PELFO3Cjs.beginToolExecuteCommand.call(void 0, )));
2690
2690
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2691
- const tracing = _chunk26DJ4BDYjs.isCliTraceEnabled.call(void 0, );
2691
+ const tracing = _chunkZLIAUR2Ejs.isCliTraceEnabled.call(void 0, );
2692
2692
  const clientStartedAt = tracing ? performance.now() : void 0;
2693
- const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
2693
+ const client = new (0, _chunkTVADI7K5js.DeeplineClient)();
2694
2694
  if (clientStartedAt !== void 0) {
2695
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
2695
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
2696
2696
  phase: "cli.tool_execute_client_setup",
2697
2697
  ms: performance.now() - clientStartedAt
2698
2698
  });
@@ -2701,13 +2701,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2701
2701
  const readMetadata = async () => {
2702
2702
  if (metadata) return assertExecutableToolMetadata(parsed.toolId, metadata);
2703
2703
  try {
2704
- metadata = await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2704
+ metadata = await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2705
2705
  "tool metadata lookup",
2706
2706
  () => client.getTool(parsed.toolId, { cliInvocationId })
2707
2707
  );
2708
2708
  } catch (error) {
2709
2709
  if (isMissingToolMetadataError(error)) {
2710
- const play = await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2710
+ const play = await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2711
2711
  "play alias lookup",
2712
2712
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2713
2713
  );
@@ -2736,7 +2736,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2736
2736
  assertExecutableToolMetadata(parsed.toolId, metadata);
2737
2737
  } catch (error) {
2738
2738
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2739
- if (wantsJson) _chunk75NAFY36js.printJsonError.call(void 0, error);
2739
+ if (wantsJson) _chunkJUYW6TSUjs.printJsonError.call(void 0, error);
2740
2740
  else console.error(error.message);
2741
2741
  return 2;
2742
2742
  }
@@ -2748,7 +2748,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2748
2748
  metadata = await readMetadata();
2749
2749
  } catch (error) {
2750
2750
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2751
- if (wantsJson) _chunk75NAFY36js.printJsonError.call(void 0, error);
2751
+ if (wantsJson) _chunkJUYW6TSUjs.printJsonError.call(void 0, error);
2752
2752
  else console.error(error.message);
2753
2753
  return 2;
2754
2754
  }
@@ -2764,7 +2764,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2764
2764
  metadata = await readMetadata();
2765
2765
  } catch (error) {
2766
2766
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2767
- if (wantsJson) _chunk75NAFY36js.printJsonError.call(void 0, error);
2767
+ if (wantsJson) _chunkJUYW6TSUjs.printJsonError.call(void 0, error);
2768
2768
  else console.error(error.message);
2769
2769
  return 2;
2770
2770
  }
@@ -2790,11 +2790,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2790
2790
  responseIntent,
2791
2791
  ...idempotencyKey ? { idempotencyKey } : {},
2792
2792
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2793
- searchRef: _chunk3F676QXJjs.recentSearchRef.call(void 0, parsed.toolId),
2793
+ searchRef: _chunkAYNO4VFWjs.recentSearchRef.call(void 0, parsed.toolId),
2794
2794
  cliInvocationId,
2795
- onResponseReceived: _chunk5ARG7J7Ajs.recordApiResponse,
2795
+ onResponseReceived: _chunkZL2ME3UTjs.recordApiResponse,
2796
2796
  ...tracing ? {
2797
- onServerTiming: (serverTiming) => _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
2797
+ onServerTiming: (serverTiming) => _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, {
2798
2798
  phase: "tool_execute_server_timing",
2799
2799
  cliInvocationId,
2800
2800
  serverTiming,
@@ -2805,13 +2805,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2805
2805
  let rawResponse;
2806
2806
  let successfulCompatibilityResponse;
2807
2807
  try {
2808
- const executeResult = await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2808
+ const executeResult = await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2809
2809
  "execute request",
2810
2810
  async () => {
2811
2811
  try {
2812
2812
  if (tracing) {
2813
2813
  submissionStartedAt = performance.now();
2814
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2814
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2815
2815
  }
2816
2816
  return await client.executeTool(parsed.toolId, parsed.params, {
2817
2817
  ...executeOptions,
@@ -2821,34 +2821,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2821
2821
  } catch (error) {
2822
2822
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2823
2823
  throw error;
2824
- const baseUrl = _chunkMHRR47VQjs.resolveConfig.call(void 0, ).baseUrl;
2824
+ const baseUrl = _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl;
2825
2825
  if (maintenancePolicy !== "off") {
2826
- _chunkHINTYT5Hjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2826
+ _chunkIZZ7FFWPjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2827
2827
  }
2828
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2828
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2829
2829
  "SDK compatibility",
2830
- () => _chunkHINTYT5Hjs.checkSdkCompatibility.call(void 0, baseUrl, {
2830
+ () => _chunkIZZ7FFWPjs.checkSdkCompatibility.call(void 0, baseUrl, {
2831
2831
  command: "tools execute",
2832
- skillsVersion: _chunkMHRR47VQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2832
+ skillsVersion: _chunkJ3LJ37WDjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2833
2833
  persistCache: maintenancePolicy !== "off"
2834
2834
  })
2835
2835
  );
2836
2836
  if (compatibility.error) throw compatibility.error;
2837
2837
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _44 => _44.readMetadata, 'call', _45 => _45()]), () => ( metadata));
2838
- if (maintenancePolicy !== "off" && await _chunkZZDTWVCQjs.maybeAutoUpdateAndRelaunch.call(void 0,
2838
+ if (maintenancePolicy !== "off" && await _chunk7PELFO3Cjs.maybeAutoUpdateAndRelaunch.call(void 0,
2839
2839
  compatibility.response,
2840
2840
  baseUrl,
2841
2841
  maintenancePolicy
2842
2842
  )) {
2843
2843
  return void 0;
2844
2844
  }
2845
- _chunkHINTYT5Hjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2845
+ _chunkIZZ7FFWPjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2846
2846
  quietAdvisory: wantsJson
2847
2847
  });
2848
2848
  if (maintenancePolicy !== "off") {
2849
- await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2849
+ await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2850
2850
  "agent skills sync",
2851
- () => _chunkHINTYT5Hjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2851
+ () => _chunkIZZ7FFWPjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2852
2852
  update: _optionalChain([compatibility, 'access', _46 => _46.response, 'optionalAccess', _47 => _47.skills]),
2853
2853
  mode: "detached"
2854
2854
  })
@@ -2857,7 +2857,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2857
2857
  const legacyMetadata = await readMetadata();
2858
2858
  if (tracing) {
2859
2859
  submissionStartedAt = performance.now();
2860
- _chunk26DJ4BDYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2860
+ _chunkZLIAUR2Ejs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2861
2861
  }
2862
2862
  return client.executeTool(parsed.toolId, parsed.params, {
2863
2863
  ...executeOptions,
@@ -2880,8 +2880,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2880
2880
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2881
2881
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2882
2882
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2883
- const baseUrl = _chunkMHRR47VQjs.resolveConfig.call(void 0, ).baseUrl;
2884
- if (await _chunkZZDTWVCQjs.maybeAutoUpdateAndRelaunch.call(void 0,
2883
+ const baseUrl = _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl;
2884
+ if (await _chunk7PELFO3Cjs.maybeAutoUpdateAndRelaunch.call(void 0,
2885
2885
  compatibility.response,
2886
2886
  baseUrl,
2887
2887
  maintenancePolicy
@@ -2905,7 +2905,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2905
2905
  }
2906
2906
  }
2907
2907
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2908
- if (wantsJson) _chunk75NAFY36js.printJsonError.call(void 0, failure);
2908
+ if (wantsJson) _chunkJUYW6TSUjs.printJsonError.call(void 0, failure);
2909
2909
  else console.error(failure.message);
2910
2910
  return 2;
2911
2911
  }
@@ -2932,9 +2932,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2932
2932
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2933
2933
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _54 => _54.auto_update]);
2934
2934
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _55 => _55.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2935
- await _chunkZZDTWVCQjs.maybeAutoUpdateAndRelaunch.call(void 0,
2935
+ await _chunk7PELFO3Cjs.maybeAutoUpdateAndRelaunch.call(void 0,
2936
2936
  compatibilityResponse,
2937
- _chunkMHRR47VQjs.resolveConfig.call(void 0, ).baseUrl,
2937
+ _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl,
2938
2938
  maintenancePolicy
2939
2939
  );
2940
2940
  }
@@ -2969,7 +2969,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2969
2969
  const { _metadata, ...execution } = rawResponse;
2970
2970
  rawResponse = execution;
2971
2971
  }
2972
- const { listConversion, summary, baseEnvelope } = await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
2972
+ const { listConversion, summary, baseEnvelope } = await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
2973
2973
  "result formatting",
2974
2974
  async () => {
2975
2975
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -3004,9 +3004,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3004
3004
  }
3005
3005
  skillsSyncAttempted = true;
3006
3006
  try {
3007
- await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
3007
+ await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
3008
3008
  "agent skills sync",
3009
- () => _chunkHINTYT5Hjs.syncSdkSkillsIfNeeded.call(void 0, _chunkMHRR47VQjs.resolveConfig.call(void 0, ).baseUrl, {
3009
+ () => _chunkIZZ7FFWPjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJ3LJ37WDjs.resolveConfig.call(void 0, ).baseUrl, {
3010
3010
  update: deliveredCompatibilityResponse.skills,
3011
3011
  mode: "detached"
3012
3012
  })
@@ -3017,15 +3017,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3017
3017
  );
3018
3018
  }
3019
3019
  };
3020
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunk75NAFY36js.printCommandEnvelope.call(void 0, envelope, {
3020
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, envelope, {
3021
3021
  ...options2,
3022
3022
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
3023
3023
  });
3024
3024
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
3025
3025
  await syncSkillsForDeliveredOutput();
3026
- _chunk75NAFY36js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3026
+ _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3027
3027
  };
3028
- const delivered = await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3028
+ const delivered = await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3029
3029
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3030
3030
  await printDeliveredJsonEnvelope(baseEnvelope);
3031
3031
  return true;
@@ -3054,7 +3054,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3054
3054
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3055
3055
  );
3056
3056
  if (wantsJson) {
3057
- _chunk75NAFY36js.printJsonError.call(void 0, error);
3057
+ _chunkJUYW6TSUjs.printJsonError.call(void 0, error);
3058
3058
  } else {
3059
3059
  console.error(error.message);
3060
3060
  }
@@ -3149,13 +3149,13 @@ inspect: ${inspection.inspect}
3149
3149
  return true;
3150
3150
  });
3151
3151
  if (delivered) {
3152
- await _chunkZZDTWVCQjs.runToolExecuteStage.call(void 0,
3152
+ await _chunk7PELFO3Cjs.runToolExecuteStage.call(void 0,
3153
3153
  "acknowledge delivery",
3154
3154
  () => recovery.acknowledgeDelivery()
3155
3155
  );
3156
3156
  }
3157
3157
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3158
- _chunkHINTYT5Hjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3158
+ _chunkIZZ7FFWPjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3159
3159
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _58 => _58.auto_update, 'optionalAccess', _59 => _59.should_auto_update]) === true
3160
3160
  });
3161
3161
  }