deepline 0.3.502 → 0.3.504

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 (211) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +26 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +35 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +1 -1
  7. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-public-aliases.ts +13 -0
  8. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
  9. package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
  10. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  11. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
  16. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  18. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  20. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  22. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  25. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  26. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  50. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  51. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  54. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  55. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  56. package/dist/cli/{auth-EFHLOVG4.mjs → auth-3L5AA5AX.mjs} +5 -5
  57. package/dist/cli/auth-UPK4IIIN.js +43 -0
  58. package/dist/cli/{billing-Q5XKEYPP.mjs → billing-E7EASVPO.mjs} +19 -12
  59. package/dist/cli/{billing-SKT2VE34.js → billing-HOGXVE2V.js} +92 -85
  60. package/dist/cli/{chunk-L5CTJY74.mjs → chunk-22OCKCYS.mjs} +2 -2
  61. package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-2ABRDH3B.mjs} +2 -2
  62. package/dist/cli/{chunk-IL666WJE.js → chunk-2W77YCKH.js} +5 -5
  63. package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-3MLFFWDM.mjs} +2 -2
  64. package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-4CC67XH5.mjs} +2 -2
  65. package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-5CHBIJIM.mjs} +10 -6
  66. package/dist/cli/chunk-5LUF4LAR.mjs +209 -0
  67. package/dist/cli/{chunk-JL6H4H3G.js → chunk-5Z6EULD5.js} +6 -6
  68. package/dist/cli/{chunk-32YQBJON.js → chunk-67OI26OE.js} +7 -7
  69. package/dist/cli/{chunk-LA3UYRVZ.js → chunk-6JNBMTCZ.js} +1 -1
  70. package/dist/cli/{chunk-DYHTXGLX.js → chunk-6SMR7LU7.js} +2 -2
  71. package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7F4OEHQK.mjs} +1 -1
  72. package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
  73. package/dist/cli/{chunk-UOANF3DR.js → chunk-7P2QVMBP.js} +26 -7
  74. package/dist/cli/{chunk-GINKIZ7S.js → chunk-A6LA42JY.js} +16 -16
  75. package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
  76. package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-BTWUNKKX.mjs} +2 -2
  77. package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-BX45XMXZ.mjs} +2 -2
  78. package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-DEAJVQEG.mjs} +1 -1
  79. package/dist/cli/{chunk-JFBJLNBI.js → chunk-FISP4LCK.js} +53 -53
  80. package/dist/cli/{chunk-OEUMXKR5.js → chunk-FTRVCIGC.js} +26 -26
  81. package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-GGBXNQCR.mjs} +4 -4
  82. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-GJ2DA35C.js} +100 -17
  83. package/dist/cli/{chunk-2S2F6YSI.js → chunk-GRAGUYIE.js} +41 -41
  84. package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-HUX5DZO6.mjs} +3 -3
  85. package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-IGNQKOWT.mjs} +32 -15
  86. package/dist/cli/{chunk-WKFAX2K7.js → chunk-IPAMOMGP.js} +21 -21
  87. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  88. package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-JPR2546F.js} +23 -21
  89. package/dist/cli/{chunk-X5MGQ7UT.js → chunk-KCKAFTPY.js} +10 -10
  90. package/dist/cli/{chunk-TAK3MVXY.js → chunk-KGUGNEKL.js} +284 -267
  91. package/dist/cli/{chunk-OVZOMSH2.js → chunk-LHXYCZYO.js} +8 -8
  92. package/dist/cli/{chunk-QOJBRCAS.js → chunk-MJTK6Q3G.js} +3 -3
  93. package/dist/cli/{chunk-MYUISF3P.mjs → chunk-MLMWM5DV.mjs} +5 -5
  94. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  95. package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-NZ7Z7WNM.mjs} +2 -2
  96. package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-OX2D6BG4.mjs} +20 -1
  97. package/dist/cli/{chunk-YDXEXVBV.js → chunk-QKKU2FH4.js} +7 -7
  98. package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-QOLX2O2S.mjs} +4 -4
  99. package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
  100. package/dist/cli/chunk-R7J7CJPZ.js +209 -0
  101. package/dist/cli/{chunk-XMKUJ44Z.js → chunk-SMSQVRHE.js} +5 -5
  102. package/dist/cli/{chunk-54QXWK3C.mjs → chunk-SVFTZTCI.mjs} +1 -1
  103. package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
  104. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-UFYJTRSF.mjs} +98 -15
  105. package/dist/cli/{chunk-EUWRKWT4.js → chunk-UJMBG5JU.js} +5 -4
  106. package/dist/cli/{chunk-DKAMCJIT.js → chunk-USTJEEND.js} +17 -13
  107. package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-UXQQPMYO.js} +2 -2
  108. package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-VJVJWZ6I.mjs} +5 -5
  109. package/dist/cli/{chunk-JLYDLK6X.js → chunk-WBIDPDKJ.js} +3 -3
  110. package/dist/cli/{chunk-QNELA7SX.js → chunk-WZSFIJMG.js} +53 -53
  111. package/dist/cli/{chunk-NZXB27TP.mjs → chunk-XHZSPMNC.mjs} +4 -4
  112. package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-Y6XKCEPK.mjs} +1 -1
  113. package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-Y7VEHKID.mjs} +10 -8
  114. package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-YOQ2NNDO.mjs} +2 -1
  115. package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-Z6FXUDIL.mjs} +1 -1
  116. package/dist/cli/command-docs.d.mts +2 -1
  117. package/dist/cli/command-docs.d.ts +2 -1
  118. package/dist/cli/command-docs.js +6 -2
  119. package/dist/cli/command-docs.mjs +5 -1
  120. package/dist/cli/{csv-OXGSCV75.js → csv-2XWGPITO.js} +13 -13
  121. package/dist/cli/{csv-6AEPKKCO.mjs → csv-433JEHLQ.mjs} +4 -4
  122. package/dist/cli/{db-K3KRK4CZ.mjs → db-K747DH43.mjs} +6 -6
  123. package/dist/cli/{db-6NVHDUZY.js → db-PJJMD4VH.js} +27 -27
  124. package/dist/cli/describe-OYS7LZJD.js +49 -0
  125. package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-VEDDYW4P.mjs} +20 -20
  126. package/dist/cli/describe-core.d.mts +8 -4
  127. package/dist/cli/describe-core.d.ts +8 -4
  128. package/dist/cli/describe-core.js +4 -4
  129. package/dist/cli/describe-core.mjs +3 -3
  130. package/dist/cli/{executions-2C2FFG52.js → executions-HM5T72H6.js} +8 -8
  131. package/dist/cli/{executions-I7XW6WWK.mjs → executions-JWRX3XCT.mjs} +6 -6
  132. package/dist/cli/{feedback-47B57A5Y.js → feedback-34UG4BO3.js} +8 -8
  133. package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-MNSIA63Y.mjs} +4 -4
  134. package/dist/cli/git-5YQJSJFR.js +25 -0
  135. package/dist/cli/{git-3G5AFKBT.mjs → git-ZKEOXV3A.mjs} +5 -5
  136. package/dist/cli/index.js +144 -142
  137. package/dist/cli/index.mjs +44 -42
  138. package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-5M4T4ZVT.mjs} +5 -5
  139. package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-YXSI4FVU.js} +8 -8
  140. package/dist/cli/{monitors-KUPZODZS.mjs → monitors-C65OC4AW.mjs} +7 -7
  141. package/dist/cli/{monitors-IPWAD7LS.js → monitors-O25GDOYE.js} +95 -95
  142. package/dist/cli/{org-WFC3N672.js → org-2GSPLY2A.js} +72 -72
  143. package/dist/cli/{org-ZCQGEM3L.mjs → org-ZRMG5NS2.mjs} +6 -6
  144. package/dist/cli/{pages-N5BNC67L.js → pages-45DPADK6.js} +18 -18
  145. package/dist/cli/{pages-VE66IU7B.mjs → pages-TZZUFBRO.mjs} +6 -6
  146. package/dist/cli/{play-EIMDIAJB.mjs → play-3D7HH273.mjs} +138 -226
  147. package/dist/cli/{play-NKIRJSKX.js → play-RCGMND6X.js} +454 -542
  148. package/dist/cli/{providers-XU3AGY2F.js → providers-3N3ECMTY.js} +9 -9
  149. package/dist/cli/{providers-KDTJ63ED.mjs → providers-PSAKV6CJ.mjs} +6 -6
  150. package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-2A35SMGC.mjs} +4 -4
  151. package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-6R6AIXM6.js} +6 -6
  152. package/dist/cli/{run-ODGML35U.mjs → run-F3TLDGUO.mjs} +25 -25
  153. package/dist/cli/{run-ET2KVTPK.js → run-F6ZXTASZ.js} +44 -44
  154. package/dist/cli/{search-DK67K6PR.mjs → search-CZLCY3D2.mjs} +7 -7
  155. package/dist/cli/search-R5VEWJO2.js +32 -0
  156. package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-MQTSTLN5.mjs} +5 -5
  157. package/dist/cli/{search-output-KXP4FA62.js → search-output-R5XDNILW.js} +7 -7
  158. package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-D3GF4B2Z.mjs} +6 -6
  159. package/dist/cli/{secrets-WPS6NMNK.js → secrets-DCJYHDSY.js} +15 -15
  160. package/dist/cli/{sessions-PXVOH34X.mjs → sessions-QGEQ2UYZ.mjs} +5 -5
  161. package/dist/cli/{sessions-IP562J5Z.js → sessions-Z4JYJSDP.js} +6 -6
  162. package/dist/cli/{settings-FBUQGYVJ.mjs → settings-G7QEXA4N.mjs} +11 -11
  163. package/dist/cli/{settings-SUDUIVMY.js → settings-UVXXAT4A.js} +78 -78
  164. package/dist/cli/{setup-I5H6IOEY.js → setup-5I42W7D4.js} +49 -49
  165. package/dist/cli/{setup-JSIMTR73.mjs → setup-QHJU3DUI.mjs} +9 -9
  166. package/dist/cli/{skills-FJQ3LX6N.mjs → skills-5LRF4UKX.mjs} +7 -7
  167. package/dist/cli/skills-FB6TV52O.js +36 -0
  168. package/dist/cli/tools-L2364RPA.js +56 -0
  169. package/dist/cli/{tools-IGBK4BVE.mjs → tools-PUT6STVG.mjs} +18 -18
  170. package/dist/cli/{update-7MTT6F5K.mjs → update-CJ2GA64X.mjs} +9 -9
  171. package/dist/cli/update-ESYJGYVZ.js +34 -0
  172. package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-HVEWRTXD.mjs} +7 -7
  173. package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-O67MEBCP.js} +17 -17
  174. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  175. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  176. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  177. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  178. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  179. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  180. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  181. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  182. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  183. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  184. package/dist/index.d.mts +7 -7
  185. package/dist/index.d.ts +7 -7
  186. package/dist/index.js +9 -9
  187. package/dist/index.mjs +6 -6
  188. package/dist/install-integrity.json +125 -116
  189. package/dist/plays/bundle-play-file.d.mts +3 -3
  190. package/dist/plays/bundle-play-file.d.ts +3 -3
  191. package/dist/plays/bundle-play-file.mjs +12 -5
  192. package/dist/plays/play-description.d.mts +2 -2
  193. package/dist/plays/play-description.d.ts +2 -2
  194. package/dist/plays/run-request.d.mts +2 -2
  195. package/dist/plays/run-request.d.ts +2 -2
  196. package/dist/release.d.mts +1 -1
  197. package/dist/release.d.ts +1 -1
  198. package/dist/release.js +2 -2
  199. package/dist/release.mjs +1 -1
  200. package/dist/server.d.mts +4 -4
  201. package/dist/server.d.ts +4 -4
  202. package/dist/server.js +5 -5
  203. package/dist/server.mjs +3 -3
  204. package/package.json +1 -1
  205. package/dist/cli/auth-VM3IKP5F.js +0 -43
  206. package/dist/cli/describe-JOUAXXPE.js +0 -49
  207. package/dist/cli/git-OPKIC6JQ.js +0 -25
  208. package/dist/cli/search-6U54Y3OK.js +0 -32
  209. package/dist/cli/skills-VHININXC.js +0 -36
  210. package/dist/cli/tools-XMBMHVKF.js +0 -56
  211. package/dist/cli/update-H7JVW43I.js +0 -34
@@ -1,8 +1,8 @@
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; } var _class; var _class2;require('./chunk-I5YZLGMG.js');
2
2
 
3
3
 
4
- var _chunkXMKUJ44Zjs = require('./chunk-XMKUJ44Z.js');
5
- require('./chunk-UOANF3DR.js');
4
+ var _chunkSMSQVRHEjs = require('./chunk-SMSQVRHE.js');
5
+ require('./chunk-7P2QVMBP.js');
6
6
  require('./chunk-E4CABWXL.js');
7
7
  require('./chunk-RNSHCJME.js');
8
8
  require('./chunk-NMU3VR5U.js');
@@ -17,15 +17,15 @@ require('./chunk-UNEMDKXN.js');
17
17
  var _chunkIF75RD6Ujs = require('./chunk-IF75RD6U.js');
18
18
 
19
19
 
20
- var _chunkQOJBRCASjs = require('./chunk-QOJBRCAS.js');
20
+ var _chunkMJTK6Q3Gjs = require('./chunk-MJTK6Q3G.js');
21
21
 
22
22
 
23
23
 
24
24
 
25
25
 
26
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
27
- require('./chunk-JLYDLK6X.js');
28
- require('./chunk-EUWRKWT4.js');
26
+ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
27
+ require('./chunk-WBIDPDKJ.js');
28
+ require('./chunk-UJMBG5JU.js');
29
29
 
30
30
 
31
31
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -33,7 +33,7 @@ require('./chunk-XNYIZMNQ.js');
33
33
 
34
34
 
35
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
36
- require('./chunk-LA3UYRVZ.js');
36
+ require('./chunk-6JNBMTCZ.js');
37
37
  require('./chunk-OG64RBAC.js');
38
38
  require('./chunk-COGTRVWW.js');
39
39
 
@@ -111,10 +111,10 @@ function reportMonitorsFailure(error, options) {
111
111
  const exitCode = monitorsErrorExitCode(error);
112
112
  const next = monitorsFailureNextCommand(error, exitCode, options);
113
113
  const retrySafe = exitCode === 5 && _optionalChain([options, 'optionalAccess', _9 => _9.retryCommand]) !== void 0;
114
- const wantsJson = _chunkYDXEXVBVjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
114
+ const wantsJson = _chunkQKKU2FH4js.shouldEmitJson.call(void 0, process.argv.includes("--json"));
115
115
  if (wantsJson) {
116
- const payload = _chunkYDXEXVBVjs.errorToJsonPayload.call(void 0, error);
117
- _chunkYDXEXVBVjs.printJson.call(void 0, {
116
+ const payload = _chunkQKKU2FH4js.errorToJsonPayload.call(void 0, error);
117
+ _chunkQKKU2FH4js.printJson.call(void 0, {
118
118
  ok: false,
119
119
  exitCode,
120
120
  ...next ? { next } : {},
@@ -529,14 +529,14 @@ Preview the plan first with:
529
529
  );
530
530
  }
531
531
  async function handleMonitorsStatus(options) {
532
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.status();
532
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.status();
533
533
  const hasAccess = payload.has_access === true;
534
534
  const reason = typeof payload.reason === "string" && payload.reason.trim() ? payload.reason.trim() : void 0;
535
535
  const text = hasAccess ? `\u2713 You have access to Deepline Monitors${reason ? `
536
536
  ${reason}` : ""}
537
537
  ` : `\u2717 No access to Deepline Monitors${reason ? ` \u2014 ${reason}` : ""}
538
538
  `;
539
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
539
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
540
540
  { has_access: hasAccess, ...reason ? { reason } : {} },
541
541
  { json: options.json, text }
542
542
  );
@@ -602,14 +602,14 @@ async function handleMonitorsAvailable(toolId, options) {
602
602
  }
603
603
  }
604
604
  const tool = _nullishCoalesce(toolId, () => ( options.tool));
605
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.available(tool, {
605
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.available(tool, {
606
606
  ...options.provider ? { provider: options.provider } : {},
607
607
  ...options.search ? { search: options.search } : {},
608
608
  ...options.limit ? { limit: options.limit } : {},
609
609
  ...options.full ? { full: true } : {},
610
610
  ...options.compact ? { compact: true } : {}
611
611
  });
612
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
612
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
613
613
  json: options.json,
614
614
  // Human list view shows id + name + deployed_count ("deployed: N") so
615
615
  // can-deploy vs already-deployed is visible in one view. Describing a
@@ -712,14 +712,14 @@ async function handleMonitorsList(options) {
712
712
  "`--compact` is deprecated and now does nothing; returning the complete monitor records.\n"
713
713
  );
714
714
  }
715
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.list({
715
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.list({
716
716
  ...state ? { state } : {},
717
717
  ...options.status ? { status: options.status } : {},
718
718
  ...options.limit ? { limit: options.limit } : {},
719
719
  ...options.cursor ? { cursor: options.cursor } : {},
720
720
  ...options.includeConsumers ? { includeConsumers: true } : {}
721
721
  });
722
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
722
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
723
723
  json: options.json,
724
724
  text: renderDeployedListText(
725
725
  payload,
@@ -800,7 +800,7 @@ function renderMonitorLedgerText(payload) {
800
800
  var LEDGER_SORTS = ["recent", "installed", "name", "findings"];
801
801
  var LEDGER_WINDOWS = ["1d", "7d", "30d", "90d", "1y"];
802
802
  async function handleMonitorsLedger(key, options) {
803
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
803
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
804
804
  if (options.findings) {
805
805
  if (!key) {
806
806
  throw new MonitorsUsageError(
@@ -810,12 +810,12 @@ async function handleMonitorsLedger(key, options) {
810
810
  const payload2 = await client.monitors.ledgerFindings(key, {
811
811
  ...options.cursor ? { cursor: options.cursor } : {}
812
812
  });
813
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload2, { json: options.json });
813
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload2, { json: options.json });
814
814
  return;
815
815
  }
816
816
  if (key) {
817
817
  const payload2 = await client.monitors.ledgerGet(key);
818
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload2, { json: options.json });
818
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload2, { json: options.json });
819
819
  return;
820
820
  }
821
821
  if (options.sort !== void 0 && !LEDGER_SORTS.includes(options.sort)) {
@@ -838,7 +838,7 @@ async function handleMonitorsLedger(key, options) {
838
838
  ...options.limit ? { limit: options.limit } : {},
839
839
  ...options.cursor ? { cursor: options.cursor } : {}
840
840
  });
841
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
841
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
842
842
  json: options.json,
843
843
  text: renderMonitorLedgerText(payload)
844
844
  });
@@ -850,10 +850,10 @@ async function handleMonitorsCheck(definition, options) {
850
850
  argLabel: "<definition>",
851
851
  command: "deepline monitors check"
852
852
  });
853
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.check(
853
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.check(
854
854
  body
855
855
  );
856
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
856
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json });
857
857
  }
858
858
  function previewText(value) {
859
859
  return typeof value === "string" && value.trim() ? value.trim() : "-";
@@ -911,22 +911,22 @@ async function handleMonitorsPreview(definition, options) {
911
911
  if (limit !== void 0 && !Number.isInteger(limit)) {
912
912
  throw new MonitorsUsageError("--limit must be a whole number from 1 to 3.");
913
913
  }
914
- const wantsJson = _chunkYDXEXVBVjs.shouldEmitJson.call(void 0, options.json);
914
+ const wantsJson = _chunkQKKU2FH4js.shouldEmitJson.call(void 0, options.json);
915
915
  if (options.idempotencyKey === void 0 && wantsJson) {
916
916
  throw new MonitorsUsageError(
917
917
  "--json requires --idempotency-key <key>. Choose a new key for each new preview and keep it: rerunning with the same key returns the result without paying again."
918
918
  );
919
919
  }
920
920
  const idempotencyKey = _nullishCoalesce(options.idempotencyKey, () => ( `monitor-preview-${_crypto.randomUUID.call(void 0, )}`));
921
- const progress = _chunkQOJBRCASjs.createCliProgress.call(void 0, !wantsJson);
921
+ const progress = _chunkMJTK6Q3Gjs.createCliProgress.call(void 0, !wantsJson);
922
922
  progress.phase(`Preview key: ${idempotencyKey}`);
923
923
  try {
924
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.preview(
924
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.preview(
925
925
  body,
926
926
  { idempotencyKey, ...limit === void 0 ? {} : { limit } }
927
927
  );
928
928
  progress.complete();
929
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
929
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
930
930
  json: options.json,
931
931
  text: renderMonitorPreviewText(payload)
932
932
  });
@@ -971,7 +971,7 @@ async function handleMonitorsDeploy(definition, options) {
971
971
  argLabel: "<definition>",
972
972
  command: "deepline monitors deploy"
973
973
  });
974
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
974
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
975
975
  const definitionArg = body;
976
976
  if (options.dryRun) {
977
977
  const payload2 = await client.monitors.deploy(definitionArg, {
@@ -979,7 +979,7 @@ async function handleMonitorsDeploy(definition, options) {
979
979
  });
980
980
  const valid = payload2.valid !== false;
981
981
  const hasIdentityConflict = Boolean(_optionalChain([asRecord, 'call', _39 => _39(payload2), 'optionalAccess', _40 => _40.identity_conflict]));
982
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
982
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
983
983
  { dry_run: true, ...payload2 },
984
984
  { json: options.json, text: renderMonitorDeployPlan(payload2) }
985
985
  );
@@ -989,7 +989,7 @@ async function handleMonitorsDeploy(definition, options) {
989
989
  return;
990
990
  }
991
991
  const payload = await client.monitors.deploy(definitionArg);
992
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
992
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
993
993
  json: options.json,
994
994
  text: renderMonitorDeployCompletion(payload)
995
995
  });
@@ -1001,29 +1001,29 @@ async function handleMonitorsSync(definition, options) {
1001
1001
  argLabel: "<definition>",
1002
1002
  command: "deepline monitors sync"
1003
1003
  });
1004
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.sync(body, {
1004
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.sync(body, {
1005
1005
  ...options.dryRun ? { dryRun: true } : {},
1006
1006
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey("scalar-sync", void 0)))
1007
1007
  });
1008
1008
  if (options.dryRun) {
1009
1009
  const plan = payload;
1010
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1010
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1011
1011
  { dry_run: true, ...plan },
1012
1012
  { json: options.json, text: renderMonitorDeployPlan(plan) }
1013
1013
  );
1014
1014
  return;
1015
1015
  }
1016
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1016
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1017
1017
  json: options.json,
1018
1018
  text: renderMonitorJob(payload)
1019
1019
  });
1020
1020
  }
1021
1021
  async function handleScalarMonitorLifecycle(action, key, options) {
1022
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors[action](key, {
1022
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors[action](key, {
1023
1023
  ...options.dryRun ? { dryRun: true } : {},
1024
1024
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey(`${action}-${key}`, void 0)))
1025
1025
  });
1026
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1026
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1027
1027
  json: options.json,
1028
1028
  text: options.dryRun ? void 0 : renderMonitorJob(payload)
1029
1029
  });
@@ -1112,11 +1112,11 @@ async function handleMonitorJobBatchDeploy(options, idempotencyKey) {
1112
1112
  lint.issues.filter((issue) => issue.severity === "error").map((issue) => `${issue.path || "batch"}: ${issue.message}`).join("; ")
1113
1113
  );
1114
1114
  }
1115
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batch.deploy(
1115
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batch.deploy(
1116
1116
  lint.normalized.monitors,
1117
1117
  { idempotencyKey }
1118
1118
  );
1119
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1119
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1120
1120
  {
1121
1121
  ...payload,
1122
1122
  idempotency_key: idempotencyKey,
@@ -1149,7 +1149,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1149
1149
  );
1150
1150
  }
1151
1151
  if (options.dryRun) {
1152
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1152
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1153
1153
  {
1154
1154
  ok: true,
1155
1155
  dry_run: true,
@@ -1166,7 +1166,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1166
1166
  "sync",
1167
1167
  options.idempotencyKey
1168
1168
  );
1169
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batches.sync(
1169
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batches.sync(
1170
1170
  batchId,
1171
1171
  lint.normalized.monitors,
1172
1172
  {
@@ -1174,14 +1174,14 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1174
1174
  ...parsedGeneration === void 0 ? {} : { expectedGeneration: parsedGeneration }
1175
1175
  }
1176
1176
  );
1177
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1177
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1178
1178
  { ...payload, idempotency_key: idempotencyKey },
1179
1179
  { json: options.json, text: renderMonitorJob(payload) }
1180
1180
  );
1181
1181
  }
