deepline 0.3.534 → 0.3.536

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 (235) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +254 -147
  2. package/dist/bundling-sources/sdk/src/index.ts +4 -0
  3. package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
  4. package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/types.ts +2 -23
  7. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
  8. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
  10. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
  12. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
  13. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
  14. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
  15. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
  17. package/dist/bundling-sources/shared_libs/play-runtime/call-requeue-state-machine.ts +420 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +727 -102
  19. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
  22. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
  23. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
  24. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +60 -1
  25. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +372 -10
  28. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
  29. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
  31. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/provider-no-progress.ts +6 -2
  37. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
  39. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
  40. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +63 -3
  41. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
  49. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +90 -49
  50. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +136 -30
  51. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
  52. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
  53. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +63 -13
  54. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
  55. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
  56. package/dist/cli/auth-6XQKFOLG.js +43 -0
  57. package/dist/cli/{auth-MHQYIMVX.mjs → auth-KCTCUO7P.mjs} +7 -7
  58. package/dist/cli/{billing-YQLNP4S5.js → billing-4VBGZ3CT.js} +273 -112
  59. package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OOJHKLNS.mjs} +185 -24
  60. package/dist/cli/{chunk-DGKTHWWH.js → chunk-2B4IOGFD.js} +406 -382
  61. package/dist/cli/{chunk-MQORQ7WL.js → chunk-2FCSUOYN.js} +55 -55
  62. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  63. package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-2YWJS76L.mjs} +1 -1
  64. package/dist/cli/{chunk-E7TP25I2.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
  65. package/dist/cli/{chunk-LGRZCHKC.js → chunk-4E5JXZ3W.js} +18 -20
  66. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  67. package/dist/cli/{chunk-SUWTLXCV.js → chunk-6BBGUQJJ.js} +67 -146
  68. package/dist/cli/{chunk-JBBJDFUJ.js → chunk-6VUGBQZQ.js} +5 -5
  69. package/dist/cli/{chunk-2P3NVX65.mjs → chunk-AB2GBOD4.mjs} +40 -27
  70. package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-ANUKBZ6W.mjs} +475 -11
  71. package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-BASLYGXK.mjs} +101 -77
  72. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  73. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  74. package/dist/cli/{chunk-RH3YRMUY.js → chunk-CIDN5K23.js} +1 -1
  75. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  76. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  77. package/dist/cli/{chunk-UWNVFAFN.js → chunk-CWSLUNA6.js} +33 -33
  78. package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-CXTW7SRW.mjs} +67 -146
  79. package/dist/cli/{chunk-O53LHONF.mjs → chunk-DA2I2M7D.mjs} +2 -2
  80. package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-DQHUJMCL.mjs} +5 -5
  81. package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DUYAMLOC.mjs} +1 -1
  82. package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-E24UGPGG.mjs} +13 -15
  83. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  84. package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-GF32SBST.mjs} +1 -1
  85. package/dist/cli/{chunk-AK622KIG.mjs → chunk-GHLDCLSC.mjs} +1 -1
  86. package/dist/cli/{chunk-A6HNT4EE.js → chunk-GTVZKY3F.js} +2 -2
  87. package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-HAJQGP5V.mjs} +2 -2
  88. package/dist/cli/{chunk-6CEUQYMB.js → chunk-HWDKRN7L.js} +3 -3
  89. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  90. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  91. package/dist/cli/{chunk-WR4WETRU.mjs → chunk-JUHDJNSI.mjs} +4 -4
  92. package/dist/cli/{chunk-TQH3533L.mjs → chunk-KPQHUVYW.mjs} +5 -5
  93. package/dist/cli/{chunk-V7SCRUFQ.js → chunk-KWYGWO4Y.js} +9 -6
  94. package/dist/cli/{chunk-DZS4JC7I.js → chunk-LDGZFDUB.js} +2 -2
  95. package/dist/cli/{chunk-EGTUOYYG.js → chunk-LN6RXDTB.js} +523 -59
  96. package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-LZXZQPA2.mjs} +4 -1
  97. package/dist/cli/{chunk-MYSKWJMA.js → chunk-MSP4DTSD.js} +13 -13
  98. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  99. package/dist/cli/{chunk-NNAE7E23.mjs → chunk-OUDTOMZC.mjs} +7 -9
  100. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  101. package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-PNY3BWHP.mjs} +2 -2
  102. package/dist/cli/{chunk-KSA2XE4T.js → chunk-Q4MNUOS4.js} +316 -303
  103. package/dist/cli/{chunk-GTXSUPCJ.js → chunk-Q5CXV3E3.js} +2 -2
  104. package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-RVSSQPQO.mjs} +1 -1
  105. package/dist/cli/{chunk-VE7ZPLN2.js → chunk-SLPJ3LXI.js} +22 -22
  106. package/dist/cli/{chunk-IX45S5VC.js → chunk-TX5TUHJN.js} +17 -19
  107. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  108. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  109. package/dist/cli/{chunk-NDFNBJGL.js → chunk-VBDZIMWD.js} +26 -26
  110. package/dist/cli/{chunk-GVGQ6NZW.js → chunk-W7AEIGZR.js} +41 -41
  111. package/dist/cli/{chunk-WDNRPZED.mjs → chunk-WC5M3JXE.mjs} +2 -2
  112. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  113. package/dist/cli/{chunk-MQX363YF.js → chunk-XBAH3TKU.js} +5 -5
  114. package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-XJD2GYUP.mjs} +5 -5
  115. package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-XVZRJJDS.mjs} +4 -4
  116. package/dist/cli/{chunk-TVINIDHB.js → chunk-Y2NTPYGS.js} +17 -17
  117. package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YBMHOH6H.mjs} +4 -4
  118. package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-YRLAUGQY.mjs} +3 -3
  119. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  120. package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-Z7UIOGW4.mjs} +3 -3
  121. package/dist/cli/{chunk-HCD36BP6.js → chunk-ZEV2Y56V.js} +44 -44
  122. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  123. package/dist/cli/{chunk-XBK6WCVA.js → chunk-ZILSRDIN.js} +8 -8
  124. package/dist/cli/{chunk-B2AS3R5W.js → chunk-ZISEH7OL.js} +16 -16
  125. package/dist/cli/{chunk-HPJAE6PP.js → chunk-ZZ4MF2GI.js} +6 -6
  126. package/dist/cli/command-docs.js +2 -2
  127. package/dist/cli/command-docs.mjs +1 -1
  128. package/dist/cli/{csv-U3M2G76R.js → csv-2V2DIFNG.js} +15 -15
  129. package/dist/cli/{csv-4ID4E5W3.mjs → csv-P3HLK4GO.mjs} +6 -6
  130. package/dist/cli/{db-IHAQIKEQ.js → db-MREAQVW6.js} +36 -36
  131. package/dist/cli/{db-LHX5BBCZ.mjs → db-ZYOY3QRQ.mjs} +9 -9
  132. package/dist/cli/describe-IKZFOADR.mjs +49 -0
  133. package/dist/cli/describe-WW3OQRLP.js +49 -0
  134. package/dist/cli/describe-core.d.mts +3 -3
  135. package/dist/cli/describe-core.d.ts +3 -3
  136. package/dist/cli/describe-core.js +5 -5
  137. package/dist/cli/describe-core.mjs +4 -4
  138. package/dist/cli/{executions-CJ5LV23G.js → executions-H5IJ7QSQ.js} +11 -11
  139. package/dist/cli/{executions-UJ6JZUL5.mjs → executions-KTSY5M34.mjs} +9 -9
  140. package/dist/cli/{feedback-TGUBVGRP.js → feedback-724QK3Z5.js} +16 -16
  141. package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-WWJRIXEU.mjs} +8 -8
  142. package/dist/cli/git-PHYRD56H.js +25 -0
  143. package/dist/cli/{git-3DOTQHJO.mjs → git-R5VRG7X6.mjs} +7 -7
  144. package/dist/cli/index.js +151 -157
  145. package/dist/cli/index.mjs +51 -57
  146. package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-C6GDEGPU.js} +11 -11
  147. package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
  148. package/dist/cli/{monitors-XECKLAXA.js → monitors-VAVQ4WCE.js} +125 -122
  149. package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-WQSKMHAP.mjs} +19 -16
  150. package/dist/cli/{org-DOBAIYWG.js → org-CWWRWXZQ.js} +89 -89
  151. package/dist/cli/{org-ZAAIEZKB.mjs → org-MAL4QPVF.mjs} +9 -9
  152. package/dist/cli/{play-KLYRMQPF.mjs → play-ILW6MSNG.mjs} +174 -80
  153. package/dist/cli/{play-E74VN6B7.js → play-WJOWK5PQ.js} +690 -596
  154. package/dist/cli/{providers-XTQXV5LB.mjs → providers-4V2NMLZZ.mjs} +9 -9
  155. package/dist/cli/{providers-APZ6SOSK.js → providers-W662ANCH.js} +12 -12
  156. package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-BW6EBUYX.js} +8 -8
  157. package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-C22BR743.mjs} +6 -6
  158. package/dist/cli/{run-3YLIJJ57.js → run-KW7KW4FX.js} +50 -53
  159. package/dist/cli/{run-TZPBBSPX.mjs → run-SPAU5IMW.mjs} +31 -34
  160. package/dist/cli/search-HLE54W5G.js +32 -0
  161. package/dist/cli/{search-VLHE2CMZ.mjs → search-XPC75HLM.mjs} +10 -11
  162. package/dist/cli/{search-output-73BYB7UE.mjs → search-output-JKYJSEPM.mjs} +6 -6
  163. package/dist/cli/{search-output-GCT7PQIT.js → search-output-VJYE7USJ.js} +8 -8
  164. package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-OJG73GXQ.mjs} +9 -9
  165. package/dist/cli/{secrets-J6CEKXKQ.js → secrets-YB57KGSB.js} +18 -18
  166. package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-7ZL37BW4.mjs} +8 -8
  167. package/dist/cli/sessions-VEBYZIEU.js +22 -0
  168. package/dist/cli/{settings-WRV5XEZC.js → settings-A7DD2ZYE.js} +88 -89
  169. package/dist/cli/{settings-72K5YCIS.mjs → settings-RKSQB7FA.mjs} +15 -16
  170. package/dist/cli/{setup-KQFY6WT4.mjs → setup-NXDUTITY.mjs} +11 -12
  171. package/dist/cli/{setup-QVXWT2EQ.js → setup-S3K5YU62.js} +51 -52
  172. package/dist/cli/skills-NVQ744CN.js +36 -0
  173. package/dist/cli/{skills-C3K3E473.mjs → skills-VMFAIDO6.mjs} +9 -10
  174. package/dist/cli/{tools-4A2OH6MB.mjs → tools-52NTHBSJ.mjs} +20 -21
  175. package/dist/cli/tools-SBDUL3WB.js +56 -0
  176. package/dist/cli/update-HHVFZPCV.js +34 -0
  177. package/dist/cli/{update-BS6USKPR.mjs → update-SAKBEKMV.mjs} +11 -12
  178. package/dist/cli/{views-WB6GFTRX.mjs → views-ACRV7MD6.mjs} +54 -10
  179. package/dist/cli/{views-4NZGAXHL.js → views-C3GJOBDG.js} +66 -22
  180. package/dist/cli/{workflow-2D4WX55R.mjs → workflow-CS22E7TC.mjs} +10 -10
  181. package/dist/cli/{workflow-L2QTQZYV.js → workflow-ZNWCZEGN.js} +20 -20
  182. package/dist/{client-DoUVSkqC.d.mts → client-BlLYQDNo.d.mts} +1 -1
  183. package/dist/{client-DQm56zMs.d.ts → client-DSQlkIDO.d.ts} +1 -1
  184. package/dist/{client-core-C7KkUIE_.d.ts → client-core-CDwapXy5.d.ts} +167 -108
  185. package/dist/{client-core-CPlwsC1Q.d.mts → client-core-rX7n2H8U.d.mts} +167 -108
  186. package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-BHNC4RL-.d.mts} +58 -21
  187. package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-BHNC4RL-.d.ts} +58 -21
  188. package/dist/{errors-qdJUVQ3g.d.mts → errors-D7sPXrvB.d.mts} +1 -1
  189. package/dist/{errors-Bk5h1D-C.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
  190. package/dist/{index-bL66eHYz.d.ts → index-CQTBHXHr.d.ts} +1 -1
  191. package/dist/{index-PaupwX1B.d.mts → index-NaDZq2xf.d.mts} +1 -1
  192. package/dist/index.d.mts +7 -7
  193. package/dist/index.d.ts +7 -7
  194. package/dist/index.js +15 -15
  195. package/dist/index.mjs +11 -11
  196. package/dist/install-integrity.json +131 -132
  197. package/dist/monitor-fleet-contract.d.mts +17 -11
  198. package/dist/monitor-fleet-contract.d.ts +17 -11
  199. package/dist/monitor-fleet-contract.js +3 -3
  200. package/dist/monitor-fleet-contract.mjs +2 -2
  201. package/dist/monitor-input-contract.js +2 -2
  202. package/dist/monitor-input-contract.mjs +1 -1
  203. package/dist/plays/bundle-play-file.d.mts +3 -3
  204. package/dist/plays/bundle-play-file.d.ts +3 -3
  205. package/dist/plays/bundle-play-file.mjs +67 -3
  206. package/dist/plays/csv-data-input.js +3 -3
  207. package/dist/plays/csv-data-input.mjs +2 -2
  208. package/dist/plays/play-description.d.mts +2 -2
  209. package/dist/plays/play-description.d.ts +2 -2
  210. package/dist/plays/run-request.d.mts +2 -2
  211. package/dist/plays/run-request.d.ts +2 -2
  212. package/dist/plays/run-request.js +3 -3
  213. package/dist/plays/run-request.mjs +2 -2
  214. package/dist/release.d.mts +1 -1
  215. package/dist/release.d.ts +1 -1
  216. package/dist/release.js +2 -2
  217. package/dist/release.mjs +1 -1
  218. package/dist/server.d.mts +4 -4
  219. package/dist/server.d.ts +4 -4
  220. package/dist/server.js +12 -12
  221. package/dist/server.mjs +6 -6
  222. package/package.json +1 -1
  223. package/dist/cli/auth-UP2RGPI6.js +0 -43
  224. package/dist/cli/chunk-5LZ5VSOK.mjs +0 -405
  225. package/dist/cli/chunk-D3J2Y2BP.js +0 -405
  226. package/dist/cli/describe-CI4MREFF.mjs +0 -50
  227. package/dist/cli/describe-IVTSD7ST.js +0 -50
  228. package/dist/cli/git-R3W25XIF.js +0 -25
  229. package/dist/cli/pages-FUOSF6BE.mjs +0 -266
  230. package/dist/cli/pages-TLC2N6L7.js +0 -266
  231. package/dist/cli/search-NB5CBALV.js +0 -33
  232. package/dist/cli/sessions-SFCZSB77.js +0 -22
  233. package/dist/cli/skills-WIJEHVLA.js +0 -37
  234. package/dist/cli/tools-VMMERMLO.js +0 -57
  235. package/dist/cli/update-54WZQDTS.js +0 -35
@@ -1,41 +1,40 @@
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 _chunkMQX363YFjs = require('./chunk-MQX363YF.js');
3
+ var _chunkXBAH3TKUjs = require('./chunk-XBAH3TKU.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkDGKTHWWHjs = require('./chunk-DGKTHWWH.js');
7
+ var _chunk2B4IOGFDjs = require('./chunk-2B4IOGFD.js');
8
8
  require('./chunk-E4CABWXL.js');
9
- require('./chunk-2KHUFWTK.js');
9
+ require('./chunk-CQDQNZGH.js');
10
10
  require('./chunk-PMH4GLMD.js');
11
11
  require('./chunk-XDVT3GOM.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkA6HNT4EEjs = require('./chunk-A6HNT4EE.js');
15
+ var _chunkGTVZKY3Fjs = require('./chunk-GTVZKY3F.js');
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunkB2AS3R5Wjs = require('./chunk-B2AS3R5W.js');
21
- require('./chunk-GTXSUPCJ.js');
22
- require('./chunk-GVGQ6NZW.js');
20
+ var _chunkZISEH7OLjs = require('./chunk-ZISEH7OL.js');
21
+ require('./chunk-Q5CXV3E3.js');
22
+ require('./chunk-W7AEIGZR.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkHCD36BP6js = require('./chunk-HCD36BP6.js');
27
- require('./chunk-6CEUQYMB.js');
28
- require('./chunk-D3J2Y2BP.js');
26
+ var _chunkZEV2Y56Vjs = require('./chunk-ZEV2Y56V.js');
27
+ require('./chunk-HWDKRN7L.js');
29
28
 
30
29
 
31
30
 
32
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
33
- require('./chunk-XBK6WCVA.js');
34
- require('./chunk-UWNVFAFN.js');
35
- require('./chunk-T2N3B7IQ.js');
31
+ var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
32
+ require('./chunk-ZILSRDIN.js');
33
+ require('./chunk-CWSLUNA6.js');
34
+ require('./chunk-2GJZLIKW.js');
36
35
  require('./chunk-XNYIZMNQ.js');
37
- require('./chunk-SQWET4SL.js');
38
- require('./chunk-RH3YRMUY.js');
36
+ require('./chunk-BBTKAASQ.js');
37
+ require('./chunk-CIDN5K23.js');
39
38
  require('./chunk-OG64RBAC.js');
40
39
  require('./chunk-RLX5ZFNX.js');
41
40
  require('./chunk-COGTRVWW.js');
@@ -43,7 +42,7 @@ require('./chunk-COGTRVWW.js');
43
42
  // src/cli/commands/settings.ts
44
43
  var _commander = require('commander');
45
44
  var _fs = require('fs');
46
- var eventHelp = _chunkDGKTHWWHjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
45
+ var eventHelp = _chunk2B4IOGFDjs.PRODUCT_NOTIFICATION_EVENT_CATALOG.map(
47
46
  (event) => ` ${event.id.padEnd(28)} ${event.description}`
48
47
  ).join("\n");
49
48
  function slackDestination(settings) {
@@ -55,7 +54,7 @@ function slackDestination(settings) {
55
54
  archivedAt: typeof entry.archivedAt === "number" ? entry.archivedAt : void 0
56
55
  })
57
56
  );
58
- return _chunkDGKTHWWHjs.resolveLegacySlackNotification.call(void 0, destinations);
57
+ return _chunk2B4IOGFDjs.resolveLegacySlackNotification.call(void 0, destinations);
59
58
  }
60
59
  function eventLines(settings, destinationId) {
61
60
  const enabled = new Map(
@@ -77,10 +76,10 @@ function requireCatalogEvent(settings, eventType) {
77
76
  return event;
78
77
  }
79
78
  async function printSettings(options) {
80
- const settings = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotificationSettings();
79
+ const settings = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotificationSettings();
81
80
  const slack = slackDestination(settings);
82
81
  const destinationId = typeof _optionalChain([slack, 'optionalAccess', _ => _._id]) === "string" ? slack._id : void 0;
83
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
82
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
84
83
  {
85
84
  settings,
86
85
  render: {
@@ -128,8 +127,8 @@ function registerSettingsCommands(program) {
128
127
  off: "Do not ask the user to send feedback or upload a session. Use --requested only if they explicitly request it without being prompted."
129
128
  };
130
129
  const printFeedback = (options) => {
131
- const setting = _chunkA6HNT4EEjs.readFeedbackSetting.call(void 0, );
132
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
130
+ const setting = _chunkGTVZKY3Fjs.readFeedbackSetting.call(void 0, );
131
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
133
132
  { ok: true, setting, enabled: setting === "on" },
134
133
  {
135
134
  json: options.json,
@@ -141,7 +140,7 @@ function registerSettingsCommands(program) {
141
140
  const feedback = settings.command("feedback").description("Show or change the local feedback setting (ask by default).").option("--json", "Emit JSON output").action(printFeedback);
142
141
  for (const setting of ["ask", "on", "off"]) {
143
142
  feedback.command(setting).description(feedbackDescriptions[setting]).option("--json", "Emit JSON output").action((_options, command) => {
144
- _chunkA6HNT4EEjs.writeFeedbackSetting.call(void 0, setting);
143
+ _chunkGTVZKY3Fjs.writeFeedbackSetting.call(void 0, setting);
145
144
  printFeedback(command.optsWithGlobals());
146
145
  });
147
146
  }
@@ -158,8 +157,8 @@ Automatic updates are enabled by default. Turning them on clears an existing
158
157
  version pin. Pinning installs and holds one exact pin-aware CLI version.
159
158
  `
160
159
  ).option("--json", "Emit JSON output").action((options) => {
161
- const preferences = _chunkB2AS3R5Wjs.readCliUpdatePreferences.call(void 0, );
162
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
160
+ const preferences = _chunkZISEH7OLjs.readCliUpdatePreferences.call(void 0, );
161
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
163
162
  {
164
163
  autoUpdateEnabled: preferences.autoUpdateEnabled,
165
164
  pinnedVersion: preferences.pinnedVersion,
@@ -182,8 +181,8 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
182
181
  autoupdate.command(enabled ? "on" : "off").description(
183
182
  enabled ? "Enable automatic CLI updates and clear any version pin." : "Disable automatic CLI updates."
184
183
  ).option("--json", "Emit JSON output").action((options) => {
185
- const preferences = _chunkB2AS3R5Wjs.setCliAutoUpdateEnabled.call(void 0, enabled);
186
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
184
+ const preferences = _chunkZISEH7OLjs.setCliAutoUpdateEnabled.call(void 0, enabled);
185
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
187
186
  {
188
187
  ok: true,
189
188
  autoUpdateEnabled: preferences.autoUpdateEnabled,
@@ -204,18 +203,18 @@ version pin. Pinning installs and holds one exact pin-aware CLI version.
204
203
  });
205
204
  }
206
205
  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) => {
207
- process.exitCode = await _chunkB2AS3R5Wjs.runUpdateCommand.call(void 0, {
206
+ process.exitCode = await _chunkZISEH7OLjs.runUpdateCommand.call(void 0, {
208
207
  pin: version,
209
208
  json: options.json,
210
209
  executeWithJson: true
211
210
  });
212
211
  });
213
212
  settings.command("skills-sync").description("Configure automatic skill syncing on this machine.").addArgument(new (0, _commander.Argument)("[mode]").choices(["on", "off"])).option("--dry-run", "Show the requested setting without saving it").option("--json", "Emit JSON output").action((mode, options) => {
214
- const autoSkillsSyncEnabled = mode === void 0 ? _chunkHCD36BP6js.isCliSkillsSyncEnabled.call(void 0, ) : mode === "on";
213
+ const autoSkillsSyncEnabled = mode === void 0 ? _chunkZEV2Y56Vjs.isCliSkillsSyncEnabled.call(void 0, ) : mode === "on";
215
214
  if (mode !== void 0 && !options.dryRun) {
216
- _chunkHCD36BP6js.setCliSkillsSyncEnabled.call(void 0, autoSkillsSyncEnabled);
215
+ _chunkZEV2Y56Vjs.setCliSkillsSyncEnabled.call(void 0, autoSkillsSyncEnabled);
217
216
  }
218
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
217
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
219
218
  {
220
219
  autoSkillsSyncEnabled,
221
220
  ...options.dryRun ? { dryRun: true } : {},
@@ -255,15 +254,15 @@ notifications; there is no general integrations CLI.
255
254
  if (destination !== "slack")
256
255
  throw new Error("Only slack is supported.");
257
256
  if (options.dryRun) {
258
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
257
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
259
258
  { dryRun: true, destination, action: "start_oauth" },
260
259
  { json: options.json }
261
260
  );
262
261
  return;
263
262
  }
264
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().connectNotificationSlack();
265
- const browser = options.open ? _chunkEGTUOYYGjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
266
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
263
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().connectNotificationSlack();
264
+ const browser = options.open ? _chunkLN6RXDTBjs.openInBrowser.call(void 0, result.redirect_url, { deduplicate: false }) : "not_requested";
265
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
267
266
  {
268
267
  ...result,
269
268
  browser,
@@ -287,10 +286,10 @@ notifications; there is no general integrations CLI.
287
286
  }
288
287
  );
289
288
  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) => {
290
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().listNotificationSlackChannels(
289
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listNotificationSlackChannels(
291
290
  options.query
292
291
  );
293
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
292
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
294
293
  {
295
294
  ...result,
296
295
  render: {
@@ -316,14 +315,14 @@ notifications; there is no general integrations CLI.
316
315
  }
317
316
  const target = options.memberId ? { memberId: options.memberId } : options.channel;
318
317
  if (options.dryRun) {
319
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
318
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
320
319
  { dryRun: true, destination, target },
321
320
  { json: options.json }
322
321
  );
323
322
  return;
324
323
  }
325
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().setNotificationSlack(target);
326
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
324
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().setNotificationSlack(target);
325
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
327
326
  {
328
327
  ok: true,
329
328
  result,
@@ -349,14 +348,14 @@ notifications; there is no general integrations CLI.
349
348
  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) => {
350
349
  if (destination !== "slack") throw new Error("Only slack is supported.");
351
350
  if (options.dryRun) {
352
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
351
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
353
352
  { dryRun: true, destination, action: "send_test_ping" },
354
353
  { json: options.json }
355
354
  );
356
355
  return;
357
356
  }
358
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().testNotificationSlack();
359
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
357
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().testNotificationSlack();
358
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
360
359
  {
361
360
  ...result,
362
361
  render: {
@@ -369,14 +368,14 @@ notifications; there is no general integrations CLI.
369
368
  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) => {
370
369
  if (destination !== "slack") throw new Error("Only slack is supported.");
371
370
  if (options.dryRun) {
372
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
371
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
373
372
  { dryRun: true, destination, action: "disable" },
374
373
  { json: options.json }
375
374
  );
376
375
  return;
377
376
  }
378
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().disableNotificationSlack();
379
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
377
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().disableNotificationSlack();
378
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
380
379
  {
381
380
  ok: true,
382
381
  result,
@@ -395,10 +394,10 @@ ${eventHelp}
395
394
  `
396
395
  );
397
396
  subscriptions.command("list").description("List every supported event and its current state.").option("--json", "Emit JSON output").action(async (options) => {
398
- const current = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotificationSettings();
397
+ const current = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotificationSettings();
399
398
  const destination = slackDestination(current);
400
399
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _2 => _2._id]) === "string" ? destination._id : void 0;
401
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
400
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
402
401
  {
403
402
  catalog: current.catalog,
404
403
  subscriptions: current.subscriptions,
@@ -415,14 +414,14 @@ ${eventHelp}
415
414
  );
416
415
  });
417
416
  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) => {
418
- const current = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotificationSettings();
417
+ const current = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotificationSettings();
419
418
  const event = requireCatalogEvent(current, eventType);
420
419
  const destination = slackDestination(current);
421
420
  const destinationId = typeof _optionalChain([destination, 'optionalAccess', _3 => _3._id]) === "string" ? destination._id : void 0;
422
421
  const subscription = current.subscriptions.find(
423
422
  (entry) => entry.eventType === event.id && (!destinationId || entry.destinationId === destinationId)
424
423
  );
425
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
424
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
426
425
  {
427
426
  event,
428
427
  enabled: _optionalChain([subscription, 'optionalAccess', _4 => _4.enabled]) === true,
@@ -443,11 +442,11 @@ ${eventHelp}
443
442
  });
444
443
  for (const enabled of [true, false]) {
445
444
  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) => {
446
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
445
+ const client = new (0, _chunkXBAH3TKUjs.DeeplineClient)();
447
446
  const current = await client.getNotificationSettings();
448
447
  const event = requireCatalogEvent(current, eventType);
449
448
  if (options.dryRun) {
450
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
449
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
451
450
  { dryRun: true, event, enabled },
452
451
  { json: options.json }
453
452
  );
@@ -457,7 +456,7 @@ ${eventHelp}
457
456
  [event.id],
458
457
  enabled
459
458
  );
460
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
459
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
461
460
  {
462
461
  ok: true,
463
462
  event: event.id,
@@ -478,11 +477,11 @@ ${eventHelp}
478
477
  }
479
478
  const dlq = notifications.command("dlq").description("Inspect and explicitly resolve inert failed deliveries.");
480
479
  dlq.command("list").option("--limit <count>", "Maximum deliveries", "25").option("--json", "Emit JSON output").action(async (options) => {
481
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().listNotificationDlq(
480
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listNotificationDlq(
482
481
  Number(options.limit)
483
482
  );
484
483
  const deliveries = _nullishCoalesce(result.deliveries, () => ( []));
485
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
484
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
486
485
  {
487
486
  ...result,
488
487
  render: {
@@ -500,10 +499,10 @@ ${eventHelp}
500
499
  );
501
500
  });
502
501
  dlq.command("get").argument("<delivery-id>").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
503
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotificationDlqDelivery(
502
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotificationDlqDelivery(
504
503
  deliveryId
505
504
  );
506
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, result, {
505
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, result, {
507
506
  json: options.json
508
507
  });
509
508
  });
@@ -512,17 +511,17 @@ ${eventHelp}
512
511
  `${action === "retry" ? "Replay once from attempt zero" : "Archive"} one delivery.`
513
512
  ).argument("<delivery-id>").option("--dry-run", "Describe the mutation without changing state").option("--json", "Emit JSON output").action(async (deliveryId, options) => {
514
513
  if (options.dryRun) {
515
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
514
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
516
515
  { dryRun: true, action, deliveryId },
517
516
  { json: options.json }
518
517
  );
519
518
  return;
520
519
  }
521
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().updateNotificationDlqDelivery(
520
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().updateNotificationDlqDelivery(
522
521
  deliveryId,
523
522
  action
524
523
  );
525
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
524
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
526
525
  { ok: true, action, deliveryId, result },
527
526
  { json: options.json }
528
527
  );
@@ -623,8 +622,8 @@ Examples:
623
622
  `
624
623
  );
625
624
  configuration.command("get").description("Show the effective group-based notification configuration.").option("--json", "Emit JSON output").action(async (options) => {
626
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotificationConfiguration();
627
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
625
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotificationConfiguration();
626
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
628
627
  {
629
628
  ...result,
630
629
  render: {
@@ -649,21 +648,21 @@ Examples:
649
648
  ).option("--dry-run", "Validate and display the file without saving it").option("--json", "Emit JSON output").action(async (file, options) => {
650
649
  const input = await readNotificationConfigurationChange(file);
651
650
  if (options.dryRun) {
652
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
651
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
653
652
  { dryRun: true, ...input },
654
653
  { json: options.json }
655
654
  );
656
655
  return;
657
656
  }
658
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().changeNotificationConfiguration(
657
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().changeNotificationConfiguration(
659
658
  input.expectedWorkspaceVersion,
660
659
  input.change
661
660
  );
662
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, result, { json: options.json });
661
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, result, { json: options.json });
663
662
  });
664
663
  notifications.command("events").description("List the Play events available to a notification.").option("--json", "Emit JSON output").action(async (options) => {
665
- const settings = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotifications();
666
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
664
+ const settings = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotifications();
665
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
667
666
  {
668
667
  events: settings.catalog,
669
668
  render: {
@@ -681,9 +680,9 @@ Examples:
681
680
  );
682
681
  });
683
682
  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) => {
684
- const settings = await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotifications();
683
+ const settings = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotifications();
685
684
  const rules = _nullishCoalesce(settings.notifications, () => ( []));
686
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
685
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
687
686
  {
688
687
  notifications: options.compact ? rules.map((rule) => ({
689
688
  id: rule.id,
@@ -711,10 +710,10 @@ Examples:
711
710
  });
712
711
  notifications.command("get").argument("<name>", "Notification name or ID").description("Show one named notification.").option("--json", "Emit JSON output").action(async (name, options) => {
713
712
  const rule = notificationByName(
714
- await new (0, _chunkMQX363YFjs.DeeplineClient)().getNotifications(),
713
+ await new (0, _chunkXBAH3TKUjs.DeeplineClient)().getNotifications(),
715
714
  name
716
715
  );
717
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
716
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, { notification: rule }, { json: options.json });
718
717
  });
719
718
  notifications.command("add").argument("<name>", "Group name, for example oncall").requiredOption(
720
719
  "--to <target>",
@@ -728,14 +727,14 @@ Examples:
728
727
  []
729
728
  ).option("--dry-run", "Describe the notification without saving it").option("--json", "Emit JSON output").action(
730
729
  async (name, options) => {
731
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().createNotificationGroup({
730
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().createNotificationGroup({
732
731
  name,
733
732
  targets: options.to,
734
733
  legacyEvents: options.for,
735
734
  dryRun: options.dryRun
736
735
  });
737
736
  if (result.mode === "dry_run") {
738
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
737
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
739
738
  result.compatibilityMode ? {
740
739
  dryRun: true,
741
740
  name: result.name,
@@ -752,7 +751,7 @@ Examples:
752
751
  return;
753
752
  }
754
753
  if (result.mode === "legacy") {
755
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
754
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
756
755
  {
757
756
  notification: result.notification,
758
757
  render: {
@@ -774,7 +773,7 @@ Examples:
774
773
  );
775
774
  return;
776
775
  }
777
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
776
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
778
777
  {
779
778
  ...result,
780
779
  render: {
@@ -810,12 +809,12 @@ Examples:
810
809
  []
811
810
  ).option("--dry-run", "Describe the change without saving it").option("--json", "Emit JSON output").action(
812
811
  async (name, options) => {
813
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
812
+ const client = new (0, _chunkXBAH3TKUjs.DeeplineClient)();
814
813
  const rule = notificationByName(await client.getNotifications(), name);
815
814
  const target = options.to ? parseSlackTarget(options.to) : rule.target.kind === "member" ? { memberId: rule.target.id } : { channel: rule.target.name };
816
815
  const eventTypes = options.for.length ? options.for : rule.eventTypes;
817
816
  if (options.dryRun) {
818
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
817
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
819
818
  { dryRun: true, notification: rule.id, target, eventTypes },
820
819
  { json: options.json }
821
820
  );
@@ -826,15 +825,15 @@ Examples:
826
825
  ...target,
827
826
  eventTypes
828
827
  });
829
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
828
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
830
829
  }
831
830
  );
832
831
  const slack = notifications.command("slack").description("Select a channel from the connected Slack integration.");
833
832
  slack.command("channels").option("--search <text>", "Filter channel names").option("--json", "Emit JSON output").action(async (options) => {
834
- const result = await new (0, _chunkMQX363YFjs.DeeplineClient)().listNotificationChannels(
833
+ const result = await new (0, _chunkXBAH3TKUjs.DeeplineClient)().listNotificationChannels(
835
834
  options.search
836
835
  );
837
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
836
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
838
837
  {
839
838
  ...result,
840
839
  render: {
@@ -854,31 +853,31 @@ Examples:
854
853
  ["resume", true]
855
854
  ]) {
856
855
  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) => {
857
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
856
+ const client = new (0, _chunkXBAH3TKUjs.DeeplineClient)();
858
857
  const rule = notificationByName(await client.getNotifications(), name);
859
858
  if (options.dryRun) {
860
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
859
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
861
860
  { dryRun: true, notification: rule.id, enabled },
862
861
  { json: options.json }
863
862
  );
864
863
  return;
865
864
  }
866
865
  const result = await client.updateNotification(rule.id, { enabled });
867
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
866
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, { notification: result }, { json: options.json });
868
867
  });
869
868
  }
870
869
  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) => {
871
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
870
+ const client = new (0, _chunkXBAH3TKUjs.DeeplineClient)();
872
871
  const rule = notificationByName(await client.getNotifications(), name);
873
872
  if (options.dryRun) {
874
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
873
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
875
874
  { dryRun: true, notification: rule.id, action: "send_test" },
876
875
  { json: options.json }
877
876
  );
878
877
  return;
879
878
  }
880
879
  const result = await client.testNotification(rule.id);
881
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
880
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
882
881
  { ...result, notification: rule.name },
883
882
  { json: options.json }
884
883
  );
@@ -886,17 +885,17 @@ Examples:
886
885
  notifications.command("delete").argument("<name>", "Notification name or ID").description(
887
886
  "Archive one notification without touching its provider integration."
888
887
  ).option("--dry-run", "Describe the deletion without changing state").option("--json", "Emit JSON output").action(async (name, options) => {
889
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
888
+ const client = new (0, _chunkXBAH3TKUjs.DeeplineClient)();
890
889
  const rule = notificationByName(await client.getNotifications(), name);
891
890
  if (options.dryRun) {
892
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
891
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
893
892
  { dryRun: true, notification: rule.id, action: "archive" },
894
893
  { json: options.json }
895
894
  );
896
895
  return;
897
896
  }
898
897
  const result = await client.deleteNotification(rule.id);
899
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
898
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
900
899
  { ...result, notification: rule.name },
901
900
  { json: options.json }
902
901
  );
@@ -1,41 +1,40 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-WDNRPZED.mjs";
3
+ } from "./chunk-WC5M3JXE.mjs";
4
4
  import {
5
5
  PRODUCT_NOTIFICATION_EVENT_CATALOG,
6
6
  resolveLegacySlackNotification
7
- } from "./chunk-MG6YL4M7.mjs";
7
+ } from "./chunk-BASLYGXK.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
- import "./chunk-FKD3KL5Q.mjs";
9
+ import "./chunk-Z2XA6YU4.mjs";
10
10
  import "./chunk-PSX3WHIH.mjs";
11
11
  import "./chunk-UBKA33KY.mjs";
12
12
  import {
13
13
  readFeedbackSetting,
14
14
  writeFeedbackSetting
15
- } from "./chunk-VAG5YKP6.mjs";
15
+ } from "./chunk-RVSSQPQO.mjs";
16
16
  import {
17
17
  readCliUpdatePreferences,
18
18
  runUpdateCommand,
19
19
  setCliAutoUpdateEnabled
20
- } from "./chunk-EYXUAJAU.mjs";
21
- import "./chunk-6IFZPEJE.mjs";
22
- import "./chunk-WR4WETRU.mjs";
20
+ } from "./chunk-DQHUJMCL.mjs";
21
+ import "./chunk-2YWJS76L.mjs";
22
+ import "./chunk-JUHDJNSI.mjs";
23
23
  import {
24
24
  isCliSkillsSyncEnabled,
25
25
  setCliSkillsSyncEnabled
26
- } from "./chunk-BDWZBMGV.mjs";
27
- import "./chunk-KJVY7V2X.mjs";
28
- import "./chunk-5LZ5VSOK.mjs";
26
+ } from "./chunk-XJD2GYUP.mjs";
27
+ import "./chunk-GF32SBST.mjs";
29
28
  import {
30
29
  openInBrowser,
31
30
  printCommandEnvelope
32
- } from "./chunk-62SOZ67Y.mjs";
33
- import "./chunk-E7TP25I2.mjs";
34
- import "./chunk-TG2UB3A5.mjs";
35
- import "./chunk-QNHHZ63P.mjs";
31
+ } from "./chunk-ANUKBZ6W.mjs";
32
+ import "./chunk-3PCYV6ZJ.mjs";
33
+ import "./chunk-YRLAUGQY.mjs";
34
+ import "./chunk-CQBIO6HW.mjs";
36
35
  import "./chunk-DLIRSHV6.mjs";
37
- import "./chunk-ZPGGW27Q.mjs";
38
- import "./chunk-AK622KIG.mjs";
36
+ import "./chunk-JL2OTMSG.mjs";
37
+ import "./chunk-GHLDCLSC.mjs";
39
38
  import "./chunk-WZYKRD7T.mjs";
40
39
  import "./chunk-5JPKRDFC.mjs";
41
40
  import "./chunk-KRD6H754.mjs";
@@ -7,25 +7,24 @@ import {
7
7
  readPendingAuthClaim,
8
8
  reportApprovalLinkShown,
9
9
  reportSetupCompleted
10
- } from "./chunk-XRZJKHUA.mjs";
10
+ } from "./chunk-XVZRJJDS.mjs";
11
11
  import {
12
12
  npmSupportsAllowScripts,
13
13
  readNpmVersion
14
- } from "./chunk-6IFZPEJE.mjs";
14
+ } from "./chunk-2YWJS76L.mjs";
15
15
  import {
16
16
  deeplineGtmSkillRoots,
17
17
  runSkillsCommand,
18
18
  skillsStatePathForScope
19
- } from "./chunk-WR4WETRU.mjs";
19
+ } from "./chunk-JUHDJNSI.mjs";
20
20
  import {
21
21
  resolveShellSpawn
22
- } from "./chunk-BDWZBMGV.mjs";
23
- import "./chunk-KJVY7V2X.mjs";
24
- import "./chunk-5LZ5VSOK.mjs";
22
+ } from "./chunk-XJD2GYUP.mjs";
23
+ import "./chunk-GF32SBST.mjs";
25
24
  import {
26
25
  openInBrowser,
27
26
  printCommandEnvelope
28
- } from "./chunk-62SOZ67Y.mjs";
27
+ } from "./chunk-ANUKBZ6W.mjs";
29
28
  import {
30
29
  autoDetectBaseUrl,
31
30
  baseUrlSlug,
@@ -34,14 +33,14 @@ import {
34
33
  resolveProjectApiKeyForBaseUrl,
35
34
  resolveProjectPinTarget,
36
35
  sdkCliStateDirPath
37
- } from "./chunk-E7TP25I2.mjs";
36
+ } from "./chunk-3PCYV6ZJ.mjs";
38
37
  import {
39
38
  SDK_VERSION
40
- } from "./chunk-TG2UB3A5.mjs";
41
- import "./chunk-QNHHZ63P.mjs";
39
+ } from "./chunk-YRLAUGQY.mjs";
40
+ import "./chunk-CQBIO6HW.mjs";
42
41
  import "./chunk-DLIRSHV6.mjs";
43
- import "./chunk-ZPGGW27Q.mjs";
44
- import "./chunk-AK622KIG.mjs";
42
+ import "./chunk-JL2OTMSG.mjs";
43
+ import "./chunk-GHLDCLSC.mjs";
45
44
  import "./chunk-WZYKRD7T.mjs";
46
45
  import {
47
46
  DEEPLINE_GTM_SKILL,