deepline 0.3.543 → 0.3.544

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 (154) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +6 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +108 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +29 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +2 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +3 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +3 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +1 -1
  10. package/dist/cli/auth-ENBXAKQS.js +43 -0
  11. package/dist/cli/{auth-ITAELTOA.mjs → auth-IMWJAHPU.mjs} +5 -5
  12. package/dist/cli/{billing-33XVFDUJ.js → billing-Y55PR2PV.js} +92 -92
  13. package/dist/cli/{billing-WZ7RVZW4.mjs → billing-YQMW3QJI.mjs} +8 -8
  14. package/dist/cli/{chunk-F6VSQ5LN.js → chunk-22OBDYHP.js} +12 -12
  15. package/dist/cli/{chunk-23D224GI.js → chunk-3I26HMJ7.js} +9 -9
  16. package/dist/cli/{chunk-274WKLSY.mjs → chunk-3JDA23NN.mjs} +2 -2
  17. package/dist/cli/{chunk-TBCNL2T5.js → chunk-3KGMM4KS.js} +1 -1
  18. package/dist/cli/{chunk-HKJ26NRN.mjs → chunk-456RRXAP.mjs} +5 -5
  19. package/dist/cli/{chunk-2KTGZKRE.js → chunk-4PKHFW56.js} +15 -15
  20. package/dist/cli/{chunk-XFPVFWZR.mjs → chunk-57G4NYOL.mjs} +1 -1
  21. package/dist/cli/{chunk-XBM3KABD.mjs → chunk-5PR4VLLL.mjs} +2 -2
  22. package/dist/cli/{chunk-NLENABRU.js → chunk-7GNZEOTH.js} +6 -6
  23. package/dist/cli/{chunk-C35NLLSA.js → chunk-7HMMTSDA.js} +5 -5
  24. package/dist/cli/{chunk-NR3O56FT.mjs → chunk-BEQ7RQLT.mjs} +5 -5
  25. package/dist/cli/{chunk-BGAUADV4.js → chunk-C4P2KLWT.js} +41 -41
  26. package/dist/cli/{chunk-MCBUWK5K.js → chunk-COJHT2KF.js} +22 -22
  27. package/dist/cli/{chunk-3JZXU5OB.js → chunk-DF2X7GJG.js} +5 -5
  28. package/dist/cli/{chunk-DH43ECTN.mjs → chunk-DVDWAC2M.mjs} +2 -2
  29. package/dist/cli/{chunk-2NCJQEZH.js → chunk-DYDHLBSK.js} +53 -53
  30. package/dist/cli/{chunk-GRCFX2EG.js → chunk-G26VJCNT.js} +4 -4
  31. package/dist/cli/{chunk-J2F6F5GL.js → chunk-GQHRGBHV.js} +5 -5
  32. package/dist/cli/{chunk-4SKDSSPU.mjs → chunk-GV45TTI6.mjs} +2 -2
  33. package/dist/cli/{chunk-W2OPPSAZ.mjs → chunk-H4SAHB3Q.mjs} +3 -3
  34. package/dist/cli/{chunk-52YK3EII.mjs → chunk-HAQRF6DJ.mjs} +2 -2
  35. package/dist/cli/{chunk-SYOPHFKB.mjs → chunk-HBSWATOU.mjs} +5 -5
  36. package/dist/cli/{chunk-FNW2SGPD.mjs → chunk-HVJQF5BI.mjs} +2 -2
  37. package/dist/cli/{chunk-R57UCXQG.mjs → chunk-HXM2JUGD.mjs} +1 -1
  38. package/dist/cli/{chunk-STXG2LFC.js → chunk-IFIJ4DBJ.js} +2 -2
  39. package/dist/cli/{chunk-5MN3BKNB.js → chunk-JBWOE6AP.js} +16 -16
  40. package/dist/cli/{chunk-2LNTKICO.js → chunk-JWVG7ZPX.js} +3 -3
  41. package/dist/cli/{chunk-O2KLWUNI.js → chunk-KE6CSCUF.js} +44 -44
  42. package/dist/cli/{chunk-OELJKQOL.mjs → chunk-LPUBBUKX.mjs} +2 -2
  43. package/dist/cli/{chunk-XSN6BAZT.mjs → chunk-LQ6RRYXN.mjs} +5 -5
  44. package/dist/cli/{chunk-5VIPTLRX.mjs → chunk-LW274RO7.mjs} +1 -1
  45. package/dist/cli/{chunk-QFRMVI4S.js → chunk-ON56ISO6.js} +3 -3
  46. package/dist/cli/{chunk-46BEBZ3M.js → chunk-PDJ4UDCO.js} +29 -28
  47. package/dist/cli/{chunk-ZRT2PNYY.mjs → chunk-PFGOCUH3.mjs} +1 -1
  48. package/dist/cli/{chunk-NHKP2NSU.js → chunk-PKRW76XG.js} +2 -2
  49. package/dist/cli/{chunk-6SJZMMD5.mjs → chunk-PMW5YP72.mjs} +11 -11
  50. package/dist/cli/{chunk-D6YAU3CF.mjs → chunk-Q7ZOWNKR.mjs} +2 -1
  51. package/dist/cli/{chunk-SZNJENGT.mjs → chunk-REEOMNCO.mjs} +3 -3
  52. package/dist/cli/{chunk-YJYKZ2U3.js → chunk-RG34YBDE.js} +2 -2
  53. package/dist/cli/{chunk-ZSPBJB7I.mjs → chunk-RJPDCSTD.mjs} +4 -4
  54. package/dist/cli/{chunk-YE3T73BV.js → chunk-RUFR4PUO.js} +10 -10
  55. package/dist/cli/{chunk-AACKPOGA.mjs → chunk-SK3HPU2J.mjs} +1 -1
  56. package/dist/cli/{chunk-OAFKUHN5.mjs → chunk-SKS53WM6.mjs} +4 -4
  57. package/dist/cli/{chunk-EHUG6EUT.js → chunk-UHIAQPVA.js} +26 -26
  58. package/dist/cli/{chunk-DUGTPVT7.js → chunk-UNMNGRPB.js} +7 -7
  59. package/dist/cli/{chunk-DI3GL3T6.js → chunk-W7X4KH45.js} +99 -99
  60. package/dist/cli/{chunk-7AUQTNLB.mjs → chunk-WBSGPLH5.mjs} +2 -2
  61. package/dist/cli/{chunk-SU4K4SUU.mjs → chunk-WUEORIOY.mjs} +1 -1
  62. package/dist/cli/{chunk-VSJEOSYL.mjs → chunk-YIRVKMON.mjs} +1 -1
  63. package/dist/cli/{chunk-UJ6GOV7K.js → chunk-Z44YTSTA.js} +13 -13
  64. package/dist/cli/{chunk-JXG7HWBA.mjs → chunk-ZHY4T5M6.mjs} +1 -1
  65. package/dist/cli/{chunk-PX7XAVUC.js → chunk-ZY6FL4O4.js} +19 -19
  66. package/dist/cli/{concurrent-runs-help-Z6ODNL4E.mjs → concurrent-runs-help-KBWPKSTP.mjs} +6 -6
  67. package/dist/cli/concurrent-runs-help-TOMLCMV7.js +21 -0
  68. package/dist/cli/{csv-5QW2HPHT.mjs → csv-M5EBEMZH.mjs} +4 -4
  69. package/dist/cli/{csv-SSOFTXHU.js → csv-XGGDZTQI.js} +13 -13
  70. package/dist/cli/{db-4LK5AJNO.js → db-CVPR54XK.js} +27 -27
  71. package/dist/cli/{db-K2JMR6EM.mjs → db-M6FJ6J6E.mjs} +6 -6
  72. package/dist/cli/describe-RUODIS6M.js +50 -0
  73. package/dist/cli/{describe-AXHQZHTT.mjs → describe-X6QA2U3C.mjs} +18 -18
  74. package/dist/cli/describe-core.d.mts +2 -2
  75. package/dist/cli/describe-core.d.ts +2 -2
  76. package/dist/cli/{executions-FY2XTX2W.mjs → executions-EHTS2XJX.mjs} +6 -6
  77. package/dist/cli/{executions-AATJQQAQ.js → executions-VJEEWN22.js} +8 -8
  78. package/dist/cli/{feedback-MKBPRGS6.mjs → feedback-76VGY4GP.mjs} +6 -6
  79. package/dist/cli/{feedback-QPVJER75.js → feedback-DQPUCUXO.js} +14 -14
  80. package/dist/cli/{git-AGRFZR3K.mjs → git-IY6DKKLR.mjs} +5 -5
  81. package/dist/cli/git-RLHTSYRY.js +25 -0
  82. package/dist/cli/index.js +142 -142
  83. package/dist/cli/index.mjs +44 -44
  84. package/dist/cli/{integrations-OUQ6U33M.mjs → integrations-242LE3TQ.mjs} +7 -7
  85. package/dist/cli/{integrations-R6OUFZXI.js → integrations-CQSTIKFY.js} +15 -15
  86. package/dist/cli/{legacy-noops-DVL2RRKL.mjs → legacy-noops-SWTSTMRY.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-H7INM2QN.js → legacy-noops-U72DO6ZF.js} +9 -9
  88. package/dist/cli/{mcp-2Z2YVOLK.mjs → mcp-JJH6JR52.mjs} +4 -4
  89. package/dist/cli/{mcp-33F7D7WI.js → mcp-L473BKLJ.js} +24 -24
  90. package/dist/cli/{monitors-KDUJHAKJ.js → monitors-3TF2DOFD.js} +117 -102
  91. package/dist/cli/{monitors-NZD2WIKK.mjs → monitors-VSYHUBKC.mjs} +24 -9
  92. package/dist/cli/{org-EJW45RUA.mjs → org-S5VIKU2E.mjs} +6 -6
  93. package/dist/cli/{org-4PQGHLEB.js → org-YKVI2ZTI.js} +88 -88
  94. package/dist/cli/{play-3CM5RT5J.mjs → play-C7T5A3QM.mjs} +17 -17
  95. package/dist/cli/{play-MLHMQL4G.js → play-DOWEG45Y.js} +317 -317
  96. package/dist/cli/{providers-BHYBJI4R.mjs → providers-BMVVX3VD.mjs} +6 -6
  97. package/dist/cli/{providers-YBJG7277.js → providers-TAZPPFTB.js} +9 -9
  98. package/dist/cli/{quickstart-LL3MR562.mjs → quickstart-A3WKMKTW.mjs} +4 -4
  99. package/dist/cli/{quickstart-O7L2NNGJ.js → quickstart-HD6FQXGR.js} +6 -6
  100. package/dist/cli/{run-HJ2AR6CM.js → run-BVVV2UX7.js} +43 -43
  101. package/dist/cli/{run-OK545H5Q.mjs → run-FV7TWNOC.mjs} +23 -23
  102. package/dist/cli/{search-Z5ZKMRTX.mjs → search-MGK6WIKS.mjs} +7 -7
  103. package/dist/cli/search-VJFCWUZN.js +32 -0
  104. package/dist/cli/{search-output-SVW4DETG.js → search-output-6Y7KEPIE.js} +6 -6
  105. package/dist/cli/{search-output-Q5VHNUWG.mjs → search-output-GM7LDZKE.mjs} +4 -4
  106. package/dist/cli/{secrets-QIKIEFWB.mjs → secrets-4RFAR7YI.mjs} +6 -6
  107. package/dist/cli/{secrets-ENQWMCB5.js → secrets-SISXIXSZ.js} +15 -15
  108. package/dist/cli/{sessions-AETO22RF.mjs → sessions-CE3OMEG7.mjs} +6 -6
  109. package/dist/cli/sessions-OWWZJZXH.js +22 -0
  110. package/dist/cli/{settings-OFLIFTMZ.js → settings-4HPM3K4A.js} +85 -85
  111. package/dist/cli/{settings-G5RGRPFV.mjs → settings-E22IDSX2.mjs} +12 -12
  112. package/dist/cli/{setup-QW7Y62XD.js → setup-BDRSNLKX.js} +49 -49
  113. package/dist/cli/{setup-G4N3X6KG.mjs → setup-BK65MDZ6.mjs} +9 -9
  114. package/dist/cli/{skills-QRFQGHNA.mjs → skills-FI2GZMR4.mjs} +7 -7
  115. package/dist/cli/skills-ZLBFUAFR.js +36 -0
  116. package/dist/cli/tools-3K72VE33.js +57 -0
  117. package/dist/cli/{tools-52BH7UTF.mjs → tools-HMMWYUNW.mjs} +17 -17
  118. package/dist/cli/update-QZV6DH5V.js +34 -0
  119. package/dist/cli/{update-SDGZLAGL.mjs → update-WDKBSXV5.mjs} +9 -9
  120. package/dist/cli/{views-5QKAWYPI.js → views-775AUDWQ.js} +21 -21
  121. package/dist/cli/{views-3BIJFJMQ.mjs → views-JYIJCO23.mjs} +6 -6
  122. package/dist/cli/{workflow-G67RPWVY.js → workflow-4H6KQRFQ.js} +17 -17
  123. package/dist/cli/{workflow-QAK773FR.mjs → workflow-FKKHE3IU.mjs} +7 -7
  124. package/dist/{client-bd4QQIXo.d.mts → client-ANT3pyoa.d.mts} +1 -1
  125. package/dist/{client-D1ga52xq.d.ts → client-DD_FyJVd.d.ts} +1 -1
  126. package/dist/{client-core-CqfWNf2Q.d.mts → client-core-Dg9tKhdB.d.mts} +5 -0
  127. package/dist/{client-core-B6eMVx8h.d.ts → client-core-QHmo73k1.d.ts} +5 -0
  128. package/dist/index.d.mts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +114 -114
  133. package/dist/plays/play-description.d.mts +1 -1
  134. package/dist/plays/play-description.d.ts +1 -1
  135. package/dist/plays/run-request.d.mts +1 -1
  136. package/dist/plays/run-request.d.ts +1 -1
  137. package/dist/release.d.mts +1 -1
  138. package/dist/release.d.ts +1 -1
  139. package/dist/release.js +2 -2
  140. package/dist/release.mjs +1 -1
  141. package/dist/server.d.mts +2 -2
  142. package/dist/server.d.ts +2 -2
  143. package/dist/server.js +5 -5
  144. package/dist/server.mjs +3 -3
  145. package/package.json +1 -1
  146. package/dist/cli/auth-S6B5WUU5.js +0 -43
  147. package/dist/cli/concurrent-runs-help-E4OYD3DS.js +0 -21
  148. package/dist/cli/describe-AC6PLEFP.js +0 -50
  149. package/dist/cli/git-RUYFQEJX.js +0 -25
  150. package/dist/cli/search-UUNS6BCC.js +0 -32
  151. package/dist/cli/sessions-FNSUDERA.js +0 -22
  152. package/dist/cli/skills-3IXIY2IV.js +0 -36
  153. package/dist/cli/tools-MYBUMPKH.js +0 -57
  154. package/dist/cli/update-GT7574UU.js +0 -34
