deepline 0.3.504 → 0.3.506

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 (165) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +121 -5
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +5 -0
  5. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
  10. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
  11. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +9 -9
  13. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +157 -47
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
  20. package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
  21. package/dist/cli/auth-MMHG2OFE.js +43 -0
  22. package/dist/cli/{auth-3L5AA5AX.mjs → auth-ZHFONT2D.mjs} +5 -5
  23. package/dist/cli/{billing-HOGXVE2V.js → billing-3Z7N4WTL.js} +101 -91
  24. package/dist/cli/{billing-E7EASVPO.mjs → billing-B2YEMNHE.mjs} +27 -17
  25. package/dist/cli/{chunk-UXQQPMYO.js → chunk-26DJ4BDY.js} +2 -2
  26. package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-2CFTDVEP.mjs} +2 -2
  27. package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-2IXXB7OA.mjs} +93 -34
  28. package/dist/cli/{chunk-6JNBMTCZ.js → chunk-2OY5DXTC.js} +1 -1
  29. package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-3BFZEHBH.mjs} +1 -1
  30. package/dist/cli/{chunk-67OI26OE.js → chunk-3F676QXJ.js} +96 -37
  31. package/dist/cli/{chunk-KCKAFTPY.js → chunk-5ARG7J7A.js} +6 -6
  32. package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-6RYVIZRP.mjs} +2 -2
  33. package/dist/cli/{chunk-QKKU2FH4.js → chunk-75NAFY36.js} +7 -7
  34. package/dist/cli/{chunk-7P2QVMBP.js → chunk-AD2WJUZA.js} +91 -48
  35. package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-AFSYNOG4.mjs} +42 -7
  36. package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-BJ5OX62J.mjs} +5 -5
  37. package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-BQBPVUFJ.mjs} +3 -3
  38. package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-CHGRURBN.mjs} +5 -5
  39. package/dist/cli/{chunk-22OCKCYS.mjs → chunk-D7OCORZ7.mjs} +1 -1
  40. package/dist/cli/{chunk-SMSQVRHE.js → chunk-DB54ROPH.js} +5 -5
  41. package/dist/cli/{chunk-KGUGNEKL.js → chunk-E554XCJI.js} +96 -96
  42. package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-EN7GXLFX.mjs} +4 -4
  43. package/dist/cli/{chunk-2W77YCKH.js → chunk-F53SGS3C.js} +5 -5
  44. package/dist/cli/{chunk-6SMR7LU7.js → chunk-F7IQQYKV.js} +2 -2
  45. package/dist/cli/chunk-FFGQR5J3.mjs +405 -0
  46. package/dist/cli/{chunk-UJMBG5JU.js → chunk-FWSEGIT6.js} +4 -4
  47. package/dist/cli/{chunk-GJ2DA35C.js → chunk-GDHLL5EQ.js} +42 -7
  48. package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-GJNIC2CO.mjs} +84 -441
  49. package/dist/cli/chunk-GRESJ3H3.js +405 -0
  50. package/dist/cli/{chunk-WZSFIJMG.js → chunk-HINTYT5H.js} +113 -470
  51. package/dist/cli/{chunk-A6LA42JY.js → chunk-LRSRJJPD.js} +16 -16
  52. package/dist/cli/{chunk-WBIDPDKJ.js → chunk-MHRR47VQ.js} +3 -3
  53. package/dist/cli/{chunk-FTRVCIGC.js → chunk-N7G36GXB.js} +26 -26
  54. package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-ND4WPLTE.mjs} +2 -2
  55. package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-O4DZG4VA.mjs} +2 -2
  56. package/dist/cli/{chunk-LHXYCZYO.js → chunk-OD6TASBP.js} +8 -8
  57. package/dist/cli/{chunk-GRAGUYIE.js → chunk-OHNMJ5XQ.js} +41 -41
  58. package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-ONBXTEFQ.mjs} +46 -3
  59. package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-OPBXKB57.mjs} +1 -1
  60. package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-OUGJUM5X.mjs} +6 -6
  61. package/dist/cli/{chunk-USTJEEND.js → chunk-PRIHD5XS.js} +9 -9
  62. package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-QAY5AS2H.mjs} +12 -12
  63. package/dist/cli/{chunk-5Z6EULD5.js → chunk-QP333GFE.js} +7 -7
  64. package/dist/cli/{chunk-JPR2546F.js → chunk-SUJIVF6L.js} +16 -16
  65. package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-TEMORCEE.mjs} +1 -1
  66. package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-TS4KFQKS.mjs} +1 -1
  67. package/dist/cli/{chunk-4CC67XH5.mjs → chunk-XUY7WQ2R.mjs} +3 -3
  68. package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-YEX6RPUO.mjs} +1 -1
  69. package/dist/cli/{chunk-MJTK6Q3G.js → chunk-YJKKOSXS.js} +3 -3
  70. package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-YVOS5KSG.mjs} +1 -1
  71. package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-YWZEBPXK.mjs} +2 -2
  72. package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-Z7EHY2MF.mjs} +2 -2
  73. package/dist/cli/{chunk-FISP4LCK.js → chunk-ZM5BJ5MP.js} +53 -53
  74. package/dist/cli/{chunk-IPAMOMGP.js → chunk-ZZDTWVCQ.js} +21 -21
  75. package/dist/cli/command-docs.js +2 -2
  76. package/dist/cli/command-docs.mjs +1 -1
  77. package/dist/cli/{csv-2XWGPITO.js → csv-7K7LK63Y.js} +13 -13
  78. package/dist/cli/{csv-433JEHLQ.mjs → csv-ARHQ54HA.mjs} +4 -4
  79. package/dist/cli/{db-K747DH43.mjs → db-JBX24NJY.mjs} +6 -6
  80. package/dist/cli/{db-PJJMD4VH.js → db-V4Z2I6DY.js} +27 -27
  81. package/dist/cli/describe-AYXVS6DZ.js +50 -0
  82. package/dist/cli/{describe-VEDDYW4P.mjs → describe-RBDSGSZ7.mjs} +18 -17
  83. package/dist/cli/describe-core.d.mts +3 -3
  84. package/dist/cli/describe-core.d.ts +3 -3
  85. package/dist/cli/{executions-JWRX3XCT.mjs → executions-BAZEU63W.mjs} +6 -6
  86. package/dist/cli/{executions-HM5T72H6.js → executions-XEZKV5QU.js} +8 -8
  87. package/dist/cli/{feedback-34UG4BO3.js → feedback-LOERESRU.js} +8 -8
  88. package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-YDSWBHCO.mjs} +4 -4
  89. package/dist/cli/{git-ZKEOXV3A.mjs → git-4Z3W2CQU.mjs} +5 -5
  90. package/dist/cli/git-T6WKO7EA.js +25 -0
  91. package/dist/cli/index.js +146 -148
  92. package/dist/cli/index.mjs +53 -55
  93. package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-4QIQPVE5.js} +8 -8
  94. package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
  95. package/dist/cli/{monitors-C65OC4AW.mjs → monitors-FPDW5DDM.mjs} +305 -8
  96. package/dist/cli/{monitors-O25GDOYE.js → monitors-QBHDSDA7.js} +423 -126
  97. package/dist/cli/{org-2GSPLY2A.js → org-JO4GGSAH.js} +72 -72
  98. package/dist/cli/{org-ZRMG5NS2.mjs → org-UCDHIHAD.mjs} +6 -6
  99. package/dist/cli/{pages-TZZUFBRO.mjs → pages-6V52IZXY.mjs} +6 -6
  100. package/dist/cli/{pages-45DPADK6.js → pages-FJAAXAWO.js} +18 -18
  101. package/dist/cli/{play-RCGMND6X.js → play-F3AENS6W.js} +317 -316
  102. package/dist/cli/{play-3D7HH273.mjs → play-MF4DWROJ.mjs} +18 -17
  103. package/dist/cli/{providers-PSAKV6CJ.mjs → providers-NJJLTECA.mjs} +6 -6
  104. package/dist/cli/{providers-3N3ECMTY.js → providers-XXOQLPX7.js} +9 -9
  105. package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-JCE3XGQG.js} +6 -6
  106. package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
  107. package/dist/cli/{run-F3TLDGUO.mjs → run-56UGPIRL.mjs} +23 -22
  108. package/dist/cli/{run-F6ZXTASZ.js → run-X2DNIW3F.js} +41 -40
  109. package/dist/cli/search-B753RTKC.js +33 -0
  110. package/dist/cli/{search-CZLCY3D2.mjs → search-SZYI4NBB.mjs} +8 -7
  111. package/dist/cli/{search-output-R5XDNILW.js → search-output-7UNT6EMP.js} +6 -6
  112. package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-T35QNZUF.mjs} +4 -4
  113. package/dist/cli/{secrets-DCJYHDSY.js → secrets-JMUAVIVC.js} +15 -15
  114. package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-Q36VC35L.mjs} +6 -6
  115. package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-HG6I3HMY.mjs} +5 -5
  116. package/dist/cli/{sessions-Z4JYJSDP.js → sessions-SUXU7OM7.js} +6 -6
  117. package/dist/cli/{settings-UVXXAT4A.js → settings-UIELQ5CV.js} +106 -78
  118. package/dist/cli/{settings-G7QEXA4N.mjs → settings-Z76XW4KF.mjs} +39 -11
  119. package/dist/cli/{setup-5I42W7D4.js → setup-2L7H5P2O.js} +50 -49
  120. package/dist/cli/{setup-QHJU3DUI.mjs → setup-OXNYAOQ4.mjs} +10 -9
  121. package/dist/cli/skills-DEVXYGYH.js +37 -0
  122. package/dist/cli/{skills-5LRF4UKX.mjs → skills-XSNLXJGI.mjs} +8 -7
  123. package/dist/cli/tools-SCGHABDL.js +57 -0
  124. package/dist/cli/{tools-PUT6STVG.mjs → tools-SUSFAYFH.mjs} +17 -16
  125. package/dist/cli/update-BSIILGO3.js +35 -0
  126. package/dist/cli/{update-CJ2GA64X.mjs → update-ENSTG3QO.mjs} +10 -9
  127. package/dist/cli/{workflow-O67MEBCP.js → workflow-FMBZNY4F.js} +17 -17
  128. package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-Z33QE6VT.mjs} +7 -7
  129. package/dist/{client-DYAfJpaN.d.mts → client-BDbouy3Y.d.mts} +1 -1
  130. package/dist/{client-CIwenMFS.d.ts → client-Cx0420fs.d.ts} +1 -1
  131. package/dist/{client-core-CRjtyMAI.d.ts → client-core-B4hq0-m2.d.ts} +56 -4
  132. package/dist/{client-core-DlzP8vEs.d.mts → client-core-CwiVaMZ5.d.mts} +56 -4
  133. package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
  134. package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
  135. package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
  136. package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
  137. package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
  138. package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
  139. package/dist/index.d.mts +7 -7
  140. package/dist/index.d.ts +7 -7
  141. package/dist/index.js +9 -9
  142. package/dist/index.mjs +6 -6
  143. package/dist/install-integrity.json +116 -110
  144. package/dist/plays/bundle-play-file.d.mts +3 -3
  145. package/dist/plays/bundle-play-file.d.ts +3 -3
  146. package/dist/plays/play-description.d.mts +2 -2
  147. package/dist/plays/play-description.d.ts +2 -2
  148. package/dist/plays/run-request.d.mts +2 -2
  149. package/dist/plays/run-request.d.ts +2 -2
  150. package/dist/release.d.mts +1 -1
  151. package/dist/release.d.ts +1 -1
  152. package/dist/release.js +2 -2
  153. package/dist/release.mjs +1 -1
  154. package/dist/server.d.mts +4 -4
  155. package/dist/server.d.ts +4 -4
  156. package/dist/server.js +5 -5
  157. package/dist/server.mjs +3 -3
  158. package/package.json +1 -1
  159. package/dist/cli/auth-UPK4IIIN.js +0 -43
  160. package/dist/cli/describe-OYS7LZJD.js +0 -49
  161. package/dist/cli/git-5YQJSJFR.js +0 -25
  162. package/dist/cli/search-R5VEWJO2.js +0 -32
  163. package/dist/cli/skills-FB6TV52O.js +0 -36
  164. package/dist/cli/tools-L2364RPA.js +0 -56
  165. package/dist/cli/update-ESYJGYVZ.js +0 -34
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
14
+ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
15
15
 
16
16
 
17
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
17
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkWBIDPDKJjs = require('./chunk-WBIDPDKJ.js');
23
+ var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkUJMBG5JUjs = require('./chunk-UJMBG5JU.js');
27
+ var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkWBIDPDKJjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkMHRR47VQjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkUJMBG5JUjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkFWSEGIT6js.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkWBIDPDKJjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkMHRR47VQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkWZSFIJMGjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkHINTYT5Hjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkWZSFIJMGjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkWZSFIJMGjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkWZSFIJMGjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkHINTYT5Hjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkWZSFIJMGjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkHINTYT5Hjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkWZSFIJMGjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkWZSFIJMGjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkMHRR47VQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
303
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
313
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
330
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
353
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkMHRR47VQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkWZSFIJMGjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkUJMBG5JUjs.SDK_VERSION
367
+ skillNames: [..._chunkHINTYT5Hjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkFWSEGIT6js.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
373
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkWZSFIJMGjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkHINTYT5Hjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkWZSFIJMGjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkHINTYT5Hjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkWBIDPDKJjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkMHRR47VQjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkWZSFIJMGjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkHINTYT5Hjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkWZSFIJMGjs.SkillsStateUnavailableError)) throw error;
433
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkHINTYT5Hjs.SkillsStateUnavailableError)) throw error;
433
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
449
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkWZSFIJMGjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkHINTYT5Hjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
507
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
523
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkUJMBG5JUjs.SDK_VERSION,
563
+ cliVersion: _chunkFWSEGIT6js.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkWZSFIJMGjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkHINTYT5Hjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
578
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkWZSFIJMGjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkWZSFIJMGjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkHINTYT5Hjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
645
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkWZSFIJMGjs.syncSdkSkillsIfNeeded.call(void 0, _chunkWBIDPDKJjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkHINTYT5Hjs.syncSdkSkillsIfNeeded.call(void 0, _chunkMHRR47VQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-YOQ2NNDO.mjs";
34
+ } from "./chunk-TS4KFQKS.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -3548,8 +3548,13 @@ var DeeplineClient = class _DeeplineClient {
3548
3548
  this.billing = {
3549
3549
  quote: (input) => this.http.post("/api/v2/billing/quote", input),
3550
3550
  entitlements: () => this.http.get("/api/v2/billing/entitlements"),
3551
- includedCompute: () => this.http.get("/api/v2/billing/included-compute"),
3552
- enableIncludedCompute: () => this.http.post("/api/v2/billing/included-compute", {}),
3551
+ includedCompute: ({ includeOverage } = {}) => this.http.get(
3552
+ includeOverage ? "/api/v2/billing/included-compute?include_overage=true" : "/api/v2/billing/included-compute"
3553
+ ),
3554
+ enableIncludedCompute: ({ includeOverage } = {}) => this.http.post(
3555
+ includeOverage ? "/api/v2/billing/included-compute?include_overage=true" : "/api/v2/billing/included-compute",
3556
+ {}
3557
+ ),
3553
3558
  topUp: (options) => this.topUpBillingBalance(options),
3554
3559
  topUpWithReceipt: (options) => this.topUpBillingBalanceWithReceipt(options),
3555
3560
  plans: () => this.getBillingPlans(),
@@ -3649,6 +3654,8 @@ var DeeplineClient = class _DeeplineClient {
3649
3654
  sync: (definitionOrId, options) => this.syncMonitorFleet(definitionOrId, options),
3650
3655
  get: (fleetId, options) => fleetId === void 0 ? this.listMonitorFleets() : this.getMonitorFleet(fleetId, options),
3651
3656
  list: () => this.listMonitorFleets(),
3657
+ overview: (fleetId, options) => fleetId === void 0 ? this.listMonitorFleetOverviews(options) : this.getMonitorFleetOverview(fleetId, options),
3658
+ issues: (fleetId, options) => this.listMonitorFleetIssues(fleetId, options),
3652
3659
  deactivate: (fleetId, options) => this.deactivateMonitorFleet(fleetId, options),
3653
3660
  reactivate: (fleetId, options) => this.reactivateMonitorFleet(fleetId, options),
3654
3661
  start: (fleetId, options) => this.reactivateMonitorFleet(fleetId, options),
@@ -6707,6 +6714,7 @@ var DeeplineClient = class _DeeplineClient {
6707
6714
  for (const signal of options?.signals ?? [])
6708
6715
  params.append("signal", signal);
6709
6716
  if (options?.play) params.set("play", options.play);
6717
+ if (options?.fleet) params.set("fleet", options.fleet);
6710
6718
  if (options?.sort) params.set("sort", options.sort);
6711
6719
  if (options?.window) params.set("window", options.window);
6712
6720
  if (options?.limit !== void 0)
@@ -7037,6 +7045,41 @@ var DeeplineClient = class _DeeplineClient {
7037
7045
  method: "GET"
7038
7046
  });
7039
7047
  }
7048
+ /** The Fleets list. Prefer `client.monitors.fleets.overview()`. */
7049
+ async listMonitorFleetOverviews(options) {
7050
+ const params = new URLSearchParams({ view: "overview" });
7051
+ if (options?.q) params.set("q", options.q);
7052
+ for (const state of options?.states ?? []) params.append("state", state);
7053
+ if (options?.sort) params.set("sort", options.sort);
7054
+ if (options?.window) params.set("window", options.window);
7055
+ return this.http.request(
7056
+ `/api/v2/monitors/fleets?${params.toString()}`,
7057
+ { method: "GET" }
7058
+ );
7059
+ }
7060
+ /** One fleet's overview. Prefer `client.monitors.fleets.overview(fleetId)`. */
7061
+ async getMonitorFleetOverview(fleetId, options) {
7062
+ const params = new URLSearchParams({ view: "overview" });
7063
+ if (options?.window) params.set("window", options.window);
7064
+ return this.http.request(
7065
+ `${this.monitorFleetPath(fleetId)}?${params.toString()}`,
7066
+ { method: "GET" }
7067
+ );
7068
+ }
7069
+ /** A fleet's problem members. Prefer `client.monitors.fleets.issues(...)`. */
7070
+ async listMonitorFleetIssues(fleetId, options) {
7071
+ const params = new URLSearchParams();
7072
+ if (options?.group) params.set("group", options.group);
7073
+ if (options?.cause) params.set("cause", options.cause);
7074
+ if (options?.cursor) params.set("cursor", options.cursor);
7075
+ if (options?.limit !== void 0)
7076
+ params.set("limit", String(options.limit));
7077
+ const query = params.toString();
7078
+ return this.http.request(
7079
+ `${this.monitorFleetPath(fleetId)}/issues${query ? `?${query}` : ""}`,
7080
+ { method: "GET" }
7081
+ );
7082
+ }
7040
7083
  async getMonitorFleet(fleetId, options) {
7041
7084
  const params = new URLSearchParams();
7042
7085
  if (options?.drift) params.set("drift", "1");
@@ -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.504",
52
+ version: "0.3.506",
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,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-IGNQKOWT.mjs";
3
+ } from "./chunk-QAY5AS2H.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-22OCKCYS.mjs";
6
+ } from "./chunk-D7OCORZ7.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-2ABRDH3B.mjs";
17
+ } from "./chunk-YWZEBPXK.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-XHZSPMNC.mjs";
21
+ } from "./chunk-FFGQR5J3.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-3MLFFWDM.mjs";
24
+ } from "./chunk-2CFTDVEP.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-Y6XKCEPK.mjs";
28
+ } from "./chunk-YVOS5KSG.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
6
+ var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
14
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk75NAFY36js.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 ? _chunkQKKU2FH4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk75NAFY36js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk75NAFY36js.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");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunk7P2QVMBPjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkAD2WJUZAjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk7P2QVMBPjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkAD2WJUZAjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkQKKU2FH4js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkQKKU2FH4js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk75NAFY36js.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunk75NAFY36js.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkQKKU2FH4js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk75NAFY36js.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-22OCKCYS.mjs";
5
+ } from "./chunk-D7OCORZ7.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-QOLX2O2S.mjs";
9
+ } from "./chunk-2IXXB7OA.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-2ABRDH3B.mjs";
49
+ } from "./chunk-YWZEBPXK.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-OX2D6BG4.mjs";
52
+ } from "./chunk-ONBXTEFQ.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-BMCRTI6Z.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-MLMWM5DV.mjs";
62
+ } from "./chunk-CHGRURBN.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-Z6FXUDIL.mjs";
67
+ } from "./chunk-YEX6RPUO.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-XHZSPMNC.mjs";
73
+ } from "./chunk-GJNIC2CO.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-3MLFFWDM.mjs";
81
+ } from "./chunk-2CFTDVEP.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-Y6XKCEPK.mjs";
86
+ } from "./chunk-YVOS5KSG.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1053,7 +1053,7 @@ Examples:
1053
1053
  process.exitCode = await narrowView();
