deepline 0.3.464 → 0.3.465

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 (117) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +130 -57
  3. package/dist/cli/auth-W62UTNJZ.js +41 -0
  4. package/dist/cli/{auth-GMSI6QWR.mjs → auth-WZCX4MTH.mjs} +5 -5
  5. package/dist/cli/{billing-6G2RFLM7.mjs → billing-ATR3CLIW.mjs} +6 -6
  6. package/dist/cli/{billing-MGH36CNP.js → billing-DQUD3DBY.js} +77 -77
  7. package/dist/cli/{chunk-VYDOPASG.mjs → chunk-3K3EHT6E.mjs} +1 -1
  8. package/dist/cli/{chunk-WLIFUH6W.js → chunk-3XFNF6RR.js} +8 -8
  9. package/dist/cli/{chunk-4XNXFHG6.js → chunk-4URRABMM.js} +1 -1
  10. package/dist/cli/{chunk-GVJVBBGV.js → chunk-5VGMRONE.js} +3 -3
  11. package/dist/cli/{chunk-ACZLDP7L.js → chunk-6WKYRHGT.js} +3 -3
  12. package/dist/cli/{chunk-UM363DQF.mjs → chunk-6Y34LU6P.mjs} +2 -2
  13. package/dist/cli/{chunk-2RFTOESC.js → chunk-7R76B3WE.js} +5 -5
  14. package/dist/cli/{chunk-PPQL5F4P.mjs → chunk-7Y2MLWTM.mjs} +1 -1
  15. package/dist/cli/{chunk-UOAHDEAI.js → chunk-A3GML7WW.js} +9 -9
  16. package/dist/cli/{chunk-6KDOO7IM.mjs → chunk-B6GAIXVD.mjs} +4 -4
  17. package/dist/cli/{chunk-ZQERHPZA.js → chunk-BQNUJK53.js} +26 -26
  18. package/dist/cli/{chunk-K3BARC72.js → chunk-DDF74332.js} +2 -2
  19. package/dist/cli/{chunk-VZX4P5FT.js → chunk-DJD4KLIX.js} +93 -93
  20. package/dist/cli/{chunk-OA7IIOLW.mjs → chunk-E3EYQ2FQ.mjs} +4 -4
  21. package/dist/cli/{chunk-EQNJUG3N.js → chunk-E3PLLFE2.js} +53 -53
  22. package/dist/cli/{chunk-O4AOYLZE.mjs → chunk-EA2F4YVX.mjs} +2 -2
  23. package/dist/cli/{chunk-J327QVQV.mjs → chunk-EISIAWBD.mjs} +1 -1
  24. package/dist/cli/{chunk-HGUHBLX5.mjs → chunk-EVQBOVOJ.mjs} +3 -3
  25. package/dist/cli/{chunk-3MKRAI6R.mjs → chunk-FFTLJGZQ.mjs} +5 -5
  26. package/dist/cli/{chunk-O4ZMADW4.js → chunk-GBQSEOXE.js} +7 -7
  27. package/dist/cli/{chunk-44BEFU62.mjs → chunk-GNLCGR7R.mjs} +2 -2
  28. package/dist/cli/{chunk-VQHEMZ33.mjs → chunk-GW7RUNLW.mjs} +1 -1
  29. package/dist/cli/{chunk-XMDBN2K7.mjs → chunk-HS6CM7TF.mjs} +10 -10
  30. package/dist/cli/{chunk-CUZVOPPY.mjs → chunk-HXWZ52CW.mjs} +3 -3
  31. package/dist/cli/{chunk-K4DVRQTY.js → chunk-JN7AOVD4.js} +16 -16
  32. package/dist/cli/{chunk-RFOQRCMW.mjs → chunk-JQSPKPHT.mjs} +4 -4
  33. package/dist/cli/{chunk-X3XJ6ZSJ.js → chunk-LFTLH5BK.js} +2 -2
  34. package/dist/cli/{chunk-MQNBOSQP.mjs → chunk-N27BUJU3.mjs} +5 -5
  35. package/dist/cli/{chunk-3AIMFE3Z.js → chunk-N57JYG7J.js} +36 -36
  36. package/dist/cli/{chunk-6E2KNNTD.mjs → chunk-NIJYJI67.mjs} +2 -2
  37. package/dist/cli/{chunk-DO3FSI4C.mjs → chunk-OEU3ZNBZ.mjs} +1 -1
  38. package/dist/cli/{chunk-FVAB2JRO.js → chunk-OKI3HWFF.js} +8 -8
  39. package/dist/cli/{chunk-TU3M7UXJ.js → chunk-OQDN6JK6.js} +10 -10
  40. package/dist/cli/{chunk-FEWZT4RV.js → chunk-PIGMBDBZ.js} +21 -21
  41. package/dist/cli/{chunk-ZIMCLWEW.js → chunk-QPJ2BDFD.js} +5 -5
  42. package/dist/cli/{chunk-BMUDQMYE.js → chunk-RREWUPC3.js} +6 -6
  43. package/dist/cli/{chunk-TMVBBGSK.mjs → chunk-SBM5JVTK.mjs} +1 -1
  44. package/dist/cli/{chunk-E4QJKJH6.js → chunk-SOIXDMZK.js} +51 -51
  45. package/dist/cli/{chunk-6A7OH2PV.mjs → chunk-SSQXSMAT.mjs} +2 -2
  46. package/dist/cli/{chunk-5XIGEYYK.js → chunk-TJXGEK7P.js} +6 -6
  47. package/dist/cli/{chunk-M4QVY6RW.mjs → chunk-UMQT7QMB.mjs} +2 -2
  48. package/dist/cli/{chunk-ZAB6KCZW.js → chunk-W4J2EK5K.js} +3 -3
  49. package/dist/cli/{chunk-6COF5LIE.mjs → chunk-X6BQ4JAD.mjs} +2 -2
  50. package/dist/cli/{chunk-5CKIO7KA.mjs → chunk-XFAO5A5R.mjs} +1 -1
  51. package/dist/cli/{chunk-NI3QFUK7.js → chunk-XJ5W64AC.js} +4 -4
  52. package/dist/cli/{chunk-MP3O4ISC.mjs → chunk-YZZGFUQ4.mjs} +1 -1
  53. package/dist/cli/{csv-4ZVMBOCK.mjs → csv-AE7OLXCV.mjs} +4 -4
  54. package/dist/cli/{csv-W2JPV57R.js → csv-ZVFGYRB7.js} +13 -13
  55. package/dist/cli/{db-6YNFDHEW.js → db-JOD2MQ2T.js} +27 -27
  56. package/dist/cli/{db-TVK6BLRB.mjs → db-KTXMCLB5.mjs} +6 -6
  57. package/dist/cli/describe-2IKB4KIX.js +48 -0
  58. package/dist/cli/{describe-JFN4ECPO.mjs → describe-FENTKQFK.mjs} +17 -17
  59. package/dist/cli/{executions-2FK4FFKE.mjs → executions-FJCV5L37.mjs} +6 -6
  60. package/dist/cli/{executions-J4CAN7RB.js → executions-IT6TQ65Q.js} +8 -8
  61. package/dist/cli/{feedback-EYRRLA2P.mjs → feedback-LTTO73YD.mjs} +4 -4
  62. package/dist/cli/{feedback-NOO4OM4U.js → feedback-WGURC3BG.js} +8 -8
  63. package/dist/cli/git-UOIC2DJL.js +25 -0
  64. package/dist/cli/{git-D3Q4JKBC.mjs → git-ZYEDB2UG.mjs} +5 -5
  65. package/dist/cli/index.js +135 -135
  66. package/dist/cli/index.mjs +40 -40
  67. package/dist/cli/{legacy-noops-SUFJWBLZ.mjs → legacy-noops-EGQ4G4BT.mjs} +5 -5
  68. package/dist/cli/{legacy-noops-5ZGRKSN3.js → legacy-noops-JFXWEOZF.js} +8 -8
  69. package/dist/cli/{monitors-IRDIIR6J.mjs → monitors-IK6GWLCA.mjs} +7 -7
  70. package/dist/cli/{monitors-3QFJZA6Z.js → monitors-WKN2K6ZH.js} +91 -91
  71. package/dist/cli/{org-275OJJ7W.js → org-FE5VMAKF.js} +68 -68
  72. package/dist/cli/{org-2VA2FSMG.mjs → org-PD5YBUHR.mjs} +6 -6
  73. package/dist/cli/{pages-SPRBOZRA.js → pages-H3DKEVVI.js} +17 -17
  74. package/dist/cli/{pages-WCUEBFYU.mjs → pages-ZVKSOSZJ.mjs} +6 -6
  75. package/dist/cli/{play-NMHUWBET.js → play-2UL5OPGH.js} +304 -304
  76. package/dist/cli/{play-7UL5H6QU.mjs → play-RLIQY22H.mjs} +17 -17
  77. package/dist/cli/{providers-72LUJEAT.js → providers-2IMHQDBC.js} +9 -9
  78. package/dist/cli/{providers-WSCKV557.mjs → providers-M4AFFJF2.mjs} +6 -6
  79. package/dist/cli/{quickstart-XSUUAE2Y.js → quickstart-OE64DBKK.js} +6 -6
  80. package/dist/cli/{quickstart-K4LAKJKJ.mjs → quickstart-PS4QKNG2.mjs} +4 -4
  81. package/dist/cli/{run-R2MOXXHH.mjs → run-3TKR5CZU.mjs} +22 -22
  82. package/dist/cli/{run-MLV2CLW7.js → run-SWLGV2VS.js} +36 -36
  83. package/dist/cli/{search-WHJZNWKE.mjs → search-AMZ67RKO.mjs} +7 -7
  84. package/dist/cli/search-LXG7T6YZ.js +32 -0
  85. package/dist/cli/{secrets-YGVOFLI5.mjs → secrets-INBXKNFM.mjs} +6 -6
  86. package/dist/cli/{secrets-7PXFBOFY.js → secrets-ZTLJY7L2.js} +15 -15
  87. package/dist/cli/{sessions-ASXXZI42.js → sessions-3GKS45NP.js} +6 -6
  88. package/dist/cli/{sessions-G7I54W4L.mjs → sessions-ZVBTKQ7J.mjs} +5 -5
  89. package/dist/cli/{settings-RTEBMDPC.js → settings-7YG3UWJH.js} +78 -78
  90. package/dist/cli/{settings-4GFO6JYO.mjs → settings-AUPDZZ2U.mjs} +11 -11
  91. package/dist/cli/{setup-4RJGKSDC.mjs → setup-44QB72NU.mjs} +9 -9
  92. package/dist/cli/{setup-A6V2MJK7.js → setup-YGESCFTH.js} +44 -44
  93. package/dist/cli/{skills-432W6EGS.mjs → skills-N3AWWCWO.mjs} +7 -7
  94. package/dist/cli/skills-QALGBUFY.js +31 -0
  95. package/dist/cli/{tools-SABREK3C.mjs → tools-3SHNTJPU.mjs} +16 -16
  96. package/dist/cli/tools-PUQ3JBZ7.js +55 -0
  97. package/dist/cli/{update-F7NO5RDW.mjs → update-3TWB5EEV.mjs} +9 -9
  98. package/dist/cli/update-O7XSJMLX.js +33 -0
  99. package/dist/cli/{workflow-F4N7CFUX.mjs → workflow-SYP62XNN.mjs} +7 -7
  100. package/dist/cli/{workflow-TF6YDWTM.js → workflow-ULIZU7KI.js} +17 -17
  101. package/dist/index.js +9 -9
  102. package/dist/index.mjs +6 -6
  103. package/dist/install-integrity.json +96 -96
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/dist/server.js +5 -5
  109. package/dist/server.mjs +3 -3
  110. package/package.json +1 -1
  111. package/dist/cli/auth-P4E7M3AV.js +0 -41
  112. package/dist/cli/describe-APW5TWBT.js +0 -48
  113. package/dist/cli/git-FPF6DT43.js +0 -25
  114. package/dist/cli/search-AYFUV6YV.js +0 -32
  115. package/dist/cli/skills-GOQECD7H.js +0 -31
  116. package/dist/cli/tools-JXYN7WOE.js +0 -55
  117. package/dist/cli/update-BSB4TJER.js +0 -33
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZAB6KCZWjs = require('./chunk-ZAB6KCZW.js');
5
+ var _chunkW4J2EK5Kjs = require('./chunk-W4J2EK5K.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkWLIFUH6Wjs = require('./chunk-WLIFUH6W.js');
9
+ var _chunk3XFNF6RRjs = require('./chunk-3XFNF6RR.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 _chunkZIMCLWEWjs = require('./chunk-ZIMCLWEW.js');
51
+ var _chunkQPJ2BDFDjs = require('./chunk-QPJ2BDFD.js');
52
52
 
53
53
 
54
- var _chunkBMUDQMYEjs = require('./chunk-BMUDQMYE.js');
54
+ var _chunkRREWUPC3js = require('./chunk-RREWUPC3.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 _chunkFEWZT4RVjs = require('./chunk-FEWZT4RV.js');
64
+ var _chunkPIGMBDBZjs = require('./chunk-PIGMBDBZ.js');
65
65
 
66
66
 
67
67
 
68
68
 
69
- var _chunkK3BARC72js = require('./chunk-K3BARC72.js');
69
+ var _chunkDDF74332js = require('./chunk-DDF74332.js');
70
70
 
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkEQNJUG3Njs = require('./chunk-EQNJUG3N.js');
75
+ var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
76
76
 
77
77
 
78
78
 
@@ -80,12 +80,12 @@ var _chunkEQNJUG3Njs = require('./chunk-EQNJUG3N.js');
80
80
 
81
81
 
82
82
 
83
- var _chunkO4ZMADW4js = require('./chunk-O4ZMADW4.js');
83
+ var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
84
84
 
85
85
 
86
86
 
87
87
 
88
- var _chunkGVJVBBGVjs = require('./chunk-GVJVBBGV.js');
88
+ var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.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 = _chunkGVJVBBGVjs.resolveConfig.call(void 0, );
194
+ const config = _chunk5VGMRONEjs.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
- _chunkGVJVBBGVjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
197
+ _chunk5VGMRONEjs.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, _chunkZIMCLWEWjs.DeeplineClient)();
510
+ const client = new (0, _chunkQPJ2BDFDjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
516
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
526
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printJson.call(void 0, {
545
+ _chunkGBQSEOXEjs.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(_chunkO4ZMADW4js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
559
+ console.error(_chunkGBQSEOXEjs.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, _chunkZIMCLWEWjs.DeeplineClient)();
565
+ const client = new (0, _chunkQPJ2BDFDjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
601
+ _chunkGBQSEOXEjs.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, _chunkZIMCLWEWjs.DeeplineClient)();
614
+ const client = new (0, _chunkQPJ2BDFDjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
643
+ _chunkGBQSEOXEjs.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 || _chunkO4ZMADW4js.shouldEmitJson.call(void 0, );
662
+ const emitJson = options.json === true || _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printJson.call(void 0, {
668
+ _chunkGBQSEOXEjs.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, _chunkZIMCLWEWjs.DeeplineClient)();
695
+ const client = new (0, _chunkQPJ2BDFDjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
719
+ _chunkGBQSEOXEjs.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 || _chunkO4ZMADW4js.shouldEmitJson.call(void 0, ) }
737
+ { json: options.json || _chunkGBQSEOXEjs.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, _chunkZIMCLWEWjs.DeeplineClient)().startIntegrationOAuth(
848
+ const result2 = await new (0, _chunkQPJ2BDFDjs.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 (_chunkO4ZMADW4js.shouldEmitJson.call(void 0, options.json))
860
+ if (_chunkGBQSEOXEjs.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, _chunkZIMCLWEWjs.DeeplineClient)().setIntegrationCredentials(
886
+ const result = await new (0, _chunkQPJ2BDFDjs.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 (_chunkO4ZMADW4js.shouldEmitJson.call(void 0, options.json))
896
+ if (_chunkGBQSEOXEjs.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
- _chunkWLIFUH6Wjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
936
+ _chunk3XFNF6RRjs.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
- _chunkFEWZT4RVjs.registerCompatibilityCatalog.call(void 0, command, () => ({
971
+ _chunkPIGMBDBZjs.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-APW5TWBT.js")));
1041
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-2IKB4KIX.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
- _chunkZAB6KCZWjs.addDescribeOptions.call(void 0,
1056
+ _chunkW4J2EK5Kjs.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
- _chunkK3BARC72js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1125
+ _chunkDDF74332js.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 = _chunkGVJVBBGVjs.resolveConfig.call(void 0, ).baseUrl;
1134
- _chunkK3BARC72js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
- const result = _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
1133
+ const baseUrl = _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl;
1134
+ _chunkDDF74332js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1135
+ const result = _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
1136
1136
  "SDK compatibility",
1137
- () => _chunkEQNJUG3Njs.checkSdkCompatibility.call(void 0, baseUrl, {
1137
+ () => _chunkE3PLLFE2js.checkSdkCompatibility.call(void 0, baseUrl, {
1138
1138
  command: "tools execute",
1139
- skillsVersion: _chunkGVJVBBGVjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1139
+ skillsVersion: _chunk5VGMRONEjs.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
- _chunkK3BARC72js.recordCliTrace.call(void 0, {
1153
+ _chunkDDF74332js.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
- _chunkK3BARC72js.recordCliTrace.call(void 0, {
1162
+ _chunkDDF74332js.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, _chunkZIMCLWEWjs.DeeplineClient)();
1177
+ const client = new (0, _chunkQPJ2BDFDjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
1231
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCompactJson.call(void 0, {
1254
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCompactJson.call(void 0, {
1277
+ _chunkGBQSEOXEjs.printCompactJson.call(void 0, {
1278
1278
  ..._chunk6P4OYABUjs.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
- _chunkO4ZMADW4js.printCompactJson.call(void 0, {
1291
+ _chunkGBQSEOXEjs.printCompactJson.call(void 0, {
1292
1292
  ..._chunk6P4OYABUjs.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
- _chunkBMUDQMYEjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2151
+ _chunkRREWUPC3js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2152
2152
  }
2153
2153
  if (options.recoveryTimeoutMs !== void 0) {
2154
2154
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2500,7 +2500,7 @@ function writeToolReceipt(input) {
2500
2500
  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;
2501
2501
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2502
2502
  const charged = _chunk6P4OYABUjs.recordField.call(void 0, envelope, "billing").credits_charged;
2503
- _chunkZAB6KCZWjs.writeExecutionOutput.call(void 0,
2503
+ _chunkW4J2EK5Kjs.writeExecutionOutput.call(void 0,
2504
2504
  {
2505
2505
  id: _nullishCoalesce(input.key, () => ( jobId)),
2506
2506
  status,
@@ -2531,8 +2531,8 @@ async function executeToolForReceipt(input) {
2531
2531
  let retryKey = null;
2532
2532
  let received = false;
2533
2533
  try {
2534
- const cliInvocationId = _nullishCoalesce(_chunkFEWZT4RVjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkFEWZT4RVjs.beginToolExecuteCommand.call(void 0, )));
2535
- const client = new (0, _chunkZIMCLWEWjs.DeeplineClient)();
2534
+ const cliInvocationId = _nullishCoalesce(_chunkPIGMBDBZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkPIGMBDBZjs.beginToolExecuteCommand.call(void 0, )));
2535
+ const client = new (0, _chunkQPJ2BDFDjs.DeeplineClient)();
2536
2536
  const metadata = await _asyncNullishCoalesce(input.metadata, async () => ( await client.getTool(toolId, { cliInvocationId })));
2537
2537
  printToolExecutionWarnings(toolId, params, metadata);
2538
2538
  const responseIntent = _optionalChain([output, 'access', _33 => _33.csvOut, 'optionalAccess', _34 => _34.length]) ? "row_artifact" : "raw";
@@ -2550,9 +2550,9 @@ async function executeToolForReceipt(input) {
2550
2550
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2551
2551
  ..._optionalChain([metadata, 'access', _35 => _35.executionMetadata, 'optionalAccess', _36 => _36.retrySafeTransientHttp]) === true ? { maxRetries: 2, retryApiErrors: true } : {},
2552
2552
  ...key ? { idempotencyKey: key } : {},
2553
- searchRef: _chunkWLIFUH6Wjs.recentSearchRef.call(void 0, ),
2553
+ searchRef: _chunk3XFNF6RRjs.recentSearchRef.call(void 0, ),
2554
2554
  cliInvocationId,
2555
- onResponseReceived: _chunkZAB6KCZWjs.recordApiResponse
2555
+ onResponseReceived: _chunkW4J2EK5Kjs.recordApiResponse
2556
2556
  }).catch((error) => {
2557
2557
  const guidance = toolGuidanceLines(metadata.guidance);
2558
2558
  if (guidance.length)
@@ -2575,7 +2575,7 @@ async function executeToolForReceipt(input) {
2575
2575
  if (received) throw error;
2576
2576
  const outcomeKnown = answeredWithFailure(error);
2577
2577
  if (outcomeKnown) _optionalChain([retryKey, 'optionalAccess', _37 => _37.discard, 'call', _38 => _38()]);
2578
- _chunkZAB6KCZWjs.writeExecutionOutput.call(void 0,
2578
+ _chunkW4J2EK5Kjs.writeExecutionOutput.call(void 0,
2579
2579
  {
2580
2580
  id: outcomeKnown ? null : key,
2581
2581
  status: "failed",
@@ -2599,11 +2599,11 @@ function answeredWithFailure(error) {
2599
2599
  error.statusCode !== 408 && error.code !== "EXECUTION_OUTCOME_UNKNOWN";
2600
2600
  }
2601
2601
  async function getToolExecutionReceipt(key, output) {
2602
- const client = new (0, _chunkZIMCLWEWjs.DeeplineClient)();
2602
+ const client = new (0, _chunkQPJ2BDFDjs.DeeplineClient)();
2603
2603
  const execution = await client.executions.getByKey(key);
2604
2604
  output.label = `${execution.toolId} (tool)`;
2605
2605
  if (execution.response === void 0) {
2606
- _chunkZAB6KCZWjs.writeExecutionOutput.call(void 0,
2606
+ _chunkW4J2EK5Kjs.writeExecutionOutput.call(void 0,
2607
2607
  {
2608
2608
  id: key,
2609
2609
  status: execution.executionRecovery.state,
@@ -2629,19 +2629,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2629
2629
  parsed = parseExecuteOptions(toolId, options, output);
2630
2630
  } catch (error) {
2631
2631
  if (wantsJson) {
2632
- _chunkO4ZMADW4js.printJsonError.call(void 0, error);
2632
+ _chunkGBQSEOXEjs.printJsonError.call(void 0, error);
2633
2633
  } else {
2634
2634
  console.error(error instanceof Error ? error.message : String(error));
2635
2635
  }
2636
2636
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2637
2637
  }
2638
- const cliInvocationId = _nullishCoalesce(_chunkFEWZT4RVjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkFEWZT4RVjs.beginToolExecuteCommand.call(void 0, )));
2638
+ const cliInvocationId = _nullishCoalesce(_chunkPIGMBDBZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkPIGMBDBZjs.beginToolExecuteCommand.call(void 0, )));
2639
2639
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2640
- const tracing = _chunkK3BARC72js.isCliTraceEnabled.call(void 0, );
2640
+ const tracing = _chunkDDF74332js.isCliTraceEnabled.call(void 0, );
2641
2641
  const clientStartedAt = tracing ? performance.now() : void 0;
2642
- const client = new (0, _chunkZIMCLWEWjs.DeeplineClient)();
2642
+ const client = new (0, _chunkQPJ2BDFDjs.DeeplineClient)();
2643
2643
  if (clientStartedAt !== void 0) {
2644
- _chunkK3BARC72js.recordCliTrace.call(void 0, {
2644
+ _chunkDDF74332js.recordCliTrace.call(void 0, {
2645
2645
  phase: "cli.tool_execute_client_setup",
2646
2646
  ms: performance.now() - clientStartedAt
2647
2647
  });
@@ -2650,13 +2650,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2650
2650
  const readMetadata = async () => {
2651
2651
  if (metadata) return metadata;
2652
2652
  try {
2653
- metadata = await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2653
+ metadata = await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2654
2654
  "tool metadata lookup",
2655
2655
  () => client.getTool(parsed.toolId, { cliInvocationId })
2656
2656
  );
2657
2657
  } catch (error) {
2658
2658
  if (isMissingToolMetadataError(error)) {
2659
- const play = await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2659
+ const play = await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2660
2660
  "play alias lookup",
2661
2661
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2662
2662
  );
@@ -2695,7 +2695,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2695
2695
  metadata = await readMetadata();
2696
2696
  } catch (error) {
2697
2697
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2698
- if (wantsJson) _chunkO4ZMADW4js.printJsonError.call(void 0, error);
2698
+ if (wantsJson) _chunkGBQSEOXEjs.printJsonError.call(void 0, error);
2699
2699
  else console.error(error.message);
2700
2700
  return 2;
2701
2701
  }
@@ -2711,7 +2711,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2711
2711
  metadata = await readMetadata();
2712
2712
  } catch (error) {
2713
2713
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2714
- if (wantsJson) _chunkO4ZMADW4js.printJsonError.call(void 0, error);
2714
+ if (wantsJson) _chunkGBQSEOXEjs.printJsonError.call(void 0, error);
2715
2715
  else console.error(error.message);
2716
2716
  return 2;
2717
2717
  }
@@ -2737,11 +2737,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2737
2737
  responseIntent,
2738
2738
  ...idempotencyKey ? { idempotencyKey } : {},
2739
2739
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2740
- searchRef: _chunkWLIFUH6Wjs.recentSearchRef.call(void 0, ),
2740
+ searchRef: _chunk3XFNF6RRjs.recentSearchRef.call(void 0, ),
2741
2741
  cliInvocationId,
2742
- onResponseReceived: _chunkZAB6KCZWjs.recordApiResponse,
2742
+ onResponseReceived: _chunkW4J2EK5Kjs.recordApiResponse,
2743
2743
  ...tracing ? {
2744
- onServerTiming: (serverTiming) => _chunkK3BARC72js.recordCliTrace.call(void 0, {
2744
+ onServerTiming: (serverTiming) => _chunkDDF74332js.recordCliTrace.call(void 0, {
2745
2745
  phase: "tool_execute_server_timing",
2746
2746
  cliInvocationId,
2747
2747
  serverTiming,
@@ -2752,13 +2752,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2752
2752
  let rawResponse;
2753
2753
  let successfulCompatibilityResponse;
2754
2754
  try {
2755
- const executeResult = await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2755
+ const executeResult = await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2756
2756
  "execute request",
2757
2757
  async () => {
2758
2758
  try {
2759
2759
  if (tracing) {
2760
2760
  submissionStartedAt = performance.now();
2761
- _chunkK3BARC72js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2761
+ _chunkDDF74332js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2762
2762
  }
2763
2763
  return await client.executeTool(parsed.toolId, parsed.params, {
2764
2764
  ...executeOptions,
@@ -2768,34 +2768,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2768
2768
  } catch (error) {
2769
2769
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2770
2770
  throw error;
2771
- const baseUrl = _chunkGVJVBBGVjs.resolveConfig.call(void 0, ).baseUrl;
2771
+ const baseUrl = _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl;
2772
2772
  if (maintenancePolicy !== "off") {
2773
- _chunkEQNJUG3Njs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2773
+ _chunkE3PLLFE2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2774
2774
  }
2775
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2775
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2776
2776
  "SDK compatibility",
2777
- () => _chunkEQNJUG3Njs.checkSdkCompatibility.call(void 0, baseUrl, {
2777
+ () => _chunkE3PLLFE2js.checkSdkCompatibility.call(void 0, baseUrl, {
2778
2778
  command: "tools execute",
2779
- skillsVersion: _chunkGVJVBBGVjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2779
+ skillsVersion: _chunk5VGMRONEjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2780
2780
  persistCache: maintenancePolicy !== "off"
2781
2781
  })
2782
2782
  );
2783
2783
  if (compatibility.error) throw compatibility.error;
2784
2784
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _43 => _43.readMetadata, 'call', _44 => _44()]), () => ( metadata));
2785
- if (maintenancePolicy !== "off" && await _chunkFEWZT4RVjs.maybeAutoUpdateAndRelaunch.call(void 0,
2785
+ if (maintenancePolicy !== "off" && await _chunkPIGMBDBZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2786
2786
  compatibility.response,
2787
2787
  baseUrl,
2788
2788
  maintenancePolicy
2789
2789
  )) {
2790
2790
  return void 0;
2791
2791
  }
2792
- _chunkEQNJUG3Njs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2792
+ _chunkE3PLLFE2js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2793
2793
  quietAdvisory: wantsJson
2794
2794
  });
2795
2795
  if (maintenancePolicy !== "off") {
2796
- await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2796
+ await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2797
2797
  "agent skills sync",
2798
- () => _chunkEQNJUG3Njs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2798
+ () => _chunkE3PLLFE2js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2799
2799
  update: _optionalChain([compatibility, 'access', _45 => _45.response, 'optionalAccess', _46 => _46.skills]),
2800
2800
  mode: "detached"
2801
2801
  })
@@ -2804,7 +2804,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2804
2804
  const legacyMetadata = await readMetadata();
2805
2805
  if (tracing) {
2806
2806
  submissionStartedAt = performance.now();
2807
- _chunkK3BARC72js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2807
+ _chunkDDF74332js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2808
2808
  }
2809
2809
  return client.executeTool(parsed.toolId, parsed.params, {
2810
2810
  ...executeOptions,
@@ -2825,8 +2825,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2825
2825
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2826
2826
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2827
2827
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2828
- const baseUrl = _chunkGVJVBBGVjs.resolveConfig.call(void 0, ).baseUrl;
2829
- if (await _chunkFEWZT4RVjs.maybeAutoUpdateAndRelaunch.call(void 0,
2828
+ const baseUrl = _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl;
2829
+ if (await _chunkPIGMBDBZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2830
2830
  compatibility.response,
2831
2831
  baseUrl,
2832
2832
  maintenancePolicy
@@ -2845,7 +2845,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2845
2845
  failure = diagnosticError;
2846
2846
  }
2847
2847
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2848
- if (wantsJson) _chunkO4ZMADW4js.printJsonError.call(void 0, failure);
2848
+ if (wantsJson) _chunkGBQSEOXEjs.printJsonError.call(void 0, failure);
2849
2849
  else console.error(failure.message);
2850
2850
  return 2;
2851
2851
  }
@@ -2872,9 +2872,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2872
2872
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2873
2873
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _52 => _52.auto_update]);
2874
2874
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _53 => _53.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2875
- await _chunkFEWZT4RVjs.maybeAutoUpdateAndRelaunch.call(void 0,
2875
+ await _chunkPIGMBDBZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2876
2876
  compatibilityResponse,
2877
- _chunkGVJVBBGVjs.resolveConfig.call(void 0, ).baseUrl,
2877
+ _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl,
2878
2878
  maintenancePolicy
2879
2879
  );
2880
2880
  }
@@ -2909,7 +2909,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2909
2909
  const { _metadata, ...execution } = rawResponse;
2910
2910
  rawResponse = execution;
2911
2911
  }
2912
- const { listConversion, summary, baseEnvelope } = await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2912
+ const { listConversion, summary, baseEnvelope } = await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2913
2913
  "result formatting",
2914
2914
  async () => {
2915
2915
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2944,9 +2944,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2944
2944
  }
2945
2945
  skillsSyncAttempted = true;
2946
2946
  try {
2947
- await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
2947
+ await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
2948
2948
  "agent skills sync",
2949
- () => _chunkEQNJUG3Njs.syncSdkSkillsIfNeeded.call(void 0, _chunkGVJVBBGVjs.resolveConfig.call(void 0, ).baseUrl, {
2949
+ () => _chunkE3PLLFE2js.syncSdkSkillsIfNeeded.call(void 0, _chunk5VGMRONEjs.resolveConfig.call(void 0, ).baseUrl, {
2950
2950
  update: deliveredCompatibilityResponse.skills,
2951
2951
  mode: "detached"
2952
2952
  })
@@ -2957,15 +2957,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2957
2957
  );
2958
2958
  }
2959
2959
  };
2960
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkO4ZMADW4js.printCommandEnvelope.call(void 0, envelope, {
2960
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, envelope, {
2961
2961
  ...options2,
2962
2962
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2963
2963
  });
2964
2964
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2965
2965
  await syncSkillsForDeliveredOutput();
2966
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2966
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2967
2967
  };
2968
- const delivered = await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2968
+ const delivered = await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2969
2969
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2970
2970
  await printDeliveredJsonEnvelope(baseEnvelope);
2971
2971
  return true;
@@ -2994,7 +2994,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2994
2994
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2995
2995
  );
2996
2996
  if (wantsJson) {
2997
- _chunkO4ZMADW4js.printJsonError.call(void 0, error);
2997
+ _chunkGBQSEOXEjs.printJsonError.call(void 0, error);
2998
2998
  } else {
2999
2999
  console.error(error.message);
3000
3000
  }
@@ -3089,13 +3089,13 @@ inspect: ${inspection.inspect}
3089
3089
  return true;
3090
3090
  });
3091
3091
  if (delivered) {
3092
- await _chunkFEWZT4RVjs.runToolExecuteStage.call(void 0,
3092
+ await _chunkPIGMBDBZjs.runToolExecuteStage.call(void 0,
3093
3093
  "acknowledge delivery",
3094
3094
  () => recovery.acknowledgeDelivery()
3095
3095
  );
3096
3096
  }
3097
3097
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
3098
- _chunkEQNJUG3Njs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3098
+ _chunkE3PLLFE2js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
3099
3099
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _55 => _55.auto_update, 'optionalAccess', _56 => _56.should_auto_update]) === true
3100
3100
  });
3101
3101
  }