@@ -1,9 +1,9 @@
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 _chunk2LNTKICOjs = require('./chunk-2LNTKICO.js');
3
+ var _chunkJWVG7ZPXjs = require('./chunk-JWVG7ZPX.js');
4
4
 
5
5
 
6
- var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
6
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
7
7
 
8
8
 
9
9
 
@@ -14,17 +14,17 @@ var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkQFRMVI4Sjs = require('./chunk-QFRMVI4S.js');
17
+ var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
23
 
24
- var _chunkGRCFX2EGjs = require('./chunk-GRCFX2EG.js');
24
+ var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
25
25
 
26
26
 
27
- var _chunkTBCNL2T5js = require('./chunk-TBCNL2T5.js');
27
+ var _chunk3KGMM4KSjs = require('./chunk-3KGMM4KS.js');
28
28
 
29
29
  // src/compat.ts
30
30
  var _crypto = require('crypto');
@@ -59,7 +59,7 @@ function shouldSkipCompatibilityCheck() {
59
59
  return value === "1" || value === "true" || value === "yes";
60
60
  }
61
61
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
62
- return _path.join.call(void 0, _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
62
+ return _path.join.call(void 0, _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
63
63
  }
64
64
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
65
65
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -67,9 +67,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
67
67
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
68
68
  return JSON.stringify({
69
69
  baseUrl: baseUrl.replace(/\/$/, ""),
70
- version: _chunkGRCFX2EGjs.SDK_VERSION,
71
- apiContract: _chunkGRCFX2EGjs.SDK_API_CONTRACT,
72
- apiMajor: _chunkGRCFX2EGjs.SDK_API_MAJOR,
70
+ version: _chunkG26VJCNTjs.SDK_VERSION,
71
+ apiContract: _chunkG26VJCNTjs.SDK_API_CONTRACT,
72
+ apiMajor: _chunkG26VJCNTjs.SDK_API_MAJOR,
73
73
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
74
74
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
75
75
  });
@@ -77,8 +77,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
77
77
  function legacyCompatibilityCacheKey(baseUrl, command) {
78
78
  return JSON.stringify({
79
79
  baseUrl: baseUrl.replace(/\/$/, ""),
80
- version: _chunkGRCFX2EGjs.SDK_VERSION,
81
- apiContract: _chunkGRCFX2EGjs.SDK_API_CONTRACT,
80
+ version: _chunkG26VJCNTjs.SDK_VERSION,
81
+ apiContract: _chunkG26VJCNTjs.SDK_API_CONTRACT,
82
82
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
83
83
  });
84
84
  }
@@ -103,7 +103,7 @@ function isSavedWithin(savedAt, windowMs, now) {
103
103
  }
104
104
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
105
105
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
106
- const path = _path.join.call(void 0, _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
106
+ const path = _path.join.call(void 0, _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
107
107
  try {
108
108
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
109
109
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -190,7 +190,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
190
190
  );
191
191
  try {
192
192
  const url = new URL("/api/v2/sdk/compat", baseUrl);
193
- url.searchParams.set("version", _chunkGRCFX2EGjs.SDK_VERSION);
193
+ url.searchParams.set("version", _chunkG26VJCNTjs.SDK_VERSION);
194
194
  if (_optionalChain([options, 'access', _34 => _34.command, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()])) {
195
195
  url.searchParams.set("command", options.command.trim());
196
196
  }
@@ -198,7 +198,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
198
198
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
199
199
  url.searchParams.set(
200
200
  "skills_cli_capability",
201
- String(_chunkTBCNL2T5js.SDK_RELEASE.packageCapabilities.skillsGuidance)
201
+ String(_chunk3KGMM4KSjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
202
202
  );
203
203
  }
204
204
  if (options.catalog) {
@@ -210,14 +210,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
210
210
  const response = await fetch(url, {
211
211
  method: "GET",
212
212
  headers: {
213
- ..._chunkGRCFX2EGjs.deploymentProtectionHeaders.call(void 0, ),
214
- "User-Agent": `deepline-ts-sdk/${_chunkGRCFX2EGjs.SDK_VERSION}`,
215
- "X-Deepline-SDK-Version": _chunkGRCFX2EGjs.SDK_VERSION,
216
- "X-Deepline-API-Major": String(_chunkGRCFX2EGjs.SDK_API_MAJOR),
217
- "X-Deepline-API-Contract": _chunkGRCFX2EGjs.SDK_API_CONTRACT,
213
+ ..._chunkG26VJCNTjs.deploymentProtectionHeaders.call(void 0, ),
214
+ "User-Agent": `deepline-ts-sdk/${_chunkG26VJCNTjs.SDK_VERSION}`,
215
+ "X-Deepline-SDK-Version": _chunkG26VJCNTjs.SDK_VERSION,
216
+ "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR),
217
+ "X-Deepline-API-Contract": _chunkG26VJCNTjs.SDK_API_CONTRACT,
218
218
  "X-Deepline-CLI-Update-Preferences": "1",
219
219
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
220
- ...options.catalog ? { Authorization: `Bearer ${_chunkQFRMVI4Sjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
220
+ ...options.catalog ? { Authorization: `Bearer ${_chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
221
221
  ..._optionalChain([options, 'access', _37 => _37.catalog, 'optionalAccess', _38 => _38.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
222
222
  },
223
223
  signal: controller.signal
@@ -386,7 +386,7 @@ function skillsSourceUrl(baseUrl) {
386
386
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
387
387
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
388
388
  const [firstSkillName, ...extraSkillNames] = skillNames;
389
- const agents = _nullishCoalesce(options.agents, () => ( _chunkQFRMVI4Sjs.DEFAULT_SKILL_AGENTS));
389
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkON56ISO6js.DEFAULT_SKILL_AGENTS));
390
390
  const values = {
391
391
  skills_index_url: skillsIndexUrl(baseUrl),
392
392
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -514,25 +514,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
514
514
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
515
515
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
516
516
  function shouldSkipSkillsSync() {
517
- if (_chunkGRCFX2EGjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
517
+ if (_chunkG26VJCNTjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
518
518
  return true;
519
519
  }
520
520
  const value = _optionalChain([process, 'access', _57 => _57.env, 'access', _58 => _58.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60(), 'access', _61 => _61.toLowerCase, 'call', _62 => _62()]);
521
521
  return value === "1" || value === "true" || value === "yes" || value === "on" || !isCliSkillsSyncEnabled();
522
522
  }
523
523
  function unavailableSkillsNoticePath(baseUrl) {
524
- return _path.join.call(void 0, _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
524
+ return _path.join.call(void 0, _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
525
525
  }
526
526
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
527
527
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
528
- var agentLeaseSegment = _chunkQFRMVI4Sjs.skillsAgentPathSegment;
528
+ var agentLeaseSegment = _chunkON56ISO6js.skillsAgentPathSegment;
529
529
  function sortedLeaseAgents(agents) {
530
- const expanded = agents.includes("*") ? [...agents, ..._chunkQFRMVI4Sjs.KNOWN_SKILL_AGENTS] : agents;
530
+ const expanded = agents.includes("*") ? [...agents, ..._chunkON56ISO6js.KNOWN_SKILL_AGENTS] : agents;
531
531
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
532
532
  }
533
533
  function inProgressSkillsSyncPath(baseUrl, agent) {
534
534
  return _path.join.call(void 0,
535
- _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl),
535
+ _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl),
536
536
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
537
537
  );
538
538
  }
@@ -691,7 +691,7 @@ var SkillsStateUnavailableError = class extends Error {
691
691
  constructor(baseUrl, error) {
692
692
  const detail = error instanceof Error ? error.message : String(error);
693
693
  super(
694
- `Could not save skills state in ${_chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
694
+ `Could not save skills state in ${_chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
695
695
  );
696
696
  this.name = "SkillsStateUnavailableError";
697
697
  }
@@ -776,7 +776,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
776
776
  }
777
777
  function deferredSkillsNoticePath(baseUrl, agents) {
778
778
  return _path.join.call(void 0,
779
- _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl),
779
+ _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl),
780
780
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
781
781
  );
782
782
  }
@@ -810,8 +810,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
810
810
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
811
811
  }
812
812
  function flushDeferredSkillsSyncNotices(baseUrl) {
813
- if (shouldSkipSkillsSync() || _chunkQFRMVI4Sjs.hasActivePluginSkills.call(void 0, )) return;
814
- const agents = _chunkQFRMVI4Sjs.resolveAutoSyncSkillAgents.call(void 0, );
813
+ if (shouldSkipSkillsSync() || _chunkON56ISO6js.hasActivePluginSkills.call(void 0, )) return;
814
+ const agents = _chunkON56ISO6js.resolveAutoSyncSkillAgents.call(void 0, );
815
815
  if (agents.length === 0) return;
816
816
  flushDeferredSkillsNotices(baseUrl, agents);
817
817
  }
@@ -833,7 +833,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
833
833
  }
834
834
  function failedSkillsSyncPath(baseUrl, agents) {
835
835
  return _path.join.call(void 0,
836
- _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl),
836
+ _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl),
837
837
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
838
838
  );
839
839
  }
@@ -862,7 +862,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
862
862
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
863
863
  writeMarkedSkillsSyncVersion(path, remoteVersion);
864
864
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
865
- const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkQFRMVI4Sjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
865
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkON56ISO6js.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
866
866
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _67 => _67.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
867
867
  notice(
868
868
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -950,7 +950,7 @@ function buildSdkSkillNames(v1SkillNames2) {
950
950
  return sortedUniqueSkillNames(v1SkillNames2);
951
951
  }
952
952
  function isDefaultAgentSet(agents) {
953
- return agents.length === _chunkQFRMVI4Sjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkQFRMVI4Sjs.DEFAULT_SKILL_AGENTS[index]);
953
+ return agents.length === _chunkON56ISO6js.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkON56ISO6js.DEFAULT_SKILL_AGENTS[index]);
954
954
  }
955
955
  function safeSkillFilePath(value) {
956
956
  if (typeof value !== "string" || !value) return false;
@@ -1107,10 +1107,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1107
1107
  method: "POST",
1108
1108
  headers: { "Content-Type": "application/json" },
1109
1109
  body: JSON.stringify({
1110
- sdk_cli: { version: _chunkGRCFX2EGjs.SDK_VERSION },
1110
+ sdk_cli: { version: _chunkG26VJCNTjs.SDK_VERSION },
1111
1111
  skills: {
1112
1112
  version: localVersion,
1113
- capability: _chunkTBCNL2T5js.SDK_RELEASE.packageCapabilities.skillsGuidance
1113
+ capability: _chunk3KGMM4KSjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1114
1114
  }
1115
1115
  }),
1116
1116
  signal: controller.signal
@@ -1149,7 +1149,7 @@ function probeInstallers(timeoutMs) {
1149
1149
  }
1150
1150
  function noInstallerProbePath(baseUrl) {
1151
1151
  return _path.join.call(void 0,
1152
- _chunkQFRMVI4Sjs.sdkCliStateDirPath.call(void 0, baseUrl),
1152
+ _chunkON56ISO6js.sdkCliStateDirPath.call(void 0, baseUrl),
1153
1153
  "skills-sync-no-installer-unknown.json"
1154
1154
  );
1155
1155
  }
@@ -1228,7 +1228,7 @@ function temporarySkillsSyncSkipCommand() {
1228
1228
  function resolveSkillsInstallSpawn(install, platform = process.platform) {
1229
1229
  return resolveShellSpawn(install.command, install.args, platform);
1230
1230
  }
1231
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkQFRMVI4Sjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1231
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkON56ISO6js.DEFAULT_SKILL_AGENTS, knownProbes) {
1232
1232
  const commands = [];
1233
1233
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1234
1234
  if (probes.bunx === "available") {
@@ -1370,7 +1370,7 @@ function runLegacySkillsCleanup(agents) {
1370
1370
  }
1371
1371
  }
1372
1372
  function writeSdkSkillsStatusLine(line) {
1373
- const progress = _chunk2LNTKICOjs.getActiveCliProgress.call(void 0, );
1373
+ const progress = _chunkJWVG7ZPXjs.getActiveCliProgress.call(void 0, );
1374
1374
  if (progress) {
1375
1375
  progress.writeLine(line);
1376
1376
  return;
@@ -1381,11 +1381,11 @@ function writeSdkSkillsStatusLine(line) {
1381
1381
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1382
1382
  const skip = shouldSkipSkillsSync();
1383
1383
  if (skip && !options.claim) return;
1384
- const usingPluginSkills = _chunkQFRMVI4Sjs.hasActivePluginSkills.call(void 0, );
1384
+ const usingPluginSkills = _chunkON56ISO6js.hasActivePluginSkills.call(void 0, );
1385
1385
  if (usingPluginSkills) {
1386
1386
  return;
1387
1387
  }
1388
- const agents = _chunkQFRMVI4Sjs.resolveAutoSyncSkillAgents.call(void 0, );
1388
+ const agents = _chunkON56ISO6js.resolveAutoSyncSkillAgents.call(void 0, );
1389
1389
  if (options.mode === "detached" && agents.length > 0) {
1390
1390
  flushDeferredSkillsNotices(baseUrl, agents);
1391
1391
  }
@@ -1422,7 +1422,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1422
1422
  return;
1423
1423
  }
1424
1424
  try {
1425
- const localVersion = _chunkQFRMVI4Sjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1425
+ const localVersion = _chunkON56ISO6js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1426
1426
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1427
1427
  needsUpdate: options.update.needs_update,
1428
1428
  remoteVersion: options.update.remote.version
@@ -1544,7 +1544,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1544
1544
  update.remoteVersion,
1545
1545
  agents
1546
1546
  );
1547
- void _chunkPX7XAVUCjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1547
+ void _chunkZY6FL4O4js.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1548
1548
  baseUrl,
1549
1549
  remoteSkillsVersion: update.remoteVersion,
1550
1550
  agents,
@@ -1575,7 +1575,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1575
1575
  notice(
1576
1576
  publishedFailure ? `Deepline could not verify the published skills: ${detail}. The local version remains stale; it will retry automatically on a later command.` : `Deepline agent-skills refresh could not verify the five installed targets: ${detail}. The local version remains stale. After fixing the install, remove ${failedSkillsSyncPath(baseUrl, agents)} to retry this version automatically.`
1577
1577
  );
1578
- void _chunkPX7XAVUCjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1578
+ void _chunkZY6FL4O4js.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1579
1579
  baseUrl,
1580
1580
  remoteSkillsVersion: update.remoteVersion,
1581
1581
  agents,
@@ -1588,7 +1588,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1588
1588
  }
1589
1589
  }
1590
1590
  runLegacySkillsCleanup(agents);
1591
- if (!_chunkQFRMVI4Sjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1591
+ if (!_chunkON56ISO6js.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1592
1592
  notice(
1593
1593
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1594
1594
  );
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-Z7SXGOIQ.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-D6YAU3CF.mjs";
6
+ } from "./chunk-Q7ZOWNKR.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-LX35AXTN.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-DH43ECTN.mjs";
14
+ } from "./chunk-DVDWAC2M.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-JL2OTMSG.mjs";
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-HKJ26NRN.mjs";
7
+ } from "./chunk-456RRXAP.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-NR3O56FT.mjs";
11
+ } from "./chunk-BEQ7RQLT.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-DH43ECTN.mjs";
15
+ } from "./chunk-DVDWAC2M.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-R57UCXQG.mjs";
18
+ } from "./chunk-HXM2JUGD.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-JXG7HWBA.mjs";
21
+ } from "./chunk-ZHY4T5M6.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-DH43ECTN.mjs";
3
+ } from "./chunk-DVDWAC2M.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,7 +1,7 @@
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 _chunkGRCFX2EGjs = require('./chunk-GRCFX2EG.js');
4
+ var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
5
5
 
6
6
 
7
7
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkGRCFX2EGjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkG26VJCNTjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkGRCFX2EGjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkG26VJCNTjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -36,7 +36,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkGRCFX2EGjs = require('./chunk-GRCFX2EG.js');
39
+ var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
40
40
 
41
41
 
42
42
  var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
@@ -688,7 +688,7 @@ var ToolCalls = class {
688
688
  idempotencyKey,
689
689
  onResponse: (response2) => {
690
690
  lastResponse = null;
691
- atomicToolsSupported = response2.headers.get(_chunkGRCFX2EGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
691
+ atomicToolsSupported = response2.headers.get(_chunkG26VJCNTjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
692
692
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
693
693
  if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
694
694
  try {
@@ -1075,15 +1075,15 @@ function runtimeSelectionHeaders(runtime, env) {
1075
1075
  }
1076
1076
  const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1077
1077
  return {
1078
- [_chunkGRCFX2EGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
- ...receivers ? { [_chunkGRCFX2EGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1078
+ [_chunkG26VJCNTjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
+ ...receivers ? { [_chunkG26VJCNTjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1080
1080
  };
1081
1081
  }
1082
1082
  function playRunStartHeaders(runtime, env) {
1083
1083
  const headers = runtimeSelectionHeaders(runtime, env);
1084
1084
  const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1085
1085
  if (!experimentSwitches) return headers;
1086
- return { ...headers, [_chunkGRCFX2EGjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1086
+ return { ...headers, [_chunkG26VJCNTjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1087
1087
  }
1088
1088
  function normalizeTestPolicyOverrides(value, source) {
1089
1089
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1153,7 +1153,7 @@ var PlayClient = class {
1153
1153
  return _chunkSL6MYJYMjs.startPlayRun.call(void 0,
1154
1154
  this.http,
1155
1155
  resolved.request,
1156
- _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkGRCFX2EGjs.SDK_API_MAJOR) } : headers,
1156
+ _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR) } : headers,
1157
1157
  options
1158
1158
  );
1159
1159
  }
@@ -3369,7 +3369,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3369
3369
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3370
3370
  );
3371
3371
  }
3372
- return { [_chunkGRCFX2EGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3372
+ return { [_chunkG26VJCNTjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3373
3373
  }
3374
3374
  function sleep(ms) {
3375
3375
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4284,7 +4284,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4284
4284
  );
4285
4285
  const headers = _optionalChain([options, 'optionalAccess', _202 => _202.cliAdmission]) ? {
4286
4286
  ...runtimeHeaders,
4287
- "X-Deepline-API-Major": String(_chunkGRCFX2EGjs.SDK_API_MAJOR)
4287
+ "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR)
4288
4288
  } : runtimeHeaders;
4289
4289
  const http = this.http;
4290
4290
  let submitted = false;
@@ -7333,7 +7333,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
7333
7333
  const body = {
7334
7334
  ...typeof definitionOrId === "string" ? {} : { definition: definitionOrId },
7335
7335
  ..._optionalChain([options, 'optionalAccess', _427 => _427.dryRun]) ? { dry_run: true } : {},
7336
- ..._optionalChain([options, 'optionalAccess', _428 => _428.expectedGeneration]) !== void 0 ? { expected_generation: options.expectedGeneration } : {}
7336
+ ..._optionalChain([options, 'optionalAccess', _428 => _428.adoptExisting]) ? { adopt_existing: true } : {},
7337
+ ..._optionalChain([options, 'optionalAccess', _429 => _429.expectedGeneration]) !== void 0 ? { expected_generation: options.expectedGeneration } : {}
7337
7338
  };
7338
7339
  return this.http.request(
7339
7340
  this.monitorFleetPath(fleetId),
@@ -7341,7 +7342,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
7341
7342
  method: "PUT",
7342
7343
  body,
7343
7344
  timeout: _DeeplineClient.MONITOR_FLEET_WRITE_TIMEOUT_MS,
7344
- headers: this.monitorFleetHeaders("sync", _optionalChain([options, 'optionalAccess', _429 => _429.idempotencyKey])),
7345
+ headers: this.monitorFleetHeaders("sync", _optionalChain([options, 'optionalAccess', _430 => _430.idempotencyKey])),
7345
7346
  maxRetries: 0,
7346
7347
  exactUrlOnly: true
7347
7348
  }
@@ -7355,10 +7356,10 @@ var DeeplineClient = (_class = class _DeeplineClient {
7355
7356
  /** The Fleets list. Prefer `client.monitors.fleets.overview()`. */
7356
7357
  async listMonitorFleetOverviews(options) {
7357
7358
  const params = new URLSearchParams({ view: "overview" });
7358
- if (_optionalChain([options, 'optionalAccess', _430 => _430.q])) params.set("q", options.q);
7359
- for (const state of _nullishCoalesce(_optionalChain([options, 'optionalAccess', _431 => _431.states]), () => ( []))) params.append("state", state);
7360
- if (_optionalChain([options, 'optionalAccess', _432 => _432.sort])) params.set("sort", options.sort);
7361
- if (_optionalChain([options, 'optionalAccess', _433 => _433.window])) params.set("window", options.window);
7359
+ if (_optionalChain([options, 'optionalAccess', _431 => _431.q])) params.set("q", options.q);
7360
+ for (const state of _nullishCoalesce(_optionalChain([options, 'optionalAccess', _432 => _432.states]), () => ( []))) params.append("state", state);
7361
+ if (_optionalChain([options, 'optionalAccess', _433 => _433.sort])) params.set("sort", options.sort);
7362
+ if (_optionalChain([options, 'optionalAccess', _434 => _434.window])) params.set("window", options.window);
7362
7363
  return this.http.request(
7363
7364
  `/api/v2/monitors/fleets?${params.toString()}`,
7364
7365
  { method: "GET" }
@@ -7367,7 +7368,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
7367
7368
  /** One fleet's overview. Prefer `client.monitors.fleets.overview(fleetId)`. */
7368
7369
  async getMonitorFleetOverview(fleetId, options) {
7369
7370
  const params = new URLSearchParams({ view: "overview" });
7370
- if (_optionalChain([options, 'optionalAccess', _434 => _434.window])) params.set("window", options.window);
7371
+ if (_optionalChain([options, 'optionalAccess', _435 => _435.window])) params.set("window", options.window);
7371
7372
  return this.http.request(
7372
7373
  `${this.monitorFleetPath(fleetId)}?${params.toString()}`,
7373
7374
  { method: "GET" }
@@ -7376,10 +7377,10 @@ var DeeplineClient = (_class = class _DeeplineClient {
7376
7377
  /** A fleet's problem members. Prefer `client.monitors.fleets.issues(...)`. */
7377
7378
  async listMonitorFleetIssues(fleetId, options) {
7378
7379
  const params = new URLSearchParams();
7379
- if (_optionalChain([options, 'optionalAccess', _435 => _435.group])) params.set("group", options.group);
7380
- if (_optionalChain([options, 'optionalAccess', _436 => _436.cause])) params.set("cause", options.cause);
7381
- if (_optionalChain([options, 'optionalAccess', _437 => _437.cursor])) params.set("cursor", options.cursor);
7382
- if (_optionalChain([options, 'optionalAccess', _438 => _438.limit]) !== void 0)
7380
+ if (_optionalChain([options, 'optionalAccess', _436 => _436.group])) params.set("group", options.group);
7381
+ if (_optionalChain([options, 'optionalAccess', _437 => _437.cause])) params.set("cause", options.cause);
7382
+ if (_optionalChain([options, 'optionalAccess', _438 => _438.cursor])) params.set("cursor", options.cursor);
7383
+ if (_optionalChain([options, 'optionalAccess', _439 => _439.limit]) !== void 0)
7383
7384
  params.set("limit", String(options.limit));
7384
7385
  const query = params.toString();
7385
7386
  return this.http.request(
@@ -7389,8 +7390,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
7389
7390
  }
7390
7391
  async getMonitorFleet(fleetId, options) {
7391
7392
  const params = new URLSearchParams();
7392
- if (_optionalChain([options, 'optionalAccess', _439 => _439.drift])) params.set("drift", "1");
7393
- if (_optionalChain([options, 'optionalAccess', _440 => _440.limit]) !== void 0)
7393
+ if (_optionalChain([options, 'optionalAccess', _440 => _440.drift])) params.set("drift", "1");
7394
+ if (_optionalChain([options, 'optionalAccess', _441 => _441.limit]) !== void 0)
7394
7395
  params.set("limit", String(options.limit));
7395
7396
  const query = params.toString();
7396
7397
  return this.http.request(
@@ -7403,11 +7404,11 @@ var DeeplineClient = (_class = class _DeeplineClient {
7403
7404
  this.monitorFleetPath(fleetId),
7404
7405
  {
7405
7406
  method: "DELETE",
7406
- body: _optionalChain([options, 'optionalAccess', _441 => _441.dryRun]) ? { dry_run: true } : {},
7407
+ body: _optionalChain([options, 'optionalAccess', _442 => _442.dryRun]) ? { dry_run: true } : {},
7407
7408
  timeout: _DeeplineClient.MONITOR_FLEET_WRITE_TIMEOUT_MS,
7408
7409
  headers: this.monitorFleetHeaders(
7409
7410
  "deactivate",
7410
- _optionalChain([options, 'optionalAccess', _442 => _442.idempotencyKey])
7411
+ _optionalChain([options, 'optionalAccess', _443 => _443.idempotencyKey])
7411
7412
  ),
7412
7413
  maxRetries: 0,
7413
7414
  exactUrlOnly: true
@@ -7423,7 +7424,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
7423
7424
  timeout: _DeeplineClient.MONITOR_FLEET_WRITE_TIMEOUT_MS,
7424
7425
  headers: this.monitorFleetHeaders(
7425
7426
  "reactivate",
7426
- _optionalChain([options, 'optionalAccess', _443 => _443.idempotencyKey])
7427
+ _optionalChain([options, 'optionalAccess', _444 => _444.idempotencyKey])
7427
7428
  ),
7428
7429
  maxRetries: 0,
7429
7430
  exactUrlOnly: true
@@ -7440,9 +7441,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
7440
7441
  * identical to "the request failed".
7441
7442
  */
7442
7443
  async waitForMonitorFleetConvergence(fleetId, options) {
7443
- const timeoutMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _444 => _444.timeoutMs]), () => ( 10 * 6e4)));
7444
- const pollIntervalMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _445 => _445.pollIntervalMs]), () => ( 2e3)));
7445
- const terminal = _optionalChain([options, 'optionalAccess', _446 => _446.until]) === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded", "billing_suspended"]) : /* @__PURE__ */ new Set([
7444
+ const timeoutMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _445 => _445.timeoutMs]), () => ( 10 * 6e4)));
7445
+ const pollIntervalMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _446 => _446.pollIntervalMs]), () => ( 2e3)));
7446
+ const terminal = _optionalChain([options, 'optionalAccess', _447 => _447.until]) === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded", "billing_suspended"]) : /* @__PURE__ */ new Set([
7446
7447
  "converged",
7447
7448
  "degraded",
7448
7449
  "deactivated",
@@ -7451,7 +7452,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
7451
7452
  const startedAt = Date.now();
7452
7453
  let latest = await this.getMonitorFleet(fleetId);
7453
7454
  while (true) {
7454
- _optionalChain([options, 'optionalAccess', _447 => _447.onProgress, 'optionalCall', _448 => _448(latest)]);
7455
+ _optionalChain([options, 'optionalAccess', _448 => _448.onProgress, 'optionalCall', _449 => _449(latest)]);
7455
7456
  const status = typeof latest.status === "string" ? latest.status : void 0;
7456
7457
  if (status && terminal.has(status)) return latest;
7457
7458
  if (Date.now() - startedAt >= timeoutMs) return latest;
@@ -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.543",
52
+ version: "0.3.544",
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 _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
3
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkPX7XAVUCjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkZY6FL4O4js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {