@symerian/symi 3.4.15 → 3.4.16

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 (238) hide show
  1. package/dist/{agent-C8IIjDyn.js → agent-BxlwfrtS.js} +17 -17
  2. package/dist/{agent-BaSGoKPq.js → agent-C4QXV3DM.js} +1 -1
  3. package/dist/{agent-scope-DIjW66iO.js → agent-scope-CKTVXF_1.js} +18 -18
  4. package/dist/{agents-D6Ygz9ED.js → agents-MAWGh-MZ.js} +3 -3
  5. package/dist/{agents.config-D1nFwU81.js → agents.config-DDPgPAe-.js} +1 -1
  6. package/dist/{audit-nqP-JeOr.js → audit-BCJhGGs7.js} +2 -2
  7. package/dist/{audit-BI8Rbs5q.js → audit-Bhy0yCzM.js} +20 -20
  8. package/dist/{auth-choice-Bx4Duu6u.js → auth-choice-B3pG20oL.js} +2 -2
  9. package/dist/{auth-choice-BBrEzoy2.js → auth-choice-DERl6GbY.js} +8 -8
  10. package/dist/{auth-profiles-BFSVvFKy.js → auth-profiles-BDvJK1Bg.js} +9 -9
  11. package/dist/{auth-token-SebYuqfR.js → auth-token-Dh7cXEKa.js} +1 -1
  12. package/dist/{banner-l9GjW5Rm.js → banner-CrLh-2_L.js} +1 -1
  13. package/dist/{browser-cli-Bk8DxxeA.js → browser-cli-CpVBXw3C.js} +3 -3
  14. package/dist/{browser-cli-BAxOL41p.js → browser-cli-Ctdel5GZ.js} +9 -9
  15. package/dist/build-info.json +2 -2
  16. package/dist/bundled/boot-md/handler.js +2 -2
  17. package/dist/bundled/session-memory/handler.js +2 -2
  18. package/dist/{call-BPJn2_th.js → call-8H645eSK.js} +10 -9
  19. package/dist/{call-5IE9ycvm.js → call-Dwi3ARhD.js} +2 -1
  20. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  21. package/dist/{channel-options-DGUqfnbP.js → channel-options-I01CE5I3.js} +1 -1
  22. package/dist/{channel-options-COanIUoQ.js → channel-options-Jb0g65X3.js} +1 -1
  23. package/dist/{channels-cli-CZ3M3yE1.js → channels-cli-Bhrx8sbn.js} +9 -9
  24. package/dist/{channels-cli-B1zmnm5a.js → channels-cli-BqFCS_7N.js} +54 -54
  25. package/dist/{chrome-VbDUdW0_.js → chrome-CXZZLI1N.js} +2 -2
  26. package/dist/{cli-CC5GrdTI.js → cli-CmH8dZk4.js} +6 -6
  27. package/dist/{cli-C7I5uEFC.js → cli-DHDuQ1Ao.js} +42 -42
  28. package/dist/{client-Dp8LUTmF.js → client-CFUQAIIE.js} +3 -1
  29. package/dist/{client-qjXXRKCO.js → client-lkWaEu6S.js} +4 -2
  30. package/dist/{command-registry-D8fj6th4.js → command-registry-DJZ5J_NP.js} +11 -11
  31. package/dist/{commands-registry-BNCcZy2y.js → commands-registry-CLePPNDW.js} +1 -1
  32. package/dist/{completion-cli-BxspmuYm.js → completion-cli-DF5DA16K.js} +2 -2
  33. package/dist/{completion-cli-C-85b5b8.js → completion-cli-SuImt6E5.js} +12 -12
  34. package/dist/{config-cli-BqzjDmIH.js → config-cli-CxfJyFzy.js} +4 -4
  35. package/dist/{config-cli-DSDGwckX.js → config-cli-D4ZuazGl.js} +1 -1
  36. package/dist/{config-DqMsGcSQ.js → config-e4gtNbYA.js} +2 -2
  37. package/dist/{config-guard-CJcSKMuP.js → config-guard-9KHqoVah.js} +6 -6
  38. package/dist/{config-validation-Bp2wJ610.js → config-validation-DdA5SfZN.js} +1 -1
  39. package/dist/{configure-BazJdwKU.js → configure-C-N62SHF.js} +6 -6
  40. package/dist/{configure-Dl1f1Den.js → configure-CNG8CYHb.js} +14 -14
  41. package/dist/{consolidate-7Usm-b2g.js → consolidate-Cx7qF5Ht.js} +6 -6
  42. package/dist/{control-service-Fn3d9AlH.js → control-service-D3Iaavrm.js} +4 -4
  43. package/dist/control-ui/css/style.css +54 -0
  44. package/dist/control-ui/index.html +1 -0
  45. package/dist/control-ui/js/slash-autocomplete.js +149 -0
  46. package/dist/{control-ui-assets-DUhvOLUL.js → control-ui-assets-D22DSxhv.js} +1 -1
  47. package/dist/{cron-cli-DXgI5Lid.js → cron-cli-9gskPfAH.js} +3 -3
  48. package/dist/{cron-cli-DZyH2BfZ.js → cron-cli-DVj7bddU.js} +7 -7
  49. package/dist/{daemon-cli-DmMYx5Uf.js → daemon-cli-Bbv64XWl.js} +2 -2
  50. package/dist/{daemon-cli-C6FSROt1.js → daemon-cli-nhO-a_Bi.js} +11 -11
  51. package/dist/daemon-cli.js +3 -0
  52. package/dist/{daemon-runtime-BpfA4d6Q.js → daemon-runtime-CJzKuFbC.js} +10 -10
  53. package/dist/{deliver-RwovDEDy.js → deliver-CxOAv44C.js} +2 -2
  54. package/dist/{deps-bCHNuszw.js → deps-Cwq_3i09.js} +1 -1
  55. package/dist/{devices-cli-D6xXc9Ym.js → devices-cli-BdRBoZbv.js} +6 -6
  56. package/dist/{devices-cli-IMv-0zor.js → devices-cli-Cbez9Fap.js} +2 -2
  57. package/dist/{diagnostics-DxdqTfpW.js → diagnostics-nLP2i_BY.js} +5 -5
  58. package/dist/{directory-cli-ClbYhd6z.js → directory-cli-CMa8Okul.js} +3 -3
  59. package/dist/{dm-policy-shared-5HLej1br.js → dm-policy-shared-CQpFAzTa.js} +1 -1
  60. package/dist/{dns-cli-CY2voLuR.js → dns-cli-CMBl2B2j.js} +3 -3
  61. package/dist/{docs-cli-DjQ3SvBq.js → docs-cli-C2BEC5yU.js} +1 -1
  62. package/dist/{doctor-completion-CX7LjkOD.js → doctor-completion-C4XUXnaA.js} +1 -1
  63. package/dist/{doctor-completion-BwHbIZjF.js → doctor-completion-DKCccBNY.js} +2 -2
  64. package/dist/{doctor-config-flow-CYDx1U0Z.js → doctor-config-flow-Dwm_Y2h3.js} +9 -9
  65. package/dist/entry.js +1 -1
  66. package/dist/{exec-approvals-cli-B_P-1zVp.js → exec-approvals-cli-4n1jYMlS.js} +13 -13
  67. package/dist/{exec-approvals-cli-Dy1jvh2M.js → exec-approvals-cli-BtH1ykEU.js} +4 -4
  68. package/dist/extensionAPI.js +2 -2
  69. package/dist/{fs-safe-B6nMaZqV.js → fs-safe-DjAKGGJ8.js} +6 -6
  70. package/dist/{gateway-cli-CTcK1Az2.js → gateway-cli-6DYQ9V3M.js} +96 -95
  71. package/dist/{gateway-cli-CW-Z71cE.js → gateway-cli-Y6aR7DlZ.js} +17 -16
  72. package/dist/{gateway-rpc-DD_aXogj.js → gateway-rpc-Cb6Hsnx7.js} +1 -1
  73. package/dist/{gateway-rpc-C1xjWlxu.js → gateway-rpc-Mf07Va_c.js} +1 -1
  74. package/dist/{glass-ui-ws-BZvH4MBO.js → glass-ui-ws-D9lv_Fus.js} +13 -13
  75. package/dist/{glass-ui-ws-BNJkhJrL.js → glass-ui-ws-kUuNFNa_.js} +64 -64
  76. package/dist/{health-D8cKia4i.js → health-BNbL0vIk.js} +4 -4
  77. package/dist/{health-DdzNc1yA.js → health-Citq_4AL.js} +1 -1
  78. package/dist/{hooks-cli-qO421UdO.js → hooks-cli-9VgRbUTO.js} +7 -7
  79. package/dist/{hooks-cli-DkP3Y4ou.js → hooks-cli-BLVpSc2f.js} +56 -56
  80. package/dist/{image-ops-C-gIIp7Q.js → image-ops-c7_of0HT.js} +10 -10
  81. package/dist/index.js +49 -49
  82. package/dist/{inspect-BDzd6yBs.js → inspect-op0Ov-v4.js} +4 -4
  83. package/dist/{install-safe-path-CQXx3s9R.js → install-safe-path-B73BkVO3.js} +11 -11
  84. package/dist/{installs-DhSLZRT7.js → installs-BzgwvqqQ.js} +10 -10
  85. package/dist/{internal-CHnZdvRy.js → internal-C3o_xyzP.js} +9 -9
  86. package/dist/{lifecycle-core-BEmljRfh.js → lifecycle-core-FlMrd9ab.js} +5 -5
  87. package/dist/llm-slug-generator.js +2 -2
  88. package/dist/{local-roots-BnDnugq3.js → local-roots-CUKhHNCV.js} +1 -1
  89. package/dist/{logs-cli-Dbmzz8m_.js → logs-cli-K2EqrFLO.js} +7 -7
  90. package/dist/{logs-cli-BB0Mq8D1.js → logs-cli-rsKjIgKD.js} +3 -3
  91. package/dist/{manager-BQaZlWzK.js → manager-Abf6Ojpw.js} +1 -1
  92. package/dist/{manager-D0NIHMuQ.js → manager-BSHK3Wl8.js} +1 -1
  93. package/dist/{manager-DlPBpRRR.js → manager-BeNnzSJv.js} +1 -1
  94. package/dist/{manager-DOiW-Koo.js → manager-ByEbqe6-.js} +14 -14
  95. package/dist/{memory-Cl4I_45k.js → memory-BaDWe-xp.js} +2 -2
  96. package/dist/{memory-kIYeV9aO.js → memory-DC-qFwtN.js} +5 -5
  97. package/dist/{memory-cli-CszP57Ee.js → memory-cli-Ceun-Zo3.js} +2 -2
  98. package/dist/{memory-cli-DkD_OD70.js → memory-cli-DDXHC4Oc.js} +12 -12
  99. package/dist/{model-BRcKPW49.js → model-CbRy_3xW.js} +1 -1
  100. package/dist/{model-catalog-CaGfL-2g.js → model-catalog-Bfu_yBpI.js} +4 -4
  101. package/dist/{model-picker-CV56GE8A.js → model-picker-BEm4_Lpz.js} +3 -3
  102. package/dist/{models-BYi0Fo1a.js → models-BvyDRpwv.js} +3 -3
  103. package/dist/{models-cli-Bn9M1TgO.js → models-cli-9VxvzSY6.js} +52 -52
  104. package/dist/{models-cli-EdjvkvFO.js → models-cli-CQ7EMoEg.js} +9 -9
  105. package/dist/{models-config-Unnduxgs.js → models-config-B-YxzPLd.js} +7 -7
  106. package/dist/{node-cli-C8FYMIjN.js → node-cli-BGHROzvW.js} +1 -1
  107. package/dist/{node-cli-39H0MZ8q.js → node-cli-BUwT-V9W.js} +27 -27
  108. package/dist/{node-service-tPO_yUk7.js → node-service-DuN9eBL6.js} +1 -1
  109. package/dist/{nodes-cli-C-03nIJ0.js → nodes-cli-Deouq1_W.js} +10 -10
  110. package/dist/{nodes-cli-CqxQexTU.js → nodes-cli-L9PE4_mv.js} +3 -3
  111. package/dist/{nodes-screen-JELuBMBi.js → nodes-screen-CT94yu_w.js} +4 -4
  112. package/dist/{npm-registry-spec-BXw_6vF6.js → npm-registry-spec-B8X06AqB.js} +9 -9
  113. package/dist/{onboard-CAIujkV7.js → onboard-4NbQl96N.js} +3 -3
  114. package/dist/{onboard-C8IQnigm.js → onboard-8ohsW35T.js} +13 -13
  115. package/dist/{onboard-channels-B2l6OoMg.js → onboard-channels-BBjQQeMN.js} +1 -1
  116. package/dist/{onboard-channels-D_uUQbem.js → onboard-channels-CWTpqREc.js} +4 -4
  117. package/dist/{onboard-custom-B2fJvyxt.js → onboard-custom-D6tlcthi.js} +3 -3
  118. package/dist/{onboard-helpers-Bm-oyLWy.js → onboard-helpers-CAuQ1IWD.js} +1 -1
  119. package/dist/{onboard-helpers-CHfdRdZR.js → onboard-helpers-DKnX4Zrl.js} +8 -8
  120. package/dist/{onboard-hooks-DBYkemjF.js → onboard-hooks-zOcdg3uW.js} +1 -1
  121. package/dist/{onboard-remote-ecyetiyL.js → onboard-remote-CZmU-yNO.js} +1 -1
  122. package/dist/{onboard-remote-z8XLK4M0.js → onboard-remote-D2u2nh0i.js} +1 -1
  123. package/dist/{onboard-skills-BLvL0KPR.js → onboard-skills-B-meN1aW.js} +4 -4
  124. package/dist/{onboard-skills-C53RGq_5.js → onboard-skills-CmD3Tuui.js} +1 -1
  125. package/dist/{onboarding-BIq5BxG0.js → onboarding-BcuWzulD.js} +7 -7
  126. package/dist/{onboarding-4v9LJueP.js → onboarding-FLjy51GR.js} +12 -12
  127. package/dist/{onboarding.finalize-Bkcwe5RS.js → onboarding.finalize-DSdlsUwa.js} +31 -31
  128. package/dist/{onboarding.finalize-CXAQzVXM.js → onboarding.finalize-TsyIiWeF.js} +9 -9
  129. package/dist/{onboarding.gateway-config-3JMN1xRf.js → onboarding.gateway-config-C9led5lX.js} +8 -8
  130. package/dist/{onboarding.gateway-config-Ft3f6Jba.js → onboarding.gateway-config-CM3sKyZo.js} +3 -3
  131. package/dist/{openai-model-default-CDDFpxUr.js → openai-model-default-C57VbKS7.js} +2 -2
  132. package/dist/{pairing-cli-CJGA4j6G.js → pairing-cli-CRy4Sw1m.js} +4 -4
  133. package/dist/{pairing-store-BGf29nPx.js → pairing-store-S9CXOhSG.js} +1 -1
  134. package/dist/{pairing-token-CURbSHdi.js → pairing-token-DorpwP8O.js} +7 -7
  135. package/dist/{paths-Dc6A9_vI.js → paths-DaQrPPet.js} +1 -1
  136. package/dist/{pi-auth-json-SHGGQzOL.js → pi-auth-json-CVwNh4rb.js} +5 -5
  137. package/dist/{pi-embedded-CGebiST2.js → pi-embedded-DJKetjip.js} +6 -3
  138. package/dist/{pi-embedded-helpers-CAdI9wJ5.js → pi-embedded-helpers-DUx9ViYy.js} +6 -6
  139. package/dist/{pi-tools.policy-Dyx3nBmp.js → pi-tools.policy-B0lPjw5N.js} +3 -3
  140. package/dist/{plugin-auto-enable-D2TNEv3x.js → plugin-auto-enable-BDPdHiLS.js} +1 -1
  141. package/dist/{plugin-registry-D7ACpV2Y.js → plugin-registry-CDwUvhG3.js} +1 -1
  142. package/dist/{plugin-registry-d4hMhLLZ.js → plugin-registry-lssaEXUZ.js} +3 -3
  143. package/dist/plugin-sdk/gateway/protocol/index.d.ts +5 -2
  144. package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +1 -0
  145. package/dist/plugin-sdk/index.js +6 -6
  146. package/dist/{plugins-cli-CPf1hMaZ.js → plugins-cli-CR6LA3Zk.js} +51 -51
  147. package/dist/{plugins-cli-D1gd8p9T.js → plugins-cli-HROGUz9H.js} +7 -7
  148. package/dist/{ports-DRHSHvqY.js → ports-ChuJYhEL.js} +1 -1
  149. package/dist/{ports-DqxP-bXz.js → ports-EAVAOFyK.js} +2 -2
  150. package/dist/{program-C19G7o-Q.js → program-CVgY3xqh.js} +12 -12
  151. package/dist/{program-context-BSUkEz3n.js → program-context-C5ExAuya.js} +38 -38
  152. package/dist/{prompt-select-styled-CnYM7W0j.js → prompt-select-styled-DYWkAR4G.js} +7 -7
  153. package/dist/{prompt-select-styled-B5wlPYN5.js → prompt-select-styled-Eh0nzrZ8.js} +36 -36
  154. package/dist/{provider-auth-helpers-DpRoNr_8.js → provider-auth-helpers-4Z6bU9-3.js} +5 -5
  155. package/dist/{provider-auth-helpers-BUC4xGK9.js → provider-auth-helpers-B9NAbuRn.js} +1 -1
  156. package/dist/{push-apns-Bm39oOO9.js → push-apns-CUACAVd6.js} +4 -4
  157. package/dist/{push-apns-DqmFEcqh.js → push-apns-DB-oyDXs.js} +1 -1
  158. package/dist/{pw-ai-B2NuWIL7.js → pw-ai-Df15PGTL.js} +7 -7
  159. package/dist/{qmd-manager-358OTDns.js → qmd-manager-0KqWHsaN.js} +19 -19
  160. package/dist/{qr-cli-hPIeUYAT.js → qr-cli-LK6XUdA4.js} +3 -3
  161. package/dist/{register.agent-CCKcgAXs.js → register.agent-B2uaqVl1.js} +64 -64
  162. package/dist/{register.agent-DZuxoC0a.js → register.agent-Cw-xilkP.js} +12 -12
  163. package/dist/{register.configure-CJErdFO_.js → register.configure-DcK9kvfL.js} +67 -67
  164. package/dist/{register.configure-JT8T7HO5.js → register.configure-PJAnKSja.js} +14 -14
  165. package/dist/{register.maintenance-DDzKUGYJ.js → register.maintenance-_6TRSsvd.js} +64 -64
  166. package/dist/{register.maintenance-CKsv0lok.js → register.maintenance-g_pNbyVg.js} +13 -13
  167. package/dist/{register.message-CpOXi1rz.js → register.message-BnpfKdYG.js} +44 -44
  168. package/dist/{register.message-_bfhetTg.js → register.message-D3Ig-Jzq.js} +7 -7
  169. package/dist/{register.onboard-CkIM3hU7.js → register.onboard-Cd99utnP.js} +6 -6
  170. package/dist/{register.onboard-BHtTh0b_.js → register.onboard-CrdHd4YG.js} +22 -22
  171. package/dist/{register.setup-CLhdFQHW.js → register.setup-BEs9uiiC.js} +25 -25
  172. package/dist/{register.setup-CYtYDKMU.js → register.setup-DkCfuBzx.js} +6 -6
  173. package/dist/{register.status-health-sessions-DmX0DLAt.js → register.status-health-sessions-DVBjRsJi.js} +8 -8
  174. package/dist/{register.status-health-sessions-DZnebsxZ.js → register.status-health-sessions-DYmKN4um.js} +38 -38
  175. package/dist/{register.subclis-CnDo2jzv.js → register.subclis-CVoaDyXE.js} +19 -19
  176. package/dist/{replies-B2O2eRh6.js → replies-BLmn6tJz.js} +1 -1
  177. package/dist/{reply-prefix-BOdARKaY.js → reply-prefix-DZQBodKF.js} +1 -1
  178. package/dist/{resolve-route-CRWE36h5.js → resolve-route-BbUl3Hi7.js} +1 -1
  179. package/dist/{routes-BMShi_eY.js → routes-DgT1raBC.js} +10 -10
  180. package/dist/{rpc-D0Ldc6Hv.js → rpc-Bki5OqHV.js} +1 -1
  181. package/dist/{rpc-CEhoSTGo.js → rpc-C6w0z2sB.js} +1 -1
  182. package/dist/{run-main-BIRbWKyA.js → run-main-DGMiCTPr.js} +20 -20
  183. package/dist/{sandbox-C-UeHmuJ.js → sandbox-BkYjPUBB.js} +18 -18
  184. package/dist/{sandbox-cli-CNAPNXJ4.js → sandbox-cli-0FmIDe_m.js} +13 -13
  185. package/dist/{security-cli-DDM0Z6IW.js → security-cli-DFvPQsvu.js} +3 -3
  186. package/dist/{security-cli-BSd8_Gsq.js → security-cli-ejJGH_gW.js} +28 -28
  187. package/dist/{send-DSK6O8SC.js → send-9PcWD4fG.js} +7 -7
  188. package/dist/{server-context-DFO6o83F.js → server-context-B7dLOKCi.js} +5 -5
  189. package/dist/{server-methods-Dz6NGEg3.js → server-methods-B9PH0oNz.js} +33 -10
  190. package/dist/{server-methods-vp5zi6v5.js → server-methods-BtlhJrhx.js} +80 -57
  191. package/dist/{server-node-events-4ufB_olv.js → server-node-events-CZwsbJJ7.js} +8 -8
  192. package/dist/{server-node-events-B7UtUhkC.js → server-node-events-pgNK7gTw.js} +45 -45
  193. package/dist/{service-AP9pR9R5.js → service-9ItKCWWS.js} +15 -15
  194. package/dist/{session-dirs-Chh7bBGo.js → session-dirs-B6PWqKEf.js} +2 -2
  195. package/dist/{session-utils-CgGDr4eh.js → session-utils-0LAFVJl4.js} +12 -12
  196. package/dist/{sessions-Dh88Kqd6.js → sessions-DJ9kN6ZB.js} +11 -11
  197. package/dist/{shared-_wwqvx84.js → shared-BTKigB51.js} +3 -3
  198. package/dist/{shared-DmYHvtn2.js → shared-ot5_jkpP.js} +1 -1
  199. package/dist/{skill-commands-5QB5E8bv.js → skill-commands-RbglvrSW.js} +4 -4
  200. package/dist/{skill-scanner-YF2jR4RY.js → skill-scanner-CZK0TG9g.js} +5 -5
  201. package/dist/{skills-Bmjf5nFv.js → skills-DS1Vdylm.js} +4 -4
  202. package/dist/{skills-cli-Byp9MfZh.js → skills-cli-DHTm73Re.js} +7 -7
  203. package/dist/{skills-install-BB27sD4d.js → skills-install-CD4O4yWI.js} +3 -3
  204. package/dist/{skills-remote-CqwR3Zvp.js → skills-remote-BDSyRdyX.js} +3 -3
  205. package/dist/{skills-status-BNDqwHkP.js → skills-status-F7nlolZZ.js} +1 -1
  206. package/dist/{sqlite-DBEvS-Ne.js → sqlite-BUXBg2yu.js} +5 -5
  207. package/dist/{status-MMLxoRgQ.js → status-C27L1-B1.js} +1 -1
  208. package/dist/{status-DEXnB1sw.js → status-DQQOJNd8.js} +23 -23
  209. package/dist/{status-BD8gFYKH.js → status-DfAxyxKZ.js} +5 -5
  210. package/dist/{status-B0HecH1s.js → status-Df_qWsKA.js} +3 -3
  211. package/dist/{status.update-CB9e3eWW.js → status.update-Bk4bidvt.js} +3 -3
  212. package/dist/{subagent-registry-C57PFGHU.js → subagent-registry-B6hpdjMe.js} +5 -5
  213. package/dist/{symi-root-DueRHNOE.js → symi-root-0MUhiNlM.js} +2 -2
  214. package/dist/{synthesis-CQdzrLFL.js → synthesis-BLGzIzgw.js} +2 -2
  215. package/dist/{synthesis-j_kjlFo1.js → synthesis-BQarjPR5.js} +6 -6
  216. package/dist/{synthesis-CjsIBd8X.js → synthesis-ZzOpDY0_.js} +42 -42
  217. package/dist/{synthesis-CrqlbxVW.js → synthesis-dplLmFIP.js} +2 -2
  218. package/dist/{system-cli-BM8KbtUc.js → system-cli-CMJlwDbx.js} +7 -7
  219. package/dist/{system-cli-CQFH_HwX.js → system-cli-D1KbTajz.js} +3 -3
  220. package/dist/{systemd-9LEEqibe.js → systemd-8KKQdTO_.js} +5 -5
  221. package/dist/{systemd-hints-A1W3AdVo.js → systemd-hints-BdnQ93Ux.js} +6 -6
  222. package/dist/{systemd-linger-PqG8iGCt.js → systemd-linger-CnKJZBUr.js} +1 -1
  223. package/dist/{tui-D0j61PXx.js → tui-D2WEKSKp.js} +2 -2
  224. package/dist/{tui-DFuScHlA.js → tui-ZtRGw-US.js} +7 -7
  225. package/dist/{tui-cli-25xTveHh.js → tui-cli-CXZw2cb8.js} +3 -3
  226. package/dist/{tui-cli-C3dXNtPo.js → tui-cli-D56ntFvh.js} +19 -19
  227. package/dist/{unified-runner-Clv_2ElO.js → unified-runner-BFLLzEHE.js} +6 -3
  228. package/dist/{unified-runner-DCiPB--z.js → unified-runner-BiVD0QYP.js} +99 -99
  229. package/dist/{update-check-CZxZhEXr.js → update-check-BdSIMYWq.js} +5 -5
  230. package/dist/{update-cli-Dl_QbjXc.js → update-cli-BX7yQdFR.js} +14 -14
  231. package/dist/{update-cli-CWufRpkr.js → update-cli-DKtCvgSg.js} +74 -74
  232. package/dist/{update-CjZgU686.js → update-lQHC4OGO.js} +3 -3
  233. package/dist/{update-runner-Dq5UYQbo.js → update-runner-D4-wGM5B.js} +15 -15
  234. package/dist/{webhooks-cli-Clx8DGfA.js → webhooks-cli-9-_fKRFZ.js} +4 -4
  235. package/dist/{with-timeout-BE7lxhxW.js → with-timeout-DNA2hy4y.js} +1 -1
  236. package/dist/{workspace-dirs-D5OnUmvw.js → workspace-dirs-QmSWJptJ.js} +1 -1
  237. package/dist/{wsl-ZWGwnnKI.js → wsl-DO9usEVV.js} +2 -2
  238. package/package.json +1 -1
@@ -2,30 +2,30 @@ import { A as isRich, j as theme } from "./registry-DKJLAPDB.js";
2
2
  import "./paths-BSzKwaxE.js";
3
3
  import "./utils-BU8jVQFM.js";
4
4
  import { f as defaultRuntime } from "./subsystem-CtH6J8AV.js";
5
- import "./auth-profiles-BFSVvFKy.js";
5
+ import "./auth-profiles-BDvJK1Bg.js";
6
6
  import "./exec-DKyLtSjm.js";
7
- import "./agent-scope-DIjW66iO.js";
7
+ import "./agent-scope-CKTVXF_1.js";
8
8
  import "./github-copilot-token-BTNK6Tcd.js";
9
9
  import "./boolean-Wzu0-e0P.js";
10
10
  import "./env-B97Ms861.js";
11
- import "./config-DqMsGcSQ.js";
11
+ import "./config-e4gtNbYA.js";
12
12
  import "./manifest-registry-D_LsBSyt.js";
13
13
  import "./message-channel-C_V8IAYx.js";
14
- import "./client-qjXXRKCO.js";
15
- import "./call-BPJn2_th.js";
16
- import "./pairing-token-CURbSHdi.js";
14
+ import "./client-lkWaEu6S.js";
15
+ import "./call-8H645eSK.js";
16
+ import "./pairing-token-DorpwP8O.js";
17
17
  import { n as formatTimeAgo } from "./format-relative-Vm-Tqk0h.js";
18
18
  import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-CZOc8M5w.js";
19
19
  import { t as formatDocsLink } from "./links-CSaUKNKm.js";
20
20
  import "./progress-CyPyGCDn.js";
21
- import { n as callGatewayFromCli } from "./gateway-rpc-DD_aXogj.js";
22
- import "./systemd-9LEEqibe.js";
23
- import "./service-AP9pR9R5.js";
21
+ import { n as callGatewayFromCli } from "./gateway-rpc-Cb6Hsnx7.js";
22
+ import "./systemd-8KKQdTO_.js";
23
+ import "./service-9ItKCWWS.js";
24
24
  import { t as renderTable } from "./table-DkAQzCOR.js";
25
- import { t as describeUnknownError } from "./shared-DmYHvtn2.js";
26
- import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-D0Ldc6Hv.js";
25
+ import { t as describeUnknownError } from "./shared-ot5_jkpP.js";
26
+ import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-Bki5OqHV.js";
27
27
  import JSON5 from "json5";
28
- import fs from "node:fs/promises";
28
+ import fsPromises from "node:fs/promises";
29
29
 
30
30
  //#region src/cli/exec-approvals-cli.ts
31
31
  async function readStdin() {
@@ -315,7 +315,7 @@ function registerExecApprovalsCli(program) {
315
315
  if (!opts.file && !opts.stdin) exitWithError("Provide --file or --stdin.");
316
316
  if (opts.file && opts.stdin) exitWithError("Use either --file or --stdin (not both).");
317
317
  const { source, nodeId, targetLabel, baseHash } = await loadWritableSnapshotTarget(opts);
318
- const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
318
+ const raw = opts.stdin ? await readStdin() : await fsPromises.readFile(String(opts.file), "utf8");
319
319
  let file;
320
320
  try {
321
321
  file = JSON5.parse(raw);
@@ -5,20 +5,20 @@ import "./agent-scope-B6p555mP.js";
5
5
  import "./github-copilot-token-a6a53zx_.js";
6
6
  import "./manifest-registry-DJcKcUQ9.js";
7
7
  import "./config-igdtSRrZ.js";
8
- import "./client-Dp8LUTmF.js";
9
- import "./call-5IE9ycvm.js";
8
+ import "./client-CFUQAIIE.js";
9
+ import "./call-Dwi3ARhD.js";
10
10
  import "./message-channel-CNPAq1Tl.js";
11
11
  import "./pairing-token-Bnr7QjVF.js";
12
12
  import { n as formatTimeAgo } from "./format-relative-Cyq001S7.js";
13
13
  import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-B8n8es8o.js";
14
14
  import { t as formatDocsLink } from "./links-Db3Rw0Tg.js";
15
15
  import "./progress-C4ck6JXh.js";
16
- import { n as callGatewayFromCli } from "./gateway-rpc-C1xjWlxu.js";
16
+ import { n as callGatewayFromCli } from "./gateway-rpc-Mf07Va_c.js";
17
17
  import "./systemd-p_nEAkHC.js";
18
18
  import "./service-BIixwO-v.js";
19
19
  import { t as renderTable } from "./table-CSEp22Mk.js";
20
20
  import { t as describeUnknownError } from "./shared-DP6YX7_w.js";
21
- import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-CEhoSTGo.js";
21
+ import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-C6w0z2sB.js";
22
22
  import JSON5 from "json5";
23
23
  import fs from "node:fs/promises";
24
24
 
@@ -7,7 +7,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-i-FPYcoQ.js";
7
7
  import "./github-copilot-token-BbsJ0Qbo.js";
8
8
  import "./plugins-Cp39v6b_.js";
9
9
  import "./replies-DU-fXkSk.js";
10
- import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-CGebiST2.js";
10
+ import { a as resolveAgentTimeoutMs, r as runEmbeddedPiAgent } from "./pi-embedded-DJKetjip.js";
11
11
  import { $ as loadSessionStore, nt as saveSessionStore } from "./deliver-DvW5xHHr.js";
12
12
  import "./diagnostic-BvZmqxYI.js";
13
13
  import "./diagnostic-session-state-CWtaDOiK.js";
@@ -21,7 +21,7 @@ import "./errors-C6sHIFo_.js";
21
21
  import "./tokens-Dm_xa-oz.js";
22
22
  import "./thinking-BKsvyjWX.js";
23
23
  import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-N698mtPE.js";
24
- import "./manager-D0NIHMuQ.js";
24
+ import "./manager-BSHK3Wl8.js";
25
25
  import "./sqlite-jFnvSfLz.js";
26
26
  import "./markdown-tables-BtWlyyt1.js";
27
27
  import "./commands-registry-BRWqR35Z.js";
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { constants } from "node:fs";
3
- import fs$1 from "node:fs/promises";
3
+ import fsPromises from "node:fs/promises";
4
4
 
5
5
  //#region src/infra/fs-safe.ts
6
6
  var SafeOpenError = class extends Error {
@@ -20,19 +20,19 @@ const isSymlinkOpenError = (err) => isNodeError(err) && (err.code === "ELOOP" ||
20
20
  async function openVerifiedLocalFile(filePath) {
21
21
  let handle;
22
22
  try {
23
- handle = await fs$1.open(filePath, OPEN_READ_FLAGS);
23
+ handle = await fsPromises.open(filePath, OPEN_READ_FLAGS);
24
24
  } catch (err) {
25
25
  if (isNotFoundError(err)) throw new SafeOpenError("not-found", "file not found");
26
26
  if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
27
27
  throw err;
28
28
  }
29
29
  try {
30
- const [stat, lstat] = await Promise.all([handle.stat(), fs$1.lstat(filePath)]);
30
+ const [stat, lstat] = await Promise.all([handle.stat(), fsPromises.lstat(filePath)]);
31
31
  if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
32
32
  if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
33
33
  if (stat.ino !== lstat.ino || stat.dev !== lstat.dev) throw new SafeOpenError("path-mismatch", "path changed during read");
34
- const realPath = await fs$1.realpath(filePath);
35
- const realStat = await fs$1.stat(realPath);
34
+ const realPath = await fsPromises.realpath(filePath);
35
+ const realStat = await fsPromises.stat(realPath);
36
36
  if (stat.ino !== realStat.ino || stat.dev !== realStat.dev) throw new SafeOpenError("path-mismatch", "path mismatch");
37
37
  return {
38
38
  handle,
@@ -49,7 +49,7 @@ async function openVerifiedLocalFile(filePath) {
49
49
  async function openFileWithinRoot(params) {
50
50
  let rootReal;
51
51
  try {
52
- rootReal = await fs$1.realpath(params.rootDir);
52
+ rootReal = await fsPromises.realpath(params.rootDir);
53
53
  } catch (err) {
54
54
  if (isNotFoundError(err)) throw new SafeOpenError("not-found", "root dir not found");
55
55
  throw err;
@@ -1,138 +1,138 @@
1
- import { $t as getAgentRunContext, B as normalizeOptionalText, Bt as countActiveRunsForSession, Cn as classifyOutboundMessage, Ct as DEFAULT_INPUT_IMAGE_MIMES, D as resolveOutboundSessionRoute, Dt as extractImageContentFromSource, En as runWithModelFallback, Et as extractFileContentFromSource, G as hasLegacyDeliveryHints, Gt as resolveAgentTimeoutMs, H as normalizeRequiredName, Ht as listDescendantRunsForRequester, K as stripLegacyDeliveryFields, Kt as runSubagentAnnounceFlow, L as inferLegacyName, M as resetDirectoryCache, O as resolveOutboundTarget, Ot as normalizeMimeList, P as normalizeHttpWebhookUrl, Q as isExternalHookSession, Qt as emitAgentEvent, R as normalizeOptionalAgentId, S as createSymiTools, Sn as CommandLane, St as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tt as DEFAULT_INPUT_TIMEOUT_MS, U as migrateLegacyCronPayload, V as normalizePayloadToSystemText, Vt as initSubagentRegistry, W as buildDeliveryFromLegacyPayload, X as detectSuspiciousPatterns, Y as buildSafeExternalPrompt, Z as getHookType, Zt as clearAgentRunContext, _n as getActiveTaskCount, a as getPluginToolMeta, at as markGatewaySigusr1RestartHandled, bn as setCommandLaneConcurrency, c as handleSlackHttpRequest, cn as ToolInputError, ct as setPreRestartDeferralCheck, d as buildHistoryContextFromEntries, dn as resolveUserTimeFormat, en as onAgentEvent, fn as resolveUserTimezone, h as getTotalPendingReplies, in as getActiveEmbeddedRunCount, it as isGatewaySigusr1RestartExternallyAllowed, k as resolveSessionDeliveryTarget, kt as resolveInputFileLimits, l as readJsonBodyWithLimit, n as applyToolPolicyPipeline, nt as deferGatewayRestartUntilIdle, qt as readLatestAssistantReply, r as buildDefaultToolPolicyPipelineSteps, rt as emitGatewayRestart, s as loadSymiPlugins, sn as registerUnhandledRejectionHandler, st as setGatewaySigusr1RestartPolicy, t as runAgentTurn, tn as registerAgentRunContext, tt as consumeGatewaySigusr1RestartAuthorization, u as requestBodyErrorToText, un as formatUserTime, vn as getTotalQueueSize, w as resolveAnnounceTargetFromKey, wn as resolveModelProfile, wt as DEFAULT_INPUT_MAX_REDIRECTS, xn as waitForActiveTasks, yn as resetAllLanes, z as normalizeOptionalSessionKey, zt as countActiveDescendantRuns } from "./unified-runner-DCiPB--z.js";
1
+ import { $t as getAgentRunContext, B as normalizeOptionalText, Bt as countActiveRunsForSession, Cn as classifyOutboundMessage, Ct as DEFAULT_INPUT_IMAGE_MIMES, D as resolveOutboundSessionRoute, Dt as extractImageContentFromSource, En as runWithModelFallback, Et as extractFileContentFromSource, G as hasLegacyDeliveryHints, Gt as resolveAgentTimeoutMs, H as normalizeRequiredName, Ht as listDescendantRunsForRequester, K as stripLegacyDeliveryFields, Kt as runSubagentAnnounceFlow, L as inferLegacyName, M as resetDirectoryCache, O as resolveOutboundTarget, Ot as normalizeMimeList, P as normalizeHttpWebhookUrl, Q as isExternalHookSession, Qt as emitAgentEvent, R as normalizeOptionalAgentId, S as createSymiTools, Sn as CommandLane, St as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tt as DEFAULT_INPUT_TIMEOUT_MS, U as migrateLegacyCronPayload, V as normalizePayloadToSystemText, Vt as initSubagentRegistry, W as buildDeliveryFromLegacyPayload, X as detectSuspiciousPatterns, Y as buildSafeExternalPrompt, Z as getHookType, Zt as clearAgentRunContext, _n as getActiveTaskCount, a as getPluginToolMeta, at as markGatewaySigusr1RestartHandled, bn as setCommandLaneConcurrency, c as handleSlackHttpRequest, cn as ToolInputError, ct as setPreRestartDeferralCheck, d as buildHistoryContextFromEntries, dn as resolveUserTimeFormat, en as onAgentEvent, fn as resolveUserTimezone, h as getTotalPendingReplies, in as getActiveEmbeddedRunCount, it as isGatewaySigusr1RestartExternallyAllowed, k as resolveSessionDeliveryTarget, kt as resolveInputFileLimits, l as readJsonBodyWithLimit, n as applyToolPolicyPipeline, nt as deferGatewayRestartUntilIdle, qt as readLatestAssistantReply, r as buildDefaultToolPolicyPipelineSteps, rt as emitGatewayRestart, s as loadSymiPlugins, sn as registerUnhandledRejectionHandler, st as setGatewaySigusr1RestartPolicy, t as runAgentTurn, tn as registerAgentRunContext, tt as consumeGatewaySigusr1RestartAuthorization, u as requestBodyErrorToText, un as formatUserTime, vn as getTotalQueueSize, w as resolveAnnounceTargetFromKey, wn as resolveModelProfile, wt as DEFAULT_INPUT_MAX_REDIRECTS, xn as waitForActiveTasks, yn as resetAllLanes, z as normalizeOptionalSessionKey, zt as countActiveDescendantRuns } from "./unified-runner-BiVD0QYP.js";
2
2
  import { A as isRich, E as setVerbose, H as createInternalHookEvent, M as getChildLogger, N as getLogger, P as getResolvedLoggerSettings, U as registerInternalHook, V as clearInternalHooks, W as triggerInternalHook, j as theme, k as colorize, m as createEmptyPluginRegistry, r as DEFAULT_CHAT_CHANNEL } from "./registry-DKJLAPDB.js";
3
3
  import { _ as expandHomePrefix, g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BSzKwaxE.js";
4
4
  import { h as resolveUserPath, s as ensureDir, t as CONFIG_DIR, v as shortenHomePath, x as truncateUtf16Safe } from "./utils-BU8jVQFM.js";
5
5
  import { a as setConsoleSubsystemFilter, f as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-CtH6J8AV.js";
6
- import { Ht as DEFAULT_MODEL, N as getModelRefStatus, O as isPidAlive, P as isCliProvider, U as resolveHooksGmailModel, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, q as resolveThinkingDefault, z as resolveAllowedModelRef } from "./auth-profiles-BFSVvFKy.js";
6
+ import { Ht as DEFAULT_MODEL, N as getModelRefStatus, O as isPidAlive, P as isCliProvider, U as resolveHooksGmailModel, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, q as resolveThinkingDefault, z as resolveAllowedModelRef } from "./auth-profiles-BDvJK1Bg.js";
7
7
  import { t as formatCliCommand } from "./command-format-BvAkTjTI.js";
8
8
  import { b as isSubagentSessionKey, c as resolveAgentIdFromSessionKey, d as toAgentRequestSessionKey, f as toAgentStoreSessionKey, o as normalizeAgentId, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as normalizeMainKey, t as DEFAULT_AGENT_ID, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-B_ZVH1kE.js";
9
- import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-DueRHNOE.js";
9
+ import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-0MUhiNlM.js";
10
10
  import { i as logDebug, n as runExec, s as logWarn, t as runCommandWithTimeout } from "./exec-DKyLtSjm.js";
11
- import { C as ensureAgentWorkspace, D as resolveDefaultAgentWorkspaceDir, O as resolveWorkspaceTemplateDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig, s as resolveAgentSkillsFilter } from "./agent-scope-DIjW66iO.js";
11
+ import { C as ensureAgentWorkspace, D as resolveDefaultAgentWorkspaceDir, O as resolveWorkspaceTemplateDir, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, i as resolveAgentDir, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig, s as resolveAgentSkillsFilter } from "./agent-scope-CKTVXF_1.js";
12
12
  import "./github-copilot-token-BTNK6Tcd.js";
13
13
  import "./boolean-Wzu0-e0P.js";
14
14
  import { n as logAcceptedEnvOption, t as isTruthyEnvValue } from "./env-B97Ms861.js";
15
- import "./pi-embedded-helpers-CAdI9wJ5.js";
16
- import { M as resolveSubagentMaxConcurrent, N as VERSION, P as resolveRuntimeServiceVersion, f as parseDurationMs, i as loadConfig, j as resolveAgentMaxConcurrent, l as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-DqMsGcSQ.js";
15
+ import "./pi-embedded-helpers-DUx9ViYy.js";
16
+ import { M as resolveSubagentMaxConcurrent, N as VERSION, P as resolveRuntimeServiceVersion, f as parseDurationMs, i as loadConfig, j as resolveAgentMaxConcurrent, l as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-e4gtNbYA.js";
17
17
  import { l as isTestDefaultMemorySlotDisabled } from "./manifest-registry-D_LsBSyt.js";
18
18
  import { a as isPathInsideWithRealpath } from "./legacy-names-Catogrri.js";
19
- import { S as resolveToolProfilePolicy, _ as collectExplicitAllowlist, b as mergeAlsoAllowPolicy } from "./sandbox-C-UeHmuJ.js";
20
- import "./chrome-VbDUdW0_.js";
19
+ import { S as resolveToolProfilePolicy, _ as collectExplicitAllowlist, b as mergeAlsoAllowPolicy } from "./sandbox-BkYjPUBB.js";
20
+ import "./chrome-CXZZLI1N.js";
21
21
  import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-D7dC-5EX.js";
22
22
  import { t as safeEqualSecret } from "./secret-equal-D1BCVB1D.js";
23
23
  import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-LYvn9g3I.js";
24
24
  import { a as isTrustedProxyAddress, d as resolveGatewayListenHosts, f as resolveHostName, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as rawDataToString, u as resolveGatewayBindHost } from "./ws-CahTJvD6.js";
25
25
  import { a as resolveGatewayAuth, c as createAuthRateLimiter, i as isLocalDirectRequest, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, t as assertGatewayAuthConfigured } from "./auth-BbwD4lRX.js";
26
- import { g as mergeGatewayTailscaleConfig, h as ensureGatewayStartupAuth } from "./server-context-DFO6o83F.js";
26
+ import { g as mergeGatewayTailscaleConfig, h as ensureGatewayStartupAuth } from "./server-context-B7dLOKCi.js";
27
27
  import { d as hasBinary } from "./frontmatter-CHu3sfCM.js";
28
- import { r as buildWorkspaceSkillSnapshot } from "./skills-Bmjf5nFv.js";
29
- import "./routes-BMShi_eY.js";
28
+ import { r as buildWorkspaceSkillSnapshot } from "./skills-DS1Vdylm.js";
29
+ import "./routes-DgT1raBC.js";
30
30
  import "./redact-CSc_2Nka.js";
31
31
  import { a as isErrno, n as formatErrorMessage } from "./errors-Z-WkF18Q.js";
32
- import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B6nMaZqV.js";
33
- import "./paths-Dc6A9_vI.js";
32
+ import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DjAKGGJ8.js";
33
+ import "./paths-DaQrPPet.js";
34
34
  import { t as SsrFBlockedError } from "./ssrf-CC9kEPCT.js";
35
- import { c as detectMime } from "./image-ops-C-gIIp7Q.js";
36
- import { a as inspectPortUsage, r as ensurePortAvailable, s as formatPortDiagnostics } from "./ports-DqxP-bXz.js";
35
+ import { c as detectMime } from "./image-ops-c7_of0HT.js";
36
+ import { a as inspectPortUsage, r as ensurePortAvailable, s as formatPortDiagnostics } from "./ports-EAVAOFyK.js";
37
37
  import "./trash-BjVrPcAx.js";
38
- import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, M as evaluateSessionFreshness, P as resolveSessionResetPolicy, U as resolveMainSessionKeyFromConfig, Y as cleanStaleLockFiles, _ as mergeDeliveryContext, d as updateSessionStore, h as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-Dh88Kqd6.js";
38
+ import { B as resolveAgentMainSessionKey, H as resolveMainSessionKey, M as evaluateSessionFreshness, P as resolveSessionResetPolicy, U as resolveMainSessionKeyFromConfig, Y as cleanStaleLockFiles, _ as mergeDeliveryContext, d as updateSessionStore, h as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, z as canonicalizeMainSessionAlias } from "./sessions-DJ9kN6ZB.js";
39
39
  import "./dock-CnGWTXL4.js";
40
40
  import { _ as normalizeGatewayClientMode, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient } from "./message-channel-C_V8IAYx.js";
41
41
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DuuHorqi.js";
42
- import "./send-DSK6O8SC.js";
42
+ import "./send-9PcWD4fG.js";
43
43
  import { c as resolveStorePath, i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-CJcw9nbZ.js";
44
44
  import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-177f26eg.js";
45
45
  import { n as isSilentReplyText, t as SILENT_REPLY_TOKEN } from "./tokens-BKbemuIk.js";
46
- import { _ as runGlobalGatewayStopSafely, h as getGlobalHookRunner, t as deliverOutboundPayloads } from "./deliver-RwovDEDy.js";
46
+ import { _ as runGlobalGatewayStopSafely, h as getGlobalHookRunner, t as deliverOutboundPayloads } from "./deliver-CxOAv44C.js";
47
47
  import { c as startDiagnosticHeartbeat, l as stopDiagnosticHeartbeat, u as isDiagnosticsEnabled } from "./diagnostic-CwF3MnBL.js";
48
48
  import "./diagnostic-session-state-I4x9gPY4.js";
49
- import "./models-config-Unnduxgs.js";
50
- import "./pi-auth-json-SHGGQzOL.js";
49
+ import "./models-config-B-YxzPLd.js";
50
+ import "./pi-auth-json-CVwNh4rb.js";
51
51
  import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-cost-usage-DYcv40ss.js";
52
- import { C as enqueueSystemEvent, a as loadCombinedSessionStoreForGateway, f as formatRestartSentinelMessage, i as listSessionsFromStore, m as summarizeRestartSentinel, o as loadSessionEntry, u as consumeRestartSentinel, x as lookupContextTokens } from "./session-utils-CgGDr4eh.js";
53
- import { r as getMachineDisplayName } from "./with-timeout-BE7lxhxW.js";
54
- import { a as resolveAgentIdentity } from "./reply-prefix-BOdARKaY.js";
55
- import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-kIYeV9aO.js";
56
- import { c as resolveMemorySearchConfig } from "./manager-DOiW-Koo.js";
57
- import "./sqlite-DBEvS-Ne.js";
52
+ import { C as enqueueSystemEvent, a as loadCombinedSessionStoreForGateway, f as formatRestartSentinelMessage, i as listSessionsFromStore, m as summarizeRestartSentinel, o as loadSessionEntry, u as consumeRestartSentinel, x as lookupContextTokens } from "./session-utils-0LAFVJl4.js";
53
+ import { r as getMachineDisplayName } from "./with-timeout-DNA2hy4y.js";
54
+ import { a as resolveAgentIdentity } from "./reply-prefix-DZQBodKF.js";
55
+ import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-DC-qFwtN.js";
56
+ import { c as resolveMemorySearchConfig } from "./manager-ByEbqe6-.js";
57
+ import "./sqlite-BUXBg2yu.js";
58
58
  import "./chunk-DQGU0F8t.js";
59
59
  import "./markdown-tables-GTLvbzuR.js";
60
60
  import { t as fetchWithSsrFGuard } from "./fetch-guard-DG6T0ZdL.js";
61
- import "./local-roots-BnDnugq3.js";
61
+ import "./local-roots-CUKhHNCV.js";
62
62
  import { n as isRestartEnabled } from "./commands-B3UrgxIz.js";
63
- import "./commands-registry-BNCcZy2y.js";
64
- import { $t as roleScopesAllow, Bt as buildDeviceAuthPayload, Ft as PROTOCOL_VERSION, Ht as ensureDeviceToken, It as ErrorCodes, Lt as errorShape, Qt as verifyDeviceToken, R as validateExecApprovalRequestParams, Ut as getPairedDevice, Vt as approveDevicePairing, Zt as updatePairedDeviceMetadata, at as validateRequestFrame, in as verifyDeviceSignature, n as formatValidationErrors, qt as requestDevicePairing, rn as normalizeDevicePublicKeyBase64Url, tn as deriveDeviceIdFromPublicKey, w as validateConnectParams, z as validateExecApprovalResolveParams } from "./client-qjXXRKCO.js";
65
- import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-BPJn2_th.js";
66
- import "./pairing-token-CURbSHdi.js";
63
+ import "./commands-registry-CLePPNDW.js";
64
+ import { $t as verifyDeviceToken, B as validateExecApprovalResolveParams, Ht as approveDevicePairing, It as PROTOCOL_VERSION, Jt as requestDevicePairing, Lt as ErrorCodes, Qt as updatePairedDeviceMetadata, Rt as errorShape, T as validateConnectParams, Ut as ensureDeviceToken, Vt as buildDeviceAuthPayload, Wt as getPairedDevice, an as verifyDeviceSignature, en as roleScopesAllow, in as normalizeDevicePublicKeyBase64Url, n as formatValidationErrors, nn as deriveDeviceIdFromPublicKey, ot as validateRequestFrame, z as validateExecApprovalRequestParams } from "./client-lkWaEu6S.js";
65
+ import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-8H645eSK.js";
66
+ import "./pairing-token-DorpwP8O.js";
67
67
  import "./tool-display-Dr6VaTg5.js";
68
- import { _ as registerSkillsChangeListener, a as refreshRemoteNodeBins, g as getSkillsSnapshotVersion, i as refreshRemoteBinsForConnectedNodes, n as primeRemoteSkillsCache, o as removeRemoteNodeInfo, p as updatePairedNodeMetadata, r as recordRemoteNodeInfo, s as setSkillsRemoteRegistry, t as getRemoteSkillEligibility } from "./skills-remote-CqwR3Zvp.js";
69
- import "./workspace-dirs-D5OnUmvw.js";
68
+ import { _ as registerSkillsChangeListener, a as refreshRemoteNodeBins, g as getSkillsSnapshotVersion, i as refreshRemoteBinsForConnectedNodes, n as primeRemoteSkillsCache, o as removeRemoteNodeInfo, p as updatePairedNodeMetadata, r as recordRemoteNodeInfo, s as setSkillsRemoteRegistry, t as getRemoteSkillEligibility } from "./skills-remote-BDSyRdyX.js";
69
+ import "./workspace-dirs-QmSWJptJ.js";
70
70
  import "./pi-model-discovery-DdkUSfiI.js";
71
- import { n as loadModelCatalog } from "./model-catalog-CaGfL-2g.js";
72
- import "./skill-commands-5QB5E8bv.js";
73
- import "./pairing-store-BGf29nPx.js";
71
+ import { n as loadModelCatalog } from "./model-catalog-Bfu_yBpI.js";
72
+ import "./skill-commands-RbglvrSW.js";
73
+ import "./pairing-store-S9CXOhSG.js";
74
74
  import { t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-CZOc8M5w.js";
75
- import "./nodes-screen-JELuBMBi.js";
75
+ import "./nodes-screen-CT94yu_w.js";
76
76
  import { n as formatTokenCount, r as formatUsd } from "./usage-format-Ca9K30TH.js";
77
- import "./control-service-Fn3d9AlH.js";
77
+ import "./control-service-D3Iaavrm.js";
78
78
  import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-BhvnarfO.js";
79
79
  import { n as resolveMessageChannelSelection } from "./channel-selection-BvIcXQLj.js";
80
80
  import "./delivery-queue-DDs84baU.js";
81
81
  import { t as buildChannelAccountBindings } from "./bindings-9LSA3Jr1.js";
82
- import "./resolve-route-CRWE36h5.js";
82
+ import "./resolve-route-BbUl3Hi7.js";
83
83
  import { t as formatDocsLink } from "./links-CSaUKNKm.js";
84
84
  import { n as runCommandWithRuntime } from "./cli-utils-CX1oQ81G.js";
85
85
  import { t as formatHelpExamples } from "./help-format-BI_G2p1e.js";
86
86
  import { n as withProgress } from "./progress-CyPyGCDn.js";
87
- import "./memory-cli-DkD_OD70.js";
87
+ import "./memory-cli-DDXHC4Oc.js";
88
88
  import "./logging-B5YNzZB9.js";
89
- import "./replies-B2O2eRh6.js";
90
- import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-Dyx3nBmp.js";
91
- import "./model-BRcKPW49.js";
92
- import { t as createDefaultDeps } from "./deps-bCHNuszw.js";
89
+ import "./replies-BLmn6tJz.js";
90
+ import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-B0lPjw5N.js";
91
+ import "./model-CbRy_3xW.js";
92
+ import { t as createDefaultDeps } from "./deps-Cwq_3i09.js";
93
93
  import { t as ensureSymiCliOnPath } from "./path-env-DuQralyy.js";
94
94
  import "./runtime-guard-BZ3_1QqS.js";
95
- import { t as forceFreePortAndWait } from "./ports-DRHSHvqY.js";
95
+ import { t as forceFreePortAndWait } from "./ports-ChuJYhEL.js";
96
96
  import "./catalog-CSgSg5Gp.js";
97
- import "./skills-status-BNDqwHkP.js";
97
+ import "./skills-status-F7nlolZZ.js";
98
98
  import { n as inheritOptionFromParent } from "./command-options-ChiIn6Na.js";
99
99
  import "./prompt-style-Cad0BDRS.js";
100
100
  import { t as resolveChannelDefaultAccountId } from "./helpers-BBypnAYf.js";
101
- import { t as applyPluginAutoEnable } from "./plugin-auto-enable-D2TNEv3x.js";
102
- import "./install-safe-path-CQXx3s9R.js";
103
- import "./skill-scanner-YF2jR4RY.js";
101
+ import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BDPdHiLS.js";
102
+ import "./install-safe-path-B73BkVO3.js";
103
+ import "./skill-scanner-CZK0TG9g.js";
104
104
  import "./channels-status-issues-DC8vgOMo.js";
105
- import "./daemon-runtime-BpfA4d6Q.js";
106
- import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-CHfdRdZR.js";
107
- import "./systemd-9LEEqibe.js";
108
- import "./service-AP9pR9R5.js";
109
- import "./lifecycle-core-BEmljRfh.js";
110
- import "./systemd-hints-A1W3AdVo.js";
105
+ import "./daemon-runtime-CJzKuFbC.js";
106
+ import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-DKnX4Zrl.js";
107
+ import "./systemd-8KKQdTO_.js";
108
+ import "./service-9ItKCWWS.js";
109
+ import "./lifecycle-core-FlMrd9ab.js";
110
+ import "./systemd-hints-BdnQ93Ux.js";
111
111
  import { t as parsePort$1 } from "./parse-port-CykvIgQu.js";
112
- import { n as addGatewayServiceCommands } from "./daemon-cli-C6FSROt1.js";
113
- import "./diagnostics-DxdqTfpW.js";
112
+ import { n as addGatewayServiceCommands } from "./daemon-cli-nhO-a_Bi.js";
113
+ import "./diagnostics-nLP2i_BY.js";
114
114
  import "./table-DkAQzCOR.js";
115
115
  import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-C5NqCQ3L.js";
116
- import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DmYHvtn2.js";
117
- import { c as resolveNodeCommandAllowlist, l as probeGateway, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./audit-BI8Rbs5q.js";
116
+ import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-ot5_jkpP.js";
117
+ import { c as resolveNodeCommandAllowlist, l as probeGateway, n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./audit-Bhy0yCzM.js";
118
118
  import { t as discoverGatewayBeacons } from "./bonjour-discovery-CU1mz7AC.js";
119
- import { r as pickGatewaySelfPresence } from "./status-DEXnB1sw.js";
120
- import { i as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-D8cKia4i.js";
121
- import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-DUhvOLUL.js";
122
- import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CZxZhEXr.js";
123
- import { t as runOnboardingWizard } from "./onboarding-4v9LJueP.js";
124
- import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-vp5zi6v5.js";
125
- import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-Bm39oOO9.js";
119
+ import { r as pickGatewaySelfPresence } from "./status-DQQOJNd8.js";
120
+ import { i as styleHealthChannelLine, n as getHealthSnapshot, t as formatHealthChannelLines } from "./health-BNbL0vIk.js";
121
+ import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-D22DSxhv.js";
122
+ import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BdSIMYWq.js";
123
+ import { t as runOnboardingWizard } from "./onboarding-FLjy51GR.js";
124
+ import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-BtlhJrhx.js";
125
+ import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-CUACAVd6.js";
126
126
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-fA1VaWLv.js";
127
- import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-C8IIjDyn.js";
127
+ import { a as getCliSessionId, o as setCliSessionId, s as runCliAgent, t as agentCommand } from "./agent-BxlwfrtS.js";
128
128
  import { t as createOutboundSendDeps } from "./outbound-send-deps-BpziI1pC.js";
129
- import { s as loadAgentIdentityFromWorkspace } from "./agents.config-D1nFwU81.js";
130
- import "./dm-policy-shared-5HLej1br.js";
131
- import "./node-service-tPO_yUk7.js";
132
- import "./status.update-CB9e3eWW.js";
133
- import "./skills-install-BB27sD4d.js";
134
- import "./update-runner-Dq5UYQbo.js";
135
- import { t as resolveAgentSessionDirs } from "./session-dirs-Chh7bBGo.js";
129
+ import { s as loadAgentIdentityFromWorkspace } from "./agents.config-DDPgPAe-.js";
130
+ import "./dm-policy-shared-CQpFAzTa.js";
131
+ import "./node-service-DuN9eBL6.js";
132
+ import "./status.update-Bk4bidvt.js";
133
+ import "./skills-install-CD4O4yWI.js";
134
+ import "./update-runner-D4-wGM5B.js";
135
+ import { t as resolveAgentSessionDirs } from "./session-dirs-B6PWqKEf.js";
136
136
  import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-Bb1HX2I0.js";
137
137
  import { fileURLToPath, pathToFileURL } from "node:url";
138
138
  import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -142,7 +142,7 @@ import * as fsSync from "node:fs";
142
142
  import fs from "node:fs";
143
143
  import os from "node:os";
144
144
  import JSON5 from "json5";
145
- import fs$1 from "node:fs/promises";
145
+ import fsPromises from "node:fs/promises";
146
146
  import { spawn } from "node:child_process";
147
147
  import { z } from "zod";
148
148
  import net from "node:net";
@@ -1132,7 +1132,7 @@ function shouldSkipCheck(allowInTests) {
1132
1132
  }
1133
1133
  async function readState(statePath) {
1134
1134
  try {
1135
- const raw = await fs$1.readFile(statePath, "utf-8");
1135
+ const raw = await fsPromises.readFile(statePath, "utf-8");
1136
1136
  const parsed = JSON.parse(raw);
1137
1137
  return parsed && typeof parsed === "object" ? parsed : {};
1138
1138
  } catch {
@@ -1140,8 +1140,8 @@ async function readState(statePath) {
1140
1140
  }
1141
1141
  }
1142
1142
  async function writeState(statePath, state) {
1143
- await fs$1.mkdir(path.dirname(statePath), { recursive: true });
1144
- await fs$1.writeFile(statePath, JSON.stringify(state, null, 2), "utf-8");
1143
+ await fsPromises.mkdir(path.dirname(statePath), { recursive: true });
1144
+ await fsPromises.writeFile(statePath, JSON.stringify(state, null, 2), "utf-8");
1145
1145
  }
1146
1146
  function sameUpdateAvailable(a, b) {
1147
1147
  if (a === b) return true;
@@ -5740,6 +5740,7 @@ const BASE_METHODS = [
5740
5740
  "agent.wait",
5741
5741
  "browser.request",
5742
5742
  "chat.history",
5743
+ "chat.commands.list",
5743
5744
  "chat.abort",
5744
5745
  "chat.send"
5745
5746
  ];
@@ -6549,7 +6550,7 @@ function normalizeAgentPayload(payload) {
6549
6550
  async function startBrowserControlServerIfEnabled() {
6550
6551
  if (isTruthyEnvValue(process.env.SYMI_SKIP_BROWSER_CONTROL_SERVER)) return null;
6551
6552
  const override = process.env.SYMI_BROWSER_CONTROL_MODULE?.trim();
6552
- const mod = override ? await import(override) : await import("./control-service-Fn3d9AlH.js").then((n) => n.t);
6553
+ const mod = override ? await import(override) : await import("./control-service-D3Iaavrm.js").then((n) => n.t);
6553
6554
  const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
6554
6555
  const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
6555
6556
  if (!start) return null;
@@ -6776,7 +6777,7 @@ async function resolveFileWithinRoot(rootReal, urlPath) {
6776
6777
  if (normalized.endsWith("/")) return await tryOpen(path.posix.join(rel, "index.html"));
6777
6778
  const candidate = path.join(rootReal, rel);
6778
6779
  try {
6779
- const st = await fs$1.lstat(candidate);
6780
+ const st = await fsPromises.lstat(candidate);
6780
6781
  if (st.isSymbolicLink()) return null;
6781
6782
  if (st.isDirectory()) return await tryOpen(path.posix.join(rel, "index.html"));
6782
6783
  } catch {}
@@ -6813,8 +6814,8 @@ async function resolveA2uiRoot() {
6813
6814
  for (const dir of candidates) try {
6814
6815
  const indexPath = path.join(dir, "index.html");
6815
6816
  const bundlePath = path.join(dir, "a2ui.bundle.js");
6816
- await fs$1.stat(indexPath);
6817
- await fs$1.stat(bundlePath);
6817
+ await fsPromises.stat(indexPath);
6818
+ await fsPromises.stat(bundlePath);
6818
6819
  return dir;
6819
6820
  } catch {}
6820
6821
  return null;
@@ -6823,7 +6824,7 @@ async function resolveA2uiRootReal() {
6823
6824
  if (cachedA2uiRootReal !== void 0 && (cachedA2uiRootReal !== null || Date.now() - cachedA2uiResolvedAtMs < A2UI_ROOT_RETRY_NULL_AFTER_MS)) return cachedA2uiRootReal;
6824
6825
  if (!resolvingA2uiRoot) resolvingA2uiRoot = (async () => {
6825
6826
  const root = await resolveA2uiRoot();
6826
- cachedA2uiRootReal = root ? await fs$1.realpath(root) : null;
6827
+ cachedA2uiRootReal = root ? await fsPromises.realpath(root) : null;
6827
6828
  cachedA2uiResolvedAtMs = Date.now();
6828
6829
  resolvingA2uiRoot = null;
6829
6830
  return cachedA2uiRootReal;
@@ -7044,13 +7045,13 @@ function normalizeBasePath(rawPath) {
7044
7045
  }
7045
7046
  async function prepareCanvasRoot(rootDir) {
7046
7047
  await ensureDir(rootDir);
7047
- const rootReal = await fs$1.realpath(rootDir);
7048
+ const rootReal = await fsPromises.realpath(rootDir);
7048
7049
  try {
7049
7050
  const indexPath = path.join(rootReal, "index.html");
7050
- await fs$1.stat(indexPath);
7051
+ await fsPromises.stat(indexPath);
7051
7052
  } catch {
7052
7053
  try {
7053
- await fs$1.writeFile(path.join(rootReal, "index.html"), defaultIndexHTML(), "utf8");
7054
+ await fsPromises.writeFile(path.join(rootReal, "index.html"), defaultIndexHTML(), "utf8");
7054
7055
  } catch {}
7055
7056
  }
7056
7057
  return rootReal;
@@ -9987,7 +9988,7 @@ function resolveGatewayOwnerStatus(pid, payload, platform) {
9987
9988
  }
9988
9989
  async function readLockPayload(lockPath) {
9989
9990
  try {
9990
- const raw = await fs$1.readFile(lockPath, "utf8");
9991
+ const raw = await fsPromises.readFile(lockPath, "utf8");
9991
9992
  const parsed = JSON.parse(raw);
9992
9993
  if (typeof parsed.pid !== "number") return null;
9993
9994
  if (typeof parsed.createdAt !== "string") return null;
@@ -10021,11 +10022,11 @@ async function acquireGatewayLock(opts = {}) {
10021
10022
  const staleMs = opts.staleMs ?? DEFAULT_STALE_MS;
10022
10023
  const platform = opts.platform ?? process.platform;
10023
10024
  const { lockPath, configPath } = resolveGatewayLockPath(env);
10024
- await fs$1.mkdir(path.dirname(lockPath), { recursive: true });
10025
+ await fsPromises.mkdir(path.dirname(lockPath), { recursive: true });
10025
10026
  const startedAt = Date.now();
10026
10027
  let lastPayload = null;
10027
10028
  while (Date.now() - startedAt < timeoutMs) try {
10028
- const handle = await fs$1.open(lockPath, "wx");
10029
+ const handle = await fsPromises.open(lockPath, "wx");
10029
10030
  const startTime = platform === "linux" ? readLinuxStartTime(process.pid) : null;
10030
10031
  const payload = {
10031
10032
  pid: process.pid,
@@ -10039,7 +10040,7 @@ async function acquireGatewayLock(opts = {}) {
10039
10040
  configPath,
10040
10041
  release: async () => {
10041
10042
  await handle.close().catch(() => void 0);
10042
- await fs$1.rm(lockPath, { force: true });
10043
+ await fsPromises.rm(lockPath, { force: true });
10043
10044
  }
10044
10045
  };
10045
10046
  } catch (err) {
@@ -10048,7 +10049,7 @@ async function acquireGatewayLock(opts = {}) {
10048
10049
  const ownerPid = lastPayload?.pid;
10049
10050
  const ownerStatus = ownerPid ? resolveGatewayOwnerStatus(ownerPid, lastPayload, platform) : "unknown";
10050
10051
  if (ownerStatus === "dead" && ownerPid) {
10051
- await fs$1.rm(lockPath, { force: true });
10052
+ await fsPromises.rm(lockPath, { force: true });
10052
10053
  continue;
10053
10054
  }
10054
10055
  if (ownerStatus !== "alive") {
@@ -10058,13 +10059,13 @@ async function acquireGatewayLock(opts = {}) {
10058
10059
  stale = Number.isFinite(createdAt) ? Date.now() - createdAt > staleMs : false;
10059
10060
  }
10060
10061
  if (!stale) try {
10061
- const st = await fs$1.stat(lockPath);
10062
+ const st = await fsPromises.stat(lockPath);
10062
10063
  stale = Date.now() - st.mtimeMs > staleMs;
10063
10064
  } catch {
10064
10065
  stale = true;
10065
10066
  }
10066
10067
  if (stale) {
10067
- await fs$1.rm(lockPath, { force: true });
10068
+ await fsPromises.rm(lockPath, { force: true });
10068
10069
  continue;
10069
10070
  }
10070
10071
  }
@@ -11962,7 +11963,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
11962
11963
  if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
11963
11964
  if (!minimalTestGateway) (async () => {
11964
11965
  const { recoverPendingDeliveries } = await import("./delivery-queue-DDs84baU.js").then((n) => n.n);
11965
- const { deliverOutboundPayloads } = await import("./deliver-RwovDEDy.js").then((n) => n.n);
11966
+ const { deliverOutboundPayloads } = await import("./deliver-CxOAv44C.js").then((n) => n.n);
11966
11967
  await recoverPendingDeliveries({
11967
11968
  deliver: deliverOutboundPayloads,
11968
11969
  log: log.child("delivery-recovery"),
@@ -12035,7 +12036,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
12035
12036
  });
12036
12037
  let glassUiBridgeCleanup = null;
12037
12038
  if (!minimalTestGateway) {
12038
- const { createGlassUiBridge } = await import("./glass-ui-ws-BNJkhJrL.js");
12039
+ const { createGlassUiBridge } = await import("./glass-ui-ws-kUuNFNa_.js");
12039
12040
  glassUiBridgeCleanup = createGlassUiBridge({
12040
12041
  wss: glassUiWss,
12041
12042
  context: gatewayRequestContext,