deepline 0.3.558 → 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 (157) 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/bundling-sources/shared_libs/observability/redaction.ts +23 -1
  6. package/dist/bundling-sources/shared_libs/observability/telemetry.ts +4 -1
  7. package/dist/cli/{auth-JJXTMFWH.mjs → auth-5DIOQ3MO.mjs} +5 -5
  8. package/dist/cli/auth-R2S7KYAA.js +44 -0
  9. package/dist/cli/{billing-RBFJMAI5.mjs → billing-K7EJAM55.mjs} +9 -9
  10. package/dist/cli/{billing-V3TJKUHY.js → billing-N5NS5CU6.js} +102 -102
  11. package/dist/cli/{chunk-FH55SB63.js → chunk-24GZT76F.js} +7 -7
  12. package/dist/cli/{chunk-NAJAAIEE.js → chunk-4CQ7LVRT.js} +48 -48
  13. package/dist/cli/{chunk-DDI4LNVC.js → chunk-4GRIMNDO.js} +41 -41
  14. package/dist/cli/{chunk-P3SLGOGA.mjs → chunk-4MAY2TA3.mjs} +2 -2
  15. package/dist/cli/{chunk-P2MVPTFJ.mjs → chunk-4PBYS3PS.mjs} +1 -1
  16. package/dist/cli/{chunk-YI4ADWTN.js → chunk-5CNHEUGJ.js} +12 -2
  17. package/dist/cli/{chunk-QGDU23YW.js → chunk-5QMEJPN5.js} +206 -180
  18. package/dist/cli/{chunk-6BDLYZYL.js → chunk-5VC6K4NJ.js} +26 -26
  19. package/dist/cli/{chunk-AL4QQKUK.mjs → chunk-5XMABMQU.mjs} +2 -2
  20. package/dist/cli/{chunk-4CTBC6Q7.js → chunk-7ZE6DF6B.js} +3 -3
  21. package/dist/cli/{chunk-XPSSXKBT.mjs → chunk-A4X2O75M.mjs} +2 -2
  22. package/dist/cli/{chunk-6PIQC2XE.mjs → chunk-A62A73U6.mjs} +3 -3
  23. package/dist/cli/{chunk-GAQ6VSRS.mjs → chunk-AMUMEL4C.mjs} +1 -1
  24. package/dist/cli/{chunk-I57JNBKA.mjs → chunk-BQ2Z6PSE.mjs} +5 -5
  25. package/dist/cli/{chunk-6LFPPAMD.js → chunk-BW4NVW5T.js} +3 -3
  26. package/dist/cli/{chunk-CEEUL7ER.mjs → chunk-CQJMFUMK.mjs} +1 -1
  27. package/dist/cli/{chunk-PAJLUB37.js → chunk-CQS5E6D2.js} +100 -100
  28. package/dist/cli/{chunk-DJAP2M5M.mjs → chunk-DOAD7ZCA.mjs} +1 -1
  29. package/dist/cli/{chunk-YVWINBZL.js → chunk-E76MM3SC.js} +20 -20
  30. package/dist/cli/{chunk-FF3BWNLL.mjs → chunk-F5CZ3Q2I.mjs} +150 -124
  31. package/dist/cli/{chunk-5V45LY6Y.js → chunk-FW2WRBZO.js} +9 -9
  32. package/dist/cli/{chunk-CB5DIX5K.mjs → chunk-G33LSF4T.mjs} +2 -2
  33. package/dist/cli/{chunk-BWWLLK56.mjs → chunk-GKONGPVW.mjs} +5 -5
  34. package/dist/cli/{chunk-2FFZ5SEU.mjs → chunk-GR5WG72L.mjs} +2 -2
  35. package/dist/cli/{chunk-KMNLER7F.mjs → chunk-GTRGJITW.mjs} +11 -11
  36. package/dist/cli/{chunk-BFM2RCC3.js → chunk-I7CQJ7JP.js} +2 -2
  37. package/dist/cli/{chunk-WJ7RY3PJ.mjs → chunk-JHS7WKRS.mjs} +3 -3
  38. package/dist/cli/{chunk-7Q5I4KEG.mjs → chunk-JQDVX3D4.mjs} +4 -4
  39. package/dist/cli/{chunk-RIQYBKHK.js → chunk-JYT6P2M2.js} +2 -2
  40. package/dist/cli/{chunk-XV4DHKZ2.js → chunk-KP4B3JOT.js} +13 -13
  41. package/dist/cli/{chunk-M4CJGF53.js → chunk-LMY7CGI7.js} +5 -5
  42. package/dist/cli/{chunk-I3PX6NGG.js → chunk-MBLPUJ5I.js} +5 -5
  43. package/dist/cli/{chunk-YJ46MJMT.js → chunk-MCGR7NG3.js} +6 -6
  44. package/dist/cli/{chunk-YBJSDL34.mjs → chunk-NNKZ4JYP.mjs} +5 -5
  45. package/dist/cli/{chunk-NADXF2C5.js → chunk-OPT36HX4.js} +53 -53
  46. package/dist/cli/{chunk-MAN4IEO4.mjs → chunk-OS3FDGKX.mjs} +4 -4
  47. package/dist/cli/{chunk-FCG42RQZ.js → chunk-Q77PM7U2.js} +20 -20
  48. package/dist/cli/{chunk-T6W7SKE7.mjs → chunk-RQKCNQ5Q.mjs} +2 -2
  49. package/dist/cli/{chunk-CG3R4ZFS.mjs → chunk-SCM6BR4Q.mjs} +1 -1
  50. package/dist/cli/{chunk-A5MRMCMW.js → chunk-TE2NSUT5.js} +5 -5
  51. package/dist/cli/{chunk-BHHCQGUY.mjs → chunk-UI7BBF2O.mjs} +5 -5
  52. package/dist/cli/{chunk-7Q3EXOLC.js → chunk-UTPANENL.js} +12 -12
  53. package/dist/cli/{chunk-4SVFZCCI.mjs → chunk-V7OFUYMO.mjs} +2 -2
  54. package/dist/cli/{chunk-OWOUDGHO.js → chunk-V7ZOAXZ4.js} +23 -23
  55. package/dist/cli/{chunk-BTKVXI3G.mjs → chunk-VACBPVIR.mjs} +12 -2
  56. package/dist/cli/{chunk-LIS6UJSC.mjs → chunk-WOZKGI6H.mjs} +1 -1
  57. package/dist/cli/{chunk-D4GCU735.mjs → chunk-XLM7L4UY.mjs} +1 -1
  58. package/dist/cli/{chunk-QGJ4DYGE.js → chunk-Y5CZWGO4.js} +1 -1
  59. package/dist/cli/{chunk-IS67LBNV.js → chunk-YDWFE7MX.js} +2 -2
  60. package/dist/cli/{chunk-67J4K4G2.js → chunk-Z4FWF237.js} +15 -15
  61. package/dist/cli/{chunk-ARGJDP77.mjs → chunk-ZJJUVUP6.mjs} +2 -2
  62. package/dist/cli/{chunk-6GBQNS6L.mjs → chunk-ZSDZ3Q5P.mjs} +1 -1
  63. package/dist/cli/{chunk-C7BQBKRZ.js → chunk-ZXB2Y3SG.js} +4 -4
  64. package/dist/cli/{chunk-VPJ663PV.js → chunk-ZY64JRBV.js} +10 -10
  65. package/dist/cli/command-docs.js +2 -2
  66. package/dist/cli/command-docs.mjs +1 -1
  67. package/dist/cli/{concurrent-runs-help-ZWWMHCK4.mjs → concurrent-runs-help-TCB2EKTR.mjs} +6 -6
  68. package/dist/cli/concurrent-runs-help-TKAZVMA4.js +22 -0
  69. package/dist/cli/{csv-V2FR4SO2.js → csv-DWC44DLD.js} +13 -13
  70. package/dist/cli/{csv-D76CXYOL.mjs → csv-R45YJYUO.mjs} +4 -4
  71. package/dist/cli/{db-B23O6Q4O.js → db-XIN3KF47.js} +27 -27
  72. package/dist/cli/{db-2D7PD7A3.mjs → db-XZXNKW7B.mjs} +6 -6
  73. package/dist/cli/{describe-3LG6VO3D.mjs → describe-6KSAHJBD.mjs} +18 -18
  74. package/dist/cli/describe-WLRAQDYC.js +50 -0
  75. package/dist/cli/describe-core.d.mts +2 -2
  76. package/dist/cli/describe-core.d.ts +2 -2
  77. package/dist/cli/{executions-4P4UBPMX.js → executions-C3UZLR7Y.js} +8 -8
  78. package/dist/cli/{executions-ORWO4SR4.mjs → executions-RSPQRWYL.mjs} +6 -6
  79. package/dist/cli/{feedback-AY47IRDD.mjs → feedback-7RCSKLW4.mjs} +6 -6
  80. package/dist/cli/{feedback-LPHCSOJT.js → feedback-A7WP67XL.js} +14 -14
  81. package/dist/cli/git-E6XV5MEY.js +26 -0
  82. package/dist/cli/{git-LQGZNBZM.mjs → git-JE6TFEK4.mjs} +5 -5
  83. package/dist/cli/index.js +147 -147
  84. package/dist/cli/index.mjs +46 -46
  85. package/dist/cli/{integrations-NEUZIBQT.mjs → integrations-DEU3ZW5P.mjs} +40 -7
  86. package/dist/cli/{integrations-QEOUALDR.js → integrations-L2D3EY3H.js} +48 -15
  87. package/dist/cli/{legacy-noops-PUO5VKHN.js → legacy-noops-AHTEO6EF.js} +9 -9
  88. package/dist/cli/{legacy-noops-4G3DXN57.mjs → legacy-noops-TL5PBCVQ.mjs} +6 -6
  89. package/dist/cli/{mcp-EWAZKABW.js → mcp-KXR7YJEG.js} +24 -24
  90. package/dist/cli/{mcp-USM2QUKK.mjs → mcp-PVRF5CGK.mjs} +4 -4
  91. package/dist/cli/{monitors-T6FJSZCP.mjs → monitors-BMGSROH3.mjs} +7 -7
  92. package/dist/cli/{monitors-2BI5J46A.js → monitors-YHF6RQGU.js} +100 -100
  93. package/dist/cli/{org-V6V3E7F7.js → org-IQJO6DJ7.js} +121 -121
  94. package/dist/cli/{org-BT45O64S.mjs → org-OO6LQPS6.mjs} +6 -6
  95. package/dist/cli/{outcomes-2T6W554M.mjs → outcomes-6QO6NEKO.mjs} +6 -6
  96. package/dist/cli/{outcomes-B6RPHM6M.js → outcomes-NAEAOCNT.js} +14 -14
  97. package/dist/cli/{play-CBBGJPRI.mjs → play-MZQSOYVV.mjs} +19 -19
  98. package/dist/cli/{play-YCFVGEWK.js → play-TYIBTW4E.js} +324 -324
  99. package/dist/cli/{providers-AGRUGBIY.js → providers-JDSSPMWH.js} +9 -9
  100. package/dist/cli/{providers-RHBUQFFO.mjs → providers-JR4OWXRX.mjs} +6 -6
  101. package/dist/cli/{quickstart-OPR5NLIQ.mjs → quickstart-JBX6BKGZ.mjs} +4 -4
  102. package/dist/cli/{quickstart-6N2KPWII.js → quickstart-T363ASLH.js} +6 -6
  103. package/dist/cli/{run-HAU2STMQ.mjs → run-6PWTGRJI.mjs} +23 -23
  104. package/dist/cli/{run-MMANMS4E.js → run-J3KWBIXA.js} +44 -44
  105. package/dist/cli/search-DPVHT5MJ.js +32 -0
  106. package/dist/cli/{search-TGWQMQ2C.mjs → search-XQG7UXAE.mjs} +7 -7
  107. package/dist/cli/{search-output-DZBYNJEO.mjs → search-output-DNONJFPF.mjs} +4 -4
  108. package/dist/cli/{search-output-VVM3DO2H.js → search-output-YZYLNDU6.js} +6 -6
  109. package/dist/cli/{secrets-Z6NEKNWM.mjs → secrets-MR7VXG74.mjs} +6 -6
  110. package/dist/cli/{secrets-V5WD552F.js → secrets-SCKPXIT7.js} +15 -15
  111. package/dist/cli/{sessions-C5GNXSPB.mjs → sessions-MPIJTGWQ.mjs} +6 -6
  112. package/dist/cli/sessions-VNWLXJR2.js +23 -0
  113. package/dist/cli/{settings-QUDVUIOJ.mjs → settings-Y5NW74ER.mjs} +12 -12
  114. package/dist/cli/{settings-EZPZXJDG.js → settings-YPKR5JFF.js} +85 -85
  115. package/dist/cli/{setup-BCJBVQTI.mjs → setup-5RJCLRZI.mjs} +9 -9
  116. package/dist/cli/{setup-QY5VVGWQ.js → setup-673Q3LGR.js} +49 -49
  117. package/dist/cli/{skills-LY2WZ22U.mjs → skills-2QVBD4LD.mjs} +7 -7
  118. package/dist/cli/skills-YGFFPGCR.js +37 -0
  119. package/dist/cli/tools-2BC7K3ZU.js +57 -0
  120. package/dist/cli/{tools-FNCTTFWA.mjs → tools-627KG34F.mjs} +17 -17
  121. package/dist/cli/{update-YKQAC4AQ.mjs → update-535TTARD.mjs} +9 -9
  122. package/dist/cli/update-HWEOSPDS.js +37 -0
  123. package/dist/cli/{views-5R5NVYHL.mjs → views-3M24ZTXA.mjs} +6 -6
  124. package/dist/cli/{views-NBTOBB67.js → views-FQNWZUWB.js} +21 -21
  125. package/dist/cli/{workflow-HBDW43GT.mjs → workflow-CN46XZPG.mjs} +7 -7
  126. package/dist/cli/{workflow-VNPT5VQS.js → workflow-H6F7WAOE.js} +17 -17
  127. package/dist/{client-BoayTB7p.d.ts → client-BSxuaObS.d.ts} +1 -1
  128. package/dist/{client-1ogYQqUw.d.mts → client-CnphYDTe.d.mts} +1 -1
  129. package/dist/{client-core-Ch8CXaX4.d.mts → client-core-DQOTt3yV.d.mts} +37 -2
  130. package/dist/{client-core-DySw9x_E.d.ts → client-core-Yad6-K7-.d.ts} +37 -2
  131. package/dist/index.d.mts +3 -3
  132. package/dist/index.d.ts +3 -3
  133. package/dist/index.js +9 -9
  134. package/dist/index.mjs +6 -6
  135. package/dist/install-integrity.json +118 -118
  136. package/dist/plays/play-description.d.mts +1 -1
  137. package/dist/plays/play-description.d.ts +1 -1
  138. package/dist/plays/run-request.d.mts +1 -1
  139. package/dist/plays/run-request.d.ts +1 -1
  140. package/dist/release.d.mts +1 -1
  141. package/dist/release.d.ts +1 -1
  142. package/dist/release.js +2 -2
  143. package/dist/release.mjs +1 -1
  144. package/dist/server.d.mts +2 -2
  145. package/dist/server.d.ts +2 -2
  146. package/dist/server.js +5 -5
  147. package/dist/server.mjs +3 -3
  148. package/package.json +1 -1
  149. package/dist/cli/auth-TWSGYOWI.js +0 -44
  150. package/dist/cli/concurrent-runs-help-4VRUNL3T.js +0 -22
  151. package/dist/cli/describe-QE4ITFPG.js +0 -50
  152. package/dist/cli/git-XXVGEPEM.js +0 -26
  153. package/dist/cli/search-7LMUBMDC.js +0 -32
  154. package/dist/cli/sessions-VYIPZBSR.js +0 -23
  155. package/dist/cli/skills-PKNTNDYL.js +0 -37
  156. package/dist/cli/tools-D6CKFZL3.js +0 -57
  157. package/dist/cli/update-E2H2DWH4.js +0 -37
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-I57JNBKA.mjs";
14
+ } from "./chunk-BQ2Z6PSE.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-CB5DIX5K.mjs";
17
+ } from "./chunk-G33LSF4T.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-CEEUL7ER.mjs";
23
+ } from "./chunk-CQJMFUMK.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-GAQ6VSRS.mjs";
27
+ } from "./chunk-AMUMEL4C.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,23 +1,23 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkRIQYBKHKjs = require('./chunk-RIQYBKHK.js');
4
+ var _chunkJYT6P2M2js = require('./chunk-JYT6P2M2.js');
5
5
 
6
6
 
7
- var _chunkDDI4LNVCjs = require('./chunk-DDI4LNVC.js');
7
+ var _chunk4GRIMNDOjs = require('./chunk-4GRIMNDO.js');
8
8
 
9
9
 
10
- var _chunkNAJAAIEEjs = require('./chunk-NAJAAIEE.js');
10
+ var _chunk4CQ7LVRTjs = require('./chunk-4CQ7LVRT.js');
11
11
 
12
12
 
13
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
13
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
20
+ var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  var _child_process = require('child_process');
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
499
499
  }
500
500
  function resolveNpmGlobalPrefix(env) {
501
501
  try {
502
- const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunk4CQ7LVRTjs.resolveShellSpawn.call(void 0,
503
503
  "npm",
504
504
  ["prefix", "-g"],
505
505
  process.platform,
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
561
561
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
562
562
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
563
563
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
564
- const npmVersion = options.npmVersion === void 0 ? _chunkRIQYBKHKjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkRIQYBKHKjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunkJYT6P2M2js.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunkJYT6P2M2js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
566
566
  const args = installPrefix ? [
567
567
  "install",
568
568
  "-g",
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
572
572
  packageSpec
573
573
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
574
574
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
575
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk7ZE6DF6Bjs.autoDetectBaseUrl.call(void 0, )
576
576
  );
577
577
  return {
578
578
  kind: "npm-global",
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
821
821
  function runCommand(command, args, env = process.env) {
822
822
  return new Promise((resolveResult) => {
823
823
  let output = "";
824
- const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunk4CQ7LVRTjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
825
825
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
826
826
  windowsHide: true,
827
827
  stdio: ["inherit", "pipe", "pipe"],
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
1169
1169
  }
1170
1170
  async function readPinMetadata(registryUrl, version) {
1171
1171
  const controller = new AbortController();
1172
- const timeout = setTimeout(() => controller.abort(), _chunk4CTBC6Q7js.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunk7ZE6DF6Bjs.DEFAULT_TIMEOUT);
1173
1173
  try {
1174
1174
  const response = await fetch(
1175
1175
  new URL(
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
1185
1185
  if (!response.ok) {
1186
1186
  return {
1187
1187
  kind: "miss",
1188
- transient: _chunk4CTBC6Q7js.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunk7ZE6DF6Bjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1189
1189
  error: new Error(`${registryUrl} returned HTTP ${response.status}`)
1190
1190
  };
1191
1191
  }
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
1219
1219
  "https://registry.npmjs.org/",
1220
1220
  ...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
1221
1221
  ];
1222
- const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunk4CTBC6Q7js.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk4CTBC6Q7js.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunk7ZE6DF6Bjs.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk7ZE6DF6Bjs.defaultRetryBackoffMs));
1224
1224
  let lastError = null;
1225
1225
  for (let round = 1; ; round += 1) {
1226
1226
  let transientOnly = true;
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
1283
1283
  return null;
1284
1284
  }
1285
1285
  async function runUpdateCommand(options, dependencies = {}) {
1286
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk4CTBC6Q7js.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk7ZE6DF6Bjs.autoDetectBaseUrl));
1287
1287
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1288
1288
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1289
1289
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1290
1290
  const originalWrite = process.stdout.write.bind(process.stdout);
1291
1291
  process.stdout.write = (() => true);
1292
1292
  try {
1293
- const exitCode = await _chunkDDI4LNVCjs.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunk4GRIMNDOjs.runSkillsCommand.call(void 0, { json: true });
1294
1294
  if (exitCode !== 0) {
1295
1295
  throw new Error(
1296
1296
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1363
1363
  };
1364
1364
  if (options.json && !options.executeWithJson) {
1365
1365
  const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
1366
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1366
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
1367
1367
  {
1368
1368
  ...plan,
1369
1369
  updated: false,
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1375
1375
  return 0;
1376
1376
  }
1377
1377
  if (options.printCommand) {
1378
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1378
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
1379
1379
  {
1380
1380
  ...plan,
1381
1381
  render: {
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1388
1388
  return 0;
1389
1389
  }
1390
1390
  if (plan.kind === "source" || plan.kind === "homebrew") {
1391
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1392
1392
  return 0;
1393
1393
  }
1394
1394
  const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
1426
1426
  );
1427
1427
  }
1428
1428
  if (options.executeWithJson && options.json) {
1429
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1429
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-FF3BWNLL.mjs";
3
+ } from "./chunk-F5CZ3Q2I.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-CEEUL7ER.mjs";
7
+ } from "./chunk-CQJMFUMK.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-CB5DIX5K.mjs";
12
+ } from "./chunk-G33LSF4T.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkQGDU23YWjs = require('./chunk-QGDU23YW.js');
3
+ var _chunk5QMEJPN5js = require('./chunk-5QMEJPN5.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
7
+ var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, options);
141
- return new (0, _chunkQGDU23YWjs.PlayClient)(
142
- new (0, _chunk4CTBC6Q7js.HttpClient)(config),
140
+ const config = _chunk7ZE6DF6Bjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk5QMEJPN5js.PlayClient)(
142
+ new (0, _chunk7ZE6DF6Bjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-KMNLER7F.mjs";
3
+ } from "./chunk-GTRGJITW.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-CG3R4ZFS.mjs";
6
+ } from "./chunk-SCM6BR4Q.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-BM4GE67C.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-T6W7SKE7.mjs";
17
+ } from "./chunk-RQKCNQ5Q.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-CB5DIX5K.mjs";
22
+ } from "./chunk-G33LSF4T.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-CEEUL7ER.mjs";
26
+ } from "./chunk-CQJMFUMK.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkM4CJGF53js = require('./chunk-M4CJGF53.js');
3
+ var _chunkLMY7CGI7js = require('./chunk-LMY7CGI7.js');
4
4
 
5
5
 
6
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
6
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  var _commander = require('commander');
10
10
  var _fs = require('fs');
11
11
  var _path = require('path');
12
12
  function printIntegrationResult(value, json, lines, nextCursor) {
13
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
13
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
14
14
  {},
15
15
  {
16
16
  json: json || void 0,
@@ -26,7 +26,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
26
26
  return parent.command("balance <provider>", { hidden }).description(
27
27
  "Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
28
28
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
29
- const balance = await new (0, _chunkM4CJGF53js.DeeplineClient)().getIntegrationBalance(
29
+ const balance = await new (0, _chunkLMY7CGI7js.DeeplineClient)().getIntegrationBalance(
30
30
  provider
31
31
  );
32
32
  printIntegrationResult(balance, options.json, [
@@ -40,7 +40,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
40
40
  "List teammates\u2019 personal connections for this provider"
41
41
  ).option("--cursor <cursor>", "Read the next page of members").action(
42
42
  async (options) => {
43
- const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
43
+ const client = new (0, _chunkLMY7CGI7js.DeeplineClient)();
44
44
  if (name === "list" && options.cursor && !options.members)
45
45
  throw new Error(
46
46
  "Use --cursor with --members to continue a member page."
@@ -82,7 +82,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
82
82
  }
83
83
  function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
84
84
  return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
85
- const page = await new (0, _chunkM4CJGF53js.DeeplineClient)().listPersonalHubSpotMembers(
85
+ const page = await new (0, _chunkLMY7CGI7js.DeeplineClient)().listPersonalHubSpotMembers(
86
86
  options.cursor
87
87
  );
88
88
  const rows = page.members.map((member) => {
@@ -108,7 +108,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
108
108
  );
109
109
  if (options.autoName && (action !== "connect" || options.name !== void 0))
110
110
  throw new Error("Use --auto-name with connect and omit --name.");
111
- const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
111
+ const client = new (0, _chunkLMY7CGI7js.DeeplineClient)();
112
112
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
113
113
  const row = connections.find(
114
114
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -141,7 +141,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
141
141
  "Print the proposed change without contacting Google or saving it"
142
142
  ).option("--json", "Print the result as JSON").action(
143
143
  async (action, options) => {
144
- const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
144
+ const client = new (0, _chunkLMY7CGI7js.DeeplineClient)();
145
145
  if (action === "list") {
146
146
  const inventory = await client.listCalendarAvailabilityConnections();
147
147
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -291,7 +291,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
291
291
  }
292
292
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
293
293
  return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
294
- const page = await new (0, _chunkM4CJGF53js.DeeplineClient)().listAvailabilityCalendars(
294
+ const page = await new (0, _chunkLMY7CGI7js.DeeplineClient)().listAvailabilityCalendars(
295
295
  options.cursor
296
296
  );
297
297
  printIntegrationResult(page, options.json, [
@@ -335,7 +335,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
335
335
  printSetupPlan({ provider, action: "connect_link" }, options.json);
336
336
  return;
337
337
  }
338
- const link = await new (0, _chunkM4CJGF53js.DeeplineClient)().getIntegrationConnectLink(
338
+ const link = await new (0, _chunkLMY7CGI7js.DeeplineClient)().getIntegrationConnectLink(
339
339
  provider
340
340
  );
341
341
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -362,7 +362,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
362
362
  );
363
363
  return;
364
364
  }
365
- const result2 = await new (0, _chunkM4CJGF53js.DeeplineClient)().startIntegrationOAuth(
365
+ const result2 = await new (0, _chunkLMY7CGI7js.DeeplineClient)().startIntegrationOAuth(
366
366
  provider,
367
367
  {
368
368
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -412,7 +412,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
412
412
  "--credentials-file must contain a nonempty JSON object of string credential values."
413
413
  );
414
414
  }
415
- const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().setIntegrationCredentials(
415
+ const result = await new (0, _chunkLMY7CGI7js.DeeplineClient)().setIntegrationCredentials(
416
416
  provider,
417
417
  credentials,
418
418
  { expectedConnectionId: options.expectedConnectionId }
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-WJ7RY3PJ.mjs";
3
+ } from "./chunk-JHS7WKRS.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-CEEUL7ER.mjs";
10
+ } from "./chunk-CQJMFUMK.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkFCG42RQZjs = require('./chunk-FCG42RQZ.js');
7
+ var _chunkQ77PM7U2js = require('./chunk-Q77PM7U2.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkNAJAAIEEjs = require('./chunk-NAJAAIEE.js');
12
+ var _chunk4CQ7LVRTjs = require('./chunk-4CQ7LVRT.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
16
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
17
17
 
18
18
 
19
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
19
+ var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
20
20
 
21
21
 
22
- var _chunkC7BQBKRZjs = require('./chunk-C7BQBKRZ.js');
22
+ var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunk7ZE6DF6Bjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunkC7BQBKRZjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunkZXB2Y3SGjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunkC7BQBKRZjs.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunkC7BQBKRZjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunkZXB2Y3SGjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunkZXB2Y3SGjs.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkC7BQBKRZjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZXB2Y3SGjs.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkFCG42RQZjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkNAJAAIEEjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkQ77PM7U2js.shouldRunCliAutoUpdate.call(void 0, ) || _chunk4CQ7LVRTjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkC7BQBKRZjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkZXB2Y3SGjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkFCG42RQZjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkQ77PM7U2js.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunk4CQ7LVRTjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkC7BQBKRZjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkZXB2Y3SGjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkFCG42RQZjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkQ77PM7U2js.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkFCG42RQZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkQ77PM7U2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkYVWINBZLjs.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkE76MM3SCjs.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkYVWINBZLjs.addJsonNotice.call(void 0, {
173
+ _chunkE76MM3SCjs.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkFCG42RQZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkQ77PM7U2js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkFCG42RQZjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkQ77PM7U2js.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunkNAJAAIEEjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunk4CQ7LVRTjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkYVWINBZLjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkE76MM3SCjs.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -696,8 +696,8 @@ Input and output:
696
696
  cannot expand granted access.
697
697
  SDK:
698
698
  client.integrations exposes list, get, connect, reconnect, disconnect,
699
- delete, verify and members. Lifecycle methods accept dryRun and preserve
700
- the same ID/revision checks used by the CLI.
699
+ delete, verify, members, and discoverAdAccounts. Connection lifecycle
700
+ methods accept dryRun and preserve the same ID/revision checks used by the CLI.
701
701
  Cost:
702
702
  These management commands do not spend Deepline credits.
703
703
  Examples:
@@ -705,6 +705,16 @@ Examples:
705
705
  deepline integrations list --json
706
706
  deepline integrations get deepline.com --json
707
707
  `
708
+ },
709
+ "integrations discover-ad-accounts": {
710
+ core: `Purpose: Discover and save the ad accounts a connected provider can access in the selected workspace.
711
+ Input: google_ads_audiences or linkedin_ads_audiences. Run as an org admin with an active provider connection.
712
+ Output: saved ad accounts, their enablement, and the workspace default. Use --json for the full account inventory or --dry-run to print the request without saving.
713
+ SDK: client.integrations.discoverAdAccounts(provider)
714
+ Cost: Does not spend Deepline credits.
715
+ Examples:
716
+ deepline integrations discover-ad-accounts google_ads_audiences --json
717
+ deepline integrations discover-ad-accounts linkedin_ads_audiences`
708
718
  },
709
719
  "integrations get": {
710
720
  core: `Purpose: Read one named org authorization from the connection inventory.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-CB5DIX5K.mjs";
3
+ } from "./chunk-G33LSF4T.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -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.558",
52
+ version: "0.3.560",
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."
@@ -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.558",
52
+ version: "0.3.560",
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."
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
3
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
60
+ _chunkE76MM3SCjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );