@pixelzx/genesis 2026.5.5-1 → 2026.5.5-3

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 (2448) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/.buildstamp +1 -1
  3. package/dist/abort-Yw60gQ-C.js +201 -0
  4. package/dist/abort-cutoff.runtime-DCJWSVCk.js +20 -0
  5. package/dist/abort-cutoff.runtime.js +1 -1
  6. package/dist/abort.runtime-DYQuut_O.js +2 -0
  7. package/dist/abort.runtime.js +1 -1
  8. package/dist/accounts-BSCHGPHp.js +107 -0
  9. package/dist/accounts-Bb0FqxV2.js +104 -0
  10. package/dist/accounts-BjGgx8lz.js +2 -0
  11. package/dist/accounts-CJJT0vS7.js +43 -0
  12. package/dist/accounts-CM2Ko2xl.js +365 -0
  13. package/dist/accounts-Co4cbVCU.js +66 -0
  14. package/dist/accounts.runtime-V3yFS1uD.js +2 -0
  15. package/dist/accounts.runtime.js +1 -1
  16. package/dist/acp-cli-emMnOaiO.js +2193 -0
  17. package/dist/acp-spawn-BmyUZuJX.js +1093 -0
  18. package/dist/acp-spawn-DPF5zmnN.js +2 -0
  19. package/dist/acp-stateful-target-driver-CJ4JyIHf.js +89 -0
  20. package/dist/action-agents-D1tXt8Kj.js +67 -0
  21. package/dist/action-focus-Bk6AJsNH.js +132 -0
  22. package/dist/action-help-4nFSAuVo.js +7 -0
  23. package/dist/action-info-D-byoefn.js +101 -0
  24. package/dist/action-kill-Bo-NwBVR.js +33 -0
  25. package/dist/action-list-lAa4rlzN.js +21 -0
  26. package/dist/action-log-BasoUC3L.js +30 -0
  27. package/dist/action-send-DwLkiz4x.js +39 -0
  28. package/dist/action-spawn-C70_iR8d.js +47 -0
  29. package/dist/action-unfocus-dUVMx5Fh.js +29 -0
  30. package/dist/actions.runtime-BdSo6rN8.js +18 -0
  31. package/dist/actions.runtime-BvY67XKu.js +5 -0
  32. package/dist/actions.runtime.js +1 -1
  33. package/dist/agent-DDBv3Vgl.js +2 -0
  34. package/dist/agent-command-DC7I_88W.js +874 -0
  35. package/dist/agent-harness-runtime-TA6YH7Ud.js +144 -0
  36. package/dist/agent-runner-utils-CMe-JIDq.js +239 -0
  37. package/dist/agent-runner.runtime-le6AmJRw.js +3455 -0
  38. package/dist/agent-runner.runtime.js +1 -1
  39. package/dist/agent-runtime-CONy4fDD.js +18 -0
  40. package/dist/agents/auth-profiles.runtime.js +1 -1
  41. package/dist/agents/model-catalog.runtime.js +1 -1
  42. package/dist/agents/models-config.runtime.js +1 -1
  43. package/dist/agents/pi-model-discovery-runtime.js +1 -1
  44. package/dist/agents-BlbOM4XW.js +953 -0
  45. package/dist/agents-Byj8CDAP.js +5 -0
  46. package/dist/agents.command-shared-ZsmaTJk8.js +40 -0
  47. package/dist/aliases-C3Ks5x38.js +2 -0
  48. package/dist/aliases-CxBcx9gF.js +96 -0
  49. package/dist/api-2tC9XD4P.js +4 -0
  50. package/dist/api-BHhDAMrX.js +2 -0
  51. package/dist/api-CGlGNVyu2.js +2 -0
  52. package/dist/api-CK3xj--e.js +48 -0
  53. package/dist/api-CLoj7nYH.js +3 -0
  54. package/dist/api-CQ1kMo4j.js +3 -0
  55. package/dist/api-DEwetAD22.js +2 -0
  56. package/dist/api-DZiRkVPk.js +5 -0
  57. package/dist/api-_Y4nIHNo.js +139 -0
  58. package/dist/apply-CKkto_0W.js +508 -0
  59. package/dist/apply.runtime-Bby76mns.js +166 -0
  60. package/dist/apply.runtime-xFS-XMxA.js +2 -0
  61. package/dist/apply.runtime.js +1 -1
  62. package/dist/approval-client-helpers-Dn1zaJjB.js +82 -0
  63. package/dist/approval-gateway-resolver-Ba_2kb3B.js +29 -0
  64. package/dist/approval-gateway-runtime-7VMivk0A.js +2 -0
  65. package/dist/approval-handler-runtime-Bh0onoHD.js +439 -0
  66. package/dist/approval-native-helpers-SV1NXo3R.js +33 -0
  67. package/dist/approval-native-runtime-IYFyT8Hf.js +729 -0
  68. package/dist/approval-renderers-BFN4GCN1.js +64 -0
  69. package/dist/attempt-execution.runtime-CpL2tsYd.js +509 -0
  70. package/dist/attempt-execution.runtime.js +1 -1
  71. package/dist/attempt-execution.shared-BVGg4jtm.js +22 -0
  72. package/dist/attempt.prompt-helpers-Gx9nGKbW.js +221 -0
  73. package/dist/attempt.tool-run-context-BmuljBMs.js +933 -0
  74. package/dist/audit-CsjqOEVE.js +939 -0
  75. package/dist/audit-extra.async-CxQj_A5s.js +971 -0
  76. package/dist/audit-membership-runtime-Fh49slzK.js +550 -0
  77. package/dist/audit.deep.runtime-COBioB9E.js +2 -0
  78. package/dist/audit.deep.runtime.js +1 -1
  79. package/dist/audit.nondeep.runtime-Bk_5xOjT.js +880 -0
  80. package/dist/audit.nondeep.runtime.js +1 -1
  81. package/dist/audit.runtime-BybEaYH4.js +7 -0
  82. package/dist/audit.runtime.js +1 -1
  83. package/dist/auth-BFbLz2gx.js +383 -0
  84. package/dist/auth-C7wPgZbo.js +56 -0
  85. package/dist/auth-DLWZd54x.js +177 -0
  86. package/dist/auth-DdoNShRm.js +2 -0
  87. package/dist/auth-choice-DZdnIn4M.js +3 -0
  88. package/dist/auth-choice-DtSIi1lM.js +354 -0
  89. package/dist/auth-choice-dBaHPiBQ.js +88 -0
  90. package/dist/auth-choice-options-C0mgcUc9.js +97 -0
  91. package/dist/auth-choice-prompt-Crln8JIf.js +2 -0
  92. package/dist/auth-choice-prompt-DhSxj7wM.js +37 -0
  93. package/dist/auth-choice.apply.api-providers-DBPXmiaM.js +2 -0
  94. package/dist/auth-choice.apply.api-providers-TO_ZIWX7.js +34 -0
  95. package/dist/auth-choice.plugin-providers.runtime-CRMLXING.js +11 -0
  96. package/dist/auth-choice.plugin-providers.runtime.js +1 -1
  97. package/dist/auth-health-DvPWpSkl.js +183 -0
  98. package/dist/auth-install-policy-BpHrj1L-.js +195 -0
  99. package/dist/auth-order-CtO2WQTH.js +2 -0
  100. package/dist/auth-order-zXIiW-Cn.js +96 -0
  101. package/dist/auth-profiles-qkJp8etH.js +679 -0
  102. package/dist/backup-create-DgVJHnfc.js +395 -0
  103. package/dist/banner-0afXR3gC.js +2 -0
  104. package/dist/banner-D-k2EM3C.js +336 -0
  105. package/dist/base-url-N7e93gGu.js +15 -0
  106. package/dist/bash-tools-CnDYSbnX.js +2824 -0
  107. package/dist/bash-tools-DiOcKaak.js +3 -0
  108. package/dist/binding-routing-E9Gh_NqO.js +85 -0
  109. package/dist/binding-targets-C5PbBaZ6.js +121 -0
  110. package/dist/bluebubbles-C4fAEm2A.js +77 -0
  111. package/dist/brave-web-search-provider-DkkbSBBP.js +111 -0
  112. package/dist/brave-web-search-provider.runtime-AjyyvF6E.js +229 -0
  113. package/dist/brave-web-search-provider.runtime.js +1 -1
  114. package/dist/brave-web-search-provider.shared-Bk59J40Z.js +174 -0
  115. package/dist/bridge-auth-registry-j9Nf_eKW.js +23 -0
  116. package/dist/bridge-server-DragdaQD.js +113 -0
  117. package/dist/browser-config-runtime-DYHwPrae.js +7 -0
  118. package/dist/browser-control-auth-D_M31xJ1.js +2 -0
  119. package/dist/browser-node-runtime-Bgu82luB.js +12 -0
  120. package/dist/browser-profiles-C3ffkgOt.js +2 -0
  121. package/dist/browser-runtime-D84IBo4A.js +387 -0
  122. package/dist/browser-setup-tools-VC7rGCyn.js +13 -0
  123. package/dist/build-DeGDX_pJ.js +550 -0
  124. package/dist/build-info.json +3 -3
  125. package/dist/bundled/boot-md/handler.js +5 -5
  126. package/dist/bundled/session-memory/handler.js +1 -1
  127. package/dist/call-CbvF41H8.js +3 -0
  128. package/dist/call-DuDGOVT1.js +331 -0
  129. package/dist/call-status-DMAmF1AO.js +33 -0
  130. package/dist/call.runtime-DztWXjMr.js +2 -0
  131. package/dist/call.runtime.js +1 -1
  132. package/dist/capability-cli-DoJLi3eS.js +1401 -0
  133. package/dist/card-command-VrZ5VEMb.js +241 -0
  134. package/dist/catalog-provider-iymLG3Kz.js +40 -0
  135. package/dist/catchup-Dk-5hIwm.js +300 -0
  136. package/dist/channel-BJ9iEC4Y.js +595 -0
  137. package/dist/channel-BdvsbgZE.js +453 -0
  138. package/dist/channel-Bu-7KaIx.js +1802 -0
  139. package/dist/channel-C9vQNMK1.js +350 -0
  140. package/dist/channel-CZoVAZyW.js +491 -0
  141. package/dist/channel-Cr2KTwyo.js +840 -0
  142. package/dist/channel-DCeC6AEQ.js +297 -0
  143. package/dist/channel-DOGp2TfT.js +1320 -0
  144. package/dist/channel-Dfq1lxxI.js +226 -0
  145. package/dist/channel-add-wizard-CTUaSVvE.js +125 -0
  146. package/dist/channel-add-wizard-DeODDpiD.js +2 -0
  147. package/dist/channel-core-DiltAzdr.js +5 -0
  148. package/dist/channel-hZDaTBpm.js +1100 -0
  149. package/dist/channel-inbound-DvOS-Z1s.js +31 -0
  150. package/dist/channel-plugin-runtime-PFRHQ61T.js +771 -0
  151. package/dist/channel-runtime-BAjxIEfQ.js +425 -0
  152. package/dist/channel-summary-BMmi0p_s.js +2 -0
  153. package/dist/channel-summary-BvSCERUz.js +129 -0
  154. package/dist/channel-szBwbQZB.js +1174 -0
  155. package/dist/channel.runtime-B1Ry35gt.js +89 -0
  156. package/dist/channel.runtime-BNp6GxaQ.js +34702 -0
  157. package/dist/channel.runtime-BfjvNvbj.js +2364 -0
  158. package/dist/channel.runtime-BlGn4QYV.js +4 -0
  159. package/dist/channel.runtime-BozvCkMo.js +26 -0
  160. package/dist/channel.runtime-D7bv5rJl.js +576 -0
  161. package/dist/channel.runtime-DQ5gSgeW.js +109 -0
  162. package/dist/channel.runtime-IxClQMdT.js +430 -0
  163. package/dist/channel.runtime-xIH29E7O.js +67 -0
  164. package/dist/channel.runtime.js +1 -1
  165. package/dist/channel.setup-BsfyGPgV.js +10 -0
  166. package/dist/channels-Dn2VHRmZ.js +733 -0
  167. package/dist/channels-cli-l4xjPvDv.js +268 -0
  168. package/dist/chat-zUeX8mQw.js +2758 -0
  169. package/dist/chrome-CgLTMlX5.js +1181 -0
  170. package/dist/chrome-mcp-0zQTzU3A.js +2 -0
  171. package/dist/chrome-mcp-BjiLGZmi.js +600 -0
  172. package/dist/chrome.executables-CoZsfQLC.js +541 -0
  173. package/dist/clawbot-cli-C3BFdHJB.js +9 -0
  174. package/dist/clawhub-Dz5KDje-.js +400 -0
  175. package/dist/clawhub-LPw6cLUe.js +300 -0
  176. package/dist/cli/daemon-cli.js +4 -4
  177. package/dist/cli-BTnpFsj1.js +2 -0
  178. package/dist/cli-CAFQ6Cwy.js +72 -0
  179. package/dist/cli-CUAjdQ7v.js +683 -0
  180. package/dist/cli-CiqIbwtg.js +219 -0
  181. package/dist/cli-Cp2qY3Xp.js +154 -0
  182. package/dist/cli-D8SnjKKR.js +3726 -0
  183. package/dist/cli-DL1ppK38.js +2 -0
  184. package/dist/cli-Dyu4jU8j.js +2 -0
  185. package/dist/cli-runner-DO6lEPJr.js +286 -0
  186. package/dist/cli-runner.runtime-B-Ic4DyC.js +3 -0
  187. package/dist/cli-runner.runtime-C4cAORcg.js +4 -0
  188. package/dist/cli-runner.runtime.js +1 -1
  189. package/dist/cli-startup-metadata.json +2 -2
  190. package/dist/cli.runtime-CYHctHVS.js +1261 -0
  191. package/dist/cli.runtime.js +1 -1
  192. package/dist/client-Bb_miREU.js +138 -0
  193. package/dist/client-CrPccv7a.js +713 -0
  194. package/dist/codex-native-web-search-Bu1J52-W.js +113 -0
  195. package/dist/codex-native-web-search-Deyt8mj0.js +3 -0
  196. package/dist/combined-store-gateway-DT2C-8GW.js +163 -0
  197. package/dist/command-auth-B7P-1IeA.js +76 -0
  198. package/dist/command-config-resolution-BB-SsCob.js +23 -0
  199. package/dist/command-config-resolution-DMKYb0Kh.js +2 -0
  200. package/dist/command-config-resolution.runtime-Coeaa9lz.js +2 -0
  201. package/dist/command-config-resolution.runtime.js +1 -1
  202. package/dist/command-execution-startup-BlHlyCgU.js +305 -0
  203. package/dist/command-registry-B2JzWHqy.js +9 -0
  204. package/dist/command-registry-CNUpJUp8.js +4 -0
  205. package/dist/command-registry-core-BLap9aka.js +101 -0
  206. package/dist/command-secret-gateway-ChRXthnT.js +528 -0
  207. package/dist/command-status.runtime-D8VWyC3v.js +87 -0
  208. package/dist/command-status.runtime.js +1 -1
  209. package/dist/commands-acp-QLk1cU5f.js +77 -0
  210. package/dist/commands-compact.runtime-BIHG2RSY.js +10 -0
  211. package/dist/commands-compact.runtime.js +1 -1
  212. package/dist/commands-core.runtime-2OrgNeAA.js +2 -0
  213. package/dist/commands-core.runtime.js +1 -1
  214. package/dist/commands-handlers.runtime-DjimbxSJ.js +4597 -0
  215. package/dist/commands-handlers.runtime.js +1 -1
  216. package/dist/commands-models-BAneNjrI.js +327 -0
  217. package/dist/commands-reset-hooks-BkEMNl84.js +133 -0
  218. package/dist/commands-status-DiIQSYSt.js +16 -0
  219. package/dist/commands-status.runtime-DBRxICN6.js +3 -0
  220. package/dist/commands-status.runtime.js +1 -1
  221. package/dist/commands-subagents-control.runtime-BmqXiKHu.js +3 -0
  222. package/dist/commands-subagents-control.runtime-CVQSOd8H.js +2 -0
  223. package/dist/commands-subagents-control.runtime.js +1 -1
  224. package/dist/commands-system-prompt-2qwZc3xL.js +158 -0
  225. package/dist/commands-system-prompt-Clnn_Gct.js +2 -0
  226. package/dist/commands.runtime-DAqpiDPr.js +166 -0
  227. package/dist/commands.runtime.js +1 -1
  228. package/dist/compact-DqOkQZYr.js +1118 -0
  229. package/dist/compact.runtime-CC_l29j4.js +12 -0
  230. package/dist/compact.runtime.js +1 -1
  231. package/dist/completion-cli-DZFJPSiF.js +328 -0
  232. package/dist/config-3He3LWHw.js +5 -0
  233. package/dist/config-D9XEe0Cd.js +251 -0
  234. package/dist/config-DDoTcXdn.js +9 -0
  235. package/dist/config-api-q218x1pm.js +2 -0
  236. package/dist/config-cli-DVDwIjKr.js +1078 -0
  237. package/dist/config-compat-2ov7ryzQ.js +126 -0
  238. package/dist/config-compat-k8n8hPxr.js +130 -0
  239. package/dist/config-guard-8hQGGUl4.js +96 -0
  240. package/dist/config-runtime-CiIsBMuo.js +32 -0
  241. package/dist/config-validation-BeKCV2p-.js +30 -0
  242. package/dist/configure-39oQUHuK.js +1245 -0
  243. package/dist/configure-BGD8tViZ.js +2 -0
  244. package/dist/connect-options-Fpky6zuL.js +699 -0
  245. package/dist/context-D3NokKLx.js +2 -0
  246. package/dist/context-rtkuRtGt.js +278 -0
  247. package/dist/control-auth-BlqH4IVx.js +125 -0
  248. package/dist/control-service-CaqDohiY.js +156 -0
  249. package/dist/control-ui-CIhsZ2Nb.js +688 -0
  250. package/dist/conversation-id-BH9GFVB2.js +235 -0
  251. package/dist/conversation-id-UdIegcf4.js +38 -0
  252. package/dist/conversation-label-generator-CNvvC18B.js +56 -0
  253. package/dist/conversation-runtime-Bao0kIPf.js +31 -0
  254. package/dist/core-DXUh5Xbm.js +275 -0
  255. package/dist/create-5kvABMhw.js +80 -0
  256. package/dist/cron-cli-B1mxHnGP.js +713 -0
  257. package/dist/daemon-cli-CaHBNwMy.js +12 -0
  258. package/dist/daemon-install-BBwOxf1q.js +64 -0
  259. package/dist/daemon-install-auth-profiles-store.runtime-DWg8FeUH.js +2 -0
  260. package/dist/daemon-install-auth-profiles-store.runtime.js +1 -1
  261. package/dist/daemon-install-plan.shared-WG_DYWei.js +287 -0
  262. package/dist/ddg-client-BnD8tAM2.js +147 -0
  263. package/dist/ddg-search-provider-CNeCrvl0.js +54 -0
  264. package/dist/delegate-7G7R4C-C.js +64 -0
  265. package/dist/deliver-CEuqmKKH.js +747 -0
  266. package/dist/deliver-Cndvxi9P.js +3 -0
  267. package/dist/deliver-runtime-BvDWmZrW.js +2 -0
  268. package/dist/delivery-outbound.runtime-BQeyIAOJ.js +6 -0
  269. package/dist/delivery-outbound.runtime.js +1 -1
  270. package/dist/delivery.runtime-Ci0ToUzj.js +253 -0
  271. package/dist/delivery.runtime.js +1 -1
  272. package/dist/deps-CFCIpuzV.js +2 -0
  273. package/dist/deps-D3gqpOra.js +73 -0
  274. package/dist/detached-task-runtime-BMdSrcuz.js +73 -0
  275. package/dist/devices-cli-DnEQH3R2.js +496 -0
  276. package/dist/diagnostic-CC9CPVio.js +400 -0
  277. package/dist/diagnostic-support-export-CufM12zj.js +533 -0
  278. package/dist/diagnostics-C8VwSDtU.js +154 -0
  279. package/dist/direct-dm-BSEkIiOe.js +64 -0
  280. package/dist/directive-handling.fast-lane-C6uvW96M.js +66 -0
  281. package/dist/directive-handling.impl-BTuNitCK.js +2 -0
  282. package/dist/directive-handling.impl-DIeSI-ux.js +703 -0
  283. package/dist/directive-handling.model-selection-Cq8JhQdI.js +114 -0
  284. package/dist/directive-handling.persist.runtime-DrUu8zaW.js +215 -0
  285. package/dist/directive-handling.persist.runtime.js +1 -1
  286. package/dist/directory-cli-DNMdDpqd.js +240 -0
  287. package/dist/dispatch-1gv6It-6.js +1131 -0
  288. package/dist/dispatch-acp-hbhR9aHr.js +981 -0
  289. package/dist/dispatch-acp-manager.runtime-BXQbK1cO.js +3 -0
  290. package/dist/dispatch-acp-manager.runtime.js +1 -1
  291. package/dist/dispatch-acp-media.runtime-DqSdScnW.js +4 -0
  292. package/dist/dispatch-acp-media.runtime.js +1 -1
  293. package/dist/dispatch-acp-session.runtime-B-AG2-VC.js +2 -0
  294. package/dist/dispatch-acp-session.runtime.js +1 -1
  295. package/dist/dispatch-acp.runtime-Dhx090J2.js +19 -0
  296. package/dist/dispatch-acp.runtime.js +1 -1
  297. package/dist/dns-cli-z20808Yz.js +192 -0
  298. package/dist/doctor-auth-CqdmPgiK.js +172 -0
  299. package/dist/doctor-auth-legacy-oauth-C2ojfRvc.js +2 -0
  300. package/dist/doctor-auth-legacy-oauth-CcveIbUh.js +48 -0
  301. package/dist/doctor-claude-cli-B6pnkFEn.js +147 -0
  302. package/dist/doctor-config-analysis-B_xkK9eg.js +94 -0
  303. package/dist/doctor-config-flow-D9W_glLc.js +417 -0
  304. package/dist/doctor-config-preflight-BAZTh5MZ.js +2 -0
  305. package/dist/doctor-config-preflight-Bui2U29x.js +63 -0
  306. package/dist/doctor-contract-DgJ867-C.js +26 -0
  307. package/dist/doctor-device-pairing-1gf3tk3g.js +307 -0
  308. package/dist/doctor-gateway-daemon-flow-LEnN6pL-.js +250 -0
  309. package/dist/doctor-gateway-health-DwxLkTV4.js +60 -0
  310. package/dist/doctor-gateway-services-BhqUOY_e.js +316 -0
  311. package/dist/doctor-health-CdJkaUYf.js +59 -0
  312. package/dist/doctor-health-contributions-BaTnIzCT.js +486 -0
  313. package/dist/doctor-memory-search-C25cUVoI.js +371 -0
  314. package/dist/doctor-prompter-BZTb5rOn.js +56 -0
  315. package/dist/doctor-sandbox-CNi6l2wR.js +194 -0
  316. package/dist/doctor-session-locks-CYaHscyv.js +52 -0
  317. package/dist/doctor-state-integrity-jbbt8OVU.js +609 -0
  318. package/dist/doctor-state-migrations-DgYUKVNF.js +2 -0
  319. package/dist/doctor-update-r4fBiE_r.js +58 -0
  320. package/dist/doctor-workspace-status-DnBARoPa.js +75 -0
  321. package/dist/dreaming-BAGFdUxh.js +1574 -0
  322. package/dist/dreaming-narrative-XoOfVb0x.js +595 -0
  323. package/dist/dreaming-shared-B7vlQ1yu.js +21 -0
  324. package/dist/embedded-gateway-stub.runtime-xwZ-M7Ei.js +9 -0
  325. package/dist/embedded-gateway-stub.runtime.js +1 -1
  326. package/dist/embedding-batch-BU4JjG1y.js +161 -0
  327. package/dist/embedding-batch-DOZ1gHYu.js +191 -0
  328. package/dist/embedding-provider-BI2BRW8e.js +64 -0
  329. package/dist/embedding-provider-Bb3l6tny.js +33 -0
  330. package/dist/embedding-provider-Cjyi9qRs.js +118 -0
  331. package/dist/embedding-provider-D-IE5LZN.js +38 -0
  332. package/dist/embeddings-eOJvLToU.js +215 -0
  333. package/dist/embeddings-http-BDz5OXZk.js +205 -0
  334. package/dist/engine-embeddings-CxNSH_in.js +458 -0
  335. package/dist/engine-qmd-BSGZVwOC.js +551 -0
  336. package/dist/entry.js +2 -2
  337. package/dist/exa-web-search-provider-DMHM6_vZ.js +80 -0
  338. package/dist/exa-web-search-provider.runtime-5amTdDMt.js +2 -0
  339. package/dist/exa-web-search-provider.runtime-DOeJpDGm.js +302 -0
  340. package/dist/exa-web-search-provider.runtime.js +1 -1
  341. package/dist/exec-approval-forwarder.runtime-ToZ9QUrR.js +3 -0
  342. package/dist/exec-approval-forwarder.runtime.js +1 -1
  343. package/dist/exec-approval-reply-CErKkY_w.js +2 -0
  344. package/dist/exec-approval-reply-CwnSisXg.js +296 -0
  345. package/dist/exec-approval-session-target-BcyDQz_G.js +176 -0
  346. package/dist/exec-approvals-cli-CWVWSMk-.js +498 -0
  347. package/dist/exec-policy-cli-F3L_mLPh.js +298 -0
  348. package/dist/extensionAPI.js +4 -4
  349. package/dist/extensions/active-memory/index.js +3 -3
  350. package/dist/extensions/alibaba/index.js +1 -1
  351. package/dist/extensions/alibaba/video-generation-provider.js +1 -1
  352. package/dist/extensions/arcee/index.js +2 -2
  353. package/dist/extensions/bluebubbles/api.js +3 -3
  354. package/dist/extensions/bluebubbles/channel-plugin-api.js +1 -1
  355. package/dist/extensions/brave/index.js +1 -1
  356. package/dist/extensions/brave/test-api.js +1 -1
  357. package/dist/extensions/brave/web-search-provider.js +1 -1
  358. package/dist/extensions/browser/browser-bridge.js +1 -1
  359. package/dist/extensions/browser/browser-config.js +4 -4
  360. package/dist/extensions/browser/browser-control-auth.js +2 -2
  361. package/dist/extensions/browser/browser-doctor.js +5 -5
  362. package/dist/extensions/browser/browser-host-inspection.js +1 -1
  363. package/dist/extensions/browser/browser-maintenance.js +2 -2
  364. package/dist/extensions/browser/browser-profiles.js +2 -2
  365. package/dist/extensions/browser/browser-runtime-api.js +14 -14
  366. package/dist/extensions/browser/index.js +1 -1
  367. package/dist/extensions/browser/plugin-registration.js +1 -1
  368. package/dist/extensions/browser/register.runtime.js +3 -3
  369. package/dist/extensions/browser/runtime-api.js +15 -15
  370. package/dist/extensions/browser/setup-api.js +2 -2
  371. package/dist/extensions/browser/test-support.js +1 -1
  372. package/dist/extensions/byteplus/index.js +3 -3
  373. package/dist/extensions/byteplus/video-generation-provider.js +1 -1
  374. package/dist/extensions/chutes/api.js +3 -3
  375. package/dist/extensions/chutes/index.js +7 -7
  376. package/dist/extensions/chutes/models.js +1 -1
  377. package/dist/extensions/chutes/onboard.js +2 -2
  378. package/dist/extensions/chutes/provider-catalog.js +1 -1
  379. package/dist/extensions/cloudflare-ai-gateway/api.js +1 -1
  380. package/dist/extensions/cloudflare-ai-gateway/catalog-provider.js +1 -1
  381. package/dist/extensions/cloudflare-ai-gateway/index.js +7 -7
  382. package/dist/extensions/comfy/image-generation-provider.js +2 -2
  383. package/dist/extensions/comfy/index.js +5 -5
  384. package/dist/extensions/comfy/music-generation-provider.js +1 -1
  385. package/dist/extensions/comfy/test-helpers.js +1 -1
  386. package/dist/extensions/comfy/video-generation-provider.js +2 -2
  387. package/dist/extensions/comfy/workflow-runtime.js +1 -1
  388. package/dist/extensions/deepgram/index.js +1 -1
  389. package/dist/extensions/deepgram/realtime-transcription-provider.js +1 -1
  390. package/dist/extensions/deepgram/test-api.js +1 -1
  391. package/dist/extensions/deepseek/index.js +1 -1
  392. package/dist/extensions/device-pair/api.js +2 -2
  393. package/dist/extensions/device-pair/index.js +5 -5
  394. package/dist/extensions/device-pair/notify.js +1 -1
  395. package/dist/extensions/device-pair/pair-command-approve.js +1 -1
  396. package/dist/extensions/device-pair/qr-image.js +2 -2
  397. package/dist/extensions/duckduckgo/index.js +1 -1
  398. package/dist/extensions/duckduckgo/web-search-provider.js +1 -1
  399. package/dist/extensions/elevenlabs/config-compat.js +1 -1
  400. package/dist/extensions/elevenlabs/contract-api.js +2 -2
  401. package/dist/extensions/elevenlabs/doctor-contract.js +2 -2
  402. package/dist/extensions/elevenlabs/index.js +2 -2
  403. package/dist/extensions/elevenlabs/realtime-transcription-provider.js +1 -1
  404. package/dist/extensions/elevenlabs/setup-api.js +1 -1
  405. package/dist/extensions/elevenlabs/speech-provider.js +1 -1
  406. package/dist/extensions/elevenlabs/test-api.js +2 -2
  407. package/dist/extensions/exa/index.js +1 -1
  408. package/dist/extensions/exa/test-api.js +1 -1
  409. package/dist/extensions/exa/web-search-provider.js +1 -1
  410. package/dist/extensions/fal/image-generation-provider.js +1 -1
  411. package/dist/extensions/fal/index.js +3 -3
  412. package/dist/extensions/fal/provider-registration.js +1 -1
  413. package/dist/extensions/fal/test-api.js +2 -2
  414. package/dist/extensions/fal/video-generation-provider.js +1 -1
  415. package/dist/extensions/firecrawl/api.js +1 -1
  416. package/dist/extensions/fireworks/index.js +1 -1
  417. package/dist/extensions/github-copilot/api.js +1 -1
  418. package/dist/extensions/github-copilot/auth.js +1 -1
  419. package/dist/extensions/github-copilot/embeddings.js +1 -1
  420. package/dist/extensions/github-copilot/index.js +8 -8
  421. package/dist/extensions/github-copilot/login.js +1 -1
  422. package/dist/extensions/github-copilot/models-defaults.js +1 -1
  423. package/dist/extensions/github-copilot/models.js +1 -1
  424. package/dist/extensions/github-copilot/register.runtime.js +3 -3
  425. package/dist/extensions/github-copilot/replay-policy.js +1 -1
  426. package/dist/extensions/google-meet/index.js +7 -7
  427. package/dist/extensions/groq/index.js +1 -1
  428. package/dist/extensions/groq/media-understanding-provider.js +1 -1
  429. package/dist/extensions/groq/test-api.js +1 -1
  430. package/dist/extensions/huggingface/api.js +3 -3
  431. package/dist/extensions/huggingface/index.js +3 -3
  432. package/dist/extensions/huggingface/models.js +1 -1
  433. package/dist/extensions/huggingface/onboard.js +1 -1
  434. package/dist/extensions/huggingface/provider-catalog.js +2 -2
  435. package/dist/extensions/image-generation-core/api.js +3 -3
  436. package/dist/extensions/image-generation-core/runtime-api.js +2 -2
  437. package/dist/extensions/imessage/api.js +5 -5
  438. package/dist/extensions/imessage/channel-plugin-api.js +1 -1
  439. package/dist/extensions/imessage/contract-api.js +2 -2
  440. package/dist/extensions/imessage/media-contract-api.js +2 -2
  441. package/dist/extensions/imessage/runtime-api.js +5 -5
  442. package/dist/extensions/imessage/test-api.js +2 -2
  443. package/dist/extensions/irc/api.js +2 -2
  444. package/dist/extensions/irc/channel-plugin-api.js +1 -1
  445. package/dist/extensions/kilocode/api.js +2 -2
  446. package/dist/extensions/kilocode/index.js +6 -6
  447. package/dist/extensions/kilocode/onboard.js +2 -2
  448. package/dist/extensions/kilocode/provider-catalog.js +1 -1
  449. package/dist/extensions/kilocode/provider-models.js +1 -1
  450. package/dist/extensions/kilocode/shared.js +1 -1
  451. package/dist/extensions/kimi-coding/index.js +4 -4
  452. package/dist/extensions/kimi-coding/stream.js +1 -1
  453. package/dist/extensions/line/api.js +2 -2
  454. package/dist/extensions/line/channel-plugin-api.js +1 -1
  455. package/dist/extensions/line/contract-api.js +1 -1
  456. package/dist/extensions/line/index.js +1 -1
  457. package/dist/extensions/line/runtime-api.js +7 -7
  458. package/dist/extensions/line/setup-api.js +1 -1
  459. package/dist/extensions/litellm/index.js +1 -1
  460. package/dist/extensions/llm-task/index.js +3 -3
  461. package/dist/extensions/lmstudio/api.js +7 -7
  462. package/dist/extensions/lmstudio/index.js +3 -3
  463. package/dist/extensions/lmstudio/memory-embedding-adapter.js +1 -1
  464. package/dist/extensions/lmstudio/runtime-api.js +1 -1
  465. package/dist/extensions/lobster/index.js +3 -3
  466. package/dist/extensions/lobster/runtime-api.js +1 -1
  467. package/dist/extensions/mattermost/api.js +1 -1
  468. package/dist/extensions/mattermost/channel-plugin-api.js +1 -1
  469. package/dist/extensions/mattermost/channel-plugin-runtime.js +1 -1
  470. package/dist/extensions/mattermost/policy-api.js +1 -1
  471. package/dist/extensions/mattermost/runtime-api.js +8 -8
  472. package/dist/extensions/mattermost/slash-route-api.js +1 -1
  473. package/dist/extensions/media-understanding-core/runtime-api.js +2 -2
  474. package/dist/extensions/memory-core/api.js +1 -1
  475. package/dist/extensions/memory-core/cli-metadata.js +2 -2
  476. package/dist/extensions/memory-core/index.js +12 -12
  477. package/dist/extensions/memory-core/manager-runtime.js +1 -1
  478. package/dist/extensions/memory-core/runtime-api.js +7 -7
  479. package/dist/extensions/memory-lancedb/cli-metadata.js +1 -1
  480. package/dist/extensions/memory-lancedb/index.js +2 -2
  481. package/dist/extensions/memory-wiki/cli-metadata.js +1 -1
  482. package/dist/extensions/memory-wiki/index.js +1 -1
  483. package/dist/extensions/microsoft/index.js +1 -1
  484. package/dist/extensions/microsoft/speech-provider.js +1 -1
  485. package/dist/extensions/microsoft/test-api.js +1 -1
  486. package/dist/extensions/microsoft/tts.js +1 -1
  487. package/dist/extensions/microsoft-foundry/auth.js +1 -1
  488. package/dist/extensions/microsoft-foundry/cli.js +1 -1
  489. package/dist/extensions/microsoft-foundry/index.js +1 -1
  490. package/dist/extensions/microsoft-foundry/onboard.js +2 -2
  491. package/dist/extensions/microsoft-foundry/provider.js +1 -1
  492. package/dist/extensions/microsoft-foundry/runtime.js +1 -1
  493. package/dist/extensions/microsoft-foundry/shared-runtime.js +2 -2
  494. package/dist/extensions/microsoft-foundry/shared.js +1 -1
  495. package/dist/extensions/minimax/image-generation-provider.js +1 -1
  496. package/dist/extensions/minimax/index.js +7 -7
  497. package/dist/extensions/minimax/media-understanding-provider.js +1 -1
  498. package/dist/extensions/minimax/music-generation-provider.js +1 -1
  499. package/dist/extensions/minimax/oauth.js +1 -1
  500. package/dist/extensions/minimax/oauth.runtime.js +1 -1
  501. package/dist/extensions/minimax/provider-registration.js +1 -1
  502. package/dist/extensions/minimax/speech-provider.js +1 -1
  503. package/dist/extensions/minimax/test-api.js +5 -5
  504. package/dist/extensions/minimax/video-generation-provider.js +1 -1
  505. package/dist/extensions/minimax/web-search-provider.js +1 -1
  506. package/dist/extensions/mistral/embedding-provider.js +1 -1
  507. package/dist/extensions/mistral/index.js +5 -5
  508. package/dist/extensions/mistral/media-understanding-provider.js +1 -1
  509. package/dist/extensions/mistral/memory-embedding-adapter.js +1 -1
  510. package/dist/extensions/mistral/provider-compat.js +1 -1
  511. package/dist/extensions/mistral/realtime-transcription-provider.js +1 -1
  512. package/dist/extensions/mistral/test-api.js +2 -2
  513. package/dist/extensions/moonshot/index.js +5 -5
  514. package/dist/extensions/moonshot/media-understanding-provider.js +1 -1
  515. package/dist/extensions/moonshot/test-api.js +2 -2
  516. package/dist/extensions/moonshot/web-search-provider.js +1 -1
  517. package/dist/extensions/msteams/api.js +1 -1
  518. package/dist/extensions/msteams/channel-plugin-api.js +1 -1
  519. package/dist/extensions/msteams/runtime-api.js +4 -4
  520. package/dist/extensions/msteams/test-api.js +1 -1
  521. package/dist/extensions/nextcloud-talk/api.js +1 -1
  522. package/dist/extensions/nextcloud-talk/channel-plugin-api.js +1 -1
  523. package/dist/extensions/nextcloud-talk/runtime-api.js +2 -2
  524. package/dist/extensions/nvidia/index.js +1 -1
  525. package/dist/extensions/ollama/api.js +3 -3
  526. package/dist/extensions/ollama/index.js +10 -10
  527. package/dist/extensions/ollama/runtime-api.js +2 -2
  528. package/dist/extensions/ollama/web-search-provider.js +1 -1
  529. package/dist/extensions/openai/api.js +4 -4
  530. package/dist/extensions/openai/base-url.js +1 -1
  531. package/dist/extensions/openai/embedding-batch.js +1 -1
  532. package/dist/extensions/openai/embedding-provider.js +1 -1
  533. package/dist/extensions/openai/image-generation-provider.js +1 -1
  534. package/dist/extensions/openai/index.js +10 -10
  535. package/dist/extensions/openai/media-understanding-provider.js +1 -1
  536. package/dist/extensions/openai/memory-embedding-adapter.js +1 -1
  537. package/dist/extensions/openai/native-web-search.js +1 -1
  538. package/dist/extensions/openai/openai-codex-auth-identity.js +1 -1
  539. package/dist/extensions/openai/openai-codex-device-code.js +1 -1
  540. package/dist/extensions/openai/openai-codex-provider.js +1 -1
  541. package/dist/extensions/openai/openai-codex-shared.js +1 -1
  542. package/dist/extensions/openai/openai-provider.js +1 -1
  543. package/dist/extensions/openai/realtime-provider-shared.js +1 -1
  544. package/dist/extensions/openai/realtime-transcription-provider.js +1 -1
  545. package/dist/extensions/openai/realtime-voice-provider.js +1 -1
  546. package/dist/extensions/openai/register.runtime.js +7 -7
  547. package/dist/extensions/openai/shared.js +1 -1
  548. package/dist/extensions/openai/speech-provider.js +1 -1
  549. package/dist/extensions/openai/test-api.js +6 -6
  550. package/dist/extensions/openai/transport-policy.js +1 -1
  551. package/dist/extensions/openai/video-generation-provider.js +1 -1
  552. package/dist/extensions/opencode/index.js +3 -3
  553. package/dist/extensions/opencode/media-understanding-provider.js +1 -1
  554. package/dist/extensions/opencode-go/index.js +2 -2
  555. package/dist/extensions/opencode-go/media-understanding-provider.js +1 -1
  556. package/dist/extensions/openrouter/api.js +2 -2
  557. package/dist/extensions/openrouter/image-generation-provider.js +1 -1
  558. package/dist/extensions/openrouter/index.js +8 -8
  559. package/dist/extensions/openrouter/media-understanding-provider.js +1 -1
  560. package/dist/extensions/openrouter/register.runtime.js +7 -7
  561. package/dist/extensions/openrouter/speech-provider.js +1 -1
  562. package/dist/extensions/openrouter/stream.js +1 -1
  563. package/dist/extensions/openrouter/test-api.js +3 -3
  564. package/dist/extensions/openshell/index.js +4 -4
  565. package/dist/extensions/perplexity/index.js +1 -1
  566. package/dist/extensions/perplexity/test-api.js +1 -1
  567. package/dist/extensions/perplexity/web-search-provider.js +1 -1
  568. package/dist/extensions/phone-control/index.js +1 -1
  569. package/dist/extensions/qianfan/index.js +1 -1
  570. package/dist/extensions/qwen/index.js +3 -3
  571. package/dist/extensions/qwen/media-understanding-provider.js +1 -1
  572. package/dist/extensions/qwen/test-api.js +2 -2
  573. package/dist/extensions/qwen/video-generation-provider.js +1 -1
  574. package/dist/extensions/runway/index.js +1 -1
  575. package/dist/extensions/runway/video-generation-provider.js +1 -1
  576. package/dist/extensions/sglang/api.js +2 -2
  577. package/dist/extensions/sglang/index.js +2 -2
  578. package/dist/extensions/sglang/models.js +1 -1
  579. package/dist/extensions/signal/api.js +11 -11
  580. package/dist/extensions/signal/channel-plugin-api.js +1 -1
  581. package/dist/extensions/signal/contract-api.js +2 -2
  582. package/dist/extensions/signal/reaction-runtime-api.js +1 -1
  583. package/dist/extensions/signal/runtime-api.js +13 -13
  584. package/dist/extensions/skill-workshop/api.js +1 -1
  585. package/dist/extensions/skill-workshop/index.js +2 -2
  586. package/dist/extensions/speech-core/api.js +2 -2
  587. package/dist/extensions/speech-core/runtime-api.js +4 -4
  588. package/dist/extensions/stepfun/index.js +3 -3
  589. package/dist/extensions/synology-chat/api.js +1 -1
  590. package/dist/extensions/synology-chat/channel-plugin-api.js +1 -1
  591. package/dist/extensions/synthetic/index.js +1 -1
  592. package/dist/extensions/talk-voice/index.js +3 -3
  593. package/dist/extensions/tavily/index.js +2 -2
  594. package/dist/extensions/tavily/web-search-provider.js +1 -1
  595. package/dist/extensions/tencent/index.js +2 -2
  596. package/dist/extensions/thread-ownership/index.js +2 -2
  597. package/dist/extensions/tlon/api.js +2 -2
  598. package/dist/extensions/tlon/channel-plugin-api.js +1 -1
  599. package/dist/extensions/tlon/runtime-api.js +1 -1
  600. package/dist/extensions/tlon/setup-api.js +2 -2
  601. package/dist/extensions/tlon/test-api.js +1 -1
  602. package/dist/extensions/together/index.js +2 -2
  603. package/dist/extensions/together/video-generation-provider.js +1 -1
  604. package/dist/extensions/twitch/api.js +1 -1
  605. package/dist/extensions/twitch/channel-plugin-api.js +1 -1
  606. package/dist/extensions/twitch/setup-plugin-api.js +1 -1
  607. package/dist/extensions/venice/api.js +3 -3
  608. package/dist/extensions/venice/index.js +5 -5
  609. package/dist/extensions/venice/models.js +1 -1
  610. package/dist/extensions/venice/onboard.js +2 -2
  611. package/dist/extensions/venice/provider-catalog.js +1 -1
  612. package/dist/extensions/vercel-ai-gateway/index.js +1 -1
  613. package/dist/extensions/video-generation-core/api.js +2 -2
  614. package/dist/extensions/video-generation-core/runtime-api.js +2 -2
  615. package/dist/extensions/vllm/api.js +2 -2
  616. package/dist/extensions/vllm/index.js +2 -2
  617. package/dist/extensions/vllm/models.js +1 -1
  618. package/dist/extensions/vllm/register.runtime.js +2 -2
  619. package/dist/extensions/voice-call/index.js +3 -3
  620. package/dist/extensions/voice-call/runtime-entry.js +1 -1
  621. package/dist/extensions/voice-call/setup-api.js +2 -2
  622. package/dist/extensions/volcengine/index.js +2 -2
  623. package/dist/extensions/voyage/embedding-batch.js +1 -1
  624. package/dist/extensions/voyage/embedding-provider.js +1 -1
  625. package/dist/extensions/voyage/index.js +1 -1
  626. package/dist/extensions/voyage/memory-embedding-adapter.js +1 -1
  627. package/dist/extensions/vydra/image-generation-provider.js +1 -1
  628. package/dist/extensions/vydra/index.js +5 -5
  629. package/dist/extensions/vydra/shared.js +1 -1
  630. package/dist/extensions/vydra/speech-provider.js +1 -1
  631. package/dist/extensions/vydra/video-generation-provider.js +1 -1
  632. package/dist/extensions/xai/api.js +6 -6
  633. package/dist/extensions/xai/code-execution.js +3 -3
  634. package/dist/extensions/xai/image-generation-provider.js +1 -1
  635. package/dist/extensions/xai/index.js +13 -13
  636. package/dist/extensions/xai/model-definitions.js +1 -1
  637. package/dist/extensions/xai/onboard.js +1 -1
  638. package/dist/extensions/xai/provider-catalog.js +1 -1
  639. package/dist/extensions/xai/provider-models.js +1 -1
  640. package/dist/extensions/xai/realtime-transcription-provider.js +1 -1
  641. package/dist/extensions/xai/setup-api.js +1 -1
  642. package/dist/extensions/xai/speech-provider.js +1 -1
  643. package/dist/extensions/xai/stt.js +1 -1
  644. package/dist/extensions/xai/test-api.js +1 -1
  645. package/dist/extensions/xai/tts.js +2 -2
  646. package/dist/extensions/xai/video-generation-provider.js +1 -1
  647. package/dist/extensions/xai/web-search.js +1 -1
  648. package/dist/extensions/xai/x-search.js +4 -4
  649. package/dist/extensions/xiaomi/index.js +1 -1
  650. package/dist/extensions/zai/api.js +1 -1
  651. package/dist/extensions/zai/index.js +9 -9
  652. package/dist/extensions/zai/media-understanding-provider.js +1 -1
  653. package/dist/extensions/zai/onboard.js +1 -1
  654. package/dist/extensions/zai/test-api.js +1 -1
  655. package/dist/extensions/zalo/api.js +3 -3
  656. package/dist/extensions/zalo/channel-plugin-api.js +1 -1
  657. package/dist/extensions/zalo/runtime-api.js +2 -2
  658. package/dist/extensions/zalo/setup-api.js +2 -2
  659. package/dist/extensions/zalouser/api.js +4 -4
  660. package/dist/extensions/zalouser/channel-plugin-api.js +1 -1
  661. package/dist/extensions/zalouser/runtime-api.js +9 -9
  662. package/dist/extensions/zalouser/setup-plugin-api.js +1 -1
  663. package/dist/extensions/zalouser/test-api.js +4 -4
  664. package/dist/extra-params-DXOULv19.js +388 -0
  665. package/dist/fallbacks-BKA5XrxA.js +31 -0
  666. package/dist/fallbacks-QvezaDAr.js +2 -0
  667. package/dist/fallbacks-shared-DS-qTOLR.js +111 -0
  668. package/dist/format-DQi1munp.js +245 -0
  669. package/dist/format-Dv6HmuyW.js +176 -0
  670. package/dist/gateway-C0YHaLXO.js +115 -0
  671. package/dist/gateway-cli-DJBCD8J5.js +1325 -0
  672. package/dist/gateway-install-token-CBRkr0l1.js +141 -0
  673. package/dist/gateway-rpc-CmJXd4SU.js +14 -0
  674. package/dist/gateway-rpc.runtime-C9Fs2mSx.js +23 -0
  675. package/dist/gateway-rpc.runtime.js +1 -1
  676. package/dist/gateway-runtime-Bm2_MhFn.js +15 -0
  677. package/dist/gateway-status-DXKMKFtB.js +584 -0
  678. package/dist/genesis-tools-AolFZ-0I.js +8999 -0
  679. package/dist/genesis-tools.runtime-CBWXJqzw.js +2 -0
  680. package/dist/genesis-tools.runtime.js +1 -1
  681. package/dist/get-reply-BpxjHQBp.js +3879 -0
  682. package/dist/get-reply-from-config.runtime-DJKEqLSi.js +2 -0
  683. package/dist/get-reply-from-config.runtime.js +1 -1
  684. package/dist/gmail-setup-utils-CViEwpXs.js +430 -0
  685. package/dist/gmail-watcher-lifecycle-5JNDL-Qn.js +2 -0
  686. package/dist/gmail-watcher-lifecycle-CbLbP5wf.js +191 -0
  687. package/dist/graph-users-D2Q5UTGQ.js +1337 -0
  688. package/dist/guarded-json-api-BGsPLvM1.js +594 -0
  689. package/dist/health-BNKpuAPB.js +469 -0
  690. package/dist/health-BkxZfKx8.js +3 -0
  691. package/dist/heartbeat-runner-Bdu2q6k3.js +5 -0
  692. package/dist/heartbeat-runner-C0B-c-fv.js +1292 -0
  693. package/dist/heartbeat-runner.runtime-Cic23eNy.js +4 -0
  694. package/dist/heartbeat-runner.runtime.js +1 -1
  695. package/dist/help-B-jwXS97.js +81 -0
  696. package/dist/hooks-cli-BfCr2In5.js +433 -0
  697. package/dist/http-endpoint-helpers-CY0P-_y2.js +41 -0
  698. package/dist/http-headers-BQgW7fC2.js +11 -0
  699. package/dist/http-utils-Da8hOLty.js +924 -0
  700. package/dist/identity-PVMitPyT.js +140 -0
  701. package/dist/image-fallbacks-Dgy-LmDo.js +2 -0
  702. package/dist/image-fallbacks-RlfTqOne.js +31 -0
  703. package/dist/image-flYicC8O.js +272 -0
  704. package/dist/image-generation-core-ByCwGM7N.js +18 -0
  705. package/dist/image-generation-core.auth.runtime-BoHVcjuF.js +2 -0
  706. package/dist/image-generation-core.auth.runtime.js +1 -1
  707. package/dist/image-generation-provider-AZDQCts4.js +228 -0
  708. package/dist/image-generation-provider-BWIWrjvD.js +137 -0
  709. package/dist/image-generation-provider-Bq7iOzlf.js +529 -0
  710. package/dist/image-generation-provider-Bv5-fwPX.js +95 -0
  711. package/dist/image-generation-provider-CGSTJ4hP.js +63 -0
  712. package/dist/image-generation-provider-Cllhe0AP.js +274 -0
  713. package/dist/image-generation-provider-Cs4wRp50.js +157 -0
  714. package/dist/image-generation-runtime-xstqpFrd.js +2 -0
  715. package/dist/image-runtime-CaiLu4CB.js +9 -0
  716. package/dist/inbound-reply-dispatch-D4KJHWLG.js +73 -0
  717. package/dist/inbound.runtime-B-GWbA14.js +4 -0
  718. package/dist/inbound.runtime-ZW0e3dff.js +3 -0
  719. package/dist/inbound.runtime.js +1 -1
  720. package/dist/index.js +2 -2
  721. package/dist/infra-runtime-BTJv3KK8.js +39 -0
  722. package/dist/init-q4INH9uv.js +59 -0
  723. package/dist/install-BT4BNeMX.js +190 -0
  724. package/dist/install-signal-cli-BGP-9Zvn.js +202 -0
  725. package/dist/install.runtime-BnqPyIyn.js +2 -0
  726. package/dist/install.runtime.js +1 -1
  727. package/dist/io-C8-NJ1hW.js +5 -0
  728. package/dist/io-DNd8mbjy.js +19290 -0
  729. package/dist/jobs-tgmPyzoA.js +734 -0
  730. package/dist/kimi-web-search-provider-BP8Sm_zW.js +80 -0
  731. package/dist/kimi-web-search-provider.runtime-BiS2hZd_.js +2 -0
  732. package/dist/kimi-web-search-provider.runtime-hPogdlIf.js +261 -0
  733. package/dist/kimi-web-search-provider.runtime.js +1 -1
  734. package/dist/launchd-BM_37PLv.js +698 -0
  735. package/dist/legacy-tools-by-sender-C2fBnMkv.js +2 -0
  736. package/dist/legacy-tools-by-sender-PrWN1Kpn.js +95 -0
  737. package/dist/library-DGd4UZKC.js +45 -0
  738. package/dist/lifecycle-B_RLw4uY.js +229 -0
  739. package/dist/lifecycle-Bw01evSl.js +571 -0
  740. package/dist/lifecycle-core-CTjCo-k0.js +422 -0
  741. package/dist/lifecycle.runtime-BxpD2Ol7.js +2 -0
  742. package/dist/lifecycle.runtime.js +1 -1
  743. package/dist/list-BXa4zUF-.js +2 -0
  744. package/dist/list-BugTSXmQ.js +131 -0
  745. package/dist/list-CgC_rsta.js +1201 -0
  746. package/dist/list-D2sk1YPs.js +2 -0
  747. package/dist/list.probe-C6zfgLdG.js +419 -0
  748. package/dist/list.runtime-Cx-ix6ts.js +11 -0
  749. package/dist/list.runtime-zIkM6USX.js +159 -0
  750. package/dist/list.runtime.js +1 -1
  751. package/dist/live-model-switch-CgHU4tVW.js +336 -0
  752. package/dist/llm-slug-generator-DsWJvqNx.js +79 -0
  753. package/dist/llm-slug-generator.js +1 -1
  754. package/dist/load-config-D6ZKPY7I.js +35 -0
  755. package/dist/load-context-Bzz0kkeb.js +56 -0
  756. package/dist/local-dispatch.runtime-MWMxyZKj.js +8 -0
  757. package/dist/local-dispatch.runtime.js +1 -1
  758. package/dist/logging-CZpl4hS4.js +2 -0
  759. package/dist/logging-ct4GyQVj.js +13 -0
  760. package/dist/login-DyL8eVfP.js +108 -0
  761. package/dist/logs-cli-Dn-8jl3z.js +265 -0
  762. package/dist/logs-cli.runtime-DwsccWUJ.js +2 -0
  763. package/dist/logs-cli.runtime.js +1 -1
  764. package/dist/main-session-restart-recovery-6Uh4W8ZJ.js +206 -0
  765. package/dist/managed-image-attachments-DHawPS1-.js +2 -0
  766. package/dist/managed-image-attachments-DjtxwZ9o.js +635 -0
  767. package/dist/manager-ChyGVMLU.js +3114 -0
  768. package/dist/manager-D0tkR46e.js +2057 -0
  769. package/dist/manager-g_P1RDky.js +2 -0
  770. package/dist/markdown-to-line-7AxR7QFo.js +790 -0
  771. package/dist/mcp/plugin-tools-serve.js +4 -4
  772. package/dist/mcp-cli-Cw2XQMOA.js +725 -0
  773. package/dist/mcp-config-CDKA6_LY.js +115 -0
  774. package/dist/mcp-http-DFKqya8U.js +529 -0
  775. package/dist/media-contract-BLCEEI6I.js +49 -0
  776. package/dist/media-contract-api-CosBQX2V.js +2 -0
  777. package/dist/media-runtime-D2xH8y9Y.js +329 -0
  778. package/dist/media-understanding-B2qGioD4.js +85 -0
  779. package/dist/media-understanding-provider-BKieNTVy.js +13 -0
  780. package/dist/media-understanding-provider-Bp_FPuBe.js +12 -0
  781. package/dist/media-understanding-provider-BpxYGf2K.js +21 -0
  782. package/dist/media-understanding-provider-CGjB0jWY.js +69 -0
  783. package/dist/media-understanding-provider-CSCR1DOo.js +12 -0
  784. package/dist/media-understanding-provider-Cdopdt7A.js +85 -0
  785. package/dist/media-understanding-provider-Cv77beub.js +37 -0
  786. package/dist/media-understanding-provider-Cvr1QElU.js +18 -0
  787. package/dist/media-understanding-provider-DRMnI7Om.js +28 -0
  788. package/dist/media-understanding-provider-DorcYzVO.js +18 -0
  789. package/dist/media-understanding-runtime-CtocCbLl.js +2 -0
  790. package/dist/memory-24Kp99di.js +342 -0
  791. package/dist/memory-core-host-engine-embeddings-j3l9VHMa.js +2 -0
  792. package/dist/memory-core-host-engine-foundation-C5L_o_kv.js +11 -0
  793. package/dist/memory-core-host-engine-qmd-BjRQxINV.js +2 -0
  794. package/dist/memory-core-host-runtime-cli-DaAsOXiU.js +9 -0
  795. package/dist/memory-core-host-runtime-core-CCiyGJ4d.js +8 -0
  796. package/dist/memory-embedding-adapter-DHCNhMQQ.js +32 -0
  797. package/dist/memory-embedding-adapter-DPMNJ50b.js +123 -0
  798. package/dist/memory-embedding-adapter-PANdmah2.js +50 -0
  799. package/dist/memory-embedding-adapter-gyNKuuJg.js +55 -0
  800. package/dist/memory-host-core-BLJfQ7tv.js +2 -0
  801. package/dist/memory-host-search-CXYoKllg.js +12 -0
  802. package/dist/memory-host-search.runtime-BlSP4tRs.js +2 -0
  803. package/dist/memory-host-search.runtime.js +1 -1
  804. package/dist/memory-runtime-BR50X7bD.js +2 -0
  805. package/dist/memory-runtime-CsD3VOEo.js +26 -0
  806. package/dist/message-BDCG7eWj.js +232 -0
  807. package/dist/message-action-runner-6C7kXcC9.js +2 -0
  808. package/dist/message-action-runner-C2P3efhU.js +1407 -0
  809. package/dist/message-actions-BWQWt5gT.js +143 -0
  810. package/dist/message.config.runtime-sOiwk5jH.js +2 -0
  811. package/dist/message.config.runtime.js +1 -1
  812. package/dist/message.gateway.runtime-BXChuYAf.js +2 -0
  813. package/dist/message.gateway.runtime.js +1 -1
  814. package/dist/metadata-registry-loader-BO5ga4BG.js +2 -0
  815. package/dist/metadata-registry-loader-DXWKbRU1.js +16 -0
  816. package/dist/minimax-vlm-M6jWEPQW.js +233 -0
  817. package/dist/minimax-web-search-provider-D2OTaFur.js +53 -0
  818. package/dist/minimax-web-search-provider.runtime-DC6wIpv_.js +2 -0
  819. package/dist/minimax-web-search-provider.runtime-Drj1xU_u.js +140 -0
  820. package/dist/minimax-web-search-provider.runtime.js +1 -1
  821. package/dist/mock-yKTkxAIg.js +136 -0
  822. package/dist/model-Dox-u3UD.js +666 -0
  823. package/dist/model-DqVVHjXR.js +3 -0
  824. package/dist/model-auth-CDl8OFEJ.js +456 -0
  825. package/dist/model-auth-env-BawHgU1x.js +68 -0
  826. package/dist/model-auth-label-BM5SET4I.js +46 -0
  827. package/dist/model-catalog-1XlBrFEV.js +159 -0
  828. package/dist/model-catalog-S5TqfK9t.js +2 -0
  829. package/dist/model-definitions-epX5XXUF.js +260 -0
  830. package/dist/model-fallback-CmX4SjzE.js +827 -0
  831. package/dist/model-fallback-auth.runtime-Dz9zpmf4.js +4 -0
  832. package/dist/model-fallback-auth.runtime.js +1 -1
  833. package/dist/model-picker-B9B-lkWH.js +3 -0
  834. package/dist/model-picker-DbWIvwfd.js +554 -0
  835. package/dist/model-picker-visibility-DTdSdobf.js +13 -0
  836. package/dist/model-picker.runtime-fnHv9FZI.js +15 -0
  837. package/dist/model-picker.runtime.js +1 -1
  838. package/dist/model-selection-DBvbuIS-.js +213 -0
  839. package/dist/model-suppression-DuBnrvXK.js +28 -0
  840. package/dist/model-suppression.runtime-_96p7psP.js +7 -0
  841. package/dist/model-suppression.runtime.js +1 -1
  842. package/dist/models-BStOaoOP.js +18 -0
  843. package/dist/models-BtIpPCk2.js +760 -0
  844. package/dist/models-CAqi2TQ-.js +47 -0
  845. package/dist/models-CVuV0GE0.js +157 -0
  846. package/dist/models-DFRkfhsN.js +569 -0
  847. package/dist/models-auth-status-B8lnM1PS.js +201 -0
  848. package/dist/models-cli-DbUA18AN.js +219 -0
  849. package/dist/models-config-DDM74chF.js +2 -0
  850. package/dist/models-config-DnicdxyQ.js +933 -0
  851. package/dist/models-config.providers.secrets-DIfmfODH.js +304 -0
  852. package/dist/models-http-n4zWGd1p.js +92 -0
  853. package/dist/models-nU-69lrH.js +18 -0
  854. package/dist/models.fetch-BANynh-l.js +518 -0
  855. package/dist/monitor-BEJe2ceJ.js +1237 -0
  856. package/dist/monitor-BO9i6U5R.js +1459 -0
  857. package/dist/monitor-BZLrxL_x.js +1661 -0
  858. package/dist/monitor-CDDxHGlD.js +788 -0
  859. package/dist/monitor-D779kLc0.js +671 -0
  860. package/dist/monitor-V5ZNCrQL.js +2 -0
  861. package/dist/monitor-auth-D2rCHNgr.js +207 -0
  862. package/dist/monitor-oHi8GwXc.js +295 -0
  863. package/dist/monitor-processing-BLbsNFVv.js +1974 -0
  864. package/dist/monitor.runtime-RrusGXVO.js +2 -0
  865. package/dist/monitor.runtime.js +1 -1
  866. package/dist/monitor.webhook-B0DuBNWa.js +180 -0
  867. package/dist/msteams-hh9nwLlZ.js +35 -0
  868. package/dist/music-generation-provider-6ru_5Xe9.js +170 -0
  869. package/dist/music-generation-provider-CfDrN0vg.js +63 -0
  870. package/dist/mutate-atVXfhNp.js +116 -0
  871. package/dist/native-hook-relay-BygYZoeR.js +519 -0
  872. package/dist/native-web-search-C6deWq6V.js +64 -0
  873. package/dist/nextcloud-talk-AadRCqXn.js +17 -0
  874. package/dist/node-cli-FF1zz0JU.js +2506 -0
  875. package/dist/node-service-f8mmgM5L.js +68 -0
  876. package/dist/nodes-cli-tQ5dpecZ.js +1046 -0
  877. package/dist/nodes-utils-BfpGcUca.js +84 -0
  878. package/dist/nodes.helpers-CMXxavTs.js +34 -0
  879. package/dist/notify-DaNP5Zyh.js +315 -0
  880. package/dist/oauth-BKY3WmDu.js +75 -0
  881. package/dist/oauth-BKZJiY9a.js +152 -0
  882. package/dist/oauth-D4AUTZ6P.js +2 -0
  883. package/dist/oauth-N3WLEMX0.js +139 -0
  884. package/dist/oauth.flow-C0eia8-I.js +45 -0
  885. package/dist/oauth.flow-DfN3z9Nf.js +3 -0
  886. package/dist/onboard-B2eZziXs.js +49 -0
  887. package/dist/onboard-B9hx80Dm.js +632 -0
  888. package/dist/onboard-CGOeDj-J.js +58 -0
  889. package/dist/onboard-DTP_mB9k.js +25 -0
  890. package/dist/onboard-DY6XCMjI.js +29 -0
  891. package/dist/onboard-YitR883F.js +25 -0
  892. package/dist/onboard-custom-BQtg1wQW.js +271 -0
  893. package/dist/onboard-custom-Bz-MYvTm.js +3 -0
  894. package/dist/onboard-ffMqs4Bf.js +316 -0
  895. package/dist/onboard-gP5XFNCO.js +25 -0
  896. package/dist/onboard-helpers-BlPrFJHK.js +204 -0
  897. package/dist/onboard-helpers-kL8mgUkl.js +6 -0
  898. package/dist/onboard-remote-ByHuQd1m.js +193 -0
  899. package/dist/onboard-remote-CRPXcrWy.js +2 -0
  900. package/dist/onboard-search-Hz02JQSQ.js +323 -0
  901. package/dist/onboard-skills-ChtyNRCd.js +2 -0
  902. package/dist/onboard-skills-DROlYXya.js +134 -0
  903. package/dist/openai-codex-auth-identity-H1dPXVzb.js +45 -0
  904. package/dist/openai-codex-device-code-DNVug9Q3.js +164 -0
  905. package/dist/openai-codex-provider-HYYOGyC5.js +464 -0
  906. package/dist/openai-codex-shared-C4b7n1WS.js +6 -0
  907. package/dist/openai-http-2An5HAJU.js +500 -0
  908. package/dist/openai-provider-C6QMbZeL.js +313 -0
  909. package/dist/opencode-DGmHIBEa.js +35 -0
  910. package/dist/openresponses-http-DpbJXZP4.js +1128 -0
  911. package/dist/operator-approvals-client-BoN_VmkB.js +68 -0
  912. package/dist/order-DZPHX4Ka.js +109 -0
  913. package/dist/outbound-media-B2QJEeDc.js +57 -0
  914. package/dist/outbound-runtime-DZyO1T_R.js +5 -0
  915. package/dist/outbound.runtime-D_aebUn6.js +2 -0
  916. package/dist/outbound.runtime.js +1 -1
  917. package/dist/pair-command-approve-i-1VECJx.js +44 -0
  918. package/dist/pairing-cli-kZkl_DC7.js +117 -0
  919. package/dist/perplexity-web-search-provider-CzCigaqV.js +92 -0
  920. package/dist/perplexity-web-search-provider.runtime-B86YHY5f.js +324 -0
  921. package/dist/perplexity-web-search-provider.runtime-U6g1JO38.js +2 -0
  922. package/dist/perplexity-web-search-provider.runtime.js +1 -1
  923. package/dist/persistent-bindings.lifecycle-eZyKQ1D8.js +85 -0
  924. package/dist/persistent-bindings.lifecycle-mxY73TJR.js +2 -0
  925. package/dist/pi-bundle-mcp-runtime-BYDTyW-h.js +2 -0
  926. package/dist/pi-bundle-mcp-runtime-DaIHhxDu.js +829 -0
  927. package/dist/pi-bundle-mcp-tools-Biz_skfK.js +108 -0
  928. package/dist/pi-embedded-0fErjTQ7.js +2905 -0
  929. package/dist/pi-embedded-Bc1jC2x0.js +4 -0
  930. package/dist/pi-embedded-subscribe.handlers.compaction.runtime-BRiX-RqX.js +23 -0
  931. package/dist/pi-embedded-subscribe.handlers.compaction.runtime.js +1 -1
  932. package/dist/pi-embedded.runtime-Bn_RZ5z8.js +4 -0
  933. package/dist/pi-embedded.runtime.js +1 -1
  934. package/dist/pi-model-discovery-k8VUE5Tp.js +237 -0
  935. package/dist/pi-tool-definition-adapter-thh7LO1t.js +217 -0
  936. package/dist/pi-tools-BtlLDovQ.js +1057 -0
  937. package/dist/pi-tools.before-tool-call-BJ_X8Dq3.js +2 -0
  938. package/dist/pi-tools.before-tool-call-DdPCGWCs.js +433 -0
  939. package/dist/pi-tools.before-tool-call.runtime-1acRmC9A.js +13 -0
  940. package/dist/pi-tools.before-tool-call.runtime.js +1 -1
  941. package/dist/plivo-D4do6QU0.js +394 -0
  942. package/dist/plugin-CdHHk4Xn.js +12195 -0
  943. package/dist/plugin-enabled-DybhbjKQ.js +140 -0
  944. package/dist/plugin-install-config-policy-ZN1F58XF.js +137 -0
  945. package/dist/plugin-registration-Bgwpsokw.js +23 -0
  946. package/dist/plugin-registry-7OvG7Tu6.js +3 -0
  947. package/dist/plugin-registry-BcYuO-i5.js +2 -0
  948. package/dist/plugin-sdk/.boundary-entry-shims.stamp +1 -1
  949. package/dist/plugin-sdk/acp-binding-runtime.js +1 -1
  950. package/dist/plugin-sdk/acp-runtime.js +3 -3
  951. package/dist/plugin-sdk/agent-harness-runtime.js +9 -9
  952. package/dist/plugin-sdk/agent-harness.js +10 -10
  953. package/dist/plugin-sdk/agent-runtime.js +11 -11
  954. package/dist/plugin-sdk/approval-client-runtime.js +2 -2
  955. package/dist/plugin-sdk/approval-gateway-runtime.js +2 -2
  956. package/dist/plugin-sdk/approval-handler-runtime.js +3 -3
  957. package/dist/plugin-sdk/approval-native-runtime.js +2 -2
  958. package/dist/plugin-sdk/approval-reply-runtime.js +2 -2
  959. package/dist/plugin-sdk/approval-runtime.js +6 -6
  960. package/dist/plugin-sdk/bluebubbles.js +2 -2
  961. package/dist/plugin-sdk/browser-config-runtime.js +2 -2
  962. package/dist/plugin-sdk/browser-node-runtime.js +5 -5
  963. package/dist/plugin-sdk/browser-setup-tools.js +3 -3
  964. package/dist/plugin-sdk/browser-support.js +10 -10
  965. package/dist/plugin-sdk/channel-core.js +2 -2
  966. package/dist/plugin-sdk/channel-inbound.js +3 -3
  967. package/dist/plugin-sdk/command-auth.js +2 -2
  968. package/dist/plugin-sdk/command-status-runtime.js +1 -1
  969. package/dist/plugin-sdk/compat.js +3 -3
  970. package/dist/plugin-sdk/config-runtime.js +7 -7
  971. package/dist/plugin-sdk/conversation-binding-runtime.js +1 -1
  972. package/dist/plugin-sdk/conversation-runtime.js +4 -4
  973. package/dist/plugin-sdk/core.js +2 -2
  974. package/dist/plugin-sdk/direct-dm.js +1 -1
  975. package/dist/plugin-sdk/gateway-runtime.js +3 -3
  976. package/dist/plugin-sdk/image-generation-core.js +3 -3
  977. package/dist/plugin-sdk/image-generation-runtime.js +2 -2
  978. package/dist/plugin-sdk/inbound-reply-dispatch.js +1 -1
  979. package/dist/plugin-sdk/index.js +1 -1
  980. package/dist/plugin-sdk/infra-runtime.js +4 -4
  981. package/dist/plugin-sdk/irc.js +2 -2
  982. package/dist/plugin-sdk/matrix.js +1 -1
  983. package/dist/plugin-sdk/mattermost.js +3 -3
  984. package/dist/plugin-sdk/media-generation-runtime-shared.js +1 -1
  985. package/dist/plugin-sdk/media-generation-runtime.js +1 -1
  986. package/dist/plugin-sdk/media-runtime.js +5 -5
  987. package/dist/plugin-sdk/media-understanding-runtime.js +2 -2
  988. package/dist/plugin-sdk/media-understanding.js +2 -2
  989. package/dist/plugin-sdk/memory-core-host-engine-embeddings.js +2 -2
  990. package/dist/plugin-sdk/memory-core-host-engine-foundation.js +2 -2
  991. package/dist/plugin-sdk/memory-core-host-engine-qmd.js +2 -2
  992. package/dist/plugin-sdk/memory-core-host-runtime-cli.js +2 -2
  993. package/dist/plugin-sdk/memory-core-host-runtime-core.js +2 -2
  994. package/dist/plugin-sdk/memory-core.js +4 -4
  995. package/dist/plugin-sdk/memory-host-core.js +2 -2
  996. package/dist/plugin-sdk/memory-host-search.js +1 -1
  997. package/dist/plugin-sdk/models-provider-runtime.js +1 -1
  998. package/dist/plugin-sdk/msteams.js +3 -3
  999. package/dist/plugin-sdk/nextcloud-talk.js +2 -2
  1000. package/dist/plugin-sdk/nostr.js +1 -1
  1001. package/dist/plugin-sdk/opencode.js +1 -1
  1002. package/dist/plugin-sdk/outbound-runtime.js +2 -2
  1003. package/dist/plugin-sdk/provider-auth-api-key.js +5 -5
  1004. package/dist/plugin-sdk/provider-auth-runtime.js +2 -2
  1005. package/dist/plugin-sdk/provider-auth.js +8 -8
  1006. package/dist/plugin-sdk/provider-entry.js +1 -1
  1007. package/dist/plugin-sdk/provider-setup.js +2 -2
  1008. package/dist/plugin-sdk/provider-stream-family.js +3 -3
  1009. package/dist/plugin-sdk/provider-stream.js +2 -2
  1010. package/dist/plugin-sdk/reply-dispatch-runtime.js +2 -2
  1011. package/dist/plugin-sdk/reply-runtime.js +5 -5
  1012. package/dist/plugin-sdk/runtime-secret-resolution.js +1 -1
  1013. package/dist/plugin-sdk/runtime.js +3 -3
  1014. package/dist/plugin-sdk/sandbox.js +1 -1
  1015. package/dist/plugin-sdk/self-hosted-provider-setup.js +1 -1
  1016. package/dist/plugin-sdk/session-store-runtime.js +2 -2
  1017. package/dist/plugin-sdk/session-transcript-hit.js +2 -2
  1018. package/dist/plugin-sdk/session-visibility.js +1 -1
  1019. package/dist/plugin-sdk/simple-completion-runtime.js +1 -1
  1020. package/dist/plugin-sdk/speech-core.js +1 -1
  1021. package/dist/plugin-sdk/src/infra/semver-compare.d.ts +1 -0
  1022. package/dist/plugin-sdk/testing.js +5 -5
  1023. package/dist/plugin-sdk/text-runtime.js +2 -2
  1024. package/dist/plugin-sdk/tlon.js +1 -1
  1025. package/dist/plugin-sdk/video-generation-core.js +2 -2
  1026. package/dist/plugin-sdk/video-generation-runtime.js +2 -2
  1027. package/dist/plugin-sdk/zalo.js +1 -1
  1028. package/dist/plugin-sdk/zalouser.js +1 -1
  1029. package/dist/plugin-service-ClhrJfT3.js +2890 -0
  1030. package/dist/plugins/provider-discovery.runtime.js +1 -1
  1031. package/dist/plugins/provider-runtime.runtime.js +1 -1
  1032. package/dist/plugins/runtime/index.js +1 -1
  1033. package/dist/plugins-cli-xVUY8V-3.js +584 -0
  1034. package/dist/plugins-command-helpers-oZG-T69i.js +107 -0
  1035. package/dist/plugins-install-persist-Ccyj_thC.js +133 -0
  1036. package/dist/plugins-update-command-D_q-p0ED.js +1057 -0
  1037. package/dist/policy-CoqHgREn.js +328 -0
  1038. package/dist/postinstall-inventory.json +959 -959
  1039. package/dist/prepare.runtime-CawO_32K.js +815 -0
  1040. package/dist/prepare.runtime.js +1 -1
  1041. package/dist/preview-warnings-Cb65Drvj.js +120 -0
  1042. package/dist/probe-B78ZATWo.js +243 -0
  1043. package/dist/probe-BP3QS65i.js +74 -0
  1044. package/dist/probe-BdCXAH_u.js +2 -0
  1045. package/dist/probe-Cv5tXOMP.js +2205 -0
  1046. package/dist/probe-D-D_1oc4.js +241 -0
  1047. package/dist/probe-DO-gll0g.js +2 -0
  1048. package/dist/probe-Dy-moN-J.js +32 -0
  1049. package/dist/probe-T6c0F73q.js +45 -0
  1050. package/dist/probe-dxji7IxZ.js +1443 -0
  1051. package/dist/probe.runtime-CNJWHyTn.js +2 -0
  1052. package/dist/probe.runtime.js +1 -1
  1053. package/dist/profiles-C0gEr4Vt.js +111 -0
  1054. package/dist/program-GMPfHt5E.js +111 -0
  1055. package/dist/prompt-select-styled-BvuJNEJG.js +20 -0
  1056. package/dist/protocol-Batc2DmY.js +2234 -0
  1057. package/dist/provider-C7oJz1U0.js +70 -0
  1058. package/dist/provider-api-key-auth-Dp8hp-Ml.js +114 -0
  1059. package/dist/provider-api-key-auth.runtime-nb7eC5vo.js +14 -0
  1060. package/dist/provider-api-key-auth.runtime.js +1 -1
  1061. package/dist/provider-auth-Df3lSzr_.js +46 -0
  1062. package/dist/provider-auth-api-key-CZA78Uou.js +5 -0
  1063. package/dist/provider-auth-choice-DzrRJAic.js +228 -0
  1064. package/dist/provider-auth-choice-preference-BDTIHERa.js +26 -0
  1065. package/dist/provider-auth-choice.runtime-CVrNfUP0.js +14 -0
  1066. package/dist/provider-auth-choice.runtime-DOC3zhP2.js +2 -0
  1067. package/dist/provider-auth-choice.runtime.js +1 -1
  1068. package/dist/provider-auth-guidance-CVpgabZ6.js +2 -0
  1069. package/dist/provider-auth-guidance-CZ-VI4e5.js +34 -0
  1070. package/dist/provider-auth-helpers-rNcrL2rf.js +173 -0
  1071. package/dist/provider-auth-input-zpegYxxe.js +119 -0
  1072. package/dist/provider-auth-runtime-spGhqq1R.js +149 -0
  1073. package/dist/provider-catalog-B_612t69.js +26 -0
  1074. package/dist/provider-catalog-Bo9KagTv.js +11 -0
  1075. package/dist/provider-catalog-C4IkuJHX.js +12 -0
  1076. package/dist/provider-catalog-CEHPmBtG.js +24 -0
  1077. package/dist/provider-catalog-UJ8mWU0J.js +11 -0
  1078. package/dist/provider-compat-CqDox4I4.js +37 -0
  1079. package/dist/provider-discovery.runtime--0zGwmtf.js +118 -0
  1080. package/dist/provider-discovery.runtime.js +1 -1
  1081. package/dist/provider-dispatcher-CGYoOdKf.js +2 -0
  1082. package/dist/provider-dispatcher-iTEDM88F.js +22 -0
  1083. package/dist/provider-entry-BzH2PNpN.js +106 -0
  1084. package/dist/provider-flow-B_VNl-lk.js +147 -0
  1085. package/dist/provider-model-defaults-PMGtjcr2.js +6 -0
  1086. package/dist/provider-models-DBv9Enx4.js +119 -0
  1087. package/dist/provider-models-Du3smcTu.js +35 -0
  1088. package/dist/provider-registration-B3sbIgIZ.js +218 -0
  1089. package/dist/provider-registration-B9ECEmSg.js +37 -0
  1090. package/dist/provider-runtime-CE8zqYv8.js +472 -0
  1091. package/dist/provider-runtime-CV5mC70X.js +2 -0
  1092. package/dist/provider-runtime.runtime-B4Idxtd0.js +26 -0
  1093. package/dist/provider-runtime.runtime.js +1 -1
  1094. package/dist/provider-self-hosted-setup-Comuw-z3.js +251 -0
  1095. package/dist/provider-setup-DnUcdtJq.js +2 -0
  1096. package/dist/provider-stream-B8nU1r79.js +290 -0
  1097. package/dist/provider-stream-DQRHM0a1.js +2174 -0
  1098. package/dist/provider-stream-family-C4XL1sCH.js +2 -0
  1099. package/dist/provider-usage-CNNFTSFt.js +4 -0
  1100. package/dist/provider-usage-DkdPMGc6.js +71 -0
  1101. package/dist/provider-usage.load-Ckz1tFpH.js +334 -0
  1102. package/dist/provider-utils-BR35tIjk.js +49 -0
  1103. package/dist/provider-wizard-_jfjTfSM.js +166 -0
  1104. package/dist/providers.runtime-DHetxgM5.js +2 -0
  1105. package/dist/providers.runtime-PiYTktu_.js +164 -0
  1106. package/dist/providers.runtime.js +1 -1
  1107. package/dist/proxy-stream-wrappers-CSbzc-1F.js +394 -0
  1108. package/dist/prune-DlDJX10W.js +83 -0
  1109. package/dist/pw-ai-CCPJq-CT.js +2511 -0
  1110. package/dist/pw-role-snapshot-D65unjCD.js +380 -0
  1111. package/dist/qmd-manager-BVXvoOqt.js +1921 -0
  1112. package/dist/qr-cli-6IxenO1C.js +349 -0
  1113. package/dist/qr-cli-D63piSog.js +2 -0
  1114. package/dist/qr-image-BAPDnfbt.js +2 -0
  1115. package/dist/queue-Rq1mceUG.js +409 -0
  1116. package/dist/reaction-runtime-api-DgwRXTz2.js +116 -0
  1117. package/dist/reactions-Dnh7t4Zl.js +998 -0
  1118. package/dist/read-best-effort-config.runtime-CsH29elm.js +2 -0
  1119. package/dist/read-best-effort-config.runtime.js +1 -1
  1120. package/dist/read-capability-7xOdYqOo.js +412 -0
  1121. package/dist/realtime-provider-shared-C2fZT5O_.js +37 -0
  1122. package/dist/realtime-transcription-provider-CCX9jOLy.js +120 -0
  1123. package/dist/realtime-transcription-provider-CqIc1zwy.js +184 -0
  1124. package/dist/realtime-transcription-provider-CyI79CyM.js +183 -0
  1125. package/dist/realtime-transcription-provider-CydzsmVb.js +172 -0
  1126. package/dist/realtime-transcription-provider-D4PaV840.js +184 -0
  1127. package/dist/realtime-voice-provider-DgL6WxN7.js +489 -0
  1128. package/dist/record-shared-DxabpimX.js +10 -0
  1129. package/dist/register-service-commands-D7w01SKL.js +71 -0
  1130. package/dist/register.agent-j1Eno4xr.js +248 -0
  1131. package/dist/register.backup-Bxvo3j_q.js +64 -0
  1132. package/dist/register.configure-ubwxTkGt.js +15 -0
  1133. package/dist/register.maintenance-B7FuM_ZW.js +438 -0
  1134. package/dist/register.message-QR3u9rBl.js +329 -0
  1135. package/dist/register.onboard-Bdcf_lH0.js +81 -0
  1136. package/dist/register.runtime-QDduc4yj.js +81 -0
  1137. package/dist/register.runtime.js +1 -1
  1138. package/dist/register.setup-DzVV6tdQ.js +150 -0
  1139. package/dist/register.status-health-sessions-Brw3VcxG.js +1215 -0
  1140. package/dist/register.subclis-B8qDbqPl.js +29 -0
  1141. package/dist/register.subclis-DdoN3nZi.js +3 -0
  1142. package/dist/register.subclis-core-CWHmnIoe.js +249 -0
  1143. package/dist/register.wallet-aTazgPYX.js +159 -0
  1144. package/dist/repair-sequencing-CjiQXU4z.js +145 -0
  1145. package/dist/replay-policy-XaA2Foet.js +8 -0
  1146. package/dist/reply-dispatch-runtime-BVLvCeJ0.js +13 -0
  1147. package/dist/reply-media-paths.runtime-CmS_Bnnf.js +2 -0
  1148. package/dist/reply-media-paths.runtime-DCj1JhDR.js +146 -0
  1149. package/dist/reply-media-paths.runtime.js +1 -1
  1150. package/dist/reply-payload-transform-DmArXXXO.js +720 -0
  1151. package/dist/reply-runtime-BXkvfLv_.js +11 -0
  1152. package/dist/reply.runtime-BTkpxI5R.js +2 -0
  1153. package/dist/reply.runtime.js +1 -1
  1154. package/dist/resolve-IXqG_vKU.js +259 -0
  1155. package/dist/response-generator-DCxui-Yb.js +175 -0
  1156. package/dist/restart-C-4J0cf2.js +490 -0
  1157. package/dist/restart-health-6cjrRBpF.js +202 -0
  1158. package/dist/restart-health-b6Qw43Tj.js +2 -0
  1159. package/dist/root-help-DDa1oEtT.js +44 -0
  1160. package/dist/route-reply-q5jc2Nv9.js +162 -0
  1161. package/dist/route-reply.runtime-Co8TnDf9.js +2 -0
  1162. package/dist/route-reply.runtime.js +1 -1
  1163. package/dist/routes-CoCMty69.js +2 -0
  1164. package/dist/routes-D9uC_Zdy.js +3341 -0
  1165. package/dist/rpc-DpLGM3FH.js +61 -0
  1166. package/dist/rpc-context-e__2PCau.js +17 -0
  1167. package/dist/rpc.runtime-B27EA5A0.js +21 -0
  1168. package/dist/rpc.runtime.js +1 -1
  1169. package/dist/run-auth-profile.runtime-CMkCqc7k.js +2 -0
  1170. package/dist/run-auth-profile.runtime.js +1 -1
  1171. package/dist/run-context.runtime-DCgb3ETM.js +2 -0
  1172. package/dist/run-context.runtime.js +1 -1
  1173. package/dist/run-delivery.runtime-OmILefLX.js +530 -0
  1174. package/dist/run-delivery.runtime.js +1 -1
  1175. package/dist/run-embedded.runtime-Dc43u_Z7.js +4 -0
  1176. package/dist/run-embedded.runtime.js +1 -1
  1177. package/dist/run-execution-cli.runtime-DL5w7Ac8.js +4 -0
  1178. package/dist/run-execution-cli.runtime.js +1 -1
  1179. package/dist/run-executor.runtime-Bzwt0zP-.js +277 -0
  1180. package/dist/run-executor.runtime.js +1 -1
  1181. package/dist/run-main-BLD1wTLU.js +516 -0
  1182. package/dist/run-model-catalog.runtime-B7wlXnDF.js +2 -0
  1183. package/dist/run-model-catalog.runtime.js +1 -1
  1184. package/dist/run-subagent-registry.runtime-CddCeg6W.js +2 -0
  1185. package/dist/run-subagent-registry.runtime.js +1 -1
  1186. package/dist/run-wait-D4Gxuyru.js +135 -0
  1187. package/dist/runner-BKhQg4av.js +966 -0
  1188. package/dist/runner.entries-Dbp1RZd9.js +604 -0
  1189. package/dist/runs-DUTtPgDm.js +496 -0
  1190. package/dist/runs-DWOm31T_.js +2 -0
  1191. package/dist/runtime-8BuIPrSY.js +973 -0
  1192. package/dist/runtime-B3upjFki.js +475 -0
  1193. package/dist/runtime-B6k9iJRB.js +187 -0
  1194. package/dist/runtime-BuEvshdw.js +94 -0
  1195. package/dist/runtime-Bu_cc482.js +107 -0
  1196. package/dist/runtime-Co8r21pw.js +9 -0
  1197. package/dist/runtime-CsaTxb99.js +187 -0
  1198. package/dist/runtime-DB1WNkhW.js +262 -0
  1199. package/dist/runtime-Db_oJ87Z.js +2 -0
  1200. package/dist/runtime-Dlvh7_uU.js +116 -0
  1201. package/dist/runtime-DvzcF4-r.js +2 -0
  1202. package/dist/runtime-NlpdlX79.js +72 -0
  1203. package/dist/runtime-_-L5ftbu.js +269 -0
  1204. package/dist/runtime-api-BG0XWkir.js +4 -0
  1205. package/dist/runtime-api-BjBzlgns.js +9 -0
  1206. package/dist/runtime-api-DlYbbA-n.js +14 -0
  1207. package/dist/runtime-api-faT33SE2.js +9 -0
  1208. package/dist/runtime-embedded-pi.runtime-QdJ7K4t0.js +2 -0
  1209. package/dist/runtime-embedded-pi.runtime.js +1 -1
  1210. package/dist/runtime-entry-CWugm0Uj.js +2769 -0
  1211. package/dist/runtime-internal-C0xc_Zhf.js +2 -0
  1212. package/dist/runtime-model-auth.runtime-B0HsFXG7.js +2 -0
  1213. package/dist/runtime-model-auth.runtime-CwdDdKqY.js +45 -0
  1214. package/dist/runtime-model-auth.runtime.js +1 -1
  1215. package/dist/runtime-options-DLv7ygkO.js +275 -0
  1216. package/dist/runtime-prepare.runtime-B3oyafQ4.js +80 -0
  1217. package/dist/runtime-prepare.runtime.js +1 -1
  1218. package/dist/runtime-provider-Dcc5OeVJ.js +21 -0
  1219. package/dist/runtime-registry-loader-B5mIkwhZ.js +85 -0
  1220. package/dist/runtime-registry-loader-CGNT5-qz.js +2 -0
  1221. package/dist/runtime-schema-CQK5R5Pl.js +27780 -0
  1222. package/dist/runtime-shared-BC82_Fzc.js +267 -0
  1223. package/dist/runtime-web-channel-plugin-DQoEo6bK.js +203 -0
  1224. package/dist/runtime-web-tools-BizCqA0v.js +1477 -0
  1225. package/dist/runtime-web-tools-fallback.runtime-CYAGzwsD.js +9 -0
  1226. package/dist/runtime-web-tools-fallback.runtime.js +1 -1
  1227. package/dist/sandbox-C95gEa17.js +3 -0
  1228. package/dist/sandbox-DAnx9TYc.js +1156 -0
  1229. package/dist/sandbox-cli-CPs_gL72.js +450 -0
  1230. package/dist/scan-Yz6DoQn5.js +523 -0
  1231. package/dist/scan-k38hL_6o.js +2 -0
  1232. package/dist/secrets-cli-Bjvr0bOw.js +2101 -0
  1233. package/dist/security-cli-C2gkMFcB.js +486 -0
  1234. package/dist/selection-DC8EXnRg.js +7736 -0
  1235. package/dist/selection-DmSFI5k4.js +2 -0
  1236. package/dist/semver-compare-tPC_r5LW.js +64 -0
  1237. package/dist/send-CMqcsAS2.js +534 -0
  1238. package/dist/send-CT6EfHrc.js +102 -0
  1239. package/dist/send-_ANvjE_C.js +156 -0
  1240. package/dist/send.runtime-COIjG4BV.js +2 -0
  1241. package/dist/send.runtime.js +1 -1
  1242. package/dist/server-COkv9Si4.js +13 -0
  1243. package/dist/server-DHLQZJL8.js +77 -0
  1244. package/dist/server-context-6jnr-aAw.js +2 -0
  1245. package/dist/server-context-DK1QsdLh.js +847 -0
  1246. package/dist/server-middleware-BTovsGYd.js +120 -0
  1247. package/dist/server-node-events-q8H0odkq.js +481 -0
  1248. package/dist/server-plugin-bootstrap-Bw4a88yA.js +2 -0
  1249. package/dist/server-plugin-bootstrap-By_w9ngt.js +11333 -0
  1250. package/dist/server-restart-sentinel-CGLYF3mk.js +697 -0
  1251. package/dist/server-startup-memory-ClzqrFwF.js +32 -0
  1252. package/dist/server.impl-8j4SImks.js +12735 -0
  1253. package/dist/service-CNjb_qXC.js +2 -0
  1254. package/dist/service-CyR3mZIU.js +120 -0
  1255. package/dist/service-Dw-BzupJ.js +940 -0
  1256. package/dist/service-audit-DIL0OiMa.js +260 -0
  1257. package/dist/service-audit-pwloDggS.js +2 -0
  1258. package/dist/session-DF38Qk5T.js +48 -0
  1259. package/dist/session-cost-usage-CbaKFiYP.js +651 -0
  1260. package/dist/session-envelope-SoEaHn7u.js +18 -0
  1261. package/dist/session-key-BpQtNboQ.js +65 -0
  1262. package/dist/session-kill-http-Dek5w0Ee.js +110 -0
  1263. package/dist/session-meta-DHOj7FVp.js +109 -0
  1264. package/dist/session-override-Cra7WfkP.js +106 -0
  1265. package/dist/session-reset-model.runtime-CITOeORk.js +133 -0
  1266. package/dist/session-reset-model.runtime.js +1 -1
  1267. package/dist/session-reset-service-B_9Ps0kr.js +471 -0
  1268. package/dist/session-route-Cr6vOd9_.js +93 -0
  1269. package/dist/session-status.runtime-C_x1MHH5.js +2 -0
  1270. package/dist/session-status.runtime.js +1 -1
  1271. package/dist/session-store-DfVF72xW.js +126 -0
  1272. package/dist/session-store.runtime-jJK2KnR6.js +2 -0
  1273. package/dist/session-store.runtime.js +1 -1
  1274. package/dist/session-subagent-reactivation.runtime-BKWuNild.js +2 -0
  1275. package/dist/session-subagent-reactivation.runtime.js +1 -1
  1276. package/dist/session-system-events-BS6g-vqa.js +63 -0
  1277. package/dist/session-tab-registry-C08V5jx6.js +491 -0
  1278. package/dist/session-transcript-hit-Mxv1sZGp.js +41 -0
  1279. package/dist/session-updates-BdB1lGXz.js +236 -0
  1280. package/dist/session-updates.runtime-6GlaYt-B.js +2 -0
  1281. package/dist/session-updates.runtime.js +1 -1
  1282. package/dist/session-utils-BPYVECh0.js +926 -0
  1283. package/dist/session-visibility-D4j8hN_B.js +147 -0
  1284. package/dist/sessions--xDkaJeX.js +48 -0
  1285. package/dist/sessions-D3RqoN9N.js +2 -0
  1286. package/dist/sessions-DrFkAEV2.js +281 -0
  1287. package/dist/sessions-c-R_ynJR.js +16 -0
  1288. package/dist/sessions-helpers-DmUVRk16.js +304 -0
  1289. package/dist/sessions-history-http-DN3KzEnX.js +383 -0
  1290. package/dist/sessions-patch-BPtlF0Lu.js +309 -0
  1291. package/dist/sessions-resolve-D6KPfG_4.js +174 -0
  1292. package/dist/sessions.runtime-DGL1-G20.js +2 -0
  1293. package/dist/sessions.runtime.js +1 -1
  1294. package/dist/set-BraQD5KU.js +17 -0
  1295. package/dist/set-DZUigywb.js +2 -0
  1296. package/dist/set-image-C08k8cVg.js +2 -0
  1297. package/dist/set-image-CsCPBHZC.js +17 -0
  1298. package/dist/setup-CkYiQoP0.js +495 -0
  1299. package/dist/setup-FPfOBbYL.js +421 -0
  1300. package/dist/setup-api-CUGYqGNT.js +29 -0
  1301. package/dist/setup-core-BmplfubJ.js +171 -0
  1302. package/dist/setup-core-C5ddWpfy.js +176 -0
  1303. package/dist/setup-core-CAFnyY_a.js +393 -0
  1304. package/dist/setup-core-dF4To6Jd.js +184 -0
  1305. package/dist/setup-surface-2JmEfowI.js +219 -0
  1306. package/dist/setup-surface-BpSH7F_m.js +351 -0
  1307. package/dist/setup-surface-BzHQx_GD.js +403 -0
  1308. package/dist/setup-surface-DGJUq-2P.js +72 -0
  1309. package/dist/setup-surface-DOH6kc6w.js +286 -0
  1310. package/dist/setup-surface-DiYEprKG.js +3 -0
  1311. package/dist/setup.finalize-Ci2HBkDq.js +539 -0
  1312. package/dist/setup.gateway-config-CyG_Fzaa.js +250 -0
  1313. package/dist/shared-BItUH43s.js +121 -0
  1314. package/dist/shared-CZOgyBro.js +60 -0
  1315. package/dist/shared-D7BxFCKU.js +217 -0
  1316. package/dist/shared-D7diJkX6.js +198 -0
  1317. package/dist/shared-DJU_HCJ1.js +76 -0
  1318. package/dist/shared-DrgQbH3q.js +186 -0
  1319. package/dist/shared-runtime-xz83dsyA.js +7 -0
  1320. package/dist/shared-u-3RmeL1.js +135 -0
  1321. package/dist/short-term-promotion-DCHcaW2F.js +1543 -0
  1322. package/dist/simple-completion-runtime-CfFpRl7j.js +158 -0
  1323. package/dist/simple-completion-transport-C1ooKj9X.js +33 -0
  1324. package/dist/skills-clawhub-DxVmnVrv.js +275 -0
  1325. package/dist/skills-cli-DCr7N_Sq.js +370 -0
  1326. package/dist/slash-state-C4YD-tLz.js +1911 -0
  1327. package/dist/speech-core-CmPRP1zB.js +94 -0
  1328. package/dist/speech-provider-CNOimJB2.js +209 -0
  1329. package/dist/speech-provider-D9i0DEZ1.js +216 -0
  1330. package/dist/speech-provider-DGbn1IrA.js +209 -0
  1331. package/dist/speech-provider-DKyYgpwf.js +103 -0
  1332. package/dist/speech-provider-eDG83bBp.js +184 -0
  1333. package/dist/speech-provider-mKY_GAkS.js +170 -0
  1334. package/dist/speech-provider-zoWs7x7l.js +395 -0
  1335. package/dist/src-8HdytGc7.js +3974 -0
  1336. package/dist/stage-sandbox-media.runtime-CErRBxI5.js +232 -0
  1337. package/dist/stage-sandbox-media.runtime.js +1 -1
  1338. package/dist/startup-auth-8XVCRzQi.js +180 -0
  1339. package/dist/startup-context-CfcCyUU0.js +312 -0
  1340. package/dist/state-migrations-CHc2Y8Pl.js +820 -0
  1341. package/dist/status-B94yciC9.js +397 -0
  1342. package/dist/status-BUkUYtFm.js +190 -0
  1343. package/dist/status-BsHC-0MV.js +2 -0
  1344. package/dist/status-ChOxNWSb.js +62 -0
  1345. package/dist/status-D4jNATg0.js +209 -0
  1346. package/dist/status-DagNCfVv.js +323 -0
  1347. package/dist/status-U8ut-X2Q.js +2 -0
  1348. package/dist/status-all-CIzsXQnV.js +498 -0
  1349. package/dist/status-json-alPkfWTd.js +14 -0
  1350. package/dist/status-json-command-CAkzWzw7.js +84 -0
  1351. package/dist/status-jxNdVQVZ.js +3 -0
  1352. package/dist/status-message-tZJ_0MsI.js +466 -0
  1353. package/dist/status-message.runtime-KeyKW26h.js +6 -0
  1354. package/dist/status-message.runtime.js +1 -1
  1355. package/dist/status-queue.runtime-R5ZlyNdK.js +2 -0
  1356. package/dist/status-queue.runtime.js +1 -1
  1357. package/dist/status-runtime-shared-BSsA48i9.js +257 -0
  1358. package/dist/status-subagents.runtime-hIKg6PXV.js +18 -0
  1359. package/dist/status-subagents.runtime.js +1 -1
  1360. package/dist/status-text-BmLJrLth.js +237 -0
  1361. package/dist/status.command.text-runtime-C4-j2lqa.js +15 -0
  1362. package/dist/status.gateway-connection.runtime-Dr7HJ1wZ.js +2 -0
  1363. package/dist/status.gateway-connection.runtime.js +1 -1
  1364. package/dist/status.gather-DFY0T97g.js +2 -0
  1365. package/dist/status.gather-e6sfNh8I.js +292 -0
  1366. package/dist/status.runtime-CKd1Qzxg.js +2 -0
  1367. package/dist/status.runtime-DBvapXQS.js +2 -0
  1368. package/dist/status.runtime.js +1 -1
  1369. package/dist/status.scan-DSpkE-Q-.js +65 -0
  1370. package/dist/status.scan-overview-Dr72bkbi.js +379 -0
  1371. package/dist/status.scan.deps.runtime-B7f3inzh.js +18 -0
  1372. package/dist/status.scan.deps.runtime.js +1 -1
  1373. package/dist/status.scan.fast-json-C7k_m46S.js +2 -0
  1374. package/dist/status.scan.fast-json-KHh7R3wX.js +132 -0
  1375. package/dist/status.scan.runtime-CtXWwjb8.js +409 -0
  1376. package/dist/status.scan.runtime.js +1 -1
  1377. package/dist/status.summary-C4r9lkCH.js +214 -0
  1378. package/dist/status.summary-D0EJwkmX.js +2 -0
  1379. package/dist/status.update-CxsGc95A.js +79 -0
  1380. package/dist/status.update-Czi5MNWC.js +2 -0
  1381. package/dist/store-BdedeUHG.js +4 -0
  1382. package/dist/store-CUSu4-Qr.js +910 -0
  1383. package/dist/store-load-CUqchamJ.js +370 -0
  1384. package/dist/store-zVJHt5-N.js +1235 -0
  1385. package/dist/store.runtime-DEIs4Pal.js +2 -0
  1386. package/dist/store.runtime.js +1 -1
  1387. package/dist/stream-BLThzHaS.js +134 -0
  1388. package/dist/stream-BbTa3Gk4.js +27 -0
  1389. package/dist/stream-CKjYSBQh.js +664 -0
  1390. package/dist/stt-DM1vajYf.js +66 -0
  1391. package/dist/subagent-announce-Bu5-8O3P.js +351 -0
  1392. package/dist/subagent-announce-delivery-4hk9P48s.js +726 -0
  1393. package/dist/subagent-announce-output-Csyi1-Kz.js +364 -0
  1394. package/dist/subagent-capabilities-1ZqaiPST.js +251 -0
  1395. package/dist/subagent-control-DAeNsV_G.js +506 -0
  1396. package/dist/subagent-control.runtime-BNoZSftx.js +3 -0
  1397. package/dist/subagent-control.runtime.js +1 -1
  1398. package/dist/subagent-followup.runtime-Bch92LIq.js +68 -0
  1399. package/dist/subagent-followup.runtime.js +1 -1
  1400. package/dist/subagent-list-w3yWfW9R.js +172 -0
  1401. package/dist/subagent-orphan-recovery-mNzyr1b-.js +305 -0
  1402. package/dist/subagent-registry-BMjQxBxi.js +3 -0
  1403. package/dist/subagent-registry-D4DFKQCL.js +1753 -0
  1404. package/dist/subagent-registry.runtime.js +1 -1
  1405. package/dist/subagent-spawn-C13uUm47.js +1005 -0
  1406. package/dist/system-cli-BU6GhJxG.js +59 -0
  1407. package/dist/target-id-0_iIeBLg.js +107 -0
  1408. package/dist/targets-eYkepVzz.js +67 -0
  1409. package/dist/task-executor-DzJLcm4D.js +360 -0
  1410. package/dist/task-owner-access-DW9EbhjP.js +74 -0
  1411. package/dist/task-registry-DBJkAtFF.js +2366 -0
  1412. package/dist/task-registry-delivery-runtime-BdkPeGC1.js +2 -0
  1413. package/dist/task-registry-delivery-runtime-Ov88LGnv.js +3 -0
  1414. package/dist/task-registry.maintenance-BU6Z4V_9.js +416 -0
  1415. package/dist/task-registry.maintenance-sEo6eYdx.js +2 -0
  1416. package/dist/tavily-client--ZxuZ8JY.js +193 -0
  1417. package/dist/tavily-client-D3L2LtMF.js +2 -0
  1418. package/dist/tavily-search-provider-gMJgCeVS.js +62 -0
  1419. package/dist/telegram/audit.js +2 -2
  1420. package/dist/telegram/token.js +2 -2
  1421. package/dist/telnyx-UQXrfg_e.js +260 -0
  1422. package/dist/testing-B2jHeQft.js +575 -0
  1423. package/dist/text-report-HYrgZP8-.js +587 -0
  1424. package/dist/text-runtime-B4pK_Jpd.js +290 -0
  1425. package/dist/tool-auth-shared-B9CrADMc.js +90 -0
  1426. package/dist/tool-config-shared-DrS6NohH.js +19 -0
  1427. package/dist/tool-policy-pipeline-CC9_1Ta1.js +109 -0
  1428. package/dist/tool-resolution-BZxaDOKg.js +90 -0
  1429. package/dist/tool-schema-runtime-BCx7p6Ey.js +167 -0
  1430. package/dist/tools-F4mE-OU0.js +113 -0
  1431. package/dist/tools-effective-inventory-BCvCprpD.js +152 -0
  1432. package/dist/tools-invoke-http-Dt1rsx4a.js +206 -0
  1433. package/dist/tools.runtime-DV_PUXuD.js +4 -0
  1434. package/dist/tools.runtime.js +1 -1
  1435. package/dist/transcript-Bu-SsK2V.js +312 -0
  1436. package/dist/transcript-resolve.runtime-CnnOwtyU.js +2 -0
  1437. package/dist/transcript-resolve.runtime.js +1 -1
  1438. package/dist/transcript.runtime-DBVz9-zl.js +2 -0
  1439. package/dist/transcript.runtime.js +1 -1
  1440. package/dist/transport-policy-Byy3HifG.js +75 -0
  1441. package/dist/trash-F4tvjrKS.js +24 -0
  1442. package/dist/tts-BmCzLLJ_.js +183 -0
  1443. package/dist/tts-D4vxwDtE.js +64 -0
  1444. package/dist/tui-cli-DlQ1oejy.js +4575 -0
  1445. package/dist/twilio-CZsjakcE.js +609 -0
  1446. package/dist/update-DSox1dVQ.js +1282 -0
  1447. package/dist/update-check-CaPWrLU-.js +438 -0
  1448. package/dist/update-cli-DHMdwQWA.js +1759 -0
  1449. package/dist/update-runner-eQrUTjUC.js +1892 -0
  1450. package/dist/update-startup-DgWKoqop.js +331 -0
  1451. package/dist/update-startup-XA38a9KV.js +2 -0
  1452. package/dist/upgrade-UR-EI5pO.js +1226 -0
  1453. package/dist/usage-CLnhtd59.js +606 -0
  1454. package/dist/usage-format-CaxDNPPm.js +2 -0
  1455. package/dist/usage-format-CeDc5if9.js +703 -0
  1456. package/dist/video-generation-core-CuFcXCvE.js +6 -0
  1457. package/dist/video-generation-provider-B5_G-r4P.js +64 -0
  1458. package/dist/video-generation-provider-BD7G-8X5.js +118 -0
  1459. package/dist/video-generation-provider-CIIRQd3c.js +254 -0
  1460. package/dist/video-generation-provider-CLCLvtWm.js +264 -0
  1461. package/dist/video-generation-provider-CpPkkFNc.js +187 -0
  1462. package/dist/video-generation-provider-CvmPMAXP.js +271 -0
  1463. package/dist/video-generation-provider-D4l7Q8t7.js +78 -0
  1464. package/dist/video-generation-provider-DNe73dVv.js +221 -0
  1465. package/dist/video-generation-provider-M281XkUx.js +281 -0
  1466. package/dist/video-generation-provider-Y9urhhT4.js +287 -0
  1467. package/dist/video-generation-provider-iA6Vaqc_2.js +77 -0
  1468. package/dist/video-generation-runtime-BfNI4qH8.js +2 -0
  1469. package/dist/video-generation-task-status-qtHrIZLt.js +163 -0
  1470. package/dist/voice-mapping-FtCIKOHQ.js +41 -0
  1471. package/dist/wait-for-idle-before-flush-CYB_61O0.js +5986 -0
  1472. package/dist/web-fetch-providers.runtime-DN6FBm7n.js +34 -0
  1473. package/dist/web-fetch-providers.runtime.js +1 -1
  1474. package/dist/web-provider-runtime-shared-C1Sy3sQI.js +180 -0
  1475. package/dist/web-search-CgZ8TUj8.js +61 -0
  1476. package/dist/web-search-provider-DL2LLOsz.js +163 -0
  1477. package/dist/web-search-provider.runtime-B01EY78s.js +2 -0
  1478. package/dist/web-search-provider.runtime-Bgwk3KBe.js +185 -0
  1479. package/dist/web-search-provider.runtime.js +1 -1
  1480. package/dist/web-search-providers.runtime-BFtJCprz.js +42 -0
  1481. package/dist/web-search-providers.runtime.js +1 -1
  1482. package/dist/webhook-shared-DMbP4pF5.js +12 -0
  1483. package/dist/webhooks-cli-lrEfJsYQ.js +321 -0
  1484. package/dist/wizard-models-BKqMCaCm.js +161 -0
  1485. package/dist/workflow-runtime-hF0PG5ky.js +485 -0
  1486. package/dist/x-search-config-CqjeeiPu.js +36 -0
  1487. package/dist/x-search-shared-DomcrGQ_.js +75 -0
  1488. package/dist/zalo-js-B0dhviG7.js +1157 -0
  1489. package/package.json +1 -1
  1490. package/dist/abort-ca8hDmJr.js +0 -201
  1491. package/dist/abort-cutoff.runtime-vuCUcBP6.js +0 -20
  1492. package/dist/abort.runtime-BrChEuUS.js +0 -2
  1493. package/dist/accounts-B8y7HaWy.js +0 -66
  1494. package/dist/accounts-BM62Jgez.js +0 -43
  1495. package/dist/accounts-C1ECKXaw.js +0 -107
  1496. package/dist/accounts-CNMAC2Vo.js +0 -365
  1497. package/dist/accounts-DH8HU_Fu.js +0 -104
  1498. package/dist/accounts-DWQpG06j.js +0 -2
  1499. package/dist/accounts.runtime-DkGk9q3U.js +0 -2
  1500. package/dist/acp-cli-BLpWVnc7.js +0 -2193
  1501. package/dist/acp-spawn-D1p6b1gk.js +0 -2
  1502. package/dist/acp-spawn-qoyl9NiU.js +0 -1093
  1503. package/dist/acp-stateful-target-driver-NL9txhIM.js +0 -89
  1504. package/dist/action-agents-C729fJ_P.js +0 -67
  1505. package/dist/action-focus-53k9XP4K.js +0 -132
  1506. package/dist/action-help-bIJZBYLz.js +0 -7
  1507. package/dist/action-info-BBzvYFX_.js +0 -101
  1508. package/dist/action-kill-C4fa3E9I.js +0 -33
  1509. package/dist/action-list-BEiIbwP1.js +0 -21
  1510. package/dist/action-log-Cq7RLW2T.js +0 -30
  1511. package/dist/action-send-DyiHgRwh.js +0 -39
  1512. package/dist/action-spawn-CEZfDvXU.js +0 -47
  1513. package/dist/action-unfocus-CpAw3JOi.js +0 -29
  1514. package/dist/actions.runtime-BKEwPyo7.js +0 -18
  1515. package/dist/actions.runtime-Bp0UusIf.js +0 -5
  1516. package/dist/agent-C2hwJefQ.js +0 -2
  1517. package/dist/agent-command-BAAeGRql.js +0 -874
  1518. package/dist/agent-harness-runtime-Czrx53YL.js +0 -144
  1519. package/dist/agent-runner-utils-DzShckNa.js +0 -239
  1520. package/dist/agent-runner.runtime-d_EtNxBK.js +0 -3455
  1521. package/dist/agent-runtime-DNgz7AOP.js +0 -18
  1522. package/dist/agents-DSV7R_Ys.js +0 -953
  1523. package/dist/agents-DZP5tYDr.js +0 -5
  1524. package/dist/agents.command-shared-CX0AI2SJ.js +0 -40
  1525. package/dist/aliases-CZemdpTj.js +0 -2
  1526. package/dist/aliases-KefnmoaT.js +0 -96
  1527. package/dist/api-B87UL3DC.js +0 -2
  1528. package/dist/api-BWN4PIiM.js +0 -4
  1529. package/dist/api-CO05iXNH.js +0 -139
  1530. package/dist/api-CVXzxdCp.js +0 -48
  1531. package/dist/api-CyjlApHT.js +0 -3
  1532. package/dist/api-D3Y0Edm_.js +0 -3
  1533. package/dist/api-DArm1ECd.js +0 -5
  1534. package/dist/api-DgHFv6c12.js +0 -2
  1535. package/dist/api-qoDs2ceF2.js +0 -2
  1536. package/dist/apply-DmW0sOwq.js +0 -508
  1537. package/dist/apply.runtime-DR3dLbbu.js +0 -166
  1538. package/dist/apply.runtime-DiBS7O9R.js +0 -2
  1539. package/dist/approval-client-helpers-CLYckHzb.js +0 -82
  1540. package/dist/approval-gateway-resolver-URpDQMld.js +0 -29
  1541. package/dist/approval-gateway-runtime-B087BMms.js +0 -2
  1542. package/dist/approval-handler-runtime-BgRQnG4g.js +0 -439
  1543. package/dist/approval-native-helpers-XhNhwe4W.js +0 -33
  1544. package/dist/approval-native-runtime-DAsraihr.js +0 -729
  1545. package/dist/approval-renderers-bwrFaldo.js +0 -64
  1546. package/dist/attempt-execution.runtime-D_FGkDQz.js +0 -509
  1547. package/dist/attempt-execution.shared-WN2pMInT.js +0 -22
  1548. package/dist/attempt.prompt-helpers-CDzDUi1C.js +0 -221
  1549. package/dist/attempt.tool-run-context-DitxaTPJ.js +0 -933
  1550. package/dist/audit-extra.async-BCum5o_S.js +0 -971
  1551. package/dist/audit-k5sVbkP5.js +0 -939
  1552. package/dist/audit-membership-runtime-CF94r_hx.js +0 -550
  1553. package/dist/audit.deep.runtime-De20ia-s.js +0 -2
  1554. package/dist/audit.nondeep.runtime-D2m0GAmG.js +0 -880
  1555. package/dist/audit.runtime-BVZs63pn.js +0 -7
  1556. package/dist/auth-B6TDtKdZ.js +0 -177
  1557. package/dist/auth-CfUOZJWq.js +0 -2
  1558. package/dist/auth-DtQv6fQz.js +0 -56
  1559. package/dist/auth-_9zCNYrQ.js +0 -383
  1560. package/dist/auth-choice-B4-IWttU.js +0 -354
  1561. package/dist/auth-choice-CqMHwtjq.js +0 -3
  1562. package/dist/auth-choice-D1VRwrad.js +0 -88
  1563. package/dist/auth-choice-options-CvEDY7-R.js +0 -97
  1564. package/dist/auth-choice-prompt-1EriFNA8.js +0 -2
  1565. package/dist/auth-choice-prompt-XcsSlY4m.js +0 -37
  1566. package/dist/auth-choice.apply.api-providers-DA5zxSX2.js +0 -34
  1567. package/dist/auth-choice.apply.api-providers-DoVm22Ln.js +0 -2
  1568. package/dist/auth-choice.plugin-providers.runtime-R7dET-rk.js +0 -11
  1569. package/dist/auth-health-DGNHS1hv.js +0 -183
  1570. package/dist/auth-install-policy-kR4_sljC.js +0 -195
  1571. package/dist/auth-order-C3zGI0s9.js +0 -96
  1572. package/dist/auth-order-XQ9ZGPd9.js +0 -2
  1573. package/dist/auth-profiles-Bn8y2hqR.js +0 -679
  1574. package/dist/backup-create-ChqA8nu7.js +0 -395
  1575. package/dist/banner-BwacLUaf.js +0 -2
  1576. package/dist/banner-CFADygMU.js +0 -336
  1577. package/dist/base-url-l_nyPQC0.js +0 -15
  1578. package/dist/bash-tools-BBRtIa6j.js +0 -2824
  1579. package/dist/bash-tools-BI0d1TdC.js +0 -3
  1580. package/dist/binding-routing-Cvm5c1IV.js +0 -85
  1581. package/dist/binding-targets-DSs4NXbd.js +0 -121
  1582. package/dist/bluebubbles-5jDMT0b0.js +0 -77
  1583. package/dist/brave-web-search-provider-BuSp_bii.js +0 -111
  1584. package/dist/brave-web-search-provider.runtime-Dts_65-F.js +0 -229
  1585. package/dist/brave-web-search-provider.shared-BSh8nzHC.js +0 -174
  1586. package/dist/bridge-auth-registry-C5sNQKcj.js +0 -23
  1587. package/dist/bridge-server-B6Hfjg1u.js +0 -113
  1588. package/dist/browser-config-runtime-BKzd6AyE.js +0 -7
  1589. package/dist/browser-control-auth-BbzwesFd.js +0 -2
  1590. package/dist/browser-node-runtime-BDVW4WBK.js +0 -12
  1591. package/dist/browser-profiles-BFgCMoPL.js +0 -2
  1592. package/dist/browser-runtime-PsMSIYQ7.js +0 -387
  1593. package/dist/browser-setup-tools-CFB52yQc.js +0 -13
  1594. package/dist/build-TlobwpQW.js +0 -550
  1595. package/dist/call-Bx8lENb2.js +0 -3
  1596. package/dist/call-jYRpeAWm.js +0 -331
  1597. package/dist/call-status-DB7m5q5K.js +0 -33
  1598. package/dist/call.runtime-BRluUZbD.js +0 -2
  1599. package/dist/capability-cli-B3u_GAig.js +0 -1401
  1600. package/dist/card-command-Db-58QX1.js +0 -241
  1601. package/dist/catalog-provider-DLdEsRxZ.js +0 -40
  1602. package/dist/catchup-CtxTwzY8.js +0 -300
  1603. package/dist/channel-BJKHBfnq.js +0 -491
  1604. package/dist/channel-BNNnYzwK.js +0 -1100
  1605. package/dist/channel-BXS-Hd8p.js +0 -226
  1606. package/dist/channel-C4XWpowe.js +0 -1174
  1607. package/dist/channel-CJQdQgPr.js +0 -840
  1608. package/dist/channel-C_zWAu4D.js +0 -595
  1609. package/dist/channel-CtGzrF-K.js +0 -1802
  1610. package/dist/channel-O9DE4IIq.js +0 -350
  1611. package/dist/channel-WHUOtJme.js +0 -297
  1612. package/dist/channel-WoDWDxqx.js +0 -1320
  1613. package/dist/channel-add-wizard-CW2kMHCQ.js +0 -2
  1614. package/dist/channel-add-wizard-MPlDWR78.js +0 -125
  1615. package/dist/channel-core-BJjq9SOq.js +0 -5
  1616. package/dist/channel-inbound-DLs-YfUs.js +0 -31
  1617. package/dist/channel-plugin-runtime-D5jtM0YK.js +0 -771
  1618. package/dist/channel-runtime-4UjeDmDI.js +0 -425
  1619. package/dist/channel-summary-D34JTfKA.js +0 -129
  1620. package/dist/channel-summary-DN_PekkS.js +0 -2
  1621. package/dist/channel-ys2FFqi1.js +0 -453
  1622. package/dist/channel.runtime-B38Ky3R9.js +0 -109
  1623. package/dist/channel.runtime-BMhrGM1i.js +0 -26
  1624. package/dist/channel.runtime-Bl8WYZvF.js +0 -576
  1625. package/dist/channel.runtime-CX2p8xgN.js +0 -67
  1626. package/dist/channel.runtime-CrN1mC1m.js +0 -2364
  1627. package/dist/channel.runtime-D3kAsCsR.js +0 -89
  1628. package/dist/channel.runtime-DG-EUnSC.js +0 -4
  1629. package/dist/channel.runtime-IfV1Md6p.js +0 -430
  1630. package/dist/channel.runtime-w1tHjTOa.js +0 -34702
  1631. package/dist/channel.setup-dXwiMlyi.js +0 -10
  1632. package/dist/channels-DJZu0HEX.js +0 -733
  1633. package/dist/channels-cli-DJMgmakk.js +0 -268
  1634. package/dist/chat-DdKbu8CA.js +0 -2758
  1635. package/dist/chrome-Cs0ME7FH.js +0 -1181
  1636. package/dist/chrome-mcp-DkIFJETj.js +0 -2
  1637. package/dist/chrome-mcp-DxhdLTiR.js +0 -600
  1638. package/dist/chrome.executables-CfWpFyzT.js +0 -541
  1639. package/dist/clawbot-cli-CnHERFYk.js +0 -9
  1640. package/dist/clawhub-BtR3rMxw.js +0 -300
  1641. package/dist/clawhub-oHDXDom4.js +0 -400
  1642. package/dist/cli-Bt8TEQTY.js +0 -3726
  1643. package/dist/cli-C0Ib5uEO.js +0 -683
  1644. package/dist/cli-CN0o_7BK.js +0 -2
  1645. package/dist/cli-CSNAd6Sz.js +0 -72
  1646. package/dist/cli-DMPwqYqc.js +0 -219
  1647. package/dist/cli-DaXzOAcN.js +0 -154
  1648. package/dist/cli-O9WMyUsH.js +0 -2
  1649. package/dist/cli-ctyAqh0j.js +0 -2
  1650. package/dist/cli-runner-CNlk7xmx.js +0 -286
  1651. package/dist/cli-runner.runtime-BK4sQk1m.js +0 -3
  1652. package/dist/cli-runner.runtime-BT8ZZn-R.js +0 -4
  1653. package/dist/cli.runtime-DU7swpBI.js +0 -1261
  1654. package/dist/client-CQdcTPUf.js +0 -138
  1655. package/dist/client-Vx7pseEY.js +0 -713
  1656. package/dist/codex-native-web-search-BB3PWg7n.js +0 -3
  1657. package/dist/codex-native-web-search-BLevwOtN.js +0 -113
  1658. package/dist/combined-store-gateway-Cp7gSMlV.js +0 -163
  1659. package/dist/command-auth-DkJWb2HE.js +0 -76
  1660. package/dist/command-config-resolution-CIRWRfR8.js +0 -23
  1661. package/dist/command-config-resolution-DYZWj6Zm.js +0 -2
  1662. package/dist/command-config-resolution.runtime-CUtVJOf0.js +0 -2
  1663. package/dist/command-execution-startup-DEsPsZEU.js +0 -305
  1664. package/dist/command-registry-5QcI0D66.js +0 -4
  1665. package/dist/command-registry-6nNAhDaE.js +0 -9
  1666. package/dist/command-registry-core-B-Tfqu1R.js +0 -101
  1667. package/dist/command-secret-gateway-BNnWdAlq.js +0 -528
  1668. package/dist/command-status.runtime-CKgimR6Y.js +0 -87
  1669. package/dist/commands-acp-DSm97O5v.js +0 -77
  1670. package/dist/commands-compact.runtime-BXhP6WJ6.js +0 -10
  1671. package/dist/commands-core.runtime-6efmBjL5.js +0 -2
  1672. package/dist/commands-handlers.runtime-FzK-n0L8.js +0 -4597
  1673. package/dist/commands-models-CYEA4oks.js +0 -327
  1674. package/dist/commands-reset-hooks-BuIPeOLT.js +0 -133
  1675. package/dist/commands-status-BQnB5OSX.js +0 -16
  1676. package/dist/commands-status.runtime-B6GcfEDm.js +0 -3
  1677. package/dist/commands-subagents-control.runtime-CByd528A.js +0 -2
  1678. package/dist/commands-subagents-control.runtime-CqI4LMYa.js +0 -3
  1679. package/dist/commands-system-prompt-BD_LeeZk.js +0 -2
  1680. package/dist/commands-system-prompt-C2Md_Ia1.js +0 -158
  1681. package/dist/commands.runtime-CwiPf7Cc.js +0 -166
  1682. package/dist/compact-B_4bMVpw.js +0 -1118
  1683. package/dist/compact.runtime-BhRqiBXG.js +0 -12
  1684. package/dist/completion-cli-DPAWxu_A.js +0 -328
  1685. package/dist/config-B3ZoZd5V.js +0 -5
  1686. package/dist/config-D1ooXKCx.js +0 -9
  1687. package/dist/config-DidVsRqm.js +0 -251
  1688. package/dist/config-api-BRmW2LUx.js +0 -2
  1689. package/dist/config-cli-Ibsfa8Bm.js +0 -1078
  1690. package/dist/config-compat-B57zq89q.js +0 -130
  1691. package/dist/config-compat-ixP32ZwJ.js +0 -126
  1692. package/dist/config-guard-DnIVuR5d.js +0 -96
  1693. package/dist/config-runtime-Dr1JoMKQ.js +0 -32
  1694. package/dist/config-validation-COw3JcuF.js +0 -30
  1695. package/dist/configure-BfQlIIk0.js +0 -1245
  1696. package/dist/configure-DQ-DTcOJ.js +0 -2
  1697. package/dist/connect-options-zqTIEl6K.js +0 -699
  1698. package/dist/context-D5Ro5yCf.js +0 -278
  1699. package/dist/context-g9ANkVhl.js +0 -2
  1700. package/dist/control-auth-Bi8COEXI.js +0 -125
  1701. package/dist/control-service-DkYQV-Tl.js +0 -156
  1702. package/dist/control-ui-BA0iGAG9.js +0 -688
  1703. package/dist/conversation-id-BLY9ffjm.js +0 -38
  1704. package/dist/conversation-id-DVeOM5Jh.js +0 -235
  1705. package/dist/conversation-label-generator-Cc-S8z9Q.js +0 -56
  1706. package/dist/conversation-runtime-gJt7AAg2.js +0 -31
  1707. package/dist/core-BtmNtOpS.js +0 -275
  1708. package/dist/create-an7bnQv1.js +0 -80
  1709. package/dist/cron-cli-CPG4lnt5.js +0 -713
  1710. package/dist/daemon-cli-BXuqNS-3.js +0 -12
  1711. package/dist/daemon-install-BHDgo9qp.js +0 -64
  1712. package/dist/daemon-install-auth-profiles-store.runtime-DuRtWxoP.js +0 -2
  1713. package/dist/daemon-install-plan.shared-BQxPrU7X.js +0 -266
  1714. package/dist/ddg-client-CntWAh8N.js +0 -147
  1715. package/dist/ddg-search-provider-BeZ9HYXK.js +0 -54
  1716. package/dist/delegate-DyITI93V.js +0 -64
  1717. package/dist/deliver-BUbBF0P-.js +0 -3
  1718. package/dist/deliver-VYqGta5q.js +0 -747
  1719. package/dist/deliver-runtime-LEUVCSBV.js +0 -2
  1720. package/dist/delivery-outbound.runtime-DmSpBsJ2.js +0 -6
  1721. package/dist/delivery.runtime-Dwii5usm.js +0 -253
  1722. package/dist/deps-BMuC_6j0.js +0 -73
  1723. package/dist/deps-CIN4SVhK.js +0 -2
  1724. package/dist/detached-task-runtime-CTUQj84i.js +0 -73
  1725. package/dist/devices-cli-B_M2eMJ1.js +0 -496
  1726. package/dist/diagnostic-Ca7xQ_sl.js +0 -400
  1727. package/dist/diagnostic-support-export-uKXdbhuH.js +0 -533
  1728. package/dist/diagnostics-waSemGnZ.js +0 -154
  1729. package/dist/direct-dm-CiSjkmkL.js +0 -64
  1730. package/dist/directive-handling.fast-lane-BXAeEY49.js +0 -66
  1731. package/dist/directive-handling.impl-Bz01SejL.js +0 -703
  1732. package/dist/directive-handling.impl-CiFN7Cu1.js +0 -2
  1733. package/dist/directive-handling.model-selection-DZzMOtyl.js +0 -114
  1734. package/dist/directive-handling.persist.runtime-BzIB50Uy.js +0 -215
  1735. package/dist/directory-cli-17h5XIsS.js +0 -240
  1736. package/dist/dispatch-BnQSIx2G.js +0 -1131
  1737. package/dist/dispatch-acp-CaNQyl2L.js +0 -981
  1738. package/dist/dispatch-acp-manager.runtime-DJK1eHYX.js +0 -3
  1739. package/dist/dispatch-acp-media.runtime-FDZi3hhw.js +0 -4
  1740. package/dist/dispatch-acp-session.runtime-tA9m4L7t.js +0 -2
  1741. package/dist/dispatch-acp.runtime-Bl5cvtX4.js +0 -19
  1742. package/dist/dns-cli-QNL0F2Ri.js +0 -192
  1743. package/dist/doctor-auth-BzeKJols.js +0 -172
  1744. package/dist/doctor-auth-legacy-oauth-aZ9YjnlK.js +0 -2
  1745. package/dist/doctor-auth-legacy-oauth-zNlHTB4O.js +0 -48
  1746. package/dist/doctor-claude-cli-CxK8Pfom.js +0 -147
  1747. package/dist/doctor-config-analysis-CT6ojUa2.js +0 -94
  1748. package/dist/doctor-config-flow-DUCx5yjH.js +0 -417
  1749. package/dist/doctor-config-preflight-C-cFOcPn.js +0 -63
  1750. package/dist/doctor-config-preflight-Fm2wkSwd.js +0 -2
  1751. package/dist/doctor-contract-DxFV42-h.js +0 -26
  1752. package/dist/doctor-device-pairing-DBhEA-8G.js +0 -307
  1753. package/dist/doctor-gateway-daemon-flow-Ds47Er3Y.js +0 -250
  1754. package/dist/doctor-gateway-health-EWwTw5JR.js +0 -60
  1755. package/dist/doctor-gateway-services-Cibvf3nR.js +0 -316
  1756. package/dist/doctor-health-COiArVwj.js +0 -59
  1757. package/dist/doctor-health-contributions-D58LIVdN.js +0 -486
  1758. package/dist/doctor-memory-search-C-GTYsnB.js +0 -371
  1759. package/dist/doctor-prompter-BYIoKiZ8.js +0 -56
  1760. package/dist/doctor-sandbox-D0hdfdpJ.js +0 -194
  1761. package/dist/doctor-session-locks-CvM6ubaI.js +0 -56
  1762. package/dist/doctor-state-integrity-CxrVC_nh.js +0 -589
  1763. package/dist/doctor-state-migrations-DWChkFtX.js +0 -2
  1764. package/dist/doctor-update-leN3aPnU.js +0 -58
  1765. package/dist/doctor-workspace-status-CiEWZXrx.js +0 -75
  1766. package/dist/dreaming-DFPenC85.js +0 -1574
  1767. package/dist/dreaming-narrative-6A27_Gft.js +0 -595
  1768. package/dist/dreaming-shared-BDD2oWhL.js +0 -21
  1769. package/dist/embedded-gateway-stub.runtime-UVgfXZzk.js +0 -9
  1770. package/dist/embedding-batch-7hvzwHHl.js +0 -191
  1771. package/dist/embedding-batch-WKVjg_Bk.js +0 -161
  1772. package/dist/embedding-provider-BJee-X_b.js +0 -64
  1773. package/dist/embedding-provider-CTEUDSG2.js +0 -38
  1774. package/dist/embedding-provider-CiLu78QS.js +0 -118
  1775. package/dist/embedding-provider-ixUayU0N.js +0 -33
  1776. package/dist/embeddings-http-C0fpcL_-.js +0 -205
  1777. package/dist/embeddings-qvqBLfrg.js +0 -215
  1778. package/dist/engine-embeddings-9_Ztlm7g.js +0 -458
  1779. package/dist/engine-qmd-CceSLwoI.js +0 -551
  1780. package/dist/exa-web-search-provider-BEY5IeZV.js +0 -80
  1781. package/dist/exa-web-search-provider.runtime-BP0Bqh27.js +0 -302
  1782. package/dist/exa-web-search-provider.runtime-CE2dSkq8.js +0 -2
  1783. package/dist/exec-approval-forwarder.runtime-oBiamxIz.js +0 -3
  1784. package/dist/exec-approval-reply-DEujRvhz.js +0 -2
  1785. package/dist/exec-approval-reply-DJBZZafd.js +0 -296
  1786. package/dist/exec-approval-session-target-C08JaU9I.js +0 -176
  1787. package/dist/exec-approvals-cli-BIz6EjFc.js +0 -498
  1788. package/dist/exec-policy-cli-CPwfn4OX.js +0 -298
  1789. package/dist/extra-params--o3Bs_ba.js +0 -388
  1790. package/dist/fallbacks-DX4YcmAx.js +0 -2
  1791. package/dist/fallbacks-inTaaG-m.js +0 -31
  1792. package/dist/fallbacks-shared-ow1la-U2.js +0 -111
  1793. package/dist/format-CDtdyx29.js +0 -245
  1794. package/dist/format-CNZYdk0T.js +0 -176
  1795. package/dist/gateway-D4iWwu3_.js +0 -115
  1796. package/dist/gateway-cli-8Nrhyv3_.js +0 -1325
  1797. package/dist/gateway-install-token-Cvm6VMoq.js +0 -119
  1798. package/dist/gateway-rpc-DnaZL20f.js +0 -14
  1799. package/dist/gateway-rpc.runtime-CkhcOPe0.js +0 -23
  1800. package/dist/gateway-runtime-DctMRv_p.js +0 -15
  1801. package/dist/gateway-status-B6eKLX3H.js +0 -584
  1802. package/dist/genesis-tools-CvMcpUvH.js +0 -8999
  1803. package/dist/genesis-tools.runtime-Ch3NDEDq.js +0 -2
  1804. package/dist/get-reply-Cm39MCyU.js +0 -3879
  1805. package/dist/get-reply-from-config.runtime-CSqCYatb.js +0 -2
  1806. package/dist/gmail-setup-utils-D2pDgLCA.js +0 -430
  1807. package/dist/gmail-watcher-lifecycle-BZgPito0.js +0 -2
  1808. package/dist/gmail-watcher-lifecycle-dFjMERa7.js +0 -191
  1809. package/dist/graph-users-BJxYqA3A.js +0 -1337
  1810. package/dist/guarded-json-api-BhJR7l-7.js +0 -594
  1811. package/dist/health-C14jIilQ.js +0 -469
  1812. package/dist/health-C6yJSCMc.js +0 -3
  1813. package/dist/heartbeat-runner-C6-gFnyC.js +0 -5
  1814. package/dist/heartbeat-runner-yUYjgzIM.js +0 -1292
  1815. package/dist/heartbeat-runner.runtime-DZzyrUNB.js +0 -4
  1816. package/dist/help-DyqSh8kc.js +0 -81
  1817. package/dist/hooks-cli-JdkXCE5M.js +0 -433
  1818. package/dist/http-endpoint-helpers-TtZT-T3I.js +0 -41
  1819. package/dist/http-headers-BRWJRzAN.js +0 -11
  1820. package/dist/http-utils-C2hu7rtC.js +0 -924
  1821. package/dist/identity-BQK1BAp-.js +0 -140
  1822. package/dist/image-CQJOF-Zg.js +0 -272
  1823. package/dist/image-fallbacks-BH9qLbBG.js +0 -31
  1824. package/dist/image-fallbacks-DUOPO1ic.js +0 -2
  1825. package/dist/image-generation-core-Dk3jOqwq.js +0 -18
  1826. package/dist/image-generation-core.auth.runtime-BkPCNk6g.js +0 -2
  1827. package/dist/image-generation-provider-B2Sotuek.js +0 -157
  1828. package/dist/image-generation-provider-BjItC1ZB.js +0 -137
  1829. package/dist/image-generation-provider-CAuX-Q7r.js +0 -63
  1830. package/dist/image-generation-provider-CNnNFca5.js +0 -274
  1831. package/dist/image-generation-provider-CW39t66x.js +0 -95
  1832. package/dist/image-generation-provider-Cr8PAjS0.js +0 -529
  1833. package/dist/image-generation-provider-fPdPfoPR.js +0 -228
  1834. package/dist/image-generation-runtime-BjkgbLs7.js +0 -2
  1835. package/dist/image-runtime-ZHzWcqxM.js +0 -9
  1836. package/dist/inbound-reply-dispatch-DPf_IrbV.js +0 -73
  1837. package/dist/inbound.runtime-DVqg8xZi.js +0 -4
  1838. package/dist/inbound.runtime-DWu8LMdN.js +0 -3
  1839. package/dist/infra-runtime-CLND6LJ0.js +0 -39
  1840. package/dist/init-CzWob-9v.js +0 -59
  1841. package/dist/install-BZaQGsDZ.js +0 -159
  1842. package/dist/install-signal-cli-CE1vqFDm.js +0 -202
  1843. package/dist/install.runtime-DOhM77gf.js +0 -2
  1844. package/dist/io-h8M_Z0Lj.js +0 -19290
  1845. package/dist/io-z2jIOtLk.js +0 -5
  1846. package/dist/jobs-CNJYQgEn.js +0 -734
  1847. package/dist/kimi-web-search-provider-B2uRzMJ7.js +0 -80
  1848. package/dist/kimi-web-search-provider.runtime-2xk5W9Cs.js +0 -2
  1849. package/dist/kimi-web-search-provider.runtime-RTe_38UX.js +0 -261
  1850. package/dist/launchd-lFgfiDrN.js +0 -688
  1851. package/dist/legacy-tools-by-sender-B04NdZPf.js +0 -95
  1852. package/dist/legacy-tools-by-sender-CHP1JLBt.js +0 -2
  1853. package/dist/library-C0a9Bz2M.js +0 -45
  1854. package/dist/lifecycle-B_B_jt3r.js +0 -571
  1855. package/dist/lifecycle-DuqKKZop.js +0 -229
  1856. package/dist/lifecycle-core-BpdZi2zv.js +0 -422
  1857. package/dist/lifecycle.runtime-CgDdABk8.js +0 -2
  1858. package/dist/list-Bly8XeOF.js +0 -2
  1859. package/dist/list-CHIiamt1.js +0 -131
  1860. package/dist/list-u1v9z9iN.js +0 -1201
  1861. package/dist/list-w7tUjpdY.js +0 -2
  1862. package/dist/list.probe-kmHRFlrP.js +0 -419
  1863. package/dist/list.runtime-CjSnff-c.js +0 -159
  1864. package/dist/list.runtime-D1dElDsx.js +0 -11
  1865. package/dist/live-model-switch-Dd-0E2l_.js +0 -336
  1866. package/dist/llm-slug-generator-C3u6Ptgq.js +0 -79
  1867. package/dist/load-config-CXvIGI7N.js +0 -35
  1868. package/dist/load-context-avthPPkW.js +0 -56
  1869. package/dist/local-dispatch.runtime-BUoo02tX.js +0 -8
  1870. package/dist/logging-D5LEBy37.js +0 -13
  1871. package/dist/logging-bfkJL7yT.js +0 -2
  1872. package/dist/login-BKS5WGkP.js +0 -108
  1873. package/dist/logs-cli-DBYJ2Aq-.js +0 -265
  1874. package/dist/logs-cli.runtime-DQJPG_eL.js +0 -2
  1875. package/dist/main-session-restart-recovery-CzfY6Cd8.js +0 -206
  1876. package/dist/managed-image-attachments-BGPKA7Mn.js +0 -2
  1877. package/dist/managed-image-attachments-CTrq9ym-.js +0 -635
  1878. package/dist/manager-BYhRnRfB.js +0 -3114
  1879. package/dist/manager-C_ZGa9x8.js +0 -2057
  1880. package/dist/manager-DIHLRzYF.js +0 -2
  1881. package/dist/markdown-to-line-CRbbXtJK.js +0 -790
  1882. package/dist/mcp-cli-m4DjBDez.js +0 -725
  1883. package/dist/mcp-config-CczNZytL.js +0 -115
  1884. package/dist/mcp-http-b6UMoE_J.js +0 -529
  1885. package/dist/media-contract-BgaJThuI.js +0 -49
  1886. package/dist/media-contract-api-DzHEkFJ4.js +0 -2
  1887. package/dist/media-runtime-B1GzwmDa.js +0 -329
  1888. package/dist/media-understanding-XlANOKVy.js +0 -85
  1889. package/dist/media-understanding-provider-BMR6G9bs.js +0 -13
  1890. package/dist/media-understanding-provider-BeOpYnTw.js +0 -28
  1891. package/dist/media-understanding-provider-BxHOSDHK.js +0 -18
  1892. package/dist/media-understanding-provider-D1uimEOF.js +0 -37
  1893. package/dist/media-understanding-provider-D2bhV5kG.js +0 -69
  1894. package/dist/media-understanding-provider-Df4f_jEZ.js +0 -18
  1895. package/dist/media-understanding-provider-DjTpl-f8.js +0 -85
  1896. package/dist/media-understanding-provider-DmAZ22X7.js +0 -21
  1897. package/dist/media-understanding-provider-DyfMlzNa.js +0 -12
  1898. package/dist/media-understanding-provider-qrkRrB9V.js +0 -12
  1899. package/dist/media-understanding-runtime-BHRvMVOL.js +0 -2
  1900. package/dist/memory-CIDuBmaR.js +0 -342
  1901. package/dist/memory-core-host-engine-embeddings-M-Gp1i52.js +0 -2
  1902. package/dist/memory-core-host-engine-foundation-DasxnV_N.js +0 -11
  1903. package/dist/memory-core-host-engine-qmd-Bf8cHYXG.js +0 -2
  1904. package/dist/memory-core-host-runtime-cli-CquxELNj.js +0 -9
  1905. package/dist/memory-core-host-runtime-core-CmuFU_k8.js +0 -8
  1906. package/dist/memory-embedding-adapter-BMd68BpZ.js +0 -55
  1907. package/dist/memory-embedding-adapter-CFbi6QHC.js +0 -50
  1908. package/dist/memory-embedding-adapter-DEciIC1g.js +0 -123
  1909. package/dist/memory-embedding-adapter-DnzOdoj-.js +0 -32
  1910. package/dist/memory-host-core-CepAYJOC.js +0 -2
  1911. package/dist/memory-host-search-ef4xiGhZ.js +0 -12
  1912. package/dist/memory-host-search.runtime-DFl3cUHn.js +0 -2
  1913. package/dist/memory-runtime-Bwq0Ofx-.js +0 -2
  1914. package/dist/memory-runtime-Cj0UGN2J.js +0 -26
  1915. package/dist/message-CmjuvIFf.js +0 -232
  1916. package/dist/message-action-runner-CiY3rhqt.js +0 -1407
  1917. package/dist/message-action-runner-Do4P0h5i.js +0 -2
  1918. package/dist/message-actions-BYREqFJA.js +0 -143
  1919. package/dist/message.config.runtime-8kkpPgDw.js +0 -2
  1920. package/dist/message.gateway.runtime-gkoWzaYV.js +0 -2
  1921. package/dist/metadata-registry-loader-DAu2cSL5.js +0 -16
  1922. package/dist/metadata-registry-loader-GRi5Rm2Z.js +0 -2
  1923. package/dist/minimax-vlm-DkZ09FrD.js +0 -233
  1924. package/dist/minimax-web-search-provider--mirSuQz.js +0 -53
  1925. package/dist/minimax-web-search-provider.runtime-BCJPoUln.js +0 -140
  1926. package/dist/minimax-web-search-provider.runtime-Bg9lBTAr.js +0 -2
  1927. package/dist/mock-BBELHoyy.js +0 -136
  1928. package/dist/model-BEm0xMnp.js +0 -666
  1929. package/dist/model-DDJPPR3F.js +0 -3
  1930. package/dist/model-auth-C1Z9RsQ5.js +0 -456
  1931. package/dist/model-auth-env-Dz5Pixvx.js +0 -68
  1932. package/dist/model-auth-label-BAtXJxa0.js +0 -46
  1933. package/dist/model-catalog-C3Ib1fYR.js +0 -2
  1934. package/dist/model-catalog-DXtA4U6p.js +0 -159
  1935. package/dist/model-definitions-B8q-8mef.js +0 -260
  1936. package/dist/model-fallback-BSj7JGyo.js +0 -827
  1937. package/dist/model-fallback-auth.runtime-Bb5Zkx_r.js +0 -4
  1938. package/dist/model-picker-BTHkN0l4.js +0 -554
  1939. package/dist/model-picker-C3HMFJxK.js +0 -3
  1940. package/dist/model-picker-visibility-BL8rbGSy.js +0 -13
  1941. package/dist/model-picker.runtime-DX0Lf0PG.js +0 -15
  1942. package/dist/model-selection-Cc1fswUI.js +0 -213
  1943. package/dist/model-suppression-DvaJBPSc.js +0 -28
  1944. package/dist/model-suppression.runtime-JuLFgwjM.js +0 -7
  1945. package/dist/models-BJgjZ5vN.js +0 -18
  1946. package/dist/models-BS1WkKuU.js +0 -569
  1947. package/dist/models-Bdl84ZEi.js +0 -760
  1948. package/dist/models-DAWoIDFQ.js +0 -18
  1949. package/dist/models-auth-status-B_Pcr0tl.js +0 -201
  1950. package/dist/models-cli-C7_XNkjs.js +0 -219
  1951. package/dist/models-config-CeSA-IsM.js +0 -2
  1952. package/dist/models-config-DzJzRLUs.js +0 -933
  1953. package/dist/models-config.providers.secrets-DACp_2kp.js +0 -304
  1954. package/dist/models-ezJkixUd.js +0 -47
  1955. package/dist/models-http-CtMnZc8I.js +0 -92
  1956. package/dist/models-iki4v2pw.js +0 -157
  1957. package/dist/models.fetch-DeidpNMb.js +0 -518
  1958. package/dist/monitor-22LY8y6z.js +0 -788
  1959. package/dist/monitor-BZdf_CEm.js +0 -1237
  1960. package/dist/monitor-CTVDlTs2.js +0 -671
  1961. package/dist/monitor-Cfv-KGAl.js +0 -1661
  1962. package/dist/monitor-D_5ywEdZ.js +0 -295
  1963. package/dist/monitor-DuA69-8E.js +0 -2
  1964. package/dist/monitor-auth-BNDlfcw7.js +0 -207
  1965. package/dist/monitor-cmWeDVxf.js +0 -1459
  1966. package/dist/monitor-processing-D9Xcsagt.js +0 -1974
  1967. package/dist/monitor.runtime-zWvcbNim.js +0 -2
  1968. package/dist/monitor.webhook-BYWQa5lY.js +0 -180
  1969. package/dist/msteams-n9HDT4O-.js +0 -35
  1970. package/dist/music-generation-provider-BOf8FxsI.js +0 -170
  1971. package/dist/music-generation-provider-DXjWrzeQ.js +0 -63
  1972. package/dist/mutate-DCm-o6et.js +0 -116
  1973. package/dist/native-hook-relay-CKyIfLOm.js +0 -519
  1974. package/dist/native-web-search-CVg_cqdB.js +0 -64
  1975. package/dist/nextcloud-talk-BuJVVP0J.js +0 -17
  1976. package/dist/node-cli-BaWSEysu.js +0 -2506
  1977. package/dist/node-service-DCI-s3Mm.js +0 -68
  1978. package/dist/nodes-cli-DZht7scn.js +0 -1046
  1979. package/dist/nodes-utils-C6IKaTjm.js +0 -84
  1980. package/dist/nodes.helpers-CkJO5i0d.js +0 -34
  1981. package/dist/notify-v0zoiI-O.js +0 -315
  1982. package/dist/oauth-B8tWMfTJ.js +0 -139
  1983. package/dist/oauth-BmcwdgQf.js +0 -75
  1984. package/dist/oauth-DDT-kHNB.js +0 -152
  1985. package/dist/oauth-Gan0lup1.js +0 -2
  1986. package/dist/oauth.flow-CNEwf0O5.js +0 -45
  1987. package/dist/oauth.flow-CUZgJHCQ.js +0 -3
  1988. package/dist/onboard-BN0A1x-N.js +0 -632
  1989. package/dist/onboard-BxGE5zlS.js +0 -29
  1990. package/dist/onboard-C4pAjamt.js +0 -49
  1991. package/dist/onboard-Cu0Zb0tI.js +0 -25
  1992. package/dist/onboard-DSrD9d76.js +0 -58
  1993. package/dist/onboard-custom-D7-Whw_0.js +0 -271
  1994. package/dist/onboard-custom-Skp24tPF.js +0 -3
  1995. package/dist/onboard-g0Gns-rv.js +0 -25
  1996. package/dist/onboard-helpers-Cc2AnoIU.js +0 -6
  1997. package/dist/onboard-helpers-DIxfEXNM.js +0 -204
  1998. package/dist/onboard-remote-CYhQbOXH.js +0 -2
  1999. package/dist/onboard-remote-DrH3yVxE.js +0 -193
  2000. package/dist/onboard-search-XCG-N-tW.js +0 -323
  2001. package/dist/onboard-skills-DCI3hVXa.js +0 -134
  2002. package/dist/onboard-skills-i4KuFzS4.js +0 -2
  2003. package/dist/onboard-uHe_WHnV.js +0 -25
  2004. package/dist/onboard-vfG-wMNV.js +0 -316
  2005. package/dist/openai-codex-auth-identity-BP8ajX50.js +0 -45
  2006. package/dist/openai-codex-device-code-Cr2cbEdd.js +0 -164
  2007. package/dist/openai-codex-provider-BehtHuQr.js +0 -464
  2008. package/dist/openai-codex-shared-HFAofBwf.js +0 -6
  2009. package/dist/openai-http-DwCqhEcX.js +0 -500
  2010. package/dist/openai-provider-DsET7IpX.js +0 -313
  2011. package/dist/opencode-Cb-WQKky.js +0 -35
  2012. package/dist/openresponses-http-tJr67vC1.js +0 -1128
  2013. package/dist/operator-approvals-client-C0t_-2xC.js +0 -68
  2014. package/dist/order-dgHk1PE1.js +0 -109
  2015. package/dist/outbound-media-FIxE0Dv0.js +0 -57
  2016. package/dist/outbound-runtime-UoL4JsL6.js +0 -5
  2017. package/dist/outbound.runtime-nXA4k1xA.js +0 -2
  2018. package/dist/pair-command-approve-G5y-rKn9.js +0 -44
  2019. package/dist/pairing-cli-Cj31Dv4N.js +0 -117
  2020. package/dist/perplexity-web-search-provider-B6x_ImjZ.js +0 -92
  2021. package/dist/perplexity-web-search-provider.runtime-CXeIZv1r.js +0 -2
  2022. package/dist/perplexity-web-search-provider.runtime-DnjYQskA.js +0 -324
  2023. package/dist/persistent-bindings.lifecycle-C56aKBVc.js +0 -2
  2024. package/dist/persistent-bindings.lifecycle-CfBqvz9L.js +0 -85
  2025. package/dist/pi-bundle-mcp-runtime--MTfBo4Z.js +0 -829
  2026. package/dist/pi-bundle-mcp-runtime-ean1aFxj.js +0 -2
  2027. package/dist/pi-bundle-mcp-tools-BqjE32FZ.js +0 -108
  2028. package/dist/pi-embedded-B1wvxHXL.js +0 -2905
  2029. package/dist/pi-embedded-DmDb-oUB.js +0 -4
  2030. package/dist/pi-embedded-subscribe.handlers.compaction.runtime-BoDN2GHw.js +0 -23
  2031. package/dist/pi-embedded.runtime-D5xqw9Ko.js +0 -4
  2032. package/dist/pi-model-discovery-CYZ5LuGU.js +0 -237
  2033. package/dist/pi-tool-definition-adapter-CAxlo-Va.js +0 -217
  2034. package/dist/pi-tools-C69yvznf.js +0 -1057
  2035. package/dist/pi-tools.before-tool-call-BDeCmoAy.js +0 -2
  2036. package/dist/pi-tools.before-tool-call-DG7VVNBn.js +0 -433
  2037. package/dist/pi-tools.before-tool-call.runtime-GbZhbLH3.js +0 -13
  2038. package/dist/plivo-DFM_olZN.js +0 -394
  2039. package/dist/plugin-B9Ld0CUs.js +0 -12195
  2040. package/dist/plugin-enabled-Cxce83s1.js +0 -140
  2041. package/dist/plugin-install-config-policy-BimGg0f2.js +0 -137
  2042. package/dist/plugin-registration-BxJi2XYk.js +0 -23
  2043. package/dist/plugin-registry-D66gpl7-.js +0 -2
  2044. package/dist/plugin-registry-dEPS2Zb9.js +0 -3
  2045. package/dist/plugin-service-Cu0uMqDN.js +0 -2890
  2046. package/dist/plugins-cli-UICpKNEZ.js +0 -584
  2047. package/dist/plugins-command-helpers-ny7AVRZJ.js +0 -107
  2048. package/dist/plugins-install-persist-CSPRiteo.js +0 -133
  2049. package/dist/plugins-update-command-4Jece913.js +0 -1057
  2050. package/dist/policy-DgfegT_Y.js +0 -328
  2051. package/dist/prepare.runtime-C_sRmuFC.js +0 -815
  2052. package/dist/preview-warnings-BSovEOvs.js +0 -120
  2053. package/dist/probe-8vb_Ssot.js +0 -45
  2054. package/dist/probe-B6zM3cMF.js +0 -74
  2055. package/dist/probe-BjmKFiz1.js +0 -2205
  2056. package/dist/probe-CakOsrSu.js +0 -241
  2057. package/dist/probe-CbOoVumf.js +0 -2
  2058. package/dist/probe-D6yFcZpK.js +0 -1443
  2059. package/dist/probe-DtHuNHbp.js +0 -243
  2060. package/dist/probe-OcOYm1bj.js +0 -2
  2061. package/dist/probe-XYiCUrVW.js +0 -32
  2062. package/dist/probe.runtime-oasa8nRY.js +0 -2
  2063. package/dist/profiles-t-GpZimP.js +0 -111
  2064. package/dist/program-B7jIObA6.js +0 -111
  2065. package/dist/prompt-select-styled-DvkSxDCm.js +0 -20
  2066. package/dist/protocol-C40iRm9c.js +0 -2234
  2067. package/dist/provider-DuH_nkk-.js +0 -70
  2068. package/dist/provider-api-key-auth-BCbqFek0.js +0 -114
  2069. package/dist/provider-api-key-auth.runtime-C0dB6QR5.js +0 -14
  2070. package/dist/provider-auth-DlJTw0-4.js +0 -46
  2071. package/dist/provider-auth-api-key-kFD2TSQI.js +0 -5
  2072. package/dist/provider-auth-choice-7C46Z7_L.js +0 -228
  2073. package/dist/provider-auth-choice-preference-g0W-1lIY.js +0 -26
  2074. package/dist/provider-auth-choice.runtime-BMstkDeF.js +0 -14
  2075. package/dist/provider-auth-choice.runtime-DBaJlbBQ.js +0 -2
  2076. package/dist/provider-auth-guidance-CLhKt9_y.js +0 -2
  2077. package/dist/provider-auth-guidance-DMjnCkYr.js +0 -34
  2078. package/dist/provider-auth-helpers-g5J1YN29.js +0 -173
  2079. package/dist/provider-auth-input-Cmt5ISWx.js +0 -119
  2080. package/dist/provider-auth-runtime-C_of8BP-.js +0 -149
  2081. package/dist/provider-catalog-Bva0AQ20.js +0 -24
  2082. package/dist/provider-catalog-CDF5UffZ.js +0 -12
  2083. package/dist/provider-catalog-CIZ7lwcD.js +0 -11
  2084. package/dist/provider-catalog-WRqmEzqK.js +0 -26
  2085. package/dist/provider-catalog-lrSBHdfM.js +0 -11
  2086. package/dist/provider-compat-ia849gPL.js +0 -37
  2087. package/dist/provider-discovery.runtime-CKPRNOu9.js +0 -118
  2088. package/dist/provider-dispatcher-BIOPYzb9.js +0 -2
  2089. package/dist/provider-dispatcher-CpwviX0O.js +0 -22
  2090. package/dist/provider-entry-BZGcYiV-.js +0 -106
  2091. package/dist/provider-flow-DNqq-LGA.js +0 -147
  2092. package/dist/provider-model-defaults-M93SupwY.js +0 -6
  2093. package/dist/provider-models-BvjP15o5.js +0 -35
  2094. package/dist/provider-models-DzsmORvl.js +0 -119
  2095. package/dist/provider-registration-BL1hjJNQ.js +0 -218
  2096. package/dist/provider-registration-CKaw8a6k.js +0 -37
  2097. package/dist/provider-runtime-C4mK2ZHM.js +0 -472
  2098. package/dist/provider-runtime-C9Y0fX9M.js +0 -2
  2099. package/dist/provider-runtime.runtime-C1zVPJ_2.js +0 -26
  2100. package/dist/provider-self-hosted-setup-B_01kPQV.js +0 -251
  2101. package/dist/provider-setup-BTm4FuW0.js +0 -2
  2102. package/dist/provider-stream-BZwCdDk2.js +0 -290
  2103. package/dist/provider-stream-D80mDtUQ.js +0 -2174
  2104. package/dist/provider-stream-family-tKIQwQoP.js +0 -2
  2105. package/dist/provider-usage-DZHssxuZ.js +0 -4
  2106. package/dist/provider-usage-DtCUHOBT.js +0 -71
  2107. package/dist/provider-usage.load-DfxOyIjr.js +0 -334
  2108. package/dist/provider-utils-CDXJKXaV.js +0 -49
  2109. package/dist/provider-wizard-FaPEKwkS.js +0 -166
  2110. package/dist/providers.runtime-CNRwqmqP.js +0 -164
  2111. package/dist/providers.runtime-D5WUUxG6.js +0 -2
  2112. package/dist/proxy-stream-wrappers-Bne4sxnC.js +0 -394
  2113. package/dist/prune-CObb_7Tm.js +0 -83
  2114. package/dist/pw-ai-BXxjh18R.js +0 -2511
  2115. package/dist/pw-role-snapshot-Bl3hTc-h.js +0 -380
  2116. package/dist/qmd-manager-BUsmbNH2.js +0 -1921
  2117. package/dist/qr-cli-CJXKCj0L.js +0 -2
  2118. package/dist/qr-cli-kSU9X-N0.js +0 -349
  2119. package/dist/qr-image-BGiWCT9D.js +0 -2
  2120. package/dist/queue-C2h8xD0q.js +0 -409
  2121. package/dist/reaction-runtime-api-3XFmruJA.js +0 -116
  2122. package/dist/reactions-By-nqZC6.js +0 -998
  2123. package/dist/read-best-effort-config.runtime-D8wqGyi-.js +0 -2
  2124. package/dist/read-capability-iNDCfA71.js +0 -412
  2125. package/dist/realtime-provider-shared-BUH18A9i.js +0 -37
  2126. package/dist/realtime-transcription-provider-C8U5iIPd.js +0 -184
  2127. package/dist/realtime-transcription-provider-Ct_urZH7.js +0 -172
  2128. package/dist/realtime-transcription-provider-DWWihiYW.js +0 -184
  2129. package/dist/realtime-transcription-provider-DixI6prO.js +0 -120
  2130. package/dist/realtime-transcription-provider-LPnmN5fC.js +0 -183
  2131. package/dist/realtime-voice-provider-CNHR_8Ip.js +0 -489
  2132. package/dist/record-shared-B-W3jnOg.js +0 -10
  2133. package/dist/register-service-commands-C4gdXE5G.js +0 -71
  2134. package/dist/register.agent-CT6bSshW.js +0 -248
  2135. package/dist/register.backup-DZZZkF5L.js +0 -64
  2136. package/dist/register.configure-CImVXV1T.js +0 -15
  2137. package/dist/register.maintenance-D5jC2Wav.js +0 -438
  2138. package/dist/register.message-CT0eXmu4.js +0 -329
  2139. package/dist/register.onboard-BiigO1vS.js +0 -81
  2140. package/dist/register.runtime-CGAA56n8.js +0 -81
  2141. package/dist/register.setup-BG-rXone.js +0 -150
  2142. package/dist/register.status-health-sessions-CYuXd-5V.js +0 -1215
  2143. package/dist/register.subclis-BaJ6m946.js +0 -29
  2144. package/dist/register.subclis-D2lhCIAR.js +0 -3
  2145. package/dist/register.subclis-core-BZs-HQ4k.js +0 -249
  2146. package/dist/register.wallet-IC7GFGSz.js +0 -159
  2147. package/dist/repair-sequencing-DAQWWg1Q.js +0 -145
  2148. package/dist/replay-policy-SzJMVnli.js +0 -8
  2149. package/dist/reply-dispatch-runtime-DjIuN_dr.js +0 -13
  2150. package/dist/reply-media-paths.runtime-BwHwrFo5.js +0 -146
  2151. package/dist/reply-media-paths.runtime-BzHN3Oug.js +0 -2
  2152. package/dist/reply-payload-transform-DZTvoDh6.js +0 -720
  2153. package/dist/reply-runtime-5TFidLR3.js +0 -11
  2154. package/dist/reply.runtime-6d1e0INl.js +0 -2
  2155. package/dist/resolve-CmlJ4Qe6.js +0 -259
  2156. package/dist/response-generator-Bkk91EcQ.js +0 -175
  2157. package/dist/restart-DXckXfpS.js +0 -490
  2158. package/dist/restart-health-BWUPc4R-.js +0 -202
  2159. package/dist/restart-health-CWvsjHVN.js +0 -2
  2160. package/dist/root-help-DsdvAmaO.js +0 -44
  2161. package/dist/route-reply-GewElVG6.js +0 -162
  2162. package/dist/route-reply.runtime-CkHKAVic.js +0 -2
  2163. package/dist/routes-BxtbmAAO.js +0 -2
  2164. package/dist/routes-Dm0_DobO.js +0 -3341
  2165. package/dist/rpc-2YP43H5U.js +0 -61
  2166. package/dist/rpc-context-Cz5ff-4T.js +0 -17
  2167. package/dist/rpc.runtime-CmH330Bk.js +0 -21
  2168. package/dist/run-auth-profile.runtime-BN1_tgCB.js +0 -2
  2169. package/dist/run-context.runtime-DiIMdE17.js +0 -2
  2170. package/dist/run-delivery.runtime-qZIB76oE.js +0 -530
  2171. package/dist/run-embedded.runtime-nHunVmCv.js +0 -4
  2172. package/dist/run-execution-cli.runtime-CMT7La6D.js +0 -4
  2173. package/dist/run-executor.runtime-BG6SDi3f.js +0 -277
  2174. package/dist/run-main-C4yxwXlS.js +0 -516
  2175. package/dist/run-model-catalog.runtime-BeDPla6j.js +0 -2
  2176. package/dist/run-subagent-registry.runtime-D0RcqcJr.js +0 -2
  2177. package/dist/run-wait--kou3jZ7.js +0 -135
  2178. package/dist/runner-CJNyVFAv.js +0 -966
  2179. package/dist/runner.entries-CDDEOL4i.js +0 -604
  2180. package/dist/runs-BeROanhp.js +0 -496
  2181. package/dist/runs-oFHUw3em.js +0 -2
  2182. package/dist/runtime-B99WdxAw.js +0 -262
  2183. package/dist/runtime-BBdZI0T9.js +0 -116
  2184. package/dist/runtime-BMTh1o_4.js +0 -187
  2185. package/dist/runtime-BuDSQWY3.js +0 -187
  2186. package/dist/runtime-BvxkGJm2.js +0 -9
  2187. package/dist/runtime-C7re7-b0.js +0 -2
  2188. package/dist/runtime-CVeRX_h2.js +0 -72
  2189. package/dist/runtime-DgQ5oUKq.js +0 -973
  2190. package/dist/runtime-DhFt71Dh.js +0 -94
  2191. package/dist/runtime-SBCw4GZx.js +0 -2
  2192. package/dist/runtime-UhEn3-g2.js +0 -107
  2193. package/dist/runtime-WH7zKxDh.js +0 -269
  2194. package/dist/runtime-api-6SzMK-FZ.js +0 -4
  2195. package/dist/runtime-api-BAMrcB-5.js +0 -9
  2196. package/dist/runtime-api-DLSrxS5O.js +0 -9
  2197. package/dist/runtime-api-DsPleWQg.js +0 -14
  2198. package/dist/runtime-embedded-pi.runtime-eyjaJfAz.js +0 -2
  2199. package/dist/runtime-entry-NIlaVaCh.js +0 -2769
  2200. package/dist/runtime-internal-BTfGDlHi.js +0 -2
  2201. package/dist/runtime-model-auth.runtime-BmCKx59j.js +0 -45
  2202. package/dist/runtime-model-auth.runtime-CtfEmiHD.js +0 -2
  2203. package/dist/runtime-options-B5_eZxMV.js +0 -275
  2204. package/dist/runtime-prepare.runtime-CYL2KuLu.js +0 -80
  2205. package/dist/runtime-provider-2DNb6s0A.js +0 -21
  2206. package/dist/runtime-registry-loader-DR-J9mYJ.js +0 -2
  2207. package/dist/runtime-registry-loader-oRtkux7P.js +0 -85
  2208. package/dist/runtime-schema--IHLExJA.js +0 -27780
  2209. package/dist/runtime-shared-ClxGZaGO.js +0 -267
  2210. package/dist/runtime-tx7lDmPU.js +0 -475
  2211. package/dist/runtime-web-channel-plugin-DSUY71Zm.js +0 -203
  2212. package/dist/runtime-web-tools-B5m4pFEj.js +0 -1477
  2213. package/dist/runtime-web-tools-fallback.runtime-CuzXsYDs.js +0 -9
  2214. package/dist/sandbox-Bjg0J6uZ.js +0 -1156
  2215. package/dist/sandbox-DyLgT2hb.js +0 -3
  2216. package/dist/sandbox-cli-BLLA3tnd.js +0 -450
  2217. package/dist/scan-D0fsxqed.js +0 -2
  2218. package/dist/scan-DrjjN66Z.js +0 -523
  2219. package/dist/secrets-cli-xKEQ4JhR.js +0 -2101
  2220. package/dist/security-cli-B2rQ7-9U.js +0 -486
  2221. package/dist/selection-DEAdLh1Q.js +0 -2
  2222. package/dist/selection-zPPyzfBX.js +0 -7736
  2223. package/dist/semver-compare-4WdZjB8E.js +0 -53
  2224. package/dist/send-Buu-OT-I.js +0 -534
  2225. package/dist/send-CYKfZTCJ.js +0 -156
  2226. package/dist/send-Di1tRwJD.js +0 -102
  2227. package/dist/send.runtime-Bw22DBkL.js +0 -2
  2228. package/dist/server-CkhWy2iz.js +0 -77
  2229. package/dist/server-DPbF4NLN.js +0 -13
  2230. package/dist/server-context-C3fozX-C.js +0 -2
  2231. package/dist/server-context-R_Yx4X7V.js +0 -847
  2232. package/dist/server-middleware-K0bO4D5s.js +0 -120
  2233. package/dist/server-node-events-CdZP3Kok.js +0 -481
  2234. package/dist/server-plugin-bootstrap-C1Su6th-.js +0 -2
  2235. package/dist/server-plugin-bootstrap-DV23MPGu.js +0 -11333
  2236. package/dist/server-restart-sentinel-BWiOzljY.js +0 -697
  2237. package/dist/server-startup-memory-DcY7vInd.js +0 -32
  2238. package/dist/server.impl-DVM9pR9C.js +0 -12735
  2239. package/dist/service-2moXf4Z3.js +0 -940
  2240. package/dist/service-ChLFBF7Q.js +0 -120
  2241. package/dist/service-XI052xiT.js +0 -2
  2242. package/dist/service-audit-BFxGImYM.js +0 -254
  2243. package/dist/service-audit-cqHyD5gB.js +0 -2
  2244. package/dist/session-DgdrHsUH.js +0 -48
  2245. package/dist/session-cost-usage-v7CmY-jl.js +0 -651
  2246. package/dist/session-envelope-DdJGLsph.js +0 -18
  2247. package/dist/session-key-CGM2lMjF.js +0 -65
  2248. package/dist/session-kill-http-B_J1fJ4-.js +0 -110
  2249. package/dist/session-meta-DNYXwb8Y.js +0 -109
  2250. package/dist/session-override-CvWOXFPt.js +0 -106
  2251. package/dist/session-reset-model.runtime-CSgYVD3U.js +0 -133
  2252. package/dist/session-reset-service-DPgw70iw.js +0 -471
  2253. package/dist/session-route-B0h6MEyB.js +0 -93
  2254. package/dist/session-status.runtime-DCvgI1pG.js +0 -2
  2255. package/dist/session-store-2T8PZlcn.js +0 -126
  2256. package/dist/session-store.runtime-BvnkL0Mw.js +0 -2
  2257. package/dist/session-subagent-reactivation.runtime-BgsCnI-h.js +0 -2
  2258. package/dist/session-system-events-Yvfgcmpd.js +0 -63
  2259. package/dist/session-tab-registry-BoZsI5I6.js +0 -491
  2260. package/dist/session-transcript-hit-CJ5Jj7sA.js +0 -41
  2261. package/dist/session-updates-CUUxKrNv.js +0 -236
  2262. package/dist/session-updates.runtime-Dl3SAkoT.js +0 -2
  2263. package/dist/session-utils-BrGPE9ed.js +0 -926
  2264. package/dist/session-visibility-CZjMA1SL.js +0 -147
  2265. package/dist/sessions-BsnttWP_.js +0 -48
  2266. package/dist/sessions-CZok7kda.js +0 -281
  2267. package/dist/sessions-DnGJeOcI.js +0 -2
  2268. package/dist/sessions-GSCHVTz5.js +0 -16
  2269. package/dist/sessions-helpers-B3W7MdIb.js +0 -304
  2270. package/dist/sessions-history-http-Bw5J6HQ-.js +0 -383
  2271. package/dist/sessions-patch-2sBcHc9a.js +0 -309
  2272. package/dist/sessions-resolve-C-VZh_56.js +0 -174
  2273. package/dist/sessions.runtime-cLuc67tJ.js +0 -2
  2274. package/dist/set-5DGVoB6Q.js +0 -2
  2275. package/dist/set-COJp56WQ.js +0 -17
  2276. package/dist/set-image-CLKXLt5l.js +0 -2
  2277. package/dist/set-image-Wy-bkC3Q.js +0 -17
  2278. package/dist/setup-BG2J2HR-.js +0 -495
  2279. package/dist/setup-CEO-WwxS.js +0 -421
  2280. package/dist/setup-api-Culp0Usf.js +0 -29
  2281. package/dist/setup-core-CaTBS6Tz.js +0 -171
  2282. package/dist/setup-core-Dhwqz5ni.js +0 -184
  2283. package/dist/setup-core-Zijy2DMv.js +0 -393
  2284. package/dist/setup-core-youmXvW_.js +0 -176
  2285. package/dist/setup-surface-BBqs2Jo2.js +0 -351
  2286. package/dist/setup-surface-BKIPq1vY.js +0 -72
  2287. package/dist/setup-surface-BeMn-9hU.js +0 -403
  2288. package/dist/setup-surface-CUd-s0wh.js +0 -286
  2289. package/dist/setup-surface-Czri_ht7.js +0 -3
  2290. package/dist/setup-surface-DtscjAY3.js +0 -219
  2291. package/dist/setup.finalize-BSCjEqxV.js +0 -539
  2292. package/dist/setup.gateway-config-Df6Jm4vX.js +0 -250
  2293. package/dist/shared-B3Pz1Xcr.js +0 -121
  2294. package/dist/shared-Bc3x3THS.js +0 -76
  2295. package/dist/shared-C2qh8ugk.js +0 -217
  2296. package/dist/shared-CciCGYbs.js +0 -135
  2297. package/dist/shared-CsIxMVr_.js +0 -186
  2298. package/dist/shared-CxbLx0Ww.js +0 -198
  2299. package/dist/shared-DicCIRvK.js +0 -60
  2300. package/dist/shared-runtime-6_MnYe7Q.js +0 -7
  2301. package/dist/short-term-promotion-BIzj922a.js +0 -1543
  2302. package/dist/simple-completion-runtime-CGhlf0hZ.js +0 -158
  2303. package/dist/simple-completion-transport-DewSxAwJ.js +0 -33
  2304. package/dist/skills-clawhub-Dlv_j_Jg.js +0 -275
  2305. package/dist/skills-cli-D0EdapwV.js +0 -370
  2306. package/dist/slash-state-XfeMEeuI.js +0 -1911
  2307. package/dist/speech-core-DvaF8h0I.js +0 -94
  2308. package/dist/speech-provider-BQ98DhrM.js +0 -184
  2309. package/dist/speech-provider-BrwlxrtZ.js +0 -395
  2310. package/dist/speech-provider-CQLk4cH9.js +0 -170
  2311. package/dist/speech-provider-CUinmhV6.js +0 -103
  2312. package/dist/speech-provider-Cu9Q9-q6.js +0 -216
  2313. package/dist/speech-provider-Dr8g2Zbc.js +0 -209
  2314. package/dist/speech-provider-xHvRvcVe.js +0 -209
  2315. package/dist/src-BiDxQvtV.js +0 -3974
  2316. package/dist/stage-sandbox-media.runtime-UP-7985c.js +0 -232
  2317. package/dist/startup-auth-DVAg6R78.js +0 -180
  2318. package/dist/startup-context-CXQi-7YB.js +0 -312
  2319. package/dist/state-migrations-Aoorw4v_.js +0 -820
  2320. package/dist/status--hkh9cCZ.js +0 -209
  2321. package/dist/status-B880ja1s.js +0 -3
  2322. package/dist/status-BwSnS_wh.js +0 -397
  2323. package/dist/status-Cra01dC_.js +0 -62
  2324. package/dist/status-CuYSeMym.js +0 -2
  2325. package/dist/status-DY0DlWlw.js +0 -190
  2326. package/dist/status-DuZdkulz.js +0 -323
  2327. package/dist/status-MT62_Jgw.js +0 -2
  2328. package/dist/status-all-Dr3a4BAf.js +0 -498
  2329. package/dist/status-json-CXeZPfDL.js +0 -14
  2330. package/dist/status-json-command-JBCAP3wk.js +0 -84
  2331. package/dist/status-message-D8KTfWqp.js +0 -466
  2332. package/dist/status-message.runtime-i6HSwq0C.js +0 -6
  2333. package/dist/status-queue.runtime-Dpqj1jlp.js +0 -2
  2334. package/dist/status-runtime-shared-BeB5Gpc6.js +0 -257
  2335. package/dist/status-subagents.runtime-B4UXD0lL.js +0 -18
  2336. package/dist/status-text-myqmk4OL.js +0 -237
  2337. package/dist/status.command.text-runtime-DxXvRSSp.js +0 -15
  2338. package/dist/status.gateway-connection.runtime-B0Iwl2iZ.js +0 -2
  2339. package/dist/status.gather-CRbfrtwi.js +0 -292
  2340. package/dist/status.gather-DgGJqGIO.js +0 -2
  2341. package/dist/status.runtime-B1fTpY0S.js +0 -2
  2342. package/dist/status.runtime-Cbw0CFuM.js +0 -2
  2343. package/dist/status.scan-C1aqDsy2.js +0 -65
  2344. package/dist/status.scan-overview-BerlJz2l.js +0 -379
  2345. package/dist/status.scan.deps.runtime-vyKPba81.js +0 -18
  2346. package/dist/status.scan.fast-json-BXY82vu2.js +0 -2
  2347. package/dist/status.scan.fast-json-DJqgEbzZ.js +0 -132
  2348. package/dist/status.scan.runtime-nuf4UXm_.js +0 -409
  2349. package/dist/status.summary-CCdLUph8.js +0 -214
  2350. package/dist/status.summary-CHAn0_FS.js +0 -2
  2351. package/dist/status.update-Brj2S4WO.js +0 -2
  2352. package/dist/status.update-wHbH0vtL.js +0 -79
  2353. package/dist/store-DPPUFKL4.js +0 -1235
  2354. package/dist/store-DVf_1KBR.js +0 -4
  2355. package/dist/store-DsNJP7a2.js +0 -910
  2356. package/dist/store-load-DevCJoMp.js +0 -370
  2357. package/dist/store.runtime-DXcFo-7e.js +0 -2
  2358. package/dist/stream-CpdM0BB4.js +0 -27
  2359. package/dist/stream-QnfgL1uu.js +0 -664
  2360. package/dist/stream-Yw9oI1N9.js +0 -134
  2361. package/dist/stt-BKJ7-W_H.js +0 -66
  2362. package/dist/subagent-announce-D4jG75Ub.js +0 -351
  2363. package/dist/subagent-announce-delivery-BkQYzDcy.js +0 -726
  2364. package/dist/subagent-announce-output-C3pkuu-t.js +0 -364
  2365. package/dist/subagent-capabilities-Dr9kqRXv.js +0 -251
  2366. package/dist/subagent-control-DVVK8du2.js +0 -506
  2367. package/dist/subagent-control.runtime-D20i92a8.js +0 -3
  2368. package/dist/subagent-followup.runtime-CdeweG-S.js +0 -68
  2369. package/dist/subagent-list-CPGmzGIr.js +0 -172
  2370. package/dist/subagent-orphan-recovery-ZQanOHb4.js +0 -305
  2371. package/dist/subagent-registry-BcPa3ho0.js +0 -3
  2372. package/dist/subagent-registry-hJUso5eL.js +0 -1753
  2373. package/dist/subagent-spawn-DTaeQc9q.js +0 -1005
  2374. package/dist/system-cli-MQUV1Kt2.js +0 -59
  2375. package/dist/target-id-DwGFlj0w.js +0 -107
  2376. package/dist/targets-BPdSjnQH.js +0 -67
  2377. package/dist/task-executor-B62Qzfi-.js +0 -360
  2378. package/dist/task-owner-access-BBMrMOlN.js +0 -74
  2379. package/dist/task-registry-BD-ew2bT.js +0 -2366
  2380. package/dist/task-registry-delivery-runtime-B2WyGY0d.js +0 -3
  2381. package/dist/task-registry-delivery-runtime-MFJszOHI.js +0 -2
  2382. package/dist/task-registry.maintenance-0D2Yxl49.js +0 -416
  2383. package/dist/task-registry.maintenance-OPlfB5W9.js +0 -2
  2384. package/dist/tavily-client-C3xytQRs.js +0 -193
  2385. package/dist/tavily-client-CZGbAgS5.js +0 -2
  2386. package/dist/tavily-search-provider-D6KPby-f.js +0 -62
  2387. package/dist/telnyx-dl-FWSZ7.js +0 -260
  2388. package/dist/testing-DmxZ16UC.js +0 -575
  2389. package/dist/text-report-DbwOAt-s.js +0 -587
  2390. package/dist/text-runtime-7KpTTpVi.js +0 -290
  2391. package/dist/tool-auth-shared-Bv6BKCi8.js +0 -90
  2392. package/dist/tool-config-shared-DzQUOIuD.js +0 -19
  2393. package/dist/tool-policy-pipeline-v9XxD-ex.js +0 -109
  2394. package/dist/tool-resolution-vn72hwMo.js +0 -90
  2395. package/dist/tool-schema-runtime-jV8YdQ9e.js +0 -167
  2396. package/dist/tools-CqCuGTXf.js +0 -113
  2397. package/dist/tools-effective-inventory-DII_pOSr.js +0 -152
  2398. package/dist/tools-invoke-http-DdthGR52.js +0 -206
  2399. package/dist/tools.runtime-B8up1LNG.js +0 -4
  2400. package/dist/transcript-BEG6GDFF.js +0 -312
  2401. package/dist/transcript-resolve.runtime-BiYkACEe.js +0 -2
  2402. package/dist/transcript.runtime-MFREl0oG.js +0 -2
  2403. package/dist/transport-policy-B0VagXph.js +0 -75
  2404. package/dist/trash-Cngl97iU.js +0 -24
  2405. package/dist/tts-Bp81AGLz.js +0 -183
  2406. package/dist/tts-O3Lo0LND.js +0 -64
  2407. package/dist/tui-cli-Bz51WCAi.js +0 -4575
  2408. package/dist/twilio-CFtxsLCP.js +0 -609
  2409. package/dist/update-CgkXd2kv.js +0 -1282
  2410. package/dist/update-check-HnA0I2Da.js +0 -438
  2411. package/dist/update-cli-BYxOEE8h.js +0 -1759
  2412. package/dist/update-runner-Dghmpf13.js +0 -1892
  2413. package/dist/update-startup-BbGRP2fd.js +0 -331
  2414. package/dist/update-startup-CvNOEuOg.js +0 -2
  2415. package/dist/upgrade-Dvj8K4WB.js +0 -1226
  2416. package/dist/usage-format-B8I_58zr.js +0 -2
  2417. package/dist/usage-format-Hc-FyvzW.js +0 -703
  2418. package/dist/usage-q0pe5lMT.js +0 -606
  2419. package/dist/video-generation-core-BlmpVj-F.js +0 -6
  2420. package/dist/video-generation-provider-BTKjUEr6.js +0 -264
  2421. package/dist/video-generation-provider-BsJaGSdY.js +0 -271
  2422. package/dist/video-generation-provider-CRd5mS15.js +0 -187
  2423. package/dist/video-generation-provider-D5Dt3o8N.js +0 -221
  2424. package/dist/video-generation-provider-DAadtfjT2.js +0 -77
  2425. package/dist/video-generation-provider-DEuIYj4Q.js +0 -118
  2426. package/dist/video-generation-provider-I00zAw5a.js +0 -281
  2427. package/dist/video-generation-provider-LsvxSeCH.js +0 -78
  2428. package/dist/video-generation-provider-PjRFUZuF.js +0 -254
  2429. package/dist/video-generation-provider-_lpEJ0sZ.js +0 -287
  2430. package/dist/video-generation-provider-rYLsBGcx.js +0 -64
  2431. package/dist/video-generation-runtime-C0HgCTTM.js +0 -2
  2432. package/dist/video-generation-task-status-CHYB_IeZ.js +0 -163
  2433. package/dist/voice-mapping-CqBur95r.js +0 -41
  2434. package/dist/wait-for-idle-before-flush-DJMxeE2X.js +0 -5986
  2435. package/dist/web-fetch-providers.runtime-DV5-20bl.js +0 -34
  2436. package/dist/web-provider-runtime-shared-GwramnJ6.js +0 -180
  2437. package/dist/web-search-DInuHnh4.js +0 -61
  2438. package/dist/web-search-provider-BshM5HnM.js +0 -163
  2439. package/dist/web-search-provider.runtime-BKjABarO.js +0 -2
  2440. package/dist/web-search-provider.runtime-DcC48-4y.js +0 -185
  2441. package/dist/web-search-providers.runtime-Ct-fiRLn.js +0 -42
  2442. package/dist/webhook-shared-C5lP_giw.js +0 -12
  2443. package/dist/webhooks-cli-VV9ptfcF.js +0 -321
  2444. package/dist/wizard-models-BxP-rnuO.js +0 -161
  2445. package/dist/workflow-runtime-BZbnyBLJ.js +0 -485
  2446. package/dist/x-search-config-B5seJHNk.js +0 -36
  2447. package/dist/x-search-shared-B3VKBF82.js +0 -75
  2448. package/dist/zalo-js-XocMxKUr.js +0 -1157
