deepline 0.3.505 → 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 (162) 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/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
  9. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
  10. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +8 -8
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
  13. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +13 -40
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
  18. package/dist/cli/auth-MMHG2OFE.js +43 -0
  19. package/dist/cli/{auth-AHE2EDQA.mjs → auth-ZHFONT2D.mjs} +5 -5
  20. package/dist/cli/{billing-JOIZPHON.js → billing-3Z7N4WTL.js} +101 -91
  21. package/dist/cli/{billing-7CPWTGGI.mjs → billing-B2YEMNHE.mjs} +27 -17
  22. package/dist/cli/{chunk-CA3SYXCS.js → chunk-26DJ4BDY.js} +2 -2
  23. package/dist/cli/{chunk-PZN24YQQ.mjs → chunk-2CFTDVEP.mjs} +2 -2
  24. package/dist/cli/{chunk-OMEDQ77C.mjs → chunk-2IXXB7OA.mjs} +5 -5
  25. package/dist/cli/{chunk-XHPB6RGY.js → chunk-2OY5DXTC.js} +1 -1
  26. package/dist/cli/{chunk-CSLLQWAB.mjs → chunk-3BFZEHBH.mjs} +1 -1
  27. package/dist/cli/{chunk-3YEOOXD4.js → chunk-3F676QXJ.js} +11 -11
  28. package/dist/cli/{chunk-WTQLUULB.js → chunk-5ARG7J7A.js} +6 -6
  29. package/dist/cli/{chunk-NARJWXBR.mjs → chunk-6RYVIZRP.mjs} +2 -2
  30. package/dist/cli/{chunk-EMUFF6EU.js → chunk-75NAFY36.js} +7 -7
  31. package/dist/cli/{chunk-BWAYMJ23.js → chunk-AD2WJUZA.js} +91 -48
  32. package/dist/cli/{chunk-JVKEZT7L.mjs → chunk-AFSYNOG4.mjs} +22 -1
  33. package/dist/cli/{chunk-OA6U5NVB.mjs → chunk-BJ5OX62J.mjs} +5 -5
  34. package/dist/cli/{chunk-7DDKLFOY.mjs → chunk-BQBPVUFJ.mjs} +3 -3
  35. package/dist/cli/{chunk-UZ24SF7N.mjs → chunk-CHGRURBN.mjs} +5 -5
  36. package/dist/cli/{chunk-JA7YBRP4.mjs → chunk-D7OCORZ7.mjs} +1 -1
  37. package/dist/cli/{chunk-IDAE5VDH.js → chunk-DB54ROPH.js} +5 -5
  38. package/dist/cli/{chunk-GAUNJCXQ.js → chunk-E554XCJI.js} +96 -96
  39. package/dist/cli/{chunk-IZYOYXG7.mjs → chunk-EN7GXLFX.mjs} +4 -4
  40. package/dist/cli/{chunk-7QLK2GHL.js → chunk-F53SGS3C.js} +5 -5
  41. package/dist/cli/{chunk-JSTKLYYD.js → chunk-F7IQQYKV.js} +2 -2
  42. package/dist/cli/{chunk-FIQ5UEIF.mjs → chunk-FFGQR5J3.mjs} +2 -2
  43. package/dist/cli/{chunk-SPN7U3MV.js → chunk-FWSEGIT6.js} +4 -4
  44. package/dist/cli/{chunk-K26YOPDO.js → chunk-GDHLL5EQ.js} +22 -1
  45. package/dist/cli/{chunk-ACI6CUDX.mjs → chunk-GJNIC2CO.mjs} +78 -45
  46. package/dist/cli/{chunk-QYGYVCRI.js → chunk-GRESJ3H3.js} +14 -14
  47. package/dist/cli/{chunk-MHZAG2ZQ.js → chunk-HINTYT5H.js} +93 -60
  48. package/dist/cli/{chunk-HASFFOSU.js → chunk-LRSRJJPD.js} +16 -16
  49. package/dist/cli/{chunk-ZLN2B5YA.js → chunk-MHRR47VQ.js} +3 -3
  50. package/dist/cli/{chunk-6FEN6VWZ.js → chunk-N7G36GXB.js} +26 -26
  51. package/dist/cli/{chunk-MAFZ64RN.mjs → chunk-ND4WPLTE.mjs} +2 -2
  52. package/dist/cli/{chunk-5XT4DZQL.mjs → chunk-O4DZG4VA.mjs} +2 -2
  53. package/dist/cli/{chunk-OORPAQVC.js → chunk-OD6TASBP.js} +8 -8
  54. package/dist/cli/{chunk-Y52XY56V.js → chunk-OHNMJ5XQ.js} +41 -41
  55. package/dist/cli/{chunk-4OFSAZN6.mjs → chunk-ONBXTEFQ.mjs} +46 -3
  56. package/dist/cli/{chunk-6U3AGJWI.mjs → chunk-OPBXKB57.mjs} +1 -1
  57. package/dist/cli/{chunk-W6I4N4JN.mjs → chunk-OUGJUM5X.mjs} +6 -6
  58. package/dist/cli/{chunk-VXKWF3AD.js → chunk-PRIHD5XS.js} +9 -9
  59. package/dist/cli/{chunk-RT3HJBIH.mjs → chunk-QAY5AS2H.mjs} +10 -10
  60. package/dist/cli/{chunk-GXMNOUHP.js → chunk-QP333GFE.js} +7 -7
  61. package/dist/cli/{chunk-7DDACLMX.js → chunk-SUJIVF6L.js} +16 -16
  62. package/dist/cli/{chunk-QGNNAZ5M.mjs → chunk-TEMORCEE.mjs} +1 -1
  63. package/dist/cli/{chunk-7AD565DO.mjs → chunk-TS4KFQKS.mjs} +1 -1
  64. package/dist/cli/{chunk-YBIVVAL7.mjs → chunk-XUY7WQ2R.mjs} +3 -3
  65. package/dist/cli/{chunk-PDLOPF5L.mjs → chunk-YEX6RPUO.mjs} +1 -1
  66. package/dist/cli/{chunk-WPCF7C6B.js → chunk-YJKKOSXS.js} +3 -3
  67. package/dist/cli/{chunk-SHKRL7CW.mjs → chunk-YVOS5KSG.mjs} +1 -1
  68. package/dist/cli/{chunk-52FPW2RD.mjs → chunk-YWZEBPXK.mjs} +2 -2
  69. package/dist/cli/{chunk-WTUC5VKB.mjs → chunk-Z7EHY2MF.mjs} +2 -2
  70. package/dist/cli/{chunk-LC4FG34E.js → chunk-ZM5BJ5MP.js} +53 -53
  71. package/dist/cli/{chunk-45XYW477.js → chunk-ZZDTWVCQ.js} +21 -21
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-DZHVIW3G.js → csv-7K7LK63Y.js} +13 -13
  75. package/dist/cli/{csv-WTPI6ZON.mjs → csv-ARHQ54HA.mjs} +4 -4
  76. package/dist/cli/{db-NR4PJ6AF.mjs → db-JBX24NJY.mjs} +6 -6
  77. package/dist/cli/{db-D7LPPNCC.js → db-V4Z2I6DY.js} +27 -27
  78. package/dist/cli/describe-AYXVS6DZ.js +50 -0
  79. package/dist/cli/{describe-NCKAJPUG.mjs → describe-RBDSGSZ7.mjs} +18 -18
  80. package/dist/cli/describe-core.d.mts +3 -3
  81. package/dist/cli/describe-core.d.ts +3 -3
  82. package/dist/cli/{executions-RQVJ4LAB.mjs → executions-BAZEU63W.mjs} +6 -6
  83. package/dist/cli/{executions-UQG6LWEN.js → executions-XEZKV5QU.js} +8 -8
  84. package/dist/cli/{feedback-TCHA67IA.js → feedback-LOERESRU.js} +8 -8
  85. package/dist/cli/{feedback-RD4Y3YQR.mjs → feedback-YDSWBHCO.mjs} +4 -4
  86. package/dist/cli/{git-Z7434B7Y.mjs → git-4Z3W2CQU.mjs} +5 -5
  87. package/dist/cli/git-T6WKO7EA.js +25 -0
  88. package/dist/cli/index.js +145 -149
  89. package/dist/cli/index.mjs +46 -50
  90. package/dist/cli/{legacy-noops-23WRA7DH.js → legacy-noops-4QIQPVE5.js} +8 -8
  91. package/dist/cli/{legacy-noops-LQJU4UIV.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
  92. package/dist/cli/{monitors-Z6VYUZ2W.mjs → monitors-FPDW5DDM.mjs} +305 -8
  93. package/dist/cli/{monitors-KOWN7M3V.js → monitors-QBHDSDA7.js} +423 -126
  94. package/dist/cli/{org-2T5K2VP5.js → org-JO4GGSAH.js} +72 -72
  95. package/dist/cli/{org-UBNRO5XO.mjs → org-UCDHIHAD.mjs} +6 -6
  96. package/dist/cli/{pages-GHPJBVV3.mjs → pages-6V52IZXY.mjs} +6 -6
  97. package/dist/cli/{pages-SRXTU7XO.js → pages-FJAAXAWO.js} +18 -18
  98. package/dist/cli/{play-2HMZ57EZ.js → play-F3AENS6W.js} +317 -317
  99. package/dist/cli/{play-HRQKGTXA.mjs → play-MF4DWROJ.mjs} +18 -18
  100. package/dist/cli/{providers-JWJRFRR5.mjs → providers-NJJLTECA.mjs} +6 -6
  101. package/dist/cli/{providers-P5O676MZ.js → providers-XXOQLPX7.js} +9 -9
  102. package/dist/cli/{quickstart-YCY72TAO.js → quickstart-JCE3XGQG.js} +6 -6
  103. package/dist/cli/{quickstart-S7NZUQRO.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
  104. package/dist/cli/{run-QWMRIUIU.mjs → run-56UGPIRL.mjs} +23 -23
  105. package/dist/cli/{run-MHLLGF4G.js → run-X2DNIW3F.js} +41 -41
  106. package/dist/cli/search-B753RTKC.js +33 -0
  107. package/dist/cli/{search-4BFTQUEP.mjs → search-SZYI4NBB.mjs} +8 -8
  108. package/dist/cli/{search-output-62LBVZHN.js → search-output-7UNT6EMP.js} +6 -6
  109. package/dist/cli/{search-output-LIYHDTBP.mjs → search-output-T35QNZUF.mjs} +4 -4
  110. package/dist/cli/{secrets-KKKHVSOO.js → secrets-JMUAVIVC.js} +15 -15
  111. package/dist/cli/{secrets-GW27V77E.mjs → secrets-Q36VC35L.mjs} +6 -6
  112. package/dist/cli/{sessions-R75LBGIL.mjs → sessions-HG6I3HMY.mjs} +5 -5
  113. package/dist/cli/{sessions-R3OEINAR.js → sessions-SUXU7OM7.js} +6 -6
  114. package/dist/cli/{settings-MQIHAEZN.js → settings-UIELQ5CV.js} +106 -79
  115. package/dist/cli/{settings-I3AQZSYG.mjs → settings-Z76XW4KF.mjs} +39 -12
  116. package/dist/cli/{setup-X3QRJERP.js → setup-2L7H5P2O.js} +50 -50
  117. package/dist/cli/{setup-2YA5MYMS.mjs → setup-OXNYAOQ4.mjs} +10 -10
  118. package/dist/cli/skills-DEVXYGYH.js +37 -0
  119. package/dist/cli/{skills-7252FOOI.mjs → skills-XSNLXJGI.mjs} +8 -8
  120. package/dist/cli/tools-SCGHABDL.js +57 -0
  121. package/dist/cli/{tools-SKQTSVGE.mjs → tools-SUSFAYFH.mjs} +17 -17
  122. package/dist/cli/update-BSIILGO3.js +35 -0
  123. package/dist/cli/{update-GNBBSKTB.mjs → update-ENSTG3QO.mjs} +10 -10
  124. package/dist/cli/{workflow-QB7YYWPP.js → workflow-FMBZNY4F.js} +17 -17
  125. package/dist/cli/{workflow-OJSAL5FO.mjs → workflow-Z33QE6VT.mjs} +7 -7
  126. package/dist/{client-DEJg0CZn.d.mts → client-BDbouy3Y.d.mts} +1 -1
  127. package/dist/{client-B3GSaSFn.d.ts → client-Cx0420fs.d.ts} +1 -1
  128. package/dist/{client-core-GQmy3N8y.d.ts → client-core-B4hq0-m2.d.ts} +51 -4
  129. package/dist/{client-core-C404E33V.d.mts → client-core-CwiVaMZ5.d.mts} +51 -4
  130. package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
  131. package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
  132. package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
  133. package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
  134. package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
  135. package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
  136. package/dist/index.d.mts +7 -7
  137. package/dist/index.d.ts +7 -7
  138. package/dist/index.js +9 -9
  139. package/dist/index.mjs +6 -6
  140. package/dist/install-integrity.json +115 -112
  141. package/dist/plays/bundle-play-file.d.mts +3 -3
  142. package/dist/plays/bundle-play-file.d.ts +3 -3
  143. package/dist/plays/play-description.d.mts +2 -2
  144. package/dist/plays/play-description.d.ts +2 -2
  145. package/dist/plays/run-request.d.mts +2 -2
  146. package/dist/plays/run-request.d.ts +2 -2
  147. package/dist/release.d.mts +1 -1
  148. package/dist/release.d.ts +1 -1
  149. package/dist/release.js +2 -2
  150. package/dist/release.mjs +1 -1
  151. package/dist/server.d.mts +4 -4
  152. package/dist/server.d.ts +4 -4
  153. package/dist/server.js +5 -5
  154. package/dist/server.mjs +3 -3
  155. package/package.json +1 -1
  156. package/dist/cli/auth-SEPKNRHV.js +0 -43
  157. package/dist/cli/describe-HVQBTKFM.js +0 -50
  158. package/dist/cli/git-TUB2ZUEH.js +0 -25
  159. package/dist/cli/search-QPUHOEIL.js +0 -33
  160. package/dist/cli/skills-BPZWMZSL.js +0 -37
  161. package/dist/cli/tools-F7RVQ3IK.js +0 -57
  162. package/dist/cli/update-TLSY6LC2.js +0 -35
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
5
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
6
6
 
7
7
 
8
- var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
8
+ var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
39
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
139
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
153
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
200
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
227
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
254
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
269
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkZLN2B5YAjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkMHRR47VQjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkEMUFF6EUjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk75NAFY36js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
322
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
371
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
392
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-PZN24YQQ.mjs";
5
+ } from "./chunk-2CFTDVEP.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-SHKRL7CW.mjs";
8
+ } from "./chunk-YVOS5KSG.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-PZN24YQQ.mjs";
4
+ } from "./chunk-2CFTDVEP.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-7AD565DO.mjs";
7
+ } from "./chunk-TS4KFQKS.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -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(); } } 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 _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
4
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
5
5
 
