deepline 0.3.455 → 0.3.456

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 (112) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +23 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/cli/{auth-BGPCPVHW.mjs → auth-OBWRDCK3.mjs} +4 -4
  4. package/dist/cli/auth-X5H25CM4.js +40 -0
  5. package/dist/cli/{billing-FCC2YOKB.js → billing-XDDTD7C3.js} +73 -73
  6. package/dist/cli/{billing-6BLEXHCR.mjs → billing-ZR4OHVLA.mjs} +4 -4
  7. package/dist/cli/{chunk-IUSGWMGK.mjs → chunk-4EMVWEUJ.mjs} +2 -2
  8. package/dist/cli/{chunk-LQH2KJ53.js → chunk-4X5H47H5.js} +81 -81
  9. package/dist/cli/{chunk-CZREA5NE.js → chunk-76GTVFFG.js} +8 -8
  10. package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-77Z5BO7D.mjs} +21 -0
  11. package/dist/cli/{chunk-YIFCV77L.mjs → chunk-7PW2K3AT.mjs} +2 -2
  12. package/dist/cli/{chunk-RYGDM5BG.mjs → chunk-AGWG2PVB.mjs} +1 -1
  13. package/dist/cli/{chunk-3E4WSS35.mjs → chunk-APPPIUEW.mjs} +1 -1
  14. package/dist/cli/{chunk-NMJ4D2WO.js → chunk-AQFHU3DW.js} +21 -0
  15. package/dist/cli/{chunk-2SN2EEQW.js → chunk-BQWHXKXO.js} +16 -16
  16. package/dist/cli/{chunk-6F7TD4M4.js → chunk-CJTOZLFI.js} +6 -6
  17. package/dist/cli/{chunk-FCQ52RUB.mjs → chunk-GQVMERZ7.mjs} +2 -2
  18. package/dist/cli/{chunk-R5VMRVRN.mjs → chunk-HZODG765.mjs} +4 -4
  19. package/dist/cli/{chunk-2VHR5DXQ.mjs → chunk-IQ5OW2WC.mjs} +3 -3
  20. package/dist/cli/{chunk-EXZOUJCD.js → chunk-J2KWJKTM.js} +3 -3
  21. package/dist/cli/{chunk-MFKTYIBJ.js → chunk-K5TWU5I6.js} +51 -51
  22. package/dist/cli/{chunk-VMGTYM3A.js → chunk-KFCXTVDW.js} +20 -20
  23. package/dist/cli/{chunk-LRA5YJVV.mjs → chunk-M7FF76WO.mjs} +1 -1
  24. package/dist/cli/{chunk-3RQY2OG7.mjs → chunk-NXJEDRPH.mjs} +2 -2
  25. package/dist/cli/{chunk-J7WYWQF4.js → chunk-OQEIP4HF.js} +6 -6
  26. package/dist/cli/{chunk-WVGPAP7A.mjs → chunk-P5MB2PXV.mjs} +3 -3
  27. package/dist/cli/{chunk-MCMLQ7GD.js → chunk-PPF557JY.js} +8 -8
  28. package/dist/cli/{chunk-YKEWDVZC.js → chunk-QLB5T7IS.js} +26 -26
  29. package/dist/cli/{chunk-2R7JD2NY.js → chunk-S3D7OY6D.js} +4 -4
  30. package/dist/cli/{chunk-BCB2QNG4.js → chunk-SAO7KYJE.js} +2 -2
  31. package/dist/cli/{chunk-SMZUU4NY.js → chunk-SHWMFFKX.js} +2 -2
  32. package/dist/cli/{chunk-UVJLG5KD.js → chunk-SOUPX3YJ.js} +50 -50
  33. package/dist/cli/{chunk-4Z3X5CWI.mjs → chunk-U4JZWJ52.mjs} +1 -1
  34. package/dist/cli/{chunk-W3DIXRDT.js → chunk-VVYM2F7X.js} +21 -10
  35. package/dist/cli/{chunk-WBULEVM4.mjs → chunk-W64S7C55.mjs} +1 -1
  36. package/dist/cli/{chunk-6TOMXZX3.js → chunk-WEHXHC7N.js} +1 -1
  37. package/dist/cli/{chunk-VIGEE67Z.mjs → chunk-WXCYW6PA.mjs} +3 -3
  38. package/dist/cli/{chunk-B7K3QD5W.mjs → chunk-XRNBDUYR.mjs} +8 -8
  39. package/dist/cli/{chunk-RQMEYYN4.js → chunk-XVGEAB44.js} +35 -35
  40. package/dist/cli/{chunk-4BZFRLKU.mjs → chunk-YMV3AULG.mjs} +5 -5
  41. package/dist/cli/{chunk-DPTEABFU.mjs → chunk-ZCXFZSVH.mjs} +1 -1
  42. package/dist/cli/{chunk-PQ4JU2MV.mjs → chunk-ZODPS5JW.mjs} +12 -1
  43. package/dist/cli/command-docs.js +2 -2
  44. package/dist/cli/command-docs.mjs +1 -1
  45. package/dist/cli/{csv-TEAA2YV5.js → csv-B35BFYGT.js} +12 -12
  46. package/dist/cli/{csv-27T3L4RC.mjs → csv-P2ATJQUY.mjs} +3 -3
  47. package/dist/cli/{db-J3PPU7GX.js → db-ELEZFHG7.js} +25 -25
  48. package/dist/cli/{db-N3NRYYI4.mjs → db-PSITREEX.mjs} +4 -4
  49. package/dist/cli/{describe-PX7XBLZF.js → describe-AXWFWCWZ.js} +17 -17
  50. package/dist/cli/{describe-SJBCCTR7.mjs → describe-E2ZFRC5Z.mjs} +13 -13
  51. package/dist/cli/describe-core.d.mts +1 -1
  52. package/dist/cli/describe-core.d.ts +1 -1
  53. package/dist/cli/{executions-XN376RR4.mjs → executions-BZTPNWW2.mjs} +4 -4
  54. package/dist/cli/{executions-WXIL4C5M.js → executions-GWYPVJYE.js} +6 -6
  55. package/dist/cli/{feedback-KHJXJ2K7.mjs → feedback-F3RKOHZN.mjs} +3 -3
  56. package/dist/cli/{feedback-LG5NWE3R.js → feedback-UCW6EFOR.js} +7 -7
  57. package/dist/cli/git-HEKGLILK.js +24 -0
  58. package/dist/cli/{git-726A5HHA.mjs → git-LGQMBBO3.mjs} +4 -4
  59. package/dist/cli/index.js +136 -136
  60. package/dist/cli/index.mjs +38 -38
  61. package/dist/cli/{legacy-noops-V4WS63SD.mjs → legacy-noops-4TVFFILL.mjs} +4 -4
  62. package/dist/cli/{legacy-noops-QI6VN34P.js → legacy-noops-SRH3BPNV.js} +7 -7
  63. package/dist/cli/{monitors-ICQ2Q4XT.js → monitors-6NHXI3EW.js} +89 -89
  64. package/dist/cli/{monitors-AAWRYPHY.mjs → monitors-WBST3XUH.mjs} +5 -5
  65. package/dist/cli/{org-5JV6KYY2.js → org-5EFVZUB2.js} +66 -66
  66. package/dist/cli/{org-7VJKBTZX.mjs → org-DSDNRGDV.mjs} +4 -4
  67. package/dist/cli/{play-2D6ZIJEV.mjs → play-EKOV2T5N.mjs} +11 -11
  68. package/dist/cli/{play-HDI2MLJL.js → play-RMWBABCH.js} +284 -284
  69. package/dist/cli/{providers-KSKVBQFP.mjs → providers-AWNJWZWD.mjs} +46 -4
  70. package/dist/cli/{providers-GIE2W4ZG.js → providers-Y4EYH7IZ.js} +50 -8
  71. package/dist/cli/{quickstart-7OGLDF3M.mjs → quickstart-CPW66MBY.mjs} +3 -3
  72. package/dist/cli/{quickstart-JKNKNDXG.js → quickstart-JQ3W6LWQ.js} +5 -5
  73. package/dist/cli/search-PJXI2GJR.js +30 -0
  74. package/dist/cli/{search-CPKXOGV4.mjs → search-VP4Y6MQU.mjs} +5 -5
  75. package/dist/cli/{secrets-QHGLI7O6.mjs → secrets-2VEENFF4.mjs} +4 -4
  76. package/dist/cli/{secrets-LFQXTVIE.js → secrets-CPMHM5HU.js} +13 -13
  77. package/dist/cli/{sessions-HVMTS7N5.js → sessions-ALPCLDJI.js} +5 -5
  78. package/dist/cli/{sessions-M4OT6NPP.mjs → sessions-INDUUZ3K.mjs} +4 -4
  79. package/dist/cli/{settings-BJBOMHL2.mjs → settings-3YBZZPAM.mjs} +10 -10
  80. package/dist/cli/{settings-42WLEHAZ.js → settings-5PO4C33K.js} +77 -77
  81. package/dist/cli/{setup-ILUF7GCP.mjs → setup-7SOJ4INF.mjs} +8 -8
  82. package/dist/cli/{setup-6TZ4L5LT.js → setup-RK2MUVXO.js} +43 -43
  83. package/dist/cli/{skills-7RIWQDD6.mjs → skills-5PR5RTOX.mjs} +6 -6
  84. package/dist/cli/skills-J3243JQE.js +30 -0
  85. package/dist/cli/{tools-J3VDLDF2.mjs → tools-OSJJUP36.mjs} +13 -13
  86. package/dist/cli/tools-V2B44RFH.js +45 -0
  87. package/dist/cli/update-CKIL2SWB.js +32 -0
  88. package/dist/cli/{update-GMXJF4WT.mjs → update-TDCMXJ62.mjs} +8 -8
  89. package/dist/cli/{workflow-LVVK2N3T.js → workflow-6DKCCQYA.js} +15 -15
  90. package/dist/cli/{workflow-W7NQS26K.mjs → workflow-6O24O6LT.mjs} +5 -5
  91. package/dist/{client-BbU5_j7n.d.mts → client-BX2EVlPo.d.mts} +14 -0
  92. package/dist/{client-CYqG23K1.d.ts → client-CRz2laoR.d.ts} +14 -0
  93. package/dist/index.d.mts +2 -2
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.js +6 -6
  96. package/dist/index.mjs +3 -3
  97. package/dist/install-integrity.json +84 -84
  98. package/dist/plays/play-description.d.mts +1 -1
  99. package/dist/plays/play-description.d.ts +1 -1
  100. package/dist/plays/run-request.d.mts +1 -1
  101. package/dist/plays/run-request.d.ts +1 -1
  102. package/dist/release.d.mts +1 -1
  103. package/dist/release.d.ts +1 -1
  104. package/dist/release.js +2 -2
  105. package/dist/release.mjs +1 -1
  106. package/package.json +1 -1
  107. package/dist/cli/auth-SRR4DW75.js +0 -40
  108. package/dist/cli/git-PXYOFDQH.js +0 -24
  109. package/dist/cli/search-LOWDQS5X.js +0 -30
  110. package/dist/cli/skills-I5OWZZ2Z.js +0 -30
  111. package/dist/cli/tools-Y4SPWXFJ.js +0 -45
  112. package/dist/cli/update-HQ5WT3G6.js +0 -32
@@ -5,7 +5,7 @@ var _chunkPQUUWFXYjs = require('./chunk-PQUUWFXY.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkCZREA5NEjs = require('./chunk-CZREA5NE.js');
8
+ var _chunk76GTVFFGjs = require('./chunk-76GTVFFG.js');
9
9
 
10
10
 
11
11
 
@@ -48,7 +48,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
48
48
 
49
49
 
50
50
 
51
- var _chunkW3DIXRDTjs = require('./chunk-W3DIXRDT.js');
51
+ var _chunkVVYM2F7Xjs = require('./chunk-VVYM2F7X.js');
52
52
 
53
53
 
54
54
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -58,18 +58,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
58
58
 
59
59
 
60
60
 
61
- var _chunkVMGTYM3Ajs = require('./chunk-VMGTYM3A.js');
61
+ var _chunkKFCXTVDWjs = require('./chunk-KFCXTVDW.js');
62
62
 
63
63
 
64
64
 
65
65
 
66
- var _chunkSMZUU4NYjs = require('./chunk-SMZUU4NY.js');
66
+ var _chunkSHWMFFKXjs = require('./chunk-SHWMFFKX.js');
67
67
 
68
68
 
69
69
 
70
70
 
71
71
 
72
- var _chunkMFKTYIBJjs = require('./chunk-MFKTYIBJ.js');
72
+ var _chunkK5TWU5I6js = require('./chunk-K5TWU5I6.js');
73
73
 
74
74
 
75
75
 
@@ -77,12 +77,12 @@ var _chunkMFKTYIBJjs = require('./chunk-MFKTYIBJ.js');
77
77
 
78
78
 
79
79
 
80
- var _chunkJ7WYWQF4js = require('./chunk-J7WYWQF4.js');
80
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
81
81
 
82
82
 
83
83
 
84
84
 
85
- var _chunk2R7JD2NYjs = require('./chunk-2R7JD2NY.js');
85
+ var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.js');
86
86
 
87
87
 
88
88
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -161,10 +161,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
161
161
  }
162
162
  };
163
163
  function pendingToolExecutionPath(input) {
164
- const config = _chunk2R7JD2NYjs.resolveConfig.call(void 0, );
164
+ const config = _chunkS3D7OY6Djs.resolveConfig.call(void 0, );
165
165
  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");
166
166
  return _path.join.call(void 0,
167
- _chunk2R7JD2NYjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
167
+ _chunkS3D7OY6Djs.sdkCliStateDirPath.call(void 0, config.baseUrl),
168
168
  `pending-tool-execution-${fingerprint}.json`
169
169
  );
170
170
  }
@@ -440,13 +440,13 @@ function categoryEnumerationRender(summaries) {
440
440
  };
441
441
  }
442
442
  async function listToolCategories(emitJson, compact) {
443
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
443
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
444
444
  if (!emitJson) {
445
445
  const summaries2 = (await client.listToolCategories()).map((category) => ({
446
446
  ...category,
447
447
  description: describeToolCategory(category.name)
448
448
  }));
449
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
449
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
450
450
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
451
451
  { json: false }
452
452
  );
@@ -456,7 +456,7 @@ async function listToolCategories(emitJson, compact) {
456
456
  const items = rawTools.map(toListedTool);
457
457
  const summaries = aggregateCategorySummaries(rawTools);
458
458
  const outputItems = compact ? items.map(compactTool) : items;
459
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
459
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
460
460
  {
461
461
  tools: outputItems,
462
462
  count: outputItems.length,
@@ -475,7 +475,7 @@ function unknownCategoryError(category, summaries, emitJson) {
475
475
  const known = summaries.map((item) => item.name);
476
476
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
477
477
  if (emitJson) {
478
- _chunkJ7WYWQF4js.printJson.call(void 0, {
478
+ _chunkOQEIP4HFjs.printJson.call(void 0, {
479
479
  ok: false,
480
480
  exitCode: 4,
481
481
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -489,13 +489,13 @@ function unknownCategoryError(category, summaries, emitJson) {
489
489
  const render = categoryEnumerationRender(summaries);
490
490
  console.error(message);
491
491
  console.error("");
492
- console.error(_chunkJ7WYWQF4js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
492
+ console.error(_chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
493
493
  console.error("");
494
494
  console.error(`Valid categories: ${known.join(", ")}`);
495
495
  return 4;
496
496
  }
497
497
  async function listToolsInCategory(category, emitJson) {
498
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
498
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
499
499
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
500
500
  const summaries = categories.map((item) => ({
501
501
  ...item,
@@ -531,7 +531,7 @@ async function listToolsInCategory(category, emitJson) {
531
531
  }
532
532
  ]
533
533
  };
534
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
534
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
535
535
  {
536
536
  category,
537
537
  total: rows.length,
@@ -544,7 +544,7 @@ async function listToolsInCategory(category, emitJson) {
544
544
  return 0;
545
545
  }
546
546
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
547
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
547
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
548
548
  const items = (await client.listTools({
549
549
  categories: requestedCategories.join(","),
550
550
  compact
@@ -573,7 +573,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
573
573
  ]
574
574
  };
575
575
  const outputItems = compact ? items.map(compactTool) : items;
576
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
576
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
577
577
  {
578
578
  tools: outputItems,
579
579
  count: outputItems.length,
@@ -592,13 +592,13 @@ async function listTools(category, options = {}) {
592
592
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
593
593
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
594
594
  const compact = options.compact !== false;
595
- const emitJson = options.json === true || _chunkJ7WYWQF4js.shouldEmitJson.call(void 0, );
595
+ const emitJson = options.json === true || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, );
596
596
  if (positional && flagCategories.length > 0) {
597
597
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
598
598
  if (!flagIsSameSingle) {
599
599
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
600
600
  if (emitJson) {
601
- _chunkJ7WYWQF4js.printJson.call(void 0, {
601
+ _chunkOQEIP4HFjs.printJson.call(void 0, {
602
602
  ok: false,
603
603
  exitCode: 2,
604
604
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -625,7 +625,7 @@ async function grepTools(queryInput, options = {}) {
625
625
  console.error("Usage: deepline tools grep <query> [--json]");
626
626
  return 1;
627
627
  }
628
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
628
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
629
629
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
630
630
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
631
631
  const jsonOutput = options.json === true;
@@ -649,7 +649,7 @@ async function grepTools(queryInput, options = {}) {
649
649
  query,
650
650
  mode
651
651
  }) : null;
652
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
652
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
653
653
  {
654
654
  tools: outputTools,
655
655
  count: outputTools.length,
@@ -667,7 +667,7 @@ async function grepTools(queryInput, options = {}) {
667
667
  } : {},
668
668
  commandTemplates: TOOL_COMMAND_TEMPLATES
669
669
  },
670
- { json: options.json || _chunkJ7WYWQF4js.shouldEmitJson.call(void 0, ) }
670
+ { json: options.json || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, ) }
671
671
  );
672
672
  return 0;
673
673
  }
@@ -778,7 +778,7 @@ Output:
778
778
  if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
779
779
  throw new Error("Use --preset or individual scopes, not both.");
780
780
  const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
781
- const result2 = await new (0, _chunkW3DIXRDTjs.DeeplineClient)().startIntegrationOAuth(
781
+ const result2 = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().startIntegrationOAuth(
782
782
  provider,
783
783
  {
784
784
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -790,7 +790,7 @@ Output:
790
790
  throw new Error(
791
791
  "The API did not return an OAuth authorization URL."
792
792
  );
793
- if (_chunkJ7WYWQF4js.shouldEmitJson.call(void 0, options.json))
793
+ if (_chunkOQEIP4HFjs.shouldEmitJson.call(void 0, options.json))
794
794
  console.log(
795
795
  JSON.stringify({ provider, redirect_url: result2.redirect_url })
796
796
  );
@@ -816,7 +816,7 @@ Output:
816
816
  "--credentials-file must contain a nonempty JSON object of string credential values."
817
817
  );
818
818
  }
819
- const result = await new (0, _chunkW3DIXRDTjs.DeeplineClient)().setIntegrationCredentials(
819
+ const result = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().setIntegrationCredentials(
820
820
  provider,
821
821
  credentials
822
822
  );
@@ -826,7 +826,7 @@ Output:
826
826
  );
827
827
  }
828
828
  const confirmation = { provider, credential_saved: true };
829
- if (_chunkJ7WYWQF4js.shouldEmitJson.call(void 0, options.json))
829
+ if (_chunkOQEIP4HFjs.shouldEmitJson.call(void 0, options.json))
830
830
  console.log(JSON.stringify(confirmation));
831
831
  else
832
832
  console.log(
@@ -866,7 +866,7 @@ Examples:
866
866
  json: Boolean(options.json)
867
867
  });
868
868
  });
869
- _chunkCZREA5NEjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
869
+ _chunk76GTVFFGjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
870
870
  tools.command("grep <query>").description(
871
871
  "Regex grep over tool ids, descriptions, categories, and input fields."
872
872
  ).addHelpText(
@@ -901,7 +901,7 @@ Examples:
901
901
  });
902
902
  const addToolMetadataCommand = (command) => {
903
903
  let compatibilityMetadata;
904
- _chunkVMGTYM3Ajs.registerCompatibilityCatalog.call(void 0, command, () => ({
904
+ _chunkKFCXTVDWjs.registerCompatibilityCatalog.call(void 0, command, () => ({
905
905
  toolId: command.args[0],
906
906
  acceptMetadata: (metadata) => {
907
907
  compatibilityMetadata = metadata;
@@ -971,7 +971,7 @@ Examples:
971
971
  process.exitCode = await narrowView();
972
972
  return;
973
973
  }
974
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-PX7XBLZF.js")));
974
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AXWFWCWZ.js")));
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -1055,7 +1055,7 @@ Examples:
1055
1055
  options,
1056
1056
  void 0,
1057
1057
  true,
1058
- _chunkSMZUU4NYjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1058
+ _chunkSHWMFFKXjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1059
1059
  );
1060
1060
  }
1061
1061
  );
@@ -1063,13 +1063,13 @@ Examples:
1063
1063
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1064
1064
  let metadata;
1065
1065
  const startedAt = performance.now();
1066
- const baseUrl = _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl;
1067
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1068
- const result = _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
1066
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
1067
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1068
+ const result = _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
1069
1069
  "SDK compatibility",
1070
- () => _chunkMFKTYIBJjs.checkSdkCompatibility.call(void 0, baseUrl, {
1070
+ () => _chunkK5TWU5I6js.checkSdkCompatibility.call(void 0, baseUrl, {
1071
1071
  command: "tools execute",
1072
- skillsVersion: _chunk2R7JD2NYjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1072
+ skillsVersion: _chunkS3D7OY6Djs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1073
1073
  persistCache: false,
1074
1074
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1075
1075
  catalog: {
@@ -1083,7 +1083,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1083
1083
  })
1084
1084
  ).then(
1085
1085
  (compatibility) => {
1086
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, {
1086
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
1087
1087
  phase: "cli.tool_execute_compatibility_ready",
1088
1088
  ms: performance.now() - startedAt,
1089
1089
  ok: compatibility.error === null,
@@ -1092,7 +1092,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1092
1092
  return compatibility;
1093
1093
  },
1094
1094
  (error) => {
1095
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, {
1095
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
1096
1096
  phase: "cli.tool_execute_compatibility_ready",
1097
1097
  ms: performance.now() - startedAt,
1098
1098
  ok: false
@@ -1107,7 +1107,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1107
1107
  console.error("Usage: deepline tools describe <toolId> [--json]");
1108
1108
  return 1;
1109
1109
  }
1110
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
1110
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
1111
1111
  let tool;
1112
1112
  try {
1113
1113
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1161,7 +1161,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1161
1161
  const lines = toolPricingOnlyLines(tool, toolId);
1162
1162
  if (inferenceQuote)
1163
1163
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1164
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
1164
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  toolId: String(tool.toolId || toolId),
1167
1167
  cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1184,7 +1184,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1184
1184
  void 0,
1185
1185
  seedToolListScript
1186
1186
  );
1187
- _chunkJ7WYWQF4js.printCompactJson.call(void 0, {
1187
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1188
1188
  toolId: contract.toolId,
1189
1189
  ...options.schemaOnly ? {
1190
1190
  inputSchema: contract.inputSchema,
@@ -1207,7 +1207,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1207
1207
  return 0;
1208
1208
  }
1209
1209
  if (options.contractJson) {
1210
- _chunkJ7WYWQF4js.printCompactJson.call(void 0, {
1210
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1211
1211
  ..._chunkZ2GUFYT6js.toolContractJsonForDescribe.call(void 0,
1212
1212
  tool,
1213
1213
  toolId,
@@ -1221,7 +1221,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1221
1221
  }
1222
1222
  const emitJson = options.json === true;
1223
1223
  if (emitJson) {
1224
- _chunkJ7WYWQF4js.printCompactJson.call(void 0, {
1224
+ _chunkOQEIP4HFjs.printCompactJson.call(void 0, {
1225
1225
  ..._chunkZ2GUFYT6js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1226
1226
  ...modelDescription ? { modelOptions: modelDescription } : {},
1227
1227
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2083,7 +2083,7 @@ function parseExecuteOptions(toolId, options, output) {
2083
2083
  outputFormat = normalizeOutputFormat(options.outputFormat);
2084
2084
  }
2085
2085
  if (options.idempotencyKey !== void 0) {
2086
- _chunkW3DIXRDTjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2086
+ _chunkVVYM2F7Xjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2087
2087
  }
2088
2088
  if (options.recoveryTimeoutMs !== void 0) {
2089
2089
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2404,19 +2404,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2404
2404
  parsed = parseExecuteOptions(toolId, options, output);
2405
2405
  } catch (error) {
2406
2406
  if (wantsJson) {
2407
- _chunkJ7WYWQF4js.printJsonError.call(void 0, error);
2407
+ _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2408
2408
  } else {
2409
2409
  console.error(error instanceof Error ? error.message : String(error));
2410
2410
  }
2411
2411
  return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2412
2412
  }
2413
- const cliInvocationId = _nullishCoalesce(_chunkVMGTYM3Ajs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkVMGTYM3Ajs.beginToolExecuteCommand.call(void 0, )));
2413
+ const cliInvocationId = _nullishCoalesce(_chunkKFCXTVDWjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkKFCXTVDWjs.beginToolExecuteCommand.call(void 0, )));
2414
2414
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2415
- const tracing = _chunkSMZUU4NYjs.isCliTraceEnabled.call(void 0, );
2415
+ const tracing = _chunkSHWMFFKXjs.isCliTraceEnabled.call(void 0, );
2416
2416
  const clientStartedAt = tracing ? performance.now() : void 0;
2417
- const client = new (0, _chunkW3DIXRDTjs.DeeplineClient)();
2417
+ const client = new (0, _chunkVVYM2F7Xjs.DeeplineClient)();
2418
2418
  if (clientStartedAt !== void 0) {
2419
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, {
2419
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
2420
2420
  phase: "cli.tool_execute_client_setup",
2421
2421
  ms: performance.now() - clientStartedAt
2422
2422
  });
@@ -2425,13 +2425,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2425
2425
  const readMetadata = async () => {
2426
2426
  if (metadata) return metadata;
2427
2427
  try {
2428
- metadata = await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2428
+ metadata = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2429
2429
  "tool metadata lookup",
2430
2430
  () => client.getTool(parsed.toolId, { cliInvocationId })
2431
2431
  );
2432
2432
  } catch (error) {
2433
2433
  if (isMissingToolMetadataError(error)) {
2434
- const play = await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2434
+ const play = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2435
2435
  "play alias lookup",
2436
2436
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2437
2437
  );
@@ -2470,7 +2470,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2470
2470
  metadata = await readMetadata();
2471
2471
  } catch (error) {
2472
2472
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2473
- if (wantsJson) _chunkJ7WYWQF4js.printJsonError.call(void 0, error);
2473
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2474
2474
  else console.error(error.message);
2475
2475
  return 2;
2476
2476
  }
@@ -2486,7 +2486,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2486
2486
  metadata = await readMetadata();
2487
2487
  } catch (error) {
2488
2488
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2489
- if (wantsJson) _chunkJ7WYWQF4js.printJsonError.call(void 0, error);
2489
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2490
2490
  else console.error(error.message);
2491
2491
  return 2;
2492
2492
  }
@@ -2512,11 +2512,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2512
2512
  responseIntent,
2513
2513
  ...idempotencyKey ? { idempotencyKey } : {},
2514
2514
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2515
- searchRef: _chunkCZREA5NEjs.recentSearchRef.call(void 0, ),
2515
+ searchRef: _chunk76GTVFFGjs.recentSearchRef.call(void 0, ),
2516
2516
  cliInvocationId,
2517
2517
  onResponseReceived: _chunkPQUUWFXYjs.recordApiResponse,
2518
2518
  ...tracing ? {
2519
- onServerTiming: (serverTiming) => _chunkSMZUU4NYjs.recordCliTrace.call(void 0, {
2519
+ onServerTiming: (serverTiming) => _chunkSHWMFFKXjs.recordCliTrace.call(void 0, {
2520
2520
  phase: "tool_execute_server_timing",
2521
2521
  cliInvocationId,
2522
2522
  serverTiming,
@@ -2527,13 +2527,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2527
2527
  let rawResponse;
2528
2528
  let successfulCompatibilityResponse;
2529
2529
  try {
2530
- const executeResult = await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2530
+ const executeResult = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2531
2531
  "execute request",
2532
2532
  async () => {
2533
2533
  try {
2534
2534
  if (tracing) {
2535
2535
  submissionStartedAt = performance.now();
2536
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2536
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2537
2537
  }
2538
2538
  return await client.executeTool(parsed.toolId, parsed.params, {
2539
2539
  ...executeOptions,
@@ -2543,34 +2543,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2543
2543
  } catch (error) {
2544
2544
  if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2545
2545
  throw error;
2546
- const baseUrl = _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl;
2546
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
2547
2547
  if (maintenancePolicy !== "off") {
2548
- _chunkMFKTYIBJjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2548
+ _chunkK5TWU5I6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2549
2549
  }
2550
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2550
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2551
2551
  "SDK compatibility",
2552
- () => _chunkMFKTYIBJjs.checkSdkCompatibility.call(void 0, baseUrl, {
2552
+ () => _chunkK5TWU5I6js.checkSdkCompatibility.call(void 0, baseUrl, {
2553
2553
  command: "tools execute",
2554
- skillsVersion: _chunk2R7JD2NYjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2554
+ skillsVersion: _chunkS3D7OY6Djs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2555
2555
  persistCache: maintenancePolicy !== "off"
2556
2556
  })
2557
2557
  );
2558
2558
  if (compatibility.error) throw compatibility.error;
2559
2559
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _30 => _30.readMetadata, 'call', _31 => _31()]), () => ( metadata));
2560
- if (maintenancePolicy !== "off" && await _chunkVMGTYM3Ajs.maybeAutoUpdateAndRelaunch.call(void 0,
2560
+ if (maintenancePolicy !== "off" && await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2561
2561
  compatibility.response,
2562
2562
  baseUrl,
2563
2563
  maintenancePolicy
2564
2564
  )) {
2565
2565
  return void 0;
2566
2566
  }
2567
- _chunkMFKTYIBJjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2567
+ _chunkK5TWU5I6js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2568
2568
  quietAdvisory: wantsJson
2569
2569
  });
2570
2570
  if (maintenancePolicy !== "off") {
2571
- await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2571
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2572
2572
  "agent skills sync",
2573
- () => _chunkMFKTYIBJjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2573
+ () => _chunkK5TWU5I6js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2574
2574
  update: _optionalChain([compatibility, 'access', _32 => _32.response, 'optionalAccess', _33 => _33.skills]),
2575
2575
  mode: "detached"
2576
2576
  })
@@ -2579,7 +2579,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2579
2579
  const legacyMetadata = await readMetadata();
2580
2580
  if (tracing) {
2581
2581
  submissionStartedAt = performance.now();
2582
- _chunkSMZUU4NYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2582
+ _chunkSHWMFFKXjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2583
2583
  }
2584
2584
  return client.executeTool(parsed.toolId, parsed.params, {
2585
2585
  ...executeOptions,
@@ -2600,8 +2600,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2600
2600
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2601
2601
  const updateRequiredBeforeExecution = error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2602
2602
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2603
- const baseUrl = _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl;
2604
- if (await _chunkVMGTYM3Ajs.maybeAutoUpdateAndRelaunch.call(void 0,
2603
+ const baseUrl = _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl;
2604
+ if (await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2605
2605
  compatibility.response,
2606
2606
  baseUrl,
2607
2607
  maintenancePolicy
@@ -2620,7 +2620,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2620
2620
  failure = diagnosticError;
2621
2621
  }
2622
2622
  if (failure instanceof _chunkDIAWYWT5js.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2623
- if (wantsJson) _chunkJ7WYWQF4js.printJsonError.call(void 0, failure);
2623
+ if (wantsJson) _chunkOQEIP4HFjs.printJsonError.call(void 0, failure);
2624
2624
  else console.error(failure.message);
2625
2625
  return 2;
2626
2626
  }
@@ -2647,9 +2647,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2647
2647
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2648
2648
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _39 => _39.auto_update]);
2649
2649
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _40 => _40.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2650
- await _chunkVMGTYM3Ajs.maybeAutoUpdateAndRelaunch.call(void 0,
2650
+ await _chunkKFCXTVDWjs.maybeAutoUpdateAndRelaunch.call(void 0,
2651
2651
  compatibilityResponse,
2652
- _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl,
2652
+ _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl,
2653
2653
  maintenancePolicy
2654
2654
  );
2655
2655
  }
@@ -2684,7 +2684,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2684
2684
  const { _metadata, ...execution } = rawResponse;
2685
2685
  rawResponse = execution;
2686
2686
  }
2687
- const { listConversion, summary, baseEnvelope } = await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2687
+ const { listConversion, summary, baseEnvelope } = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2688
2688
  "result formatting",
2689
2689
  async () => {
2690
2690
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2719,9 +2719,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2719
2719
  }
2720
2720
  skillsSyncAttempted = true;
2721
2721
  try {
2722
- await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2722
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2723
2723
  "agent skills sync",
2724
- () => _chunkMFKTYIBJjs.syncSdkSkillsIfNeeded.call(void 0, _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl, {
2724
+ () => _chunkK5TWU5I6js.syncSdkSkillsIfNeeded.call(void 0, _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl, {
2725
2725
  update: deliveredCompatibilityResponse.skills,
2726
2726
  mode: "detached"
2727
2727
  })
@@ -2732,15 +2732,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2732
2732
  );
2733
2733
  }
2734
2734
  };
2735
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0, envelope, {
2735
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, envelope, {
2736
2736
  ...options2,
2737
2737
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2738
2738
  });
2739
2739
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2740
2740
  await syncSkillsForDeliveredOutput();
2741
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2741
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2742
2742
  };
2743
- const delivered = await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2743
+ const delivered = await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2744
2744
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2745
2745
  await printDeliveredJsonEnvelope(baseEnvelope);
2746
2746
  return true;
@@ -2769,7 +2769,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2769
2769
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2770
2770
  );
2771
2771
  if (wantsJson) {
2772
- _chunkJ7WYWQF4js.printJsonError.call(void 0, error);
2772
+ _chunkOQEIP4HFjs.printJsonError.call(void 0, error);
2773
2773
  } else {
2774
2774
  console.error(error.message);
2775
2775
  }
@@ -2864,13 +2864,13 @@ inspect: ${inspection.inspect}
2864
2864
  return true;
2865
2865
  });
2866
2866
  if (delivered) {
2867
- await _chunkVMGTYM3Ajs.runToolExecuteStage.call(void 0,
2867
+ await _chunkKFCXTVDWjs.runToolExecuteStage.call(void 0,
2868
2868
  "acknowledge delivery",
2869
2869
  () => recovery.acknowledgeDelivery()
2870
2870
  );
2871
2871
  }
2872
2872
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
2873
- _chunkMFKTYIBJjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2873
+ _chunkK5TWU5I6js.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2874
2874
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _42 => _42.auto_update, 'optionalAccess', _43 => _43.should_auto_update]) === true
2875
2875
  });
2876
2876
  }
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkW3DIXRDTjs = require('./chunk-W3DIXRDT.js');
6
+ var _chunkVVYM2F7Xjs = require('./chunk-VVYM2F7X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkJ7WYWQF4js = require('./chunk-J7WYWQF4.js');
10
+ var _chunkOQEIP4HFjs = require('./chunk-OQEIP4HF.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2R7JD2NYjs = require('./chunk-2R7JD2NY.js');
14
+ var _chunkS3D7OY6Djs = require('./chunk-S3D7OY6D.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunk2R7JD2NYjs.sdkCliStateDirPath.call(void 0, _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkS3D7OY6Djs.sdkCliStateDirPath.call(void 0, _chunkS3D7OY6Djs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkJ7WYWQF4js.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkJ7WYWQF4js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkOQEIP4HFjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkW3DIXRDTjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkOQEIP4HFjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -40,6 +40,27 @@ Conventions (apply to every tool):
40
40
  ]]
41
41
  `;
42
42
  var COMMAND_DOCS = {
43
+ "providers connect": {
44
+ core: `Purpose: Start OAuth authorization for an integration.
45
+ Input: Pass its provider ID,
46
+ for example: deepline providers connect apollo. The response contains ok and
47
+ redirect_url. Open redirect_url in a browser signed into the intended Deepline
48
+ workspace, then sign into the provider and approve access. Returning a URL does
49
+ not mean authorization is complete. --scopes accepts a quoted space-separated
50
+ list; omit it for the provider's default permissions. This stores an account
51
+ connection after approval and does not execute provider tools.
52
+ Cost: Does not spend Deepline credits.`
53
+ },
54
+ "providers test": {
55
+ core: `Purpose: Verify a connected OAuth integration, for example:
56
+ deepline providers test apollo --json. Input: Pass a provider ID with an OAuth test
57
+ endpoint. The result includes provider, status, hasAccessToken, hasRefreshToken,
58
+ expiresAt and apiCheck; tokens are never returned. Expired credentials refresh
59
+ through the normal lifecycle before a read-only provider probe. This does not
60
+ prove every tool's permissions. Run tools describe and a bounded read tool to
61
+ verify data access. Provider errors fail the command.
62
+ Cost: The connection probe does not spend Deepline credits.`
63
+ },
43
64
  "": {
44
65
  core: `
45
66
  [[cli: