@symerian/symi 2.6.28 → 2.6.30

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 (274) hide show
  1. package/dist/{accounts-BRw8yhIW.js → accounts-D1r2dq1t.js} +21 -21
  2. package/dist/{accounts-3dCrO3oZ.js → accounts-dRUMQQrB.js} +1 -1
  3. package/dist/{accounts-BuZxOb3B.js → accounts-wSphH5gv.js} +1 -1
  4. package/dist/{active-listener-CfHHV2SU.js → active-listener-DFUTUjxt.js} +1 -1
  5. package/dist/{agent-scope-CpEJ0B88.js → agent-scope-D68_xfTL.js} +3 -3
  6. package/dist/{agents-ST-RelE_.js → agents-F62kqpkn.js} +4 -4
  7. package/dist/{agents.config-BJqym5bg.js → agents.config-Bra6UznM.js} +1 -1
  8. package/dist/{agents.config-Dz-OLfrK.js → agents.config-CQ90zDyI.js} +1 -1
  9. package/dist/{audio-preflight-BVaaZWkg.js → audio-preflight-Bdbm4htn.js} +29 -29
  10. package/dist/{audio-preflight-C40mKAp7.js → audio-preflight-CPBOQV4I.js} +4 -4
  11. package/dist/{auth-choice-r5NHQXLW.js → auth-choice-D1uIw27C.js} +1 -1
  12. package/dist/{auth-choice-D8h_fABj.js → auth-choice-X1P4E-3Z.js} +1 -1
  13. package/dist/{auth-profiles-DdK1Hxaa.js → auth-profiles-Bl9aU7fc.js} +17 -17
  14. package/dist/{banner-Bn_I7g2w.js → banner-BabW0wLs.js} +1 -1
  15. package/dist/{bindings-BsHoBLIE.js → bindings-Bat2RnAR.js} +2 -2
  16. package/dist/build-info.json +3 -3
  17. package/dist/bundled/boot-md/handler.js +53 -53
  18. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  19. package/dist/bundled/command-logger/handler.js +1 -1
  20. package/dist/bundled/session-memory/handler.js +53 -53
  21. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  22. package/dist/{channel-activity-B6G1jnQT.js → channel-activity-DK0AV-r9.js} +1 -1
  23. package/dist/{channel-options-I_uoOZoj.js → channel-options-C64unDdQ.js} +1 -1
  24. package/dist/{channel-options-DwvK56mc.js → channel-options-CX-LE2dk.js} +1 -1
  25. package/dist/{channel-web-b0CCqrmj.js → channel-web-GzdyP40j.js} +1 -1
  26. package/dist/{channels-cli-BuYlQcEc.js → channels-cli-CQrhnixR.js} +4 -4
  27. package/dist/{channels-cli-TWQv4Aur.js → channels-cli-OymBYTkK.js} +4 -4
  28. package/dist/{chrome-DkaXoP36.js → chrome-BdQhP7bg.js} +21 -21
  29. package/dist/{chrome-CDJYxX5a.js → chrome-D2SKJnR7.js} +7 -7
  30. package/dist/{chunk-09egQapi.js → chunk-DR8ukp6r.js} +1 -1
  31. package/dist/{cli-CVwt1Fg7.js → cli-C1RjRVMT.js} +1 -1
  32. package/dist/{cli-Dul8S9oW.js → cli-zchCoTxI.js} +1 -1
  33. package/dist/{command-registry--BVAkymo.js → command-registry-D9xmmn9v.js} +9 -9
  34. package/dist/{commands-registry-Bfc7Uz0o.js → commands-registry-DIakZUZb.js} +4 -4
  35. package/dist/{completion-cli-CMPF-UWB.js → completion-cli-CdMbiAwX.js} +2 -2
  36. package/dist/{completion-cli-LSZGfNYt.js → completion-cli-CfhJhArh.js} +1 -1
  37. package/dist/{config-5SdHIcHU.js → config-CvmE3Yx1.js} +12 -12
  38. package/dist/{config-cli-CGl36qcO.js → config-cli-BWhToRSW.js} +1 -1
  39. package/dist/{config-cli-Ba5_OYLK.js → config-cli-De0w9QFu.js} +1 -1
  40. package/dist/{configure-BkxvX0D4.js → configure-DBPxwVXT.js} +3 -3
  41. package/dist/{configure-52avjwpv.js → configure-iCtE2gdv.js} +3 -3
  42. package/dist/control-ui/js/symipulse.js +4 -0
  43. package/dist/{deliver-C46-vyqg.js → deliver-BD6kFk6p.js} +20 -20
  44. package/dist/{deliver-BH0l3UKW.js → deliver-C-37cZUe.js} +1 -1
  45. package/dist/{diagnostic-rPhsBoZz.js → diagnostic-spWOtH_g.js} +1 -1
  46. package/dist/{doctor-completion-3JibMuKJ.js → doctor-completion-Cuy1NwzL.js} +1 -1
  47. package/dist/{doctor-completion-C8TRMeH9.js → doctor-completion-htc4kMhg.js} +1 -1
  48. package/dist/entry.js +1 -1
  49. package/dist/{env-BDXYbTKj.js → env-xmBFQPBP.js} +1 -1
  50. package/dist/extensionAPI.js +6 -6
  51. package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-CV0YkjoY.js} +2 -2
  52. package/dist/{gateway-cli-CcBKPe7-.js → gateway-cli-DxSUgxx3.js} +9 -9
  53. package/dist/{gateway-cli-CRAuYms0.js → gateway-cli-pIBNUJhN.js} +9 -9
  54. package/dist/{gemini-auth-Dy12ZAH3.js → gemini-auth-C6Z-2T42.js} +1 -1
  55. package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
  56. package/dist/{glass-ui-ws-B2LHyjWF.js → glass-ui-ws-B5Iw-tYt.js} +7 -7
  57. package/dist/{glass-ui-ws-odUDh4Ax.js → glass-ui-ws-BVcaUJ4x.js} +7 -7
  58. package/dist/{health-cAOv8KHf.js → health-DK1EhshZ.js} +1 -1
  59. package/dist/{health-DU1f-Ruq.js → health-qWkLoxz7.js} +1 -1
  60. package/dist/{hooks-cli-BRlCeWiG.js → hooks-cli-Bt_pfMq8.js} +2 -2
  61. package/dist/{hooks-cli-Dtyjf26K.js → hooks-cli-QmJBRt0j.js} +2 -2
  62. package/dist/{image-CuzFLQWC.js → image-CE0mENPo.js} +4 -4
  63. package/dist/{image-CHzdaNJ4.js → image-DcpMiprB.js} +1 -1
  64. package/dist/{image-ops-C7CauEK8.js → image-ops-M5agStZn.js} +16 -16
  65. package/dist/index.js +6 -6
  66. package/dist/{ir-CTiz95Vb.js → ir-B-XXcYFe.js} +4 -4
  67. package/dist/llm-slug-generator.js +53 -53
  68. package/dist/{local-roots-DhZz0Ybs.js → local-roots-CdXg5-Cx.js} +5 -5
  69. package/dist/{login-ul8zaw_S.js → login-BHUrERYo.js} +7 -7
  70. package/dist/{login-qr-AP9agO-i.js → login-qr-BKIOHn1V.js} +12 -12
  71. package/dist/{manager-PprhCvO_.js → manager-DW3JqFpY.js} +22 -22
  72. package/dist/{manifest-registry-yb7sAlu4.js → manifest-registry-0J48biqr.js} +19 -19
  73. package/dist/{markdown-tables-C-BmIap8.js → markdown-tables-tW9bGjLM.js} +1 -1
  74. package/dist/{plugin-sdk/message-channel-BdI5Ra9S.js → message-channel-DwDSKGn4.js} +1 -1
  75. package/dist/{models-BQL1Rx8A.js → models-CBAKijCe.js} +2 -2
  76. package/dist/{models-cli-iXoriT4a.js → models-cli-CtWHHvR0.js} +3 -3
  77. package/dist/{models-cli-BWNnBUiT.js → models-cli-DkNjxGZ8.js} +2 -2
  78. package/dist/{onboard-dIjmiymZ.js → onboard-BmK2-tfb.js} +2 -2
  79. package/dist/{onboard-channels-99ZIc6U9.js → onboard-channels-CcoMVcOs.js} +1 -1
  80. package/dist/{onboard-channels-C87IzN9d.js → onboard-channels-CnNA3U8_.js} +1 -1
  81. package/dist/{onboard-D8IHkR2A.js → onboard-wJCi24zf.js} +2 -2
  82. package/dist/{onboarding-DCPTymIi.js → onboarding-Cs7XncoX.js} +3 -3
  83. package/dist/{onboarding-B-J8KGlq.js → onboarding-GGE9UgcE.js} +3 -3
  84. package/dist/{onboarding.finalize-DYrKwuL6.js → onboarding.finalize-BEMefoBu.js} +6 -6
  85. package/dist/{onboarding.finalize-CqnM29uP.js → onboarding.finalize-CawqY9YT.js} +5 -5
  86. package/dist/{outbound-CtMCmwxR.js → outbound-CIVsLpJK.js} +7 -7
  87. package/dist/{outbound-attachment-DJldbweZ.js → outbound-attachment-CHcmlip8.js} +2 -2
  88. package/dist/paths-CYmyCDsE.js +212 -0
  89. package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
  90. package/dist/{pi-auth-json-Bk8ERadJ.js → pi-auth-json-BYuCWAs0.js} +8 -8
  91. package/dist/{pi-embedded-BpqY8Naf.js → pi-embedded-eCY-k0yS.js} +20 -18
  92. package/dist/{pi-embedded-helpers-lgx_U5KS.js → pi-embedded-helpers-B8kqLWns.js} +4 -4
  93. package/dist/{pi-embedded-helpers-CfqDGQ9J.js → pi-embedded-helpers-Pnxzi8V5.js} +73 -73
  94. package/dist/{plugin-registry-Cp2i5y4t.js → plugin-registry-BqSezGzv.js} +1 -1
  95. package/dist/{plugin-registry-D54PM8pM.js → plugin-registry-C-RHl6z7.js} +1 -1
  96. package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
  97. package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
  98. package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
  99. package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
  100. package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
  101. package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
  102. package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
  103. package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
  104. package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
  105. package/dist/plugin-sdk/{channel-web-DSd2f31z.js → channel-web-BOFr3AaP.js} +22 -22
  106. package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.js} +3 -3
  107. package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
  108. package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
  109. package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
  110. package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
  111. package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
  112. package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
  113. package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
  114. package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
  115. package/dist/plugin-sdk/index.js +53 -53
  116. package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
  117. package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
  118. package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
  119. package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
  120. package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
  121. package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
  122. package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
  123. package/dist/{message-channel-OlFBYAw8.js → plugin-sdk/message-channel-COTAJzHd.js} +1 -1
  124. package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
  125. package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
  126. package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
  127. package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
  128. package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
  129. package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
  130. package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
  131. package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
  132. package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
  133. package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
  134. package/dist/plugin-sdk/{reply-XQCt49hi.js → reply-B7rSYofo.js} +82 -80
  135. package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
  136. package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
  137. package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
  138. package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
  139. package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
  140. package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
  141. package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
  142. package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
  143. package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
  144. package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
  145. package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
  146. package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
  147. package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
  148. package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
  149. package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
  150. package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
  151. package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
  152. package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
  153. package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
  154. package/dist/{tokens-Bux9Y_xD.js → plugin-sdk/tokens-bC3UVmVH.js} +1 -1
  155. package/dist/{tool-images-SqqWIT22.js → plugin-sdk/tool-images-HJ2sfZDV.js} +2 -2
  156. package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
  157. package/dist/plugin-sdk/web-iaHlqNQD.js +65 -0
  158. package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
  159. package/dist/{plugins-BzmbgY7s.js → plugins-Bkr5ZdYs.js} +9 -9
  160. package/dist/{plugins-cli-BK2oAIgt.js → plugins-cli-D5l8DCUo.js} +2 -2
  161. package/dist/{plugins-cli-DPVj7Ll8.js → plugins-cli-DIKVN1j-.js} +2 -2
  162. package/dist/{program-Cs6SC0Y3.js → program-DKp_gWvH.js} +7 -7
  163. package/dist/{program-context-9l2VE3gk.js → program-context-CJO5zWl7.js} +17 -17
  164. package/dist/{prompt-select-styled-BEblj71P.js → prompt-select-styled-CuDVrio_.js} +4 -4
  165. package/dist/{prompt-select-styled-0rN-Bjc0.js → prompt-select-styled-Drbf4MLf.js} +4 -4
  166. package/dist/{provider-auth-helpers-BMmt5mEA.js → provider-auth-helpers-D0JrH_QE.js} +1 -1
  167. package/dist/{provider-auth-helpers-K5FZKmUs.js → provider-auth-helpers-ku70HLId.js} +1 -1
  168. package/dist/{push-apns-DkYs830G.js → push-apns-DWLiMsGQ.js} +1 -1
  169. package/dist/{push-apns-c1qXclcv.js → push-apns-DZvXSHuB.js} +1 -1
  170. package/dist/{pw-ai-De-KR9_s.js → pw-ai-1htA-NnS.js} +1 -1
  171. package/dist/{pw-ai-m0mj2KWK.js → pw-ai-BA-fJnJc.js} +11 -11
  172. package/dist/{qmd-manager-iDLSiI4Z.js → qmd-manager-BKu9rOuB.js} +7 -7
  173. package/dist/{register.agent-CMteZ9CA.js → register.agent-CW-Jt26a.js} +5 -5
  174. package/dist/{register.agent-B39c6eVV.js → register.agent-Dr-AvNVj.js} +6 -6
  175. package/dist/{register.configure-DNdw3aHr.js → register.configure-CPykN4LB.js} +6 -6
  176. package/dist/{register.configure-BPxWBOcN.js → register.configure-D3_5DZTq.js} +6 -6
  177. package/dist/{register.maintenance-BpLQ73q6.js → register.maintenance-BOxfAudK.js} +7 -7
  178. package/dist/{register.maintenance-DnLb4_pC.js → register.maintenance-BValTiSe.js} +8 -8
  179. package/dist/{register.message-CeZGfAG1.js → register.message-BzVaP85q.js} +2 -2
  180. package/dist/{register.message-DFEhBqvI.js → register.message-lbfcALgz.js} +2 -2
  181. package/dist/{register.onboard-Bbu2o5v-.js → register.onboard-B_CORRMq.js} +4 -4
  182. package/dist/{register.onboard-XELS-V90.js → register.onboard-CxhJjGFr.js} +4 -4
  183. package/dist/{register.setup-BbBvDDru.js → register.setup-CYeKu0ru.js} +4 -4
  184. package/dist/{register.setup-CLE7PdHv.js → register.setup-DeT-WyJj.js} +4 -4
  185. package/dist/{register.status-health-sessions-7zhAiHx0.js → register.status-health-sessions-BrNEfd3r.js} +3 -3
  186. package/dist/{register.status-health-sessions-D4qCiL0J.js → register.status-health-sessions-CYwrV6QO.js} +3 -3
  187. package/dist/{register.subclis-DovpQkAb.js → register.subclis-BCcY1GJC.js} +9 -9
  188. package/dist/{registry-DYq1AYOv.js → registry-UkL38jvt.js} +17 -17
  189. package/dist/{replies-LSmuwOhA.js → replies-mfnbLu2p.js} +3 -3
  190. package/dist/{reply-TUgh96BH.js → reply-BNLTgD0A.js} +6 -4
  191. package/dist/{reply-prefix-DpqZu44Z.js → reply-prefix-DkGsdyBm.js} +1 -1
  192. package/dist/{resolve-route-C4_I4GFI.js → resolve-route-q8AFnU5c.js} +4 -4
  193. package/dist/{retry-BBVXkKBV.js → retry-CqMeDhyp.js} +1 -1
  194. package/dist/{run-main-BPf5aLAC.js → run-main-BVSVpxZ3.js} +14 -14
  195. package/dist/{runner-DUBExAb5.js → runner-BcQ0sF9T.js} +1 -1
  196. package/dist/{runner-CU9l0uJh.js → runner-BnAUcMiq.js} +22 -22
  197. package/dist/{send-DYj_o4_F.js → send-B7z8CDbr.js} +18 -18
  198. package/dist/{send-CQAKg_12.js → send-Cd81AY_Z.js} +7 -7
  199. package/dist/{send-CvhXrdgS.js → send-D3zDmQim.js} +10 -10
  200. package/dist/{send-DAN9hA5h.js → send-XRUYukww.js} +6 -6
  201. package/dist/{send-CVMyYPQw.js → send-qItpAHcI.js} +6 -6
  202. package/dist/{server-methods-DAkx0Jqj.js → server-methods-BYcfPp30.js} +7 -7
  203. package/dist/{server-methods-DFuRwfyn.js → server-methods-BhRjuKEM.js} +7 -7
  204. package/dist/{server-node-events-CwxdrTiK.js → server-node-events-BEzZn2VI.js} +2 -2
  205. package/dist/{server-node-events-BiFHrjUb.js → server-node-events-BsPi-QDx.js} +2 -2
  206. package/dist/{session-DSU1vxxi.js → session-Dh2wWQkD.js} +8 -8
  207. package/dist/{skill-commands-DcVwOafC.js → skill-commands-B_f8uGi7.js} +16 -16
  208. package/dist/{skills-Bs0AW1g3.js → skills-CGHRETGF.js} +24 -24
  209. package/dist/{sqlite-D_mz1_-y.js → sqlite-Bv87EXeg.js} +16 -16
  210. package/dist/{status-QRydo-7w.js → status-BB7l5YGy.js} +2 -2
  211. package/dist/{status-C42zRdTE.js → status-BZgA_AUW.js} +1 -1
  212. package/dist/{status-DLT_0K6s.js → status-C7VswIJF.js} +1 -1
  213. package/dist/{status-v1fz4XO0.js → status-D9MVzUtM.js} +2 -2
  214. package/dist/{store-01F_JM7O.js → store-Ea3zM6xK.js} +6 -6
  215. package/dist/{subagent-registry-btvK-uGU.js → subagent-registry-CT87UyVy.js} +6 -4
  216. package/dist/{subsystem-BjyjJF-d.js → subsystem-DN75fnEF.js} +1 -1
  217. package/dist/{tables-qMwbq29u.js → tables-BX7_aBvN.js} +1 -1
  218. package/dist/{target-errors-Bbr9rlzN.js → target-errors-7KhTCTdS.js} +2 -2
  219. package/dist/{thinking-BprCy23Z.js → thinking-C9-JAUzD.js} +5 -5
  220. package/dist/{plugin-sdk/tokens-CWMflosr.js → tokens-BZGy4v--.js} +1 -1
  221. package/dist/{plugin-sdk/tool-images-D7Lno-TE.js → tool-images-B1qVCntj.js} +2 -2
  222. package/dist/{tool-loop-detection-DR_rrIA1.js → tool-loop-detection-C8FBZVVx.js} +3 -3
  223. package/dist/{unified-runner-BzcXoZmB.js → unified-runner-LSPKHmvx.js} +228 -226
  224. package/dist/{update-cli-CCo0jjlD.js → update-cli-DEbsukOW.js} +8 -8
  225. package/dist/{update-cli-JXIAh9-v.js → update-cli-Dyg_WetV.js} +7 -7
  226. package/dist/{update-runner-CNBdOfqY.js → update-runner-3-pTGczW.js} +1 -1
  227. package/dist/{update-runner-Dy2tM0ZX.js → update-runner-DYuIPErv.js} +1 -1
  228. package/dist/{web-PvQddZps.js → web-Bu_faeV-.js} +6 -6
  229. package/dist/{web-Bn27WNAv.js → web-CB7FYstW.js} +1 -1
  230. package/dist/{web-Bhv2j2Bf.js → web-DyvSF1Pu.js} +57 -57
  231. package/dist/{web-BB6PGgjn.js → web-Q47zU0qb.js} +2 -2
  232. package/dist/{whatsapp-actions-BIeSWsCF.js → whatsapp-actions-SXenaJIn.js} +23 -23
  233. package/dist/{workspace-DscDraUb.js → workspace-DqJ5h-ZB.js} +27 -27
  234. package/extensions/bluebubbles/node_modules/.bin/symi +0 -0
  235. package/extensions/copilot-proxy/node_modules/.bin/symi +0 -0
  236. package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -0
  237. package/extensions/diagnostics-otel/node_modules/.bin/symi +0 -0
  238. package/extensions/discord/node_modules/.bin/symi +0 -0
  239. package/extensions/feishu/node_modules/.bin/symi +0 -0
  240. package/extensions/google-antigravity-auth/node_modules/.bin/symi +0 -0
  241. package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +0 -0
  242. package/extensions/googlechat/node_modules/.bin/symi +0 -0
  243. package/extensions/imessage/node_modules/.bin/symi +0 -0
  244. package/extensions/irc/node_modules/.bin/symi +0 -0
  245. package/extensions/learning-loop/node_modules/.bin/symi +0 -0
  246. package/extensions/line/node_modules/.bin/symi +0 -0
  247. package/extensions/matrix/node_modules/.bin/markdown-it +0 -0
  248. package/extensions/matrix/node_modules/.bin/symi +0 -0
  249. package/extensions/mattermost/node_modules/.bin/symi +0 -0
  250. package/extensions/memory-core/node_modules/.bin/symi +0 -0
  251. package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -0
  252. package/extensions/memory-lancedb/node_modules/.bin/openai +0 -0
  253. package/extensions/memory-lancedb/node_modules/.bin/symi +0 -0
  254. package/extensions/minimax-portal-auth/node_modules/.bin/symi +0 -0
  255. package/extensions/msteams/node_modules/.bin/symi +0 -0
  256. package/extensions/nextcloud-talk/node_modules/.bin/symi +0 -0
  257. package/extensions/nostr/node_modules/.bin/symi +0 -0
  258. package/extensions/nostr/node_modules/.bin/tsc +0 -0
  259. package/extensions/nostr/node_modules/.bin/tsserver +0 -0
  260. package/extensions/signal/node_modules/.bin/symi +0 -0
  261. package/extensions/slack/node_modules/.bin/symi +0 -0
  262. package/extensions/telegram/node_modules/.bin/symi +0 -0
  263. package/extensions/tlon/node_modules/.bin/symi +0 -0
  264. package/extensions/twitch/node_modules/.bin/symi +0 -0
  265. package/extensions/voice-call/node_modules/.bin/symi +0 -0
  266. package/extensions/whatsapp/node_modules/.bin/symi +0 -0
  267. package/extensions/zalo/node_modules/.bin/symi +0 -0
  268. package/extensions/zalouser/node_modules/.bin/symi +0 -0
  269. package/package.json +113 -83
  270. package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
  271. package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
  272. package/skills/tmux/scripts/find-sessions.sh +0 -0
  273. package/skills/tmux/scripts/wait-for-text.sh +0 -0
  274. package/dist/plugin-sdk/web--1cVrQ1K.js +0 -65