6
6
 
7
- var _chunkSPN7U3MVjs = require('./chunk-SPN7U3MV.js');
7
+ var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkSPN7U3MVjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkFWSEGIT6js.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkEMUFF6EUjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
487
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
519
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
569
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkEMUFF6EUjs.printCommandEnvelope.call(void 0,
677
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkMHZAG2ZQjs = require('./chunk-MHZAG2ZQ.js');
14
+ var _chunkHINTYT5Hjs = require('./chunk-HINTYT5H.js');
15
15
 
16
16
 
17
- var _chunkEMUFF6EUjs = require('./chunk-EMUFF6EU.js');
17
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkZLN2B5YAjs = require('./chunk-ZLN2B5YA.js');
23
+ var _chunkMHRR47VQjs = require('./chunk-MHRR47VQ.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkSPN7U3MVjs = require('./chunk-SPN7U3MV.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 = _chunkZLN2B5YAjs.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, () => ( _chunkSPN7U3MVjs.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, _chunkZLN2B5YAjs.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 = [..._chunkMHZAG2ZQjs.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=${_chunkMHZAG2ZQjs.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=${_chunkMHZAG2ZQjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkHINTYT5Hjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkMHZAG2ZQjs.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 = _chunkMHZAG2ZQjs.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
- `${_chunkMHZAG2ZQjs.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(`${_chunkMHZAG2ZQjs.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 = _chunkZLN2B5YAjs.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
- _chunkEMUFF6EUjs.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
- _chunkEMUFF6EUjs.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
- _chunkEMUFF6EUjs.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
- _chunkEMUFF6EUjs.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 = _chunkZLN2B5YAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkMHRR47VQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkMHZAG2ZQjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkSPN7U3MVjs.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
- _chunkEMUFF6EUjs.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)) && !_chunkMHZAG2ZQjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkEMUFF6EUjs.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, ..._chunkMHZAG2ZQjs.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
- _chunkZLN2B5YAjs.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 _chunkMHZAG2ZQjs.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 _chunkMHZAG2ZQjs.SkillsStateUnavailableError)) throw error;
433
- _chunkEMUFF6EUjs.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
- _chunkEMUFF6EUjs.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 ${_chunkMHZAG2ZQjs.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
- _chunkEMUFF6EUjs.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
- _chunkEMUFF6EUjs.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: _chunkSPN7U3MVjs.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
- _chunkMHZAG2ZQjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkHINTYT5Hjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkEMUFF6EUjs.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 ${_chunkMHZAG2ZQjs.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(_chunkMHZAG2ZQjs.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
- _chunkEMUFF6EUjs.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 _chunkMHZAG2ZQjs.syncSdkSkillsIfNeeded.call(void 0, _chunkZLN2B5YAjs.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-7AD565DO.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.505",
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."