@makaio/framework 1.0.0-dev-1783705652236 → 1.0.0-dev-1783973359164

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 (460) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/account-identity-BYfeWLe-.mjs +1 -0
  3. package/dist/adapter-auth-runtime-a4O7cSNP.mjs +1 -0
  4. package/dist/adapter-binding-DDUyv1JK.d.mts +254 -0
  5. package/dist/{adapter-CA8rPIUz.mjs → adapter-nl_xz9dz.mjs} +1 -1
  6. package/dist/adapter-subsystem/index.d.mts +120 -5
  7. package/dist/adapter-subsystem/index.mjs +1 -1
  8. package/dist/adapters/acp-client/index.d.mts +10 -0
  9. package/dist/adapters/acp-client/index.mjs +2 -2
  10. package/dist/adapters/config/index.d.mts +176 -153
  11. package/dist/adapters/config/index.mjs +1 -1
  12. package/dist/adapters/index.d.mts +1021 -1005
  13. package/dist/adapters/index.mjs +6 -6
  14. package/dist/adapters/node.d.mts +1 -1
  15. package/dist/adapters/node.mjs +1 -1
  16. package/dist/adapters/stream-session/index.d.mts +7 -5
  17. package/dist/adapters/stream-session/index.mjs +1 -1
  18. package/dist/auth-C3NOWqTU.mjs +1 -0
  19. package/dist/authority-state-bootstrap-CEuKScnL.mjs +1 -0
  20. package/dist/{base-orchestrator-J1WKAUkF.d.mts → base-orchestrator-BiShpVKL.d.mts} +6 -0
  21. package/dist/bus/index.d.mts +10 -10
  22. package/dist/bus/index.mjs +1 -1
  23. package/dist/{canonical-model-DV-Z8gsb.mjs → canonical-model-C31NaBJs.mjs} +1 -1
  24. package/dist/client-BkpLM8Fx.mjs +1 -0
  25. package/dist/client-binary-version-verifier-BK_vIjIo.mjs +2 -0
  26. package/dist/client-binary-version-verifier-BwrMTAh2.d.mts +179 -0
  27. package/dist/clients/index.d.mts +69 -85
  28. package/dist/clients/index.mjs +1 -2
  29. package/dist/clients/managed-install.d.mts +2 -0
  30. package/dist/clients/managed-install.mjs +1 -0
  31. package/dist/{clients-namespace-Bt_VTkEU.d.mts → clients-namespace-B96QIJOs.d.mts} +224 -21
  32. package/dist/compression-CZ_6fYq8.mjs +1 -0
  33. package/dist/config-namespace-DTA6EQL8.mjs +1 -0
  34. package/dist/{config-namespace-DqdFE6zk.d.mts → config-namespace-x0fuhEXe.d.mts} +73 -1
  35. package/dist/contracts/adapter/index.d.mts +3 -3
  36. package/dist/contracts/adapter/index.mjs +1 -1
  37. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  38. package/dist/contracts/artifact/index.d.mts +1 -1
  39. package/dist/contracts/auth/index.d.mts +3 -0
  40. package/dist/contracts/auth/index.mjs +1 -0
  41. package/dist/contracts/canonical-model/index.d.mts +1 -1
  42. package/dist/contracts/canonical-model/index.mjs +1 -1
  43. package/dist/contracts/client/index.d.mts +3 -3
  44. package/dist/contracts/client/index.mjs +1 -1
  45. package/dist/contracts/common/index.d.mts +1 -1
  46. package/dist/contracts/config/index.d.mts +20 -93
  47. package/dist/contracts/config/index.mjs +1 -1
  48. package/dist/contracts/extension/index.d.mts +3 -3
  49. package/dist/contracts/extension/index.mjs +1 -1
  50. package/dist/contracts/facet/index.d.mts +1 -1
  51. package/dist/contracts/facet/index.mjs +1 -1
  52. package/dist/contracts/harness/index.d.mts +1 -1
  53. package/dist/contracts/harness/index.mjs +1 -1
  54. package/dist/contracts/host/index.d.mts +1 -1
  55. package/dist/contracts/host/index.mjs +1 -1
  56. package/dist/contracts/index.d.mts +1161 -140
  57. package/dist/contracts/index.mjs +1 -1
  58. package/dist/contracts/materialization/index.d.mts +3 -3
  59. package/dist/contracts/materialization/index.mjs +1 -1
  60. package/dist/contracts/model-registry/index.d.mts +1 -1
  61. package/dist/contracts/model-registry/index.mjs +1 -1
  62. package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
  63. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  64. package/dist/contracts/platform/index.d.mts +1 -1
  65. package/dist/contracts/platform/index.mjs +1 -1
  66. package/dist/contracts/provider/index.d.mts +2 -2
  67. package/dist/contracts/provider/index.mjs +1 -1
  68. package/dist/contracts/session/index.d.mts +3 -3
  69. package/dist/contracts/session/index.mjs +1 -1
  70. package/dist/contracts/shared/index.d.mts +2 -2
  71. package/dist/contracts/shared/index.mjs +1 -1
  72. package/dist/contracts/skill/index.d.mts +1 -1
  73. package/dist/contracts/skill/index.mjs +1 -1
  74. package/dist/contracts/telemetry/index.d.mts +1 -1
  75. package/dist/contracts/telemetry/index.mjs +1 -1
  76. package/dist/contracts/timeout/index.d.mts +1 -1
  77. package/dist/contracts/timeout/index.mjs +1 -1
  78. package/dist/contracts/toast/index.mjs +1 -1
  79. package/dist/contracts/variant/index.d.mts +1 -1
  80. package/dist/contracts/variant/index.mjs +1 -1
  81. package/dist/contracts/workflow/index.d.mts +3 -3
  82. package/dist/contracts/workflow/index.mjs +1 -1
  83. package/dist/{definition-s9PIua2B.d.mts → definition-Bj9Vr16H.d.mts} +1 -1
  84. package/dist/{definition-Cllhr9mi.d.mts → definition-BsTlOz99.d.mts} +36 -4
  85. package/dist/{definition-CuJvtYeG.d.mts → definition-Cbl0k6Fc.d.mts} +31 -1
  86. package/dist/definition-K3m51lgO.mjs +1 -0
  87. package/dist/definitions-C1pgx0Nq.mjs +1 -0
  88. package/dist/{detached-extension-handle-Cx6-0eqg.mjs → detached-extension-handle-vDK194QV.mjs} +1 -1
  89. package/dist/drizzle/0026_m_mrgvi7fq.sql +16 -0
  90. package/dist/drizzle/0027_m_mrgw0uzg.sql +1 -0
  91. package/dist/drizzle/0028_m_mrgx04i1.sql +1 -0
  92. package/dist/drizzle/0029_terminal-authority.sql +1 -0
  93. package/dist/drizzle/meta/_journal.json +28 -0
  94. package/dist/execution-target-Bg2wpfML.mjs +1 -0
  95. package/dist/{extension-CJClssfp.mjs → extension-CjTu6mzW.mjs} +1 -1
  96. package/dist/extension-D4iKUUMG.mjs +1 -0
  97. package/dist/{filesystem-service-Bmyqo6po.mjs → filesystem-service-maY_P3yA.mjs} +1 -1
  98. package/dist/git/index.mjs +1 -1
  99. package/dist/{globby-D4SANVoq.mjs → globby-CisClzat.mjs} +1 -1
  100. package/dist/handlers-RGs3eC9X.mjs +57 -0
  101. package/dist/{harness-DkUpbsuY.mjs → harness-DflvHAGV.mjs} +1 -1
  102. package/dist/index-9dISOTLT.d.mts +174 -0
  103. package/dist/{index-B9d_8_V2.d.mts → index-9g0agW_p.d.mts} +55 -55
  104. package/dist/{index-DScUb-hF.d.mts → index-BDr2Ba122.d.mts} +34 -11
  105. package/dist/{index-BcvG3wPv.d.mts → index-BKZAAWo2.d.mts} +185 -45
  106. package/dist/{index-CaerrEDH.d.mts → index-Bbr5LEUc.d.mts} +2 -2
  107. package/dist/{index-C23g_M_J2.d.mts → index-BmsPH78f2.d.mts} +50 -5
  108. package/dist/index-ButbwvVY.d.mts +1175 -0
  109. package/dist/index-BxuiHVFi.d.mts +284 -0
  110. package/dist/{index-DnnKUwHm.d.mts → index-C2C1qH1Y.d.mts} +38 -32
  111. package/dist/{index-ntS1EXlf.d.mts → index-C6LZOiDv.d.mts} +150 -2
  112. package/dist/{index-C9FCWOhp.d.mts → index-COC9jCdc.d.mts} +124 -22
  113. package/dist/{index-Cx1Bm6WD.d.mts → index-CVs0Qxks.d.mts} +8 -8
  114. package/dist/index-CagRgpXI2.d.mts +84 -0
  115. package/dist/{index-DoEF9LAc.d.mts → index-CtjLeK1F.d.mts} +3 -3
  116. package/dist/{index-DZPNuWMc.d.mts → index-Cx8jGKOs.d.mts} +4 -4
  117. package/dist/{index-h5go5Dtd.d.mts → index-D75FnT0B.d.mts} +1 -1
  118. package/dist/{index-FFVwQMad.d.mts → index-DNkR5yTY.d.mts} +3401 -594
  119. package/dist/{index-wq7XeqyG.d.mts → index-DXBiCH2y.d.mts} +27 -1
  120. package/dist/{index-B2DjrVb8.d.mts → index-DpZbaS7y.d.mts} +1194 -87
  121. package/dist/{index-BvTd61i5.d.mts → index-T96ydgVk.d.mts} +260 -160
  122. package/dist/{index-DLNRgZPo2.d.mts → index-j2YlW_Fc.d.mts} +1 -1
  123. package/dist/{index-PIlYSC73.d.mts → index-x2gFj3BK.d.mts} +41 -28
  124. package/dist/kernel/cli/index.d.mts +2 -2
  125. package/dist/kernel/cli/index.mjs +1 -1
  126. package/dist/kernel/cli/register.d.mts +1 -1
  127. package/dist/kernel/cli/register.mjs +1 -1
  128. package/dist/kernel/cli/schemas.mjs +1 -1
  129. package/dist/kernel/extension/index.d.mts +1 -1
  130. package/dist/kernel/extension/index.mjs +1 -1
  131. package/dist/kernel/index.d.mts +5 -5
  132. package/dist/kernel/index.mjs +1 -1
  133. package/dist/kernel/namespace/index.d.mts +1 -1
  134. package/dist/kernel/namespace/index.mjs +1 -1
  135. package/dist/kernel/observability/index.d.mts +1 -1
  136. package/dist/kernel/observability/index.mjs +1 -1
  137. package/dist/kernel/providers/index.d.mts +1 -1
  138. package/dist/kernel/providers/index.mjs +1 -1
  139. package/dist/kernel/window/index.d.mts +1 -1
  140. package/dist/kernel/window/index.mjs +1 -1
  141. package/dist/{lib-BOmKyjWD.mjs → lib-DIVnpS8e.mjs} +1 -1
  142. package/dist/{lib-DLZYp5z3.mjs → lib-DymjnkAP.mjs} +1 -1
  143. package/dist/{load-extensions-DNRIy4zC.d.mts → load-extensions-_EnedkUp.d.mts} +1 -1
  144. package/dist/{load-extensions-Cze1RHcG.mjs → load-extensions-nqL5WAKj.mjs} +1 -1
  145. package/dist/mcp-http-server/index.d.mts +27 -90
  146. package/dist/mcp-http-server/index.mjs +2 -2
  147. package/dist/model-uE5IyUFJ.mjs +1 -0
  148. package/dist/namespace-C05pkLbN.mjs +1 -0
  149. package/dist/{namespace-D9PLFmPQ.d.mts → namespace-CCZXyxSe.d.mts} +18 -18
  150. package/dist/namespace-D7pE2QWv.mjs +1 -0
  151. package/dist/{namespace-dFBD2ZmS.mjs → namespace-DwQtzlY-.mjs} +1 -1
  152. package/dist/namespace-HsI0Jbbr.mjs +1 -0
  153. package/dist/namespace-VmsT_tLJ.d.mts +3729 -0
  154. package/dist/namespace-Xp9-g_r-.mjs +1 -0
  155. package/dist/{native-session-supervisor-7ElwM6Is.mjs → native-session-supervisor-CdtVGWA9.mjs} +1 -1
  156. package/dist/node/bus-server/index.d.mts +1 -1
  157. package/dist/node/bus-server/index.mjs +1 -1
  158. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  159. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  160. package/dist/node/transports/index.d.mts +36 -1
  161. package/dist/node/transports/index.mjs +2 -2
  162. package/dist/{orchestrator-shared-ChygCvR1.mjs → orchestrator-shared-DAkGOu9H.mjs} +1 -1
  163. package/dist/{orchestrator-shared-DFLb1otg.d.mts → orchestrator-shared-pxtyNu3W.d.mts} +13 -6
  164. package/dist/package-BYpWkSuQ.mjs +1 -0
  165. package/dist/package-CsFFT9iR.mjs +7 -0
  166. package/dist/{package-DmVZxufT.d.mts → package-DG9GSY8M.d.mts} +52 -1
  167. package/dist/package.json +1 -1
  168. package/dist/{profile-BMBXUqqh.mjs → profile-D2m94ZYD.mjs} +1 -1
  169. package/dist/provider-context-BYkMl--1.mjs +1 -0
  170. package/dist/provider-context-DOsjOjiR.mjs +1 -0
  171. package/dist/{providers-namespace-5GoTlHXz.d.mts → providers-namespace-O4de1tgO.d.mts} +161 -14
  172. package/dist/resolved-O2XXjTeu.mjs +1 -0
  173. package/dist/rules/index.d.mts +1 -1
  174. package/dist/rules/index.mjs +1 -1
  175. package/dist/rules/schemas.d.mts +1 -1
  176. package/dist/runtime-bun/index.mjs +1 -1
  177. package/dist/runtime-node/client-binary-strategy-dependencies.d.mts +34 -0
  178. package/dist/runtime-node/client-binary-strategy-dependencies.mjs +1 -0
  179. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  180. package/dist/runtime-node/extension-validation.d.mts +1 -1
  181. package/dist/runtime-node/extension-validation.mjs +1 -1
  182. package/dist/runtime-node/index.d.mts +25 -84
  183. package/dist/runtime-node/index.mjs +24 -24
  184. package/dist/runtime-node/makaio-config.d.mts +1 -1
  185. package/dist/runtime-node/makaio-config.mjs +1 -1
  186. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  187. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  188. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  189. package/dist/{schema-7aKBGB7S.mjs → schema-BI0aCHvV.mjs} +1 -1
  190. package/dist/schemas-C-J4W1ID.mjs +1 -0
  191. package/dist/{schemas-Br-rSxPE2.d.mts → schemas-CoJCTFod2.d.mts} +8 -8
  192. package/dist/schemas-K3Td_WdR.d.mts +3175 -0
  193. package/dist/schemas-n9Ff6_RX.mjs +1 -0
  194. package/dist/schemas-th_nuC5t.mjs +1 -0
  195. package/dist/selection-YRuVSdck.mjs +1 -0
  196. package/dist/service-base/index.d.mts +4 -3
  197. package/dist/service-base/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/index.d.mts +3 -3
  199. package/dist/services/adapter-runtime/index.mjs +1 -1
  200. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  201. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  202. package/dist/services/adapter-subsystem/index.d.mts +4 -3
  203. package/dist/services/adapter-subsystem/index.mjs +1 -1
  204. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  205. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  206. package/dist/services/agent-runtime/index.d.mts +2 -2
  207. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  208. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  209. package/dist/services/capability/index.d.mts +1 -1
  210. package/dist/services/capability/index.mjs +1 -1
  211. package/dist/services/codebase/index.d.mts +2 -2
  212. package/dist/services/codebase/namespace.d.mts +1 -1
  213. package/dist/services/codebase/schemas.d.mts +1 -1
  214. package/dist/services/compression/index.d.mts +2 -2
  215. package/dist/services/compression/namespace.d.mts +1 -1
  216. package/dist/services/compression/schemas.d.mts +1 -1
  217. package/dist/services/context-rules/index.d.mts +4 -4
  218. package/dist/services/context-rules/index.mjs +1 -1
  219. package/dist/services/definition/namespace.d.mts +1 -19
  220. package/dist/services/definition/schemas.d.mts +0 -9
  221. package/dist/services/definition/schemas.mjs +1 -1
  222. package/dist/services/execution-target/index.d.mts +4 -4
  223. package/dist/services/execution-target/index.mjs +1 -1
  224. package/dist/services/execution-target/namespace.d.mts +1 -1
  225. package/dist/services/execution-target/namespace.mjs +1 -1
  226. package/dist/services/execution-target/schemas.d.mts +1 -1
  227. package/dist/services/execution-target/schemas.mjs +1 -1
  228. package/dist/services/filesystem/index.d.mts +1 -1
  229. package/dist/services/filesystem/index.mjs +1 -1
  230. package/dist/services/git/namespace.mjs +1 -1
  231. package/dist/services/git/schemas.mjs +1 -1
  232. package/dist/services/harness/index.d.mts +6 -6
  233. package/dist/services/harness/index.mjs +1 -1
  234. package/dist/services/index.d.mts +1591 -173
  235. package/dist/services/index.mjs +1 -1
  236. package/dist/services/log-import/browser.d.mts +2 -2
  237. package/dist/services/log-import/index.d.mts +2 -2
  238. package/dist/services/log-import/log-import.d.mts +1 -1
  239. package/dist/services/log-import/log-import.mjs +1 -1
  240. package/dist/services/log-import/namespace.mjs +1 -1
  241. package/dist/services/log-import/schemas.mjs +1 -1
  242. package/dist/services/model-registry/index.d.mts +1 -1
  243. package/dist/services/model-registry/index.mjs +1 -1
  244. package/dist/services/preferences/index.d.mts +2 -2
  245. package/dist/services/preferences/schemas.d.mts +1 -1
  246. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  247. package/dist/services/provider-context/index.d.mts +2 -2
  248. package/dist/services/provider-context/index.mjs +1 -1
  249. package/dist/services/provider-runtime/index.d.mts +18 -0
  250. package/dist/services/provider-runtime/index.mjs +1 -1
  251. package/dist/services/session/handlers/index.d.mts +1 -1
  252. package/dist/services/session/handlers/index.mjs +1 -1
  253. package/dist/services/session/index.d.mts +10 -10
  254. package/dist/services/session/index.mjs +1 -1
  255. package/dist/services/session/messages/namespace.d.mts +1 -1
  256. package/dist/services/session/messages/namespace.mjs +1 -1
  257. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  258. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  259. package/dist/services/session/session-events/namespace.d.mts +1 -1
  260. package/dist/services/session/session-events/namespace.mjs +1 -1
  261. package/dist/services/session/storage/namespace.d.mts +1 -1
  262. package/dist/services/session/storage/schema.d.mts +1 -1
  263. package/dist/services/session/testing/index.d.mts +2 -2
  264. package/dist/services/session/testing/index.mjs +10 -10
  265. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  266. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  267. package/dist/services/session/turns/namespace.d.mts +1 -1
  268. package/dist/services/session/turns/namespace.mjs +1 -1
  269. package/dist/services/session-editor/index.d.mts +1 -1
  270. package/dist/services/session-editor/index.mjs +1 -1
  271. package/dist/services/settings/index.d.mts +3 -3
  272. package/dist/services/settings/index.mjs +1 -1
  273. package/dist/services/settings/namespace.d.mts +18 -25
  274. package/dist/services/settings/namespace.mjs +1 -1
  275. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  276. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  277. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  278. package/dist/services/settings/storage/index.d.mts +3 -3
  279. package/dist/services/settings/storage/index.mjs +1 -1
  280. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  281. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  282. package/dist/services/subagent/index.d.mts +2 -2
  283. package/dist/services/subagent/index.mjs +1 -1
  284. package/dist/services/subagent-template/index.d.mts +2 -2
  285. package/dist/services/subagent-template/namespace.d.mts +1 -1
  286. package/dist/services/subagent-template/schemas.d.mts +1 -1
  287. package/dist/services/tool-approval/index.d.mts +1 -1
  288. package/dist/services/tool-approval/index.mjs +1 -1
  289. package/dist/services/tools/index.d.mts +1 -1
  290. package/dist/services/tools/index.mjs +1 -1
  291. package/dist/services/tray-menu/index.d.mts +3 -3
  292. package/dist/services/tray-menu/index.mjs +1 -1
  293. package/dist/services/tray-menu/namespace.d.mts +1 -1
  294. package/dist/services/tray-menu/schemas.d.mts +1 -1
  295. package/dist/services/turn/index.d.mts +1 -1
  296. package/dist/services/turn/namespace.d.mts +1 -1
  297. package/dist/session-CAjudDuJ.mjs +76 -0
  298. package/dist/{session-DBfQkgdy.mjs → session-lRd8HZNZ.mjs} +1 -1
  299. package/dist/{shared-BVW-3Dhy.mjs → shared-RP_KARKF.mjs} +1 -1
  300. package/dist/{skill-N-ttlp1i.mjs → skill-CpNjWFuE.mjs} +1 -1
  301. package/dist/{src-Ck2sbaDa.mjs → src-Bo2eA51B.mjs} +1 -1
  302. package/dist/storage/drizzle/client.d.mts +1 -1
  303. package/dist/storage/drizzle/client.mjs +1 -1
  304. package/dist/storage/drizzle/index.d.mts +9 -2
  305. package/dist/storage/drizzle/index.mjs +1 -1
  306. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  307. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  308. package/dist/storage/handlers/index.d.mts +1 -1
  309. package/dist/storage/handlers/index.mjs +1 -1
  310. package/dist/{tool-approval-service-DEiMKTv9.mjs → tool-approval-service-Dh0XI21f.mjs} +1 -1
  311. package/dist/tools/index.d.mts +1 -1
  312. package/dist/tools-PC_L6g2m.mjs +1 -0
  313. package/dist/{transition-OzGXyy3p.d.mts → transition-CwUIm1hJ.d.mts} +10 -2
  314. package/dist/{types-BWduCvRU.d.mts → types-B-xY9WW2.d.mts} +1 -1
  315. package/dist/{types-CBLPaQXe.d.mts → types-BaDYigzD.d.mts} +486 -25
  316. package/dist/{types-BrUOVfwe.d.mts → types-DvKaEOOn.d.mts} +252 -19
  317. package/dist/ui-hooks/index.d.mts +103 -14
  318. package/dist/ui-hooks/index.mjs +1 -1
  319. package/dist/ui-kernel/index.d.mts +3 -3
  320. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  321. package/dist/utils/keychain.mjs +1 -1
  322. package/dist/{version-DoV_pSzT.mjs → version-C1-VD-XL.mjs} +1 -1
  323. package/dist/workflow-DFJYGjq_.mjs +1 -0
  324. package/dist/workflow-engine/index.d.mts +663 -60
  325. package/dist/workflow-engine/index.mjs +1 -1
  326. package/dist/workflow-engine/package.d.mts +1 -1
  327. package/dist/workflow-engine/package.mjs +1 -1
  328. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  329. package/dist/workflow-worker-BEFjCccX.mjs +1 -0
  330. package/package.json +13 -8
  331. package/dist/account-identity-C7Kx_ieU.mjs +0 -1
  332. package/dist/cleanEnvForAdapter-BooAgM2R.mjs +0 -1
  333. package/dist/client-DaR4mzqn.mjs +0 -1
  334. package/dist/compression-C5JAWdgZ.mjs +0 -1
  335. package/dist/config-namespace-CY9leBnE.mjs +0 -1
  336. package/dist/credential-ref-YWQQENEo.mjs +0 -1
  337. package/dist/definition-C-GVz7uw.mjs +0 -1
  338. package/dist/execution-target-BR8bLkCR.mjs +0 -1
  339. package/dist/extension-BS_4BOeO.mjs +0 -1
  340. package/dist/handlers-B74FvKlA.mjs +0 -57
  341. package/dist/index-BcwOnvUh.d.mts +0 -749
  342. package/dist/index-D6aAzr32.d.mts +0 -997
  343. package/dist/index-DtwGhFFQ.d.mts +0 -40
  344. package/dist/loop-gate-handlers-o2B5FPdF.mjs +0 -1
  345. package/dist/namespace-B4cV_pk3.d.mts +0 -1317
  346. package/dist/namespace-BO3tODGC.mjs +0 -1
  347. package/dist/namespace-CVMZVqB5.mjs +0 -1
  348. package/dist/namespace-DBHwyhME.mjs +0 -1
  349. package/dist/namespace-DibbhCPP.mjs +0 -1
  350. package/dist/package-CF_Zm2v4.mjs +0 -1
  351. package/dist/package-Co_GO3UD.mjs +0 -7
  352. package/dist/provider-context-CqMgPOWF.mjs +0 -1
  353. package/dist/provider-context-DC_eq7es.mjs +0 -1
  354. package/dist/schemas-CVo8qAK-.mjs +0 -1
  355. package/dist/schemas-CuG17U3L.mjs +0 -1
  356. package/dist/session-CX6QDhi2.mjs +0 -76
  357. package/dist/tools-CGFZkB7F.mjs +0 -1
  358. package/dist/workflow-C3dgVwTY.mjs +0 -1
  359. package/dist/workflow-worker-dH70EbjE.mjs +0 -1
  360. /package/dist/{ajv-B5dPIck0.mjs → ajv-DfHhgdS5.mjs} +0 -0
  361. /package/dist/{await-trigger-DwVldnMt.mjs → await-trigger-DP-fTQc4.mjs} +0 -0
  362. /package/dist/{capability-service-XlymTzz1.mjs → capability-service-Dg2bU8qc.mjs} +0 -0
  363. /package/dist/{client-CebV_fZc.d.mts → client-DmJwprw1.d.mts} +0 -0
  364. /package/dist/{create-static-mount-DkK28kKW.mjs → create-static-mount-CBTXRtbN.mjs} +0 -0
  365. /package/dist/{cross-spawn-CDXy3BjE.mjs → cross-spawn-D9WWFl2a.mjs} +0 -0
  366. /package/dist/{cursor-storage-luQAg7E_.mjs → cursor-storage-Bw-7ROzx.mjs} +0 -0
  367. /package/dist/{descriptor-to-package-DdpjpT7n.mjs → descriptor-to-package-Rs-OjOQU.mjs} +0 -0
  368. /package/dist/{drizzle-DVTAl7Us.mjs → drizzle-DYfaDzlO.mjs} +0 -0
  369. /package/dist/{esm-CQG9Pc7n.mjs → esm-C_WW4-pP.mjs} +0 -0
  370. /package/dist/{event-DguYjV6D.mjs → event-DTM0-qWP.mjs} +0 -0
  371. /package/dist/{extension-discovery-CIZn5bkq.d.mts → extension-discovery-APMf1Tes.d.mts} +0 -0
  372. /package/dist/{extension-namespace-v3K0qVry.mjs → extension-namespace-vrh4ERXR.mjs} +0 -0
  373. /package/dist/{facet-BM4y4aQP.mjs → facet-DqPBpqkl.mjs} +0 -0
  374. /package/dist/{filesystem-service-Cwp0sWNc.d.mts → filesystem-service-Bx0bR2Lb.d.mts} +0 -0
  375. /package/dist/{handler-BFNvtv5t.mjs → handler-4pKQi3eo.mjs} +0 -0
  376. /package/dist/{host-vY07gek-.mjs → host-BfgdjlII.mjs} +0 -0
  377. /package/dist/{identity-DC3Pk0ps.mjs → identity-2qUT1NME.mjs} +0 -0
  378. /package/dist/{index-COI1tjAf.d.mts → index-BZ_DSGnE.d.mts} +0 -0
  379. /package/dist/{index-D7rWAEY0.d.mts → index-Bd52mmj9.d.mts} +0 -0
  380. /package/dist/{index-Dfi8Rorw.d.mts → index-BkAKfh4d.d.mts} +0 -0
  381. /package/dist/{index-CuHqL95P.d.mts → index-Bv9lm0Kf.d.mts} +0 -0
  382. /package/dist/{index-C4nStEdA.d.mts → index-C18Pn3zP.d.mts} +0 -0
  383. /package/dist/{index-Cr9lh21j.d.mts → index-CarbJsC92.d.mts} +0 -0
  384. /package/dist/{index-BjoOSg95.d.mts → index-Ctw617Tj.d.mts} +0 -0
  385. /package/dist/{index-DUD7wikz2.d.mts → index-D0eUQjTU2.d.mts} +0 -0
  386. /package/dist/{index-O08Q2ikz.d.mts → index-DHGW7dFf.d.mts} +0 -0
  387. /package/dist/{index-DEzdNQum.d.mts → index-DfVSWBBp.d.mts} +0 -0
  388. /package/dist/{index-WHUV7neB.d.mts → index-DlAfs3RD.d.mts} +0 -0
  389. /package/dist/{index-D3ahzHwb.d.mts → index-DnWZdG6C.d.mts} +0 -0
  390. /package/dist/{index-CpKikwK4.d.mts → index-DoLdETfR.d.mts} +0 -0
  391. /package/dist/{index-B92mToDo2.d.mts → index-DvaPrL6C.d.mts} +0 -0
  392. /package/dist/{index-D7Hkmrr3.d.mts → index-DwDBa2mb.d.mts} +0 -0
  393. /package/dist/{index-Y8rMeYYX.d.mts → index-FDyqQIt5.d.mts} +0 -0
  394. /package/dist/{index-BWIkf5oJ.d.mts → index-Lp0T_V1W.d.mts} +0 -0
  395. /package/dist/{index-OGIC4puQ.d.mts → index-Rhcr4YNA.d.mts} +0 -0
  396. /package/dist/{index-BvLXySoB2.d.mts → index-S-mAqWwq.d.mts} +0 -0
  397. /package/dist/{index-DOOrKin9.d.mts → index-_zsihEmk.d.mts} +0 -0
  398. /package/dist/{json-value-DtIkQN7g.d.mts → json-value-C8duSh9X.d.mts} +0 -0
  399. /package/dist/{jsonl-transport-CGPgD8iU.mjs → jsonl-transport-l5NPcQ_2.mjs} +0 -0
  400. /package/dist/{lib-ZKtnbCqH.mjs → lib-ClRTNIuz.mjs} +0 -0
  401. /package/dist/{materialization-CUYxZCfk.mjs → materialization-BwTORtBr.mjs} +0 -0
  402. /package/dist/{model-registry-C2VXobZj.mjs → model-registry-BneK5SGo.mjs} +0 -0
  403. /package/dist/{model-registry-rYICIwyR.mjs → model-registry-C8MInDtX.mjs} +0 -0
  404. /package/dist/{namespace-65uwTpbg.d.mts → namespace-3YVLQ_bM.d.mts} +0 -0
  405. /package/dist/{namespace-BGIeqwfU.d.mts → namespace-B0uZIZYT.d.mts} +0 -0
  406. /package/dist/{namespace-CQ8uza7o.d.mts → namespace-BcDHt-ww.d.mts} +0 -0
  407. /package/dist/{namespace-BigVYQyx.d.mts → namespace-BhVlHfoO.d.mts} +0 -0
  408. /package/dist/{namespace-j7vFsmYL.d.mts → namespace-Bl1UhLnK.d.mts} +0 -0
  409. /package/dist/{namespace-CfvtDD_U.d.mts → namespace-BoA6u44C.d.mts} +0 -0
  410. /package/dist/{namespace-Dk4OslmY.d.mts → namespace-BsEoWXV_.d.mts} +0 -0
  411. /package/dist/{namespace-DYSFDC2G.mjs → namespace-C238RqwB.mjs} +0 -0
  412. /package/dist/{namespace-BdO4e1Fm.mjs → namespace-CDO4rY11.mjs} +0 -0
  413. /package/dist/{namespace-CZK2ff3B.d.mts → namespace-CukqFYHf2.d.mts} +0 -0
  414. /package/dist/{namespace-wke7juzy.mjs → namespace-DDx4NVJm.mjs} +0 -0
  415. /package/dist/{namespace-D1_9WVCo.d.mts → namespace-Dar3O6iT.d.mts} +0 -0
  416. /package/dist/{namespace-DAj_riOn.d.mts → namespace-DoNigVgx.d.mts} +0 -0
  417. /package/dist/{namespace-D2s-4pyg.d.mts → namespace-Dvi66QS6.d.mts} +0 -0
  418. /package/dist/{namespace-D8P8Sxce2.d.mts → namespace-rO-C2Dgu2.d.mts} +0 -0
  419. /package/dist/{out-BoEZjBNz.mjs → out-BB6Kb4Xu.mjs} +0 -0
  420. /package/dist/{platform-DnbSvm2u.mjs → platform-CWhGFQFX.mjs} +0 -0
  421. /package/dist/{providers-Bd7BOZs0.mjs → providers-CUnrif24.mjs} +0 -0
  422. /package/dist/{quick-lru-6e7I1Bgf.mjs → quick-lru-BLaSzINB.mjs} +0 -0
  423. /package/dist/{registry-U_3aYSin.mjs → registry-TJjQgTgp.mjs} +0 -0
  424. /package/dist/{schema-B5vHi7Uu.d.mts → schema-aOwmHxaF.d.mts} +0 -0
  425. /package/dist/{schema-CHp6I33k.mjs → schema-cus0dJ81.mjs} +0 -0
  426. /package/dist/{schema-introspection-B7xODt4I.mjs → schema-introspection-BsWLmoFp.mjs} +0 -0
  427. /package/dist/{schemas-KlH1hB7u.d.mts → schemas-9QJf1FtS.d.mts} +0 -0
  428. /package/dist/{schemas-CJ2JvA7d.d.mts → schemas-BolSW7pQ.d.mts} +0 -0
  429. /package/dist/{schemas-D4zaFE2p.d.mts → schemas-CLsbsX1W.d.mts} +0 -0
  430. /package/dist/{schemas-XeIBqwvE.mjs → schemas-CMyv7l7-.mjs} +0 -0
  431. /package/dist/{schemas-CPI00yvh.mjs → schemas-CWxf_Yut.mjs} +0 -0
  432. /package/dist/{schemas-BemsLc_V.d.mts → schemas-D_9X_CRo.d.mts} +0 -0
  433. /package/dist/{schemas-DZGnr9Tl.mjs → schemas-DwfTUQIa.mjs} +0 -0
  434. /package/dist/{schemas-CoFCV42v.d.mts → schemas-OaBqeEUT.d.mts} +0 -0
  435. /package/dist/{schemas-B6tEKf9T.d.mts → schemas-XRhqOgVE.d.mts} +0 -0
  436. /package/dist/{schemas-DKncXGnb.d.mts → schemas-fRLDhefF.d.mts} +0 -0
  437. /package/dist/{schemas-DWfo0wp4.d.mts → schemas-jDRSOXJL.d.mts} +0 -0
  438. /package/dist/{schemas-lnE9YoG7.d.mts → schemas-qpo1Goit.d.mts} +0 -0
  439. /package/dist/{schemas-t6h9oSct.d.mts → schemas-qt5QTjVc.d.mts} +0 -0
  440. /package/dist/{semver-CIhHqMkw.mjs → semver-BccS1s9R.mjs} +0 -0
  441. /package/dist/{server-lifecycle-C5Z5PSMD.mjs → server-lifecycle-D-jxVr_0.mjs} +0 -0
  442. /package/dist/{server-lifecycle-_AA6EfzL.d.mts → server-lifecycle-r5Tkk8bU.d.mts} +0 -0
  443. /package/dist/{session-lineage-C1M7-O3C.d.mts → session-lineage-YShrn77v.d.mts} +0 -0
  444. /package/dist/{shared-schemas-BEVG96xW.mjs → shared-schemas-BNCPgGYP.mjs} +0 -0
  445. /package/dist/{src-_VODAJnf.mjs → src-Ci_WY9uw.mjs} +0 -0
  446. /package/dist/{storage-namespace-D5q9CrBp.mjs → storage-namespace-BzE2M4Hq.mjs} +0 -0
  447. /package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-DWKFqEW-.d.mts} +0 -0
  448. /package/dist/{storage-namespace-definition-CzXPW45M.mjs → storage-namespace-definition-4UYuij1r.mjs} +0 -0
  449. /package/dist/{storage-namespace-definition-BffdI5Bz.d.mts → storage-namespace-definition-BZJGSaX3.d.mts} +0 -0
  450. /package/dist/{supports-color-DcXkvGDF.mjs → supports-color-Dzp6WuF5.mjs} +0 -0
  451. /package/dist/{telemetry-Cvi4rxiE.mjs → telemetry-B42EMbZt.mjs} +0 -0
  452. /package/dist/{timeout-XsYIOKrc.mjs → timeout-CvONPl0l.mjs} +0 -0
  453. /package/dist/{tray-menu-service-B2AxiQqL.mjs → tray-menu-service-Bonl2KXf.mjs} +0 -0
  454. /package/dist/{types-Bo78h9e3.d.mts → types-BCW9kr4L.d.mts} +0 -0
  455. /package/dist/{types-DCvp_swt.d.mts → types-CrJ7KEZ0.d.mts} +0 -0
  456. /package/dist/{types-BNW5n6qm.d.mts → types-DWNoZ3Sd.d.mts} +0 -0
  457. /package/dist/{ui-config-9bDRwFZr.mjs → ui-config-B2L3Xgqo.mjs} +0 -0
  458. /package/dist/{variant-5huHjUTm.mjs → variant-ByI-RZua.mjs} +0 -0
  459. /package/dist/{window-registry-PkrFIwX2.mjs → window-registry-DsWnCc8z.mjs} +0 -0
  460. /package/dist/{window-registry-ofIUQnfo.d.mts → window-registry-WsWu-rcK.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-CuJvtYeG.mjs";
1
+ import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-Cbl0k6Fc.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -83,7 +83,8 @@ declare const ClientSchemas: {
83
83
  'sessionConfig.create': {
84
84
  request: z.ZodObject<{
85
85
  clientId: z.ZodString;
86
- sessionId: z.ZodString;
86
+ leaseId: z.ZodString;
87
+ ownerSessionId: z.ZodOptional<z.ZodString>;
87
88
  profileName: z.ZodOptional<z.ZodString>;
88
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
89
90
  projectDir: z.ZodOptional<z.ZodString>;
@@ -96,12 +97,13 @@ declare const ClientSchemas: {
96
97
  response: z.ZodObject<{
97
98
  sessionDir: z.ZodString;
98
99
  env: z.ZodRecord<z.ZodString, z.ZodString>;
100
+ authMaterialized: z.ZodBoolean;
99
101
  }, z.core.$strip>;
100
102
  };
101
103
  'sessionConfig.destroy': {
102
104
  request: z.ZodObject<{
103
105
  clientId: z.ZodString;
104
- sessionId: z.ZodString;
106
+ leaseId: z.ZodString;
105
107
  }, z.core.$strip>;
106
108
  response: z.ZodObject<{
107
109
  success: z.ZodBoolean;
@@ -292,6 +294,7 @@ declare const ClientSchemas: {
292
294
  results: z.ZodArray<z.ZodObject<{
293
295
  clientId: z.ZodString;
294
296
  found: z.ZodBoolean;
297
+ binaryPath: z.ZodOptional<z.ZodString>;
295
298
  version: z.ZodOptional<z.ZodString>;
296
299
  warningMessage: z.ZodOptional<z.ZodString>;
297
300
  }, z.core.$strip>>;
@@ -503,9 +506,9 @@ declare const ClientSchemas: {
503
506
  cwd: z.ZodOptional<z.ZodString>;
504
507
  machineId: z.ZodOptional<z.ZodString>;
505
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
+ fork: "fork";
506
510
  fresh: "fresh";
507
511
  resume: "resume";
508
- fork: "fork";
509
512
  clear: "clear";
510
513
  compact: "compact";
511
514
  }>>;
@@ -685,8 +688,8 @@ declare const ClientSchemas: {
685
688
  reason: z.ZodEnum<{
686
689
  update: "update";
687
690
  install: "install";
688
- uninstall: "uninstall";
689
691
  "set-active": "set-active";
692
+ uninstall: "uninstall";
690
693
  }>;
691
694
  }, z.core.$strip>;
692
695
  resolveBinary: {
@@ -766,6 +769,7 @@ declare const ClientMetadataSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.Zod
766
769
  declare const ClientScanResultSchema: z.ZodObject<{
767
770
  clientId: z.ZodString;
768
771
  found: z.ZodBoolean;
772
+ binaryPath: z.ZodOptional<z.ZodString>;
769
773
  version: z.ZodOptional<z.ZodString>;
770
774
  warningMessage: z.ZodOptional<z.ZodString>;
771
775
  }, z.core.$strip>;
@@ -1242,8 +1246,8 @@ declare const ClientVersionChangedSchema: z.ZodObject<{
1242
1246
  reason: z.ZodEnum<{
1243
1247
  update: "update";
1244
1248
  install: "install";
1245
- uninstall: "uninstall";
1246
1249
  "set-active": "set-active";
1250
+ uninstall: "uninstall";
1247
1251
  }>;
1248
1252
  }, z.core.$strip>;
1249
1253
  type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
@@ -1482,9 +1486,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1482
1486
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1483
1487
  /** Zod schema for the client-reported session start mode. */
1484
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
+ fork: "fork";
1485
1490
  fresh: "fresh";
1486
1491
  resume: "resume";
1487
- fork: "fork";
1488
1492
  clear: "clear";
1489
1493
  compact: "compact";
1490
1494
  }>;
@@ -1501,9 +1505,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1501
1505
  cwd: z.ZodOptional<z.ZodString>;
1502
1506
  machineId: z.ZodOptional<z.ZodString>;
1503
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
+ fork: "fork";
1504
1509
  fresh: "fresh";
1505
1510
  resume: "resume";
1506
- fork: "fork";
1507
1511
  clear: "clear";
1508
1512
  compact: "compact";
1509
1513
  }>>;
@@ -1665,7 +1669,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1665
1669
  'sessionConfig.create': {
1666
1670
  request: _$zod.ZodObject<{
1667
1671
  clientId: _$zod.ZodString;
1668
- sessionId: _$zod.ZodString;
1672
+ leaseId: _$zod.ZodString;
1673
+ ownerSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1669
1674
  profileName: _$zod.ZodOptional<_$zod.ZodString>;
1670
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1671
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1678,12 +1683,13 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1678
1683
  response: _$zod.ZodObject<{
1679
1684
  sessionDir: _$zod.ZodString;
1680
1685
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
1686
+ authMaterialized: _$zod.ZodBoolean;
1681
1687
  }, _$zod_v4_core0.$strip>;
1682
1688
  };
1683
1689
  'sessionConfig.destroy': {
1684
1690
  request: _$zod.ZodObject<{
1685
1691
  clientId: _$zod.ZodString;
1686
- sessionId: _$zod.ZodString;
1692
+ leaseId: _$zod.ZodString;
1687
1693
  }, _$zod_v4_core0.$strip>;
1688
1694
  response: _$zod.ZodObject<{
1689
1695
  success: _$zod.ZodBoolean;
@@ -1874,6 +1880,7 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1874
1880
  results: _$zod.ZodArray<_$zod.ZodObject<{
1875
1881
  clientId: _$zod.ZodString;
1876
1882
  found: _$zod.ZodBoolean;
1883
+ binaryPath: _$zod.ZodOptional<_$zod.ZodString>;
1877
1884
  version: _$zod.ZodOptional<_$zod.ZodString>;
1878
1885
  warningMessage: _$zod.ZodOptional<_$zod.ZodString>;
1879
1886
  }, _$zod_v4_core0.$strip>>;
@@ -2069,9 +2076,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2069
2076
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2070
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2071
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
+ fork: "fork";
2072
2080
  fresh: "fresh";
2073
2081
  resume: "resume";
2074
- fork: "fork";
2075
2082
  clear: "clear";
2076
2083
  compact: "compact";
2077
2084
  }>>;
@@ -2251,8 +2258,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2251
2258
  reason: _$zod.ZodEnum<{
2252
2259
  update: "update";
2253
2260
  install: "install";
2254
- uninstall: "uninstall";
2255
2261
  "set-active": "set-active";
2262
+ uninstall: "uninstall";
2256
2263
  }>;
2257
2264
  }, _$zod_v4_core0.$strip>;
2258
2265
  resolveBinary: {
@@ -2302,7 +2309,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2302
2309
  'sessionConfig.create': {
2303
2310
  request: _$zod.ZodObject<{
2304
2311
  clientId: _$zod.ZodString;
2305
- sessionId: _$zod.ZodString;
2312
+ leaseId: _$zod.ZodString;
2313
+ ownerSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2306
2314
  profileName: _$zod.ZodOptional<_$zod.ZodString>;
2307
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2308
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2315,12 +2323,13 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2323
  response: _$zod.ZodObject<{
2316
2324
  sessionDir: _$zod.ZodString;
2317
2325
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2326
+ authMaterialized: _$zod.ZodBoolean;
2318
2327
  }, _$zod_v4_core0.$strip>;
2319
2328
  };
2320
2329
  'sessionConfig.destroy': {
2321
2330
  request: _$zod.ZodObject<{
2322
2331
  clientId: _$zod.ZodString;
2323
- sessionId: _$zod.ZodString;
2332
+ leaseId: _$zod.ZodString;
2324
2333
  }, _$zod_v4_core0.$strip>;
2325
2334
  response: _$zod.ZodObject<{
2326
2335
  success: _$zod.ZodBoolean;
@@ -2511,6 +2520,7 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2511
2520
  results: _$zod.ZodArray<_$zod.ZodObject<{
2512
2521
  clientId: _$zod.ZodString;
2513
2522
  found: _$zod.ZodBoolean;
2523
+ binaryPath: _$zod.ZodOptional<_$zod.ZodString>;
2514
2524
  version: _$zod.ZodOptional<_$zod.ZodString>;
2515
2525
  warningMessage: _$zod.ZodOptional<_$zod.ZodString>;
2516
2526
  }, _$zod_v4_core0.$strip>>;
@@ -2706,9 +2716,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2706
2716
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2707
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2708
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
+ fork: "fork";
2709
2720
  fresh: "fresh";
2710
2721
  resume: "resume";
2711
- fork: "fork";
2712
2722
  clear: "clear";
2713
2723
  compact: "compact";
2714
2724
  }>>;
@@ -2888,8 +2898,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2888
2898
  reason: _$zod.ZodEnum<{
2889
2899
  update: "update";
2890
2900
  install: "install";
2891
- uninstall: "uninstall";
2892
2901
  "set-active": "set-active";
2902
+ uninstall: "uninstall";
2893
2903
  }>;
2894
2904
  }, _$zod_v4_core0.$strip>;
2895
2905
  resolveBinary: {
@@ -2934,12 +2944,12 @@ declare function createClientDefinition(definition: ClientDefinitionInput): Clie
2934
2944
  */
2935
2945
  declare const ClientProfileNameSchema: z.ZodString;
2936
2946
  /**
2937
- * Filesystem-safe session config directory name.
2947
+ * Filesystem-safe session config lease directory name.
2938
2948
  *
2939
- * Session IDs flow into ephemeral config directory paths. They are restricted
2940
- * to the same single-component form as profile names to prevent path escape.
2949
+ * Lease IDs flow into ephemeral config directory paths. They are restricted to
2950
+ * the same single-component form as profile names to prevent path escape.
2941
2951
  */
2942
- declare const SessionConfigIdSchema: z.ZodString;
2952
+ declare const SessionConfigLeaseIdSchema: z.ZodString;
2943
2953
  /**
2944
2954
  * A named, persistent configuration profile for a client.
2945
2955
  *
@@ -3105,13 +3115,13 @@ declare const ClientProfileSchemas: {
3105
3115
  /**
3106
3116
  * Request and response schemas for `client.sessionConfig.*` operations.
3107
3117
  *
3108
- * Manages per-session configuration isolation: creating a temporary working
3109
- * directory seeded from a named profile, tearing it down after a session ends,
3110
- * and bulk-cleaning stale session directories.
3118
+ * Manages connector config leases: creating a temporary working directory
3119
+ * seeded from a named profile, releasing it explicitly or with its optional
3120
+ * owner session, and bulk-cleaning stale lease directories.
3111
3121
  */
3112
3122
  declare const ClientSessionConfigSchemas: {
3113
3123
  /**
3114
- * Create an isolated configuration directory for a session.
3124
+ * Create an isolated configuration directory for a connector lease.
3115
3125
  *
3116
3126
  * The service seeds the directory from the named profile (or the client
3117
3127
  * default when `profileName` is omitted) and returns the path together
@@ -3120,7 +3130,8 @@ declare const ClientSessionConfigSchemas: {
3120
3130
  'sessionConfig.create': {
3121
3131
  request: z.ZodObject<{
3122
3132
  clientId: z.ZodString;
3123
- sessionId: z.ZodString;
3133
+ leaseId: z.ZodString;
3134
+ ownerSessionId: z.ZodOptional<z.ZodString>;
3124
3135
  profileName: z.ZodOptional<z.ZodString>;
3125
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3126
3137
  projectDir: z.ZodOptional<z.ZodString>;
@@ -3133,15 +3144,16 @@ declare const ClientSessionConfigSchemas: {
3133
3144
  response: z.ZodObject<{
3134
3145
  sessionDir: z.ZodString;
3135
3146
  env: z.ZodRecord<z.ZodString, z.ZodString>;
3147
+ authMaterialized: z.ZodBoolean;
3136
3148
  }, z.core.$strip>;
3137
3149
  };
3138
3150
  /**
3139
- * Destroy the isolated configuration directory for a session.
3151
+ * Destroy the isolated configuration directory for a connector lease.
3140
3152
  */
3141
3153
  'sessionConfig.destroy': {
3142
3154
  request: z.ZodObject<{
3143
3155
  clientId: z.ZodString;
3144
- sessionId: z.ZodString;
3156
+ leaseId: z.ZodString;
3145
3157
  }, z.core.$strip>;
3146
3158
  response: z.ZodObject<{
3147
3159
  success: z.ZodBoolean;
@@ -3217,6 +3229,7 @@ type SessionConfigTeardownResponse = z.infer<typeof SessionConfigTeardownRespons
3217
3229
  */
3218
3230
  declare const SessionConfigSetupResponseSchema: z.ZodObject<{
3219
3231
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3232
+ authMaterialized: z.ZodBoolean;
3220
3233
  }, z.core.$strip>;
3221
3234
  type SessionConfigSetupResponse = z.infer<typeof SessionConfigSetupResponseSchema>;
3222
3235
  /**
@@ -3289,4 +3302,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
3289
3302
  type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
3290
3303
  type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
3291
3304
  //#endregion
3292
- export { ClientSessionToolPre as $, ManagedInstallStrategySchema as $t, SessionConfigIdSchema as A, ClientUsageWindows as An, ClientInstallResponse as At, SessionConfigTeardownResponseSchema as B, ClientUninstallSchema as Bt, SessionConfigCleanupRequest as C, ClientUsageIngestRequest as Cn, ClientBinaryListEntry as Ct, SessionConfigDestroyRequest as D, ClientUsageSnapshotSchema as Dn, ClientInstallProgress as Dt, SessionConfigCreateResponse as E, ClientUsageSnapshot as En, ClientInstallCompletedSchema as Et, SessionConfigSetupResponse as F, ClientResolveBinaryRequest as Fn, ClientSetActiveRequest as Ft, ClientSessionObservedBase as G, ClientVersionChangedSchema as Gt, ClientNamespace as H, ClientUpdateResponse as Ht, SessionConfigSetupResponseSchema as I, ClientResolveBinaryResponse as In, ClientSetActiveResponse as It, ClientSessionStartModeSchema as J, InstallStage as Jt, ClientSessionObservedBaseSchema as K, InstallError as Kt, SessionConfigTeardownRequest as L, ClientResolveBinarySchema as Ln, ClientSetActiveSchema as Lt, SessionConfigInheritanceSchema as M, ClientSchemas as Mn, ClientListRequest as Mt, SessionConfigSetupRequest as N, ClientExecutionContext as Nn, ClientListResponse as Nt, SessionConfigDestroyResponse as O, ClientUsageWindow as On, ClientInstallProgressSchema as Ot, SessionConfigSetupRequestSchema as P, ClientExecutionContextSchema as Pn, ClientListSchema as Pt, ClientSessionToolPostSchema as Q, ManagedInstallStrategy as Qt, SessionConfigTeardownRequestSchema as R, ClientUninstallRequest as Rt, ProfileUpdateResponse as S, ClientSessionLocatorSchema as Sn, ClientRuntimeStartedSchema as St, SessionConfigCreateRequest as T, ClientUsageIngestSchema as Tn, ClientInstallCompleted as Tt, ClientSubjects as U, ClientUpdateSchema as Ut, createClientDefinition as V, ClientUpdateRequest as Vt, CLIENT_SESSION_START_MODES as W, ClientVersionChanged as Wt, ClientSessionStartedSchema as X, InstalledVersionEntry as Xt, ClientSessionStarted as Y, InstallStageSchema as Yt, ClientSessionToolPost as Z, InstalledVersionEntrySchema as Zt, ProfileListRequest as _, ClientScanTargetSchema as _n, ClientRuntimeSource as _t, ClientConfigPrimeSchema as a, ClientAccountIdentifierSchema as an, ClientSessionUserPromptSubmitted as at, ProfileSetDefaultResponse as b, ClientSessionAccountObserveSchema as bn, ClientRuntimeSourceSchema as bt, ClientProfileSchema as c, ClientAccountObserveSchema as cn, ClientWiringEntrySchema as ct, ProfileCreateRequest as d, ClientIdentityObservation as dn, ClientRuntimeIsAdapterManagedRequest as dt, ClientSessionUsageCostProvenance as en, ClientSessionToolPreSchema as et, ProfileCreateResponse as f, ClientIdentityObservationSchema as fn, ClientRuntimeIsAdapterManagedResponse as ft, ProfileGetResponse as g, ClientScanTarget as gn, ClientRuntimeObserveSchema as gt, ProfileGetRequest as h, ClientScanResultSchema as hn, ClientRuntimeObserveResponse as ht, ClientConfigPrimeResponse as i, ClientAccountIdentifier as in, ClientSessionTurnStartedSchema as it, SessionConfigInheritance as j, ClientUsageWindowsSchema as jn, ClientInstallSchema as jt, SessionConfigEnvSchema as k, ClientUsageWindowSchema as kn, ClientInstallRequest as kt, ClientProfileSchemas as l, ClientIdentifierStrength as ln, ClientRuntimeEvidenceBase as lt, ProfileDeleteResponse as m, ClientScanResult as mn, ClientRuntimeObserveRequest as mt, ClientConfigPrimePhaseSchema as n, ClientSessionUsageSnapshot as nn, ClientSessionTurnCompletedSchema as nt, ClientProfile as o, ClientAccountObserveRequest as on, ClientSessionUserPromptSubmittedSchema as ot, ProfileDeleteRequest as p, ClientMetadataSchema as pn, ClientRuntimeIsAdapterManagedSchema as pt, ClientSessionStartMode as q, InstallErrorSchema as qt, ClientConfigPrimeRequest as r, ClientSessionUsageSnapshotSchema as rn, ClientSessionTurnStarted as rt, ClientProfileNameSchema as s, ClientAccountObserveResponse as sn, ClientWiringEntry as st, ClientConfigPrimePhase as t, ClientSessionUsageCostProvenanceSchema as tn, ClientSessionTurnCompleted as tt, ClientSessionConfigSchemas as u, ClientIdentifierStrengthSchema as un, ClientRuntimeEvidenceBaseSchema as ut, ProfileListResponse as v, ClientSessionAccountObserveRequest as vn, ClientRuntimeSourceLayer as vt, SessionConfigCleanupResponse as w, ClientUsageIngestResponse as wn, ClientBinaryListEntrySchema as wt, ProfileUpdateRequest as x, ClientSessionLocator as xn, ClientRuntimeStarted as xt, ProfileSetDefaultRequest as y, ClientSessionAccountObserveResponse as yn, ClientRuntimeSourceLayerSchema as yt, SessionConfigTeardownResponse as z, ClientUninstallResponse as zt };
3305
+ export { ClientSessionToolPre as $, ManagedInstallStrategySchema as $t, SessionConfigInheritance as A, ClientUsageWindows as An, ClientInstallResponse as At, SessionConfigTeardownResponseSchema as B, ClientUninstallSchema as Bt, SessionConfigCleanupRequest as C, ClientUsageIngestRequest as Cn, ClientBinaryListEntry as Ct, SessionConfigDestroyRequest as D, ClientUsageSnapshotSchema as Dn, ClientInstallProgress as Dt, SessionConfigCreateResponse as E, ClientUsageSnapshot as En, ClientInstallCompletedSchema as Et, SessionConfigSetupResponse as F, ClientResolveBinaryRequest as Fn, ClientSetActiveRequest as Ft, ClientSessionObservedBase as G, ClientVersionChangedSchema as Gt, ClientNamespace as H, ClientUpdateResponse as Ht, SessionConfigSetupResponseSchema as I, ClientResolveBinaryResponse as In, ClientSetActiveResponse as It, ClientSessionStartModeSchema as J, InstallStage as Jt, ClientSessionObservedBaseSchema as K, InstallError as Kt, SessionConfigTeardownRequest as L, ClientResolveBinarySchema as Ln, ClientSetActiveSchema as Lt, SessionConfigLeaseIdSchema as M, ClientSchemas as Mn, ClientListRequest as Mt, SessionConfigSetupRequest as N, ClientExecutionContext as Nn, ClientListResponse as Nt, SessionConfigDestroyResponse as O, ClientUsageWindow as On, ClientInstallProgressSchema as Ot, SessionConfigSetupRequestSchema as P, ClientExecutionContextSchema as Pn, ClientListSchema as Pt, ClientSessionToolPostSchema as Q, ManagedInstallStrategy as Qt, SessionConfigTeardownRequestSchema as R, ClientUninstallRequest as Rt, ProfileUpdateResponse as S, ClientSessionLocatorSchema as Sn, ClientRuntimeStartedSchema as St, SessionConfigCreateRequest as T, ClientUsageIngestSchema as Tn, ClientInstallCompleted as Tt, ClientSubjects as U, ClientUpdateSchema as Ut, createClientDefinition as V, ClientUpdateRequest as Vt, CLIENT_SESSION_START_MODES as W, ClientVersionChanged as Wt, ClientSessionStartedSchema as X, InstalledVersionEntry as Xt, ClientSessionStarted as Y, InstallStageSchema as Yt, ClientSessionToolPost as Z, InstalledVersionEntrySchema as Zt, ProfileListRequest as _, ClientScanTargetSchema as _n, ClientRuntimeSource as _t, ClientConfigPrimeSchema as a, ClientAccountIdentifierSchema as an, ClientSessionUserPromptSubmitted as at, ProfileSetDefaultResponse as b, ClientSessionAccountObserveSchema as bn, ClientRuntimeSourceSchema as bt, ClientProfileSchema as c, ClientAccountObserveSchema as cn, ClientWiringEntrySchema as ct, ProfileCreateRequest as d, ClientIdentityObservation as dn, ClientRuntimeIsAdapterManagedRequest as dt, ClientSessionUsageCostProvenance as en, ClientSessionToolPreSchema as et, ProfileCreateResponse as f, ClientIdentityObservationSchema as fn, ClientRuntimeIsAdapterManagedResponse as ft, ProfileGetResponse as g, ClientScanTarget as gn, ClientRuntimeObserveSchema as gt, ProfileGetRequest as h, ClientScanResultSchema as hn, ClientRuntimeObserveResponse as ht, ClientConfigPrimeResponse as i, ClientAccountIdentifier as in, ClientSessionTurnStartedSchema as it, SessionConfigInheritanceSchema as j, ClientUsageWindowsSchema as jn, ClientInstallSchema as jt, SessionConfigEnvSchema as k, ClientUsageWindowSchema as kn, ClientInstallRequest as kt, ClientProfileSchemas as l, ClientIdentifierStrength as ln, ClientRuntimeEvidenceBase as lt, ProfileDeleteResponse as m, ClientScanResult as mn, ClientRuntimeObserveRequest as mt, ClientConfigPrimePhaseSchema as n, ClientSessionUsageSnapshot as nn, ClientSessionTurnCompletedSchema as nt, ClientProfile as o, ClientAccountObserveRequest as on, ClientSessionUserPromptSubmittedSchema as ot, ProfileDeleteRequest as p, ClientMetadataSchema as pn, ClientRuntimeIsAdapterManagedSchema as pt, ClientSessionStartMode as q, InstallErrorSchema as qt, ClientConfigPrimeRequest as r, ClientSessionUsageSnapshotSchema as rn, ClientSessionTurnStarted as rt, ClientProfileNameSchema as s, ClientAccountObserveResponse as sn, ClientWiringEntry as st, ClientConfigPrimePhase as t, ClientSessionUsageCostProvenanceSchema as tn, ClientSessionTurnCompleted as tt, ClientSessionConfigSchemas as u, ClientIdentifierStrengthSchema as un, ClientRuntimeEvidenceBaseSchema as ut, ProfileListResponse as v, ClientSessionAccountObserveRequest as vn, ClientRuntimeSourceLayer as vt, SessionConfigCleanupResponse as w, ClientUsageIngestResponse as wn, ClientBinaryListEntrySchema as wt, ProfileUpdateRequest as x, ClientSessionLocator as xn, ClientRuntimeStarted as xt, ProfileSetDefaultRequest as y, ClientSessionAccountObserveResponse as yn, ClientRuntimeSourceLayerSchema as yt, SessionConfigTeardownResponse as z, ClientUninstallResponse as zt };
@@ -1,5 +1,5 @@
1
- import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-DCvp_swt.mjs";
2
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dk4OslmY.mjs";
1
+ import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-CrJ7KEZ0.mjs";
2
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BsEoWXV_.mjs";
3
3
  import { z } from "zod";
4
4
  import { CliArgManifest } from "@makaio/framework/contracts/extension";
5
5
 
@@ -1 +1 @@
1
- import{n as e,t}from"../../namespace-DibbhCPP.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-B7xODt4I.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
1
+ import{n as e,t}from"../../namespace-C05pkLbN.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-BsWLmoFp.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
@@ -1,2 +1,2 @@
1
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dk4OslmY.mjs";
1
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BsEoWXV_.mjs";
2
2
  export { CliNamespace, CliRpcSubjects };
@@ -1 +1 @@
1
- import{n as e,t}from"../../namespace-DibbhCPP.mjs";export{t as CliNamespace,e as CliRpcSubjects};
1
+ import{n as e,t}from"../../namespace-C05pkLbN.mjs";export{t as CliNamespace,e as CliRpcSubjects};
@@ -1 +1 @@
1
- import{t as e}from"../../schemas-CPI00yvh.mjs";export{e as CliSchemas};
1
+ import{t as e}from"../../schemas-CWxf_Yut.mjs";export{e as CliSchemas};
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-DoEF9LAc.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-CtjLeK1F.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../extension-CJClssfp.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
1
+ import{n as e,r as t,t as n}from"../../extension-CjTu6mzW.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
@@ -1,8 +1,8 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-C9FCWOhp.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-DoEF9LAc.mjs";
3
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-ofIUQnfo.mjs";
4
- import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-Y8rMeYYX.mjs";
5
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-CpKikwK4.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-COC9jCdc.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-CtjLeK1F.mjs";
3
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-WsWu-rcK.mjs";
4
+ import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-FDyqQIt5.mjs";
5
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DoLdETfR.mjs";
6
6
  import { z } from "zod";
7
7
  import * as _$_makaio_core0 from "@makaio/framework/core";
8
8
 
@@ -1 +1 @@
1
- import{a as e,i as t,n,r,t as i}from"../namespace-BdO4e1Fm.mjs";import{n as a,t as o}from"../window-registry-PkrFIwX2.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-Bd7BOZs0.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension-CJClssfp.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-v3K0qVry.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
1
+ import{a as e,i as t,n,r,t as i}from"../namespace-CDO4rY11.mjs";import{n as a,t as o}from"../window-registry-DsWnCc8z.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-CUnrif24.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension-CjTu6mzW.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-vrh4ERXR.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
@@ -1,2 +1,2 @@
1
- import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../../index-Y8rMeYYX.mjs";
1
+ import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../../index-FDyqQIt5.mjs";
2
2
  export { KernelNamespace, KernelSchemas, KernelSubjects, getWorkflowTriggerTypeRegistry, setWorkflowTriggerTypeRegistry };
@@ -1 +1 @@
1
- import{a as e,i as t,n,r,t as i}from"../../namespace-BdO4e1Fm.mjs";export{i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
1
+ import{a as e,i as t,n,r,t as i}from"../../namespace-CDO4rY11.mjs";export{i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-C9FCWOhp.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-COC9jCdc.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -1 +1 @@
1
- import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-v3K0qVry.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
1
+ import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-vrh4ERXR.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
@@ -1,2 +1,2 @@
1
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-CpKikwK4.mjs";
1
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-DoLdETfR.mjs";
2
2
  export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../providers-Bd7BOZs0.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
1
+ import{n as e,r as t,t as n}from"../../providers-CUnrif24.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
@@ -1,2 +1,2 @@
1
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-ofIUQnfo.mjs";
1
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-WsWu-rcK.mjs";
2
2
  export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
@@ -1 +1 @@
1
- import{n as e,t}from"../../window-registry-PkrFIwX2.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
1
+ import{n as e,t}from"../../window-registry-DsWnCc8z.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
@@ -1,4 +1,4 @@
1
- import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_supports_color}from"./supports-color-DcXkvGDF.mjs";import{n as require_micromatch,t as require_out}from"./out-BoEZjBNz.mjs";import{t as require_cross_spawn}from"./cross-spawn-CDXy3BjE.mjs";import{n as init_tslib_es6,r as tslib_es6_exports,t as require_lib$5}from"./lib-ZKtnbCqH.mjs";var require_constants$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SpecialToken=void 0,(function(e){e.StartOfInput=`\0`,e.EndOfInput=``,e.EndOfPartialInput=``})(e.SpecialToken||={}),e.NodeType=void 0,(function(e){e[e.InitialNode=0]=`InitialNode`,e[e.SuccessNode=1]=`SuccessNode`,e[e.ErrorNode=2]=`ErrorNode`,e[e.CustomNode=3]=`CustomNode`})(e.NodeType||={});let t=-1,n=/^(-h|--help)(?:=([0-9]+))?$/,r=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,i=/^-[a-zA-Z]{2,}$/,a=/^([^=]+)=([\s\S]*)$/,o=process.env.DEBUG_CLI===`1`;e.BATCH_REGEX=i,e.BINDING_REGEX=a,e.HELP_COMMAND_INDEX=-1,e.HELP_REGEX=n,e.IS_DEBUG=o,e.OPTION_REGEX=r})),require_errors$2=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_constants$1(),n=class extends Error{constructor(e){super(e),this.clipanion={type:`usage`},this.name=`UsageError`}},r=class extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:`none`},this.name=`UnknownSyntaxError`,this.candidates.length===0)this.message=`Command not found, but we're not sure what's the alternative.`;else if(this.candidates.every(e=>e.reason!==null&&e.reason===t[0].reason)){let[{reason:e}]=this.candidates;this.message=`${e}\n\n${this.candidates.map(({usage:e})=>`$ ${e}`).join(`
1
+ import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_supports_color}from"./supports-color-Dzp6WuF5.mjs";import{n as require_micromatch,t as require_out}from"./out-BB6Kb4Xu.mjs";import{t as require_cross_spawn}from"./cross-spawn-D9WWFl2a.mjs";import{n as init_tslib_es6,r as tslib_es6_exports,t as require_lib$5}from"./lib-ClRTNIuz.mjs";var require_constants$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SpecialToken=void 0,(function(e){e.StartOfInput=`\0`,e.EndOfInput=``,e.EndOfPartialInput=``})(e.SpecialToken||={}),e.NodeType=void 0,(function(e){e[e.InitialNode=0]=`InitialNode`,e[e.SuccessNode=1]=`SuccessNode`,e[e.ErrorNode=2]=`ErrorNode`,e[e.CustomNode=3]=`CustomNode`})(e.NodeType||={});let t=-1,n=/^(-h|--help)(?:=([0-9]+))?$/,r=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,i=/^-[a-zA-Z]{2,}$/,a=/^([^=]+)=([\s\S]*)$/,o=process.env.DEBUG_CLI===`1`;e.BATCH_REGEX=i,e.BINDING_REGEX=a,e.HELP_COMMAND_INDEX=-1,e.HELP_REGEX=n,e.IS_DEBUG=o,e.OPTION_REGEX=r})),require_errors$2=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_constants$1(),n=class extends Error{constructor(e){super(e),this.clipanion={type:`usage`},this.name=`UsageError`}},r=class extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:`none`},this.name=`UnknownSyntaxError`,this.candidates.length===0)this.message=`Command not found, but we're not sure what's the alternative.`;else if(this.candidates.every(e=>e.reason!==null&&e.reason===t[0].reason)){let[{reason:e}]=this.candidates;this.message=`${e}\n\n${this.candidates.map(({usage:e})=>`$ ${e}`).join(`
2
2
  `)}`}else if(this.candidates.length===1){let[{usage:t}]=this.candidates;this.message=`Command not found; did you mean:\n\n$ ${t}\n${a(e)}`}else this.message=`Command not found; did you mean one of:\n\n${this.candidates.map(({usage:e},t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
3
3
  `)}\n\n${a(e)}`}},i=class extends Error{constructor(e,t){super(),this.input=e,this.usages=t,this.clipanion={type:`none`},this.name=`AmbiguousSyntaxError`,this.message=`Cannot find which to pick amongst the following alternatives:\n\n${this.usages.map((e,t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
4
4
  `)}\n\n${a(e)}`}};let a=e=>`While running ${e.filter(e=>e!==t.SpecialToken.EndOfInput&&e!==t.SpecialToken.EndOfPartialInput).map(e=>{let t=JSON.stringify(e);return e.match(/\s/)||e.length===0||t!==`"${e}"`?t:e}).join(` `)}`;e.AmbiguousSyntaxError=i,e.UnknownSyntaxError=r,e.UsageError=n})),require_utils=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_errors$2();let n=Symbol(`clipanion/isOption`);function r(e){return{...e,[n]:!0}}function i(e,t){return e===void 0?[e,t]:typeof e==`object`&&e&&!Array.isArray(e)?[void 0,e]:[e,t]}function a(e,{mergeName:t=!1}={}){let n=e.match(/^([^:]+): (.*)$/m);if(!n)return`validation failed`;let[,r,i]=n;return t&&(i=i[0].toLowerCase()+i.slice(1)),i=r!==`.`||!t?`${r.replace(/^\.(\[|$)/,`$1`)}: ${i}`:`: ${i}`,i}function o(e,n){return n.length===1?new t.UsageError(`${e}${a(n[0],{mergeName:!0})}`):new t.UsageError(`${e}:\n${n.map(e=>`\n- ${a(e)}`).join(``)}`)}function s(e,t,n){if(n===void 0)return t;let r=[],i=[],a=e=>{let n=t;return t=e,a.bind(null,n)};if(!n(t,{errors:r,coercions:i,coercion:a}))throw o(`Invalid value for ${e}`,r);for(let[,e]of i)e();return t}e.applyValidator=s,e.cleanValidationError=a,e.formatError=o,e.isOptionSymbol=n,e.makeCommandOption=r,e.rerouteArguments=i})),require_lib$4=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=/^[a-zA-Z_][a-zA-Z0-9_]*$/;function n(e){return e===null?`null`:e===void 0?`undefined`:e===``?`an empty string`:typeof e==`symbol`?`<${e.toString()}>`:Array.isArray(e)?`an array`:JSON.stringify(e)}function r(e,t){if(e.length===0)return`nothing`;if(e.length===1)return n(e[0]);let r=e.slice(0,-1),i=e[e.length-1],a=e.length>2?`, ${t} `:` ${t} `;return`${r.map(e=>n(e)).join(`, `)}${a}${n(i)}`}function i(e,n){var r,i,a;return typeof n==`number`?`${e?.p??`.`}[${n}]`:t.test(n)?`${e?.p??``}.${n}`:`${e?.p??`.`}[${JSON.stringify(n)}]`}function a(e,t,n){return e===1?t:n}let o=/^#[0-9a-f]{6}$/i,s=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,c=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,l=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,u=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/;function d({errors:e,p:t}={},n){return e?.push(`${t??`.`}: ${n}`),!1}function f(e,t){return n=>{e[t]=n}}function p(e,t){return n=>{let r=e[t];return e[t]=n,p(e,t).bind(null,r)}}function m(e,t,n){let r=()=>(e(n()),i),i=()=>(e(t),r);return r}function h(){return F({test:(e,t)=>!0})}function g(e){return F({test:(t,r)=>t===e?!0:d(r,`Expected ${n(e)} (got ${n(t)})`)})}function _(){return F({test:(e,t)=>typeof e==`string`?!0:d(t,`Expected a string (got ${n(e)})`)})}function v(e){let t=Array.isArray(e)?e:Object.values(e),i=t.every(e=>typeof e==`string`||typeof e==`number`),a=new Set(t);return a.size===1?g([...a][0]):F({test:(e,o)=>a.has(e)?!0:i?d(o,`Expected one of ${r(t,`or`)} (got ${n(e)})`):d(o,`Expected a valid enumeration value (got ${n(e)})`)})}let y=new Map([[`true`,!0],[`True`,!0],[`1`,!0],[1,!0],[`false`,!1],[`False`,!1],[`0`,!1],[0,!1]]);function b(){return F({test:(e,t)=>{var r;if(typeof e!=`boolean`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n=y.get(e);if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a boolean (got ${n(e)})`)}return!0}})}function x(){return F({test:(e,t)=>{var r;if(typeof e!=`number`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`){let r;try{r=JSON.parse(e)}catch{}if(typeof r==`number`)if(JSON.stringify(r)===e)n=r;else return d(t,`Received a number that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a number (got ${n(e)})`)}return!0}})}function S(e){return F({test:(t,r)=>{var i;if(r?.coercions===void 0)return d(r,`The isPayload predicate can only be used with coercion enabled`);if(r.coercion===void 0)return d(r,`Unbound coercion result`);if(typeof t!=`string`)return d(r,`Expected a string (got ${n(t)})`);let a;try{a=JSON.parse(t)}catch{return d(r,`Expected a JSON string (got ${n(t)})`)}let o={value:a};return e(a,Object.assign(Object.assign({},r),{coercion:p(o,`value`)}))?(r.coercions.push([r.p??`.`,r.coercion.bind(null,o.value)]),!0):!1}})}function C(){return F({test:(e,t)=>{var r;if(!(e instanceof Date)){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`&&u.test(e))n=new Date(e);else{let r;if(typeof e==`string`){let t;try{t=JSON.parse(e)}catch{}typeof t==`number`&&(r=t)}else typeof e==`number`&&(r=e);if(r!==void 0)if(Number.isSafeInteger(r)||!Number.isSafeInteger(r*1e3))n=new Date(r*1e3);else return d(t,`Received a timestamp that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a date (got ${n(e)})`)}return!0}})}function w(e,{delimiter:t}={}){return F({test:(r,a)=>{var o;let s=r;if(typeof r==`string`&&t!==void 0&&a?.coercions!==void 0){if(a?.coercion===void 0)return d(a,`Unbound coercion result`);r=r.split(t)}if(!Array.isArray(r))return d(a,`Expected an array (got ${n(r)})`);let c=!0;for(let t=0,n=r.length;t<n&&(c=e(r[t],Object.assign(Object.assign({},a),{p:i(a,t),coercion:p(r,t)}))&&c,!(!c&&a?.errors==null));++t);return r!==s&&a.coercions.push([a.p??`.`,a.coercion.bind(null,r)]),c}})}function T(e,{delimiter:t}={}){let r=w(e,{delimiter:t});return F({test:(t,i)=>{var a,o;if(Object.getPrototypeOf(t).toString()===`[object Set]`)if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e=[...t],n=[...t];return r(n,Object.assign(Object.assign({},i),{coercion:void 0}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>n.some((t,n)=>t!==e[n])?new Set(n):t)]),!0):!1}else{let n=!0;for(let r of t)if(n=e(r,Object.assign({},i))&&n,!n&&i?.errors==null)break;return n}if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e={value:t};return r(t,Object.assign(Object.assign({},i),{coercion:p(e,`value`)}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>new Set(e.value))]),!0):!1}return d(i,`Expected a set (got ${n(t)})`)}})}function E(e,t){let r=w(D([e,t])),a=O(t,{keys:e});return F({test:(o,s)=>{var c,l,u;if(Object.getPrototypeOf(o).toString()===`[object Map]`)if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e=[...o],t=[...o];return r(t,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>t.some((t,n)=>t[0]!==e[n][0]||t[1]!==e[n][1])?new Map(t):o)]),!0):!1}else{let n=!0;for(let[r,a]of o)if(n=e(r,Object.assign({},s))&&n,!n&&s?.errors==null||(n=t(a,Object.assign(Object.assign({},s),{p:i(s,r)}))&&n,!n&&s?.errors==null))break;return n}if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e={value:o};return Array.isArray(o)?r(o,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(e.value))]),!0):!1:a(o,Object.assign(Object.assign({},s),{coercion:p(e,`value`)}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(Object.entries(e.value)))]),!0):!1}return d(s,`Expected a map (got ${n(o)})`)}})}function D(e,{delimiter:t}={}){let r=U(e.length);return F({test:(a,o)=>{var s;if(typeof a==`string`&&t!==void 0&&o?.coercions!==void 0){if(o?.coercion===void 0)return d(o,`Unbound coercion result`);a=a.split(t),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)])}if(!Array.isArray(a))return d(o,`Expected a tuple (got ${n(a)})`);let c=r(a,Object.assign({},o));for(let t=0,n=a.length;t<n&&t<e.length&&(c=e[t](a[t],Object.assign(Object.assign({},o),{p:i(o,t),coercion:p(a,t)}))&&c,!(!c&&o?.errors==null));++t);return c}})}function O(e,{keys:t=null}={}){let r=w(D([t??_(),e]));return F({test:(a,o)=>{var s;if(Array.isArray(a)&&o?.coercions!==void 0)return o?.coercion===void 0?d(o,`Unbound coercion result`):r(a,Object.assign(Object.assign({},o),{coercion:void 0}))?(a=Object.fromEntries(a),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)]),!0):!1;if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let c=Object.keys(a),l=!0;for(let n=0,r=c.length;n<r&&(l||o?.errors!=null);++n){let r=c[n],s=a[r];if(r===`__proto__`||r===`constructor`){l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);continue}if(t!==null&&!t(r,o)){l=!1;continue}if(!e(s,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))){l=!1;continue}}return l}})}function k(e,t={}){return O(e,t)}function A(e,{extra:t=null}={}){let r=Object.keys(e),a=F({test:(a,o)=>{if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let s=new Set([...r,...Object.keys(a)]),c={},l=!0;for(let r of s){if(r===`constructor`||r===`__proto__`)l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);else{let s=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0,u=Object.prototype.hasOwnProperty.call(a,r)?a[r]:void 0;s===void 0?t===null?l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Extraneous property (got ${n(u)})`):Object.defineProperty(c,r,{enumerable:!0,get:()=>u,set:f(a,r)}):l=s(u,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))&&l}if(!l&&o?.errors==null)break}return t!==null&&(l||o?.errors!=null)&&(l=t(c,o)&&l),l}});return Object.assign(a,{properties:e})}function j(e){return A(e,{extra:O(h())})}let M=e=>F({test:(t,r)=>t instanceof e?!0:d(r,`Expected an instance of ${e.name} (got ${n(t)})`)}),N=(e,{exclusive:t=!1}={})=>F({test:(n,r)=>{var i,a,o;let s=[],c=r?.errors===void 0?void 0:[];for(let i=0,a=e.length;i<a;++i){let a=r?.errors===void 0?void 0:[],o=r?.coercions===void 0?void 0:[];if(e[i](n,Object.assign(Object.assign({},r),{errors:a,coercions:o,p:`${r?.p??`.`}#${i+1}`}))){if(s.push([`#${i+1}`,o]),!t)break}else c?.push(a[0])}if(s.length===1){let[,e]=s[0];return e!==void 0&&((a=r?.coercions)==null||a.push(...e)),!0}return s.length>1?d(r,`Expected to match exactly a single predicate (matched ${s.join(`, `)})`):(o=r?.errors)==null||o.push(...c),!1}});function P(e){return()=>e}function F({test:e}){return P(e)()}var I=class extends Error{constructor({errors:e}={}){let t=`Type mismatch`;if(e&&e.length>0){t+=`
@@ -1,2 +1,2 @@
1
- import{a as e,i as t,t as n}from"./chunk-DTipWd-i.mjs";import{a as r,i,n as a,o,r as s,s as c,t as l}from"./lib-BOmKyjWD.mjs";import{n as u,r as d,t as f}from"./lib-ZKtnbCqH.mjs";var p=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BaseCommand=void 0;let t=o();e.BaseCommand=class extends t.Command{constructor(){super(...arguments),this.cwd=t.Option.String(`--cwd`,{hidden:!0})}validateAndExecute(){if(this.cwd!==void 0)throw new t.UsageError(`The --cwd option is ambiguous when used anywhere else than the very first parameter provided in the command line, before even the command path`);return super.validateAndExecute()}}})),m=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WorkspaceRequiredError=void 0;let t=l(),n=f(),r=o();e.WorkspaceRequiredError=class extends r.UsageError{constructor(e,r){let i=n.ppath.relative(e,r),a=n.ppath.join(e,t.Manifest.fileName);super(`This command can only be run from within a workspace of your project (${i} isn't a workspace of ${a}).`)}}})),h=n(((e,t)=>{t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:`2.0.0`,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),g=n(((e,t)=>{t.exports=typeof process==`object`&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),_=n(((e,t)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=h(),a=g();e=t.exports={};let o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},_=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};_(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),_(`NUMERICIDENTIFIERLOOSE`,`\\d+`),_(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),_(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),_(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),_(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),_(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),_(`BUILDIDENTIFIER`,`${f}+`),_(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),_(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),_(`FULL`,`^${c[u.FULLPLAIN]}$`),_(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),_(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),_(`GTLT`,`((?:<|>)?=?)`),_(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),_(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),_(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),_(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),_(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),_(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),_(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),_(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),_(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),_(`COERCERTL`,c[u.COERCE],!0),_(`COERCERTLFULL`,c[u.COERCEFULL],!0),_(`LONETILDE`,`(?:~>?)`),_(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,_(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),_(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),_(`LONECARET`,`(?:\\^)`),_(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,_(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),_(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),_(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),_(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),_(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,_(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),_(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),_(`STAR`,`(<|>)?=?\\s*\\*`),_(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),_(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),v=n(((e,t)=>{let n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),y=n(((e,t)=>{let n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:e<t?-1:1;let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}})),b=n(((e,t)=>{let n=g(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=h(),{safeRe:a,t:o}=_(),s=v(),{compareIdentifiers:c}=y();t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:+(this.patch>t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),x=n(((e,t)=>{let n=b();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}})),S=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}})),C=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null}})),w=n(((e,t)=>{let n=b();t.exports=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}}})),T=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let u=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:u+`patch`:u+`minor`:u+`major`}})),E=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).major})),D=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).minor})),O=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).patch})),k=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}})),A=n(((e,t)=>{let n=b();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))})),j=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(t,e,r)})),M=n(((e,t)=>{let n=A();t.exports=(e,t)=>n(e,t,!0)})),N=n(((e,t)=>{let n=b();t.exports=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)}})),P=n(((e,t)=>{let n=N();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))})),F=n(((e,t)=>{let n=N();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))})),I=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)>0})),L=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)<0})),R=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)===0})),z=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)!==0})),B=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)>=0})),V=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)<=0})),H=n(((e,t)=>{let n=R(),r=z(),i=I(),a=B(),o=L(),s=V();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),U=n(((e,t)=>{let n=b(),r=x(),{safeRe:i,t:a}=_();t.exports=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2];return r(`${s}.${o[3]||`0`}.${o[4]||`0`}${t.includePrerelease&&o[5]?`-${o[5]}`:``}${t.includePrerelease&&o[6]?`+${o[6]}`:``}`,t)}})),W=n(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),G=n(((e,t)=>{let n=/\s+/g;t.exports=class e{constructor(t,r){if(r=i(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&x(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&p)|(this.options.loose&&m))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(s,N(this.options.includePrerelease)),o(`hyphen replace`,e),e=e.replace(c[l.COMPARATORTRIM],u),o(`comparator trim`,e),e=e.replace(c[l.TILDETRIM],d),o(`tilde trim`,e),e=e.replace(c[l.CARETTRIM],f),o(`caret trim`,e);let h=e.split(` `).map(e=>C(e,this.options)).join(` `).split(/\s+/).map(e=>M(e,this.options));i&&(h=h.filter(e=>(o(`loose invalid filter`,e,this.options),!!e.match(c[l.COMPARATORLOOSE])))),o(`range list`,h);let g=new Map,_=h.map(e=>new a(e,this.options));for(let e of _){if(y(e))return[e];g.set(e.value,e)}g.size>1&&g.has(``)&&g.delete(``);let v=[...g.values()];return r.set(t,v),v}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>S(e,n)&&t.set.some(t=>S(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new s(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}};let r=new(W()),i=v(),a=K(),o=g(),s=b(),{safeRe:c,t:l,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:f}=_(),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:m}=h(),y=e=>e.value===`<0.0.0-0`,x=e=>e.value===``,S=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},C=(e,t)=>(e=e.replace(c[l.BUILD],``),o(`comp`,e,t),e=D(e,t),o(`caret`,e),e=T(e,t),o(`tildes`,e),e=k(e,t),o(`xrange`,e),e=j(e,t),o(`stars`,e),e),w=e=>!e||e.toLowerCase()===`x`||e===`*`,T=(e,t)=>e.trim().split(/\s+/).map(e=>E(e,t)).join(` `),E=(e,t)=>{let n=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(n,(t,n,r,i,a)=>{o(`tilde`,e,t,n,r,i,a);let s;return w(n)?s=``:w(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o(`replaceTilde pr`,a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o(`tilde return`,s),s})},D=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(` `),O=(e,t)=>{o(`caret`,e,t);let n=t.loose?c[l.CARETLOOSE]:c[l.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,s)=>{o(`caret`,e,t,n,i,a,s);let c;return w(n)?c=``:w(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(a)?c=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(o(`replaceCaret pr`,s),c=n===`0`?i===`0`?`>=${n}.${i}.${a}-${s} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${s} <${+n+1}.0.0-0`):(o(`no pr`),c=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),o(`caret return`,c),c})},k=(e,t)=>(o(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>A(e,t)).join(` `)),A=(e,t)=>{e=e.trim();let n=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(n,(n,r,i,a,s,c)=>{o(`xRange`,e,n,r,i,a,s,c);let l=w(i),u=l||w(a),d=u||w(s),f=d;return r===`=`&&f&&(r=``),c=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),s=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(c=`-0`),n=`${r+i}.${a}.${s}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),o(`xRange return`,n),n})},j=(e,t)=>(o(`replaceStars`,e,t),e.trim().replace(c[l.STAR],``)),M=(e,t)=>(o(`replaceGTE0`,e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],``)),N=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=w(r)?``:w(i)?`>=${r}.0.0${e?`-0`:``}`:w(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=w(l)?``:w(u)?`<${+l+1}.0.0-0`:w(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(o(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),K=n(((e,t)=>{let n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),s(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,s(`comp`,this)}parse(e){let t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(s(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new c(e,this.options)}catch{return!1}return o(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new l(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new l(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||o(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||o(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};let r=v(),{safeRe:i,t:a}=_(),o=H(),s=g(),c=b(),l=G()})),q=n(((e,t)=>{let n=G();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}})),J=n(((e,t)=>{let n=G();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `))})),ee=n(((e,t)=>{let n=b(),r=G();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a}})),te=n(((e,t)=>{let n=b(),r=G();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a}})),ne=n(((e,t)=>{let n=b(),r=G(),i=I();t.exports=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let r=e.set[t],o=null;r.forEach(e=>{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}})),re=n(((e,t)=>{let n=G();t.exports=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}}})),Y=n(((e,t)=>{let n=b(),r=K(),{ANY:i}=r,a=G(),o=q(),s=I(),c=L(),l=V(),u=B();t.exports=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let a=t.set[n],o=null,s=null;if(a.forEach(e=>{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0}})),ie=n(((e,t)=>{let n=Y();t.exports=(e,t,r)=>n(e,t,`>`,r)})),ae=n(((e,t)=>{let n=Y();t.exports=(e,t,r)=>n(e,t,`<`,r)})),oe=n(((e,t)=>{let n=G();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))})),se=n(((e,t)=>{let n=q(),r=A();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c)n(e,t,i)?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length<d.length?u:t}})),ce=n(((e,t)=>{let n=G(),r=K(),{ANY:i}=r,a=q(),o=A(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!a(s.semver,String(e),n))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!a(u.semver,String(e),n))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s})),le=n(((e,t)=>{let n=_(),r=h(),i=b(),a=y();t.exports={parse:x(),valid:S(),clean:C(),inc:w(),diff:T(),major:E(),minor:D(),patch:O(),prerelease:k(),compare:A(),rcompare:j(),compareLoose:M(),compareBuild:N(),sort:P(),rsort:F(),gt:I(),lt:L(),eq:R(),neq:z(),gte:B(),lte:V(),cmp:H(),coerce:U(),Comparator:K(),Range:G(),satisfies:q(),toComparators:J(),maxSatisfying:ee(),minSatisfying:te(),minVersion:ne(),validRange:re(),outside:Y(),gtr:ie(),ltr:ae(),intersects:oe(),simplifyRange:se(),subset:ce(),SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}})),X=n((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.getDynamicLibs=void 0;let n=(u(),e(d)),i=n.__importStar($()),p=n.__importStar(l()),m=n.__importStar(f()),h=n.__importStar(s()),g=n.__importStar(r()),_=n.__importStar(a()),v=n.__importStar(o()),y=n.__importStar(le()),b=n.__importStar(c());t.getDynamicLibs=()=>new Map([[`@yarnpkg/cli`,i],[`@yarnpkg/core`,p],[`@yarnpkg/fslib`,m],[`@yarnpkg/libzip`,h],[`@yarnpkg/parsers`,g],[`@yarnpkg/shell`,_],[`clipanion`,v],[`semver`,y],[`typanion`,b]])})),ue=n(((e,t)=>{t.exports={name:`@yarnpkg/cli`,version:`4.16.0`,license:`BSD-2-Clause`,main:`./lib/index.js`,exports:{".":`./lib/index.js`,"./package.json":`./package.json`},dependencies:{"@yarnpkg/core":`^4.8.0`,"@yarnpkg/fslib":`^3.1.5`,"@yarnpkg/libzip":`^3.2.2`,"@yarnpkg/parsers":`^3.0.3`,"@yarnpkg/plugin-catalog":`^1.0.2`,"@yarnpkg/plugin-compat":`^4.0.12`,"@yarnpkg/plugin-constraints":`^4.0.5`,"@yarnpkg/plugin-dlx":`^4.0.2`,"@yarnpkg/plugin-essentials":`^4.6.0`,"@yarnpkg/plugin-exec":`^3.1.0`,"@yarnpkg/plugin-file":`^3.0.2`,"@yarnpkg/plugin-git":`^3.2.0`,"@yarnpkg/plugin-github":`^3.0.2`,"@yarnpkg/plugin-http":`^3.0.3`,"@yarnpkg/plugin-init":`^4.1.2`,"@yarnpkg/plugin-interactive-tools":`^4.1.0`,"@yarnpkg/plugin-jsr":`^1.1.1`,"@yarnpkg/plugin-link":`^3.0.2`,"@yarnpkg/plugin-nm":`^4.0.9`,"@yarnpkg/plugin-npm":`^3.6.0`,"@yarnpkg/plugin-npm-cli":`^4.5.0`,"@yarnpkg/plugin-pack":`^4.0.4`,"@yarnpkg/plugin-patch":`^4.0.4`,"@yarnpkg/plugin-pnp":`^4.1.7`,"@yarnpkg/plugin-pnpm":`^2.2.0`,"@yarnpkg/plugin-stage":`^4.0.2`,"@yarnpkg/plugin-typescript":`^4.1.3`,"@yarnpkg/plugin-version":`^4.2.0`,"@yarnpkg/plugin-workspace-tools":`^4.1.7`,"@yarnpkg/shell":`^4.1.3`,"ci-info":`^4.0.0`,clipanion:`^4.0.0-rc.2`,semver:`^7.1.2`,tslib:`^2.4.0`,typanion:`^3.14.0`},devDependencies:{"@types/semver":`^7.1.0`,"@yarnpkg/builder":`^4.2.3`,"@yarnpkg/monorepo":`^0.0.0`,"@yarnpkg/pnpify":`^4.1.6`},peerDependencies:{"@yarnpkg/core":`^4.8.0`},scripts:{postpack:`rm -rf lib`,prepack:`run build:compile "$(pwd)"`,"build:cli+hook":`run build:pnp:hook && builder build bundle`,"build:cli":`builder build bundle`,"run:cli":`builder run`,"update-local":`run build:cli --no-git-hash && rsync -a --delete bundles/ bin/`},publishConfig:{main:`./lib/index.js`,bin:null,exports:{".":`./lib/index.js`,"./package.json":`./package.json`}},files:[`/lib/**/*`,`!/lib/pluginConfiguration.*`,`!/lib/cli.*`],"@yarnpkg/builder":{bundles:{standard:[`@yarnpkg/plugin-essentials`,`@yarnpkg/plugin-catalog`,`@yarnpkg/plugin-compat`,`@yarnpkg/plugin-constraints`,`@yarnpkg/plugin-dlx`,`@yarnpkg/plugin-exec`,`@yarnpkg/plugin-file`,`@yarnpkg/plugin-git`,`@yarnpkg/plugin-github`,`@yarnpkg/plugin-http`,`@yarnpkg/plugin-init`,`@yarnpkg/plugin-interactive-tools`,`@yarnpkg/plugin-jsr`,`@yarnpkg/plugin-link`,`@yarnpkg/plugin-nm`,`@yarnpkg/plugin-npm`,`@yarnpkg/plugin-npm-cli`,`@yarnpkg/plugin-pack`,`@yarnpkg/plugin-patch`,`@yarnpkg/plugin-pnp`,`@yarnpkg/plugin-pnpm`,`@yarnpkg/plugin-stage`,`@yarnpkg/plugin-typescript`,`@yarnpkg/plugin-version`,`@yarnpkg/plugin-workspace-tools`]}},repository:{type:`git`,url:`git+https://github.com/yarnpkg/berry.git`,directory:`packages/yarnpkg-cli`},engines:{node:`>=18.12.0`}}})),Z=n((n=>{Object.defineProperty(n,`__esModule`,{value:!0}),n.getPluginConfiguration=a;let r=(u(),e(d)).__importDefault(ue()),i=X();function a(){let e=new Set;for(let t of r.default[`@yarnpkg/builder`].bundles.standard)e.add(t);let n=(0,i.getDynamicLibs)();for(let r of e)n.set(r,t(r).default);return{plugins:e,modules:n}}})),de=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.openWorkspace=r;let t=l(),n=m();async function r(e,r){let{project:i,workspace:a}=await t.Project.find(e,r);if(!a)throw new n.WorkspaceRequiredError(i.cwd,r);return a}})),Q=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.pluginCommands=void 0,e.pluginCommands=new Map([])})),fe=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getCli=x,e.runExit=S;let n=l(),r=f(),a=t(`child_process`),s=i(),c=o(),u=Q(),d=Z();function p({cwd:e,pluginConfiguration:t}){let r=new c.Cli({binaryLabel:`Yarn Package Manager`,binaryName:`yarn`,binaryVersion:n.YarnVersion??`<unknown>`});return Object.assign(r,{defaultContext:{...c.Cli.defaultContext,cwd:e,plugins:t,quiet:!1,stdin:process.stdin,stdout:process.stdout,stderr:process.stderr}})}function m(e){if(n.miscUtils.parseOptionalBoolean(process.env.YARN_IGNORE_NODE))return!0;let t=process.versions.node,r=`>=18.12.0`;if(n.semverUtils.satisfiesWithPrereleases(t,r))return!0;let i=new c.UsageError(`This tool requires a Node version compatible with ${r} (got ${t}). Upgrade Node, or set \`YARN_IGNORE_NODE=1\` in your environment.`);return c.Cli.defaultContext.stdout.write(e.error(i)),!1}async function h({selfPath:e,pluginConfiguration:t}){return await n.Configuration.find(r.npath.toPortablePath(process.cwd()),t,{strict:!1,usePathCheck:e})}function g(e,t,{yarnPath:n}){if(!r.xfs.existsSync(n))return e.error(Error(`The "yarn-path" option has been set, but the specified location doesn't exist (${n}).`)),1;process.on(`SIGINT`,()=>{});let i={stdio:`inherit`,env:{...process.env,YARN_IGNORE_PATH:`1`}};try{(0,a.execFileSync)(process.execPath,[r.npath.fromPortablePath(n),...t],i)}catch(e){return e.status??1}return 0}function _(e,t){let n=null,i=t;return t.length>=2&&t[0]===`--cwd`?(n=r.npath.toPortablePath(t[1]),i=t.slice(2)):t.length>=1&&t[0].startsWith(`--cwd=`)?(n=r.npath.toPortablePath(t[0].slice(6)),i=t.slice(1)):t[0]===`add`&&t[t.length-2]===`--cwd`&&(n=r.npath.toPortablePath(t[t.length-1]),i=t.slice(0,t.length-2)),e.defaultContext.cwd=n===null?r.ppath.cwd():r.ppath.resolve(n),i}function v(e,{configuration:t}){if(!t.get(`enableTelemetry`)||s.isCI||!process.stdout.isTTY)return;n.Configuration.telemetry=new n.TelemetryManager(t,`puba9cdc10ec5790a2cf4969dd413a47270`);let r=/^@yarnpkg\/plugin-(.*)$/;for(let e of t.plugins.keys())u.pluginCommands.has(e.match(r)?.[1]??``)&&n.Configuration.telemetry?.reportPluginName(e);e.binaryVersion&&n.Configuration.telemetry.reportVersion(e.binaryVersion)}function y(e,{configuration:t}){for(let n of t.plugins.values())for(let t of n.commands||[])e.register(t)}async function b(e,t,{selfPath:r,pluginConfiguration:i}){if(!m(e))return 1;let a=await h({selfPath:r,pluginConfiguration:i}),o=a.get(`yarnPath`),s=a.get(`ignorePath`);if(o&&!s)return g(e,t,{yarnPath:o});delete process.env.YARN_IGNORE_PATH;let c=_(e,t);v(e,{configuration:a}),y(e,{configuration:a});let l=e.process(c,e.defaultContext);return l.help||n.Configuration.telemetry?.reportCommandName(l.path.join(` `)),await e.run(l,e.defaultContext)}async function x({cwd:e=r.ppath.cwd(),pluginConfiguration:t=(0,d.getPluginConfiguration)()}={}){let n=p({cwd:e,pluginConfiguration:t});return y(n,{configuration:await h({pluginConfiguration:t,selfPath:null})}),n}async function S(e,{cwd:t=r.ppath.cwd(),selfPath:n,pluginConfiguration:i}){let a=p({cwd:t,pluginConfiguration:i});function o(){c.Cli.defaultContext.stdout.write(`ERROR: Yarn is terminating due to an unexpected empty event loop.
1
+ import{a as e,i as t,t as n}from"./chunk-DTipWd-i.mjs";import{a as r,i,n as a,o,r as s,s as c,t as l}from"./lib-DIVnpS8e.mjs";import{n as u,r as d,t as f}from"./lib-ClRTNIuz.mjs";var p=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BaseCommand=void 0;let t=o();e.BaseCommand=class extends t.Command{constructor(){super(...arguments),this.cwd=t.Option.String(`--cwd`,{hidden:!0})}validateAndExecute(){if(this.cwd!==void 0)throw new t.UsageError(`The --cwd option is ambiguous when used anywhere else than the very first parameter provided in the command line, before even the command path`);return super.validateAndExecute()}}})),m=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WorkspaceRequiredError=void 0;let t=l(),n=f(),r=o();e.WorkspaceRequiredError=class extends r.UsageError{constructor(e,r){let i=n.ppath.relative(e,r),a=n.ppath.join(e,t.Manifest.fileName);super(`This command can only be run from within a workspace of your project (${i} isn't a workspace of ${a}).`)}}})),h=n(((e,t)=>{t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:`2.0.0`,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),g=n(((e,t)=>{t.exports=typeof process==`object`&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),_=n(((e,t)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=h(),a=g();e=t.exports={};let o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},_=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};_(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),_(`NUMERICIDENTIFIERLOOSE`,`\\d+`),_(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),_(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),_(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),_(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),_(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),_(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),_(`BUILDIDENTIFIER`,`${f}+`),_(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),_(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),_(`FULL`,`^${c[u.FULLPLAIN]}$`),_(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),_(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),_(`GTLT`,`((?:<|>)?=?)`),_(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),_(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),_(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),_(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),_(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),_(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),_(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),_(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),_(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),_(`COERCERTL`,c[u.COERCE],!0),_(`COERCERTLFULL`,c[u.COERCEFULL],!0),_(`LONETILDE`,`(?:~>?)`),_(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,_(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),_(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),_(`LONECARET`,`(?:\\^)`),_(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,_(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),_(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),_(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),_(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),_(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,_(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),_(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),_(`STAR`,`(<|>)?=?\\s*\\*`),_(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),_(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),v=n(((e,t)=>{let n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),y=n(((e,t)=>{let n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:e<t?-1:1;let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}})),b=n(((e,t)=>{let n=g(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=h(),{safeRe:a,t:o}=_(),s=v(),{compareIdentifiers:c}=y();t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:+(this.patch>t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),x=n(((e,t)=>{let n=b();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}})),S=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}})),C=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null}})),w=n(((e,t)=>{let n=b();t.exports=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}}})),T=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let u=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:u+`patch`:u+`minor`:u+`major`}})),E=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).major})),D=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).minor})),O=n(((e,t)=>{let n=b();t.exports=(e,t)=>new n(e,t).patch})),k=n(((e,t)=>{let n=x();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}})),A=n(((e,t)=>{let n=b();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))})),j=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(t,e,r)})),M=n(((e,t)=>{let n=A();t.exports=(e,t)=>n(e,t,!0)})),N=n(((e,t)=>{let n=b();t.exports=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)}})),P=n(((e,t)=>{let n=N();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))})),F=n(((e,t)=>{let n=N();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))})),I=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)>0})),L=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)<0})),R=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)===0})),z=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)!==0})),B=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)>=0})),V=n(((e,t)=>{let n=A();t.exports=(e,t,r)=>n(e,t,r)<=0})),H=n(((e,t)=>{let n=R(),r=z(),i=I(),a=B(),o=L(),s=V();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),U=n(((e,t)=>{let n=b(),r=x(),{safeRe:i,t:a}=_();t.exports=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2];return r(`${s}.${o[3]||`0`}.${o[4]||`0`}${t.includePrerelease&&o[5]?`-${o[5]}`:``}${t.includePrerelease&&o[6]?`+${o[6]}`:``}`,t)}})),W=n(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),G=n(((e,t)=>{let n=/\s+/g;t.exports=class e{constructor(t,r){if(r=i(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&x(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&p)|(this.options.loose&&m))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(s,N(this.options.includePrerelease)),o(`hyphen replace`,e),e=e.replace(c[l.COMPARATORTRIM],u),o(`comparator trim`,e),e=e.replace(c[l.TILDETRIM],d),o(`tilde trim`,e),e=e.replace(c[l.CARETTRIM],f),o(`caret trim`,e);let h=e.split(` `).map(e=>C(e,this.options)).join(` `).split(/\s+/).map(e=>M(e,this.options));i&&(h=h.filter(e=>(o(`loose invalid filter`,e,this.options),!!e.match(c[l.COMPARATORLOOSE])))),o(`range list`,h);let g=new Map,_=h.map(e=>new a(e,this.options));for(let e of _){if(y(e))return[e];g.set(e.value,e)}g.size>1&&g.has(``)&&g.delete(``);let v=[...g.values()];return r.set(t,v),v}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>S(e,n)&&t.set.some(t=>S(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new s(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(P(this.set[t],e,this.options))return!0;return!1}};let r=new(W()),i=v(),a=K(),o=g(),s=b(),{safeRe:c,t:l,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:f}=_(),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:m}=h(),y=e=>e.value===`<0.0.0-0`,x=e=>e.value===``,S=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},C=(e,t)=>(e=e.replace(c[l.BUILD],``),o(`comp`,e,t),e=D(e,t),o(`caret`,e),e=T(e,t),o(`tildes`,e),e=k(e,t),o(`xrange`,e),e=j(e,t),o(`stars`,e),e),w=e=>!e||e.toLowerCase()===`x`||e===`*`,T=(e,t)=>e.trim().split(/\s+/).map(e=>E(e,t)).join(` `),E=(e,t)=>{let n=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(n,(t,n,r,i,a)=>{o(`tilde`,e,t,n,r,i,a);let s;return w(n)?s=``:w(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o(`replaceTilde pr`,a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o(`tilde return`,s),s})},D=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(` `),O=(e,t)=>{o(`caret`,e,t);let n=t.loose?c[l.CARETLOOSE]:c[l.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,s)=>{o(`caret`,e,t,n,i,a,s);let c;return w(n)?c=``:w(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(a)?c=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(o(`replaceCaret pr`,s),c=n===`0`?i===`0`?`>=${n}.${i}.${a}-${s} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${s} <${+n+1}.0.0-0`):(o(`no pr`),c=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),o(`caret return`,c),c})},k=(e,t)=>(o(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>A(e,t)).join(` `)),A=(e,t)=>{e=e.trim();let n=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(n,(n,r,i,a,s,c)=>{o(`xRange`,e,n,r,i,a,s,c);let l=w(i),u=l||w(a),d=u||w(s),f=d;return r===`=`&&f&&(r=``),c=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),s=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(c=`-0`),n=`${r+i}.${a}.${s}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),o(`xRange return`,n),n})},j=(e,t)=>(o(`replaceStars`,e,t),e.trim().replace(c[l.STAR],``)),M=(e,t)=>(o(`replaceGTE0`,e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],``)),N=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=w(r)?``:w(i)?`>=${r}.0.0${e?`-0`:``}`:w(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=w(l)?``:w(u)?`<${+l+1}.0.0-0`:w(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),P=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(o(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),K=n(((e,t)=>{let n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),s(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,s(`comp`,this)}parse(e){let t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(s(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new c(e,this.options)}catch{return!1}return o(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new l(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new l(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||o(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||o(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};let r=v(),{safeRe:i,t:a}=_(),o=H(),s=g(),c=b(),l=G()})),q=n(((e,t)=>{let n=G();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}})),J=n(((e,t)=>{let n=G();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `))})),ee=n(((e,t)=>{let n=b(),r=G();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a}})),te=n(((e,t)=>{let n=b(),r=G();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a}})),ne=n(((e,t)=>{let n=b(),r=G(),i=I();t.exports=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let r=e.set[t],o=null;r.forEach(e=>{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}})),re=n(((e,t)=>{let n=G();t.exports=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}}})),Y=n(((e,t)=>{let n=b(),r=K(),{ANY:i}=r,a=G(),o=q(),s=I(),c=L(),l=V(),u=B();t.exports=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let a=t.set[n],o=null,s=null;if(a.forEach(e=>{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0}})),ie=n(((e,t)=>{let n=Y();t.exports=(e,t,r)=>n(e,t,`>`,r)})),ae=n(((e,t)=>{let n=Y();t.exports=(e,t,r)=>n(e,t,`<`,r)})),oe=n(((e,t)=>{let n=G();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))})),se=n(((e,t)=>{let n=q(),r=A();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c)n(e,t,i)?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length<d.length?u:t}})),ce=n(((e,t)=>{let n=G(),r=K(),{ANY:i}=r,a=q(),o=A(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!a(s.semver,String(e),n))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!a(u.semver,String(e),n))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s})),le=n(((e,t)=>{let n=_(),r=h(),i=b(),a=y();t.exports={parse:x(),valid:S(),clean:C(),inc:w(),diff:T(),major:E(),minor:D(),patch:O(),prerelease:k(),compare:A(),rcompare:j(),compareLoose:M(),compareBuild:N(),sort:P(),rsort:F(),gt:I(),lt:L(),eq:R(),neq:z(),gte:B(),lte:V(),cmp:H(),coerce:U(),Comparator:K(),Range:G(),satisfies:q(),toComparators:J(),maxSatisfying:ee(),minSatisfying:te(),minVersion:ne(),validRange:re(),outside:Y(),gtr:ie(),ltr:ae(),intersects:oe(),simplifyRange:se(),subset:ce(),SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}})),X=n((t=>{Object.defineProperty(t,`__esModule`,{value:!0}),t.getDynamicLibs=void 0;let n=(u(),e(d)),i=n.__importStar($()),p=n.__importStar(l()),m=n.__importStar(f()),h=n.__importStar(s()),g=n.__importStar(r()),_=n.__importStar(a()),v=n.__importStar(o()),y=n.__importStar(le()),b=n.__importStar(c());t.getDynamicLibs=()=>new Map([[`@yarnpkg/cli`,i],[`@yarnpkg/core`,p],[`@yarnpkg/fslib`,m],[`@yarnpkg/libzip`,h],[`@yarnpkg/parsers`,g],[`@yarnpkg/shell`,_],[`clipanion`,v],[`semver`,y],[`typanion`,b]])})),ue=n(((e,t)=>{t.exports={name:`@yarnpkg/cli`,version:`4.16.0`,license:`BSD-2-Clause`,main:`./lib/index.js`,exports:{".":`./lib/index.js`,"./package.json":`./package.json`},dependencies:{"@yarnpkg/core":`^4.8.0`,"@yarnpkg/fslib":`^3.1.5`,"@yarnpkg/libzip":`^3.2.2`,"@yarnpkg/parsers":`^3.0.3`,"@yarnpkg/plugin-catalog":`^1.0.2`,"@yarnpkg/plugin-compat":`^4.0.12`,"@yarnpkg/plugin-constraints":`^4.0.5`,"@yarnpkg/plugin-dlx":`^4.0.2`,"@yarnpkg/plugin-essentials":`^4.6.0`,"@yarnpkg/plugin-exec":`^3.1.0`,"@yarnpkg/plugin-file":`^3.0.2`,"@yarnpkg/plugin-git":`^3.2.0`,"@yarnpkg/plugin-github":`^3.0.2`,"@yarnpkg/plugin-http":`^3.0.3`,"@yarnpkg/plugin-init":`^4.1.2`,"@yarnpkg/plugin-interactive-tools":`^4.1.0`,"@yarnpkg/plugin-jsr":`^1.1.1`,"@yarnpkg/plugin-link":`^3.0.2`,"@yarnpkg/plugin-nm":`^4.0.9`,"@yarnpkg/plugin-npm":`^3.6.0`,"@yarnpkg/plugin-npm-cli":`^4.5.0`,"@yarnpkg/plugin-pack":`^4.0.4`,"@yarnpkg/plugin-patch":`^4.0.4`,"@yarnpkg/plugin-pnp":`^4.1.7`,"@yarnpkg/plugin-pnpm":`^2.2.0`,"@yarnpkg/plugin-stage":`^4.0.2`,"@yarnpkg/plugin-typescript":`^4.1.3`,"@yarnpkg/plugin-version":`^4.2.0`,"@yarnpkg/plugin-workspace-tools":`^4.1.7`,"@yarnpkg/shell":`^4.1.3`,"ci-info":`^4.0.0`,clipanion:`^4.0.0-rc.2`,semver:`^7.1.2`,tslib:`^2.4.0`,typanion:`^3.14.0`},devDependencies:{"@types/semver":`^7.1.0`,"@yarnpkg/builder":`^4.2.3`,"@yarnpkg/monorepo":`^0.0.0`,"@yarnpkg/pnpify":`^4.1.6`},peerDependencies:{"@yarnpkg/core":`^4.8.0`},scripts:{postpack:`rm -rf lib`,prepack:`run build:compile "$(pwd)"`,"build:cli+hook":`run build:pnp:hook && builder build bundle`,"build:cli":`builder build bundle`,"run:cli":`builder run`,"update-local":`run build:cli --no-git-hash && rsync -a --delete bundles/ bin/`},publishConfig:{main:`./lib/index.js`,bin:null,exports:{".":`./lib/index.js`,"./package.json":`./package.json`}},files:[`/lib/**/*`,`!/lib/pluginConfiguration.*`,`!/lib/cli.*`],"@yarnpkg/builder":{bundles:{standard:[`@yarnpkg/plugin-essentials`,`@yarnpkg/plugin-catalog`,`@yarnpkg/plugin-compat`,`@yarnpkg/plugin-constraints`,`@yarnpkg/plugin-dlx`,`@yarnpkg/plugin-exec`,`@yarnpkg/plugin-file`,`@yarnpkg/plugin-git`,`@yarnpkg/plugin-github`,`@yarnpkg/plugin-http`,`@yarnpkg/plugin-init`,`@yarnpkg/plugin-interactive-tools`,`@yarnpkg/plugin-jsr`,`@yarnpkg/plugin-link`,`@yarnpkg/plugin-nm`,`@yarnpkg/plugin-npm`,`@yarnpkg/plugin-npm-cli`,`@yarnpkg/plugin-pack`,`@yarnpkg/plugin-patch`,`@yarnpkg/plugin-pnp`,`@yarnpkg/plugin-pnpm`,`@yarnpkg/plugin-stage`,`@yarnpkg/plugin-typescript`,`@yarnpkg/plugin-version`,`@yarnpkg/plugin-workspace-tools`]}},repository:{type:`git`,url:`git+https://github.com/yarnpkg/berry.git`,directory:`packages/yarnpkg-cli`},engines:{node:`>=18.12.0`}}})),Z=n((n=>{Object.defineProperty(n,`__esModule`,{value:!0}),n.getPluginConfiguration=a;let r=(u(),e(d)).__importDefault(ue()),i=X();function a(){let e=new Set;for(let t of r.default[`@yarnpkg/builder`].bundles.standard)e.add(t);let n=(0,i.getDynamicLibs)();for(let r of e)n.set(r,t(r).default);return{plugins:e,modules:n}}})),de=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.openWorkspace=r;let t=l(),n=m();async function r(e,r){let{project:i,workspace:a}=await t.Project.find(e,r);if(!a)throw new n.WorkspaceRequiredError(i.cwd,r);return a}})),Q=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.pluginCommands=void 0,e.pluginCommands=new Map([])})),fe=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getCli=x,e.runExit=S;let n=l(),r=f(),a=t(`child_process`),s=i(),c=o(),u=Q(),d=Z();function p({cwd:e,pluginConfiguration:t}){let r=new c.Cli({binaryLabel:`Yarn Package Manager`,binaryName:`yarn`,binaryVersion:n.YarnVersion??`<unknown>`});return Object.assign(r,{defaultContext:{...c.Cli.defaultContext,cwd:e,plugins:t,quiet:!1,stdin:process.stdin,stdout:process.stdout,stderr:process.stderr}})}function m(e){if(n.miscUtils.parseOptionalBoolean(process.env.YARN_IGNORE_NODE))return!0;let t=process.versions.node,r=`>=18.12.0`;if(n.semverUtils.satisfiesWithPrereleases(t,r))return!0;let i=new c.UsageError(`This tool requires a Node version compatible with ${r} (got ${t}). Upgrade Node, or set \`YARN_IGNORE_NODE=1\` in your environment.`);return c.Cli.defaultContext.stdout.write(e.error(i)),!1}async function h({selfPath:e,pluginConfiguration:t}){return await n.Configuration.find(r.npath.toPortablePath(process.cwd()),t,{strict:!1,usePathCheck:e})}function g(e,t,{yarnPath:n}){if(!r.xfs.existsSync(n))return e.error(Error(`The "yarn-path" option has been set, but the specified location doesn't exist (${n}).`)),1;process.on(`SIGINT`,()=>{});let i={stdio:`inherit`,env:{...process.env,YARN_IGNORE_PATH:`1`}};try{(0,a.execFileSync)(process.execPath,[r.npath.fromPortablePath(n),...t],i)}catch(e){return e.status??1}return 0}function _(e,t){let n=null,i=t;return t.length>=2&&t[0]===`--cwd`?(n=r.npath.toPortablePath(t[1]),i=t.slice(2)):t.length>=1&&t[0].startsWith(`--cwd=`)?(n=r.npath.toPortablePath(t[0].slice(6)),i=t.slice(1)):t[0]===`add`&&t[t.length-2]===`--cwd`&&(n=r.npath.toPortablePath(t[t.length-1]),i=t.slice(0,t.length-2)),e.defaultContext.cwd=n===null?r.ppath.cwd():r.ppath.resolve(n),i}function v(e,{configuration:t}){if(!t.get(`enableTelemetry`)||s.isCI||!process.stdout.isTTY)return;n.Configuration.telemetry=new n.TelemetryManager(t,`puba9cdc10ec5790a2cf4969dd413a47270`);let r=/^@yarnpkg\/plugin-(.*)$/;for(let e of t.plugins.keys())u.pluginCommands.has(e.match(r)?.[1]??``)&&n.Configuration.telemetry?.reportPluginName(e);e.binaryVersion&&n.Configuration.telemetry.reportVersion(e.binaryVersion)}function y(e,{configuration:t}){for(let n of t.plugins.values())for(let t of n.commands||[])e.register(t)}async function b(e,t,{selfPath:r,pluginConfiguration:i}){if(!m(e))return 1;let a=await h({selfPath:r,pluginConfiguration:i}),o=a.get(`yarnPath`),s=a.get(`ignorePath`);if(o&&!s)return g(e,t,{yarnPath:o});delete process.env.YARN_IGNORE_PATH;let c=_(e,t);v(e,{configuration:a}),y(e,{configuration:a});let l=e.process(c,e.defaultContext);return l.help||n.Configuration.telemetry?.reportCommandName(l.path.join(` `)),await e.run(l,e.defaultContext)}async function x({cwd:e=r.ppath.cwd(),pluginConfiguration:t=(0,d.getPluginConfiguration)()}={}){let n=p({cwd:e,pluginConfiguration:t});return y(n,{configuration:await h({pluginConfiguration:t,selfPath:null})}),n}async function S(e,{cwd:t=r.ppath.cwd(),selfPath:n,pluginConfiguration:i}){let a=p({cwd:t,pluginConfiguration:i});function o(){c.Cli.defaultContext.stdout.write(`ERROR: Yarn is terminating due to an unexpected empty event loop.
2
2
  Please report this issue at https://github.com/yarnpkg/berry/issues.`)}process.once(`beforeExit`,o);try{process.exitCode=42,process.exitCode=await b(a,e,{selfPath:n,pluginConfiguration:i})}catch(e){c.Cli.defaultContext.stdout.write(a.error(e)),process.exitCode=1}finally{process.off(`beforeExit`,o),await r.xfs.rmtempPromise()}}})),$=n((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.pluginCommands=e.runExit=e.getCli=e.openWorkspace=e.getPluginConfiguration=e.getDynamicLibs=e.WorkspaceRequiredError=e.BaseCommand=void 0;var t=p();Object.defineProperty(e,`BaseCommand`,{enumerable:!0,get:function(){return t.BaseCommand}});var n=m();Object.defineProperty(e,`WorkspaceRequiredError`,{enumerable:!0,get:function(){return n.WorkspaceRequiredError}});var r=X();Object.defineProperty(e,`getDynamicLibs`,{enumerable:!0,get:function(){return r.getDynamicLibs}});var i=Z();Object.defineProperty(e,`getPluginConfiguration`,{enumerable:!0,get:function(){return i.getPluginConfiguration}});var a=de();Object.defineProperty(e,`openWorkspace`,{enumerable:!0,get:function(){return a.openWorkspace}});var o=fe();Object.defineProperty(e,`getCli`,{enumerable:!0,get:function(){return o.getCli}}),Object.defineProperty(e,`runExit`,{enumerable:!0,get:function(){return o.runExit}});var s=Q();Object.defineProperty(e,`pluginCommands`,{enumerable:!0,get:function(){return s.pluginCommands}})}));export default $();export{};