deepline 0.3.438 → 0.3.439

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 (110) 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-5UUDH4A7.js +40 -0
  4. package/dist/cli/{auth-UDRY6ZL5.mjs → auth-FE2LP7A5.mjs} +4 -4
  5. package/dist/cli/{billing-7QTUCC3F.js → billing-4QAWLCKH.js} +73 -73
  6. package/dist/cli/{billing-3PTMADUE.mjs → billing-GABU2MTX.mjs} +4 -4
  7. package/dist/cli/{chunk-2KDFL6IV.mjs → chunk-2ELMQ6LW.mjs} +4 -4
  8. package/dist/cli/{chunk-R4MGS7YD.mjs → chunk-2GNX6SCO.mjs} +24 -0
  9. package/dist/cli/{chunk-EBGHNXSH.js → chunk-2I42ORGH.js} +1 -1
  10. package/dist/cli/{chunk-IREQVEGX.js → chunk-3TYXI7MD.js} +6 -6
  11. package/dist/cli/{chunk-IAQ73HVZ.js → chunk-72XLUEP6.js} +16 -16
  12. package/dist/cli/{chunk-K4WKKNGY.js → chunk-76DCNYH3.js} +2 -2
  13. package/dist/cli/{chunk-2OTCHLWC.mjs → chunk-BQQ4LEQB.mjs} +1 -1
  14. package/dist/cli/{chunk-S5AVEKTO.js → chunk-D4VWHTDT.js} +6 -6
  15. package/dist/cli/{chunk-K4EHBVYV.js → chunk-DM6Q634K.js} +24 -0
  16. package/dist/cli/{chunk-3G7KUJ63.mjs → chunk-E6ESUF5C.mjs} +1 -1
  17. package/dist/cli/{chunk-OSQEFBQA.js → chunk-EBW6KRTG.js} +4 -4
  18. package/dist/cli/{chunk-ALWQKQQ6.mjs → chunk-F3ORKGAM.mjs} +2 -2
  19. package/dist/cli/{chunk-3ZGIJPAC.js → chunk-FB3B2NKV.js} +8 -8
  20. package/dist/cli/{chunk-3G2MZM7B.js → chunk-FCF5BP3Q.js} +2 -2
  21. package/dist/cli/{chunk-QUAV2FSK.mjs → chunk-FDQAOF3L.mjs} +3 -3
  22. package/dist/cli/{chunk-GBIWLNWI.mjs → chunk-HO2TOFKF.mjs} +14 -1
  23. package/dist/cli/{chunk-QG7LM24G.mjs → chunk-HUBVYO52.mjs} +2 -2
  24. package/dist/cli/{chunk-AGX3XMPN.mjs → chunk-IAL3KSJT.mjs} +1 -1
  25. package/dist/cli/{chunk-MOVWT3Z3.js → chunk-IX7ZGPLU.js} +8 -8
  26. package/dist/cli/{chunk-OVLP7546.js → chunk-KGR7SR3C.js} +113 -81
  27. package/dist/cli/{chunk-SJBJYNJ3.mjs → chunk-MGBVCVJ7.mjs} +1 -1
  28. package/dist/cli/{chunk-GIRJGHC3.js → chunk-MPY4UD6H.js} +93 -80
  29. package/dist/cli/{chunk-GSDUURVH.mjs → chunk-N7T6S5SU.mjs} +2 -2
  30. package/dist/cli/{chunk-KQJMCYFP.js → chunk-P4ITKGRQ.js} +50 -50
  31. package/dist/cli/{chunk-PEFUJDEQ.mjs → chunk-QFTJ24UV.mjs} +3 -3
  32. package/dist/cli/{chunk-3BQVWQXZ.js → chunk-R3X55OMZ.js} +20 -20
  33. package/dist/cli/{chunk-64GPTXJV.mjs → chunk-RIJ4VTYJ.mjs} +3 -3
  34. package/dist/cli/{chunk-DGGQXHAO.mjs → chunk-SWZQBMXR.mjs} +2 -2
  35. package/dist/cli/{chunk-ODGVHGHI.js → chunk-TWXPEHTM.js} +52 -52
  36. package/dist/cli/{chunk-LZRYLCV3.mjs → chunk-UN3F6ZKR.mjs} +5 -5
  37. package/dist/cli/{chunk-HWTAT726.js → chunk-WJ4PNSX3.js} +26 -26
  38. package/dist/cli/{chunk-CLDL6HJ4.js → chunk-XFVHEDRH.js} +35 -35
  39. package/dist/cli/{chunk-CO67TF3J.mjs → chunk-XMSVK6O4.mjs} +42 -10
  40. package/dist/cli/{chunk-G6HUOVZ4.mjs → chunk-ZTJUGK5I.mjs} +1 -1
  41. package/dist/cli/command-docs.js +2 -2
  42. package/dist/cli/command-docs.mjs +1 -1
  43. package/dist/cli/{csv-ZU2VMGYN.mjs → csv-NZOZIEQP.mjs} +3 -3
  44. package/dist/cli/{csv-K5PMPLNS.js → csv-TVVXG42B.js} +12 -12
  45. package/dist/cli/{db-7CZ73PYG.js → db-3Q2OPJW6.js} +25 -25
  46. package/dist/cli/{db-GJR5NDMX.mjs → db-PEZHN563.mjs} +4 -4
  47. package/dist/cli/{describe-NS2RAE5K.mjs → describe-GHSBWUUS.mjs} +12 -12
  48. package/dist/cli/{describe-YNVJ76T6.js → describe-M7AP5WVH.js} +16 -16
  49. package/dist/cli/describe-core.d.mts +1 -1
  50. package/dist/cli/describe-core.d.ts +1 -1
  51. package/dist/cli/{executions-7VW6WOHA.mjs → executions-7E3GU4QA.mjs} +4 -4
  52. package/dist/cli/{executions-EKWO3HR7.js → executions-YKR2SAZF.js} +6 -6
  53. package/dist/cli/{feedback-I4AKIIFP.mjs → feedback-JSPMENHA.mjs} +3 -3
  54. package/dist/cli/{feedback-DTMRRZNI.js → feedback-JTRYBUQZ.js} +7 -7
  55. package/dist/cli/git-6QITFAMM.js +24 -0
  56. package/dist/cli/{git-H7RW4ILW.mjs → git-R4PATSRX.mjs} +4 -4
  57. package/dist/cli/index.js +135 -135
  58. package/dist/cli/index.mjs +37 -37
  59. package/dist/cli/{legacy-noops-BJCSECN6.js → legacy-noops-3OMVEANW.js} +7 -7
  60. package/dist/cli/{legacy-noops-2LJGABEO.mjs → legacy-noops-W52GTS36.mjs} +4 -4
  61. package/dist/cli/{monitors-75ZYK5QN.mjs → monitors-SIXLFZJ3.mjs} +4 -4
  62. package/dist/cli/{monitors-YXIETS5O.js → monitors-YA6X5BM4.js} +84 -84
  63. package/dist/cli/{org-TIQTG57G.js → org-73YXPEZ5.js} +66 -66
  64. package/dist/cli/{org-5BYA54D5.mjs → org-EYFKI2ZI.mjs} +4 -4
  65. package/dist/cli/{play-3HDMONS3.mjs → play-7EF6XSS6.mjs} +10 -10
  66. package/dist/cli/{play-MG6PQTZX.js → play-CSRSSDTC.js} +283 -283
  67. package/dist/cli/{providers-VTU5QFEY.js → providers-IHQGSP3E.js} +7 -7
  68. package/dist/cli/{providers-ZRI33AVX.mjs → providers-MKIVZMBG.mjs} +4 -4
  69. package/dist/cli/{quickstart-E2GZQ7C5.js → quickstart-26QTTEHV.js} +5 -5
  70. package/dist/cli/{quickstart-GLKJVPGF.mjs → quickstart-COU7YD7S.mjs} +3 -3
  71. package/dist/cli/search-DOK42NBV.js +30 -0
  72. package/dist/cli/{search-WA7MLHXA.mjs → search-YKN4OI4P.mjs} +5 -5
  73. package/dist/cli/{secrets-UZCAPRNH.mjs → secrets-CQPQQJ76.mjs} +4 -4
  74. package/dist/cli/{secrets-FJ2FFPR6.js → secrets-W3DT7F7Q.js} +13 -13
  75. package/dist/cli/{sessions-GSB77ETF.js → sessions-GYKUO55E.js} +5 -5
  76. package/dist/cli/{sessions-RGT3OFG3.mjs → sessions-U5ULT5CF.mjs} +4 -4
  77. package/dist/cli/{settings-5TWU54SW.mjs → settings-6MZCTUWD.mjs} +8 -8
  78. package/dist/cli/{settings-LOFO3Z7X.js → settings-U6ZOQ3FZ.js} +75 -75
  79. package/dist/cli/{setup-HUAD7RTY.js → setup-HEDWKIGE.js} +42 -42
  80. package/dist/cli/{setup-ECTNKMOF.mjs → setup-JFG3GZGE.mjs} +7 -7
  81. package/dist/cli/skills-FOGBZYDP.js +29 -0
  82. package/dist/cli/{skills-APEJV5NK.mjs → skills-VIY56KK5.mjs} +5 -5
  83. package/dist/cli/{tools-56FHN4LC.mjs → tools-Y64ZTYTZ.mjs} +12 -12
  84. package/dist/cli/tools-ZN54N4NT.js +44 -0
  85. package/dist/cli/{update-HEN6P35K.mjs → update-2RL67PK2.mjs} +7 -7
  86. package/dist/cli/update-AZCNZXXP.js +31 -0
  87. package/dist/cli/{workflow-VYCNZHZ7.js → workflow-FHKZGJGS.js} +15 -15
  88. package/dist/cli/{workflow-P7XPHC5B.mjs → workflow-YRI7MT3F.mjs} +5 -5
  89. package/dist/{client-uX4RCcOS.d.ts → client-9nH8tx4R.d.ts} +9 -0
  90. package/dist/{client-jgdWPXpp.d.mts → client-Doml68vC.d.mts} +9 -0
  91. package/dist/index.d.mts +2 -2
  92. package/dist/index.d.ts +2 -2
  93. package/dist/index.js +6 -6
  94. package/dist/index.mjs +3 -3
  95. package/dist/install-integrity.json +82 -82
  96. package/dist/plays/play-description.d.mts +1 -1
  97. package/dist/plays/play-description.d.ts +1 -1
  98. package/dist/plays/run-request.d.mts +1 -1
  99. package/dist/plays/run-request.d.ts +1 -1
  100. package/dist/release.d.mts +1 -1
  101. package/dist/release.d.ts +1 -1
  102. package/dist/release.js +2 -2
  103. package/dist/release.mjs +1 -1
  104. package/package.json +1 -1
  105. package/dist/cli/auth-7MV6G26U.js +0 -40
  106. package/dist/cli/git-F7XXAE3T.js +0 -24
  107. package/dist/cli/search-FWZCKD3Y.js +0 -30
  108. package/dist/cli/skills-M6AIJHCI.js +0 -29
  109. package/dist/cli/tools-4CNXP3XD.js +0 -44
  110. package/dist/cli/update-US3AAEVC.js +0 -31
@@ -5,7 +5,7 @@ var _chunkGXOQRZXGjs = require('./chunk-GXOQRZXG.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkMOVWT3Z3js = require('./chunk-MOVWT3Z3.js');
8
+ var _chunkIX7ZGPLUjs = require('./chunk-IX7ZGPLU.js');
9
9
 
10
10
 
11
11
 
@@ -45,7 +45,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
45
45
 
46
46
 
47
47
 
48
- var _chunkGIRJGHC3js = require('./chunk-GIRJGHC3.js');
48
+ var _chunkMPY4UD6Hjs = require('./chunk-MPY4UD6H.js');
49
49
 
50
50
 
51
51
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -55,18 +55,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
55
55
 
56
56
 
57
57
 
58
- var _chunk3BQVWQXZjs = require('./chunk-3BQVWQXZ.js');
58
+ var _chunkR3X55OMZjs = require('./chunk-R3X55OMZ.js');
59
59
 
60
60
 
61
61
 
62
62
 
63
- var _chunkK4WKKNGYjs = require('./chunk-K4WKKNGY.js');
63
+ var _chunk76DCNYH3js = require('./chunk-76DCNYH3.js');
64
64
 
65
65
 
66
66
 
67
67
 
68
68
 
69
- var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
69
+ var _chunkTWXPEHTMjs = require('./chunk-TWXPEHTM.js');
70
70
 
71
71
 
72
72
 
@@ -74,12 +74,12 @@ var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
74
74
 
75
75
 
76
76
 
77
- var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
77
+ var _chunkD4VWHTDTjs = require('./chunk-D4VWHTDT.js');
78
78
 
79
79
 
80
80
 
81
81
 
82
- var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.js');
82
+ var _chunkEBW6KRTGjs = require('./chunk-EBW6KRTG.js');
83
83
 
84
84
 
85
85
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
@@ -158,10 +158,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
158
158
  }
159
159
  };
160
160
  function pendingToolExecutionPath(input) {
161
- const config = _chunkOSQEFBQAjs.resolveConfig.call(void 0, );
161
+ const config = _chunkEBW6KRTGjs.resolveConfig.call(void 0, );
162
162
  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");
163
163
  return _path.join.call(void 0,
164
- _chunkOSQEFBQAjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
164
+ _chunkEBW6KRTGjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
165
165
  `pending-tool-execution-${fingerprint}.json`
166
166
  );
167
167
  }
@@ -437,13 +437,13 @@ function categoryEnumerationRender(summaries) {
437
437
  };
438
438
  }
439
439
  async function listToolCategories(emitJson, compact) {
440
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
440
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
441
441
  if (!emitJson) {
442
442
  const summaries2 = (await client.listToolCategories()).map((category) => ({
443
443
  ...category,
444
444
  description: describeToolCategory(category.name)
445
445
  }));
446
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
446
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
447
447
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
448
448
  { json: false }
449
449
  );
@@ -453,7 +453,7 @@ async function listToolCategories(emitJson, compact) {
453
453
  const items = rawTools.map(toListedTool);
454
454
  const summaries = aggregateCategorySummaries(rawTools);
455
455
  const outputItems = compact ? items.map(compactTool) : items;
456
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
456
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
457
457
  {
458
458
  tools: outputItems,
459
459
  count: outputItems.length,
@@ -472,7 +472,7 @@ function unknownCategoryError(category, summaries, emitJson) {
472
472
  const known = summaries.map((item) => item.name);
473
473
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
474
474
  if (emitJson) {
475
- _chunkS5AVEKTOjs.printJson.call(void 0, {
475
+ _chunkD4VWHTDTjs.printJson.call(void 0, {
476
476
  ok: false,
477
477
  exitCode: 4,
478
478
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -486,13 +486,13 @@ function unknownCategoryError(category, summaries, emitJson) {
486
486
  const render = categoryEnumerationRender(summaries);
487
487
  console.error(message);
488
488
  console.error("");
489
- console.error(_chunkS5AVEKTOjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
489
+ console.error(_chunkD4VWHTDTjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
490
490
  console.error("");
491
491
  console.error(`Valid categories: ${known.join(", ")}`);
492
492
  return 4;
493
493
  }
494
494
  async function listToolsInCategory(category, emitJson) {
495
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
495
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
496
496
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
497
497
  const summaries = categories.map((item) => ({
498
498
  ...item,
@@ -528,7 +528,7 @@ async function listToolsInCategory(category, emitJson) {
528
528
  }
529
529
  ]
530
530
  };
531
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
531
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
532
532
  {
533
533
  category,
534
534
  total: rows.length,
@@ -541,7 +541,7 @@ async function listToolsInCategory(category, emitJson) {
541
541
  return 0;
542
542
  }
543
543
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
544
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
544
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
545
545
  const items = (await client.listTools({
546
546
  categories: requestedCategories.join(","),
547
547
  compact
@@ -570,7 +570,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
570
570
  ]
571
571
  };
572
572
  const outputItems = compact ? items.map(compactTool) : items;
573
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
573
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  tools: outputItems,
576
576
  count: outputItems.length,
@@ -589,13 +589,13 @@ async function listTools(category, options = {}) {
589
589
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
590
590
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
591
591
  const compact = options.compact !== false;
592
- const emitJson = options.json === true || _chunkS5AVEKTOjs.shouldEmitJson.call(void 0, );
592
+ const emitJson = options.json === true || _chunkD4VWHTDTjs.shouldEmitJson.call(void 0, );
593
593
  if (positional && flagCategories.length > 0) {
594
594
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
595
595
  if (!flagIsSameSingle) {
596
596
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
597
597
  if (emitJson) {
598
- _chunkS5AVEKTOjs.printJson.call(void 0, {
598
+ _chunkD4VWHTDTjs.printJson.call(void 0, {
599
599
  ok: false,
600
600
  exitCode: 2,
601
601
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -622,7 +622,7 @@ async function grepTools(queryInput, options = {}) {
622
622
  console.error("Usage: deepline tools grep <query> [--json]");
623
623
  return 1;
624
624
  }
625
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
625
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
626
626
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
627
627
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
628
628
  const jsonOutput = options.json === true;
@@ -646,7 +646,7 @@ async function grepTools(queryInput, options = {}) {
646
646
  query,
647
647
  mode
648
648
  }) : null;
649
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
649
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
650
650
  {
651
651
  tools: outputTools,
652
652
  count: outputTools.length,
@@ -664,7 +664,7 @@ async function grepTools(queryInput, options = {}) {
664
664
  } : {},
665
665
  commandTemplates: TOOL_COMMAND_TEMPLATES
666
666
  },
667
- { json: options.json || _chunkS5AVEKTOjs.shouldEmitJson.call(void 0, ) }
667
+ { json: options.json || _chunkD4VWHTDTjs.shouldEmitJson.call(void 0, ) }
668
668
  );
669
669
  return 0;
670
670
  }
@@ -760,12 +760,44 @@ Output:
760
760
  `
761
761
  );
762
762
  tools.command("connect <provider>").description(
763
- "Save your provider credentials for the active workspace (owner/admin required)."
764
- ).requiredOption(
763
+ "Connect a provider with credentials or OAuth (owner/admin required)."
764
+ ).option(
765
765
  "--credentials-file <path>",
766
766
  "JSON object of credential field names and string values; keep this file private"
767
+ ).option("--oauth", "Return an OAuth authorization URL").option("--preset <id>", "Server-defined access preset (HubSpot only)").option("--scopes <scopes>", "Comma-separated OAuth scopes").option(
768
+ "--optional-scopes <scopes>",
769
+ "Comma-separated optional OAuth scopes"
767
770
  ).option("--json", "Emit a confirmation without credential values").action(
768
771
  async (provider, options) => {
772
+ if (options.oauth) {
773
+ if (options.credentialsFile)
774
+ throw new Error("Use --oauth or --credentials-file, not both.");
775
+ if (options.preset !== void 0 && (options.scopes !== void 0 || options.optionalScopes !== void 0))
776
+ throw new Error("Use --preset or individual scopes, not both.");
777
+ const splitScopes = (value) => value.split(",").map((scope) => scope.trim()).filter(Boolean);
778
+ const result2 = await new (0, _chunkMPY4UD6Hjs.DeeplineClient)().startIntegrationOAuth(
779
+ provider,
780
+ {
781
+ ...options.preset !== void 0 ? { preset: options.preset } : {},
782
+ ...options.scopes !== void 0 ? { scopes: splitScopes(options.scopes) } : {},
783
+ ...options.optionalScopes !== void 0 ? { optionalScopes: splitScopes(options.optionalScopes) } : {}
784
+ }
785
+ );
786
+ if (!result2.ok || typeof result2.redirect_url !== "string" || !result2.redirect_url)
787
+ throw new Error(
788
+ "The API did not return an OAuth authorization URL."
789
+ );
790
+ if (_chunkD4VWHTDTjs.shouldEmitJson.call(void 0, options.json))
791
+ console.log(
792
+ JSON.stringify({ provider, redirect_url: result2.redirect_url })
793
+ );
794
+ else console.log(result2.redirect_url);
795
+ return;
796
+ }
797
+ if (!options.credentialsFile || options.preset !== void 0 || options.scopes !== void 0 || options.optionalScopes !== void 0)
798
+ throw new Error(
799
+ "Use --credentials-file to save credentials, or --oauth to request access."
800
+ );
769
801
  let credentials;
770
802
  try {
771
803
  credentials = JSON.parse(
@@ -781,7 +813,7 @@ Output:
781
813
  "--credentials-file must contain a nonempty JSON object of string credential values."
782
814
  );
783
815
  }
784
- const result = await new (0, _chunkGIRJGHC3js.DeeplineClient)().setIntegrationCredentials(
816
+ const result = await new (0, _chunkMPY4UD6Hjs.DeeplineClient)().setIntegrationCredentials(
785
817
  provider,
786
818
  credentials
787
819
  );
@@ -791,7 +823,7 @@ Output:
791
823
  );
792
824
  }
793
825
  const confirmation = { provider, credential_saved: true };
794
- if (_chunkS5AVEKTOjs.shouldEmitJson.call(void 0, options.json))
826
+ if (_chunkD4VWHTDTjs.shouldEmitJson.call(void 0, options.json))
795
827
  console.log(JSON.stringify(confirmation));
796
828
  else
797
829
  console.log(
@@ -831,7 +863,7 @@ Examples:
831
863
  json: Boolean(options.json)
832
864
  });
833
865
  });
834
- _chunkMOVWT3Z3js.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
866
+ _chunkIX7ZGPLUjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
835
867
  tools.command("grep <query>").description(
836
868
  "Regex grep over tool ids, descriptions, categories, and input fields."
837
869
  ).addHelpText(
@@ -866,7 +898,7 @@ Examples:
866
898
  });
867
899
  const addToolMetadataCommand = (command) => {
868
900
  let compatibilityMetadata;
869
- _chunk3BQVWQXZjs.registerCompatibilityCatalog.call(void 0, command, () => ({
901
+ _chunkR3X55OMZjs.registerCompatibilityCatalog.call(void 0, command, () => ({
870
902
  toolId: command.args[0],
871
903
  acceptMetadata: (metadata) => {
872
904
  compatibilityMetadata = metadata;
@@ -936,7 +968,7 @@ Examples:
936
968
  process.exitCode = await narrowView();
937
969
  return;
938
970
  }
939
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-YNVJ76T6.js")));
971
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-M7AP5WVH.js")));
940
972
  process.exitCode = await describeAnything(
941
973
  toolId,
942
974
  {
@@ -1020,7 +1052,7 @@ Examples:
1020
1052
  options,
1021
1053
  void 0,
1022
1054
  true,
1023
- _chunkK4WKKNGYjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1055
+ _chunk76DCNYH3js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1024
1056
  );
1025
1057
  }
1026
1058
  );
@@ -1028,13 +1060,13 @@ Examples:
1028
1060
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1029
1061
  let metadata;
1030
1062
  const startedAt = performance.now();
1031
- const baseUrl = _chunkOSQEFBQAjs.resolveConfig.call(void 0, ).baseUrl;
1032
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1033
- const result = _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
1063
+ const baseUrl = _chunkEBW6KRTGjs.resolveConfig.call(void 0, ).baseUrl;
1064
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1065
+ const result = _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
1034
1066
  "SDK compatibility",
1035
- () => _chunkODGVHGHIjs.checkSdkCompatibility.call(void 0, baseUrl, {
1067
+ () => _chunkTWXPEHTMjs.checkSdkCompatibility.call(void 0, baseUrl, {
1036
1068
  command: "tools execute",
1037
- skillsVersion: _chunkOSQEFBQAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1069
+ skillsVersion: _chunkEBW6KRTGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1038
1070
  persistCache: false,
1039
1071
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1040
1072
  catalog: {
@@ -1048,7 +1080,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1048
1080
  })
1049
1081
  ).then(
1050
1082
  (compatibility) => {
1051
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, {
1083
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, {
1052
1084
  phase: "cli.tool_execute_compatibility_ready",
1053
1085
  ms: performance.now() - startedAt,
1054
1086
  ok: compatibility.error === null,
@@ -1057,7 +1089,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1057
1089
  return compatibility;
1058
1090
  },
1059
1091
  (error) => {
1060
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, {
1092
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, {
1061
1093
  phase: "cli.tool_execute_compatibility_ready",
1062
1094
  ms: performance.now() - startedAt,
1063
1095
  ok: false
@@ -1072,7 +1104,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1072
1104
  console.error("Usage: deepline tools describe <toolId> [--json]");
1073
1105
  return 1;
1074
1106
  }
1075
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
1107
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
1076
1108
  let tool;
1077
1109
  try {
1078
1110
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1126,7 +1158,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1126
1158
  const lines = toolPricingOnlyLines(tool, toolId);
1127
1159
  if (inferenceQuote)
1128
1160
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1129
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
1161
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0,
1130
1162
  {
1131
1163
  toolId: String(tool.toolId || toolId),
1132
1164
  cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1149,7 +1181,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1149
1181
  void 0,
1150
1182
  seedToolListScript
1151
1183
  );
1152
- _chunkS5AVEKTOjs.printCompactJson.call(void 0, {
1184
+ _chunkD4VWHTDTjs.printCompactJson.call(void 0, {
1153
1185
  toolId: contract.toolId,
1154
1186
  ...options.schemaOnly ? {
1155
1187
  inputSchema: contract.inputSchema,
@@ -1172,7 +1204,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1172
1204
  return 0;
1173
1205
  }
1174
1206
  if (options.contractJson) {
1175
- _chunkS5AVEKTOjs.printCompactJson.call(void 0, {
1207
+ _chunkD4VWHTDTjs.printCompactJson.call(void 0, {
1176
1208
  ..._chunkR2QWSSAGjs.toolContractJsonForDescribe.call(void 0,
1177
1209
  tool,
1178
1210
  toolId,
@@ -1186,7 +1218,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1186
1218
  }
1187
1219
  const emitJson = options.json === true;
1188
1220
  if (emitJson) {
1189
- _chunkS5AVEKTOjs.printCompactJson.call(void 0, {
1221
+ _chunkD4VWHTDTjs.printCompactJson.call(void 0, {
1190
1222
  ..._chunkR2QWSSAGjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1191
1223
  ...modelDescription ? { modelOptions: modelDescription } : {},
1192
1224
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2047,7 +2079,7 @@ function parseExecuteOptions(toolId, options, output) {
2047
2079
  outputFormat = normalizeOutputFormat(options.outputFormat);
2048
2080
  }
2049
2081
  if (options.idempotencyKey !== void 0) {
2050
- _chunkGIRJGHC3js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2082
+ _chunkMPY4UD6Hjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2051
2083
  }
2052
2084
  if (options.recoveryTimeoutMs !== void 0) {
2053
2085
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2368,19 +2400,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2368
2400
  parsed = parseExecuteOptions(toolId, options, output);
2369
2401
  } catch (error) {
2370
2402
  if (wantsJson) {
2371
- _chunkS5AVEKTOjs.printJsonError.call(void 0, error);
2403
+ _chunkD4VWHTDTjs.printJsonError.call(void 0, error);
2372
2404
  } else {
2373
2405
  console.error(error instanceof Error ? error.message : String(error));
2374
2406
  }
2375
2407
  return error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2376
2408
  }
2377
- const cliInvocationId = _nullishCoalesce(_chunk3BQVWQXZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk3BQVWQXZjs.beginToolExecuteCommand.call(void 0, )));
2409
+ const cliInvocationId = _nullishCoalesce(_chunkR3X55OMZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkR3X55OMZjs.beginToolExecuteCommand.call(void 0, )));
2378
2410
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2379
- const tracing = _chunkK4WKKNGYjs.isCliTraceEnabled.call(void 0, );
2411
+ const tracing = _chunk76DCNYH3js.isCliTraceEnabled.call(void 0, );
2380
2412
  const clientStartedAt = tracing ? performance.now() : void 0;
2381
- const client = new (0, _chunkGIRJGHC3js.DeeplineClient)();
2413
+ const client = new (0, _chunkMPY4UD6Hjs.DeeplineClient)();
2382
2414
  if (clientStartedAt !== void 0) {
2383
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, {
2415
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, {
2384
2416
  phase: "cli.tool_execute_client_setup",
2385
2417
  ms: performance.now() - clientStartedAt
2386
2418
  });
@@ -2389,13 +2421,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2389
2421
  const readMetadata = async () => {
2390
2422
  if (metadata) return metadata;
2391
2423
  try {
2392
- metadata = await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2424
+ metadata = await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2393
2425
  "tool metadata lookup",
2394
2426
  () => client.getTool(parsed.toolId, { cliInvocationId })
2395
2427
  );
2396
2428
  } catch (error) {
2397
2429
  if (isMissingToolMetadataError(error)) {
2398
- const play = await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2430
+ const play = await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2399
2431
  "play alias lookup",
2400
2432
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2401
2433
  );
@@ -2434,7 +2466,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2434
2466
  metadata = await readMetadata();
2435
2467
  } catch (error) {
2436
2468
  if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2437
- if (wantsJson) _chunkS5AVEKTOjs.printJsonError.call(void 0, error);
2469
+ if (wantsJson) _chunkD4VWHTDTjs.printJsonError.call(void 0, error);
2438
2470
  else console.error(error.message);
2439
2471
  return 2;
2440
2472
  }
@@ -2450,7 +2482,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2450
2482
  metadata = await readMetadata();
2451
2483
  } catch (error) {
2452
2484
  if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2453
- if (wantsJson) _chunkS5AVEKTOjs.printJsonError.call(void 0, error);
2485
+ if (wantsJson) _chunkD4VWHTDTjs.printJsonError.call(void 0, error);
2454
2486
  else console.error(error.message);
2455
2487
  return 2;
2456
2488
  }
@@ -2476,11 +2508,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2476
2508
  responseIntent,
2477
2509
  ...idempotencyKey ? { idempotencyKey } : {},
2478
2510
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2479
- searchRef: _chunkMOVWT3Z3js.recentSearchRef.call(void 0, ),
2511
+ searchRef: _chunkIX7ZGPLUjs.recentSearchRef.call(void 0, ),
2480
2512
  cliInvocationId,
2481
2513
  onResponseReceived: _chunkGXOQRZXGjs.recordApiResponse,
2482
2514
  ...tracing ? {
2483
- onServerTiming: (serverTiming) => _chunkK4WKKNGYjs.recordCliTrace.call(void 0, {
2515
+ onServerTiming: (serverTiming) => _chunk76DCNYH3js.recordCliTrace.call(void 0, {
2484
2516
  phase: "tool_execute_server_timing",
2485
2517
  cliInvocationId,
2486
2518
  serverTiming,
@@ -2491,13 +2523,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2491
2523
  let rawResponse;
2492
2524
  let successfulCompatibilityResponse;
2493
2525
  try {
2494
- const executeResult = await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2526
+ const executeResult = await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2495
2527
  "execute request",
2496
2528
  async () => {
2497
2529
  try {
2498
2530
  if (tracing) {
2499
2531
  submissionStartedAt = performance.now();
2500
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2532
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2501
2533
  }
2502
2534
  return await client.executeTool(parsed.toolId, parsed.params, {
2503
2535
  ...executeOptions,
@@ -2506,34 +2538,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2506
2538
  } catch (error) {
2507
2539
  if (!(error instanceof _chunkPPDBRJRWjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2508
2540
  throw error;
2509
- const baseUrl = _chunkOSQEFBQAjs.resolveConfig.call(void 0, ).baseUrl;
2541
+ const baseUrl = _chunkEBW6KRTGjs.resolveConfig.call(void 0, ).baseUrl;
2510
2542
  if (maintenancePolicy !== "off") {
2511
- _chunkODGVHGHIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2543
+ _chunkTWXPEHTMjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2512
2544
  }
2513
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2545
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2514
2546
  "SDK compatibility",
2515
- () => _chunkODGVHGHIjs.checkSdkCompatibility.call(void 0, baseUrl, {
2547
+ () => _chunkTWXPEHTMjs.checkSdkCompatibility.call(void 0, baseUrl, {
2516
2548
  command: "tools execute",
2517
- skillsVersion: _chunkOSQEFBQAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2549
+ skillsVersion: _chunkEBW6KRTGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2518
2550
  persistCache: maintenancePolicy !== "off"
2519
2551
  })
2520
2552
  );
2521
2553
  if (compatibility.error) throw compatibility.error;
2522
2554
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
2523
- if (maintenancePolicy !== "off" && await _chunk3BQVWQXZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2555
+ if (maintenancePolicy !== "off" && await _chunkR3X55OMZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2524
2556
  compatibility.response,
2525
2557
  baseUrl,
2526
2558
  maintenancePolicy
2527
2559
  )) {
2528
2560
  return void 0;
2529
2561
  }
2530
- _chunkODGVHGHIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2562
+ _chunkTWXPEHTMjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2531
2563
  quietAdvisory: wantsJson
2532
2564
  });
2533
2565
  if (maintenancePolicy !== "off") {
2534
- await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2566
+ await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2535
2567
  "agent skills sync",
2536
- () => _chunkODGVHGHIjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2568
+ () => _chunkTWXPEHTMjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2537
2569
  update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
2538
2570
  mode: "detached"
2539
2571
  })
@@ -2542,7 +2574,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2542
2574
  const legacyMetadata = await readMetadata();
2543
2575
  if (tracing) {
2544
2576
  submissionStartedAt = performance.now();
2545
- _chunkK4WKKNGYjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2577
+ _chunk76DCNYH3js.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2546
2578
  }
2547
2579
  return client.executeTool(parsed.toolId, parsed.params, {
2548
2580
  ...executeOptions,
@@ -2563,8 +2595,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2563
2595
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2564
2596
  const updateRequiredBeforeExecution = error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2565
2597
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2566
- const baseUrl = _chunkOSQEFBQAjs.resolveConfig.call(void 0, ).baseUrl;
2567
- if (await _chunk3BQVWQXZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2598
+ const baseUrl = _chunkEBW6KRTGjs.resolveConfig.call(void 0, ).baseUrl;
2599
+ if (await _chunkR3X55OMZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2568
2600
  compatibility.response,
2569
2601
  baseUrl,
2570
2602
  maintenancePolicy
@@ -2583,7 +2615,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2583
2615
  failure = diagnosticError;
2584
2616
  }
2585
2617
  if (failure instanceof _chunkPPDBRJRWjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2586
- if (wantsJson) _chunkS5AVEKTOjs.printJsonError.call(void 0, failure);
2618
+ if (wantsJson) _chunkD4VWHTDTjs.printJsonError.call(void 0, failure);
2587
2619
  else console.error(failure.message);
2588
2620
  return 2;
2589
2621
  }
@@ -2610,9 +2642,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2610
2642
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2611
2643
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
2612
2644
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2613
- await _chunk3BQVWQXZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2645
+ await _chunkR3X55OMZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2614
2646
  compatibilityResponse,
2615
- _chunkOSQEFBQAjs.resolveConfig.call(void 0, ).baseUrl,
2647
+ _chunkEBW6KRTGjs.resolveConfig.call(void 0, ).baseUrl,
2616
2648
  maintenancePolicy
2617
2649
  );
2618
2650
  }
@@ -2647,7 +2679,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2647
2679
  const { _metadata, ...execution } = rawResponse;
2648
2680
  rawResponse = execution;
2649
2681
  }
2650
- const { listConversion, summary, baseEnvelope } = await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2682
+ const { listConversion, summary, baseEnvelope } = await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2651
2683
  "result formatting",
2652
2684
  async () => {
2653
2685
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2682,9 +2714,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2682
2714
  }
2683
2715
  skillsSyncAttempted = true;
2684
2716
  try {
2685
- await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2717
+ await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2686
2718
  "agent skills sync",
2687
- () => _chunkODGVHGHIjs.syncSdkSkillsIfNeeded.call(void 0, _chunkOSQEFBQAjs.resolveConfig.call(void 0, ).baseUrl, {
2719
+ () => _chunkTWXPEHTMjs.syncSdkSkillsIfNeeded.call(void 0, _chunkEBW6KRTGjs.resolveConfig.call(void 0, ).baseUrl, {
2688
2720
  update: deliveredCompatibilityResponse.skills,
2689
2721
  mode: "detached"
2690
2722
  })
@@ -2695,15 +2727,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2695
2727
  );
2696
2728
  }
2697
2729
  };
2698
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0, envelope, {
2730
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0, envelope, {
2699
2731
  ...options2,
2700
2732
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2701
2733
  });
2702
2734
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2703
2735
  await syncSkillsForDeliveredOutput();
2704
- _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2736
+ _chunkD4VWHTDTjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2705
2737
  };
2706
- const delivered = await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2738
+ const delivered = await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2707
2739
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2708
2740
  await printDeliveredJsonEnvelope(baseEnvelope);
2709
2741
  return true;
@@ -2732,7 +2764,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2732
2764
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2733
2765
  );
2734
2766
  if (wantsJson) {
2735
- _chunkS5AVEKTOjs.printJsonError.call(void 0, error);
2767
+ _chunkD4VWHTDTjs.printJsonError.call(void 0, error);
2736
2768
  } else {
2737
2769
  console.error(error.message);
2738
2770
  }
@@ -2827,13 +2859,13 @@ inspect: ${inspection.inspect}
2827
2859
  return true;
2828
2860
  });
2829
2861
  if (delivered) {
2830
- await _chunk3BQVWQXZjs.runToolExecuteStage.call(void 0,
2862
+ await _chunkR3X55OMZjs.runToolExecuteStage.call(void 0,
2831
2863
  "acknowledge delivery",
2832
2864
  () => recovery.acknowledgeDelivery()
2833
2865
  );
2834
2866
  }
2835
2867
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
2836
- _chunkODGVHGHIjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2868
+ _chunkTWXPEHTMjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2837
2869
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
2838
2870
  });
2839
2871
  }
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.438",
52
+ version: "0.3.439",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."