deepline 0.3.559 → 0.3.560

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +14 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  3. package/dist/bundling-sources/sdk/src/integrations.ts +62 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/cli/{auth-D6S6E7BL.mjs → auth-5DIOQ3MO.mjs} +5 -5
  6. package/dist/cli/auth-R2S7KYAA.js +44 -0
  7. package/dist/cli/{billing-3BNTAYUY.mjs → billing-K7EJAM55.mjs} +9 -9
  8. package/dist/cli/{billing-7YRVKWAU.js → billing-N5NS5CU6.js} +102 -102
  9. package/dist/cli/{chunk-JUTXZW3S.js → chunk-24GZT76F.js} +7 -7
  10. package/dist/cli/{chunk-TIMFDVUN.js → chunk-4CQ7LVRT.js} +48 -48
  11. package/dist/cli/{chunk-OSHKFYY4.js → chunk-4GRIMNDO.js} +41 -41
  12. package/dist/cli/{chunk-XXZDT3U7.mjs → chunk-4MAY2TA3.mjs} +2 -2
  13. package/dist/cli/{chunk-FHMGNUOP.mjs → chunk-4PBYS3PS.mjs} +1 -1
  14. package/dist/cli/{chunk-YI4ADWTN.js → chunk-5CNHEUGJ.js} +12 -2
  15. package/dist/cli/{chunk-A4KQZ6P5.js → chunk-5QMEJPN5.js} +206 -180
  16. package/dist/cli/{chunk-YE7OCVI5.js → chunk-5VC6K4NJ.js} +26 -26
  17. package/dist/cli/{chunk-MWZEGRY2.mjs → chunk-5XMABMQU.mjs} +2 -2
  18. package/dist/cli/{chunk-LWOYDMYC.js → chunk-7ZE6DF6B.js} +3 -3
  19. package/dist/cli/{chunk-OFC24U3N.mjs → chunk-A4X2O75M.mjs} +2 -2
  20. package/dist/cli/{chunk-22Z2U5MW.mjs → chunk-A62A73U6.mjs} +3 -3
  21. package/dist/cli/{chunk-URACGTQE.mjs → chunk-AMUMEL4C.mjs} +1 -1
  22. package/dist/cli/{chunk-3MVBZ4XI.mjs → chunk-BQ2Z6PSE.mjs} +5 -5
  23. package/dist/cli/{chunk-WZUOUQZ3.js → chunk-BW4NVW5T.js} +3 -3
  24. package/dist/cli/{chunk-53HQJS6D.mjs → chunk-CQJMFUMK.mjs} +1 -1
  25. package/dist/cli/{chunk-QGVOD6Y4.js → chunk-CQS5E6D2.js} +100 -100
  26. package/dist/cli/{chunk-UHIOXXAO.mjs → chunk-DOAD7ZCA.mjs} +1 -1
  27. package/dist/cli/{chunk-IUDO463I.js → chunk-E76MM3SC.js} +20 -20
  28. package/dist/cli/{chunk-MJ4JEJLL.mjs → chunk-F5CZ3Q2I.mjs} +150 -124
  29. package/dist/cli/{chunk-K5BZF2VO.js → chunk-FW2WRBZO.js} +9 -9
  30. package/dist/cli/{chunk-ZMC5FEJN.mjs → chunk-G33LSF4T.mjs} +2 -2
  31. package/dist/cli/{chunk-YFUFYV4M.mjs → chunk-GKONGPVW.mjs} +5 -5
  32. package/dist/cli/{chunk-UA2VLWZH.mjs → chunk-GR5WG72L.mjs} +2 -2
  33. package/dist/cli/{chunk-MPEMAGZS.mjs → chunk-GTRGJITW.mjs} +11 -11
  34. package/dist/cli/{chunk-6BJHMXMA.js → chunk-I7CQJ7JP.js} +2 -2
  35. package/dist/cli/{chunk-XPS2UBYV.mjs → chunk-JHS7WKRS.mjs} +3 -3
  36. package/dist/cli/{chunk-GWS7XJI2.mjs → chunk-JQDVX3D4.mjs} +4 -4
  37. package/dist/cli/{chunk-XNN45XYF.js → chunk-JYT6P2M2.js} +2 -2
  38. package/dist/cli/{chunk-PQ52YTDB.js → chunk-KP4B3JOT.js} +13 -13
  39. package/dist/cli/{chunk-PNFC7VHH.js → chunk-LMY7CGI7.js} +5 -5
  40. package/dist/cli/{chunk-TPLISQND.js → chunk-MBLPUJ5I.js} +5 -5
  41. package/dist/cli/{chunk-EEUJNR5K.js → chunk-MCGR7NG3.js} +6 -6
  42. package/dist/cli/{chunk-KGCY3MSS.mjs → chunk-NNKZ4JYP.mjs} +5 -5
  43. package/dist/cli/{chunk-FDVSB4NF.js → chunk-OPT36HX4.js} +53 -53
  44. package/dist/cli/{chunk-PZUBDHQ7.mjs → chunk-OS3FDGKX.mjs} +4 -4
  45. package/dist/cli/{chunk-G7IGOVPF.js → chunk-Q77PM7U2.js} +20 -20
  46. package/dist/cli/{chunk-VZKBLSTA.mjs → chunk-RQKCNQ5Q.mjs} +2 -2
  47. package/dist/cli/{chunk-II33OPIO.mjs → chunk-SCM6BR4Q.mjs} +1 -1
  48. package/dist/cli/{chunk-GFHBS7HG.js → chunk-TE2NSUT5.js} +5 -5
  49. package/dist/cli/{chunk-GETMCDVX.mjs → chunk-UI7BBF2O.mjs} +5 -5
  50. package/dist/cli/{chunk-SSE5P2CX.js → chunk-UTPANENL.js} +12 -12
  51. package/dist/cli/{chunk-YODGCJPX.mjs → chunk-V7OFUYMO.mjs} +2 -2
  52. package/dist/cli/{chunk-QQ6AVBHW.js → chunk-V7ZOAXZ4.js} +23 -23
  53. package/dist/cli/{chunk-BTKVXI3G.mjs → chunk-VACBPVIR.mjs} +12 -2
  54. package/dist/cli/{chunk-D7DXRFM2.mjs → chunk-WOZKGI6H.mjs} +1 -1
  55. package/dist/cli/{chunk-P2DFD2NG.mjs → chunk-XLM7L4UY.mjs} +1 -1
  56. package/dist/cli/{chunk-24XWLHKJ.js → chunk-Y5CZWGO4.js} +1 -1
  57. package/dist/cli/{chunk-2YQGXPQ7.js → chunk-YDWFE7MX.js} +2 -2
  58. package/dist/cli/{chunk-JME33A35.js → chunk-Z4FWF237.js} +15 -15
  59. package/dist/cli/{chunk-KACD2TYW.mjs → chunk-ZJJUVUP6.mjs} +2 -2
  60. package/dist/cli/{chunk-LTCV5BI2.mjs → chunk-ZSDZ3Q5P.mjs} +1 -1
  61. package/dist/cli/{chunk-EYL4V32Q.js → chunk-ZXB2Y3SG.js} +4 -4
  62. package/dist/cli/{chunk-OJ3FRPEP.js → chunk-ZY64JRBV.js} +10 -10
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{concurrent-runs-help-FCAZLZNA.mjs → concurrent-runs-help-TCB2EKTR.mjs} +6 -6
  66. package/dist/cli/concurrent-runs-help-TKAZVMA4.js +22 -0
  67. package/dist/cli/{csv-SCIQKZNH.js → csv-DWC44DLD.js} +13 -13
  68. package/dist/cli/{csv-BC26EB4B.mjs → csv-R45YJYUO.mjs} +4 -4
  69. package/dist/cli/{db-IJRJVIQ3.js → db-XIN3KF47.js} +27 -27
  70. package/dist/cli/{db-RVOPGYKY.mjs → db-XZXNKW7B.mjs} +6 -6
  71. package/dist/cli/{describe-K7CRL4PA.mjs → describe-6KSAHJBD.mjs} +18 -18
  72. package/dist/cli/describe-WLRAQDYC.js +50 -0
  73. package/dist/cli/describe-core.d.mts +2 -2
  74. package/dist/cli/describe-core.d.ts +2 -2
  75. package/dist/cli/{executions-IEVLTSXV.js → executions-C3UZLR7Y.js} +8 -8
  76. package/dist/cli/{executions-PDOO2GFK.mjs → executions-RSPQRWYL.mjs} +6 -6
  77. package/dist/cli/{feedback-7YVUUROQ.mjs → feedback-7RCSKLW4.mjs} +6 -6
  78. package/dist/cli/{feedback-KHYOWTXA.js → feedback-A7WP67XL.js} +14 -14
  79. package/dist/cli/git-E6XV5MEY.js +26 -0
  80. package/dist/cli/{git-426CAP5S.mjs → git-JE6TFEK4.mjs} +5 -5
  81. package/dist/cli/index.js +147 -147
  82. package/dist/cli/index.mjs +46 -46
  83. package/dist/cli/{integrations-TNJ4IELE.mjs → integrations-DEU3ZW5P.mjs} +40 -7
  84. package/dist/cli/{integrations-BVHTRN3W.js → integrations-L2D3EY3H.js} +48 -15
  85. package/dist/cli/{legacy-noops-F73BMPBV.js → legacy-noops-AHTEO6EF.js} +9 -9
  86. package/dist/cli/{legacy-noops-2GB35THO.mjs → legacy-noops-TL5PBCVQ.mjs} +6 -6
  87. package/dist/cli/{mcp-KMTC7OBK.js → mcp-KXR7YJEG.js} +24 -24
  88. package/dist/cli/{mcp-BAGMQXNR.mjs → mcp-PVRF5CGK.mjs} +4 -4
  89. package/dist/cli/{monitors-ECONWLHL.mjs → monitors-BMGSROH3.mjs} +7 -7
  90. package/dist/cli/{monitors-O2BUIK7Q.js → monitors-YHF6RQGU.js} +100 -100
  91. package/dist/cli/{org-5NQQ4PRU.js → org-IQJO6DJ7.js} +121 -121
  92. package/dist/cli/{org-AEZZBWA3.mjs → org-OO6LQPS6.mjs} +6 -6
  93. package/dist/cli/{outcomes-ZWHAJH5I.mjs → outcomes-6QO6NEKO.mjs} +6 -6
  94. package/dist/cli/{outcomes-IKEQKAF7.js → outcomes-NAEAOCNT.js} +14 -14
  95. package/dist/cli/{play-BVKLMTAS.mjs → play-MZQSOYVV.mjs} +19 -19
  96. package/dist/cli/{play-VDWB7FZ5.js → play-TYIBTW4E.js} +324 -324
  97. package/dist/cli/{providers-RXT3Q5Q7.js → providers-JDSSPMWH.js} +9 -9
  98. package/dist/cli/{providers-SWRTGKJJ.mjs → providers-JR4OWXRX.mjs} +6 -6
  99. package/dist/cli/{quickstart-GQVXM7XV.mjs → quickstart-JBX6BKGZ.mjs} +4 -4
  100. package/dist/cli/{quickstart-UJJNXI2S.js → quickstart-T363ASLH.js} +6 -6
  101. package/dist/cli/{run-GDIEU622.mjs → run-6PWTGRJI.mjs} +23 -23
  102. package/dist/cli/{run-WOTVRFGN.js → run-J3KWBIXA.js} +44 -44
  103. package/dist/cli/search-DPVHT5MJ.js +32 -0
  104. package/dist/cli/{search-EWC7V6GT.mjs → search-XQG7UXAE.mjs} +7 -7
  105. package/dist/cli/{search-output-FCW4R6Z4.mjs → search-output-DNONJFPF.mjs} +4 -4
  106. package/dist/cli/{search-output-FL7STAYJ.js → search-output-YZYLNDU6.js} +6 -6
  107. package/dist/cli/{secrets-XG22PDCR.mjs → secrets-MR7VXG74.mjs} +6 -6
  108. package/dist/cli/{secrets-UXDUGONR.js → secrets-SCKPXIT7.js} +15 -15
  109. package/dist/cli/{sessions-2OKBG7FD.mjs → sessions-MPIJTGWQ.mjs} +6 -6
  110. package/dist/cli/sessions-VNWLXJR2.js +23 -0
  111. package/dist/cli/{settings-EDYA2V4W.mjs → settings-Y5NW74ER.mjs} +12 -12
  112. package/dist/cli/{settings-RWN7YHK3.js → settings-YPKR5JFF.js} +85 -85
  113. package/dist/cli/{setup-UZW2IHAT.mjs → setup-5RJCLRZI.mjs} +9 -9
  114. package/dist/cli/{setup-HA3PG3ST.js → setup-673Q3LGR.js} +49 -49
  115. package/dist/cli/{skills-V4KAUQQA.mjs → skills-2QVBD4LD.mjs} +7 -7
  116. package/dist/cli/skills-YGFFPGCR.js +37 -0
  117. package/dist/cli/tools-2BC7K3ZU.js +57 -0
  118. package/dist/cli/{tools-HFUGLYHU.mjs → tools-627KG34F.mjs} +17 -17
  119. package/dist/cli/{update-S3KEH7P2.mjs → update-535TTARD.mjs} +9 -9
  120. package/dist/cli/update-HWEOSPDS.js +37 -0
  121. package/dist/cli/{views-Y7Y5Y7V2.mjs → views-3M24ZTXA.mjs} +6 -6
  122. package/dist/cli/{views-QH5L37UW.js → views-FQNWZUWB.js} +21 -21
  123. package/dist/cli/{workflow-XNN54KIK.mjs → workflow-CN46XZPG.mjs} +7 -7
  124. package/dist/cli/{workflow-4W5JT5HP.js → workflow-H6F7WAOE.js} +17 -17
  125. package/dist/{client-BoayTB7p.d.ts → client-BSxuaObS.d.ts} +1 -1
  126. package/dist/{client-1ogYQqUw.d.mts → client-CnphYDTe.d.mts} +1 -1
  127. package/dist/{client-core-Ch8CXaX4.d.mts → client-core-DQOTt3yV.d.mts} +37 -2
  128. package/dist/{client-core-DySw9x_E.d.ts → client-core-Yad6-K7-.d.ts} +37 -2
  129. package/dist/index.d.mts +3 -3
  130. package/dist/index.d.ts +3 -3
  131. package/dist/index.js +9 -9
  132. package/dist/index.mjs +6 -6
  133. package/dist/install-integrity.json +118 -118
  134. package/dist/plays/play-description.d.mts +1 -1
  135. package/dist/plays/play-description.d.ts +1 -1
  136. package/dist/plays/run-request.d.mts +1 -1
  137. package/dist/plays/run-request.d.ts +1 -1
  138. package/dist/release.d.mts +1 -1
  139. package/dist/release.d.ts +1 -1
  140. package/dist/release.js +2 -2
  141. package/dist/release.mjs +1 -1
  142. package/dist/server.d.mts +2 -2
  143. package/dist/server.d.ts +2 -2
  144. package/dist/server.js +5 -5
  145. package/dist/server.mjs +3 -3
  146. package/package.json +1 -1
  147. package/dist/cli/auth-3SBMYRAJ.js +0 -44
  148. package/dist/cli/concurrent-runs-help-TVQO4USY.js +0 -22
  149. package/dist/cli/describe-4FBGZZK5.js +0 -50
  150. package/dist/cli/git-O6A2FVJE.js +0 -26
  151. package/dist/cli/search-UIZHXBHR.js +0 -32
  152. package/dist/cli/sessions-DPYJFTCW.js +0 -23
  153. package/dist/cli/skills-RQ6V5TGY.js +0 -37
  154. package/dist/cli/tools-NGQKXMHP.js +0 -57
  155. package/dist/cli/update-SJJK6XXM.js +0 -37
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-ZMC5FEJN.mjs";
3
+ } from "./chunk-G33LSF4T.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
7
+ var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkEYL4V32Qjs = require('./chunk-EYL4V32Q.js');
14
+ var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunkEYL4V32Qjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkZXB2Y3SGjs.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunkEYL4V32Qjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkZXB2Y3SGjs.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunkEYL4V32Qjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkZXB2Y3SGjs.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunkEYL4V32Qjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkEYL4V32Qjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkZXB2Y3SGjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkZXB2Y3SGjs.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunkLWOYDMYCjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunkEYL4V32Qjs.SDK_VERSION,
421
+ cli_version: _chunkZXB2Y3SGjs.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunkEYL4V32Qjs.SDK_VERSION,
541
+ cli_version: _chunkZXB2Y3SGjs.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunkLWOYDMYCjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunk7ZE6DF6Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunkLWOYDMYCjs.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunkLWOYDMYCjs.HttpClient)(config) };
917
+ const config = _chunk7ZE6DF6Bjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunk7ZE6DF6Bjs.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkZXB2Y3SGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunkLWOYDMYCjs.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunk7ZE6DF6Bjs.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunkEYL4V32Qjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkZXB2Y3SGjs.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-URACGTQE.mjs";
40
+ } from "./chunk-AMUMEL4C.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -48,6 +48,145 @@ import {
48
48
  ToolExecutionError
49
49
  } from "./chunk-Z3A2S3QM.mjs";
50
50
 
51
+ // src/integrations.ts
52
+ var CALENDAR_PROVIDER = "google_calendar_availability";
53
+ var AD_ACCOUNT_DISCOVERY_PROVIDERS = [
54
+ "google_ads_audiences",
55
+ "linkedin_ads_audiences"
56
+ ];
57
+ function invalid(message) {
58
+ throw new DeeplineError(message, 400, "INVALID_ARGUMENT");
59
+ }
60
+ function planAdAccountDiscovery(provider) {
61
+ if (!AD_ACCOUNT_DISCOVERY_PROVIDERS.includes(provider)) {
62
+ invalid(`Choose ${AD_ACCOUNT_DISCOVERY_PROVIDERS.join(" or ")}.`);
63
+ }
64
+ return {
65
+ provider,
66
+ method: "POST",
67
+ path: `/api/v2/integrations/${provider}/accounts`,
68
+ body: {}
69
+ };
70
+ }
71
+ async function findConnection(client, name, provider) {
72
+ const { connections } = await client.listWorkspaceConnectionInventory(
73
+ provider,
74
+ { authorizationsOnly: true }
75
+ );
76
+ const matches = connections.filter(
77
+ (row) => row.name === name && (!provider || row.provider === provider)
78
+ );
79
+ if (matches.length === 0)
80
+ throw new DeeplineError(
81
+ `No org connection named ${JSON.stringify(name)}. Run deepline integrations list --json.`,
82
+ 404,
83
+ "NOT_FOUND"
84
+ );
85
+ if (matches.length > 1)
86
+ invalid("This name exists for multiple providers. Pass --provider.");
87
+ return matches[0];
88
+ }
89
+ async function changeConnection(client, action, name, options) {
90
+ const row = await findConnection(client, name, options.provider);
91
+ if (options.booking && (action !== "reconnect" || row.type !== "workspace_delegation"))
92
+ invalid("Use --booking with Google Workspace verify or reconnect.");
93
+ if (options.listCalendars && (action !== "reconnect" || row.type !== "workspace_delegation"))
94
+ invalid("Use --list-calendars with Google Workspace verify or reconnect.");
95
+ if (row.type === "workspace_delegation") {
96
+ if (row.provider !== CALENDAR_PROVIDER || !row.domain)
97
+ invalid(
98
+ "The Google Workspace approval is missing its provider or domain."
99
+ );
100
+ if (row.authorizationVersion === void 0)
101
+ invalid("The API did not return a Google Workspace approval revision.");
102
+ if (action === "reconnect") {
103
+ return verifyWorkspace(client, row.domain, options, row);
104
+ }
105
+ if (options.verificationEmail)
106
+ invalid("Use --verification-email with reconnect or verify.");
107
+ if (action === "delete" && row.status !== "disconnected")
108
+ invalid("Disconnect this approval before deleting it.");
109
+ const change2 = action === "delete" ? {
110
+ action: "remove_workspace",
111
+ domain: row.domain,
112
+ connectionId: row.id,
113
+ grantRevision: row.authorizationVersion
114
+ } : {
115
+ action: "disable_workspace",
116
+ domain: row.domain,
117
+ connectionId: row.id,
118
+ grantRevision: row.authorizationVersion
119
+ };
120
+ if (options.dryRun) return change2;
121
+ return client.changeCalendarDelegation(change2);
122
+ }
123
+ if (options.verificationEmail)
124
+ invalid("--verification-email applies to Google Workspace approvals.");
125
+ if (row.type !== "oauth" || row.provider !== "hubspot" && row.provider !== CALENDAR_PROVIDER)
126
+ invalid(
127
+ "Manage this credential type through deepline integrations connect <provider> --link."
128
+ );
129
+ if (row.authorizationVersion === void 0)
130
+ invalid("The API did not return a connection authorization version.");
131
+ const change = {
132
+ action: action === "delete" ? "remove" : action,
133
+ provider: row.provider,
134
+ name,
135
+ connectionId: row.id,
136
+ authorizationVersion: row.authorizationVersion
137
+ };
138
+ if (options.dryRun) return change;
139
+ return client.manageWorkspaceIntegrationConnection(change);
140
+ }
141
+ async function verifyWorkspace(client, domain, options, existing) {
142
+ domain = domain.trim().toLowerCase();
143
+ if (!GOOGLE_WORKSPACE_DOMAIN_PATTERN.test(domain))
144
+ invalid("Enter a Google Workspace domain, such as example.com.");
145
+ const email = options.verificationEmail?.trim().toLowerCase();
146
+ if (!email || email.length > 254 || !/^[^\s@]+@[^\s@]+$/.test(email) || email.split("@")[1] !== domain)
147
+ invalid("Pass --verification-email with a work email in this domain.");
148
+ const settings = existing ? {
149
+ grantRevision: existing.authorizationVersion,
150
+ connectionId: existing.id,
151
+ grantedScopes: existing.scopes
152
+ } : await client.getCalendarDelegation(void 0, void 0, domain);
153
+ if (settings.grantRevision === void 0)
154
+ invalid("The API did not return a Google Workspace approval revision.");
155
+ const requestedScopes = [
156
+ .../* @__PURE__ */ new Set([
157
+ GOOGLE_WORKSPACE_AVAILABILITY_SCOPE,
158
+ ...settings.grantedScopes ?? [],
159
+ ...options.booking ? [GOOGLE_WORKSPACE_BOOKING_SCOPE] : [],
160
+ ...options.listCalendars ? [GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE] : []
161
+ ])
162
+ ];
163
+ const change = {
164
+ action: "enable_workspace",
165
+ domain,
166
+ grantRevision: settings.grantRevision,
167
+ ...settings.connectionId ? { connectionId: settings.connectionId } : {},
168
+ verificationEmail: email,
169
+ ...requestedScopes.length > 1 ? { requestedScopes } : {}
170
+ };
171
+ if (options.dryRun) return change;
172
+ return client.changeCalendarDelegation(change);
173
+ }
174
+ function createIntegrationsNamespace(client) {
175
+ return {
176
+ list: (options = {}) => client.listWorkspaceConnectionInventory(options.provider, {
177
+ authorizationsOnly: true
178
+ }),
179
+ get: (name, options = {}) => findConnection(client, name, options.provider),
180
+ connect: (provider) => client.getIntegrationConnectLink(provider),
181
+ discoverAdAccounts: (provider) => client.discoverAdAccounts(provider),
182
+ reconnect: (name, options = {}) => changeConnection(client, "reconnect", name, options),
183
+ disconnect: (name, options = {}) => changeConnection(client, "disconnect", name, options),
184
+ delete: (name, options = {}) => changeConnection(client, "delete", name, options),
185
+ verify: (domain, options) => verifyWorkspace(client, domain, options),
186
+ members: (provider, options = {}) => client.listManagedConnectionMembers(provider, options.cursor)
187
+ };
188
+ }
189
+
51
190
  // ../integration-contracts/billing-plan-skus.ts
52
191
  var PLAN_OFFER_SKUS = {
53
192
  solo: "payg-v1",
@@ -2434,129 +2573,6 @@ function isStopAllPlayRunsDryRunResult(result) {
2434
2573
  return "dryRun" in result && result.dryRun === true;
2435
2574
  }
2436
2575
 
2437
- // src/integrations.ts
2438
- var CALENDAR_PROVIDER = "google_calendar_availability";
2439
- function invalid(message) {
2440
- throw new DeeplineError(message, 400, "INVALID_ARGUMENT");
2441
- }
2442
- async function findConnection(client, name, provider) {
2443
- const { connections } = await client.listWorkspaceConnectionInventory(
2444
- provider,
2445
- { authorizationsOnly: true }
2446
- );
2447
- const matches = connections.filter(
2448
- (row) => row.name === name && (!provider || row.provider === provider)
2449
- );
2450
- if (matches.length === 0)
2451
- throw new DeeplineError(
2452
- `No org connection named ${JSON.stringify(name)}. Run deepline integrations list --json.`,
2453
- 404,
2454
- "NOT_FOUND"
2455
- );
2456
- if (matches.length > 1)
2457
- invalid("This name exists for multiple providers. Pass --provider.");
2458
- return matches[0];
2459
- }
2460
- async function changeConnection(client, action, name, options) {
2461
- const row = await findConnection(client, name, options.provider);
2462
- if (options.booking && (action !== "reconnect" || row.type !== "workspace_delegation"))
2463
- invalid("Use --booking with Google Workspace verify or reconnect.");
2464
- if (options.listCalendars && (action !== "reconnect" || row.type !== "workspace_delegation"))
2465
- invalid("Use --list-calendars with Google Workspace verify or reconnect.");
2466
- if (row.type === "workspace_delegation") {
2467
- if (row.provider !== CALENDAR_PROVIDER || !row.domain)
2468
- invalid(
2469
- "The Google Workspace approval is missing its provider or domain."
2470
- );
2471
- if (row.authorizationVersion === void 0)
2472
- invalid("The API did not return a Google Workspace approval revision.");
2473
- if (action === "reconnect") {
2474
- return verifyWorkspace(client, row.domain, options, row);
2475
- }
2476
- if (options.verificationEmail)
2477
- invalid("Use --verification-email with reconnect or verify.");
2478
- if (action === "delete" && row.status !== "disconnected")
2479
- invalid("Disconnect this approval before deleting it.");
2480
- const change2 = action === "delete" ? {
2481
- action: "remove_workspace",
2482
- domain: row.domain,
2483
- connectionId: row.id,
2484
- grantRevision: row.authorizationVersion
2485
- } : {
2486
- action: "disable_workspace",
2487
- domain: row.domain,
2488
- connectionId: row.id,
2489
- grantRevision: row.authorizationVersion
2490
- };
2491
- if (options.dryRun) return change2;
2492
- return client.changeCalendarDelegation(change2);
2493
- }
2494
- if (options.verificationEmail)
2495
- invalid("--verification-email applies to Google Workspace approvals.");
2496
- if (row.type !== "oauth" || row.provider !== "hubspot" && row.provider !== CALENDAR_PROVIDER)
2497
- invalid(
2498
- "Manage this credential type through deepline integrations connect <provider> --link."
2499
- );
2500
- if (row.authorizationVersion === void 0)
2501
- invalid("The API did not return a connection authorization version.");
2502
- const change = {
2503
- action: action === "delete" ? "remove" : action,
2504
- provider: row.provider,
2505
- name,
2506
- connectionId: row.id,
2507
- authorizationVersion: row.authorizationVersion
2508
- };
2509
- if (options.dryRun) return change;
2510
- return client.manageWorkspaceIntegrationConnection(change);
2511
- }
2512
- async function verifyWorkspace(client, domain, options, existing) {
2513
- domain = domain.trim().toLowerCase();
2514
- if (!GOOGLE_WORKSPACE_DOMAIN_PATTERN.test(domain))
2515
- invalid("Enter a Google Workspace domain, such as example.com.");
2516
- const email = options.verificationEmail?.trim().toLowerCase();
2517
- if (!email || email.length > 254 || !/^[^\s@]+@[^\s@]+$/.test(email) || email.split("@")[1] !== domain)
2518
- invalid("Pass --verification-email with a work email in this domain.");
2519
- const settings = existing ? {
2520
- grantRevision: existing.authorizationVersion,
2521
- connectionId: existing.id,
2522
- grantedScopes: existing.scopes
2523
- } : await client.getCalendarDelegation(void 0, void 0, domain);
2524
- if (settings.grantRevision === void 0)
2525
- invalid("The API did not return a Google Workspace approval revision.");
2526
- const requestedScopes = [
2527
- .../* @__PURE__ */ new Set([
2528
- GOOGLE_WORKSPACE_AVAILABILITY_SCOPE,
2529
- ...settings.grantedScopes ?? [],
2530
- ...options.booking ? [GOOGLE_WORKSPACE_BOOKING_SCOPE] : [],
2531
- ...options.listCalendars ? [GOOGLE_WORKSPACE_CALENDAR_LIST_SCOPE] : []
2532
- ])
2533
- ];
2534
- const change = {
2535
- action: "enable_workspace",
2536
- domain,
2537
- grantRevision: settings.grantRevision,
2538
- ...settings.connectionId ? { connectionId: settings.connectionId } : {},
2539
- verificationEmail: email,
2540
- ...requestedScopes.length > 1 ? { requestedScopes } : {}
2541
- };
2542
- if (options.dryRun) return change;
2543
- return client.changeCalendarDelegation(change);
2544
- }
2545
- function createIntegrationsNamespace(client) {
2546
- return {
2547
- list: (options = {}) => client.listWorkspaceConnectionInventory(options.provider, {
2548
- authorizationsOnly: true
2549
- }),
2550
- get: (name, options = {}) => findConnection(client, name, options.provider),
2551
- connect: (provider) => client.getIntegrationConnectLink(provider),
2552
- reconnect: (name, options = {}) => changeConnection(client, "reconnect", name, options),
2553
- disconnect: (name, options = {}) => changeConnection(client, "disconnect", name, options),
2554
- delete: (name, options = {}) => changeConnection(client, "delete", name, options),
2555
- verify: (domain, options) => verifyWorkspace(client, domain, options),
2556
- members: (provider, options = {}) => client.listManagedConnectionMembers(provider, options.cursor)
2557
- };
2558
- }
2559
-
2560
2576
  // ../plays/trigger-config-route.ts
2561
2577
  function playTriggerConfigPath(playName) {
2562
2578
  return `/api/v2/plays/${encodeURIComponent(playName)}/triggers`;
@@ -5768,6 +5784,14 @@ var DeeplineClient = class _DeeplineClient {
5768
5784
  const params = new URLSearchParams({ provider });
5769
5785
  return this.http.get(`/api/v2/integrations/balance?${params}`);
5770
5786
  }
5787
+ /** Discover and save the ad accounts accessible to the workspace connection. */
5788
+ async discoverAdAccounts(provider) {
5789
+ const { path, body } = planAdAccountDiscovery(provider);
5790
+ return this.http.post(path, body, void 0, {
5791
+ maxRetries: 0,
5792
+ exactUrlOnly: true
5793
+ });
5794
+ }
5771
5795
  /** List the internal pilot's workspace connections. */
5772
5796
  async listWorkspaceIntegrationConnections() {
5773
5797
  return this.http.get("/api/v2/integrations/connections");
@@ -7605,6 +7629,8 @@ var DeeplineClient = class _DeeplineClient {
7605
7629
  };
7606
7630
 
7607
7631
  export {
7632
+ AD_ACCOUNT_DISCOVERY_PROVIDERS,
7633
+ planAdAccountDiscovery,
7608
7634
  PUBLIC_PLAN_SKUS,
7609
7635
  iterateCursorPages,
7610
7636
  requireBillingIdempotencyKey,
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkA4KQZ6P5js = require('./chunk-A4KQZ6P5.js');
6
+ var _chunk5QMEJPN5js = require('./chunk-5QMEJPN5.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
14
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkIUDO463Ijs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkE76MM3SCjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkIUDO463Ijs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkIUDO463Ijs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkE76MM3SCjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkE76MM3SCjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkA4KQZ6P5js.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunk5QMEJPN5js.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkA4KQZ6P5js.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5QMEJPN5js.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkIUDO463Ijs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkIUDO463Ijs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkE76MM3SCjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkE76MM3SCjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkIUDO463Ijs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkE76MM3SCjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-53HQJS6D.mjs";
7
+ } from "./chunk-CQJMFUMK.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-URACGTQE.mjs";
14
+ } from "./chunk-AMUMEL4C.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-LTCV5BI2.mjs";
4
+ } from "./chunk-ZSDZ3Q5P.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-PZUBDHQ7.mjs";
7
+ } from "./chunk-OS3FDGKX.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-3MVBZ4XI.mjs";
10
+ } from "./chunk-BQ2Z6PSE.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-ZMC5FEJN.mjs";
13
+ } from "./chunk-G33LSF4T.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-53HQJS6D.mjs";
20
+ } from "./chunk-CQJMFUMK.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-MJ4JEJLL.mjs";
6
+ } from "./chunk-F5CZ3Q2I.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-ZMC5FEJN.mjs";
14
+ } from "./chunk-G33LSF4T.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-II33OPIO.mjs";
5
+ } from "./chunk-SCM6BR4Q.mjs";
6
6
  import {
7
7
  registerIntegrationBalanceCommand,
8
8
  registerIntegrationConnectCommand,
@@ -11,11 +11,11 @@ import {
11
11
  registerLegacyHubSpotMembersCommand,
12
12
  registerLegacyWorkspaceConnectionCommand,
13
13
  registerWorkspaceConnectionListCommand
14
- } from "./chunk-OFC24U3N.mjs";
14
+ } from "./chunk-A4X2O75M.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-GWS7XJI2.mjs";
18
+ } from "./chunk-JQDVX3D4.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -57,29 +57,29 @@ import {
57
57
  } from "./chunk-FIVKWNMT.mjs";
58
58
  import {
59
59
  DeeplineClient
60
- } from "./chunk-VZKBLSTA.mjs";
60
+ } from "./chunk-RQKCNQ5Q.mjs";
61
61
  import {
62
62
  validateExecutionIdempotencyKey
63
- } from "./chunk-MJ4JEJLL.mjs";
63
+ } from "./chunk-F5CZ3Q2I.mjs";
64
64
  import {
65
65
  beginToolExecuteCommand,
66
66
  getToolExecuteInvocationId,
67
67
  maybeAutoUpdateAndRelaunch,
68
68
  registerCompatibilityCatalog,
69
69
  runToolExecuteStage
70
- } from "./chunk-KGCY3MSS.mjs";
70
+ } from "./chunk-NNKZ4JYP.mjs";
71
71
  import {
72
72
  isCliTraceEnabled,
73
73
  recordCliTrace,
74
74
  resolveCliMaintenancePolicy
75
- } from "./chunk-D7DXRFM2.mjs";
75
+ } from "./chunk-WOZKGI6H.mjs";
76
76
  import {
77
77
  checkSdkCompatibility,
78
78
  enforceSdkCompatibilityResponse,
79
79
  flushDeferredSkillsSyncNotices,
80
80
  requireSdkCompatibility,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-3MVBZ4XI.mjs";
82
+ } from "./chunk-BQ2Z6PSE.mjs";
83
83
  import {
84
84
  errorToJsonPayload,
85
85
  printCommandEnvelope,
@@ -88,12 +88,12 @@ import {
88
88
  printJsonError,
89
89
  renderCommandEnvelopeText,
90
90
  shouldEmitJson
91
- } from "./chunk-ZMC5FEJN.mjs";
91
+ } from "./chunk-G33LSF4T.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-53HQJS6D.mjs";
96
+ } from "./chunk-CQJMFUMK.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1052,7 +1052,7 @@ Examples:
1052
1052
  process.exitCode = await narrowView();
1053
1053
  return;
1054
1054
  }
1055
- const { describeAnything } = await import("./describe-K7CRL4PA.mjs");
1055
+ const { describeAnything } = await import("./describe-6KSAHJBD.mjs");
1056
1056
  process.exitCode = await describeAnything(
1057
1057
  toolId,
1058
1058
  {