@@ -1,7 +1,7 @@
1
1
  import { g as resolveStateDir, t as CONFIG_PATH } from "./paths-Cqn-zk3M.js";
2
2
  import { D as isPlainObject, U as getResolvedLoggerSettings, r as clamp, y as resolveUserPath } from "./utils-B-0b9bGM.js";
3
3
  import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-EAliFiVK.js";
4
- import { $n as OPENAI_TTS_MODELS, Bn as registerAgentRunContext, Bt as abortEmbeddedPiRun, C as ensureOutboundSessionEntry, Et as agentCommand, Ft as normalizeSendPolicy, G as normalizeCronJobPatch, Gn as resolveTtsApiKey, H as writeRestartSentinel, Hn as getTtsProvider, Ht as waitForEmbeddedPiRunEnd, It as resolveSendPolicy, Jn as resolveTtsPrefsPath, Kn as resolveTtsAutoMode, L as formatDoctorNonInteractiveHint, Mn as listSubagentRunsForRequester, Mt as resolveOutboundTarget, N as scheduleGatewaySigusr1Restart, Ot as resolveAgentDeliveryPlan, Pr as resolveAgentTimeoutMs, Qn as textToSpeech, Rt as createOutboundSendDeps, Sr as isSystemEventContextChanged, Tn as stopSubagentsForRequester, Un as isTtsEnabled, Vn as resolveUserTimezone, W as normalizeCronJobCreate, Wn as isTtsProviderConfigured, Xn as setTtsEnabled, Yn as resolveTtsProviderOrder, Zn as setTtsProvider, _ as loadCombinedSessionStoreForGateway, at as persistBrowserProxyFiles, b as resolveGatewaySessionStoreTarget, br as parseVerboseOverride, c as clearSessionQueues, er as OPENAI_TTS_VOICES, ft as loadSymiPlugins, g as listSessionsFromStore, gt as loadProviderUsageSummary, h as listAgentsForGateway, in as unbindThreadBindingsBySessionKey, it as applyBrowserProxyPaths, jn as listDescendantRunsForRequester, kt as resolveAgentOutboundTarget, mn as createReplyDispatcher, mt as normalizeGroupActivation, n as BARE_SESSION_RESET_PROMPT, p as canonicalizeSpawnedByForAgent, pn as dispatchInboundMessage, qn as resolveTtsConfig, v as loadSessionEntry, vr as applyModelOverrideToSessionEntry, w as resolveOutboundSessionRoute, wn as isAbortTrigger, x as resolveSessionModelRef, xn as formatZonedTimestamp, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys, yr as applyVerboseOverride, zn as onAgentEvent } from "./reply-TUgh96BH.js";
4
+ import { $n as OPENAI_TTS_MODELS, Bn as registerAgentRunContext, Bt as abortEmbeddedPiRun, C as ensureOutboundSessionEntry, Et as agentCommand, Ft as normalizeSendPolicy, G as normalizeCronJobPatch, Gn as resolveTtsApiKey, H as writeRestartSentinel, Hn as getTtsProvider, Ht as waitForEmbeddedPiRunEnd, It as resolveSendPolicy, Jn as resolveTtsPrefsPath, Kn as resolveTtsAutoMode, L as formatDoctorNonInteractiveHint, Mn as listSubagentRunsForRequester, Mt as resolveOutboundTarget, N as scheduleGatewaySigusr1Restart, Ot as resolveAgentDeliveryPlan, Pr as resolveAgentTimeoutMs, Qn as textToSpeech, Rt as createOutboundSendDeps, Sr as isSystemEventContextChanged, Tn as stopSubagentsForRequester, Un as isTtsEnabled, Vn as resolveUserTimezone, W as normalizeCronJobCreate, Wn as isTtsProviderConfigured, Xn as setTtsEnabled, Yn as resolveTtsProviderOrder, Zn as setTtsProvider, _ as loadCombinedSessionStoreForGateway, at as persistBrowserProxyFiles, b as resolveGatewaySessionStoreTarget, br as parseVerboseOverride, c as clearSessionQueues, er as OPENAI_TTS_VOICES, ft as loadSymiPlugins, g as listSessionsFromStore, gt as loadProviderUsageSummary, h as listAgentsForGateway, in as unbindThreadBindingsBySessionKey, it as applyBrowserProxyPaths, jn as listDescendantRunsForRequester, kt as resolveAgentOutboundTarget, mn as createReplyDispatcher, mt as normalizeGroupActivation, n as BARE_SESSION_RESET_PROMPT, p as canonicalizeSpawnedByForAgent, pn as dispatchInboundMessage, qn as resolveTtsConfig, v as loadSessionEntry, vr as applyModelOverrideToSessionEntry, w as resolveOutboundSessionRoute, wn as isAbortTrigger, x as resolveSessionModelRef, xn as formatZonedTimestamp, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys, yr as applyVerboseOverride, zn as onAgentEvent } from "./reply-BNLTgD0A.js";
5
5
  import { S as parseAgentSessionKey, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey } from "./session-key-DCt45XZa.js";
6
6
  import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
7
7
  import { C as createInternalHookEvent, T as triggerInternalHook, d as getActivePluginRegistry, r as DEFAULT_CHAT_CHANNEL, t as CHANNEL_IDS } from "./registry-Cja8eT7G.js";
@@ -39,14 +39,14 @@ import { t as WizardCancelledError } from "./prompts-Xu2Sveka.js";
39
39
  import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
40
40
  import { t as buildChannelAccountSnapshot } from "./status-BrV-afZE.js";
41
41
  import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-CrITRV6w.js";
42
- import { n as getStatusSummary } from "./status-v1fz4XO0.js";
43
- import { s as setHeartbeatsEnabled } from "./health-cAOv8KHf.js";
42
+ import { n as getStatusSummary } from "./status-D9MVzUtM.js";
43
+ import { s as setHeartbeatsEnabled } from "./health-DK1EhshZ.js";
44
44
  import { m as normalizeUpdateChannel } from "./update-check-CtckACbb.js";
45
- import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-c1qXclcv.js";
46
- import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BJqym5bg.js";
45
+ import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-DZvXSHuB.js";
46
+ import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Bra6UznM.js";
47
47
  import { t as resolveSystemRunCommand } from "./system-run-command-ByVa3txU.js";
48
48
  import { t as installSkill } from "./skills-install-D67isO1L.js";
49
- import { t as runGatewayUpdate } from "./update-runner-CNBdOfqY.js";
49
+ import { t as runGatewayUpdate } from "./update-runner-3-pTGczW.js";
50
50
  import * as fs$2 from "node:fs";
51
51
  import fs from "node:fs";
52
52
  import * as os$1 from "node:os";
@@ -6853,7 +6853,7 @@ const nodeHandlers = {
6853
6853
  const p = params;
6854
6854
  const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
6855
6855
  await respondUnavailableOnThrow(respond, async () => {
6856
- const { handleNodeEvent } = await import("./server-node-events-CwxdrTiK.js");
6856
+ const { handleNodeEvent } = await import("./server-node-events-BEzZn2VI.js");
6857
6857
  const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
6858
6858
  await handleNodeEvent({
6859
6859
  deps: context.deps,
@@ -12,7 +12,7 @@ import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, i as isGatewayMessa
12
12
  import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Byh6drgn.js";
13
13
  import { s as pickPrimaryLanIPv4 } from "./net-DZ5Ayk-W.js";
14
14
  import { i as normalizeInputProvenance } from "./input-provenance-D0lNkCf6.js";
15
- import { $n as resolveTtsAutoMode, B as dispatchInboundMessage, C as resolveAgentDeliveryPlan, Cn as enqueueSystemEvent, Cr as onAgentEvent, D as createOutboundSendDeps, Dt as normalizeCronJobPatch, Et as normalizeCronJobCreate, G as BARE_SESSION_RESET_PROMPT, Gn as stopSubagentsForRequester, Gt as persistBrowserProxyFiles, In as resolveAgentTimeoutMs, Jn as resolveUserTimezone, Qn as resolveTtsApiKey, Sn as parseVerboseOverride, V as createReplyDispatcher, Vn as formatZonedTimestamp, Wn as isAbortTrigger, Wt as applyBrowserProxyPaths, Xn as isTtsEnabled, Y as abortEmbeddedPiRun, Yn as getTtsProvider, Z as waitForEmbeddedPiRunEnd, Zn as isTtsProviderConfigured, Zt as scheduleGatewaySigusr1Restart, a as listSubagentRunsForRequester, ar as textToSpeech, bn as applyModelOverrideToSessionEntry, c as clearSessionQueues, ct as resolveOutboundSessionRoute, dt as resolveOutboundTarget, en as unbindThreadBindingsBySessionKey, er as resolveTtsConfig, hn as resolveSendPolicy, i as listDescendantRunsForRequester, ir as setTtsProvider, m as loadSymiPlugins, mn as normalizeSendPolicy, nr as resolveTtsProviderOrder, or as OPENAI_TTS_MODELS, rn as loadProviderUsageSummary, rr as setTtsEnabled, sr as OPENAI_TTS_VOICES, st as ensureOutboundSessionEntry, tn as normalizeGroupActivation, tr as resolveTtsPrefsPath, w as resolveAgentOutboundTarget, wn as isSystemEventContextChanged, wr as registerAgentRunContext, wt as writeRestartSentinel, x as agentCommand, xn as applyVerboseOverride, yt as formatDoctorNonInteractiveHint } from "./subagent-registry-btvK-uGU.js";
15
+ import { $n as resolveTtsAutoMode, B as dispatchInboundMessage, C as resolveAgentDeliveryPlan, Cn as enqueueSystemEvent, Cr as onAgentEvent, D as createOutboundSendDeps, Dt as normalizeCronJobPatch, Et as normalizeCronJobCreate, G as BARE_SESSION_RESET_PROMPT, Gn as stopSubagentsForRequester, Gt as persistBrowserProxyFiles, In as resolveAgentTimeoutMs, Jn as resolveUserTimezone, Qn as resolveTtsApiKey, Sn as parseVerboseOverride, V as createReplyDispatcher, Vn as formatZonedTimestamp, Wn as isAbortTrigger, Wt as applyBrowserProxyPaths, Xn as isTtsEnabled, Y as abortEmbeddedPiRun, Yn as getTtsProvider, Z as waitForEmbeddedPiRunEnd, Zn as isTtsProviderConfigured, Zt as scheduleGatewaySigusr1Restart, a as listSubagentRunsForRequester, ar as textToSpeech, bn as applyModelOverrideToSessionEntry, c as clearSessionQueues, ct as resolveOutboundSessionRoute, dt as resolveOutboundTarget, en as unbindThreadBindingsBySessionKey, er as resolveTtsConfig, hn as resolveSendPolicy, i as listDescendantRunsForRequester, ir as setTtsProvider, m as loadSymiPlugins, mn as normalizeSendPolicy, nr as resolveTtsProviderOrder, or as OPENAI_TTS_MODELS, rn as loadProviderUsageSummary, rr as setTtsEnabled, sr as OPENAI_TTS_VOICES, st as ensureOutboundSessionEntry, tn as normalizeGroupActivation, tr as resolveTtsPrefsPath, w as resolveAgentOutboundTarget, wn as isSystemEventContextChanged, wr as registerAgentRunContext, wt as writeRestartSentinel, x as agentCommand, xn as applyVerboseOverride, yt as formatDoctorNonInteractiveHint } from "./subagent-registry-CT87UyVy.js";
16
16
  import { F as resolveMainSessionKey, I as resolveMainSessionKeyFromConfig, J as normalizeSessionDeliveryFields, N as resolveAgentMainSessionKey, P as resolveExplicitAgentSessionKey, R as snapshotSessionOrigin, S as stripEnvelopeFromMessages, _ as capArrayByJsonBytes, d as updateSessionStore, g as archiveSessionTranscripts, h as archiveFileOnDisk, o as loadSessionStore, t as extractDeliveryInfo, v as readSessionMessages, x as resolveSessionTranscriptCandidates, y as readSessionPreviewItemsFromTranscript } from "./sessions-CJXnZVjR.js";
17
17
  import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
18
18
  import { n as createBrowserRouteDispatcher } from "./with-timeout-Di0nddLY.js";
@@ -37,14 +37,14 @@ import { t as WizardCancelledError } from "./prompts-m1IJwIAx.js";
37
37
  import { t as resolveChannelDefaultAccountId } from "./helpers-cLP5YLeQ.js";
38
38
  import { t as buildChannelAccountSnapshot } from "./status-BUedPCLb.js";
39
39
  import { o as isNodeCommandAllowed, s as resolveNodeCommandAllowlist } from "./audit-Byo5jCLN.js";
40
- import { r as getStatusSummary } from "./status-QRydo-7w.js";
41
- import { c as setHeartbeatsEnabled } from "./health-DU1f-Ruq.js";
40
+ import { r as getStatusSummary } from "./status-BB7l5YGy.js";
41
+ import { c as setHeartbeatsEnabled } from "./health-qWkLoxz7.js";
42
42
  import { m as normalizeUpdateChannel } from "./update-check-ZdimP1aU.js";
43
- import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-DkYs830G.js";
44
- import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Dz-OLfrK.js";
43
+ import { a as sendApnsAlert, c as parseMessageWithAttachments, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration } from "./push-apns-DWLiMsGQ.js";
44
+ import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-CQ90zDyI.js";
45
45
  import { t as resolveSystemRunCommand } from "./system-run-command-ByVa3txU.js";
46
46
  import { t as installSkill } from "./skills-install-1ZdwGTnh.js";
47
- import { t as runGatewayUpdate } from "./update-runner-Dy2tM0ZX.js";
47
+ import { t as runGatewayUpdate } from "./update-runner-DYuIPErv.js";
48
48
  import { spawnSync } from "node:child_process";
49
49
  import * as os$1 from "node:os";
50
50
  import os from "node:os";
@@ -6851,7 +6851,7 @@ const nodeHandlers = {
6851
6851
  const p = params;
6852
6852
  const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
6853
6853
  await respondUnavailableOnThrow(respond, async () => {
6854
- const { handleNodeEvent } = await import("./server-node-events-BiFHrjUb.js");
6854
+ const { handleNodeEvent } = await import("./server-node-events-BsPi-QDx.js");
6855
6855
  const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
6856
6856
  await handleNodeEvent({
6857
6857
  deps: context.deps,
@@ -1,7 +1,7 @@
1
1
  import "./paths-Cqn-zk3M.js";
2
2
  import "./utils-B-0b9bGM.js";
3
3
  import "./thinking-EAliFiVK.js";
4
- import { Et as agentCommand, Mt as resolveOutboundTarget, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestHeartbeatNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-TUgh96BH.js";
4
+ import { Et as agentCommand, Mt as resolveOutboundTarget, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestHeartbeatNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-BNLTgD0A.js";
5
5
  import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
6
6
  import "./registry-Cja8eT7G.js";
7
7
  import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
@@ -102,7 +102,7 @@ import "./pi-tools.policy-CIDBbw6x.js";
102
102
  import "./control-service-Bz7rxLWq.js";
103
103
  import "./stagger-BUClb97_.js";
104
104
  import "./channel-selection-DuWs0Aak.js";
105
- import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-c1qXclcv.js";
105
+ import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-DZvXSHuB.js";
106
106
  import { randomUUID } from "node:crypto";
107
107
 
108
108
  //#region src/gateway/server-node-events.ts
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
14
14
  import "./call-BcE47FtD.js";
15
15
  import "./message-channel-C9dERklz.js";
16
16
  import "./pairing-token-Byh6drgn.js";
17
- import { Cn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, dt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-btvK-uGU.js";
17
+ import { Cn as enqueueSystemEvent, T as createOutboundSendDeps, dn as requestHeartbeatNow, dt as resolveOutboundTarget, x as agentCommand } from "./subagent-registry-CT87UyVy.js";
18
18
  import { d as updateSessionStore } from "./sessions-CJXnZVjR.js";
19
19
  import "./tokens-Csntmwwn.js";
20
20
  import { r as normalizeChannelId } from "./plugins-CwSlLxM8.js";
@@ -98,7 +98,7 @@ import "./onboard-helpers-_pit1NZW.js";
98
98
  import "./prompt-style-DwCXob2h.js";
99
99
  import "./pairing-labels-D1HDboV2.js";
100
100
  import "./pi-tools.policy-De00gPXt.js";
101
- import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-DkYs830G.js";
101
+ import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-DWLiMsGQ.js";
102
102
  import { randomUUID } from "node:crypto";
103
103
 
104
104
  //#region src/gateway/server-node-events.ts
@@ -1,8 +1,8 @@
1
- import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-DYq1AYOv.js";
2
- import { n as formatCliCommand } from "./env-BDXYbTKj.js";
3
- import { A as VERSION } from "./config-5SdHIcHU.js";
4
- import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-BRw8yhIW.js";
5
- import fs from "node:fs";
1
+ import { E as ensureDir, G as danger, I as resolveUserPath, Q as success, ot as toPinoLikeLogger, rt as getChildLogger } from "./registry-UkL38jvt.js";
2
+ import { n as formatCliCommand } from "./env-xmBFQPBP.js";
3
+ import { A as VERSION } from "./config-CvmE3Yx1.js";
4
+ import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./accounts-D1r2dq1t.js";
5
+ import fsSync from "node:fs";
6
6
  import { randomUUID } from "node:crypto";
7
7
  import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
8
8
  import qrcode from "qrcode-terminal";
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
21
21
  const raw = readCredsJsonRaw(credsPath);
22
22
  if (raw) try {
23
23
  JSON.parse(raw);
24
- fs.copyFileSync(credsPath, backupPath);
24
+ fsSync.copyFileSync(credsPath, backupPath);
25
25
  try {
26
- fs.chmodSync(backupPath, 384);
26
+ fsSync.chmodSync(backupPath, 384);
27
27
  } catch {}
28
28
  } catch {}
29
29
  } catch {}
30
30
  try {
31
31
  await Promise.resolve(saveCreds());
32
32
  try {
33
- fs.chmodSync(resolveWebCredsPath(authDir), 384);
33
+ fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
34
34
  } catch {}
35
35
  } catch (err) {
36
36
  logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
@@ -1,21 +1,21 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
3
- import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-DYq1AYOv.js";
4
- import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-CpEJ0B88.js";
5
- import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
6
- import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-Bs0AW1g3.js";
7
- import { i as listChatCommands } from "./commands-registry-Bfc7Uz0o.js";
2
+ import { s as resolveStateDir } from "./paths-CYmyCDsE.js";
3
+ import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-UkL38jvt.js";
4
+ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-D68_xfTL.js";
5
+ import { t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
6
+ import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CGHRETGF.js";
7
+ import { i as listChatCommands } from "./commands-registry-DIakZUZb.js";
8
8
  import path from "node:path";
9
- import fs from "node:fs";
9
+ import fsSync from "node:fs";
10
10
  import os from "node:os";
11
- import fs$1 from "node:fs/promises";
11
+ import fs from "node:fs/promises";
12
12
  import { randomUUID } from "node:crypto";
13
13
  import chokidar from "chokidar";
14
14
 
15
15
  //#region src/infra/json-files.ts
16
16
  async function readJsonFile(filePath) {
17
17
  try {
18
- const raw = await fs$1.readFile(filePath, "utf8");
18
+ const raw = await fs.readFile(filePath, "utf8");
19
19
  return JSON.parse(raw);
20
20
  } catch {
21
21
  return null;
@@ -24,15 +24,15 @@ async function readJsonFile(filePath) {
24
24
  async function writeJsonAtomic(filePath, value, options) {
25
25
  const mode = options?.mode ?? 384;
26
26
  const dir = path.dirname(filePath);
27
- await fs$1.mkdir(dir, { recursive: true });
27
+ await fs.mkdir(dir, { recursive: true });
28
28
  const tmp = `${filePath}.${randomUUID()}.tmp`;
29
- await fs$1.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
29
+ await fs.writeFile(tmp, JSON.stringify(value, null, 2), "utf8");
30
30
  try {
31
- await fs$1.chmod(tmp, mode);
31
+ await fs.chmod(tmp, mode);
32
32
  } catch {}
33
- await fs$1.rename(tmp, filePath);
33
+ await fs.rename(tmp, filePath);
34
34
  try {
35
- await fs$1.chmod(filePath, mode);
35
+ await fs.chmod(filePath, mode);
36
36
  } catch {}
37
37
  }
38
38
  function createAsyncLock() {
@@ -283,8 +283,8 @@ function listSkillCommandsForAgents(params) {
283
283
  const visitedDirs = /* @__PURE__ */ new Set();
284
284
  for (const agentId of agentIds) {
285
285
  const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
286
- if (!fs.existsSync(workspaceDir)) continue;
287
- const canonicalDir = fs.realpathSync(workspaceDir);
286
+ if (!fsSync.existsSync(workspaceDir)) continue;
287
+ const canonicalDir = fsSync.realpathSync(workspaceDir);
288
288
  if (visitedDirs.has(canonicalDir)) continue;
289
289
  visitedDirs.add(canonicalDir);
290
290
  const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
@@ -1,13 +1,13 @@
1
- import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-DYq1AYOv.js";
2
- import { f as normalizeSkillFilter } from "./agent-scope-CpEJ0B88.js";
3
- import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
4
- import { h as resolveSymiPackageRootSync } from "./workspace-DscDraUb.js";
5
- import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-yb7sAlu4.js";
6
- import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-CTR5f_Ez.js";
1
+ import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-UkL38jvt.js";
2
+ import { f as normalizeSkillFilter } from "./agent-scope-D68_xfTL.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
4
+ import { h as resolveSymiPackageRootSync } from "./workspace-DqJ5h-ZB.js";
5
+ import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-0J48biqr.js";
6
+ import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-CV0YkjoY.js";
7
7
  import path from "node:path";
8
- import fs from "node:fs";
8
+ import fsSync from "node:fs";
9
9
  import os from "node:os";
10
- import fs$1 from "node:fs/promises";
10
+ import fs from "node:fs/promises";
11
11
  import { fileURLToPath } from "node:url";
12
12
  import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
13
13
 
@@ -391,7 +391,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
391
391
  const isLast = idx === parts.length - 1;
392
392
  current = path.join(current, part);
393
393
  try {
394
- if ((await fs$1.lstat(current)).isSymbolicLink()) {
394
+ if ((await fs.lstat(current)).isSymbolicLink()) {
395
395
  if (options?.allowFinalSymlink && isLast) return;
396
396
  const target = await tryRealpath(current);
397
397
  if (!isPathInside(rootReal, target)) throw new Error(`Symlink escapes sandbox root (${shortPath(rootReal)}): ${shortPath(current)}`);
@@ -405,7 +405,7 @@ async function assertNoSymlinkEscape(relative, root, options) {
405
405
  }
406
406
  async function tryRealpath(value) {
407
407
  try {
408
- return await fs$1.realpath(value);
408
+ return await fs.realpath(value);
409
409
  } catch {
410
410
  return path.resolve(value);
411
411
  }
@@ -424,13 +424,13 @@ function shortPath(value) {
424
424
  //#region src/agents/skills/bundled-dir.ts
425
425
  function looksLikeSkillsDir(dir) {
426
426
  try {
427
- const entries = fs.readdirSync(dir, { withFileTypes: true });
427
+ const entries = fsSync.readdirSync(dir, { withFileTypes: true });
428
428
  for (const entry of entries) {
429
429
  if (entry.name.startsWith(".")) continue;
430
430
  const fullPath = path.join(dir, entry.name);
431
431
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
432
432
  if (entry.isDirectory()) {
433
- if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
433
+ if (fsSync.existsSync(path.join(fullPath, "SKILL.md"))) return true;
434
434
  }
435
435
  }
436
436
  } catch {
@@ -445,7 +445,7 @@ function resolveBundledSkillsDir(opts = {}) {
445
445
  const execPath = opts.execPath ?? process.execPath;
446
446
  const execDir = path.dirname(execPath);
447
447
  const sibling = path.join(execDir, "skills");
448
- if (fs.existsSync(sibling)) return sibling;
448
+ if (fsSync.existsSync(sibling)) return sibling;
449
449
  } catch {}
450
450
  try {
451
451
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -501,7 +501,7 @@ function resolvePluginSkillDirs(params) {
501
501
  const trimmed = raw.trim();
502
502
  if (!trimmed) continue;
503
503
  const candidate = path.resolve(record.rootDir, trimmed);
504
- if (!fs.existsSync(candidate)) {
504
+ if (!fsSync.existsSync(candidate)) {
505
505
  log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
506
506
  continue;
507
507
  }
@@ -528,7 +528,7 @@ async function serializeByKey(key, task) {
528
528
 
529
529
  //#endregion
530
530
  //#region src/agents/skills/workspace.ts
531
- const fsp = fs.promises;
531
+ const fsp = fsSync.promises;
532
532
  const skillsLogger = createSubsystemLogger("skills");
533
533
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
534
534
  /**
@@ -605,7 +605,7 @@ function resolveSkillsLimits(config) {
605
605
  }
606
606
  function listChildDirectories(dir) {
607
607
  try {
608
- const entries = fs.readdirSync(dir, { withFileTypes: true });
608
+ const entries = fsSync.readdirSync(dir, { withFileTypes: true });
609
609
  const dirs = [];
610
610
  for (const entry of entries) {
611
611
  if (entry.name.startsWith(".")) continue;
@@ -616,7 +616,7 @@ function listChildDirectories(dir) {
616
616
  continue;
617
617
  }
618
618
  if (entry.isSymbolicLink()) try {
619
- if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
619
+ if (fsSync.statSync(fullPath).isDirectory()) dirs.push(entry.name);
620
620
  } catch {}
621
621
  }
622
622
  return dirs;
@@ -627,7 +627,7 @@ function listChildDirectories(dir) {
627
627
  function resolveNestedSkillsRoot(dir, opts) {
628
628
  const nested = path.join(dir, "skills");
629
629
  try {
630
- if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
630
+ if (!fsSync.existsSync(nested) || !fsSync.statSync(nested).isDirectory()) return { baseDir: dir };
631
631
  } catch {
632
632
  return { baseDir: dir };
633
633
  }
@@ -636,7 +636,7 @@ function resolveNestedSkillsRoot(dir, opts) {
636
636
  const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
637
637
  for (const name of toScan) {
638
638
  const skillMd = path.join(nested, name, "SKILL.md");
639
- if (fs.existsSync(skillMd)) return {
639
+ if (fsSync.existsSync(skillMd)) return {
640
640
  baseDir: nested,
641
641
  note: `Detected nested skills root at ${nested}`
642
642
  };
@@ -656,9 +656,9 @@ function loadSkillEntries(workspaceDir, opts) {
656
656
  const loadSkills = (params) => {
657
657
  const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
658
658
  const rootSkillMd = path.join(baseDir, "SKILL.md");
659
- if (fs.existsSync(rootSkillMd)) {
659
+ if (fsSync.existsSync(rootSkillMd)) {
660
660
  try {
661
- const size = fs.statSync(rootSkillMd).size;
661
+ const size = fsSync.statSync(rootSkillMd).size;
662
662
  if (size > limits.maxSkillFileBytes) {
663
663
  skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
664
664
  dir: baseDir,
@@ -697,9 +697,9 @@ function loadSkillEntries(workspaceDir, opts) {
697
697
  for (const name of limitedChildren) {
698
698
  const skillDir = path.join(baseDir, name);
699
699
  const skillMd = path.join(skillDir, "SKILL.md");
700
- if (!fs.existsSync(skillMd)) continue;
700
+ if (!fsSync.existsSync(skillMd)) continue;
701
701
  try {
702
- const size = fs.statSync(skillMd).size;
702
+ const size = fsSync.statSync(skillMd).size;
703
703
  if (size > limits.maxSkillFileBytes) {
704
704
  skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
705
705
  skill: name,
@@ -767,7 +767,7 @@ function loadSkillEntries(workspaceDir, opts) {
767
767
  return Array.from(merged.values()).map((skill) => {
768
768
  let frontmatter = {};
769
769
  try {
770
- frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
770
+ frontmatter = parseFrontmatter(fsSync.readFileSync(skill.filePath, "utf-8"));
771
771
  } catch {}
772
772
  return {
773
773
  skill,
@@ -1,10 +1,10 @@
1
- import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
2
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CbQV9WEg.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-DN75fnEF.js";
2
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DEuVuViW.js";
3
3
  import { t as redactSensitiveText } from "./redact-BDMXB06K.js";
4
4
  import { createRequire } from "node:module";
5
5
  import path from "node:path";
6
- import fs from "node:fs";
7
- import fs$1 from "node:fs/promises";
6
+ import fsSync from "node:fs";
7
+ import fs from "node:fs/promises";
8
8
  import crypto from "node:crypto";
9
9
 
10
10
  //#region src/memory/fs-utils.ts
@@ -14,7 +14,7 @@ function isFileMissingError(err) {
14
14
  async function statRegularFile(absPath) {
15
15
  let stat;
16
16
  try {
17
- stat = await fs$1.lstat(absPath);
17
+ stat = await fs.lstat(absPath);
18
18
  } catch (err) {
19
19
  if (isFileMissingError(err)) return { missing: true };
20
20
  throw err;
@@ -71,7 +71,7 @@ async function runTasksWithConcurrency(params) {
71
71
  //#region src/memory/internal.ts
72
72
  function ensureDir(dir) {
73
73
  try {
74
- fs.mkdirSync(dir, { recursive: true });
74
+ fsSync.mkdirSync(dir, { recursive: true });
75
75
  } catch {}
76
76
  return dir;
77
77
  }
@@ -90,7 +90,7 @@ function isMemoryPath(relPath) {
90
90
  return normalized.startsWith("memory/");
91
91
  }
92
92
  async function walkDir(dir, files) {
93
- const entries = await fs$1.readdir(dir, { withFileTypes: true });
93
+ const entries = await fs.readdir(dir, { withFileTypes: true });
94
94
  for (const entry of entries) {
95
95
  const full = path.join(dir, entry.name);
96
96
  if (entry.isSymbolicLink()) continue;
@@ -110,7 +110,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
110
110
  const memoryDir = path.join(workspaceDir, "memory");
111
111
  const addMarkdownFile = async (absPath) => {
112
112
  try {
113
- const stat = await fs$1.lstat(absPath);
113
+ const stat = await fs.lstat(absPath);
114
114
  if (stat.isSymbolicLink() || !stat.isFile()) return;
115
115
  if (!absPath.endsWith(".md")) return;
116
116
  result.push(absPath);
@@ -119,12 +119,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
119
119
  await addMarkdownFile(memoryFile);
120
120
  await addMarkdownFile(altMemoryFile);
121
121
  try {
122
- const dirStat = await fs$1.lstat(memoryDir);
122
+ const dirStat = await fs.lstat(memoryDir);
123
123
  if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
124
124
  } catch {}
125
125
  const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
126
126
  if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
127
- const stat = await fs$1.lstat(inputPath);
127
+ const stat = await fs.lstat(inputPath);
128
128
  if (stat.isSymbolicLink()) continue;
129
129
  if (stat.isDirectory()) {
130
130
  await walkDir(inputPath, result);
@@ -138,7 +138,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
138
138
  for (const entry of result) {
139
139
  let key = entry;
140
140
  try {
141
- key = await fs$1.realpath(entry);
141
+ key = await fs.realpath(entry);
142
142
  } catch {}
143
143
  if (seen.has(key)) continue;
144
144
  seen.add(key);
@@ -152,14 +152,14 @@ function hashText(value) {
152
152
  async function buildFileEntry(absPath, workspaceDir) {
153
153
  let stat;
154
154
  try {
155
- stat = await fs$1.stat(absPath);
155
+ stat = await fs.stat(absPath);
156
156
  } catch (err) {
157
157
  if (isFileMissingError(err)) return null;
158
158
  throw err;
159
159
  }
160
160
  let content;
161
161
  try {
162
- content = await fs$1.readFile(absPath, "utf-8");
162
+ content = await fs.readFile(absPath, "utf-8");
163
163
  } catch (err) {
164
164
  if (isFileMissingError(err)) return null;
165
165
  throw err;
@@ -293,7 +293,7 @@ const log = createSubsystemLogger("memory");
293
293
  async function listSessionFilesForAgent(agentId) {
294
294
  const dir = resolveSessionTranscriptsDirForAgent(agentId);
295
295
  try {
296
- return (await fs$1.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
296
+ return (await fs.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
297
297
  } catch {
298
298
  return [];
299
299
  }
@@ -323,8 +323,8 @@ function extractSessionText(content) {
323
323
  }
324
324
  async function buildSessionEntry(absPath) {
325
325
  try {
326
- const stat = await fs$1.stat(absPath);
327
- const lines = (await fs$1.readFile(absPath, "utf-8")).split("\n");
326
+ const stat = await fs.stat(absPath);
327
+ const lines = (await fs.readFile(absPath, "utf-8")).split("\n");
328
328
  const collected = [];
329
329
  const lineMap = [];
330
330
  for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
@@ -9,7 +9,7 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-D-jRCY0d.js";
9
9
  import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
10
10
  import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
11
11
  import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
12
- import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-btvK-uGU.js";
12
+ import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-CT87UyVy.js";
13
13
  import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
14
14
  import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
15
15
  import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.j
29
29
  import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
30
30
  import { t as renderTable } from "./table-D01d2GuY.js";
31
31
  import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Byo5jCLN.js";
32
- import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DU1f-Ruq.js";
32
+ import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-qWkLoxz7.js";
33
33
  import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
34
34
  import { t as resolveNodeService } from "./node-service-fcZExd22.js";
35
35
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DVLB9DNB.js";
@@ -1,4 +1,4 @@
1
- import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-TUgh96BH.js";
1
+ import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-BNLTgD0A.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
3
3
  import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
4
4
  import { i as loadConfig } from "./config-CHwyw6l5.js";
@@ -1,7 +1,7 @@
1
1
  import { o as createSubsystemLogger } from "./entry.js";
2
2
  import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
3
3
  import { i as loadConfig } from "./config-DHBLS1Hl.js";
4
- import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-btvK-uGU.js";
4
+ import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-CT87UyVy.js";
5
5
 
6
6
  //#region src/plugins/status.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -1,6 +1,6 @@
1
1
  import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
2
2
  import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
3
- import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-TUgh96BH.js";
3
+ import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-BNLTgD0A.js";
4
4
  import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
5
5
  import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
6
6
  import { n as runExec } from "./exec-CWkblSrI.js";
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.j
28
28
  import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
29
29
  import { t as renderTable } from "./table-BTgkRafz.js";
30
30
  import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-CrITRV6w.js";
31
- import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-cAOv8KHf.js";
31
+ import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DK1EhshZ.js";
32
32
  import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
33
33
  import { t as resolveNodeService } from "./node-service-Cxz4e-Qd.js";
34
34
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
@@ -1,7 +1,7 @@
1
- import { P as resolveConfigDir } from "./registry-DYq1AYOv.js";
2
- import { c as detectMime, l as extensionForMime } from "./image-ops-C7CauEK8.js";
1
+ import { P as resolveConfigDir } from "./registry-UkL38jvt.js";
2
+ import { c as detectMime, l as extensionForMime } from "./image-ops-M5agStZn.js";
3
3
  import path from "node:path";
4
- import fs$1 from "node:fs/promises";
4
+ import fs from "node:fs/promises";
5
5
  import crypto from "node:crypto";
6
6
 
7
7
  //#region src/media/store.ts
@@ -24,7 +24,7 @@ function getMediaDir() {
24
24
  }
25
25
  async function ensureMediaDir() {
26
26
  const mediaDir = resolveMediaDir();
27
- await fs$1.mkdir(mediaDir, {
27
+ await fs.mkdir(mediaDir, {
28
28
  recursive: true,
29
29
  mode: 448
30
30
  });
@@ -33,7 +33,7 @@ async function ensureMediaDir() {
33
33
  async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
34
34
  if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
35
35
  const dir = path.join(resolveMediaDir(), subdir);
36
- await fs$1.mkdir(dir, {
36
+ await fs.mkdir(dir, {
37
37
  recursive: true,
38
38
  mode: 448
39
39
  });
@@ -51,7 +51,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
51
51
  id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
52
52
  } else id = ext ? `${uuid}${ext}` : uuid;
53
53
  const dest = path.join(dir, id);
54
- await fs$1.writeFile(dest, buffer, { mode: 384 });
54
+ await fs.writeFile(dest, buffer, { mode: 384 });
55
55
  return {
56
56
  id,
57
57
  path: dest,
@@ -42468,7 +42468,8 @@ async function runMemoryFlushIfNeeded(params) {
42468
42468
  const flushRunId = crypto.randomUUID();
42469
42469
  if (params.sessionKey) registerAgentRunContext(flushRunId, {
42470
42470
  sessionKey: params.sessionKey,
42471
- verboseLevel: params.resolvedVerboseLevel
42471
+ verboseLevel: params.resolvedVerboseLevel,
42472
+ isHeartbeat: params.isHeartbeat
42472
42473
  });
42473
42474
  let memoryCompactionCompleted = false;
42474
42475
  const flushSystemPrompt = [params.followupRun.run.extraSystemPrompt, memoryFlushSettings.systemPrompt].filter(Boolean).join("\n\n");
@@ -42836,7 +42837,8 @@ function createFollowupRunner(params) {
42836
42837
  const runId = crypto.randomUUID();
42837
42838
  if (queued.run.sessionKey) registerAgentRunContext(runId, {
42838
42839
  sessionKey: queued.run.sessionKey,
42839
- verboseLevel: queued.run.verboseLevel
42840
+ verboseLevel: queued.run.verboseLevel,
42841
+ isHeartbeat: opts?.isHeartbeat === true
42840
42842
  });
42841
42843
  let autoCompactionCompleted = false;
42842
42844
  let runResult;
@@ -53112,7 +53114,7 @@ function isVoiceChannelType(type) {
53112
53114
  function createDefaultDeps() {
53113
53115
  return {
53114
53116
  sendMessageWhatsApp: async (...args) => {
53115
- const { sendMessageWhatsApp } = await import("./web-Bn27WNAv.js");
53117
+ const { sendMessageWhatsApp } = await import("./web-CB7FYstW.js");
53116
53118
  return await sendMessageWhatsApp(...args);
53117
53119
  },
53118
53120
  sendMessageTelegram: async (...args) => {
@@ -68426,7 +68428,7 @@ function loadWebLoginQr() {
68426
68428
  return webLoginQrPromise;
68427
68429
  }
68428
68430
  function loadWebChannel() {
68429
- webChannelPromise ??= import("./web-Bn27WNAv.js");
68431
+ webChannelPromise ??= import("./web-CB7FYstW.js");
68430
68432
  return webChannelPromise;
68431
68433
  }
68432
68434
  function loadWhatsAppActions() {
@@ -1,4 +1,4 @@
1
- import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-DYq1AYOv.js";
1
+ import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-UkL38jvt.js";
2
2
  import { Chalk } from "chalk";
3
3
 
4
4
  //#region src/terminal/progress-line.ts
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-CTiz95Vb.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-B-XXcYFe.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
3
3
 
4
4
  //#region src/markdown/tables.ts