1182
1182
  async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
1183
1183
  if (options.dryRun) {
1184
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1184
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1185
1185
  {
1186
1186
  ok: true,
1187
1187
  dry_run: true,
@@ -1197,17 +1197,17 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
1197
1197
  intent,
1198
1198
  options.idempotencyKey
1199
1199
  );
1200
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batches[intent](batchId, {
1200
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batches[intent](batchId, {
1201
1201
  idempotencyKey
1202
1202
  });
1203
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1203
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1204
1204
  { ...payload, idempotency_key: idempotencyKey },
1205
1205
  { json: options.json, text: renderMonitorJob(payload) }
1206
1206
  );
1207
1207
  }
1208
1208
  async function handleNamedMonitorBatchGet(batchId, options) {
1209
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batches.get(batchId);
1210
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1209
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batches.get(batchId);
1210
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1211
1211
  json: options.json,
1212
1212
  text: renderMonitorJob(payload)
1213
1213
  });
@@ -1221,7 +1221,7 @@ async function handleMonitorBatchLint(options) {
1221
1221
  const result = _chunkIF75RD6Ujs.lintMonitorBatchInput.call(void 0,
1222
1222
  readMonitorDefinitionsJsonFile(options.file)
1223
1223
  );
1224
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1224
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1225
1225
  {
1226
1226
  ok: !result.issues.some((issue) => issue.severity === "error"),
1227
1227
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1241,7 +1241,7 @@ async function handleMonitorFleetLint(options) {
1241
1241
  const result = _chunkC374C22Yjs.lintMonitorFleetInput.call(void 0,
1242
1242
  readMonitorDefinitionsJsonFile(options.file)
1243
1243
  );
1244
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1244
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1245
1245
  {
1246
1246
  ok: !result.issues.some((issue) => issue.severity === "error"),
1247
1247
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1253,32 +1253,32 @@ async function handleMonitorFleetLint(options) {
1253
1253
  process.exitCode = 2;
1254
1254
  }
1255
1255
  async function handleMonitorJobGet(jobId, options) {
1256
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.jobs.get(jobId);
1257
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1256
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.jobs.get(jobId);
1257
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1258
1258
  json: options.json,
1259
1259
  text: renderMonitorJob(payload)
1260
1260
  });
1261
1261
  }
1262
1262
  async function handleMonitorJobWait(jobId, options) {
1263
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1263
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1264
1264
  timeoutMs: fleetTimeoutMs(options.timeout),
1265
1265
  pollIntervalMs: FLEET_POLL_INTERVAL_MS
1266
1266
  });
1267
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1267
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1268
1268
  json: options.json,
1269
1269
  text: renderMonitorJob(payload)
1270
1270
  });
1271
1271
  }
1272
1272
  async function handleMonitorJobLogs(jobId, options) {
1273
1273
  const limit = options.limit ? fleetIntegerOption(options.limit, "--limit") : void 0;
1274
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1274
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1275
1275
  ...limit === void 0 ? {} : { limit }
1276
1276
  });
1277
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1277
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json });
1278
1278
  }
1279
1279
  async function handleMonitorJobCancel(jobId, options) {
1280
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1281
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, {
1280
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1281
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
1282
1282
  json: options.json,
1283
1283
  text: renderMonitorJob(payload)
1284
1284
  });
@@ -1587,7 +1587,7 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1587
1587
  `;
1588
1588
  }
1589
1589
  function reportFleetState(payload, error, options) {
1590
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1590
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1591
1591
  {
1592
1592
  ...payload,
1593
1593
  code: error.code,
@@ -1719,7 +1719,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1719
1719
  _fs.writeFileSync.call(void 0, file, `${JSON.stringify(definition, null, 2)}
1720
1720
  `, "utf8");
1721
1721
  const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1722
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
1722
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
1723
1723
  { schemaVersion: 2, file, definition, next },
1724
1724
  {
1725
1725
  json: options.json,
@@ -1781,7 +1781,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1781
1781
  'The Fleet definition has no id. Add a top-level "id" and re-run.'
1782
1782
  );
1783
1783
  }
1784
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
1784
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
1785
1785
  const payload = await client.monitors.fleets.sync(
1786
1786
  _nullishCoalesce(definition, () => ( fleetId)),
1787
1787
  {
@@ -1803,7 +1803,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1803
1803
  }
1804
1804
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1805
1805
  if (!options.wait || options.dryRun) {
1806
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, accepted, {
1806
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, accepted, {
1807
1807
  json: options.json,
1808
1808
  text: renderFleetSync(payload, {
1809
1809
  fleetId,
@@ -1829,7 +1829,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1829
1829
  const status = fleetStatus(final);
1830
1830
  const summary = renderFleetGet(final);
1831
1831
  if (status === "converged") {
1832
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1832
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1833
1833
  return;
1834
1834
  }
1835
1835
  if (status === "billing_suspended") {
@@ -1869,14 +1869,14 @@ async function handleMonitorFleetsGet(fleetId, options) {
1869
1869
  );
1870
1870
  }
1871
1871
  const limit = options.limit === void 0 ? void 0 : fleetIntegerOption(options.limit, "--limit");
1872
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
1872
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
1873
1873
  const payload = await client.monitors.fleets.get(fleetId, {
1874
1874
  ...options.drift ? { drift: true } : {},
1875
1875
  ...limit !== void 0 ? { limit } : {}
1876
1876
  });
1877
1877
  const text = fleetId ? renderFleetGet(payload) : renderFleetList(payload);
1878
1878
  if (!options.check) {
1879
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1879
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1880
1880
  return;
1881
1881
  }
1882
1882
  const statuses = fleetId ? [fleetStatus(payload)] : (Array.isArray(payload.fleets) ? payload.fleets : []).map(
@@ -1884,7 +1884,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1884
1884
  );
1885
1885
  const unconverged = statuses.filter((status) => status !== "converged");
1886
1886
  if (unconverged.length === 0) {
1887
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1887
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1888
1888
  return;
1889
1889
  }
1890
1890
  const target = _nullishCoalesce(fleetId, () => ( "<fleet-id>"));
@@ -1923,13 +1923,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1923
1923
  ${fleetReactivateCommandLine(fleetId, options)}`
1924
1924
  );
1925
1925
  }
1926
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
1926
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
1927
1927
  const payload = await client.monitors.fleets.reactivate(fleetId, {
1928
1928
  idempotencyKey
1929
1929
  });
