deepline 0.3.482 → 0.3.483

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 (121) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-R5GFDAMI.mjs → auth-2NXF6Q3Q.mjs} +5 -5
  3. package/dist/cli/auth-JHQKM6QY.js +43 -0
  4. package/dist/cli/{billing-DXKVQPTC.js → billing-5PW4L5WD.js} +79 -79
  5. package/dist/cli/{billing-SO5SFQFC.mjs → billing-W2Y4EOZP.mjs} +6 -6
  6. package/dist/cli/{chunk-DYHBKFCW.mjs → chunk-25IGCYJP.mjs} +3 -3
  7. package/dist/cli/{chunk-3EN2BLAS.js → chunk-2JWG2H2N.js} +1 -1
  8. package/dist/cli/{chunk-Y4Y2QUFL.js → chunk-2MKX3HV3.js} +5 -5
  9. package/dist/cli/{chunk-LKFQERA6.js → chunk-2T4OSJEH.js} +21 -21
  10. package/dist/cli/{chunk-JLI7SK55.mjs → chunk-4X23YY2E.mjs} +5 -5
  11. package/dist/cli/chunk-5AEDYVB6.mjs +6 -0
  12. package/dist/cli/{chunk-SFZCKYTD.js → chunk-5ICAG4RE.js} +9 -9
  13. package/dist/cli/{chunk-UVU4OCYO.js → chunk-5JCXS4MP.js} +5 -5
  14. package/dist/cli/{chunk-OVSSKTXG.js → chunk-5LHU7NUS.js} +3 -3
  15. package/dist/cli/{chunk-DZRHML3J.js → chunk-62XGOB2D.js} +26 -26
  16. package/dist/cli/{chunk-NXTZ4UNI.js → chunk-75IIHFN6.js} +4 -4
  17. package/dist/cli/{chunk-LVOEZVDW.mjs → chunk-7APXZ3CX.mjs} +2 -2
  18. package/dist/cli/{chunk-M6B2OZGA.js → chunk-7TKLISLM.js} +3 -3
  19. package/dist/cli/{chunk-RCWBWM5J.mjs → chunk-AWAFYRFV.mjs} +1 -1
  20. package/dist/cli/{chunk-RLYJ4O6Q.js → chunk-B7HQL77V.js} +53 -53
  21. package/dist/cli/{chunk-RLG2MNXH.mjs → chunk-C3LJSOQ6.mjs} +4 -4
  22. package/dist/cli/chunk-D3BCSAN7.js +6 -0
  23. package/dist/cli/{chunk-AEMPAR6L.js → chunk-DS455RPF.js} +3 -3
  24. package/dist/cli/{chunk-G7N2DYQL.mjs → chunk-EDMCD7MX.mjs} +5 -5
  25. package/dist/cli/{chunk-QCIG6V26.mjs → chunk-EGHYGTJM.mjs} +1 -1
  26. package/dist/cli/{chunk-LMLN7R7X.mjs → chunk-FAZTLYJO.mjs} +2 -2
  27. package/dist/cli/{chunk-EC2QPBSZ.mjs → chunk-FGEC5SWP.mjs} +4 -4
  28. package/dist/cli/{chunk-5MHCTVMM.mjs → chunk-FK47YUPC.mjs} +1 -1
  29. package/dist/cli/{chunk-Y6OKWGAM.mjs → chunk-GGJQ4HJW.mjs} +2 -2
  30. package/dist/cli/{chunk-OO6HA5OT.js → chunk-GONUMUBM.js} +7 -7
  31. package/dist/cli/{chunk-BK3XMHPF.mjs → chunk-GRE3ID5E.mjs} +1 -1
  32. package/dist/cli/{chunk-SKBXTN5F.mjs → chunk-IEV5UWPN.mjs} +1 -1
  33. package/dist/cli/chunk-ISP7ZENV.mjs +200 -0
  34. package/dist/cli/{chunk-7SZUHFJ6.mjs → chunk-J7S3DJB4.mjs} +2 -2
  35. package/dist/cli/{chunk-AJT436SK.mjs → chunk-JJSLEMQQ.mjs} +1 -1
  36. package/dist/cli/{chunk-2KC3MJP5.mjs → chunk-JYEZ6BWX.mjs} +2 -2
  37. package/dist/cli/{chunk-BHID34HA.js → chunk-MYB6JVSD.js} +16 -16
  38. package/dist/cli/{chunk-AZRG5NWV.mjs → chunk-NREZRYPU.mjs} +2 -2
  39. package/dist/cli/{chunk-4V34YMLU.js → chunk-PHDEQ6W3.js} +6 -6
  40. package/dist/cli/{chunk-FKGA7VKL.mjs → chunk-PRL7EKJZ.mjs} +4 -4
  41. package/dist/cli/{chunk-YT6GV6RP.js → chunk-QSYA6VE4.js} +2 -2
  42. package/dist/cli/{chunk-FUVJPW7O.js → chunk-R2OR4RHV.js} +8 -8
  43. package/dist/cli/{chunk-DM7APZWK.mjs → chunk-S24CK3CJ.mjs} +2 -2
  44. package/dist/cli/{chunk-KDJZXX7I.mjs → chunk-SCPFOH5Z.mjs} +1 -1
  45. package/dist/cli/{chunk-6NF7S5WY.js → chunk-T5GZZJ7O.js} +6 -6
  46. package/dist/cli/{chunk-HYS35M6H.mjs → chunk-UDF2CY4D.mjs} +10 -10
  47. package/dist/cli/{chunk-ETJSPSOQ.js → chunk-UGBZ6MCR.js} +2 -2
  48. package/dist/cli/{chunk-MFNEJOQG.js → chunk-UY7OXFVU.js} +10 -10
  49. package/dist/cli/{chunk-2ZIUCN5I.js → chunk-VFEW53L5.js} +93 -93
  50. package/dist/cli/{chunk-VU2PUAEH.js → chunk-WI2HNYQX.js} +53 -53
  51. package/dist/cli/{chunk-AZUDSDZX.js → chunk-WKB6Y43W.js} +37 -37
  52. package/dist/cli/chunk-XRIQN6EP.js +200 -0
  53. package/dist/cli/{chunk-FQFAWIRK.mjs → chunk-YL64JIQ7.mjs} +1 -1
  54. package/dist/cli/{csv-IC3XJ4PV.mjs → csv-DIFVIR23.mjs} +4 -4
  55. package/dist/cli/{csv-UWFQLI3K.js → csv-EKEFLUIW.js} +13 -13
  56. package/dist/cli/{db-RIPJQYF3.mjs → db-DOW4EVEU.mjs} +6 -6
  57. package/dist/cli/{db-PT73YDEP.js → db-S7DDRUHX.js} +27 -27
  58. package/dist/cli/{describe-GHI2MTDW.mjs → describe-KSZFOWKV.mjs} +18 -17
  59. package/dist/cli/describe-RXYQCJRR.js +49 -0
  60. package/dist/cli/{executions-QUOWVXCU.js → executions-3DU5IXB6.js} +8 -8
  61. package/dist/cli/{executions-XUJBZF5H.mjs → executions-CAG7YC5K.mjs} +6 -6
  62. package/dist/cli/{feedback-JOZ7QNGH.mjs → feedback-BQMPTE47.mjs} +4 -4
  63. package/dist/cli/{feedback-UDZ7BFB3.js → feedback-I65JMCP2.js} +8 -8
  64. package/dist/cli/git-ADIABNMQ.js +25 -0
  65. package/dist/cli/{git-O67OED4L.mjs → git-UQUCD7XZ.mjs} +5 -5
  66. package/dist/cli/index.js +138 -138
  67. package/dist/cli/index.mjs +42 -42
  68. package/dist/cli/{legacy-noops-T2G2TKO2.mjs → legacy-noops-JXKLHUI3.mjs} +5 -5
  69. package/dist/cli/{legacy-noops-ZFD6Z2ID.js → legacy-noops-OLNT2BG5.js} +8 -8
  70. package/dist/cli/{monitors-WSH4I37O.mjs → monitors-DLTHHAFQ.mjs} +7 -7
  71. package/dist/cli/{monitors-QPWEWJW7.js → monitors-Z5X56AZN.js} +91 -91
  72. package/dist/cli/{org-FVM465Q4.mjs → org-6EZZHD3M.mjs} +6 -6
  73. package/dist/cli/{org-PZOFC4P3.js → org-XBHJLKUG.js} +72 -72
  74. package/dist/cli/{pages-A5SLKL6L.mjs → pages-MYXROSVK.mjs} +6 -6
  75. package/dist/cli/{pages-UMDOU2WF.js → pages-XVJ34SCN.js} +17 -17
  76. package/dist/cli/{play-XKJLIZQE.mjs → play-5PV4LAHE.mjs} +26 -22
  77. package/dist/cli/{play-AFGL5D7B.js → play-ACC4T2XQ.js} +495 -491
  78. package/dist/cli/{providers-A2EIHS3P.mjs → providers-2DLUGIFF.mjs} +6 -6
  79. package/dist/cli/{providers-CQDRM62K.js → providers-JCI3KNE4.js} +9 -9
  80. package/dist/cli/{quickstart-BJ2XCUVV.mjs → quickstart-NSL3C76K.mjs} +4 -4
  81. package/dist/cli/{quickstart-NMJLH7T6.js → quickstart-PDSQEDLD.js} +6 -6
  82. package/dist/cli/{run-S4XTJADQ.js → run-UCFMHOQC.js} +37 -36
  83. package/dist/cli/{run-63I5M3ID.mjs → run-X5MXCM4P.mjs} +26 -25
  84. package/dist/cli/{search-DUIWWZ56.mjs → search-RPEMXV6N.mjs} +8 -8
  85. package/dist/cli/search-YILJZD36.js +32 -0
  86. package/dist/cli/{chunk-EDBQIPMG.mjs → search-output-6UO47B7G.mjs} +14 -194
  87. package/dist/cli/{chunk-UXQZLXHZ.js → search-output-MZH3HLVE.js} +14 -194
  88. package/dist/cli/{secrets-FK4PQJ6U.mjs → secrets-NLEQURD3.mjs} +6 -6
  89. package/dist/cli/{secrets-Q6QEWCAT.js → secrets-UFBASYGY.js} +15 -15
  90. package/dist/cli/{sessions-QJSN6AUL.mjs → sessions-3ALFLWVU.mjs} +5 -5
  91. package/dist/cli/{sessions-KF6JPKFK.js → sessions-JYH4DBEE.js} +6 -6
  92. package/dist/cli/{settings-PIKGA5PF.js → settings-MQYKNAMB.js} +78 -78
  93. package/dist/cli/{settings-UIQP5ERC.mjs → settings-YPRILREA.mjs} +11 -11
  94. package/dist/cli/{setup-ROKA4M5X.js → setup-5IGSHH4E.js} +47 -47
  95. package/dist/cli/{setup-4CALCNAA.mjs → setup-DK4GM227.mjs} +9 -9
  96. package/dist/cli/skills-I4IUZN3U.js +33 -0
  97. package/dist/cli/{skills-SQKRC7W4.mjs → skills-KYBZH3IT.mjs} +7 -7
  98. package/dist/cli/{tools-B6J53QS2.mjs → tools-4B2MHNBN.mjs} +17 -16
  99. package/dist/cli/tools-NLZR7ABS.js +56 -0
  100. package/dist/cli/update-RVDEUJTE.js +33 -0
  101. package/dist/cli/{update-MVKCAJJV.mjs → update-S6VEO7NB.mjs} +9 -9
  102. package/dist/cli/{workflow-VH2H4VS3.js → workflow-FU2XVPUK.js} +17 -17
  103. package/dist/cli/{workflow-3BO5WPZO.mjs → workflow-KXZZYFEF.mjs} +7 -7
  104. package/dist/index.js +10 -10
  105. package/dist/index.mjs +10 -10
  106. package/dist/install-integrity.json +100 -96
  107. package/dist/plays/bundle-play-file.mjs +6 -6
  108. package/dist/release.d.mts +1 -1
  109. package/dist/release.d.ts +1 -1
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/dist/server.js +5 -5
  113. package/dist/server.mjs +3 -3
  114. package/package.json +1 -1
  115. package/dist/cli/auth-Q5VRDGL4.js +0 -43
  116. package/dist/cli/describe-72RFB7RS.js +0 -48
  117. package/dist/cli/git-A6SU7ITW.js +0 -25
  118. package/dist/cli/search-ACCI4VYH.js +0 -32
  119. package/dist/cli/skills-GZQSDPZX.js +0 -33
  120. package/dist/cli/tools-5C7ZVTDG.js +0 -55
  121. package/dist/cli/update-PR4QP7JN.js +0 -33
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkM6B2OZGAjs = require('./chunk-M6B2OZGA.js');
5
+ var _chunk7TKLISLMjs = require('./chunk-7TKLISLM.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkUXQZLXHZjs = require('./chunk-UXQZLXHZ.js');
9
+ var _chunkXRIQN6EPjs = require('./chunk-XRIQN6EP.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 _chunkY4Y2QUFLjs = require('./chunk-Y4Y2QUFL.js');
51
+ var _chunk2MKX3HV3js = require('./chunk-2MKX3HV3.js');
52
52
 
53
53
 
54
- var _chunk6NF7S5WYjs = require('./chunk-6NF7S5WY.js');
54
+ var _chunkT5GZZJ7Ojs = require('./chunk-T5GZZJ7O.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 _chunkLKFQERA6js = require('./chunk-LKFQERA6.js');
64
+ var _chunk2T4OSJEHjs = require('./chunk-2T4OSJEH.js');
65
65
 
66
66
 
67
67
 
68
68
 
69
- var _chunkYT6GV6RPjs = require('./chunk-YT6GV6RP.js');
69
+ var _chunkQSYA6VE4js = require('./chunk-QSYA6VE4.js');
70
70
 
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkRLYJ4O6Qjs = require('./chunk-RLYJ4O6Q.js');
75
+ var _chunkB7HQL77Vjs = require('./chunk-B7HQL77V.js');
76
76
 
77
77
 
78
78
 
@@ -80,12 +80,12 @@ var _chunkRLYJ4O6Qjs = require('./chunk-RLYJ4O6Q.js');
80
80
 
81
81
 
82
82
 
83
- var _chunkOO6HA5OTjs = require('./chunk-OO6HA5OT.js');
83
+ var _chunkGONUMUBMjs = require('./chunk-GONUMUBM.js');
84
84
 
85
85
 
86
86
 
87
87
 
88
- var _chunkOVSSKTXGjs = require('./chunk-OVSSKTXG.js');
88
+ var _chunk5LHU7NUSjs = require('./chunk-5LHU7NUS.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 = _chunkOVSSKTXGjs.resolveConfig.call(void 0, );
194
+ const config = _chunk5LHU7NUSjs.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
- _chunkOVSSKTXGjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
197
+ _chunk5LHU7NUSjs.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, _chunkY4Y2QUFLjs.DeeplineClient)();
510
+ const client = new (0, _chunk2MKX3HV3js.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
516
+ _chunkGONUMUBMjs.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
526
+ _chunkGONUMUBMjs.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
- _chunkOO6HA5OTjs.printJson.call(void 0, {
545
+ _chunkGONUMUBMjs.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(_chunkOO6HA5OTjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
559
+ console.error(_chunkGONUMUBMjs.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, _chunkY4Y2QUFLjs.DeeplineClient)();
565
+ const client = new (0, _chunk2MKX3HV3js.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
601
+ _chunkGONUMUBMjs.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, _chunkY4Y2QUFLjs.DeeplineClient)();
614
+ const client = new (0, _chunk2MKX3HV3js.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
643
+ _chunkGONUMUBMjs.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 || _chunkOO6HA5OTjs.shouldEmitJson.call(void 0, );
662
+ const emitJson = options.json === true || _chunkGONUMUBMjs.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
- _chunkOO6HA5OTjs.printJson.call(void 0, {
668
+ _chunkGONUMUBMjs.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, _chunkY4Y2QUFLjs.DeeplineClient)();
695
+ const client = new (0, _chunk2MKX3HV3js.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
719
+ _chunkGONUMUBMjs.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 || _chunkOO6HA5OTjs.shouldEmitJson.call(void 0, ) }
737
+ { json: options.json || _chunkGONUMUBMjs.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, _chunkY4Y2QUFLjs.DeeplineClient)().startIntegrationOAuth(
848
+ const result2 = await new (0, _chunk2MKX3HV3js.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 (_chunkOO6HA5OTjs.shouldEmitJson.call(void 0, options.json))
860
+ if (_chunkGONUMUBMjs.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, _chunkY4Y2QUFLjs.DeeplineClient)().setIntegrationCredentials(
886
+ const result = await new (0, _chunk2MKX3HV3js.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 (_chunkOO6HA5OTjs.shouldEmitJson.call(void 0, options.json))
896
+ if (_chunkGONUMUBMjs.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
- _chunkUXQZLXHZjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
936
+ _chunkXRIQN6EPjs.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
- _chunkLKFQERA6js.registerCompatibilityCatalog.call(void 0, command, () => ({
971
+ _chunk2T4OSJEHjs.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-72RFB7RS.js")));
1041
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RXYQCJRR.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
- _chunkM6B2OZGAjs.addDescribeOptions.call(void 0,
1056
+ _chunk7TKLISLMjs.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
- _chunkYT6GV6RPjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1125
+ _chunkQSYA6VE4js.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 = _chunkOVSSKTXGjs.resolveConfig.call(void 0, ).baseUrl;
1134
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
- const result = _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
1133
+ const baseUrl = _chunk5LHU7NUSjs.resolveConfig.call(void 0, ).baseUrl;
1134
+ _chunkQSYA6VE4js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
+ const result = _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
1136
1136
  "SDK compatibility",
1137
- () => _chunkRLYJ4O6Qjs.checkSdkCompatibility.call(void 0, baseUrl, {
1137
+ () => _chunkB7HQL77Vjs.checkSdkCompatibility.call(void 0, baseUrl, {
1138
1138
  command: "tools execute",
1139
- skillsVersion: _chunkOVSSKTXGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1139
+ skillsVersion: _chunk5LHU7NUSjs.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
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, {
1153
+ _chunkQSYA6VE4js.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
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, {
1162
+ _chunkQSYA6VE4js.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, _chunkY4Y2QUFLjs.DeeplineClient)();
1177
+ const client = new (0, _chunk2MKX3HV3js.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
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0,
1231
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
1232
1232
  {
1233
1233
  toolId: String(tool.toolId || toolId),
1234
1234
  cost: _chunkZM2YPJQJjs.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
- _chunkOO6HA5OTjs.printCompactJson.call(void 0, {
1254
+ _chunkGONUMUBMjs.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
- _chunkOO6HA5OTjs.printCompactJson.call(void 0, {
1277
+ _chunkGONUMUBMjs.printCompactJson.call(void 0, {
1278
1278
  ..._chunk4IOY2SCQjs.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
- _chunkOO6HA5OTjs.printCompactJson.call(void 0, {
1291
+ _chunkGONUMUBMjs.printCompactJson.call(void 0, {
1292
1292
  ..._chunk4IOY2SCQjs.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
- _chunk6NF7S5WYjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2151
+ _chunkT5GZZJ7Ojs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2152
2152
  }
2153
2153
  if (options.recoveryTimeoutMs !== void 0) {
2154
2154
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2514,7 +2514,7 @@ function writeToolReceipt(input) {
2514
2514
  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;
2515
2515
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2516
2516
  const charged = _chunk4IOY2SCQjs.recordField.call(void 0, envelope, "billing").credits_charged;
2517
- _chunkM6B2OZGAjs.writeExecutionOutput.call(void 0,
2517
+ _chunk7TKLISLMjs.writeExecutionOutput.call(void 0,
2518
2518
  {
2519
2519
  id: _nullishCoalesce(input.key, () => ( jobId)),
2520
2520
  status,
@@ -2545,8 +2545,8 @@ async function executeToolForReceipt(input) {
2545
2545
  let retryKey = null;
2546
2546
  let received = false;
2547
2547
  try {
2548
- const cliInvocationId = _nullishCoalesce(_chunkLKFQERA6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkLKFQERA6js.beginToolExecuteCommand.call(void 0, )));
2549
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
2548
+ const cliInvocationId = _nullishCoalesce(_chunk2T4OSJEHjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk2T4OSJEHjs.beginToolExecuteCommand.call(void 0, )));
2549
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
2550
2550
  const metadata = await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })));
2551
2551
  printToolExecutionWarnings(toolId, params, metadata);
2552
2552
  const responseIntent = _optionalChain([output, 'access', _33 => _33.csvOut, 'optionalAccess', _34 => _34.length]) ? "row_artifact" : "raw";
@@ -2564,9 +2564,9 @@ async function executeToolForReceipt(input) {
2564
2564
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2565
2565
  ..._optionalChain([metadata, 'access', _35 => _35.executionMetadata, 'optionalAccess', _36 => _36.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2566
2566
  ...key ? { idempotencyKey: key } : {},
2567
- searchRef: _chunkUXQZLXHZjs.recentSearchRef.call(void 0, ),
2567
+ searchRef: _chunkXRIQN6EPjs.recentSearchRef.call(void 0, ),
2568
2568
  cliInvocationId,
2569
- onResponseReceived: _chunkM6B2OZGAjs.recordApiResponse
2569
+ onResponseReceived: _chunk7TKLISLMjs.recordApiResponse
2570
2570
  }).catch((error) => {
2571
2571
  const guidance = toolGuidanceLines(metadata.guidance);
2572
2572
  if (guidance.length)
@@ -2589,7 +2589,7 @@ async function executeToolForReceipt(input) {
2589
2589
  if (received) throw error;
2590
2590
  const outcomeKnown = answeredWithFailure(error);
2591
2591
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _37 => _37.discard, 'call', _38 => _38()]);
2592
- _chunkM6B2OZGAjs.writeExecutionOutput.call(void 0,
2592
+ _chunk7TKLISLMjs.writeExecutionOutput.call(void 0,
2593
2593
  {
2594
2594
  id: outcomeKnown ? null : key,
2595
2595
  status: "failed",
@@ -2613,11 +2613,11 @@ function answeredWithFailure(error) {
2613
2613
  error.statusCode !== 408 && error.code !== "EXECUTION_OUTCOME_UNKNOWN";
2614
2614
  }
2615
2615
  async function getToolExecutionReceipt(key, output) {
2616
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
2616
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
2617
2617
  const execution = await client.executions.getByKey(key);
2618
2618
  output.label = `${execution.toolId} (tool)`;
2619
2619
  if (execution.response === void 0) {
2620
- _chunkM6B2OZGAjs.writeExecutionOutput.call(void 0,
2620
+ _chunk7TKLISLMjs.writeExecutionOutput.call(void 0,
2621
2621
  {
2622
2622
  id: key,
2623
2623
  status: execution.executionRecovery.state,
@@ -2643,19 +2643,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2643
2643
  parsed = parseExecuteOptions(toolId, options, output);
2644
2644
  } catch (error) {
2645
2645
  if (wantsJson) {
2646
- _chunkOO6HA5OTjs.printJsonError.call(void 0, error);
2646
+ _chunkGONUMUBMjs.printJsonError.call(void 0, error);
2647
2647
  } else {
2648
2648
  console.error(error instanceof Error ? error.message : String(error));
2649
2649
  }
2650
2650
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2651
2651
  }
2652
- const cliInvocationId = _nullishCoalesce(_chunkLKFQERA6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkLKFQERA6js.beginToolExecuteCommand.call(void 0, )));
2652
+ const cliInvocationId = _nullishCoalesce(_chunk2T4OSJEHjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk2T4OSJEHjs.beginToolExecuteCommand.call(void 0, )));
2653
2653
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2654
- const tracing = _chunkYT6GV6RPjs.isCliTraceEnabled.call(void 0, );
2654
+ const tracing = _chunkQSYA6VE4js.isCliTraceEnabled.call(void 0, );
2655
2655
  const clientStartedAt = tracing ? performance.now() : void 0;
2656
- const client = new (0, _chunkY4Y2QUFLjs.DeeplineClient)();
2656
+ const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
2657
2657
  if (clientStartedAt !== void 0) {
2658
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, {
2658
+ _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
2659
2659
  phase: "cli.tool_execute_client_setup",
2660
2660
  ms: performance.now() - clientStartedAt
2661
2661
  });
@@ -2664,13 +2664,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2664
2664
  const readMetadata = async () => {
2665
2665
  if (metadata) return metadata;
2666
2666
  try {
2667
- metadata = await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2667
+ metadata = await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2668
2668
  "tool metadata lookup",
2669
2669
  () => client.getTool(parsed.toolId, { cliInvocationId })
2670
2670
  );
2671
2671
  } catch (error) {
2672
2672
  if (isMissingToolMetadataError(error)) {
2673
- const play = await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2673
+ const play = await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2674
2674
  "play alias lookup",
2675
2675
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2676
2676
  );
@@ -2709,7 +2709,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2709
2709
  metadata = await readMetadata();
2710
2710
  } catch (error) {
2711
2711
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2712
- if (wantsJson) _chunkOO6HA5OTjs.printJsonError.call(void 0, error);
2712
+ if (wantsJson) _chunkGONUMUBMjs.printJsonError.call(void 0, error);
2713
2713
  else console.error(error.message);
2714
2714
  return 2;
2715
2715
  }
@@ -2725,7 +2725,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2725
2725
  metadata = await readMetadata();
2726
2726
  } catch (error) {
2727
2727
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2728
- if (wantsJson) _chunkOO6HA5OTjs.printJsonError.call(void 0, error);
2728
+ if (wantsJson) _chunkGONUMUBMjs.printJsonError.call(void 0, error);
2729
2729
  else console.error(error.message);
2730
2730
  return 2;
2731
2731
  }
@@ -2751,11 +2751,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2751
2751
  responseIntent,
2752
2752
  ...idempotencyKey ? { idempotencyKey } : {},
2753
2753
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2754
- searchRef: _chunkUXQZLXHZjs.recentSearchRef.call(void 0, ),
2754
+ searchRef: _chunkXRIQN6EPjs.recentSearchRef.call(void 0, ),
2755
2755
  cliInvocationId,
2756
- onResponseReceived: _chunkM6B2OZGAjs.recordApiResponse,
2756
+ onResponseReceived: _chunk7TKLISLMjs.recordApiResponse,
2757
2757
  ...tracing ? {
2758
- onServerTiming: (serverTiming) => _chunkYT6GV6RPjs.recordCliTrace.call(void 0, {
2758
+ onServerTiming: (serverTiming) => _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
2759
2759
  phase: "tool_execute_server_timing",
2760
2760
  cliInvocationId,
2761
2761
  serverTiming,
@@ -2766,13 +2766,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2766
2766
  let rawResponse;
2767
2767
  let successfulCompatibilityResponse;
2768
2768
  try {
2769
- const executeResult = await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2769
+ const executeResult = await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2770
2770
  "execute request",
2771
2771
  async () => {
2772
2772
  try {
2773
2773
  if (tracing) {
2774
2774
  submissionStartedAt = performance.now();
2775
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2775
+ _chunkQSYA6VE4js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2776
2776
  }
2777
2777
  return await client.executeTool(parsed.toolId, parsed.params, {
2778
2778
  ...executeOptions,
@@ -2782,34 +2782,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2782
2782
  } catch (error) {
2783
2783
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2784
2784
  throw error;
2785
- const baseUrl = _chunkOVSSKTXGjs.resolveConfig.call(void 0, ).baseUrl;
2785
+ const baseUrl = _chunk5LHU7NUSjs.resolveConfig.call(void 0, ).baseUrl;
2786
2786
  if (maintenancePolicy !== "off") {
2787
- _chunkRLYJ4O6Qjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2787
+ _chunkB7HQL77Vjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2788
2788
  }
2789
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2789
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2790
2790
  "SDK compatibility",
2791
- () => _chunkRLYJ4O6Qjs.checkSdkCompatibility.call(void 0, baseUrl, {
2791
+ () => _chunkB7HQL77Vjs.checkSdkCompatibility.call(void 0, baseUrl, {
2792
2792
  command: "tools execute",
2793
- skillsVersion: _chunkOVSSKTXGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2793
+ skillsVersion: _chunk5LHU7NUSjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2794
2794
  persistCache: maintenancePolicy !== "off"
2795
2795
  })
2796
2796
  );
2797
2797
  if (compatibility.error) throw compatibility.error;
2798
2798
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _43 => _43.readMetadata, 'call', _44 => _44()]), () => ( metadata));
2799
- if (maintenancePolicy !== "off" && await _chunkLKFQERA6js.maybeAutoUpdateAndRelaunch.call(void 0,
2799
+ if (maintenancePolicy !== "off" && await _chunk2T4OSJEHjs.maybeAutoUpdateAndRelaunch.call(void 0,
2800
2800
  compatibility.response,
2801
2801
  baseUrl,
2802
2802
  maintenancePolicy
2803
2803
  )) {
2804
2804
  return void 0;
2805
2805
  }
2806
- _chunkRLYJ4O6Qjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2806
+ _chunkB7HQL77Vjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2807
2807
  quietAdvisory: wantsJson
2808
2808
  });
2809
2809
  if (maintenancePolicy !== "off") {
2810
- await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2810
+ await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2811
2811
  "agent skills sync",
2812
- () => _chunkRLYJ4O6Qjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2812
+ () => _chunkB7HQL77Vjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2813
2813
  update: _optionalChain([compatibility, 'access', _45 => _45.response, 'optionalAccess', _46 => _46.skills]),
2814
2814
  mode: "detached"
2815
2815
  })
@@ -2818,7 +2818,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2818
2818
  const legacyMetadata = await readMetadata();
2819
2819
  if (tracing) {
2820
2820
  submissionStartedAt = performance.now();
2821
- _chunkYT6GV6RPjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2821
+ _chunkQSYA6VE4js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2822
2822
  }
2823
2823
  return client.executeTool(parsed.toolId, parsed.params, {
2824
2824
  ...executeOptions,
@@ -2839,8 +2839,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2839
2839
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2840
2840
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2841
2841
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2842
- const baseUrl = _chunkOVSSKTXGjs.resolveConfig.call(void 0, ).baseUrl;
2843
- if (await _chunkLKFQERA6js.maybeAutoUpdateAndRelaunch.call(void 0,
2842
+ const baseUrl = _chunk5LHU7NUSjs.resolveConfig.call(void 0, ).baseUrl;
2843
+ if (await _chunk2T4OSJEHjs.maybeAutoUpdateAndRelaunch.call(void 0,
2844
2844
  compatibility.response,
2845
2845
  baseUrl,
2846
2846
  maintenancePolicy
@@ -2859,7 +2859,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2859
2859
  failure = diagnosticError;
2860
2860
  }
2861
2861
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2862
- if (wantsJson) _chunkOO6HA5OTjs.printJsonError.call(void 0, failure);
2862
+ if (wantsJson) _chunkGONUMUBMjs.printJsonError.call(void 0, failure);
2863
2863
  else console.error(failure.message);
2864
2864
  return 2;
2865
2865
  }
@@ -2886,9 +2886,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2886
2886
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2887
2887
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _52 => _52.auto_update]);
2888
2888
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _53 => _53.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2889
- await _chunkLKFQERA6js.maybeAutoUpdateAndRelaunch.call(void 0,
2889
+ await _chunk2T4OSJEHjs.maybeAutoUpdateAndRelaunch.call(void 0,
2890
2890
  compatibilityResponse,
2891
- _chunkOVSSKTXGjs.resolveConfig.call(void 0, ).baseUrl,
2891
+ _chunk5LHU7NUSjs.resolveConfig.call(void 0, ).baseUrl,
2892
2892
  maintenancePolicy
2893
2893
  );
2894
2894
  }
@@ -2923,7 +2923,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2923
2923
  const { _metadata, ...execution } = rawResponse;
2924
2924
  rawResponse = execution;
2925
2925
  }
2926
- const { listConversion, summary, baseEnvelope } = await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2926
+ const { listConversion, summary, baseEnvelope } = await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2927
2927
  "result formatting",
2928
2928
  async () => {
2929
2929
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2958,9 +2958,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2958
2958
  }
2959
2959
  skillsSyncAttempted = true;
2960
2960
  try {
2961
- await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
2961
+ await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
2962
2962
  "agent skills sync",
2963
- () => _chunkRLYJ4O6Qjs.syncSdkSkillsIfNeeded.call(void 0, _chunkOVSSKTXGjs.resolveConfig.call(void 0, ).baseUrl, {
2963
+ () => _chunkB7HQL77Vjs.syncSdkSkillsIfNeeded.call(void 0, _chunk5LHU7NUSjs.resolveConfig.call(void 0, ).baseUrl, {
2964
2964
  update: deliveredCompatibilityResponse.skills,
2965
2965
  mode: "detached"
2966
2966
  })
@@ -2971,15 +2971,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2971
2971
  );
2972
2972
  }
2973
2973
  };
2974
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, envelope, {
2974
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, envelope, {
2975
2975
  ...options2,
2976
2976
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2977
2977
  });
2978
2978
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2979
2979
  await syncSkillsForDeliveredOutput();
2980
- _chunkOO6HA5OTjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2980
+ _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2981
2981
  };
2982
- const delivered = await _chunkLKFQERA6js.runToolExecuteStage.call(void 0, "output delivery", async () => {
2982
+ const delivered = await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2983
2983
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2984
2984
  await printDeliveredJsonEnvelope(baseEnvelope);
2985
2985
  return true;
@@ -3008,7 +3008,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
3008
3008
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3009
3009
  );
3010
3010
  if (wantsJson) {
3011
- _chunkOO6HA5OTjs.printJsonError.call(void 0, error);
3011
+ _chunkGONUMUBMjs.printJsonError.call(void 0, error);
3012
3012
  } else {
3013
3013
  console.error(error.message);
3014
3014
  }
@@ -3103,13 +3103,13 @@ inspect: ${inspection.inspect}
3103
3103
  return true;
3104
3104
  });
3105
3105
  if (delivered) {
3106
- await _chunkLKFQERA6js.runToolExecuteStage.call(void 0,
3106
+ await _chunk2T4OSJEHjs.runToolExecuteStage.call(void 0,
3107
3107
  "acknowledge delivery",
3108
3108
  () => recovery.acknowledgeDelivery()
3109
3109
  );
3110
3110
  }
3111
3111
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3112
- _chunkRLYJ4O6Qjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3112
+ _chunkB7HQL77Vjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3113
3113
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _55 => _55.auto_update, 'optionalAccess', _56 => _56.should_auto_update]) === true
3114
3114
  });
3115
3115
  }