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,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkXMKUJ44Zjs = require('./chunk-XMKUJ44Z.js');
3
+ var _chunkSMSQVRHEjs = require('./chunk-SMSQVRHE.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUOANF3DRjs = require('./chunk-UOANF3DR.js');
7
+ var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-RNSHCJME.js');
10
10
  require('./chunk-NMU3VR5U.js');
@@ -13,28 +13,28 @@ require('./chunk-WSGXBROE.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkGINKIZ7Sjs = require('./chunk-GINKIZ7S.js');
17
- require('./chunk-DYHTXGLX.js');
18
- require('./chunk-2S2F6YSI.js');
19
- require('./chunk-QNELA7SX.js');
20
- require('./chunk-QOJBRCAS.js');
16
+ var _chunkA6LA42JYjs = require('./chunk-A6LA42JY.js');
17
+ require('./chunk-6SMR7LU7.js');
18
+ require('./chunk-GRAGUYIE.js');
19
+ require('./chunk-WZSFIJMG.js');
20
+ require('./chunk-MJTK6Q3G.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
25
- require('./chunk-JLYDLK6X.js');
26
- require('./chunk-EUWRKWT4.js');
24
+ var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
25
+ require('./chunk-WBIDPDKJ.js');
26
+ require('./chunk-UJMBG5JU.js');
27
27
  require('./chunk-ALJJRZNJ.js');
28
28
  require('./chunk-XNYIZMNQ.js');
29
29
  require('./chunk-DIAWYWT5.js');
30
- require('./chunk-LA3UYRVZ.js');
30
+ require('./chunk-6JNBMTCZ.js');
31
31
  require('./chunk-OG64RBAC.js');
32
32
  require('./chunk-RLX5ZFNX.js');
33
33
  require('./chunk-COGTRVWW.js');
34
34
 
35
35
  // src/cli/commands/settings.ts
36
36
  var _fs = require('fs');
37
- var eventHelp = _chunkUOANF3DRjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
37
+ var eventHelp = _chunk7P2QVMBPjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
38
38
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
39
39
  ).join("\n");
40
40
  function slackDestination(settings) {
@@ -46,7 +46,7 @@ function slackDestination(settings) {
46
46
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
47
47
  })
48
48
  );
49
- return _chunkUOANF3DRjs.resolveLegacySlackNotification.call(void 0, destinations);
49
+ return _chunk7P2QVMBPjs.resolveLegacySlackNotification.call(void 0, destinations);
50
50
  }
51
51
  function eventLines(settings, destinationId) {
52
52
  const enabled = new Map(
@@ -68,10 +68,10 @@ function requireCatalogEvent(settings, eventType) {
68
68
  return event;
69
69
  }
70
70
  async function printSettings(options) {
71
- const settings = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotificationSettings();
71
+ const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
72
72
  const slack = slackDestination(settings);
73
73
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
74
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
74
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
75
75
  {
76
76
  settings,
77
77
  render: {
@@ -126,8 +126,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
126
126
  version pin. Pinning installs and holds one exact pin-aware CLI version.
127
127
  `
128
128
  ).option("--json", "Emit JSON output").action((options) => {
129
- const preferences = _chunkGINKIZ7Sjs.readCliUpdatePreferences.call(void 0, );
130
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
129
+ const preferences = _chunkA6LA42JYjs.readCliUpdatePreferences.call(void 0, );
130
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
131
131
  {
132
132
  autoUpdateEnabled: preferences.autoUpdateEnabled,
133
133
  pinnedVersion: preferences.pinnedVersion,
@@ -150,8 +150,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
150
150
  autoupdate.command(enabled ? "on" : "off").description(
151
151
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
152
152
  ).option("--json", "Emit JSON output").action((options) => {
153
- const preferences = _chunkGINKIZ7Sjs.setCliAutoUpdateEnabled.call(void 0, enabled);
154
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
153
+ const preferences = _chunkA6LA42JYjs.setCliAutoUpdateEnabled.call(void 0, enabled);
154
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
155
155
  {
156
156
  ok: true,
157
157
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -172,7 +172,7 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
172
172
  });
173
173
  }
174
174
  autoupdate.command("pin").description("Install and hold an exact pin-aware CLI version.").argument("<version>", "Exact semantic version from a pin-aware release").option("--json", "Emit JSON output").action(async (version, options) => {
175
- process.exitCode = await _chunkGINKIZ7Sjs.runUpdateCommand.call(void 0, {
175
+ process.exitCode = await _chunkA6LA42JYjs.runUpdateCommand.call(void 0, {
176
176
  pin: version,
177
177
  json: options.json,
178
178
  executeWithJson: true
@@ -200,15 +200,15 @@ notifications; there is no general integrations CLI.
200
200
  if (destination !== "slack")
201
201
  throw new Error("Only slack is supported.");
202
202
  if (options.dryRun) {
203
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
203
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
204
204
  { dryRun: true, destination, action: "start_oauth" },
205
205
  { json: options.json }
206
206
  );
207
207
  return;
208
208
  }
209
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().connectNotificationSlack();
210
- const browser = options.open ? _chunkYDXEXVBVjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
211
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
209
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().connectNotificationSlack();
210
+ const browser = options.open ? _chunkQKKU2FH4js.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
211
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
212
212
  {
213
213
  ...result,
214
214
  browser,
@@ -232,10 +232,10 @@ notifications; there is no general integrations CLI.
232
232
  }
233
233
  );
234
234
  notifications.command("channels").description("List Slack channels visible to the connected Deepline app.").option("--query <text>", "Filter channels by name").option("--json", "Emit JSON output").action(async (options) => {
235
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().listNotificationSlackChannels(
235
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationSlackChannels(
236
236
  options.query
237
237
  );
238
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
238
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
239
239
  {
240
240
  ...result,
241
241
  render: {
@@ -261,14 +261,14 @@ notifications; there is no general integrations CLI.
261
261
  }
262
262
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
263
263
  if (options.dryRun) {
264
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
264
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
265
265
  { dryRun: true, destination, target },
266
266
  { json: options.json }
267
267
  );
268
268
  return;
269
269
  }
270
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().setNotificationSlack(target);
271
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
270
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().setNotificationSlack(target);
271
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
272
272
  {
273
273
  ok: true,
274
274
  result,
@@ -294,14 +294,14 @@ notifications; there is no general integrations CLI.
294
294
  notifications.command("test").description("Send a validation ping to a destination.").argument("<destination>", "Destination kind (currently slack)").option("--dry-run", "Describe the external send without sending").option("--json", "Emit JSON output").action(async (destination, options) => {
295
295
  if (destination !== "slack") throw new Error("Only slack is supported.");
296
296
  if (options.dryRun) {
297
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
297
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
298
298
  { dryRun: true, destination, action: "send_test_ping" },
299
299
  { json: options.json }
300
300
  );
301
301
  return;
302
302
  }
303
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().testNotificationSlack();
304
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
303
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().testNotificationSlack();
304
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
305
305
  {
306
306
  ...result,
307
307
  render: {
@@ -314,14 +314,14 @@ notifications; there is no general integrations CLI.
314
314
  notifications.command("disable").description("Disable a product-notification destination.").argument("<destination>", "Destination kind (currently slack)").option("--dry-run", "Describe the mutation without changing settings").option("--json", "Emit JSON output").action(async (destination, options) => {
315
315
  if (destination !== "slack") throw new Error("Only slack is supported.");
316
316
  if (options.dryRun) {
317
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
317
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
318
318
  { dryRun: true, destination, action: "disable" },
319
319
  { json: options.json }
320
320
  );
321
321
  return;
322
322
  }
323
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().disableNotificationSlack();
324
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
323
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().disableNotificationSlack();
324
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: true,
327
327
  result,
@@ -340,10 +340,10 @@ ${eventHelp}
340
340
  `
341
341
  );
342
342
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
343
- const current = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotificationSettings();
343
+ const current = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
344
344
  const destination = slackDestination(current);
345
345
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
346
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
346
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
347
347
  {
348
348
  catalog: current.catalog,
349
349
  subscriptions: current.subscriptions,
@@ -360,14 +360,14 @@ ${eventHelp}
360
360
  );
361
361
  });
362
362
  subscriptions.command("describe").description("Describe one event from the shared product catalog.").argument("<event>", "Event ID; run subscriptions list to enumerate").option("--json", "Emit JSON output").action(async (eventType, options) => {
363
- const current = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotificationSettings();
363
+ const current = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationSettings();
364
364
  const event = requireCatalogEvent(current, eventType);
365
365
  const destination = slackDestination(current);
366
366
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
367
367
  const subscription = current.subscriptions.find(
368
368
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
369
369
  );
370
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
370
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  event,
373
373
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -388,11 +388,11 @@ ${eventHelp}
388
388
  });
389
389
  for (const enabled of [true, false]) {
390
390
  subscriptions.command(enabled ? "enable" : "disable").description(`${enabled ? "Enable" : "Disable"} one supported event.`).argument("<event>", "Event ID; run subscriptions list to enumerate").option("--dry-run", "Validate intent without changing settings").option("--json", "Emit JSON output").action(async (eventType, options) => {
391
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
391
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
392
392
  const current = await client.getNotificationSettings();
393
393
  const event = requireCatalogEvent(current, eventType);
394
394
  if (options.dryRun) {
395
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
395
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
396
396
  { dryRun: true, event, enabled },
397
397
  { json: options.json }
398
398
  );
@@ -402,7 +402,7 @@ ${eventHelp}
402
402
  [event.id],
403
403
  enabled
404
404
  );
405
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
405
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
406
406
  {
407
407
  ok: true,
408
408
  event: event.id,
@@ -423,11 +423,11 @@ ${eventHelp}
423
423
  }
424
424
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
425
425
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
426
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().listNotificationDlq(
426
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationDlq(
427
427
  Number(options.limit)
428
428
  );
429
429
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
430
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
430
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
431
431
  {
432
432
  ...result,
433
433
  render: {
@@ -445,10 +445,10 @@ ${eventHelp}
445
445
  );
446
446
  });
447
447
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
448
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotificationDlqDelivery(
448
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationDlqDelivery(
449
449
  deliveryId
450
450
  );
451
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, {
451
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, {
452
452
  json: options.json
453
453
  });
454
454
  });
@@ -457,17 +457,17 @@ ${eventHelp}
457
457
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
458
458
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
459
459
  if (options.dryRun) {
460
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
460
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
461
461
  { dryRun: true, action, deliveryId },
462
462
  { json: options.json }
463
463
  );
464
464
  return;
465
465
  }
466
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().updateNotificationDlqDelivery(
466
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().updateNotificationDlqDelivery(
467
467
  deliveryId,
468
468
  action
469
469
  );
470
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
470
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
471
471
  { ok: true, action, deliveryId, result },
472
472
  { json: options.json }
473
473
  );
@@ -568,8 +568,8 @@ Examples:
568
568
  `
569
569
  );
570
570
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
571
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotificationConfiguration();
572
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
571
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotificationConfiguration();
572
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
573
573
  {
574
574
  ...result,
575
575
  render: {
@@ -594,21 +594,21 @@ Examples:
594
594
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
595
595
  const input = await readNotificationConfigurationChange(file);
596
596
  if (options.dryRun) {
597
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
597
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
598
598
  { dryRun: true, ...input },
599
599
  { json: options.json }
600
600
  );
601
601
  return;
602
602
  }
603
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().changeNotificationConfiguration(
603
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().changeNotificationConfiguration(
604
604
  input.expectedWorkspaceVersion,
605
605
  input.change
606
606
  );
607
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, result, { json: options.json });
607
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: options.json });
608
608
  });
609
609
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
610
- const settings = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotifications();
611
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
610
+ const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications();
611
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
612
612
  {
613
613
  events: settings.catalog,
614
614
  render: {
@@ -626,9 +626,9 @@ Examples:
626
626
  );
627
627
  });
628
628
  notifications.command("list").description("List named notifications and their selected Play events.").option("--json", "Emit JSON output").option("--compact", "Emit only names, state, target, and event IDs").action(async (options) => {
629
- const settings = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotifications();
629
+ const settings = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications();
630
630
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
631
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
631
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
632
632
  {
633
633
  notifications: options.compact ? rules.map((rule) => ({
634
634
  id: rule.id,
@@ -656,10 +656,10 @@ Examples:
656
656
  });
657
657
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
658
658
  const rule = notificationByName(
659
- await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().getNotifications(),
659
+ await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getNotifications(),
660
660
  name
661
661
  );
662
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
662
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
663
663
  });
664
664
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
665
665
  "--to <target>",
@@ -673,14 +673,14 @@ Examples:
673
673
  []
674
674
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
675
675
  async (name, options) => {
676
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().createNotificationGroup({
676
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().createNotificationGroup({
677
677
  name,
678
678
  targets: options.to,
679
679
  legacyEvents: options.for,
680
680
  dryRun: options.dryRun
681
681
  });
682
682
  if (result.mode === "dry_run") {
683
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
683
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
684
684
  result.compatibilityMode ? {
685
685
  dryRun: true,
686
686
  name: result.name,
@@ -697,7 +697,7 @@ Examples:
697
697
  return;
698
698
  }
699
699
  if (result.mode === "legacy") {
700
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
700
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
701
701
  {
702
702
  notification: result.notification,
703
703
  render: {
@@ -719,7 +719,7 @@ Examples:
719
719
  );
720
720
  return;
721
721
  }
722
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
722
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
723
723
  {
724
724
  ...result,
725
725
  render: {
@@ -755,12 +755,12 @@ Examples:
755
755
  []
756
756
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
757
757
  async (name, options) => {
758
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
758
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
759
759
  const rule = notificationByName(await client.getNotifications(), name);
760
760
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
761
761
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
762
762
  if (options.dryRun) {
763
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
763
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
764
764
  { dryRun: true, notification: rule.id, target, eventTypes },
765
765
  { json: options.json }
766
766
  );
@@ -771,15 +771,15 @@ Examples:
771
771
  ...target,
772
772
  eventTypes
773
773
  });
774
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
774
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
775
775
  }
776
776
  );
777
777
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
778
778
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
779
- const result = await new (0, _chunkXMKUJ44Zjs.DeeplineClient)().listNotificationChannels(
779
+ const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listNotificationChannels(
780
780
  options.search
781
781
  );
782
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
782
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
783
783
  {
784
784
  ...result,
785
785
  render: {
@@ -799,31 +799,31 @@ Examples:
799
799
  ["resume", true]
800
800
  ]) {
801
801
  notifications.command(command).argument("<name>", "Notification name or ID").option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(async (name, options) => {
802
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
802
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
803
803
  const rule = notificationByName(await client.getNotifications(), name);
804
804
  if (options.dryRun) {
805
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
805
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
806
806
  { dryRun: true, notification: rule.id, enabled },
807
807
  { json: options.json }
808
808
  );
809
809
  return;
810
810
  }
811
811
  const result = await client.updateNotification(rule.id, { enabled });
812
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
812
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
813
813
  });
814
814
  }
815
815
  notifications.command("test").argument("<name>", "Notification name or ID").option("--dry-run", "Describe the external send without sending").option("--json", "Emit JSON output").action(async (name, options) => {
816
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
816
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
817
817
  const rule = notificationByName(await client.getNotifications(), name);
818
818
  if (options.dryRun) {
819
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
819
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
820
820
  { dryRun: true, notification: rule.id, action: "send_test" },
821
821
  { json: options.json }
822
822
  );
823
823
  return;
824
824
  }
825
825
  const result = await client.testNotification(rule.id);
826
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
826
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
827
827
  { ...result, notification: rule.name },
828
828
  { json: options.json }
829
829
  );
@@ -831,17 +831,17 @@ Examples:
831
831
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
832
832
  "Archive one notification without touching its provider integration."
833
833
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
834
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
834
+ const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
835
835
  const rule = notificationByName(await client.getNotifications(), name);
836
836
  if (options.dryRun) {
837
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
837
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
838
838
  { dryRun: true, notification: rule.id, action: "archive" },
839
839
  { json: options.json }
840
840
  );
841
841
  return;
842
842
  }
843
843
  const result = await client.deleteNotification(rule.id);
844
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
844
+ _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
845
845
  { ...result, notification: rule.name },
846
846
  { json: options.json }
847
847
  );