deepline 0.3.487 → 0.3.489

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-GIBZFTUJ.mjs → auth-5RIU6GT7.mjs} +5 -5
  4. package/dist/cli/auth-PSIS3XA6.js +43 -0
  5. package/dist/cli/{billing-T3SN2T4T.mjs → billing-T4TMPRFS.mjs} +6 -6
  6. package/dist/cli/{billing-TZINXSTI.js → billing-T5MAGF25.js} +79 -79
  7. package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-2QUROYZU.mjs} +1 -1
  8. package/dist/cli/{chunk-76EUEG45.mjs → chunk-35N4S2E6.mjs} +1 -1
  9. package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-3S5VBG6Z.mjs} +2 -2
  10. package/dist/cli/{chunk-TY7AFVAC.js → chunk-4EFD6R2V.js} +37 -37
  11. package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-4GWEZPZR.mjs} +6 -1
  12. package/dist/cli/{chunk-XVSMWD6E.js → chunk-5DEJ3TLB.js} +7 -7
  13. package/dist/cli/{chunk-WZQSBYFU.js → chunk-6FMP5XRF.js} +6 -6
  14. package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-6PHHQDM6.mjs} +1 -1
  15. package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-7R243PYK.mjs} +15 -1
  16. package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
  17. package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-C55LNEUF.mjs} +1 -1
  18. package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-DHAJSTSH.mjs} +4 -4
  19. package/dist/cli/{chunk-TDUPHVI2.js → chunk-DY7T6VNT.js} +21 -21
  20. package/dist/cli/{chunk-BWXQIRPZ.js → chunk-F3TDT57M.js} +5 -5
  21. package/dist/cli/{chunk-ZJIFSEJS.js → chunk-FFDWL5N2.js} +16 -16
  22. package/dist/cli/{chunk-NR6ZSXYE.js → chunk-FH7ZABHW.js} +94 -94
  23. package/dist/cli/{chunk-WFMTJFGG.js → chunk-FL7NHJTS.js} +10 -10
  24. package/dist/cli/{chunk-O4LTC7S6.js → chunk-FNKSRKTA.js} +22 -8
  25. package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-G7POOFBJ.mjs} +2 -2
  26. package/dist/cli/{chunk-DAXLSR65.js → chunk-GW6HV7Z7.js} +3 -3
  27. package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-H66YVVT7.mjs} +1 -1
  28. package/dist/cli/{chunk-JDFYXDDA.js → chunk-I4NWMPT3.js} +53 -53
  29. package/dist/cli/{chunk-BXOHHCXG.js → chunk-K2RUSHZ7.js} +4 -4
  30. package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-L2GMFNAO.mjs} +3 -3
  31. package/dist/cli/{chunk-75LPU4AO.js → chunk-LM5UIDFA.js} +7 -7
  32. package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-LMUOUIBV.mjs} +5 -5
  33. package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-NBHCEVWY.mjs} +4 -4
  34. package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
  35. package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-OTQ2CO6M.mjs} +2 -2
  36. package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-QJ4FWKUU.mjs} +2 -2
  37. package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-QXWE6PHI.mjs} +2 -2
  38. package/dist/cli/{chunk-JZNSRGDL.js → chunk-R23HZ6AV.js} +2 -2
  39. package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-RACN23LT.mjs} +4 -4
  40. package/dist/cli/{chunk-WXEAAVBK.js → chunk-RI2PLVD4.js} +7 -7
  41. package/dist/cli/{chunk-QZ4DVKYU.js → chunk-S4F2R2LO.js} +9 -9
  42. package/dist/cli/{chunk-VPSK464I.mjs → chunk-S5PMBDY6.mjs} +10 -10
  43. package/dist/cli/{chunk-6YMPAQEI.js → chunk-SZHNIKTR.js} +26 -26
  44. package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-TMQ3PCSY.mjs} +2 -2
  45. package/dist/cli/{chunk-FMN7S7KB.js → chunk-UI67QLIR.js} +53 -53
  46. package/dist/cli/{chunk-NDUZXNGV.js → chunk-UYZNRLDE.js} +6 -1
  47. package/dist/cli/{chunk-E2CSKE27.js → chunk-UZ7VPOTA.js} +3 -3
  48. package/dist/cli/{chunk-ZOENOU2W.js → chunk-VP65YKOA.js} +5 -5
  49. package/dist/cli/{chunk-YIVYI5XH.js → chunk-WIKIF67Q.js} +8 -8
  50. package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-WRJ6MEY5.mjs} +1 -1
  51. package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-Y3SG26KP.mjs} +4 -4
  52. package/dist/cli/{chunk-4LMPONJM.mjs → chunk-YEX3VNAY.mjs} +2 -2
  53. package/dist/cli/{chunk-HKK3NTTF.js → chunk-YSB44HZB.js} +2 -2
  54. package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-ZICPJKMP.mjs} +5 -5
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-42ZQOY2Y.mjs → csv-WAD54M7T.mjs} +4 -4
  58. package/dist/cli/{csv-IKHCVOV5.js → csv-XTKN255I.js} +13 -13
  59. package/dist/cli/{db-B3RLPXTA.mjs → db-2ELZMJFC.mjs} +6 -6
  60. package/dist/cli/{db-3AWAIV6O.js → db-TTS6Y4FI.js} +27 -27
  61. package/dist/cli/describe-2V7H5LJP.js +49 -0
  62. package/dist/cli/{describe-NEPMNE33.mjs → describe-Z7GWMGKU.mjs} +17 -17
  63. package/dist/cli/{executions-W53OBSB6.mjs → executions-2TQH54AB.mjs} +6 -6
  64. package/dist/cli/{executions-3KJXWIGK.js → executions-WUBVVJXN.js} +8 -8
  65. package/dist/cli/{feedback-3MSNFC6M.js → feedback-6KAY4LE6.js} +8 -8
  66. package/dist/cli/{feedback-GJNATGAP.mjs → feedback-QI75ZVF2.mjs} +4 -4
  67. package/dist/cli/{git-5BWKZFNE.mjs → git-3PI2SXVS.mjs} +5 -5
  68. package/dist/cli/git-DCADFTQ6.js +25 -0
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-BNEVRTQT.js} +8 -8
  72. package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
  73. package/dist/cli/{monitors-24QFIRCI.mjs → monitors-BYQ5V5MX.mjs} +7 -7
  74. package/dist/cli/{monitors-T5RMXFKT.js → monitors-WRWVVXUZ.js} +91 -91
  75. package/dist/cli/{org-3JJQOXLF.js → org-KWCSSJ3Y.js} +72 -72
  76. package/dist/cli/{org-ZZPKJOQY.mjs → org-OZNDX3G2.mjs} +6 -6
  77. package/dist/cli/{pages-ZFCV37XK.mjs → pages-DXU3TNND.mjs} +6 -6
  78. package/dist/cli/{pages-3GK3SKKB.js → pages-OQVOMVF5.js} +17 -17
  79. package/dist/cli/{play-4MINBQNW.js → play-6D7U66KO.js} +312 -312
  80. package/dist/cli/{play-DX36FVSU.mjs → play-ZFG4HDDX.mjs} +17 -17
  81. package/dist/cli/{providers-Z4EYMZJM.mjs → providers-4RRQIK3Q.mjs} +6 -6
  82. package/dist/cli/{providers-YDQHY35D.js → providers-H7R3Z5HS.js} +9 -9
  83. package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-FQ5E5G6O.js} +6 -6
  84. package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-TFKRPMCH.mjs} +4 -4
  85. package/dist/cli/{run-OBU3YFOJ.mjs → run-GRCGGUUM.mjs} +30 -134
  86. package/dist/cli/{run-P345MQLC.js → run-QRDJTXKB.js} +44 -148
  87. package/dist/cli/search-2FB7WQUS.js +32 -0
  88. package/dist/cli/{search-5FBWOI2H.mjs → search-OEVSDE3U.mjs} +7 -7
  89. package/dist/cli/{search-output-WOTMZA55.js → search-output-F6KBWKT2.js} +6 -6
  90. package/dist/cli/{search-output-673LGTLF.mjs → search-output-VK5ZDVKL.mjs} +4 -4
  91. package/dist/cli/{secrets-QX45TZJK.mjs → secrets-DCRVVQV2.mjs} +6 -6
  92. package/dist/cli/{secrets-IWYY42YD.js → secrets-KKAAZENS.js} +15 -15
  93. package/dist/cli/{sessions-ZUK654NJ.js → sessions-FDHENJVG.js} +6 -6
  94. package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-XVBIXCXU.mjs} +5 -5
  95. package/dist/cli/{settings-ZXXP7DHM.js → settings-36HMWFAP.js} +78 -78
  96. package/dist/cli/{settings-6VY7HTEE.mjs → settings-OBVR52US.mjs} +11 -11
  97. package/dist/cli/{setup-SD66A4OE.mjs → setup-KFYQZYP3.mjs} +9 -9
  98. package/dist/cli/{setup-RE7T3PAE.js → setup-M6OWOPMB.js} +47 -47
  99. package/dist/cli/{skills-ARPNJ7MN.mjs → skills-AZDPA6IQ.mjs} +7 -7
  100. package/dist/cli/skills-URCPOKZZ.js +33 -0
  101. package/dist/cli/tools-4G5J5NQP.js +56 -0
  102. package/dist/cli/{tools-R3TUCRX3.mjs → tools-F6XEUK7H.mjs} +16 -16
  103. package/dist/cli/{update-2DPZJQK4.mjs → update-QMGJRICE.mjs} +9 -9
  104. package/dist/cli/update-UWVL2OYA.js +33 -0
  105. package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-L5WNCAPB.mjs} +7 -7
  106. package/dist/cli/{workflow-GIWX7OZC.js → workflow-M4YPUASM.js} +17 -17
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +5 -1
  111. package/dist/release.d.ts +5 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-Q4U7IFFV.js +0 -43
  118. package/dist/cli/describe-HLO35E5Y.js +0 -49
  119. package/dist/cli/git-WRFBKH6H.js +0 -25
  120. package/dist/cli/search-IV22OQLS.js +0 -32
  121. package/dist/cli/skills-ZDKFUVNP.js +0 -33
  122. package/dist/cli/tools-AUU42AVE.js +0 -56
  123. package/dist/cli/update-QLF3A6YY.js +0 -33
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDAXLSR65js = require('./chunk-DAXLSR65.js');
5
+ var _chunkGW6HV7Z7js = require('./chunk-GW6HV7Z7.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk75LPU4AOjs = require('./chunk-75LPU4AO.js');
9
+ var _chunkLM5UIDFAjs = require('./chunk-LM5UIDFA.js');
10
10
 
11
11
 
12
12
 
@@ -48,10 +48,10 @@ var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
48
48
  var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
49
49
 
50
50
 
51
- var _chunkBWXQIRPZjs = require('./chunk-BWXQIRPZ.js');
51
+ var _chunkF3TDT57Mjs = require('./chunk-F3TDT57M.js');
52
52
 
53
53
 
54
- var _chunkXVSMWD6Ejs = require('./chunk-XVSMWD6E.js');
54
+ var _chunk5DEJ3TLBjs = require('./chunk-5DEJ3TLB.js');
55
55
 
56
56
 
57
57
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -61,18 +61,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
61
61
 
62
62
 
63
63
 
64
- var _chunkTDUPHVI2js = require('./chunk-TDUPHVI2.js');
64
+ var _chunkDY7T6VNTjs = require('./chunk-DY7T6VNT.js');
65
65
 
66
66
 
67
67
 
68
68
 
69
- var _chunkHKK3NTTFjs = require('./chunk-HKK3NTTF.js');
69
+ var _chunkYSB44HZBjs = require('./chunk-YSB44HZB.js');
70
70
 
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
75
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
76
76
 
77
77
 
78
78
 
@@ -80,12 +80,12 @@ var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
80
80
 
81
81
 
82
82
 
83
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
83
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
84
84
 
85
85
 
86
86
 
87
87
 
88
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
88
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
89
89
 
90
90
 
91
91
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -191,10 +191,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
191
191
  }