@@ -1,1759 +0,0 @@
1
- import { a as normalizeLowercaseStringOrEmpty, c as normalizeOptionalString } from "./string-coerce-C1IzJjqi.js";
2
- import { t as resolveGenesisPackageRoot } from "./genesis-root-C-Pc5jX6.js";
3
- import { d as pathExists } from "./utils-DaGfogP-.js";
4
- import { n as defaultRuntime } from "./runtime-CQ7eH0le.js";
5
- import { t as formatDocsLink } from "./links-DmsJCU7L.js";
6
- import { r as theme } from "./theme-BrRleVfL.js";
7
- import { n as inheritOptionFromParent } from "./command-options-K7dNLwPx.js";
8
- import "./daemon-cli-BXuqNS-3.js";
9
- import { n as resolveCliName, t as replaceCliName } from "./cli-name-Cpoe1Ahu.js";
10
- import { t as formatCliCommand } from "./command-format-DAeUlu7u.js";
11
- import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-DmR9mjUX.js";
12
- import { d as resolveGatewayLaunchAgentLabel, m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName } from "./paths-Dk_PxD7g.js";
13
- import { o as resolveGatewayInstallEntrypoint } from "./daemon-install-plan.shared-BQxPrU7X.js";
14
- import { a as parseSemver, i as nodeVersionSatisfiesEngine } from "./runtime-guard-BFpbWnbi.js";
15
- import { r as runCommandWithTimeout } from "./exec-CKo0c2Rj.js";
16
- import { I as asResolvedSourceConfig, L as asRuntimeConfig, u as readConfigFileSnapshot } from "./io-h8M_Z0Lj.js";
17
- import { a as shellEscapeRestartLogValue, i as resolveGatewayRestartLogPath, n as renderPosixRestartLogSetup, s as quoteCmdScriptArg, t as renderCmdRestartLogSetup } from "./restart-logs-D-iNn94A.js";
18
- import { r as resolveGatewayService } from "./service-ChLFBF7Q.js";
19
- import { t as runDaemonInstall } from "./install-BZaQGsDZ.js";
20
- import { r as replaceConfigFile } from "./mutate-DCm-o6et.js";
21
- import "./config-B3ZoZd5V.js";
22
- import { t as runDaemonRestart } from "./lifecycle-DuqKKZop.js";
23
- import { n as formatConfigIssueLines } from "./issue-format-CctGyTV-.js";
24
- import { l as waitForGatewayHealthyRestart, o as renderRestartDiagnostics, s as terminateStaleGatewayPids } from "./restart-health-BWUPc4R-.js";
25
- import { u as trimLogTail } from "./restart-sentinel-D0qfIlId.js";
26
- import { r as formatDurationPrecise } from "./format-duration-D7ua_Cv_.js";
27
- import { n as stylePromptMessage } from "./prompt-style-C0fEzBHW.js";
28
- import { t as formatHelpExamples } from "./help-format-DM-hbV3N.js";
29
- import { r as installCompletion } from "./completion-runtime-Cam6LzNH.js";
30
- import { n as renderTable, t as getTerminalTableWidth } from "./table-WXa2M4uW.js";
31
- import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-CgkXd2kv.js";
32
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DvkSxDCm.js";
33
- import { d as formatUpdateChannelLabel, g as resolveUpdateChannelDisplay, h as resolveEffectiveUpdateChannel, i as fetchNpmTagVersion, m as normalizeUpdateChannel, n as compareSemverStrings, o as resolveNpmChannelTag, r as fetchNpmPackageTargetStatus, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-HnA0I2Da.js";
34
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-wHbH0vtL.js";
35
- import { a as createGlobalInstallEnv, c as globalInstallArgs, d as resolveGlobalInstallSpec, f as resolveGlobalInstallTarget, h as readPackageVersion, i as collectInstalledGlobalPackageErrors, l as globalInstallFallbackArgs, m as readPackageName, n as canResolveRegistryVersionForPackageTarget, o as detectGlobalInstallManagerByPresence, p as normalizePackageTagInput, r as cleanupGlobalRenameDirs, s as detectGlobalInstallManagerForRoot, t as runGatewayUpdate, u as resolveExpectedInstalledVersionFromSpec } from "./update-runner-Dghmpf13.js";
36
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CiGfS4eH.js";
37
- import path from "node:path";
38
- import { spawn, spawnSync } from "node:child_process";
39
- import os from "node:os";
40
- import fs from "node:fs/promises";
41
- import { confirm, isCancel, spinner } from "@clack/prompts";
42
- //#region src/cli/update-cli/shared.ts
43
- const INVALID_TIMEOUT_ERROR = "--timeout must be a positive integer (seconds)";
44
- function parseTimeoutMsOrExit(timeout) {
45
- const timeoutMs = timeout ? Number.parseInt(timeout, 10) * 1e3 : void 0;
46
- if (timeoutMs !== void 0 && (Number.isNaN(timeoutMs) || timeoutMs <= 0)) {
47
- defaultRuntime.error(INVALID_TIMEOUT_ERROR);
48
- defaultRuntime.exit(1);
49
- return null;
50
- }
51
- return timeoutMs;
52
- }
53
- const GENESIS_REPO_URL = "https://github.com/PIXELZX0/Genesis.git";
54
- const MAX_LOG_CHARS = 8e3;
55
- const DEFAULT_PACKAGE_NAME = "@pixelzx/genesis";
56
- const LEGACY_PACKAGE_NAME = "genesis";
57
- const CORE_PACKAGE_NAMES = new Set([DEFAULT_PACKAGE_NAME, LEGACY_PACKAGE_NAME]);
58
- function normalizeTag(value) {
59
- return normalizePackageTagInput(value, [DEFAULT_PACKAGE_NAME, LEGACY_PACKAGE_NAME]);
60
- }
61
- function normalizeVersionTag(tag) {
62
- const trimmed = tag.trim();
63
- if (!trimmed) return null;
64
- const cleaned = trimmed.startsWith("v") ? trimmed.slice(1) : trimmed;
65
- return parseSemver(cleaned) ? cleaned : null;
66
- }
67
- async function resolveTargetVersion(tag, timeoutMs, packageName = DEFAULT_PACKAGE_NAME) {
68
- if (!canResolveRegistryVersionForPackageTarget(tag)) return null;
69
- const direct = normalizeVersionTag(tag);
70
- if (direct) return direct;
71
- return (await fetchNpmTagVersion({
72
- packageName,
73
- tag,
74
- timeoutMs
75
- })).version ?? null;
76
- }
77
- async function isGitCheckout(root) {
78
- try {
79
- await fs.stat(path.join(root, ".git"));
80
- return true;
81
- } catch {
82
- return false;
83
- }
84
- }
85
- async function isCorePackage(root) {
86
- const name = await readPackageName(root);
87
- return Boolean(name && CORE_PACKAGE_NAMES.has(name));
88
- }
89
- async function isEmptyDir(targetPath) {
90
- try {
91
- return (await fs.readdir(targetPath)).length === 0;
92
- } catch {
93
- return false;
94
- }
95
- }
96
- function resolveGitInstallDir() {
97
- const override = process.env.GENESIS_GIT_DIR?.trim();
98
- if (override) return path.resolve(override);
99
- return resolveDefaultGitDir();
100
- }
101
- function resolveDefaultGitDir() {
102
- const home = os.homedir();
103
- if (home.startsWith("/")) return path.posix.join(home, "genesis");
104
- return path.join(home, "genesis");
105
- }
106
- function resolveNodeRunner() {
107
- const base = normalizeLowercaseStringOrEmpty(path.basename(process.execPath));
108
- if (base === "node" || base === "node.exe") return process.execPath;
109
- return "node";
110
- }
111
- async function resolveUpdateRoot() {
112
- return await resolveGenesisPackageRoot({
113
- moduleUrl: import.meta.url,
114
- argv1: process.argv[1],
115
- cwd: process.cwd()
116
- }) ?? process.cwd();
117
- }
118
- async function runUpdateStep(params) {
119
- const command = params.argv.join(" ");
120
- params.progress?.onStepStart?.({
121
- name: params.name,
122
- command,
123
- index: 0,
124
- total: 0
125
- });
126
- const started = Date.now();
127
- const res = await runCommandWithTimeout(params.argv, {
128
- cwd: params.cwd,
129
- env: params.env,
130
- timeoutMs: params.timeoutMs
131
- });
132
- const durationMs = Date.now() - started;
133
- const stderrTail = trimLogTail(res.stderr, MAX_LOG_CHARS);
134
- params.progress?.onStepComplete?.({
135
- name: params.name,
136
- command,
137
- index: 0,
138
- total: 0,
139
- durationMs,
140
- exitCode: res.code,
141
- stderrTail
142
- });
143
- return {
144
- name: params.name,
145
- command,
146
- cwd: params.cwd ?? process.cwd(),
147
- durationMs,
148
- exitCode: res.code,
149
- stdoutTail: trimLogTail(res.stdout, MAX_LOG_CHARS),
150
- stderrTail
151
- };
152
- }
153
- async function ensureGitCheckout(params) {
154
- const gitEnv = params.env ?? await createGlobalInstallEnv();
155
- if (!await pathExists(params.dir)) return await runUpdateStep({
156
- name: "git clone",
157
- argv: [
158
- "git",
159
- "clone",
160
- GENESIS_REPO_URL,
161
- params.dir
162
- ],
163
- env: gitEnv,
164
- timeoutMs: params.timeoutMs,
165
- progress: params.progress
166
- });
167
- if (!await isGitCheckout(params.dir)) {
168
- if (!await isEmptyDir(params.dir)) throw new Error(`GENESIS_GIT_DIR points at a non-git directory: ${params.dir}. Set GENESIS_GIT_DIR to an empty folder or an genesis checkout.`);
169
- return await runUpdateStep({
170
- name: "git clone",
171
- argv: [
172
- "git",
173
- "clone",
174
- GENESIS_REPO_URL,
175
- params.dir
176
- ],
177
- cwd: params.dir,
178
- env: gitEnv,
179
- timeoutMs: params.timeoutMs,
180
- progress: params.progress
181
- });
182
- }
183
- if (!await isCorePackage(params.dir)) throw new Error(`GENESIS_GIT_DIR does not look like a core checkout: ${params.dir}.`);
184
- return null;
185
- }
186
- async function resolveGlobalManager(params) {
187
- const runCommand = createGlobalCommandRunner();
188
- if (params.installKind === "package") {
189
- const detected = await detectGlobalInstallManagerForRoot(runCommand, params.root, params.timeoutMs);
190
- if (detected) return detected;
191
- }
192
- return await detectGlobalInstallManagerByPresence(runCommand, params.timeoutMs) ?? "npm";
193
- }
194
- const COMPLETION_CACHE_WRITE_TIMEOUT_MS = 3e4;
195
- async function tryWriteCompletionCache(root, jsonMode) {
196
- const binPath = path.join(root, "genesis.mjs");
197
- if (!await pathExists(binPath)) return;
198
- const result = spawnSync(resolveNodeRunner(), [
199
- binPath,
200
- "completion",
201
- "--write-state"
202
- ], {
203
- cwd: root,
204
- env: process.env,
205
- encoding: "utf-8",
206
- timeout: COMPLETION_CACHE_WRITE_TIMEOUT_MS
207
- });
208
- if (result.error) {
209
- if (!jsonMode) defaultRuntime.log(theme.warn(`Completion cache update failed: ${String(result.error)}`));
210
- return;
211
- }
212
- if (result.status !== 0 && !jsonMode) {
213
- const stderr = (result.stderr ?? "").trim();
214
- const detail = stderr ? ` (${stderr})` : "";
215
- defaultRuntime.log(theme.warn(`Completion cache update failed${detail}.`));
216
- }
217
- }
218
- function createGlobalCommandRunner() {
219
- return async (argv, options) => {
220
- const res = await runCommandWithTimeout(argv, options);
221
- return {
222
- stdout: res.stdout,
223
- stderr: res.stderr,
224
- code: res.code
225
- };
226
- };
227
- }
228
- //#endregion
229
- //#region src/cli/update-cli/status.ts
230
- function formatGitStatusLine(params) {
231
- const shortSha = params.sha ? params.sha.slice(0, 8) : null;
232
- const branch = params.branch && params.branch !== "HEAD" ? params.branch : null;
233
- const tag = params.tag;
234
- return [
235
- branch ?? (tag ? "detached" : "git"),
236
- tag ? `tag ${tag}` : null,
237
- shortSha ? `@ ${shortSha}` : null
238
- ].filter(Boolean).join(" · ");
239
- }
240
- async function updateStatusCommand(opts) {
241
- const timeoutMs = parseTimeoutMsOrExit(opts.timeout);
242
- if (timeoutMs === null) return;
243
- const root = await resolveUpdateRoot();
244
- const configSnapshot = await readConfigFileSnapshot();
245
- const configChannel = configSnapshot.valid ? normalizeUpdateChannel(configSnapshot.config.update?.channel) : null;
246
- const update = await checkUpdateStatus({
247
- root,
248
- timeoutMs: timeoutMs ?? 3500,
249
- fetchGit: true,
250
- includeRegistry: true
251
- });
252
- const channelInfo = resolveUpdateChannelDisplay({
253
- configChannel,
254
- installKind: update.installKind,
255
- gitTag: update.git?.tag ?? null,
256
- gitBranch: update.git?.branch ?? null
257
- });
258
- const channelLabel = channelInfo.label;
259
- const gitLabel = update.installKind === "git" ? formatGitStatusLine({
260
- branch: update.git?.branch ?? null,
261
- tag: update.git?.tag ?? null,
262
- sha: update.git?.sha ?? null
263
- }) : null;
264
- const updateAvailability = resolveUpdateAvailability(update);
265
- const updateLine = formatUpdateOneLiner(update).replace(/^Update:\s*/i, "");
266
- if (opts.json) {
267
- defaultRuntime.writeJson({
268
- update,
269
- channel: {
270
- value: channelInfo.channel,
271
- source: channelInfo.source,
272
- label: channelLabel,
273
- config: configChannel
274
- },
275
- availability: updateAvailability
276
- });
277
- return;
278
- }
279
- const tableWidth = getTerminalTableWidth();
280
- const rows = [
281
- {
282
- Item: "Install",
283
- Value: update.installKind === "git" ? `git (${update.root ?? "unknown"})` : update.installKind === "package" ? update.packageManager : "unknown"
284
- },
285
- {
286
- Item: "Channel",
287
- Value: channelLabel
288
- },
289
- ...gitLabel ? [{
290
- Item: "Git",
291
- Value: gitLabel
292
- }] : [],
293
- {
294
- Item: "Update",
295
- Value: updateAvailability.available ? theme.warn(`available · ${updateLine}`) : updateLine
296
- }
297
- ];
298
- defaultRuntime.log(theme.heading("Genesis update status"));
299
- defaultRuntime.log("");
300
- defaultRuntime.log(renderTable({
301
- width: tableWidth,
302
- columns: [{
303
- key: "Item",
304
- header: "Item",
305
- minWidth: 10
306
- }, {
307
- key: "Value",
308
- header: "Value",
309
- flex: true,
310
- minWidth: 24
311
- }],
312
- rows
313
- }).trimEnd());
314
- defaultRuntime.log("");
315
- const updateHint = formatUpdateAvailableHint(update);
316
- if (updateHint) defaultRuntime.log(theme.warn(updateHint));
317
- }
318
- //#endregion
319
- //#region src/cli/update-cli/progress.ts
320
- const STEP_LABELS = {
321
- "clean check": "Working directory is clean",
322
- "upstream check": "Upstream branch exists",
323
- "git fetch": "Fetching latest changes",
324
- "git rebase": "Rebasing onto target commit",
325
- "git rev-parse @{upstream}": "Resolving upstream commit",
326
- "git rev-list": "Enumerating candidate commits",
327
- "git clone": "Cloning git checkout",
328
- "preflight worktree": "Preparing preflight worktree",
329
- "preflight cleanup": "Cleaning preflight worktree",
330
- "deps install": "Installing dependencies",
331
- build: "Building",
332
- "ui:build": "Building UI assets",
333
- "ui:build (post-doctor repair)": "Restoring missing UI assets",
334
- "ui assets verify": "Validating UI assets",
335
- "genesis doctor entry": "Checking doctor entrypoint",
336
- "genesis doctor": "Running doctor checks",
337
- "git rev-parse HEAD (after)": "Verifying update",
338
- "global update": "Updating via package manager",
339
- "global update (omit optional)": "Retrying update without optional deps",
340
- "global install": "Installing global package"
341
- };
342
- const GENESIS_NPM_PACKAGE_NAME = "@pixelzx/genesis";
343
- function getStepLabel(step) {
344
- return STEP_LABELS[step.name] ?? step.name;
345
- }
346
- function inferUpdateFailureHints(result) {
347
- if (result.status !== "error") return [];
348
- if (result.reason === "pnpm-corepack-missing") return ["This pnpm checkout could not auto-enable pnpm because corepack is missing.", "Install pnpm manually or install Node with corepack available, then rerun the update command."];
349
- if (result.reason === "pnpm-corepack-enable-failed") return ["This pnpm checkout could not auto-enable pnpm via corepack.", "Run `corepack enable` manually or install pnpm manually, then rerun the update command."];
350
- if (result.reason === "pnpm-npm-bootstrap-failed") return ["This pnpm checkout could not bootstrap pnpm from npm automatically.", "Install pnpm manually, then rerun the update command."];
351
- if (result.reason === "preferred-manager-unavailable") return ["This checkout requires its declared package manager and the updater could not find it.", "Install the missing package manager manually, then rerun the update command."];
352
- if (result.mode !== "npm") return [];
353
- const failedStep = [...result.steps].toReversed().find((step) => step.exitCode !== 0);
354
- if (!failedStep) return [];
355
- const stderr = normalizeLowercaseStringOrEmpty(failedStep.stderrTail);
356
- const hints = [];
357
- if (failedStep.name.startsWith("global update") && stderr.includes("eacces")) {
358
- hints.push("Detected permission failure (EACCES). Re-run with a writable global prefix or sudo (for system-managed Node installs).");
359
- hints.push(`Example: npm config set prefix ~/.local && npm i -g ${GENESIS_NPM_PACKAGE_NAME}@latest`);
360
- }
361
- if (failedStep.name.startsWith("global update") && (stderr.includes("node-gyp") || stderr.includes("prebuild"))) {
362
- hints.push("Detected native optional dependency build failure. The updater retries with --omit=optional automatically.");
363
- hints.push(`If it still fails: npm i -g ${GENESIS_NPM_PACKAGE_NAME}@latest --omit=optional`);
364
- }
365
- return hints;
366
- }
367
- function createUpdateProgress(enabled) {
368
- if (!enabled) return {
369
- progress: {},
370
- stop: () => {}
371
- };
372
- let currentSpinner = null;
373
- return {
374
- progress: {
375
- onStepStart: (step) => {
376
- currentSpinner = spinner();
377
- currentSpinner.start(theme.accent(getStepLabel(step)));
378
- },
379
- onStepComplete: (step) => {
380
- if (!currentSpinner) return;
381
- const label = getStepLabel(step);
382
- const duration = theme.muted(`(${formatDurationPrecise(step.durationMs)})`);
383
- const icon = step.exitCode === 0 ? theme.success("✓") : theme.error("✗");
384
- currentSpinner.stop(`${icon} ${label} ${duration}`);
385
- currentSpinner = null;
386
- if (step.exitCode !== 0 && step.stderrTail) {
387
- const lines = step.stderrTail.split("\n").slice(-10);
388
- for (const line of lines) if (line.trim()) defaultRuntime.log(` ${theme.error(line)}`);
389
- }
390
- }
391
- },
392
- stop: () => {
393
- if (currentSpinner) {
394
- currentSpinner.stop();
395
- currentSpinner = null;
396
- }
397
- }
398
- };
399
- }
400
- function formatStepStatus(exitCode) {
401
- if (exitCode === 0) return theme.success("✓");
402
- if (exitCode === null) return theme.warn("?");
403
- return theme.error("✗");
404
- }
405
- function printResult(result, opts) {
406
- if (opts.json) {
407
- defaultRuntime.writeJson(result);
408
- return;
409
- }
410
- const statusColor = result.status === "ok" ? theme.success : result.status === "skipped" ? theme.warn : theme.error;
411
- defaultRuntime.log("");
412
- defaultRuntime.log(`${theme.heading("Update Result:")} ${statusColor(result.status.toUpperCase())}`);
413
- if (result.root) defaultRuntime.log(` Root: ${theme.muted(result.root)}`);
414
- if (result.reason) defaultRuntime.log(` Reason: ${theme.muted(result.reason)}`);
415
- if (result.before?.version || result.before?.sha) {
416
- const before = result.before.version ?? result.before.sha?.slice(0, 8) ?? "";
417
- defaultRuntime.log(` Before: ${theme.muted(before)}`);
418
- }
419
- if (result.after?.version || result.after?.sha) {
420
- const after = result.after.version ?? result.after.sha?.slice(0, 8) ?? "";
421
- defaultRuntime.log(` After: ${theme.muted(after)}`);
422
- }
423
- if (!opts.hideSteps && result.steps.length > 0) {
424
- defaultRuntime.log("");
425
- defaultRuntime.log(theme.heading("Steps:"));
426
- for (const step of result.steps) {
427
- const status = formatStepStatus(step.exitCode);
428
- const duration = theme.muted(`(${formatDurationPrecise(step.durationMs)})`);
429
- defaultRuntime.log(` ${status} ${step.name} ${duration}`);
430
- if (step.exitCode !== 0 && step.stderrTail) {
431
- const lines = step.stderrTail.split("\n").slice(0, 5);
432
- for (const line of lines) if (line.trim()) defaultRuntime.log(` ${theme.error(line)}`);
433
- }
434
- }
435
- }
436
- const hints = inferUpdateFailureHints(result);
437
- if (hints.length > 0) {
438
- defaultRuntime.log("");
439
- defaultRuntime.log(theme.heading("Recovery hints:"));
440
- for (const hint of hints) defaultRuntime.log(` - ${theme.warn(hint)}`);
441
- }
442
- defaultRuntime.log("");
443
- defaultRuntime.log(`Total time: ${theme.muted(formatDurationPrecise(result.durationMs))}`);
444
- }
445
- //#endregion
446
- //#region src/cli/update-cli/restart-helper.ts
447
- /**
448
- * Shell-escape a string for embedding in single-quoted shell arguments.
449
- * Replaces every `'` with `'\''` (end quote, escaped quote, resume quote).
450
- * For batch scripts, validates against special characters instead.
451
- */
452
- function shellEscape(value) {
453
- return value.replace(/'/g, "'\\''");
454
- }
455
- /** Validates a string is safe for embedding in a batch (cmd.exe) script. */
456
- function isBatchSafe(value) {
457
- return /^[A-Za-z0-9 _\-().]+$/.test(value);
458
- }
459
- function resolveSystemdUnit(env) {
460
- const override = normalizeOptionalString(env.GENESIS_SYSTEMD_UNIT);
461
- if (override) return override.endsWith(".service") ? override : `${override}.service`;
462
- return `${resolveGatewaySystemdServiceName(env.GENESIS_PROFILE)}.service`;
463
- }
464
- function resolveLaunchdLabel(env) {
465
- const override = normalizeOptionalString(env.GENESIS_LAUNCHD_LABEL);
466
- if (override) return override;
467
- return resolveGatewayLaunchAgentLabel(env.GENESIS_PROFILE);
468
- }
469
- function resolveWindowsTaskName(env) {
470
- const override = env.GENESIS_WINDOWS_TASK_NAME?.trim();
471
- if (override) return override;
472
- return resolveGatewayWindowsTaskName(env.GENESIS_PROFILE);
473
- }
474
- /**
475
- * Prepares a standalone script to restart the gateway service.
476
- * This script is written to a temporary directory and does not depend on
477
- * the installed package files, ensuring restart capability even if the
478
- * update process temporarily removes or corrupts installation files.
479
- */
480
- async function prepareRestartScript(env = process.env, gatewayPort = DEFAULT_GATEWAY_PORT) {
481
- const tmpDir = os.tmpdir();
482
- const timestamp = Date.now();
483
- const platform = process.platform;
484
- let scriptContent = "";
485
- let filename = "";
486
- try {
487
- if (platform === "linux") {
488
- const escaped = shellEscape(resolveSystemdUnit(env));
489
- const logSetup = renderPosixRestartLogSetup({
490
- ...process.env,
491
- ...env
492
- });
493
- filename = `genesis-restart-${timestamp}.sh`;
494
- scriptContent = `#!/bin/sh
495
- # Standalone restart script — survives parent process termination.
496
- # Wait briefly to ensure file locks are released after update.
497
- sleep 1
498
- ${logSetup}
499
- printf '[%s] genesis restart attempt source=update target=%s\\n' "$(date -u +%FT%TZ)" '${escaped}' >&2
500
- if systemctl --user restart '${escaped}'; then
501
- status=0
502
- printf '[%s] genesis restart done source=update\\n' "$(date -u +%FT%TZ)" >&2
503
- else
504
- status=$?
505
- printf '[%s] genesis restart failed source=update status=%s\\n' "$(date -u +%FT%TZ)" "$status" >&2
506
- fi
507
- # Self-cleanup
508
- rm -f "$0"
509
- exit "$status"
510
- `;
511
- } else if (platform === "darwin") {
512
- const label = resolveLaunchdLabel(env);
513
- const escaped = shellEscape(label);
514
- const uid = process.getuid ? process.getuid() : 501;
515
- const home = normalizeOptionalString(env.HOME) || process.env.HOME || os.homedir();
516
- const escapedPlistPath = shellEscape(path.join(home, "Library", "LaunchAgents", `${label}.plist`));
517
- const logSetup = renderPosixRestartLogSetup({
518
- ...process.env,
519
- ...env
520
- });
521
- filename = `genesis-restart-${timestamp}.sh`;
522
- scriptContent = `#!/bin/sh
523
- # Standalone restart script — survives parent process termination.
524
- # Wait briefly to ensure file locks are released after update.
525
- sleep 1
526
- # Capture launchctl output so bootstrap/kickstart failures leave a durable
527
- # audit trail. Log setup is best-effort: restart must still run if the log path
528
- # is temporarily unavailable.
529
- ${logSetup}
530
- printf '[%s] genesis restart attempt source=update target=%s\\n' "$(date -u +%FT%TZ)" '${shellEscapeRestartLogValue(label)}' >&2
531
- # Try kickstart first (works when the service is still registered).
532
- # If it fails (e.g. after bootout), clear any persisted disabled state,
533
- # then re-register via bootstrap and kickstart. The final status is captured
534
- # before self-cleanup so a genuine failure remains observable.
535
- status=0
536
- if ! launchctl kickstart -k 'gui/${uid}/${escaped}'; then
537
- launchctl enable 'gui/${uid}/${escaped}'
538
- launchctl bootstrap 'gui/${uid}' '${escapedPlistPath}'
539
- launchctl kickstart -k 'gui/${uid}/${escaped}'
540
- status=$?
541
- fi
542
- if [ "$status" -eq 0 ]; then
543
- printf '[%s] genesis restart done source=update\\n' "$(date -u +%FT%TZ)" >&2
544
- else
545
- printf '[%s] genesis restart failed source=update status=%s\\n' "$(date -u +%FT%TZ)" "$status" >&2
546
- fi
547
- # Self-cleanup (log is retained under the Genesis state logs directory).
548
- rm -f "$0"
549
- exit "$status"
550
- `;
551
- } else if (platform === "win32") {
552
- const taskName = resolveWindowsTaskName(env);
553
- if (!isBatchSafe(taskName)) return null;
554
- const port = Number.isFinite(gatewayPort) && gatewayPort > 0 ? gatewayPort : DEFAULT_GATEWAY_PORT;
555
- const restartLog = renderCmdRestartLogSetup({
556
- ...process.env,
557
- ...env
558
- });
559
- filename = `genesis-restart-${timestamp}.bat`;
560
- scriptContent = `@echo off
561
- REM Standalone restart script — survives parent process termination.
562
- REM Wait briefly to ensure file locks are released after update.
563
- timeout /t 2 /nobreak >nul
564
- ${restartLog.lines.join("\r\n")}
565
- >> ${restartLog.quotedLogPath} 2>&1 echo [%DATE% %TIME%] genesis restart attempt source=update target=${taskName}
566
- schtasks /End /TN "${taskName}" >> ${restartLog.quotedLogPath} 2>&1
567
- REM Poll for gateway port release before rerun; force-kill listener if stuck.
568
- set /a attempts=0
569
- :wait_for_port_release
570
- set /a attempts+=1
571
- netstat -ano | findstr /R /C:":${port} .*LISTENING" >nul
572
- if errorlevel 1 goto port_released
573
- if %attempts% GEQ 10 goto force_kill_listener
574
- timeout /t 1 /nobreak >nul
575
- goto wait_for_port_release
576
- :force_kill_listener
577
- for /f "tokens=5" %%P in ('netstat -ano ^| findstr /R /C:":${port} .*LISTENING"') do (
578
- taskkill /F /PID %%P >> ${restartLog.quotedLogPath} 2>&1
579
- goto port_released
580
- )
581
- :port_released
582
- schtasks /Run /TN "${taskName}" >> ${restartLog.quotedLogPath} 2>&1
583
- set "status=%ERRORLEVEL%"
584
- if not "%status%"=="0" (
585
- >> ${restartLog.quotedLogPath} 2>&1 echo [%DATE% %TIME%] genesis restart failed source=update status=%status%
586
- ) else (
587
- >> ${restartLog.quotedLogPath} 2>&1 echo [%DATE% %TIME%] genesis restart done source=update
588
- )
589
- REM Self-cleanup
590
- del "%~f0"
591
- exit /b %status%
592
- `;
593
- } else return null;
594
- const scriptPath = path.join(tmpDir, filename);
595
- await fs.writeFile(scriptPath, scriptContent, { mode: 493 });
596
- return scriptPath;
597
- } catch {
598
- return null;
599
- }
600
- }
601
- /**
602
- * Executes the prepared restart script as a **detached** process.
603
- *
604
- * The script must outlive the CLI process because the CLI itself is part
605
- * of the service being restarted — `systemctl restart` / `launchctl
606
- * kickstart -k` will terminate the current process tree. Using
607
- * `spawn({ detached: true })` + `unref()` ensures the script survives
608
- * the parent's exit.
609
- *
610
- * Resolves immediately after spawning; the script runs independently.
611
- */
612
- async function runRestartScript(scriptPath) {
613
- const isWindows = process.platform === "win32";
614
- spawn(isWindows ? "cmd.exe" : "/bin/sh", isWindows ? [
615
- "/d",
616
- "/s",
617
- "/c",
618
- quoteCmdScriptArg(scriptPath)
619
- ] : [scriptPath], {
620
- detached: true,
621
- stdio: "ignore",
622
- windowsHide: true
623
- }).unref();
624
- }
625
- //#endregion
626
- //#region src/cli/update-cli/suppress-deprecations.ts
627
- /**
628
- * Suppress Node.js deprecation warnings.
629
- *
630
- * On Node.js v23+ `process.noDeprecation` may be a read-only property
631
- * (defined via a getter on the prototype with no setter), so the
632
- * assignment can throw. We fall back to the environment variable which
633
- * achieves the same effect.
634
- */
635
- function suppressDeprecations() {
636
- try {
637
- process.noDeprecation = true;
638
- } catch {}
639
- process.env.NODE_NO_WARNINGS = "1";
640
- }
641
- //#endregion
642
- //#region src/cli/update-cli/update-command.ts
643
- const CLI_NAME = resolveCliName();
644
- const SERVICE_REFRESH_TIMEOUT_MS = 6e4;
645
- const POST_CORE_UPDATE_ENV = "GENESIS_UPDATE_POST_CORE";
646
- const POST_CORE_UPDATE_CHANNEL_ENV = "GENESIS_UPDATE_POST_CORE_CHANNEL";
647
- const POST_CORE_UPDATE_RESULT_PATH_ENV = "GENESIS_UPDATE_POST_CORE_RESULT_PATH";
648
- const SERVICE_REFRESH_PATH_ENV_KEYS = [
649
- "GENESIS_HOME",
650
- "GENESIS_STATE_DIR",
651
- "GENESIS_CONFIG_PATH"
652
- ];
653
- const UPDATE_QUIPS = [
654
- "Leveled up! New skills unlocked. You're welcome.",
655
- "Fresh code, same lobster. Miss me?",
656
- "Back and better. Did you even notice I was gone?",
657
- "Update complete. I learned some new tricks while I was out.",
658
- "Upgraded! Now with 23% more sass.",
659
- "I've evolved. Try to keep up.",
660
- "New version, who dis? Oh right, still me but shinier.",
661
- "Patched, polished, and ready to pinch. Let's go.",
662
- "The lobster has molted. Harder shell, sharper claws.",
663
- "Update done! Check the changelog or just trust me, it's good.",
664
- "Reborn from the boiling waters of npm. Stronger now.",
665
- "I went away and came back smarter. You should try it sometime.",
666
- "Update complete. The bugs feared me, so they left.",
667
- "New version installed. Old version sends its regards.",
668
- "Firmware fresh. Brain wrinkles: increased.",
669
- "I've seen things you wouldn't believe. Anyway, I'm updated.",
670
- "Back online. The changelog is long but our friendship is longer.",
671
- "Upgraded! Peter fixed stuff. Blame him if it breaks.",
672
- "Molting complete. Please don't look at my soft shell phase.",
673
- "Version bump! Same chaos energy, fewer crashes (probably)."
674
- ];
675
- function pickUpdateQuip() {
676
- return UPDATE_QUIPS[Math.floor(Math.random() * UPDATE_QUIPS.length)] ?? "Update complete.";
677
- }
678
- function isPackageManagerUpdateMode(mode) {
679
- return mode === "npm" || mode === "pnpm" || mode === "bun";
680
- }
681
- function formatCommandFailure(stdout, stderr) {
682
- const detail = (stderr || stdout).trim();
683
- if (!detail) return "command returned a non-zero exit code";
684
- return detail.split("\n").slice(-3).join("\n");
685
- }
686
- function tryResolveInvocationCwd() {
687
- try {
688
- return process.cwd();
689
- } catch {
690
- return;
691
- }
692
- }
693
- async function resolvePackageRuntimePreflightError(params) {
694
- if (!canResolveRegistryVersionForPackageTarget(params.tag)) return null;
695
- const target = params.tag.trim();
696
- if (!target) return null;
697
- const status = await fetchNpmPackageTargetStatus({
698
- packageName: params.packageName,
699
- target,
700
- timeoutMs: params.timeoutMs
701
- });
702
- if (status.error) return null;
703
- if (nodeVersionSatisfiesEngine(process.versions.node ?? null, status.nodeEngine) !== false) return null;
704
- const targetLabel = status.version ?? target;
705
- return [
706
- `Node ${process.versions.node ?? "unknown"} is too old for ${params.packageName}@${targetLabel}.`,
707
- `The requested package requires ${status.nodeEngine}.`,
708
- "Upgrade Node to 22.14+ or Node 24, then rerun `genesis update`.",
709
- `Bare \`npm i -g ${params.packageName}\` can silently install an older compatible release.`,
710
- `After upgrading Node, use \`npm i -g ${params.packageName}@latest\`.`
711
- ].join("\n");
712
- }
713
- function resolveServiceRefreshEnv(env, invocationCwd) {
714
- const resolvedEnv = { ...env };
715
- for (const key of SERVICE_REFRESH_PATH_ENV_KEYS) {
716
- const rawValue = resolvedEnv[key]?.trim();
717
- if (!rawValue) continue;
718
- if (rawValue.startsWith("~") || path.isAbsolute(rawValue) || path.win32.isAbsolute(rawValue)) {
719
- resolvedEnv[key] = rawValue;
720
- continue;
721
- }
722
- if (!invocationCwd) {
723
- resolvedEnv[key] = rawValue;
724
- continue;
725
- }
726
- resolvedEnv[key] = path.resolve(invocationCwd, rawValue);
727
- }
728
- return resolvedEnv;
729
- }
730
- function printDryRunPreview(preview, jsonMode) {
731
- if (jsonMode) {
732
- defaultRuntime.writeJson(preview);
733
- return;
734
- }
735
- defaultRuntime.log(theme.heading("Update dry-run"));
736
- defaultRuntime.log(theme.muted("No changes were applied."));
737
- defaultRuntime.log("");
738
- defaultRuntime.log(` Root: ${theme.muted(preview.root)}`);
739
- defaultRuntime.log(` Install kind: ${theme.muted(preview.installKind)}`);
740
- defaultRuntime.log(` Mode: ${theme.muted(preview.mode)}`);
741
- defaultRuntime.log(` Channel: ${theme.muted(preview.effectiveChannel)}`);
742
- defaultRuntime.log(` Tag/spec: ${theme.muted(preview.tag)}`);
743
- if (preview.currentVersion) defaultRuntime.log(` Current version: ${theme.muted(preview.currentVersion)}`);
744
- if (preview.targetVersion) defaultRuntime.log(` Target version: ${theme.muted(preview.targetVersion)}`);
745
- if (preview.downgradeRisk) defaultRuntime.log(theme.warn(" Downgrade confirmation would be required in a real run."));
746
- defaultRuntime.log("");
747
- defaultRuntime.log(theme.heading("Planned actions:"));
748
- for (const action of preview.actions) defaultRuntime.log(` - ${action}`);
749
- if (preview.notes.length > 0) {
750
- defaultRuntime.log("");
751
- defaultRuntime.log(theme.heading("Notes:"));
752
- for (const note of preview.notes) defaultRuntime.log(` - ${theme.muted(note)}`);
753
- }
754
- }
755
- async function refreshGatewayServiceEnv(params) {
756
- const args = [
757
- "gateway",
758
- "install",
759
- "--force"
760
- ];
761
- if (params.jsonMode) args.push("--json");
762
- const entrypoint = await resolveGatewayInstallEntrypoint(params.result.root);
763
- if (entrypoint) {
764
- const res = await runCommandWithTimeout([
765
- resolveNodeRunner(),
766
- entrypoint,
767
- ...args
768
- ], {
769
- cwd: params.result.root,
770
- env: resolveServiceRefreshEnv(process.env, params.invocationCwd),
771
- timeoutMs: SERVICE_REFRESH_TIMEOUT_MS
772
- });
773
- if (res.code === 0) return;
774
- throw new Error(`updated install refresh failed (${entrypoint}): ${formatCommandFailure(res.stdout, res.stderr)}`);
775
- }
776
- await runDaemonInstall({
777
- force: true,
778
- json: params.jsonMode || void 0
779
- });
780
- }
781
- async function tryInstallShellCompletion(opts) {
782
- if (opts.jsonMode || !process.stdin.isTTY) return;
783
- const status = await checkShellCompletionStatus(CLI_NAME);
784
- if (status.usesSlowPattern) {
785
- defaultRuntime.log(theme.muted("Upgrading shell completion to cached version..."));
786
- if (await ensureCompletionCacheExists(CLI_NAME)) await installCompletion(status.shell, true, CLI_NAME);
787
- return;
788
- }
789
- if (status.profileInstalled && !status.cacheExists) {
790
- defaultRuntime.log(theme.muted("Regenerating shell completion cache..."));
791
- await ensureCompletionCacheExists(CLI_NAME);
792
- return;
793
- }
794
- if (!status.profileInstalled) {
795
- defaultRuntime.log("");
796
- defaultRuntime.log(theme.heading("Shell completion"));
797
- const shouldInstall = await confirm({
798
- message: stylePromptMessage(`Enable ${status.shell} shell completion for ${CLI_NAME}?`),
799
- initialValue: true
800
- });
801
- if (isCancel(shouldInstall) || !shouldInstall) {
802
- if (!opts.skipPrompt) defaultRuntime.log(theme.muted(`Skipped. Run \`${replaceCliName(formatCliCommand("genesis completion --install"), CLI_NAME)}\` later to enable.`));
803
- return;
804
- }
805
- if (!await ensureCompletionCacheExists(CLI_NAME)) {
806
- defaultRuntime.log(theme.warn("Failed to generate completion cache."));
807
- return;
808
- }
809
- await installCompletion(status.shell, opts.skipPrompt, CLI_NAME);
810
- }
811
- }
812
- async function runPackageInstallUpdate(params) {
813
- const manager = await resolveGlobalManager({
814
- root: params.root,
815
- installKind: params.installKind,
816
- timeoutMs: params.timeoutMs
817
- });
818
- const installEnv = await createGlobalInstallEnv();
819
- const runCommand = createGlobalCommandRunner();
820
- const installTarget = await resolveGlobalInstallTarget({
821
- manager,
822
- runCommand,
823
- timeoutMs: params.timeoutMs,
824
- pkgRoot: params.root
825
- });
826
- const pkgRoot = installTarget.packageRoot;
827
- const packageName = (pkgRoot ? await readPackageName(pkgRoot) : await readPackageName(params.root)) ?? "@pixelzx/genesis";
828
- const installSpec = resolveGlobalInstallSpec({
829
- packageName,
830
- tag: params.tag,
831
- env: installEnv
832
- });
833
- const beforeVersion = pkgRoot ? await readPackageVersion(pkgRoot) : null;
834
- if (pkgRoot) await cleanupGlobalRenameDirs({
835
- globalRoot: path.dirname(pkgRoot),
836
- packageName
837
- });
838
- const updateStep = await runUpdateStep({
839
- name: "global update",
840
- argv: globalInstallArgs(installTarget, installSpec),
841
- env: installEnv,
842
- timeoutMs: params.timeoutMs,
843
- progress: params.progress
844
- });
845
- const steps = [updateStep];
846
- let finalInstallStep = updateStep;
847
- if (updateStep.exitCode !== 0) {
848
- const fallbackArgv = globalInstallFallbackArgs(installTarget, installSpec);
849
- if (fallbackArgv) {
850
- const fallbackStep = await runUpdateStep({
851
- name: "global update (omit optional)",
852
- argv: fallbackArgv,
853
- env: installEnv,
854
- timeoutMs: params.timeoutMs,
855
- progress: params.progress
856
- });
857
- steps.push(fallbackStep);
858
- finalInstallStep = fallbackStep;
859
- }
860
- }
861
- let afterVersion = beforeVersion;
862
- const verifiedPackageRoot = (await resolveGlobalInstallTarget({
863
- manager: installTarget,
864
- runCommand,
865
- timeoutMs: params.timeoutMs,
866
- pkgRoot
867
- })).packageRoot ?? pkgRoot;
868
- if (verifiedPackageRoot) {
869
- afterVersion = await readPackageVersion(verifiedPackageRoot);
870
- const verificationErrors = await collectInstalledGlobalPackageErrors({
871
- packageRoot: verifiedPackageRoot,
872
- expectedVersion: resolveExpectedInstalledVersionFromSpec(packageName, installSpec)
873
- });
874
- if (verificationErrors.length > 0) steps.push({
875
- name: "global install verify",
876
- command: `verify ${verifiedPackageRoot}`,
877
- cwd: verifiedPackageRoot,
878
- durationMs: 0,
879
- exitCode: 1,
880
- stderrTail: verificationErrors.join("\n"),
881
- stdoutTail: null
882
- });
883
- const entryPath = await resolveGatewayInstallEntrypoint(verifiedPackageRoot);
884
- if (entryPath) {
885
- const doctorStep = await runUpdateStep({
886
- name: `${CLI_NAME} doctor`,
887
- argv: [
888
- resolveNodeRunner(),
889
- entryPath,
890
- "doctor",
891
- "--non-interactive"
892
- ],
893
- env: {
894
- ...process.env,
895
- GENESIS_UPDATE_IN_PROGRESS: "1"
896
- },
897
- timeoutMs: params.timeoutMs,
898
- progress: params.progress
899
- });
900
- steps.push(doctorStep);
901
- }
902
- }
903
- const failedStep = finalInstallStep.exitCode !== 0 ? finalInstallStep : steps.find((step) => step.name === "global install verify" && step.exitCode !== 0) ?? steps.find((step) => step.name === `${CLI_NAME} doctor` && step.exitCode !== 0);
904
- return {
905
- status: failedStep ? "error" : "ok",
906
- mode: manager,
907
- root: verifiedPackageRoot ?? params.root,
908
- reason: failedStep ? failedStep.name : void 0,
909
- before: { version: beforeVersion },
910
- after: { version: afterVersion },
911
- steps,
912
- durationMs: Date.now() - params.startedAt
913
- };
914
- }
915
- async function runGitUpdate(params) {
916
- const updateRoot = params.switchToGit ? resolveGitInstallDir() : params.root;
917
- const effectiveTimeout = params.timeoutMs ?? 20 * 6e4;
918
- const installEnv = await createGlobalInstallEnv();
919
- const cloneStep = params.switchToGit ? await ensureGitCheckout({
920
- dir: updateRoot,
921
- env: installEnv,
922
- timeoutMs: effectiveTimeout,
923
- progress: params.progress
924
- }) : null;
925
- if (cloneStep && cloneStep.exitCode !== 0) {
926
- const result = {
927
- status: "error",
928
- mode: "git",
929
- root: updateRoot,
930
- reason: cloneStep.name,
931
- steps: [cloneStep],
932
- durationMs: Date.now() - params.startedAt
933
- };
934
- params.stop();
935
- printResult(result, {
936
- ...params.opts,
937
- hideSteps: params.showProgress
938
- });
939
- defaultRuntime.exit(1);
940
- return result;
941
- }
942
- const updateResult = await runGatewayUpdate({
943
- cwd: updateRoot,
944
- argv1: params.switchToGit ? void 0 : process.argv[1],
945
- timeoutMs: params.timeoutMs,
946
- progress: params.progress,
947
- channel: params.channel,
948
- tag: params.tag,
949
- devTargetRef: params.devTargetRef
950
- });
951
- const steps = [...cloneStep ? [cloneStep] : [], ...updateResult.steps];
952
- if (params.switchToGit && updateResult.status === "ok") {
953
- const installStep = await runUpdateStep({
954
- name: "global install",
955
- argv: globalInstallArgs(await resolveGlobalInstallTarget({
956
- manager: await resolveGlobalManager({
957
- root: params.root,
958
- installKind: params.installKind,
959
- timeoutMs: effectiveTimeout
960
- }),
961
- runCommand: createGlobalCommandRunner(),
962
- timeoutMs: effectiveTimeout,
963
- pkgRoot: params.root
964
- }), updateRoot),
965
- cwd: updateRoot,
966
- env: installEnv,
967
- timeoutMs: effectiveTimeout,
968
- progress: params.progress
969
- });
970
- steps.push(installStep);
971
- const failedStep = installStep.exitCode !== 0 ? installStep : null;
972
- return {
973
- ...updateResult,
974
- status: updateResult.status === "ok" && !failedStep ? "ok" : "error",
975
- steps,
976
- durationMs: Date.now() - params.startedAt
977
- };
978
- }
979
- return {
980
- ...updateResult,
981
- steps,
982
- durationMs: Date.now() - params.startedAt
983
- };
984
- }
985
- async function updatePluginsAfterCoreUpdate(params) {
986
- if (!params.configSnapshot.valid) {
987
- if (!params.opts.json) defaultRuntime.log(theme.warn("Skipping plugin updates: config is invalid."));
988
- return {
989
- status: "skipped",
990
- reason: "invalid-config",
991
- changed: false,
992
- sync: {
993
- changed: false,
994
- switchedToBundled: [],
995
- switchedToNpm: [],
996
- warnings: [],
997
- errors: []
998
- },
999
- npm: {
1000
- changed: false,
1001
- outcomes: []
1002
- },
1003
- integrityDrifts: []
1004
- };
1005
- }
1006
- const pluginLogger = params.opts.json ? {} : {
1007
- info: (msg) => defaultRuntime.log(msg),
1008
- warn: (msg) => defaultRuntime.log(theme.warn(msg)),
1009
- error: (msg) => defaultRuntime.log(theme.error(msg))
1010
- };
1011
- if (!params.opts.json) {
1012
- defaultRuntime.log("");
1013
- defaultRuntime.log(theme.heading("Updating plugins..."));
1014
- }
1015
- const syncResult = await syncPluginsForUpdateChannel({
1016
- config: params.configSnapshot.sourceConfig,
1017
- channel: params.channel,
1018
- workspaceDir: params.root,
1019
- logger: pluginLogger
1020
- });
1021
- let pluginConfig = syncResult.config;
1022
- const integrityDrifts = [];
1023
- const npmResult = await updateNpmInstalledPlugins({
1024
- config: pluginConfig,
1025
- skipIds: new Set(syncResult.summary.switchedToNpm),
1026
- logger: pluginLogger,
1027
- onIntegrityDrift: async (drift) => {
1028
- integrityDrifts.push({
1029
- pluginId: drift.pluginId,
1030
- spec: drift.spec,
1031
- expectedIntegrity: drift.expectedIntegrity,
1032
- actualIntegrity: drift.actualIntegrity,
1033
- ...drift.resolvedSpec ? { resolvedSpec: drift.resolvedSpec } : {},
1034
- ...drift.resolvedVersion ? { resolvedVersion: drift.resolvedVersion } : {},
1035
- action: "aborted"
1036
- });
1037
- if (!params.opts.json) {
1038
- const specLabel = drift.resolvedSpec ?? drift.spec;
1039
- defaultRuntime.log(theme.warn(`Integrity drift detected for "${drift.pluginId}" (${specLabel})\nExpected: ${drift.expectedIntegrity}\nActual: ${drift.actualIntegrity}
1040
- Plugin update aborted. Reinstall the plugin only if you trust the new artifact.`));
1041
- }
1042
- return false;
1043
- }
1044
- });
1045
- pluginConfig = npmResult.config;
1046
- if (syncResult.changed || npmResult.changed) await replaceConfigFile({
1047
- nextConfig: pluginConfig,
1048
- baseHash: params.configSnapshot.hash
1049
- });
1050
- if (params.opts.json) return {
1051
- status: syncResult.summary.errors.length > 0 || npmResult.outcomes.some((outcome) => outcome.status === "error") ? "error" : "ok",
1052
- changed: syncResult.changed || npmResult.changed,
1053
- sync: {
1054
- changed: syncResult.changed,
1055
- switchedToBundled: syncResult.summary.switchedToBundled,
1056
- switchedToNpm: syncResult.summary.switchedToNpm,
1057
- warnings: syncResult.summary.warnings,
1058
- errors: syncResult.summary.errors
1059
- },
1060
- npm: {
1061
- changed: npmResult.changed,
1062
- outcomes: npmResult.outcomes
1063
- },
1064
- integrityDrifts
1065
- };
1066
- const summarizeList = (list) => {
1067
- if (list.length <= 6) return list.join(", ");
1068
- return `${list.slice(0, 6).join(", ")} +${list.length - 6} more`;
1069
- };
1070
- if (syncResult.summary.switchedToBundled.length > 0) defaultRuntime.log(theme.muted(`Switched to bundled plugins: ${summarizeList(syncResult.summary.switchedToBundled)}.`));
1071
- if (syncResult.summary.switchedToNpm.length > 0) defaultRuntime.log(theme.muted(`Restored npm plugins: ${summarizeList(syncResult.summary.switchedToNpm)}.`));
1072
- for (const warning of syncResult.summary.warnings) defaultRuntime.log(theme.warn(warning));
1073
- for (const error of syncResult.summary.errors) defaultRuntime.log(theme.error(error));
1074
- const updated = npmResult.outcomes.filter((entry) => entry.status === "updated").length;
1075
- const unchanged = npmResult.outcomes.filter((entry) => entry.status === "unchanged").length;
1076
- const failed = npmResult.outcomes.filter((entry) => entry.status === "error").length;
1077
- const skipped = npmResult.outcomes.filter((entry) => entry.status === "skipped").length;
1078
- if (npmResult.outcomes.length === 0) defaultRuntime.log(theme.muted("No plugin updates needed."));
1079
- else {
1080
- const parts = [`${updated} updated`, `${unchanged} unchanged`];
1081
- if (failed > 0) parts.push(`${failed} failed`);
1082
- if (skipped > 0) parts.push(`${skipped} skipped`);
1083
- defaultRuntime.log(theme.muted(`npm plugins: ${parts.join(", ")}.`));
1084
- }
1085
- for (const outcome of npmResult.outcomes) {
1086
- if (outcome.status !== "error") continue;
1087
- defaultRuntime.log(theme.error(outcome.message));
1088
- }
1089
- return {
1090
- status: syncResult.summary.errors.length > 0 || npmResult.outcomes.some((outcome) => outcome.status === "error") ? "error" : "ok",
1091
- changed: syncResult.changed || npmResult.changed,
1092
- sync: {
1093
- changed: syncResult.changed,
1094
- switchedToBundled: syncResult.summary.switchedToBundled,
1095
- switchedToNpm: syncResult.summary.switchedToNpm,
1096
- warnings: syncResult.summary.warnings,
1097
- errors: syncResult.summary.errors
1098
- },
1099
- npm: {
1100
- changed: npmResult.changed,
1101
- outcomes: npmResult.outcomes
1102
- },
1103
- integrityDrifts
1104
- };
1105
- }
1106
- async function maybeRestartService(params) {
1107
- if (params.shouldRestart) {
1108
- if (!params.opts.json) {
1109
- defaultRuntime.log("");
1110
- defaultRuntime.log(theme.heading("Restarting service..."));
1111
- }
1112
- try {
1113
- let restarted = false;
1114
- let restartInitiated = false;
1115
- if (params.refreshServiceEnv) try {
1116
- await refreshGatewayServiceEnv({
1117
- result: params.result,
1118
- jsonMode: Boolean(params.opts.json),
1119
- invocationCwd: params.invocationCwd
1120
- });
1121
- } catch (err) {
1122
- const message = `Failed to refresh gateway service environment from updated install: ${String(err)}`;
1123
- if (params.opts.json) defaultRuntime.error(message);
1124
- else defaultRuntime.log(theme.warn(message));
1125
- }
1126
- if (params.restartScriptPath) {
1127
- await runRestartScript(params.restartScriptPath);
1128
- restartInitiated = true;
1129
- } else restarted = await runDaemonRestart();
1130
- if (!params.opts.json && restarted) {
1131
- defaultRuntime.log(theme.success("Daemon restarted successfully."));
1132
- defaultRuntime.log("");
1133
- process.env.GENESIS_UPDATE_IN_PROGRESS = "1";
1134
- try {
1135
- await doctorCommand(defaultRuntime, { nonInteractive: !(process.stdin.isTTY && !params.opts.json && params.opts.yes !== true) });
1136
- } catch (err) {
1137
- defaultRuntime.log(theme.warn(`Doctor failed: ${String(err)}`));
1138
- } finally {
1139
- delete process.env.GENESIS_UPDATE_IN_PROGRESS;
1140
- }
1141
- }
1142
- if (!params.opts.json && restartInitiated) {
1143
- const service = resolveGatewayService();
1144
- let health = await waitForGatewayHealthyRestart({
1145
- service,
1146
- port: params.gatewayPort
1147
- });
1148
- if (!health.healthy && health.staleGatewayPids.length > 0) {
1149
- if (!params.opts.json) defaultRuntime.log(theme.warn(`Found stale gateway process(es) after restart: ${health.staleGatewayPids.join(", ")}. Cleaning up...`));
1150
- await terminateStaleGatewayPids(health.staleGatewayPids);
1151
- await runDaemonRestart();
1152
- health = await waitForGatewayHealthyRestart({
1153
- service,
1154
- port: params.gatewayPort
1155
- });
1156
- }
1157
- if (health.healthy) defaultRuntime.log(theme.success("Daemon restart completed."));
1158
- else {
1159
- defaultRuntime.log(theme.warn("Gateway did not become healthy after restart."));
1160
- for (const line of renderRestartDiagnostics(health)) defaultRuntime.log(theme.muted(line));
1161
- defaultRuntime.log(theme.muted(`Restart log: ${resolveGatewayRestartLogPath(process.env)}`));
1162
- defaultRuntime.log(theme.muted(`Run \`${replaceCliName(formatCliCommand("genesis gateway status --deep"), CLI_NAME)}\` for details.`));
1163
- }
1164
- defaultRuntime.log("");
1165
- }
1166
- } catch (err) {
1167
- if (!params.opts.json) {
1168
- defaultRuntime.log(theme.warn(`Daemon restart failed: ${String(err)}`));
1169
- defaultRuntime.log(theme.muted(`You may need to restart the service manually: ${replaceCliName(formatCliCommand("genesis gateway restart"), CLI_NAME)}`));
1170
- }
1171
- }
1172
- return;
1173
- }
1174
- if (!params.opts.json) {
1175
- defaultRuntime.log("");
1176
- if (params.result.mode === "npm" || params.result.mode === "pnpm") defaultRuntime.log(theme.muted(`Tip: Run \`${replaceCliName(formatCliCommand("genesis doctor"), CLI_NAME)}\`, then \`${replaceCliName(formatCliCommand("genesis gateway restart"), CLI_NAME)}\` to apply updates to a running gateway.`));
1177
- else defaultRuntime.log(theme.muted(`Tip: Run \`${replaceCliName(formatCliCommand("genesis gateway restart"), CLI_NAME)}\` to apply updates to a running gateway.`));
1178
- }
1179
- }
1180
- async function runPostCorePluginUpdate(params) {
1181
- return await updatePluginsAfterCoreUpdate({
1182
- root: params.root,
1183
- channel: params.channel,
1184
- configSnapshot: params.configSnapshot,
1185
- opts: params.opts
1186
- });
1187
- }
1188
- async function writePostCorePluginUpdateResultFile(filePath, result) {
1189
- if (!filePath) return;
1190
- await fs.writeFile(filePath, `${JSON.stringify(result)}\n`, "utf-8");
1191
- }
1192
- async function readPostCorePluginUpdateResultFile(filePath) {
1193
- try {
1194
- const raw = await fs.readFile(filePath, "utf-8");
1195
- const parsed = JSON.parse(raw);
1196
- if (parsed && typeof parsed === "object" && (parsed.status === "ok" || parsed.status === "skipped" || parsed.status === "error")) return parsed;
1197
- } catch {
1198
- return;
1199
- }
1200
- }
1201
- async function continuePostCoreUpdateInFreshProcess(params) {
1202
- const entryPath = path.join(params.root, "dist", "entry.js");
1203
- if (!await pathExists(entryPath)) return { resumed: false };
1204
- const argv = [entryPath, "update"];
1205
- if (params.opts.json) argv.push("--json");
1206
- if (params.opts.restart === false) argv.push("--no-restart");
1207
- if (params.opts.yes) argv.push("--yes");
1208
- const resultDir = params.opts.json === true ? await fs.mkdtemp(path.join(os.tmpdir(), "genesis-update-post-core-")) : null;
1209
- const resultPath = resultDir ? path.join(resultDir, "plugins.json") : null;
1210
- try {
1211
- const child = spawn(resolveNodeRunner(), argv, {
1212
- stdio: "inherit",
1213
- env: {
1214
- ...process.env,
1215
- [POST_CORE_UPDATE_ENV]: "1",
1216
- [POST_CORE_UPDATE_CHANNEL_ENV]: params.channel,
1217
- ...resultPath ? { [POST_CORE_UPDATE_RESULT_PATH_ENV]: resultPath } : {}
1218
- }
1219
- });
1220
- const exitCode = await new Promise((resolve, reject) => {
1221
- child.once("error", reject);
1222
- child.once("exit", (code, signal) => {
1223
- if (signal) {
1224
- reject(/* @__PURE__ */ new Error(`post-update process terminated by signal ${signal}`));
1225
- return;
1226
- }
1227
- resolve(code ?? 1);
1228
- });
1229
- });
1230
- if (exitCode !== 0) {
1231
- defaultRuntime.exit(exitCode);
1232
- throw new Error(`post-update process exited with code ${exitCode}`);
1233
- }
1234
- const pluginUpdate = resultPath ? await readPostCorePluginUpdateResultFile(resultPath) : void 0;
1235
- return {
1236
- resumed: true,
1237
- ...pluginUpdate ? { pluginUpdate } : {}
1238
- };
1239
- } finally {
1240
- if (resultDir) await fs.rm(resultDir, {
1241
- recursive: true,
1242
- force: true
1243
- }).catch(() => void 0);
1244
- }
1245
- }
1246
- function shouldResumePostCoreUpdateInFreshProcess(params) {
1247
- return isPackageManagerUpdateMode(params.result.mode) && !params.downgradeRisk;
1248
- }
1249
- async function updateCommand(opts) {
1250
- suppressDeprecations();
1251
- const invocationCwd = tryResolveInvocationCwd();
1252
- const postCoreUpdateResume = process.env[POST_CORE_UPDATE_ENV] === "1";
1253
- const postCoreUpdateChannel = process.env[POST_CORE_UPDATE_CHANNEL_ENV]?.trim();
1254
- const timeoutMs = parseTimeoutMsOrExit(opts.timeout);
1255
- const shouldRestart = opts.restart !== false;
1256
- if (timeoutMs === null) return;
1257
- const root = await resolveUpdateRoot();
1258
- if (postCoreUpdateResume) {
1259
- if (postCoreUpdateChannel !== "stable" && postCoreUpdateChannel !== "beta" && postCoreUpdateChannel !== "dev") {
1260
- defaultRuntime.error("Missing post-core update channel context.");
1261
- defaultRuntime.exit(1);
1262
- return;
1263
- }
1264
- const pluginUpdate = await runPostCorePluginUpdate({
1265
- root,
1266
- channel: postCoreUpdateChannel,
1267
- configSnapshot: await readConfigFileSnapshot(),
1268
- opts
1269
- });
1270
- if (opts.json) {
1271
- await writePostCorePluginUpdateResultFile(process.env[POST_CORE_UPDATE_RESULT_PATH_ENV], pluginUpdate);
1272
- if (!process.env[POST_CORE_UPDATE_RESULT_PATH_ENV]) {
1273
- const result = {
1274
- status: pluginUpdate.status === "error" ? "error" : "ok",
1275
- mode: "unknown",
1276
- root,
1277
- steps: [],
1278
- durationMs: 0,
1279
- postUpdate: { plugins: pluginUpdate }
1280
- };
1281
- defaultRuntime.writeJson(result);
1282
- }
1283
- }
1284
- return;
1285
- }
1286
- const updateStatus = await checkUpdateStatus({
1287
- root,
1288
- timeoutMs: timeoutMs ?? 3500,
1289
- fetchGit: false,
1290
- includeRegistry: false
1291
- });
1292
- const configSnapshot = await readConfigFileSnapshot();
1293
- const storedChannel = configSnapshot.valid ? normalizeUpdateChannel(configSnapshot.config.update?.channel) : null;
1294
- const requestedChannel = normalizeUpdateChannel(opts.channel);
1295
- if (opts.channel && !requestedChannel) {
1296
- defaultRuntime.error(`--channel must be "stable", "beta", or "dev" (got "${opts.channel}")`);
1297
- defaultRuntime.exit(1);
1298
- return;
1299
- }
1300
- if (opts.channel && !configSnapshot.valid) {
1301
- const issues = formatConfigIssueLines(configSnapshot.issues, "-");
1302
- defaultRuntime.error(["Config is invalid; cannot set update channel.", ...issues].join("\n"));
1303
- defaultRuntime.exit(1);
1304
- return;
1305
- }
1306
- const installKind = updateStatus.installKind;
1307
- const switchToGit = requestedChannel === "dev" && installKind !== "git";
1308
- const switchToPackage = requestedChannel !== null && requestedChannel !== "dev" && installKind === "git";
1309
- const updateInstallKind = switchToGit ? "git" : switchToPackage ? "package" : installKind;
1310
- const inferredChannel = resolveEffectiveUpdateChannel({
1311
- configChannel: storedChannel,
1312
- installKind: updateInstallKind,
1313
- git: updateStatus.git ? {
1314
- tag: updateStatus.git.tag ?? null,
1315
- branch: updateStatus.git.branch ?? null
1316
- } : void 0
1317
- });
1318
- const channel = requestedChannel ?? inferredChannel.channel;
1319
- const devTargetRef = channel === "dev" ? process.env.GENESIS_UPDATE_DEV_TARGET_REF?.trim() || void 0 : void 0;
1320
- const explicitTag = normalizeTag(opts.tag);
1321
- let tag = explicitTag ?? channelToNpmTag(channel);
1322
- let currentVersion = null;
1323
- let targetVersion = null;
1324
- let downgradeRisk = false;
1325
- let fallbackToLatest = false;
1326
- let packageInstallSpec = null;
1327
- let packageName = DEFAULT_PACKAGE_NAME;
1328
- let packageAlreadyCurrent = false;
1329
- if (updateInstallKind !== "git") {
1330
- packageName = switchToPackage ? DEFAULT_PACKAGE_NAME : await readPackageName(root) ?? "@pixelzx/genesis";
1331
- currentVersion = switchToPackage ? null : await readPackageVersion(root);
1332
- if (explicitTag) targetVersion = await resolveTargetVersion(tag, timeoutMs, packageName);
1333
- else targetVersion = await resolveNpmChannelTag({
1334
- packageName,
1335
- channel,
1336
- timeoutMs
1337
- }).then((resolved) => {
1338
- tag = resolved.tag;
1339
- fallbackToLatest = channel === "beta" && resolved.tag === "latest";
1340
- return resolved.version;
1341
- });
1342
- const cmp = currentVersion && targetVersion ? compareSemverStrings(currentVersion, targetVersion) : null;
1343
- packageAlreadyCurrent = updateInstallKind === "package" && !switchToPackage && currentVersion != null && targetVersion != null && currentVersion === targetVersion && (requestedChannel === null || requestedChannel === storedChannel);
1344
- downgradeRisk = canResolveRegistryVersionForPackageTarget(tag) && !fallbackToLatest && currentVersion != null && (targetVersion == null || cmp != null && cmp > 0);
1345
- packageInstallSpec = resolveGlobalInstallSpec({
1346
- packageName,
1347
- tag,
1348
- env: process.env
1349
- });
1350
- }
1351
- if (opts.dryRun) {
1352
- let mode = "unknown";
1353
- if (updateInstallKind === "git") mode = "git";
1354
- else if (updateInstallKind === "package") mode = await resolveGlobalManager({
1355
- root,
1356
- installKind,
1357
- timeoutMs: timeoutMs ?? 20 * 6e4
1358
- });
1359
- const actions = [];
1360
- if (requestedChannel && requestedChannel !== storedChannel) actions.push(`Persist update.channel=${requestedChannel} in config`);
1361
- if (switchToGit) actions.push("Switch install mode from package to git checkout (dev channel)");
1362
- else if (switchToPackage) actions.push(`Switch install mode from git to package manager (${mode})`);
1363
- else if (updateInstallKind === "git") actions.push(`Run git update flow on channel ${channel} (fetch/rebase/build/doctor)`);
1364
- else if (packageAlreadyCurrent) actions.push(`Refresh package install with spec ${packageInstallSpec ?? tag}; current version already matches ${targetVersion}`);
1365
- else actions.push(`Run global package manager update with spec ${packageInstallSpec ?? tag}`);
1366
- actions.push("Run plugin update sync after core update");
1367
- actions.push("Refresh shell completion cache (if needed)");
1368
- actions.push(shouldRestart ? "Restart gateway service and run doctor checks" : "Skip restart (because --no-restart is set)");
1369
- const notes = [];
1370
- if (opts.tag && updateInstallKind === "git") notes.push("--tag applies to npm installs only; git updates ignore it.");
1371
- if (fallbackToLatest) notes.push("Beta channel resolves to latest for this run (fallback).");
1372
- if (explicitTag && !canResolveRegistryVersionForPackageTarget(tag)) notes.push("Non-registry package specs skip npm version lookup and downgrade previews.");
1373
- printDryRunPreview({
1374
- dryRun: true,
1375
- root,
1376
- installKind,
1377
- mode,
1378
- updateInstallKind,
1379
- switchToGit,
1380
- switchToPackage,
1381
- restart: shouldRestart,
1382
- requestedChannel,
1383
- storedChannel,
1384
- effectiveChannel: channel,
1385
- tag: packageInstallSpec ?? tag,
1386
- currentVersion,
1387
- targetVersion,
1388
- downgradeRisk,
1389
- actions,
1390
- notes
1391
- }, Boolean(opts.json));
1392
- return;
1393
- }
1394
- if (downgradeRisk && !opts.yes) {
1395
- if (!process.stdin.isTTY || opts.json) {
1396
- defaultRuntime.error(["Downgrade confirmation required.", "Downgrading can break configuration. Re-run in a TTY to confirm."].join("\n"));
1397
- defaultRuntime.exit(1);
1398
- return;
1399
- }
1400
- const targetLabel = targetVersion ?? `${tag} (unknown)`;
1401
- const ok = await confirm({
1402
- message: stylePromptMessage(`Downgrading from ${currentVersion} to ${targetLabel} can break configuration. Continue?`),
1403
- initialValue: false
1404
- });
1405
- if (isCancel(ok) || !ok) {
1406
- if (!opts.json) defaultRuntime.log(theme.muted("Update cancelled."));
1407
- defaultRuntime.exit(0);
1408
- return;
1409
- }
1410
- }
1411
- if (updateInstallKind === "git" && opts.tag && !opts.json) defaultRuntime.log(theme.muted("Note: --tag applies to npm installs only; git updates ignore it."));
1412
- if (updateInstallKind === "package") {
1413
- const runtimePreflightError = await resolvePackageRuntimePreflightError({
1414
- packageName,
1415
- tag,
1416
- timeoutMs
1417
- });
1418
- if (runtimePreflightError) {
1419
- defaultRuntime.error(runtimePreflightError);
1420
- defaultRuntime.exit(1);
1421
- return;
1422
- }
1423
- }
1424
- const showProgress = !opts.json && process.stdout.isTTY;
1425
- if (!opts.json) {
1426
- defaultRuntime.log(theme.heading("Updating Genesis..."));
1427
- defaultRuntime.log("");
1428
- }
1429
- const { progress, stop } = createUpdateProgress(showProgress);
1430
- const startedAt = Date.now();
1431
- const result = updateInstallKind === "package" ? await runPackageInstallUpdate({
1432
- root,
1433
- installKind,
1434
- tag,
1435
- timeoutMs: timeoutMs ?? 20 * 6e4,
1436
- startedAt,
1437
- progress
1438
- }) : await runGitUpdate({
1439
- root,
1440
- switchToGit,
1441
- installKind,
1442
- timeoutMs,
1443
- startedAt,
1444
- progress,
1445
- channel,
1446
- tag,
1447
- showProgress,
1448
- opts,
1449
- stop,
1450
- devTargetRef
1451
- });
1452
- stop();
1453
- if (!opts.json || result.status !== "ok") printResult(result, {
1454
- ...opts,
1455
- hideSteps: showProgress
1456
- });
1457
- if (result.status === "error") {
1458
- defaultRuntime.exit(1);
1459
- return;
1460
- }
1461
- if (result.status === "skipped") {
1462
- if (result.reason === "dirty") {
1463
- defaultRuntime.error(theme.error("Update blocked: local files are edited in this checkout."));
1464
- defaultRuntime.log(theme.warn("Git-based updates need a clean working tree before they can switch commits, fetch, or rebase."));
1465
- defaultRuntime.log(theme.muted("Commit, stash, or discard the local changes, then rerun `genesis update`."));
1466
- }
1467
- if (result.reason === "not-git-install") {
1468
- defaultRuntime.log(theme.warn(`Skipped: this Genesis install isn't a git checkout, and the package manager couldn't be detected. Update via your package manager, then run \`${replaceCliName(formatCliCommand("genesis doctor"), CLI_NAME)}\` and \`${replaceCliName(formatCliCommand("genesis gateway restart"), CLI_NAME)}\`.`));
1469
- defaultRuntime.log(theme.muted(`Examples: \`${replaceCliName(`npm i -g ${DEFAULT_PACKAGE_NAME}@latest`, CLI_NAME)}\` or \`${replaceCliName(`pnpm add -g ${DEFAULT_PACKAGE_NAME}@latest`, CLI_NAME)}\``));
1470
- }
1471
- defaultRuntime.exit(0);
1472
- return;
1473
- }
1474
- if (switchToGit && result.status === "ok" && result.mode === "git") {
1475
- if (!opts.json) defaultRuntime.log(theme.muted("Switched from a package install to a git checkout. Skipping remaining post-update work in the old CLI process; rerun follow-up commands from the new git install if needed."));
1476
- else defaultRuntime.writeJson(result);
1477
- defaultRuntime.exit(0);
1478
- return;
1479
- }
1480
- let postUpdateConfigSnapshot = configSnapshot;
1481
- if (requestedChannel && configSnapshot.valid && requestedChannel !== storedChannel) if (switchToGit) {
1482
- if (!opts.json) defaultRuntime.log(theme.muted(`Skipped persisting update.channel=${requestedChannel} in the pre-update CLI process after switching to a git install.`));
1483
- } else {
1484
- const next = {
1485
- ...configSnapshot.sourceConfig,
1486
- update: {
1487
- ...configSnapshot.sourceConfig.update,
1488
- channel: requestedChannel
1489
- }
1490
- };
1491
- await replaceConfigFile({
1492
- nextConfig: next,
1493
- baseHash: configSnapshot.hash
1494
- });
1495
- postUpdateConfigSnapshot = {
1496
- ...configSnapshot,
1497
- hash: void 0,
1498
- parsed: next,
1499
- sourceConfig: asResolvedSourceConfig(next),
1500
- resolved: asResolvedSourceConfig(next),
1501
- runtimeConfig: asRuntimeConfig(next),
1502
- config: asRuntimeConfig(next)
1503
- };
1504
- if (!opts.json) defaultRuntime.log(theme.muted(`Update channel set to ${requestedChannel}.`));
1505
- }
1506
- const postUpdateRoot = result.root ?? root;
1507
- let postCorePluginUpdate;
1508
- let pluginsUpdatedInFreshProcess = false;
1509
- if (shouldResumePostCoreUpdateInFreshProcess({
1510
- result,
1511
- downgradeRisk
1512
- })) {
1513
- const freshProcessResult = await continuePostCoreUpdateInFreshProcess({
1514
- root: postUpdateRoot,
1515
- channel,
1516
- opts
1517
- });
1518
- pluginsUpdatedInFreshProcess = freshProcessResult.resumed;
1519
- postCorePluginUpdate = freshProcessResult.pluginUpdate;
1520
- }
1521
- const deferOldProcessPostUpdateWork = switchToGit && result.mode === "git";
1522
- if (deferOldProcessPostUpdateWork) {
1523
- if (!opts.json) defaultRuntime.log(theme.muted("Skipped plugin update sync in the pre-update CLI process after switching to a git install."));
1524
- } else if (!pluginsUpdatedInFreshProcess) postCorePluginUpdate = await runPostCorePluginUpdate({
1525
- root: postUpdateRoot,
1526
- channel,
1527
- configSnapshot: postUpdateConfigSnapshot,
1528
- opts
1529
- });
1530
- let restartScriptPath = null;
1531
- let refreshGatewayServiceEnv = false;
1532
- const gatewayPort = resolveGatewayPort(postUpdateConfigSnapshot.valid ? postUpdateConfigSnapshot.config : void 0, process.env);
1533
- if (shouldRestart) try {
1534
- if (await resolveGatewayService().isLoaded({ env: process.env })) {
1535
- restartScriptPath = await prepareRestartScript(process.env, gatewayPort);
1536
- refreshGatewayServiceEnv = true;
1537
- }
1538
- } catch {}
1539
- if (deferOldProcessPostUpdateWork) {
1540
- if (!opts.json) defaultRuntime.log(theme.muted("Skipped completion/restart follow-ups in the pre-update CLI process after switching to a git install."));
1541
- } else {
1542
- await tryWriteCompletionCache(postUpdateRoot, Boolean(opts.json));
1543
- await tryInstallShellCompletion({
1544
- jsonMode: Boolean(opts.json),
1545
- skipPrompt: Boolean(opts.yes)
1546
- });
1547
- await maybeRestartService({
1548
- shouldRestart,
1549
- result,
1550
- opts,
1551
- refreshServiceEnv: refreshGatewayServiceEnv,
1552
- gatewayPort,
1553
- restartScriptPath,
1554
- invocationCwd
1555
- });
1556
- }
1557
- if (!opts.json) defaultRuntime.log(theme.muted(pickUpdateQuip()));
1558
- else defaultRuntime.writeJson({
1559
- ...result,
1560
- ...postCorePluginUpdate ? { postUpdate: { plugins: postCorePluginUpdate } } : {}
1561
- });
1562
- }
1563
- //#endregion
1564
- //#region src/cli/update-cli/wizard.ts
1565
- async function updateWizardCommand(opts = {}) {
1566
- if (!process.stdin.isTTY) {
1567
- defaultRuntime.error("Update wizard requires a TTY. Use `genesis update --channel <stable|beta|dev>` instead.");
1568
- defaultRuntime.exit(1);
1569
- return;
1570
- }
1571
- const timeoutMs = parseTimeoutMsOrExit(opts.timeout);
1572
- if (timeoutMs === null) return;
1573
- const root = await resolveUpdateRoot();
1574
- const [updateStatus, configSnapshot] = await Promise.all([checkUpdateStatus({
1575
- root,
1576
- timeoutMs: timeoutMs ?? 3500,
1577
- fetchGit: false,
1578
- includeRegistry: false
1579
- }), readConfigFileSnapshot()]);
1580
- const channelInfo = resolveEffectiveUpdateChannel({
1581
- configChannel: configSnapshot.valid ? normalizeUpdateChannel(configSnapshot.config.update?.channel) : null,
1582
- installKind: updateStatus.installKind,
1583
- git: updateStatus.git ? {
1584
- tag: updateStatus.git.tag,
1585
- branch: updateStatus.git.branch
1586
- } : void 0
1587
- });
1588
- const channelLabel = formatUpdateChannelLabel({
1589
- channel: channelInfo.channel,
1590
- source: channelInfo.source,
1591
- gitTag: updateStatus.git?.tag ?? null,
1592
- gitBranch: updateStatus.git?.branch ?? null
1593
- });
1594
- const pickedChannel = await selectStyled({
1595
- message: "Update channel",
1596
- options: [
1597
- {
1598
- value: "keep",
1599
- label: `Keep current (${channelInfo.channel})`,
1600
- hint: channelLabel
1601
- },
1602
- {
1603
- value: "stable",
1604
- label: "Stable",
1605
- hint: "Tagged releases (npm latest)"
1606
- },
1607
- {
1608
- value: "beta",
1609
- label: "Beta",
1610
- hint: "Prereleases (npm beta)"
1611
- },
1612
- {
1613
- value: "dev",
1614
- label: "Dev",
1615
- hint: "Git main"
1616
- }
1617
- ],
1618
- initialValue: "keep"
1619
- });
1620
- if (isCancel(pickedChannel)) {
1621
- defaultRuntime.log(theme.muted("Update cancelled."));
1622
- defaultRuntime.exit(0);
1623
- return;
1624
- }
1625
- const requestedChannel = pickedChannel === "keep" ? null : pickedChannel;
1626
- if (requestedChannel === "dev" && updateStatus.installKind !== "git") {
1627
- const gitDir = resolveGitInstallDir();
1628
- if (!await isGitCheckout(gitDir)) {
1629
- if (await pathExists(gitDir)) {
1630
- if (!await isEmptyDir(gitDir)) {
1631
- defaultRuntime.error(`GENESIS_GIT_DIR points at a non-git directory: ${gitDir}. Set GENESIS_GIT_DIR to an empty folder or an genesis checkout.`);
1632
- defaultRuntime.exit(1);
1633
- return;
1634
- }
1635
- }
1636
- const ok = await confirm({
1637
- message: stylePromptMessage(`Create a git checkout at ${gitDir}? (override via GENESIS_GIT_DIR)`),
1638
- initialValue: true
1639
- });
1640
- if (isCancel(ok) || !ok) {
1641
- defaultRuntime.log(theme.muted("Update cancelled."));
1642
- defaultRuntime.exit(0);
1643
- return;
1644
- }
1645
- }
1646
- }
1647
- const restart = await confirm({
1648
- message: stylePromptMessage("Restart the gateway service after update?"),
1649
- initialValue: true
1650
- });
1651
- if (isCancel(restart)) {
1652
- defaultRuntime.log(theme.muted("Update cancelled."));
1653
- defaultRuntime.exit(0);
1654
- return;
1655
- }
1656
- try {
1657
- await updateCommand({
1658
- channel: requestedChannel ?? void 0,
1659
- restart,
1660
- timeout: opts.timeout
1661
- });
1662
- } catch (err) {
1663
- defaultRuntime.error(String(err));
1664
- defaultRuntime.exit(1);
1665
- }
1666
- }
1667
- //#endregion
1668
- //#region src/cli/update-cli.ts
1669
- function inheritedUpdateJson(command) {
1670
- return Boolean(inheritOptionFromParent(command, "json"));
1671
- }
1672
- function inheritedUpdateTimeout(opts, command) {
1673
- const timeout = opts.timeout;
1674
- if (timeout) return timeout;
1675
- return inheritOptionFromParent(command, "timeout");
1676
- }
1677
- function registerUpdateCli(program) {
1678
- program.enablePositionalOptions();
1679
- const update = program.command("update").description("Update Genesis and inspect update channel status").option("--json", "Output result as JSON", false).option("--no-restart", "Skip restarting the gateway service after a successful update").option("--dry-run", "Preview update actions without making changes", false).option("--channel <stable|beta|dev>", "Persist update channel (git + npm)").option("--tag <dist-tag|version|spec>", "Override the package target for this update (dist-tag, version, or package spec)").option("--timeout <seconds>", "Timeout for each update step in seconds (default: 1200)").option("--yes", "Skip confirmation prompts (non-interactive)", false).addHelpText("after", () => {
1680
- const fmtExamples = [
1681
- ["genesis update", "Update a source checkout (git)"],
1682
- ["genesis update --channel beta", "Switch to beta channel (git + npm)"],
1683
- ["genesis update --channel dev", "Switch to dev channel (git + npm)"],
1684
- ["genesis update --tag beta", "One-off update to a dist-tag or version"],
1685
- ["genesis update --tag main", "One-off package install from GitHub main"],
1686
- ["genesis update --dry-run", "Preview actions without changing anything"],
1687
- ["genesis update --no-restart", "Update without restarting the service"],
1688
- ["genesis update --json", "Output result as JSON"],
1689
- ["genesis update --yes", "Non-interactive (accept downgrade prompts)"],
1690
- ["genesis update wizard", "Interactive update wizard"],
1691
- ["genesis --update", "Shorthand for genesis update"]
1692
- ].map(([cmd, desc]) => ` ${theme.command(cmd)} ${theme.muted(`# ${desc}`)}`).join("\n");
1693
- return `
1694
- ${theme.heading("What this does:")}
1695
- - Git checkouts: fetches, rebases, installs deps, builds, and runs doctor
1696
- - npm installs: updates via detected package manager
1697
-
1698
- ${theme.heading("Switch channels:")}
1699
- - Use --channel stable|beta|dev to persist the update channel in config
1700
- - Run genesis update status to see the active channel and source
1701
- - Use --tag <dist-tag|version|spec> for a one-off package update without persisting
1702
-
1703
- ${theme.heading("Non-interactive:")}
1704
- - Use --yes to accept downgrade prompts
1705
- - Combine with --channel/--tag/--restart/--json/--timeout as needed
1706
- - Use --dry-run to preview actions without writing config/installing/restarting
1707
-
1708
- ${theme.heading("Examples:")}
1709
- ${fmtExamples}
1710
-
1711
- ${theme.heading("Notes:")}
1712
- - Switch channels with --channel stable|beta|dev
1713
- - For global installs: auto-updates via detected package manager when possible (see docs/install/updating.md)
1714
- - Downgrades require confirmation (can break configuration)
1715
- - Skips update if the working directory has uncommitted changes
1716
-
1717
- ${theme.muted("Docs:")} ${formatDocsLink("/cli/update", "docs.genesis.ai/cli/update")}`;
1718
- }).action(async (opts) => {
1719
- try {
1720
- await updateCommand({
1721
- json: Boolean(opts.json),
1722
- restart: Boolean(opts.restart),
1723
- dryRun: Boolean(opts.dryRun),
1724
- channel: opts.channel,
1725
- tag: opts.tag,
1726
- timeout: opts.timeout,
1727
- yes: Boolean(opts.yes)
1728
- });
1729
- } catch (err) {
1730
- defaultRuntime.error(String(err));
1731
- defaultRuntime.exit(1);
1732
- }
1733
- });
1734
- update.command("wizard").description("Interactive update wizard").option("--timeout <seconds>", "Timeout for each update step in seconds (default: 1200)").addHelpText("after", `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/update", "docs.genesis.ai/cli/update")}\n`).action(async (opts, command) => {
1735
- try {
1736
- await updateWizardCommand({ timeout: inheritedUpdateTimeout(opts, command) });
1737
- } catch (err) {
1738
- defaultRuntime.error(String(err));
1739
- defaultRuntime.exit(1);
1740
- }
1741
- });
1742
- update.command("status").description("Show update channel and version status").option("--json", "Output result as JSON", false).option("--timeout <seconds>", "Timeout for update checks in seconds (default: 3)").addHelpText("after", () => `\n${theme.heading("Examples:")}\n${formatHelpExamples([
1743
- ["genesis update status", "Show channel + version status."],
1744
- ["genesis update status --json", "JSON output."],
1745
- ["genesis update status --timeout 10", "Custom timeout."]
1746
- ])}\n\n${theme.heading("Notes:")}\n${theme.muted("- Shows current update channel (stable/beta/dev) and source")}\n${theme.muted("- Includes git tag/branch/SHA for source checkouts")}\n\n${theme.muted("Docs:")} ${formatDocsLink("/cli/update", "docs.genesis.ai/cli/update")}`).action(async (opts, command) => {
1747
- try {
1748
- await updateStatusCommand({
1749
- json: Boolean(opts.json) || inheritedUpdateJson(command),
1750
- timeout: inheritedUpdateTimeout(opts, command)
1751
- });
1752
- } catch (err) {
1753
- defaultRuntime.error(String(err));
1754
- defaultRuntime.exit(1);
1755
- }
1756
- });
1757
- }
1758
- //#endregion
1759
- export { registerUpdateCli, updateCommand, updateStatusCommand, updateWizardCommand };