1930
1930
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1931
1931
  if (!options.wait) {
1932
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, accepted, {
1932
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, accepted, {
1933
1933
  json: options.json,
1934
1934
  text: `Fleet ${fleetId} \u2014 ${readMonitorState(payload) ? `state ${readMonitorState(payload)}` : "reactivation accepted"}
1935
1935
  idempotency key ${idempotencyKey}
@@ -1952,7 +1952,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1952
1952
  const envelope = { ...accepted, ...final };
1953
1953
  const text = renderFleetGet(final);
1954
1954
  if (fleetStatus(final) === "converged") {
1955
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1955
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1956
1956
  return;
1957
1957
  }
1958
1958
  if (fleetStatus(final) === "billing_suspended") {
@@ -2001,7 +2001,7 @@ async function confirmFleetDeactivate(fleetId, plan) {
2001
2001
  }
2002
2002
  }
2003
2003
  async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
2004
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
2004
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2005
2005
  if (options.dryRun) {
2006
2006
  const plan = await client.monitors.fleets.deactivate(fleetId, {
2007
2007
  dryRun: true,
@@ -2011,7 +2011,7 @@ async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
2011
2011
  command: "deepline monitors fleets deactivate",
2012
2012
  mutation: "fleet deactivate"
2013
2013
  });
2014
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, plan, {
2014
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, plan, {
2015
2015
  json: options.json,
2016
2016
  text: renderFleetDeactivatePlan(plan, fleetId)
2017
2017
  });
@@ -2049,7 +2049,7 @@ Preview the blast radius first:
2049
2049
  });
2050
2050
  const accepted = { ...payload, idempotency_key: idempotencyKey };
2051
2051
  if (payload.already === true) {
2052
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, accepted, {
2052
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, accepted, {
2053
2053
  json: options.json,
2054
2054
  text: `Fleet ${fleetId} is already deactivated.
2055
2055
  `
@@ -2061,7 +2061,7 @@ Preview the blast radius first:
2061
2061
  ` + (fleetServerNext(payload) ? `Next: ${fleetServerNext(payload)}
2062
2062
  ` : "");
2063
2063
  if (!options.wait) {
2064
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, accepted, {
2064
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, accepted, {
2065
2065
  json: options.json,
2066
2066
  text: acceptedText
2067
2067
  });
@@ -2083,7 +2083,7 @@ Preview the blast radius first:
2083
2083
  const envelope = { ...accepted, ...final };
2084
2084
  const summary = renderFleetGet(final);
2085
2085
  if (fleetStatus(final) === "deactivated") {
2086
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
2086
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
2087
2087
  return;
2088
2088
  }
2089
2089
  if (fleetStatus(final) === "billing_suspended") {
@@ -2122,7 +2122,7 @@ function handleMonitorFleetsOverview(options) {
2122
2122
  "Agent notes:",
2123
2123
  ...MONITOR_FLEET_AGENT_NOTES.map((note) => ` ${note}`)
2124
2124
  ];
2125
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
2125
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2126
2126
  {
2127
2127
  schemaVersion: 1,
2128
2128
  lifecycle: MONITOR_FLEET_LIFECYCLE,
@@ -2283,7 +2283,7 @@ function renderMonitorGet(payload) {
2283
2283
  `;
2284
2284
  }
2285
2285
  async function handleMonitorsGet(key, options) {
2286
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
2286
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2287
2287
  const payload = await client.monitors.get(key);
2288
2288
  const boundPlays = Array.isArray(payload.bound_plays) ? payload.bound_plays : null;
2289
2289
  const dependents = boundPlays ? {
@@ -2291,24 +2291,24 @@ async function handleMonitorsGet(key, options) {
2291
2291
  truncated: payload.consumer_health_truncated === true
2292
2292
  } : await client.monitors.dependents(key);
2293
2293
  const detail = { ...payload, dependents };
2294
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, detail, {
2294
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, detail, {
2295
2295
  json: options.json,
2296
2296
  text: renderMonitorGet(detail)
2297
2297
  });
2298
2298
  }
2299
2299
  async function handleMonitorsTest(key, payload, options) {
2300
2300
  const explicitPayload = parseJsonObjectArg(payload, "<payload>");
2301
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.test(key, explicitPayload);
2301
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.test(key, explicitPayload);
2302
2302
  const text = `Monitor diagnostic for ${key}: ${result.accepted === true ? "accepted" : "rejected"}
2303
2303
  mode: validation_only (no rows written, credits spent, or Plays dispatched)
2304
2304
  persisted rows: ${_nullishCoalesce(asFiniteNumber(result.persisted_rows), () => ( 0))}
2305
2305
  dispatched bound Plays: ${_nullishCoalesce(asFiniteNumber(result.dispatched_bound_plays), () => ( 0))}
2306
2306
  `;
2307
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2307
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2308
2308
  }
2309
2309
  async function handleMonitorsValidate(key, options) {
2310
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.validate(key);
2311
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2310
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.validate(key);
2311
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: options.json });
2312
2312
  if (result.valid === false) process.exitCode = 7;
2313
2313
  }
2314
2314
  async function confirmMonitorDelete(key) {
@@ -2326,14 +2326,14 @@ async function confirmMonitorDelete(key) {
2326
2326
  }
2327
2327
  }
2328
2328
  async function handleMonitorsDelete(key, options) {
2329
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
2329
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2330
2330
  if (options.dryRun) {
2331
2331
  const payload2 = await client.monitors.delete(key, { dryRun: true });
2332
2332
  assertMonitorDryRunAcknowledged(payload2, {
2333
2333
  command: "deepline monitors delete",
2334
2334
  mutation: "delete"
2335
2335
  });
2336
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload2, {
2336
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload2, {
2337
2337
  json: options.json,
2338
2338
  text: renderMonitorDeletePlan(payload2, key)
2339
2339
  });
@@ -2353,7 +2353,7 @@ async function handleMonitorsDelete(key, options) {
2353
2353
  }
2354
2354
  }
2355
2355
  const payload = await client.monitors.delete(key);
2356
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2356
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2357
2357
  }
2358
2358
  async function handleMonitorsUpdate(key, patch, options) {
2359
2359
  const body = resolveMonitorJsonBody({
@@ -2362,25 +2362,25 @@ async function handleMonitorsUpdate(key, patch, options) {
2362
2362
  argLabel: "<patch>",
2363
2363
  command: `deepline monitors update ${key}`
2364
2364
  });
2365
- const payload = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.update(key, body);
2366
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2365
+ const payload = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.update(key, body);
2366
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2367
2367
  }
2368
2368
  async function handleMonitorsReactivate(key, options) {
2369
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
2369
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2370
2370
  if (options.dryRun) {
2371
2371
  const payload2 = await client.monitors.reactivate(key, { dryRun: true });
2372
2372
  assertMonitorDryRunAcknowledged(payload2, {
2373
2373
  command: "deepline monitors reactivate",
2374
2374
  mutation: "reactivate"
2375
2375
  });
2376
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload2, {
2376
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload2, {
2377
2377
  json: options.json,
2378
2378
  text: renderMonitorReactivatePlan(payload2, key)
2379
2379
  });
2380
2380
  return;
2381
2381
  }
2382
2382
  const payload = await client.monitors.reactivate(key);
2383
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2383
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2384
2384
  }
2385
2385
  var MONITOR_VERB_POLL_INTERVAL_MS = 2e3;
2386
2386
  function monitorHealthLine(health) {
@@ -2502,7 +2502,7 @@ function monitorHealthText(health) {
2502
2502
  `;
2503
2503
  }
2504
2504
  async function handleMonitorsAudit(options) {
2505
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
2505
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2506
2506
  const fleetId = _optionalChain([options, 'access', _94 => _94.fleet, 'optionalAccess', _95 => _95.trim, 'call', _96 => _96()]) || void 0;
2507
2507
  const scope = fleetId ? { fleetId } : {};
2508
2508
  let result = await client.monitors.audit(scope);
@@ -2546,7 +2546,7 @@ async function handleMonitorsAudit(options) {
2546
2546
  "",
2547
2547
  monitorHealthText(health)
2548
2548
  ].join("\n");
2549
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
2549
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2550
2550
  { ...result, audit: { ...result.audit, totals }, health },
2551
2551
  { json: options.json, text }
2552
2552
  );
@@ -2559,10 +2559,10 @@ async function handleMonitorsRepair(options) {
2559
2559
  }
2560
2560
  async function handleMonitorsHealth(options) {
2561
2561
  const fleetId = _optionalChain([options, 'access', _100 => _100.fleet, 'optionalAccess', _101 => _101.trim, 'call', _102 => _102()]) || void 0;
2562
- const health = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.health(
2562
+ const health = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.health(
2563
2563
  fleetId ? { fleetId } : {}
2564
2564
  );
2565
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, health, {
2565
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, health, {
2566
2566
  json: options.json,
2567
2567
  text: monitorHealthText(health)
2568
2568
  });
@@ -2636,14 +2636,14 @@ async function handleMonitorBatchDeploy(options) {
2636
2636
  "deploy",
2637
2637
  options.idempotencyKey
2638
2638
  );
2639
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batch.submit({
2639
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batch.submit({
2640
2640
  kind: "deploy",
2641
2641
  manifestNdjson,
2642
2642
  dryRun: options.dryRun === true,
2643
2643
  idempotencyKey
2644
2644
  });
2645
2645
  const operation = result.operation;
2646
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
2646
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2647
2647
  { ...result, idempotency_key: idempotencyKey },
2648
2648
  {
2649
2649
  json: options.json,
@@ -2671,7 +2671,7 @@ async function handleMonitorBatch(kind, options) {
2671
2671
  kind,
2672
2672
  options.idempotencyKey
2673
2673
  );
2674
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batch.submit({
2674
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batch.submit({
2675
2675
  kind,
2676
2676
  scope,
2677
2677
  dryRun: options.dryRun === true,
@@ -2684,14 +2684,14 @@ async function handleMonitorBatch(kind, options) {
2684
2684
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2685
2685
  `inspect: deepline monitors batch get ${operation.runId}`
2686
2686
  ].join("\n");
2687
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
2687
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2688
2688
  { ...result, idempotency_key: idempotencyKey },
2689
2689
  { json: options.json, text: `${text}
2690
2690
  ` }
2691
2691
  );
2692
2692
  }
2693
2693
  async function handleMonitorBatchGet(operationId, options) {
2694
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().monitors.batch.get(operationId, {
2694
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().monitors.batch.get(operationId, {
2695
2695
  ...options.cursor ? { cursor: options.cursor } : {}
2696
2696
  });
2697
2697
  const summary = _nullishCoalesce(result.operation.summary, () => ( {}));
@@ -2703,7 +2703,7 @@ async function handleMonitorBatchGet(operationId, options) {
2703
2703
  `results ${result.results.page.length}${result.results.isDone ? "" : " (more; pass --cursor)"}`
2704
2704
  ] : []
2705
2705
  ].join("\n");
2706
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2706
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2707
2707
  ` });
2708
2708
  }
2709
2709
  function registerMonitorsCommands(program) {