192
192
  };
193
193
  function pendingToolExecutionPath(input) {
194
- const config = _chunkE2CSKE27js.resolveConfig.call(void 0, );
194
+ const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, );
195
195
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkXDVT3GOMjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
196
196
  return _path.join.call(void 0,
197
- _chunkE2CSKE27js.sdkCliStateDirPath.call(void 0, config.baseUrl),
197
+ _chunkUZ7VPOTAjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
198
198
  `${PENDING_PREFIX}${fingerprint}.json`
199
199
  );
200
200
  }
@@ -507,13 +507,13 @@ function categoryEnumerationRender(summaries) {
507
507
  };
508
508
  }
509
509
  async function listToolCategories(emitJson, compact) {
510
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
510
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
511
511
  if (!emitJson) {
512
512
  const summaries2 = (await client.listToolCategories()).map((category) => ({
513
513
  ...category,
514
514
  description: describeToolCategory(category.name)
515
515
  }));
516
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
516
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
517
517
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
518
518
  { json: false }
519
519
  );
@@ -523,7 +523,7 @@ async function listToolCategories(emitJson, compact) {
523
523
  const items = rawTools.map(toListedTool);
524
524
  const summaries = aggregateCategorySummaries(rawTools);
525
525
  const outputItems = compact ? items.map(compactTool) : items;
526
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
526
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
527
527
  {
528
528
  tools: outputItems,
529
529
  count: outputItems.length,
@@ -542,7 +542,7 @@ function unknownCategoryError(category, summaries, emitJson) {
542
542
  const known = summaries.map((item) => item.name);
543
543
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
544
544
  if (emitJson) {
545
- _chunkWXEAAVBKjs.printJson.call(void 0, {
545
+ _chunkRI2PLVD4js.printJson.call(void 0, {
546
546
  ok: false,
547
547
  exitCode: 4,
548
548
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -556,13 +556,13 @@ function unknownCategoryError(category, summaries, emitJson) {
556
556
  const render = categoryEnumerationRender(summaries);
557
557
  console.error(message);
558
558
  console.error("");
559
- console.error(_chunkWXEAAVBKjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
559
+ console.error(_chunkRI2PLVD4js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
560
560
  console.error("");
561
561
  console.error(`Valid categories: ${known.join(", ")}`);
562
562
  return 4;
563
563
  }
564
564
  async function listToolsInCategory(category, emitJson) {
565
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
565
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
566
566
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
567
567
  const summaries = categories.map((item) => ({
568
568
  ...item,
@@ -598,7 +598,7 @@ async function listToolsInCategory(category, emitJson) {
598
598
  }
599
599
  ]
600
600
  };
601
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
601
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
602
602
  {
603
603
  category,
604
604
  total: rows.length,
@@ -611,7 +611,7 @@ async function listToolsInCategory(category, emitJson) {
611
611
  return 0;
612
612
  }
613
613
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
614
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
614
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
615
615
  const items = (await client.listTools({
616
616
  categories: requestedCategories.join(","),
617
617
  compact
@@ -640,7 +640,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
640
640
  ]
641
641
  };
642
642
  const outputItems = compact ? items.map(compactTool) : items;
643
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
643
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
644
644
  {
645
645
  tools: outputItems,
646
646
  count: outputItems.length,
@@ -659,13 +659,13 @@ async function listTools(category, options = {}) {
659
659
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
660
660
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
661
661
  const compact = options.compact !== false;
662
- const emitJson = options.json === true || _chunkWXEAAVBKjs.shouldEmitJson.call(void 0, );
662
+ const emitJson = options.json === true || _chunkRI2PLVD4js.shouldEmitJson.call(void 0, );
663
663
  if (positional && flagCategories.length > 0) {
664
664
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
665
665
  if (!flagIsSameSingle) {
666
666
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
667
667
  if (emitJson) {
668
- _chunkWXEAAVBKjs.printJson.call(void 0, {
668
+ _chunkRI2PLVD4js.printJson.call(void 0, {
669
669
  ok: false,
670
670
  exitCode: 2,
671
671
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -692,7 +692,7 @@ async function grepTools(queryInput, options = {}) {
692
692
  console.error("Usage: deepline tools grep <query> [--json]");
693
693
  return 1;
694
694
  }
695
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
695
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
696
696
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
697
697
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
698
698
  const jsonOutput = options.json === true;
@@ -716,7 +716,7 @@ async function grepTools(queryInput, options = {}) {
716
716
  query,
717
717
  mode
718
718
  }) : null;
719
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
719
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
720
720
  {
721
721
  tools: outputTools,
722
722
  count: outputTools.length,
@@ -734,7 +734,7 @@ async function grepTools(queryInput, options = {}) {
734
734
  } : {},
735
735
  commandTemplates: TOOL_COMMAND_TEMPLATES
736
736
  },
737
- { json: options.json || _chunkWXEAAVBKjs.shouldEmitJson.call(void 0, ) }
737
+ { json: options.json || _chunkRI2PLVD4js.shouldEmitJson.call(void 0, ) }
738
738
  );
739
739
  return 0;
740
740
  }
@@ -845,7 +845,7 @@ Output:
845
845
  if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
846
846
  throw new Error("Use --preset or individual scopes, not both.");
847
847
  const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
848
- const result2 = await new (0, _chunkBWXQIRPZjs.DeeplineClient)().startIntegrationOAuth(
848
+ const result2 = await new (0, _chunkF3TDT57Mjs.DeeplineClient)().startIntegrationOAuth(
849
849
  provider,
850
850
  {
851
851
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -857,7 +857,7 @@ Output:
857
857
  throw new Error(
858
858
  "The API did not return an OAuth authorization URL."
859
859
  );
860
- if (_chunkWXEAAVBKjs.shouldEmitJson.call(void 0, options.json))
860
+ if (_chunkRI2PLVD4js.shouldEmitJson.call(void 0, options.json))
861
861
  console.log(
862
862
  JSON.stringify({ provider, redirect_url: result2.redirect_url })
863
863
  );
@@ -883,7 +883,7 @@ Output:
883
883
  "--credentials-file must contain a nonempty JSON object of string credential values."
884
884
  );
885
885
  }
886
- const result = await new (0, _chunkBWXQIRPZjs.DeeplineClient)().setIntegrationCredentials(
886
+ const result = await new (0, _chunkF3TDT57Mjs.DeeplineClient)().setIntegrationCredentials(
887
887
  provider,
888
888
  credentials
889
889
  );
@@ -893,7 +893,7 @@ Output:
893
893
  );
894
894
  }
895
895
  const confirmation = { provider, credential_saved: true };
896
- if (_chunkWXEAAVBKjs.shouldEmitJson.call(void 0, options.json))
896
+ if (_chunkRI2PLVD4js.shouldEmitJson.call(void 0, options.json))
897
897
  console.log(JSON.stringify(confirmation));
898
898
  else
899
899
  console.log(
@@ -933,7 +933,7 @@ Examples:
933
933
  json: Boolean(options.json)
934
934
  });
935
935
  });
936
- _chunk75LPU4AOjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
936
+ _chunkLM5UIDFAjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
937
937
  tools.command("grep <query>").description(
938
938
  "Regex grep over tool ids, descriptions, categories, and input fields."
939
939
  ).addHelpText(
@@ -968,7 +968,7 @@ Examples:
968
968
  });
969
969
  const addToolMetadataCommand = (command) => {
970
970
  let compatibilityMetadata;
971
- _chunkTDUPHVI2js.registerCompatibilityCatalog.call(void 0, command, () => ({
971
+ _chunkDY7T6VNTjs.registerCompatibilityCatalog.call(void 0, command, () => ({
972
972
  toolId: command.args[0],
973
973
  acceptMetadata: (metadata) => {
974
974
  compatibilityMetadata = metadata;
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-HLO35E5Y.js")));
1041
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-2V7H5LJP.js")));
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -1053,7 +1053,7 @@ Examples:
1053
1053
  });
1054
1054
  };
1055
1055
  addToolMetadataCommand(
1056
- _chunkDAXLSR65js.addDescribeOptions.call(void 0,
1056
+ _chunkGW6HV7Z7js.addDescribeOptions.call(void 0,
1057
1057
  tools.command("describe <toolId>", { hidden: true }).alias("get"),
1058
1058
  { json: false }
1059
1059
  )
@@ -1122,7 +1122,7 @@ Examples:
1122
1122
  options,
1123
1123
  void 0,
1124
1124
  true,
1125
- _chunkHKK3NTTFjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1125
+ _chunkYSB44HZBjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1126
1126
  );
1127
1127
  }
1128
1128
  );
@@ -1130,13 +1130,13 @@ Examples:
1130
1130
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1131
1131
  let metadata;
1132
1132
  const startedAt = performance.now();
1133
- const baseUrl = _chunkE2CSKE27js.resolveConfig.call(void 0, ).baseUrl;
1134
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
- const result = _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
1133
+ const baseUrl = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, ).baseUrl;
1134
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
+ const result = _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
1136
1136
  "SDK compatibility",
1137
- () => _chunkFMN7S7KBjs.checkSdkCompatibility.call(void 0, baseUrl, {
1137
+ () => _chunkUI67QLIRjs.checkSdkCompatibility.call(void 0, baseUrl, {
1138
1138
  command: "tools execute",
1139
- skillsVersion: _chunkE2CSKE27js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1139
+ skillsVersion: _chunkUZ7VPOTAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1140
1140
  persistCache: false,
1141
1141
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1142
1142
  catalog: {
@@ -1150,7 +1150,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1150
1150
  })
1151
1151
  ).then(
1152
1152
  (compatibility) => {
1153
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, {
1153
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, {
1154
1154
  phase: "cli.tool_execute_compatibility_ready",
1155
1155
  ms: performance.now() - startedAt,
1156
1156
  ok: compatibility.error === null,
@@ -1159,7 +1159,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1159
1159
  return compatibility;
1160
1160
  },
1161
1161
  (error) => {
1162
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, {
1162
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, {
1163
1163
  phase: "cli.tool_execute_compatibility_ready",
1164
1164
  ms: performance.now() - startedAt,
1165
1165
  ok: false
@@ -1174,7 +1174,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1174
1174
  console.error("Usage: deepline tools describe <toolId> [--json]");
1175
1175
  return 1;
1176
1176
  }
1177
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
1177
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
1178
1178
  let tool;
1179
1179
  try {
1180
1180
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1228,7 +1228,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1228
1228
  const lines = toolPricingOnlyLines(tool, toolId);
1229
1229
  if (inferenceQuote)
1230
1230
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1231
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
1231
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
1232
1232
  {
1233
1233
  toolId: String(tool.toolId || toolId),
1234
1234
  cost: _chunkXK5DMLZEjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1251,7 +1251,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1251
1251
  void 0,
1252
1252
  seedToolListScript
1253
1253
  );
1254
- _chunkWXEAAVBKjs.printCompactJson.call(void 0, {
1254
+ _chunkRI2PLVD4js.printCompactJson.call(void 0, {
1255
1255
  toolId: contract.toolId,
1256
1256
  ...options.schemaOnly ? {
1257
1257
  inputSchema: contract.inputSchema,
@@ -1274,7 +1274,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1274
1274
  return 0;
1275
1275
  }
1276
1276
  if (options.contractJson) {
1277
- _chunkWXEAAVBKjs.printCompactJson.call(void 0, {
1277
+ _chunkRI2PLVD4js.printCompactJson.call(void 0, {
1278
1278
  ..._chunkLOX3BISDjs.toolContractJsonForDescribe.call(void 0,
1279
1279
  tool,
1280
1280
  toolId,
@@ -1288,7 +1288,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1288
1288
  }
1289
1289
  const emitJson = options.json === true;
1290
1290
  if (emitJson) {
1291
- _chunkWXEAAVBKjs.printCompactJson.call(void 0, {
1291
+ _chunkRI2PLVD4js.printCompactJson.call(void 0, {
1292
1292
  ..._chunkLOX3BISDjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1293
1293
  ...modelDescription ? { modelOptions: modelDescription } : {},
1294
1294
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2148,7 +2148,7 @@ function parseExecuteOptions(toolId, options, output) {
2148
2148
  outputFormat = normalizeOutputFormat(options.outputFormat);
2149
2149
  }
2150
2150
  if (options.idempotencyKey !== void 0) {
2151
- _chunkXVSMWD6Ejs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2151
+ _chunk5DEJ3TLBjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2152
2152
  }
2153
2153
  if (options.recoveryTimeoutMs !== void 0) {
2154
2154
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2527,7 +2527,7 @@ function writeToolReceipt(input) {
2527
2527
  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;
2528
2528
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2529
2529
  const charged = _chunkLOX3BISDjs.recordField.call(void 0, envelope, "billing").credits_charged;
2530
- _chunkDAXLSR65js.writeExecutionOutput.call(void 0,
2530
+ _chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
2531
2531
  {
2532
2532
  id: _nullishCoalesce(input.key, () => ( jobId)),
2533
2533
  status,
@@ -2558,8 +2558,8 @@ async function executeToolForReceipt(input) {
2558
2558
  let retryKey = null;
2559
2559
  let received = false;
2560
2560
  try {
2561
- const cliInvocationId = _nullishCoalesce(_chunkTDUPHVI2js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkTDUPHVI2js.beginToolExecuteCommand.call(void 0, )));
2562
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
2561
+ const cliInvocationId = _nullishCoalesce(_chunkDY7T6VNTjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkDY7T6VNTjs.beginToolExecuteCommand.call(void 0, )));
2562
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
2563
2563
  const metadata = assertExecutableToolMetadata(
2564
2564
  toolId,
2565
2565
  await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })))
@@ -2580,9 +2580,9 @@ async function executeToolForReceipt(input) {
2580
2580
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2581
2581
  ..._optionalChain([metadata, 'access', _35 => _35.executionMetadata, 'optionalAccess', _36 => _36.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2582
2582
  ...key ? { idempotencyKey: key } : {},
2583
- searchRef: _chunk75LPU4AOjs.recentSearchRef.call(void 0, ),
2583
+ searchRef: _chunkLM5UIDFAjs.recentSearchRef.call(void 0, ),
2584
2584
  cliInvocationId,
2585
- onResponseReceived: _chunkDAXLSR65js.recordApiResponse
2585
+ onResponseReceived: _chunkGW6HV7Z7js.recordApiResponse
2586
2586
  }).catch((error) => {
2587
2587
  const guidance = toolGuidanceLines(metadata.guidance);
2588
2588
  if (guidance.length)
@@ -2605,7 +2605,7 @@ async function executeToolForReceipt(input) {
2605
2605
  if (received) throw error;
2606
2606
  const outcomeKnown = answeredWithFailure(error);
2607
2607
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _37 => _37.discard, 'call', _38 => _38()]);
2608
- _chunkDAXLSR65js.writeExecutionOutput.call(void 0,
2608
+ _chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
2609
2609
  {
2610
2610
  id: outcomeKnown ? null : key,
2611
2611
  status: "failed",
@@ -2629,11 +2629,11 @@ function answeredWithFailure(error) {
2629
2629
  error.statusCode !== 408 && error.code !== "EXECUTION_OUTCOME_UNKNOWN";
2630
2630
  }
2631
2631
  async function getToolExecutionReceipt(key, output) {
2632
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
2632
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
2633
2633
  const execution = await client.executions.getByKey(key);
2634
2634
  output.label = `${execution.toolId} (tool)`;
2635
2635
  if (execution.response === void 0) {
2636
- _chunkDAXLSR65js.writeExecutionOutput.call(void 0,
2636
+ _chunkGW6HV7Z7js.writeExecutionOutput.call(void 0,
2637
2637
  {
2638
2638
  id: key,
2639
2639
  status: execution.executionRecovery.state,
@@ -2662,19 +2662,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2662
2662
  parsed = parseExecuteOptions(toolId, options, output);
2663
2663
  } catch (error) {
2664
2664
  if (wantsJson) {
2665
- _chunkWXEAAVBKjs.printJsonError.call(void 0, error);
2665
+ _chunkRI2PLVD4js.printJsonError.call(void 0, error);
2666
2666
  } else {
2667
2667
  console.error(error instanceof Error ? error.message : String(error));
2668
2668
  }
2669
2669
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2670
2670
  }
2671
- const cliInvocationId = _nullishCoalesce(_chunkTDUPHVI2js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkTDUPHVI2js.beginToolExecuteCommand.call(void 0, )));
2671
+ const cliInvocationId = _nullishCoalesce(_chunkDY7T6VNTjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkDY7T6VNTjs.beginToolExecuteCommand.call(void 0, )));
2672
2672
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2673
- const tracing = _chunkHKK3NTTFjs.isCliTraceEnabled.call(void 0, );
2673
+ const tracing = _chunkYSB44HZBjs.isCliTraceEnabled.call(void 0, );
2674
2674
  const clientStartedAt = tracing ? performance.now() : void 0;
2675
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
2675
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
2676
2676
  if (clientStartedAt !== void 0) {
2677
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, {
2677
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, {
2678
2678
  phase: "cli.tool_execute_client_setup",
2679
2679
  ms: performance.now() - clientStartedAt
2680
2680
  });
@@ -2683,13 +2683,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2683
2683
  const readMetadata = async () => {
2684
2684
  if (metadata) return assertExecutableToolMetadata(parsed.toolId, metadata);
2685
2685
  try {
2686
- metadata = await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2686
+ metadata = await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2687
2687
  "tool metadata lookup",
2688
2688
  () => client.getTool(parsed.toolId, { cliInvocationId })
2689
2689
  );
2690
2690
  } catch (error) {
2691
2691
  if (isMissingToolMetadataError(error)) {
2692
- const play = await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2692
+ const play = await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2693
2693
  "play alias lookup",
2694
2694
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2695
2695
  );
@@ -2718,7 +2718,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2718
2718
  assertExecutableToolMetadata(parsed.toolId, metadata);
2719
2719
  } catch (error) {
2720
2720
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2721
- if (wantsJson) _chunkWXEAAVBKjs.printJsonError.call(void 0, error);
2721
+ if (wantsJson) _chunkRI2PLVD4js.printJsonError.call(void 0, error);
2722
2722
  else console.error(error.message);
2723
2723
  return 2;
2724
2724
  }
@@ -2730,7 +2730,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2730
2730
  metadata = await readMetadata();
2731
2731
  } catch (error) {
2732
2732
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2733
- if (wantsJson) _chunkWXEAAVBKjs.printJsonError.call(void 0, error);
2733
+ if (wantsJson) _chunkRI2PLVD4js.printJsonError.call(void 0, error);
2734
2734
  else console.error(error.message);
2735
2735
  return 2;
2736
2736
  }
@@ -2746,7 +2746,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2746
2746
  metadata = await readMetadata();
2747
2747
  } catch (error) {
2748
2748
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2749
- if (wantsJson) _chunkWXEAAVBKjs.printJsonError.call(void 0, error);
2749
+ if (wantsJson) _chunkRI2PLVD4js.printJsonError.call(void 0, error);
2750
2750
  else console.error(error.message);
2751
2751
  return 2;
2752
2752
  }
@@ -2772,11 +2772,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2772
2772
  responseIntent,
2773
2773
  ...idempotencyKey ? { idempotencyKey } : {},
2774
2774
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2775
- searchRef: _chunk75LPU4AOjs.recentSearchRef.call(void 0, ),
2775
+ searchRef: _chunkLM5UIDFAjs.recentSearchRef.call(void 0, ),
2776
2776
  cliInvocationId,
2777
- onResponseReceived: _chunkDAXLSR65js.recordApiResponse,
2777
+ onResponseReceived: _chunkGW6HV7Z7js.recordApiResponse,
2778
2778
  ...tracing ? {
2779
- onServerTiming: (serverTiming) => _chunkHKK3NTTFjs.recordCliTrace.call(void 0, {
2779
+ onServerTiming: (serverTiming) => _chunkYSB44HZBjs.recordCliTrace.call(void 0, {
2780
2780
  phase: "tool_execute_server_timing",
2781
2781
  cliInvocationId,
2782
2782
  serverTiming,
@@ -2787,13 +2787,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2787
2787
  let rawResponse;
2788
2788
  let successfulCompatibilityResponse;
2789
2789
  try {
2790
- const executeResult = await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2790
+ const executeResult = await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2791
2791
  "execute request",
2792
2792
  async () => {
2793
2793
  try {
2794
2794
  if (tracing) {
2795
2795
  submissionStartedAt = performance.now();
2796
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2796
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2797
2797
  }
2798
2798
  return await client.executeTool(parsed.toolId, parsed.params, {
2799
2799
  ...executeOptions,
@@ -2803,34 +2803,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2803
2803
  } catch (error) {
2804
2804
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2805
2805
  throw error;
2806
- const baseUrl = _chunkE2CSKE27js.resolveConfig.call(void 0, ).baseUrl;
2806
+ const baseUrl = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, ).baseUrl;
2807
2807
  if (maintenancePolicy !== "off") {
2808
- _chunkFMN7S7KBjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2808
+ _chunkUI67QLIRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2809
2809
  }
2810
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2810
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2811
2811
  "SDK compatibility",
2812
- () => _chunkFMN7S7KBjs.checkSdkCompatibility.call(void 0, baseUrl, {
2812
+ () => _chunkUI67QLIRjs.checkSdkCompatibility.call(void 0, baseUrl, {
2813
2813
  command: "tools execute",
2814
- skillsVersion: _chunkE2CSKE27js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2814
+ skillsVersion: _chunkUZ7VPOTAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2815
2815
  persistCache: maintenancePolicy !== "off"
2816
2816
  })
2817
2817
  );
2818
2818
  if (compatibility.error) throw compatibility.error;
2819
2819
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _44 => _44.readMetadata, 'call', _45 => _45()]), () => ( metadata));
2820
- if (maintenancePolicy !== "off" && await _chunkTDUPHVI2js.maybeAutoUpdateAndRelaunch.call(void 0,
2820
+ if (maintenancePolicy !== "off" && await _chunkDY7T6VNTjs.maybeAutoUpdateAndRelaunch.call(void 0,
2821
2821
  compatibility.response,
2822
2822
  baseUrl,
2823
2823
  maintenancePolicy
2824
2824
  )) {
2825
2825
  return void 0;
2826
2826
  }
2827
- _chunkFMN7S7KBjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2827
+ _chunkUI67QLIRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2828
2828
  quietAdvisory: wantsJson
2829
2829
  });
2830
2830
  if (maintenancePolicy !== "off") {
2831
- await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2831
+ await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2832
2832
  "agent skills sync",
2833
- () => _chunkFMN7S7KBjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2833
+ () => _chunkUI67QLIRjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2834
2834
  update: _optionalChain([compatibility, 'access', _46 => _46.response, 'optionalAccess', _47 => _47.skills]),
2835
2835
  mode: "detached"
2836
2836
  })
@@ -2839,7 +2839,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2839
2839
  const legacyMetadata = await readMetadata();
2840
2840
  if (tracing) {
2841
2841
  submissionStartedAt = performance.now();
2842
- _chunkHKK3NTTFjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2842
+ _chunkYSB44HZBjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2843
2843
  }
2844
2844
  return client.executeTool(parsed.toolId, parsed.params, {
2845
2845
  ...executeOptions,
@@ -2862,8 +2862,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2862
2862
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2863
2863
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2864
2864
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2865
- const baseUrl = _chunkE2CSKE27js.resolveConfig.call(void 0, ).baseUrl;
2866
- if (await _chunkTDUPHVI2js.maybeAutoUpdateAndRelaunch.call(void 0,
2865
+ const baseUrl = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, ).baseUrl;
2866
+ if (await _chunkDY7T6VNTjs.maybeAutoUpdateAndRelaunch.call(void 0,
2867
2867
  compatibility.response,
2868
2868
  baseUrl,
2869
2869
  maintenancePolicy
@@ -2887,7 +2887,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2887
2887
  }
2888
2888
  }
2889
2889
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2890
- if (wantsJson) _chunkWXEAAVBKjs.printJsonError.call(void 0, failure);
2890
+ if (wantsJson) _chunkRI2PLVD4js.printJsonError.call(void 0, failure);
2891
2891
  else console.error(failure.message);
2892
2892
  return 2;
2893
2893
  }
@@ -2914,9 +2914,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2914
2914
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2915
2915
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _54 => _54.auto_update]);
2916
2916
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _55 => _55.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2917
- await _chunkTDUPHVI2js.maybeAutoUpdateAndRelaunch.call(void 0,
2917
+ await _chunkDY7T6VNTjs.maybeAutoUpdateAndRelaunch.call(void 0,
2918
2918
  compatibilityResponse,
2919
- _chunkE2CSKE27js.resolveConfig.call(void 0, ).baseUrl,
2919
+ _chunkUZ7VPOTAjs.resolveConfig.call(void 0, ).baseUrl,
2920
2920
  maintenancePolicy
2921
2921
  );
2922
2922
  }
@@ -2951,7 +2951,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2951
2951
  const { _metadata, ...execution } = rawResponse;
2952
2952
  rawResponse = execution;
2953
2953
  }
2954
- const { listConversion, summary, baseEnvelope } = await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2954
+ const { listConversion, summary, baseEnvelope } = await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2955
2955
  "result formatting",
2956
2956
  async () => {
2957
2957
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2986,9 +2986,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2986
2986
  }
2987
2987
  skillsSyncAttempted = true;
2988
2988
  try {
2989
- await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
2989
+ await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
2990
2990
  "agent skills sync",
2991
- () => _chunkFMN7S7KBjs.syncSdkSkillsIfNeeded.call(void 0, _chunkE2CSKE27js.resolveConfig.call(void 0, ).baseUrl, {
2991
+ () => _chunkUI67QLIRjs.syncSdkSkillsIfNeeded.call(void 0, _chunkUZ7VPOTAjs.resolveConfig.call(void 0, ).baseUrl, {
2992
2992
  update: deliveredCompatibilityResponse.skills,
2993
2993
  mode: "detached"
2994
2994
  })
@@ -2999,15 +2999,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2999
2999
  );
3000
3000
  }
3001
3001
  };
3002
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, envelope, {
3002
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, envelope, {
3003
3003
  ...options2,
3004
3004
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
3005
3005
  });
3006
3006
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
3007
3007
  await syncSkillsForDeliveredOutput();
3008
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3008
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
3009
3009
  };
3010
- const delivered = await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0, "output delivery", async () => {
3010
+ const delivered = await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
3011
3011
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3012
3012
  await printDeliveredJsonEnvelope(baseEnvelope);
3013
3013
  return true;
@@ -3036,7 +3036,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3036
3036
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3037
3037
  );
3038
3038
  if (wantsJson) {
3039
- _chunkWXEAAVBKjs.printJsonError.call(void 0, error);
3039
+ _chunkRI2PLVD4js.printJsonError.call(void 0, error);
3040
3040
  } else {
3041
3041
  console.error(error.message);
3042
3042
  }
@@ -3131,13 +3131,13 @@ inspect: ${inspection.inspect}
3131
3131
  return true;
3132
3132
  });
3133
3133
  if (delivered) {
3134
- await _chunkTDUPHVI2js.runToolExecuteStage.call(void 0,
3134
+ await _chunkDY7T6VNTjs.runToolExecuteStage.call(void 0,
3135
3135
  "acknowledge delivery",
3136
3136
  () => recovery.acknowledgeDelivery()
3137
3137
  );
3138
3138
  }
3139
3139
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3140
- _chunkFMN7S7KBjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3140
+ _chunkUI67QLIRjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3141
3141
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _58 => _58.auto_update, 'optionalAccess', _59 => _59.should_auto_update]) === true
3142
3142
  });
3143
3143
  }