1054
1054
  return;
1055
1055
  }
1056
- const { describeAnything } = await import("./describe-VEDDYW4P.mjs");
1056
+ const { describeAnything } = await import("./describe-RBDSGSZ7.mjs");
1057
1057
  process.exitCode = await describeAnything(
1058
1058
  toolId,
1059
1059
  {
@@ -2598,7 +2598,7 @@ async function executeToolForReceipt(input) {
2598
2598
  ...input.timeoutMs !== void 0 ? { timeout: input.timeoutMs } : {},
2599
2599
  ...metadata.executionMetadata?.retrySafeTransientHttp === true ? { maxRetries: 2, retryApiErrors: true } : {},
2600
2600
  ...key ? { idempotencyKey: key } : {},
2601
- searchRef: recentSearchRef(),
2601
+ searchRef: recentSearchRef(toolId),
2602
2602
  cliInvocationId,
2603
2603
  onResponseReceived: recordApiResponse
2604
2604
  }).catch((error) => {
@@ -2790,7 +2790,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2790
2790
  responseIntent,
2791
2791
  ...idempotencyKey ? { idempotencyKey } : {},
2792
2792
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2793
- searchRef: recentSearchRef(),
2793
+ searchRef: recentSearchRef(parsed.toolId),
2794
2794
  cliInvocationId,
2795
2795
  onResponseReceived: recordApiResponse,
2796
2796
  ...tracing ? {
@@ -1,15 +1,15 @@
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 _chunkUXQQPMYOjs = require('./chunk-UXQQPMYO.js');
3
+ var _chunk26DJ4BDYjs = require('./chunk-26DJ4BDY.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkWZSFIJMGjs = require('./chunk-WZSFIJMG.js');
8
+ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
12
- return command === "plays run" && args.includes("--json") && !args.includes("--no-wait");
12
+ return usesCliPlayAdmission(command, args) && (args.includes("--json") || args.includes("--watch"));
13
13
  }
14
14
  function usesCliPlayAdmission(command, args) {
15
15
  return command === "plays run" && !args.includes("--no-wait") && (!args.some(
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkWZSFIJMGjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkHINTYT5Hjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkWZSFIJMGjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkHINTYT5Hjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkWZSFIJMGjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkHINTYT5Hjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }