deepline 0.3.461 → 0.3.462

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 (296) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7593 -0
  2. package/dist/bundling-sources/sdk/src/client.ts +8 -7366
  3. package/dist/bundling-sources/sdk/src/http-core.ts +1239 -0
  4. package/dist/bundling-sources/sdk/src/http.ts +6 -1231
  5. package/dist/bundling-sources/sdk/src/index.ts +4 -1
  6. package/dist/bundling-sources/sdk/src/play.ts +5 -5
  7. package/dist/bundling-sources/sdk/src/plays/client-core.ts +437 -0
  8. package/dist/bundling-sources/sdk/src/plays/client.ts +4 -421
  9. package/dist/bundling-sources/sdk/src/plays/input-example.ts +3 -4
  10. package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
  12. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  13. package/dist/bundling-sources/sdk/src/server.ts +43 -0
  14. package/dist/bundling-sources/sdk/src/types.ts +15 -5
  15. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +15 -0
  16. package/dist/bundling-sources/shared_libs/monitors/callback-security.ts +0 -307
  17. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +3 -0
  18. package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +3 -2
  19. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  20. package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +34 -0
  21. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +59 -0
  22. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +94 -1
  23. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +11 -1
  24. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-failure-codes.ts +24 -0
  25. package/dist/bundling-sources/shared_libs/observability/dlq.ts +32 -0
  26. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +57 -3
  27. package/dist/bundling-sources/shared_libs/observability/scheduled-work.ts +1 -0
  28. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +66 -1
  29. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +36 -7
  30. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +250 -11
  31. package/dist/bundling-sources/shared_libs/play-runtime/array-input-store.ts +319 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +991 -359
  33. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +17 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +13 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +110 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +155 -6
  37. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +110 -6
  38. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +127 -13
  39. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +14 -1
  40. package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +57 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/free-company-lookup-batching.ts +218 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +42 -5
  43. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-budget-state-backend.ts +6 -1
  44. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +92 -31
  45. package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +69 -14
  46. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +93 -23
  47. package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +15 -4
  48. package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +22 -18
  49. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +5 -0
  50. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
  51. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +190 -14
  52. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +131 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +77 -2
  54. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +271 -2
  55. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +51 -0
  56. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -0
  57. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +27 -1
  58. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  59. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -0
  60. package/dist/bundling-sources/shared_libs/play-runtime/provider-text-for-log.ts +63 -0
  61. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
  62. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +112 -16
  63. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +104 -2
  64. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +265 -151
  65. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-gateway-transport.ts +17 -0
  66. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +35 -14
  67. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-sheet-persistence-retry.ts +12 -1
  68. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-control-transport.ts +4 -0
  69. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-labels.ts +36 -0
  70. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +136 -70
  71. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +237 -36
  72. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +148 -4
  73. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +6 -0
  74. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +285 -32
  75. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +251 -56
  76. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +29 -4
  77. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +27 -0
  78. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +22 -1
  79. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1397 -382
  80. package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +920 -0
  81. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +16 -0
  82. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +38 -0
  83. package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +6 -0
  84. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +26 -1
  85. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +30 -0
  86. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +14 -3
  87. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +31 -4
  88. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +47 -0
  89. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +20 -7
  90. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +12 -0
  91. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +9 -0
  92. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +10 -0
  93. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -0
  94. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1496 -320
  95. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +31 -1
  96. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1389 -129
  97. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +36 -0
  98. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +4 -0
  99. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +162 -23
  100. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +499 -115
  101. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +377 -9
  102. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +117 -8
  103. package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +25 -0
  104. package/dist/bundling-sources/shared_libs/play-runtime/terminal-runtime-performance.ts +391 -0
  105. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +40 -0
  106. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/index.ts +6 -0
  107. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/mapped-calls.ts +171 -0
  108. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +16 -1
  109. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +26 -3
  110. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +16 -2
  111. package/dist/bundling-sources/shared_libs/play-runtime/transport-error-diagnostics.ts +28 -0
  112. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +55 -5
  113. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +41 -1
  114. package/dist/bundling-sources/shared_libs/plays/contracts.ts +4 -0
  115. package/dist/bundling-sources/shared_libs/plays/dataset.ts +9 -3
  116. package/dist/bundling-sources/shared_libs/plays/deploy/manifest-contract.ts +2 -0
  117. package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +3 -2
  118. package/dist/bundling-sources/shared_libs/plays/deploy/project-serializer.ts +2 -2
  119. package/dist/bundling-sources/shared_libs/plays/run-output-summary.ts +66 -0
  120. package/dist/bundling-sources/shared_libs/plays/script-entry.ts +1 -1
  121. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +43 -1
  122. package/dist/bundling-sources/shared_libs/product-notifications/content.ts +9 -0
  123. package/dist/bundling-sources/shared_libs/product-notifications/email.ts +91 -13
  124. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +3 -0
  125. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +41 -24
  126. package/dist/bundling-sources/shared_libs/security/attested-client-ip.ts +91 -0
  127. package/dist/bundling-sources/shared_libs/security/internal-actor.ts +0 -11
  128. package/dist/cli/{auth-6HJXNWUG.mjs → auth-JDLEY7VU.mjs} +5 -4
  129. package/dist/cli/auth-UXKY6TCC.js +41 -0
  130. package/dist/cli/{billing-6P5HO6QG.js → billing-HXAXB3XZ.js} +152 -78
  131. package/dist/cli/{billing-MJ42N7YF.mjs → billing-SDHLBLMV.mjs} +84 -10
  132. package/dist/cli/{chunk-5MDIZX7M.js → chunk-3ACMRZRV.js} +8 -6
  133. package/dist/cli/{chunk-FGLKOWSC.mjs → chunk-3KZCFOZ6.mjs} +1 -1
  134. package/dist/cli/chunk-4KQ6SIBC.mjs +1038 -0
  135. package/dist/cli/{chunk-Z2GUFYT6.js → chunk-5LEAXRHV.js} +11 -11
  136. package/dist/cli/{chunk-MEAIOXJL.mjs → chunk-6NNVJDVR.mjs} +7 -5
  137. package/dist/cli/{chunk-NMJ4D2WO.js → chunk-6PMCRYDA.js} +216 -91
  138. package/dist/cli/{chunk-RY4IVOU3.mjs → chunk-6RNQGWFD.mjs} +16 -806
  139. package/dist/cli/{chunk-EBU7LQ64.js → chunk-6V7KVRR5.js} +3 -3
  140. package/dist/cli/{chunk-OZBWRICM.js → chunk-7LFIMWMW.js} +2 -2
  141. package/dist/cli/chunk-7MJ6VI2T.mjs +19 -0
  142. package/dist/cli/chunk-7SWNPNML.js +1039 -0
  143. package/dist/cli/{chunk-IHHLTHE7.mjs → chunk-7U3XNPOA.mjs} +267 -38
  144. package/dist/cli/{chunk-5FDKJQZE.js → chunk-7VZHXVOQ.js} +1 -1
  145. package/dist/cli/{chunk-R64BGGRQ.mjs → chunk-AT636LLU.mjs} +2 -2
  146. package/dist/cli/{chunk-MDJPEGVN.js → chunk-BGTPIMSM.js} +392 -261
  147. package/dist/cli/{chunk-KVJ5VHW5.mjs → chunk-CKSOY47X.mjs} +2 -2
  148. package/dist/cli/{chunk-7DH2FD7Y.mjs → chunk-D464JW3N.mjs} +5 -85
  149. package/dist/cli/chunk-D6DXOUTO.mjs +827 -0
  150. package/dist/cli/{describe-2WQY7ZCY.js → chunk-EM4TXCCI.js} +27 -44
  151. package/dist/cli/chunk-F6QV42MC.mjs +91 -0
  152. package/dist/cli/chunk-FKVYR3QA.mjs +1039 -0
  153. package/dist/cli/{chunk-FGMX4HUZ.js → chunk-GEGW5HPZ.js} +29 -27
  154. package/dist/cli/{chunk-TNMBPMMC.js → chunk-HUB3CCM2.js} +13 -4
  155. package/dist/cli/{chunk-ACCR7POB.js → chunk-I6VHOU5O.js} +27 -27
  156. package/dist/cli/{chunk-Z2XUZC34.js → chunk-IAYSWZDJ.js} +188 -76
  157. package/dist/cli/chunk-JF3TLIMQ.js +19 -0
  158. package/dist/cli/{chunk-HDFRJ4IT.mjs → chunk-JVHOS3K3.mjs} +177 -65
  159. package/dist/cli/{chunk-V7REJRDZ.mjs → chunk-LFXLQEZN.mjs} +1 -1
  160. package/dist/cli/{chunk-CRYOUPEB.js → chunk-LROWFPGN.js} +16 -16
  161. package/dist/cli/{chunk-SLEUWLJE.mjs → chunk-MSY22NQW.mjs} +5 -5
  162. package/dist/cli/{chunk-BGY2PLP7.mjs → chunk-MUUQZIOF.mjs} +23 -49
  163. package/dist/cli/{chunk-FCAZQ7WV.js → chunk-NBLSCHKK.js} +52 -50
  164. package/dist/cli/{chunk-QAJAJPKK.mjs → chunk-NHRWZPWZ.mjs} +4 -2
  165. package/dist/cli/{chunk-KXMNM4AQ.js → chunk-NMU3VR5U.js} +4 -5
  166. package/dist/cli/{chunk-QIW7TVV6.mjs → chunk-O2RX5A66.mjs} +14 -12
  167. package/dist/cli/{chunk-SAZFZQRI.js → chunk-OMQ23IXL.js} +2 -2
  168. package/dist/cli/{chunk-5IYOUBFZ.js → chunk-OPJAJBD4.js} +28 -54
  169. package/dist/cli/{chunk-FJZILBL7.mjs → chunk-PHSEINNH.mjs} +5 -5
  170. package/dist/cli/{chunk-3DNKFH2G.mjs → chunk-PKHVSIJG.mjs} +19 -1
  171. package/dist/cli/{chunk-WIYWSYDS.mjs → chunk-Q2EIZKVX.mjs} +3 -3
  172. package/dist/cli/{chunk-5FY72YOV.js → chunk-QJZ6WNWD.js} +8 -8
  173. package/dist/cli/{chunk-EIMG75BT.mjs → chunk-S3A4IXBQ.mjs} +4 -5
  174. package/dist/cli/{chunk-3BMLICF7.mjs → chunk-S42YIQNE.mjs} +13 -8
  175. package/dist/cli/{chunk-RFONC4WJ.mjs → chunk-S6UAJR6V.mjs} +3 -3
  176. package/dist/cli/{chunk-G7L27KZB.mjs → chunk-TKAQR3IB.mjs} +31 -21
  177. package/dist/cli/{chunk-QWRHGGUH.js → chunk-UAJFWWZE.js} +20 -2
  178. package/dist/cli/{chunk-VZBCEA5S.mjs → chunk-UDRPEZ5F.mjs} +223 -92
  179. package/dist/cli/{chunk-KCCOQ5G5.js → chunk-ULK7JGGI.js} +511 -282
  180. package/dist/cli/chunk-V335HGX5.js +1038 -0
  181. package/dist/cli/{chunk-MGXEUZHL.mjs → chunk-V3MEA7NB.mjs} +7 -5
  182. package/dist/cli/{chunk-O6QOMHCH.js → chunk-VFGVXXZP.js} +37 -35
  183. package/dist/cli/chunk-VLEVVDWG.js +91 -0
  184. package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-VPHN2HAL.mjs} +216 -91
  185. package/dist/cli/{chunk-CFUTOWE4.js → chunk-WG3KGAII.js} +8 -88
  186. package/dist/cli/{describe-FRAVCY5F.mjs → chunk-WIY6U6GD.mjs} +19 -36
  187. package/dist/cli/{chunk-PNATXKLP.js → chunk-XANRM3QA.js} +6 -6
  188. package/dist/cli/{chunk-KGQNIA37.js → chunk-XQCTG5OO.js} +44 -34
  189. package/dist/cli/{chunk-T3MVIPHG.mjs → chunk-XZAFIOUQ.mjs} +1 -1
  190. package/dist/cli/chunk-Y4DPU4OM.js +827 -0
  191. package/dist/cli/chunk-YT5EODJO.js +920 -0
  192. package/dist/cli/{chunk-SCIR5JXW.js → chunk-ZGQSFYD2.js} +56 -51
  193. package/dist/cli/{chunk-QEYHTIV4.mjs → chunk-ZUK6LIJB.mjs} +10 -1
  194. package/dist/cli/command-docs.d.mts +5 -0
  195. package/dist/cli/command-docs.d.ts +5 -0
  196. package/dist/cli/command-docs.js +2 -2
  197. package/dist/cli/command-docs.mjs +1 -1
  198. package/dist/cli/{csv-NX7NO3O6.js → csv-C56GSCEU.js} +13 -12
  199. package/dist/cli/{csv-DQ6GW5B5.mjs → csv-L54JS7TF.mjs} +4 -3
  200. package/dist/cli/{db-R72DFMP6.js → db-MOGRMZTA.js} +30 -27
  201. package/dist/cli/{db-2YP33M4K.mjs → db-YVBUW2DX.mjs} +10 -7
  202. package/dist/cli/describe-KYEULWPG.js +48 -0
  203. package/dist/cli/describe-NLZKKT7C.mjs +48 -0
  204. package/dist/cli/describe-core.d.mts +153 -5
  205. package/dist/cli/describe-core.d.ts +153 -5
  206. package/dist/cli/describe-core.js +9 -5
  207. package/dist/cli/describe-core.mjs +10 -6
  208. package/dist/cli/{executions-ZLHD4QIT.js → executions-A7L4ULPP.js} +9 -7
  209. package/dist/cli/{executions-WFBU7L2Q.mjs → executions-ZBGSTT37.mjs} +7 -5
  210. package/dist/cli/{feedback-CN3HJFVF.mjs → feedback-G6GU37FD.mjs} +6 -5
  211. package/dist/cli/{feedback-NDV6TPHG.js → feedback-OHLY7RYD.js} +10 -9
  212. package/dist/cli/getting-started.d.mts +6 -6
  213. package/dist/cli/getting-started.d.ts +6 -6
  214. package/dist/cli/getting-started.js +2 -2
  215. package/dist/cli/getting-started.mjs +1 -1
  216. package/dist/cli/git-P76N4NDQ.js +25 -0
  217. package/dist/cli/{git-QAD6E3HW.mjs → git-PKZW3QD5.mjs} +5 -4
  218. package/dist/cli/index.js +152 -142
  219. package/dist/cli/index.mjs +56 -46
  220. package/dist/cli/{legacy-noops-KVC5QJ74.js → legacy-noops-5LM3D724.js} +8 -7
  221. package/dist/cli/{legacy-noops-TPTKNBI2.mjs → legacy-noops-LJJYG6YA.mjs} +5 -4
  222. package/dist/cli/{monitors-SV57JFLO.mjs → monitors-72QV4ALO.mjs} +19 -6
  223. package/dist/cli/{monitors-KCROV6PJ.js → monitors-UX3H5DC2.js} +103 -90
  224. package/dist/cli/{org-KX6QIR7A.mjs → org-6RRRKOCP.mjs} +9 -6
  225. package/dist/cli/{org-NJYX5743.js → org-IF7ISUVB.js} +70 -67
  226. package/dist/cli/pages-3SU3HKL7.js +252 -0
  227. package/dist/cli/pages-DXDYYKEK.mjs +252 -0
  228. package/dist/cli/{play-IQQ57L7Z.mjs → play-AHASKRLA.mjs} +512 -1508
  229. package/dist/cli/{play-32L7EQN4.js → play-EUIUVLUH.js} +1090 -2086
  230. package/dist/cli/{providers-4WEC2EQN.mjs → providers-GWGE3WY3.mjs} +7 -5
  231. package/dist/cli/{providers-ZQV6QLVQ.js → providers-V5WU4VXJ.js} +10 -8
  232. package/dist/cli/{quickstart-RQ76RIUE.mjs → quickstart-OXKQ5ZST.mjs} +5 -4
  233. package/dist/cli/{quickstart-HKUSFADF.js → quickstart-QP65I5PF.js} +13 -12
  234. package/dist/cli/run-6MM72IGL.mjs +443 -0
  235. package/dist/cli/run-F3FTYS56.js +443 -0
  236. package/dist/cli/search-OYKOOI7A.js +32 -0
  237. package/dist/cli/{search-ZRAVFBZC.mjs → search-ZMEBVJZB.mjs} +8 -6
  238. package/dist/cli/{secrets-J3G5Y43U.js → secrets-ACND5N6A.js} +16 -14
  239. package/dist/cli/{secrets-CMJOVNVH.mjs → secrets-XRCJFF3L.mjs} +7 -5
  240. package/dist/cli/{sessions-MDQYY5CB.mjs → sessions-RTK3CEW6.mjs} +5 -4
  241. package/dist/cli/{sessions-WY7VN4AE.js → sessions-ZGRJPCFF.js} +6 -5
  242. package/dist/cli/{settings-HTNTFKCE.js → settings-PD5KWQQZ.js} +80 -77
  243. package/dist/cli/{settings-4RWZPCT5.mjs → settings-XDRBPRDE.mjs} +14 -11
  244. package/dist/cli/{setup-P3GYYZWG.mjs → setup-3HPYAOCC.mjs} +12 -10
  245. package/dist/cli/{setup-QGCAP62X.js → setup-E2Q6PXHC.js} +53 -51
  246. package/dist/cli/{skills-7NAE4ICL.mjs → skills-OOQFMPOV.mjs} +7 -6
  247. package/dist/cli/skills-XYWV52KB.js +31 -0
  248. package/dist/cli/tools-ASCDZJCK.js +55 -0
  249. package/dist/cli/tools-C5ZT3UIC.mjs +55 -0
  250. package/dist/cli/update-5RQSEIFM.js +33 -0
  251. package/dist/cli/{update-GODLRKNB.mjs → update-ZWJTADIW.mjs} +9 -8
  252. package/dist/cli/{workflow-4BXOUVEO.mjs → workflow-23NMPAJ7.mjs} +10 -8
  253. package/dist/cli/{workflow-AO3A6LXN.js → workflow-TCXU5YJV.js} +20 -18
  254. package/dist/client-DS2IWYZF.d.ts +10 -0
  255. package/dist/client-DTwnz_AW.d.mts +10 -0
  256. package/dist/{client-CYqG23K1.d.ts → client-core-B_6HAIBy.d.ts} +385 -12
  257. package/dist/{client-BbU5_j7n.d.mts → client-core-DzBSlY1U.d.mts} +385 -12
  258. package/dist/{compiler-manifest-CWz_sNOQ.d.ts → compiler-manifest-Dcyd3-Zd.d.mts} +43 -1
  259. package/dist/{compiler-manifest-CWz_sNOQ.d.mts → compiler-manifest-Dcyd3-Zd.d.ts} +43 -1
  260. package/dist/errors-d-sTrZhe.d.mts +142 -0
  261. package/dist/errors-yQwfgrcX.d.ts +142 -0
  262. package/dist/{index-BF2JB_Ug.d.mts → index-C6oXchjN.d.mts} +1 -1
  263. package/dist/{index-4NPXDzlD.d.ts → index-P56zy_z5.d.ts} +1 -1
  264. package/dist/index.d.mts +11 -147
  265. package/dist/index.d.ts +11 -147
  266. package/dist/index.js +15 -11
  267. package/dist/index.mjs +14 -10
  268. package/dist/install-integrity.json +141 -104
  269. package/dist/plays/bundle-play-file.d.mts +3 -3
  270. package/dist/plays/bundle-play-file.d.ts +3 -3
  271. package/dist/plays/bundle-play-file.mjs +2 -1
  272. package/dist/plays/play-description.d.mts +2 -2
  273. package/dist/plays/play-description.d.ts +2 -2
  274. package/dist/plays/play-description.js +2 -2
  275. package/dist/plays/play-description.mjs +1 -1
  276. package/dist/plays/run-request.d.mts +2 -2
  277. package/dist/plays/run-request.d.ts +2 -2
  278. package/dist/release.d.mts +1 -1
  279. package/dist/release.d.ts +1 -1
  280. package/dist/release.js +2 -2
  281. package/dist/release.mjs +1 -1
  282. package/dist/server.d.mts +17 -0
  283. package/dist/server.d.ts +17 -0
  284. package/dist/server.js +76 -0
  285. package/dist/server.mjs +76 -0
  286. package/package.json +6 -1
  287. package/dist/cli/auth-IACERYQH.js +0 -40
  288. package/dist/cli/chunk-PQUUWFXY.js +0 -95
  289. package/dist/cli/chunk-YBWAG72P.mjs +0 -95
  290. package/dist/cli/chunk-YQDUODZW.js +0 -1710
  291. package/dist/cli/git-JVI36ZFV.js +0 -24
  292. package/dist/cli/search-75X5LTDE.js +0 -30
  293. package/dist/cli/skills-BKJ53JOQ.js +0 -30
  294. package/dist/cli/tools-COWMIEJ6.mjs +0 -45
  295. package/dist/cli/tools-TASOCE7I.js +0 -45
  296. package/dist/cli/update-SJIKVME6.js +0 -32
@@ -1,10 +1,11 @@
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 _chunkMDJPEGVNjs = require('./chunk-MDJPEGVN.js');
4
+ var _chunkJF3TLIMQjs = require('./chunk-JF3TLIMQ.js');
5
+ require('./chunk-BGTPIMSM.js');
5
6
  require('./chunk-E4CABWXL.js');
6
7
  require('./chunk-JKVRBCZL.js');
7
- require('./chunk-KXMNM4AQ.js');
8
+ require('./chunk-NMU3VR5U.js');
8
9
  require('./chunk-XDVT3GOM.js');
9
10
 
10
11
 
@@ -16,14 +17,15 @@ require('./chunk-UNEMDKXN.js');
16
17
  var _chunkIF75RD6Ujs = require('./chunk-IF75RD6U.js');
17
18
 
18
19
 
19
- var _chunkTNMBPMMCjs = require('./chunk-TNMBPMMC.js');
20
+ var _chunkHUB3CCM2js = require('./chunk-HUB3CCM2.js');
20
21
 
21
22
 
22
23
 
23
24
 
24
25
 
25
- var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
26
- require('./chunk-YQDUODZW.js');
26
+ var _chunk3ACMRZRVjs = require('./chunk-3ACMRZRV.js');
27
+ require('./chunk-Y4DPU4OM.js');
28
+ require('./chunk-YT5EODJO.js');
27
29
 
28
30
 
29
31
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -31,7 +33,7 @@ require('./chunk-XNYIZMNQ.js');
31
33
 
32
34
 
33
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
34
- require('./chunk-5FDKJQZE.js');
36
+ require('./chunk-7VZHXVOQ.js');
35
37
  require('./chunk-OG64RBAC.js');
36
38
  require('./chunk-COGTRVWW.js');
37
39
 
@@ -109,10 +111,10 @@ function reportMonitorsFailure(error, options) {
109
111
  const exitCode = monitorsErrorExitCode(error);
110
112
  const next = monitorsFailureNextCommand(error, exitCode, options);
111
113
  const retrySafe = exitCode === 5 && _optionalChain([options, 'optionalAccess', _9 => _9.retryCommand]) !== void 0;
112
- const wantsJson = _chunk5MDIZX7Mjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
114
+ const wantsJson = _chunk3ACMRZRVjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
113
115
  if (wantsJson) {
114
- const payload = _chunk5MDIZX7Mjs.errorToJsonPayload.call(void 0, error);
115
- _chunk5MDIZX7Mjs.printJson.call(void 0, {
116
+ const payload = _chunk3ACMRZRVjs.errorToJsonPayload.call(void 0, error);
117
+ _chunk3ACMRZRVjs.printJson.call(void 0, {
116
118
  ok: false,
117
119
  exitCode,
118
120
  ...next ? { next } : {},
@@ -527,14 +529,14 @@ Preview the plan first with:
527
529
  );
528
530
  }
529
531
  async function handleMonitorsStatus(options) {
530
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.status();
532
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.status();
531
533
  const hasAccess = payload.has_access === true;
532
534
  const reason = typeof payload.reason === "string" && payload.reason.trim() ? payload.reason.trim() : void 0;
533
535
  const text = hasAccess ? `\u2713 You have access to Deepline Monitors${reason ? `
534
536
  ${reason}` : ""}
535
537
  ` : `\u2717 No access to Deepline Monitors${reason ? ` \u2014 ${reason}` : ""}
536
538
  `;
537
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
539
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
538
540
  { has_access: hasAccess, ...reason ? { reason } : {} },
539
541
  { json: options.json, text }
540
542
  );
@@ -600,14 +602,14 @@ async function handleMonitorsAvailable(toolId, options) {
600
602
  }
601
603
  }
602
604
  const tool = _nullishCoalesce(toolId, () => ( options.tool));
603
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.available(tool, {
605
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.available(tool, {
604
606
  ...options.provider ? { provider: options.provider } : {},
605
607
  ...options.search ? { search: options.search } : {},
606
608
  ...options.limit ? { limit: options.limit } : {},
607
609
  ...options.full ? { full: true } : {},
608
610
  ...options.compact ? { compact: true } : {}
609
611
  });
610
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
612
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
611
613
  json: options.json,
612
614
  // Human list view shows id + name + deployed_count ("deployed: N") so
613
615
  // can-deploy vs already-deployed is visible in one view. Describing a
@@ -710,14 +712,14 @@ async function handleMonitorsList(options) {
710
712
  "`--compact` is deprecated and now does nothing; returning the complete monitor records.\n"
711
713
  );
712
714
  }
713
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.list({
715
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.list({
714
716
  ...state ? { state } : {},
715
717
  ...options.status ? { status: options.status } : {},
716
718
  ...options.limit ? { limit: options.limit } : {},
717
719
  ...options.cursor ? { cursor: options.cursor } : {},
718
720
  ...options.includeConsumers ? { includeConsumers: true } : {}
719
721
  });
720
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
722
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
721
723
  json: options.json,
722
724
  text: renderDeployedListText(
723
725
  payload,
@@ -733,10 +735,10 @@ async function handleMonitorsCheck(definition, options) {
733
735
  argLabel: "<definition>",
734
736
  command: "deepline monitors check"
735
737
  });
736
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.check(
738
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.check(
737
739
  body
738
740
  );
739
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
741
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
740
742
  }
741
743
  function previewText(value) {
742
744
  return typeof value === "string" && value.trim() ? value.trim() : "-";
@@ -794,22 +796,22 @@ async function handleMonitorsPreview(definition, options) {
794
796
  if (limit !== void 0 && !Number.isInteger(limit)) {
795
797
  throw new MonitorsUsageError("--limit must be a whole number from 1 to 3.");
796
798
  }
797
- const wantsJson = _chunk5MDIZX7Mjs.shouldEmitJson.call(void 0, options.json);
799
+ const wantsJson = _chunk3ACMRZRVjs.shouldEmitJson.call(void 0, options.json);
798
800
  if (options.idempotencyKey === void 0 && wantsJson) {
799
801
  throw new MonitorsUsageError(
800
802
  "--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."
801
803
  );
802
804
  }
803
805
  const idempotencyKey = _nullishCoalesce(options.idempotencyKey, () => ( `monitor-preview-${_crypto.randomUUID.call(void 0, )}`));
804
- const progress = _chunkTNMBPMMCjs.createCliProgress.call(void 0, !wantsJson);
806
+ const progress = _chunkHUB3CCM2js.createCliProgress.call(void 0, !wantsJson);
805
807
  progress.phase(`Preview key: ${idempotencyKey}`);
806
808
  try {
807
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.preview(
809
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.preview(
808
810
  body,
809
811
  { idempotencyKey, ...limit === void 0 ? {} : { limit } }
810
812
  );
811
813
  progress.complete();
812
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
814
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
813
815
  json: options.json,
814
816
  text: renderMonitorPreviewText(payload)
815
817
  });
@@ -854,7 +856,7 @@ async function handleMonitorsDeploy(definition, options) {
854
856
  argLabel: "<definition>",
855
857
  command: "deepline monitors deploy"
856
858
  });
857
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
859
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
858
860
  const definitionArg = body;
859
861
  if (options.dryRun) {
860
862
  const payload2 = await client.monitors.deploy(definitionArg, {
@@ -862,7 +864,7 @@ async function handleMonitorsDeploy(definition, options) {
862
864
  });
863
865
  const valid = payload2.valid !== false;
864
866
  const hasIdentityConflict = Boolean(_optionalChain([asRecord, 'call', _23 => _23(payload2), 'optionalAccess', _24 => _24.identity_conflict]));
865
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
867
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
866
868
  { dry_run: true, ...payload2 },
867
869
  { json: options.json, text: renderMonitorDeployPlan(payload2) }
868
870
  );
@@ -872,7 +874,7 @@ async function handleMonitorsDeploy(definition, options) {
872
874
  return;
873
875
  }
874
876
  const payload = await client.monitors.deploy(definitionArg);
875
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
877
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
876
878
  json: options.json,
877
879
  text: renderMonitorDeployCompletion(payload)
878
880
  });
@@ -884,29 +886,29 @@ async function handleMonitorsSync(definition, options) {
884
886
  argLabel: "<definition>",
885
887
  command: "deepline monitors sync"
886
888
  });
887
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.sync(body, {
889
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.sync(body, {
888
890
  ...options.dryRun ? { dryRun: true } : {},
889
891
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey("scalar-sync", void 0)))
890
892
  });
891
893
  if (options.dryRun) {
892
894
  const plan = payload;
893
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
895
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
894
896
  { dry_run: true, ...plan },
895
897
  { json: options.json, text: renderMonitorDeployPlan(plan) }
896
898
  );
897
899
  return;
898
900
  }
899
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
901
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
900
902
  json: options.json,
901
903
  text: renderMonitorJob(payload)
902
904
  });
903
905
  }
904
906
  async function handleScalarMonitorLifecycle(action, key, options) {
905
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors[action](key, {
907
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors[action](key, {
906
908
  ...options.dryRun ? { dryRun: true } : {},
907
909
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey(`${action}-${key}`, void 0)))
908
910
  });
909
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
911
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
910
912
  json: options.json,
911
913
  text: options.dryRun ? void 0 : renderMonitorJob(payload)
912
914
  });
@@ -995,11 +997,11 @@ async function handleMonitorJobBatchDeploy(options, idempotencyKey) {
995
997
  lint.issues.filter((issue) => issue.severity === "error").map((issue) => `${issue.path || "batch"}: ${issue.message}`).join("; ")
996
998
  );
997
999
  }
998
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batch.deploy(
1000
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batch.deploy(
999
1001
  lint.normalized.monitors,
1000
1002
  { idempotencyKey }
1001
1003
  );
1002
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1004
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1003
1005
  {
1004
1006
  ...payload,
1005
1007
  idempotency_key: idempotencyKey,
@@ -1032,7 +1034,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1032
1034
  );
1033
1035
  }
1034
1036
  if (options.dryRun) {
1035
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1037
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1036
1038
  {
1037
1039
  ok: true,
1038
1040
  dry_run: true,
@@ -1049,7 +1051,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1049
1051
  "sync",
1050
1052
  options.idempotencyKey
1051
1053
  );
1052
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batches.sync(
1054
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batches.sync(
1053
1055
  batchId,
1054
1056
  lint.normalized.monitors,
1055
1057
  {
@@ -1057,14 +1059,14 @@ async function handleNamedMonitorBatchSync(batchId, options) {
1057
1059
  ...parsedGeneration === void 0 ? {} : { expectedGeneration: parsedGeneration }
1058
1060
  }
1059
1061
  );
1060
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1062
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1061
1063
  { ...payload, idempotency_key: idempotencyKey },
1062
1064
  { json: options.json, text: renderMonitorJob(payload) }
1063
1065
  );
1064
1066
  }
1065
1067
  async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
1066
1068
  if (options.dryRun) {
1067
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1069
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1068
1070
  {
1069
1071
  ok: true,
1070
1072
  dry_run: true,
@@ -1080,17 +1082,17 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
1080
1082
  intent,
1081
1083
  options.idempotencyKey
1082
1084
  );
1083
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batches[intent](batchId, {
1085
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batches[intent](batchId, {
1084
1086
  idempotencyKey
1085
1087
  });
1086
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1088
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1087
1089
  { ...payload, idempotency_key: idempotencyKey },
1088
1090
  { json: options.json, text: renderMonitorJob(payload) }
1089
1091
  );
1090
1092
  }
1091
1093
  async function handleNamedMonitorBatchGet(batchId, options) {
1092
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batches.get(batchId);
1093
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
1094
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batches.get(batchId);
1095
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
1094
1096
  json: options.json,
1095
1097
  text: renderMonitorJob(payload)
1096
1098
  });
@@ -1104,7 +1106,7 @@ async function handleMonitorBatchLint(options) {
1104
1106
  const result = _chunkIF75RD6Ujs.lintMonitorBatchInput.call(void 0,
1105
1107
  readMonitorDefinitionsJsonFile(options.file)
1106
1108
  );
1107
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1109
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1108
1110
  {
1109
1111
  ok: !result.issues.some((issue) => issue.severity === "error"),
1110
1112
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1124,7 +1126,7 @@ async function handleMonitorFleetLint(options) {
1124
1126
  const result = _chunkC374C22Yjs.lintMonitorFleetInput.call(void 0,
1125
1127
  readMonitorDefinitionsJsonFile(options.file)
1126
1128
  );
1127
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1129
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1128
1130
  {
1129
1131
  ok: !result.issues.some((issue) => issue.severity === "error"),
1130
1132
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1136,32 +1138,32 @@ async function handleMonitorFleetLint(options) {
1136
1138
  process.exitCode = 2;
1137
1139
  }
1138
1140
  async function handleMonitorJobGet(jobId, options) {
1139
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.jobs.get(jobId);
1140
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
1141
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.jobs.get(jobId);
1142
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
1141
1143
  json: options.json,
1142
1144
  text: renderMonitorJob(payload)
1143
1145
  });
1144
1146
  }
1145
1147
  async function handleMonitorJobWait(jobId, options) {
1146
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1148
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1147
1149
  timeoutMs: fleetTimeoutMs(options.timeout),
1148
1150
  pollIntervalMs: FLEET_POLL_INTERVAL_MS
1149
1151
  });
1150
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
1152
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
1151
1153
  json: options.json,
1152
1154
  text: renderMonitorJob(payload)
1153
1155
  });
1154
1156
  }
1155
1157
  async function handleMonitorJobLogs(jobId, options) {
1156
1158
  const limit = options.limit ? fleetIntegerOption(options.limit, "--limit") : void 0;
1157
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1159
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1158
1160
  ...limit === void 0 ? {} : { limit }
1159
1161
  });
1160
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1162
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1161
1163
  }
1162
1164
  async function handleMonitorJobCancel(jobId, options) {
1163
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1164
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, {
1165
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1166
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, {
1165
1167
  json: options.json,
1166
1168
  text: renderMonitorJob(payload)
1167
1169
  });
@@ -1450,6 +1452,17 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1450
1452
  `Deactivate fleet ${fleetId} \u2014 plan only, nothing changed`,
1451
1453
  ` would deactivate ${_nullishCoalesce(asFiniteNumber(radius.monitors), () => ( 0))} monitors \xB7 ${_nullishCoalesce(asFiniteNumber(radius.accounts), () => ( 0))} accounts`
1452
1454
  ];
1455
+ if (payload.already === true) {
1456
+ lines.push(" already deactivated or deactivating; no new drain starts");
1457
+ }
1458
+ const plan = Object.entries(_nullishCoalesce(asRecord(radius.plan), () => ( {}))).filter(
1459
+ ([, count]) => (_nullishCoalesce(asFiniteNumber(count), () => ( 0))) > 0
1460
+ );
1461
+ if (plan.length > 0) {
1462
+ lines.push(
1463
+ ` plan ${plan.map(([name, count]) => `${name.replaceAll("_", " ")} ${String(count)}`).join(" \xB7 ")}`
1464
+ );
1465
+ }
1453
1466
  const note = asString(payload.note);
1454
1467
  if (note) lines.push(` ${note}`);
1455
1468
  lines.push(
@@ -1459,7 +1472,7 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1459
1472
  `;
1460
1473
  }
1461
1474
  function reportFleetState(payload, error, options) {
1462
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1475
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1463
1476
  {
1464
1477
  ...payload,
1465
1478
  code: error.code,
@@ -1574,7 +1587,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1574
1587
  _fs.writeFileSync.call(void 0, file, `${JSON.stringify(definition, null, 2)}
1575
1588
  `, "utf8");
1576
1589
  const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1577
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1590
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1578
1591
  { schemaVersion: 2, file, definition, next },
1579
1592
  {
1580
1593
  json: options.json,
@@ -1636,7 +1649,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1636
1649
  'The Fleet definition has no id. Add a top-level "id" and re-run.'
1637
1650
  );
1638
1651
  }
1639
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
1652
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
1640
1653
  const payload = await client.monitors.fleets.sync(
1641
1654
  _nullishCoalesce(definition, () => ( fleetId)),
1642
1655
  {
@@ -1658,7 +1671,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1658
1671
  }
1659
1672
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1660
1673
  if (!options.wait || options.dryRun) {
1661
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, accepted, {
1674
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, accepted, {
1662
1675
  json: options.json,
1663
1676
  text: renderFleetSync(payload, {
1664
1677
  fleetId,
@@ -1684,7 +1697,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1684
1697
  const status = fleetStatus(final);
1685
1698
  const summary = renderFleetGet(final);
1686
1699
  if (status === "converged") {
1687
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1700
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1688
1701
  return;
1689
1702
  }
1690
1703
  const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
@@ -1717,14 +1730,14 @@ async function handleMonitorFleetsGet(fleetId, options) {
1717
1730
  );
1718
1731
  }
1719
1732
  const limit = options.limit === void 0 ? void 0 : fleetIntegerOption(options.limit, "--limit");
1720
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
1733
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
1721
1734
  const payload = await client.monitors.fleets.get(fleetId, {
1722
1735
  ...options.drift ? { drift: true } : {},
1723
1736
  ...limit !== void 0 ? { limit } : {}
1724
1737
  });
1725
1738
  const text = fleetId ? renderFleetGet(payload) : renderFleetList(payload);
1726
1739
  if (!options.check) {
1727
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1740
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1728
1741
  return;
1729
1742
  }
1730
1743
  const statuses = fleetId ? [fleetStatus(payload)] : (Array.isArray(payload.fleets) ? payload.fleets : []).map(
@@ -1732,7 +1745,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1732
1745
  );
1733
1746
  const unconverged = statuses.filter((status) => status !== "converged");
1734
1747
  if (unconverged.length === 0) {
1735
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1748
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1736
1749
  return;
1737
1750
  }
1738
1751
  const target = _nullishCoalesce(fleetId, () => ( "<fleet-id>"));
@@ -1771,13 +1784,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1771
1784
  ${fleetReactivateCommandLine(fleetId, options)}`
1772
1785
  );
1773
1786
  }
1774
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
1787
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
1775
1788
  const payload = await client.monitors.fleets.reactivate(fleetId, {
1776
1789
  idempotencyKey
1777
1790
  });
1778
1791
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1779
1792
  if (!options.wait) {
1780
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, accepted, {
1793
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, accepted, {
1781
1794
  json: options.json,
1782
1795
  text: `Fleet ${fleetId} \u2014 ${readMonitorState(payload) ? `state ${readMonitorState(payload)}` : "reactivation accepted"}
1783
1796
  idempotency key ${idempotencyKey}
@@ -1800,7 +1813,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1800
1813
  const envelope = { ...accepted, ...final };
1801
1814
  const text = renderFleetGet(final);
1802
1815
  if (fleetStatus(final) === "converged") {
1803
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1816
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1804
1817
  return;
1805
1818
  }
1806
1819
  reportFleetState(
@@ -1842,7 +1855,7 @@ async function confirmFleetDeactivate(fleetId, plan) {
1842
1855
  }
1843
1856
  }
1844
1857
  async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1845
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
1858
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
1846
1859
  if (options.dryRun) {
1847
1860
  const plan = await client.monitors.fleets.deactivate(fleetId, {
1848
1861
  dryRun: true,
@@ -1852,7 +1865,7 @@ async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1852
1865
  command: "deepline monitors fleets deactivate",
1853
1866
  mutation: "fleet deactivate"
1854
1867
  });
1855
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, plan, {
1868
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, plan, {
1856
1869
  json: options.json,
1857
1870
  text: renderFleetDeactivatePlan(plan, fleetId)
1858
1871
  });
@@ -1890,7 +1903,7 @@ Preview the blast radius first:
1890
1903
  });
1891
1904
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1892
1905
  if (payload.already === true) {
1893
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, accepted, {
1906
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, accepted, {
1894
1907
  json: options.json,
1895
1908
  text: `Fleet ${fleetId} is already deactivated.
1896
1909
  `
@@ -1902,7 +1915,7 @@ Preview the blast radius first:
1902
1915
  ` + (fleetServerNext(payload) ? `Next: ${fleetServerNext(payload)}
1903
1916
  ` : "");
1904
1917
  if (!options.wait) {
1905
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, accepted, {
1918
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, accepted, {
1906
1919
  json: options.json,
1907
1920
  text: acceptedText
1908
1921
  });
@@ -1924,7 +1937,7 @@ Preview the blast radius first:
1924
1937
  const envelope = { ...accepted, ...final };
1925
1938
  const summary = renderFleetGet(final);
1926
1939
  if (fleetStatus(final) === "deactivated") {
1927
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1940
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1928
1941
  return;
1929
1942
  }
1930
1943
  reportFleetState(
@@ -1955,7 +1968,7 @@ function handleMonitorFleetsOverview(options) {
1955
1968
  "Agent notes:",
1956
1969
  ...MONITOR_FLEET_AGENT_NOTES.map((note) => ` ${note}`)
1957
1970
  ];
1958
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1971
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
1959
1972
  {
1960
1973
  schemaVersion: 1,
1961
1974
  lifecycle: MONITOR_FLEET_LIFECYCLE,
@@ -2116,7 +2129,7 @@ function renderMonitorGet(payload) {
2116
2129
  `;
2117
2130
  }
2118
2131
  async function handleMonitorsGet(key, options) {
2119
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
2132
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
2120
2133
  const payload = await client.monitors.get(key);
2121
2134
  const boundPlays = Array.isArray(payload.bound_plays) ? payload.bound_plays : null;
2122
2135
  const dependents = boundPlays ? {
@@ -2124,24 +2137,24 @@ async function handleMonitorsGet(key, options) {
2124
2137
  truncated: payload.consumer_health_truncated === true
2125
2138
  } : await client.monitors.dependents(key);
2126
2139
  const detail = { ...payload, dependents };
2127
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, detail, {
2140
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, detail, {
2128
2141
  json: options.json,
2129
2142
  text: renderMonitorGet(detail)
2130
2143
  });
2131
2144
  }
2132
2145
  async function handleMonitorsTest(key, payload, options) {
2133
2146
  const explicitPayload = parseJsonObjectArg(payload, "<payload>");
2134
- const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.test(key, explicitPayload);
2147
+ const result = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.test(key, explicitPayload);
2135
2148
  const text = `Monitor diagnostic for ${key}: ${result.accepted === true ? "accepted" : "rejected"}
2136
2149
  mode: validation_only (no rows written, credits spent, or Plays dispatched)
2137
2150
  persisted rows: ${_nullishCoalesce(asFiniteNumber(result.persisted_rows), () => ( 0))}
2138
2151
  dispatched bound Plays: ${_nullishCoalesce(asFiniteNumber(result.dispatched_bound_plays), () => ( 0))}
2139
2152
  `;
2140
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2153
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2141
2154
  }
2142
2155
  async function handleMonitorsValidate(key, options) {
2143
- const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.validate(key);
2144
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2156
+ const result = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.validate(key);
2157
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2145
2158
  if (result.valid === false) process.exitCode = 7;
2146
2159
  }
2147
2160
  async function confirmMonitorDelete(key) {
@@ -2159,14 +2172,14 @@ async function confirmMonitorDelete(key) {
2159
2172
  }
2160
2173
  }
2161
2174
  async function handleMonitorsDelete(key, options) {
2162
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
2175
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
2163
2176
  if (options.dryRun) {
2164
2177
  const payload2 = await client.monitors.delete(key, { dryRun: true });
2165
2178
  assertMonitorDryRunAcknowledged(payload2, {
2166
2179
  command: "deepline monitors delete",
2167
2180
  mutation: "delete"
2168
2181
  });
2169
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload2, {
2182
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload2, {
2170
2183
  json: options.json,
2171
2184
  text: renderMonitorDeletePlan(payload2, key)
2172
2185
  });
@@ -2186,7 +2199,7 @@ async function handleMonitorsDelete(key, options) {
2186
2199
  }
2187
2200
  }
2188
2201
  const payload = await client.monitors.delete(key);
2189
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2202
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2190
2203
  }
2191
2204
  async function handleMonitorsUpdate(key, patch, options) {
2192
2205
  const body = resolveMonitorJsonBody({
@@ -2195,25 +2208,25 @@ async function handleMonitorsUpdate(key, patch, options) {
2195
2208
  argLabel: "<patch>",
2196
2209
  command: `deepline monitors update ${key}`
2197
2210
  });
2198
- const payload = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.update(key, body);
2199
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2211
+ const payload = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.update(key, body);
2212
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2200
2213
  }
2201
2214
  async function handleMonitorsReactivate(key, options) {
2202
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
2215
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
2203
2216
  if (options.dryRun) {
2204
2217
  const payload2 = await client.monitors.reactivate(key, { dryRun: true });
2205
2218
  assertMonitorDryRunAcknowledged(payload2, {
2206
2219
  command: "deepline monitors reactivate",
2207
2220
  mutation: "reactivate"
2208
2221
  });
2209
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload2, {
2222
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload2, {
2210
2223
  json: options.json,
2211
2224
  text: renderMonitorReactivatePlan(payload2, key)
2212
2225
  });
2213
2226
  return;
2214
2227
  }
2215
2228
  const payload = await client.monitors.reactivate(key);
2216
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2229
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2217
2230
  }
2218
2231
  var MONITOR_VERB_POLL_INTERVAL_MS = 2e3;
2219
2232
  function monitorHealthLine(health) {
@@ -2335,7 +2348,7 @@ function monitorHealthText(health) {
2335
2348
  `;
2336
2349
  }
2337
2350
  async function handleMonitorsAudit(options) {
2338
- const client = new (0, _chunkMDJPEGVNjs.DeeplineClient)();
2351
+ const client = new (0, _chunkJF3TLIMQjs.DeeplineClient)();
2339
2352
  const fleetId = _optionalChain([options, 'access', _75 => _75.fleet, 'optionalAccess', _76 => _76.trim, 'call', _77 => _77()]) || void 0;
2340
2353
  const scope = fleetId ? { fleetId } : {};
2341
2354
  let result = await client.monitors.audit(scope);
@@ -2379,7 +2392,7 @@ async function handleMonitorsAudit(options) {
2379
2392
  "",
2380
2393
  monitorHealthText(health)
2381
2394
  ].join("\n");
2382
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
2395
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
2383
2396
  { ...result, audit: { ...result.audit, totals }, health },
2384
2397
  { json: options.json, text }
2385
2398
  );
@@ -2392,10 +2405,10 @@ async function handleMonitorsRepair(options) {
2392
2405
  }
2393
2406
  async function handleMonitorsHealth(options) {
2394
2407
  const fleetId = _optionalChain([options, 'access', _81 => _81.fleet, 'optionalAccess', _82 => _82.trim, 'call', _83 => _83()]) || void 0;
2395
- const health = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.health(
2408
+ const health = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.health(
2396
2409
  fleetId ? { fleetId } : {}
2397
2410
  );
2398
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, health, {
2411
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, health, {
2399
2412
  json: options.json,
2400
2413
  text: monitorHealthText(health)
2401
2414
  });
@@ -2469,14 +2482,14 @@ async function handleMonitorBatchDeploy(options) {
2469
2482
  "deploy",
2470
2483
  options.idempotencyKey
2471
2484
  );
2472
- const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batch.submit({
2485
+ const result = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batch.submit({
2473
2486
  kind: "deploy",
2474
2487
  manifestNdjson,
2475
2488
  dryRun: options.dryRun === true,
2476
2489
  idempotencyKey
2477
2490
  });
2478
2491
  const operation = result.operation;
2479
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
2492
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
2480
2493
  { ...result, idempotency_key: idempotencyKey },
2481
2494
  {
2482
2495
  json: options.json,
@@ -2504,7 +2517,7 @@ async function handleMonitorBatch(kind, options) {
2504
2517
  kind,
2505
2518
  options.idempotencyKey
2506
2519
  );
2507
- const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batch.submit({
2520
+ const result = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batch.submit({
2508
2521
  kind,
2509
2522
  scope,
2510
2523
  dryRun: options.dryRun === true,
@@ -2517,14 +2530,14 @@ async function handleMonitorBatch(kind, options) {
2517
2530
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2518
2531
  `inspect: deepline monitors batch get ${operation.runId}`
2519
2532
  ].join("\n");
2520
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
2533
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0,
2521
2534
  { ...result, idempotency_key: idempotencyKey },
2522
2535
  { json: options.json, text: `${text}
2523
2536
  ` }
2524
2537
  );
2525
2538
  }
2526
2539
  async function handleMonitorBatchGet(operationId, options) {
2527
- const result = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().monitors.batch.get(operationId, {
2540
+ const result = await new (0, _chunkJF3TLIMQjs.DeeplineClient)().monitors.batch.get(operationId, {
2528
2541
  ...options.cursor ? { cursor: options.cursor } : {}
2529
2542
  });
2530
2543
  const summary = _nullishCoalesce(result.operation.summary, () => ( {}));
@@ -2536,7 +2549,7 @@ async function handleMonitorBatchGet(operationId, options) {
2536
2549
  `results ${result.results.page.length}${result.results.isDone ? "" : " (more; pass --cursor)"}`
2537
2550
  ] : []
2538
2551
  ].join("\n");
2539
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2552
+ _chunk3ACMRZRVjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2540
2553
  ` });
2541
2554
  }
2542
2555
  function registerMonitorsCommands(program) {