@symerian/symi 2.3.3 → 2.3.4

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 (253) hide show
  1. package/dist/{accounts-Cd816n6l.js → accounts-DDuIpcln.js} +7 -7
  2. package/dist/{accounts-mN_EcgxC.js → accounts-DyJN4_vR.js} +1 -1
  3. package/dist/{accounts-CokRskCl.js → accounts-bK-Yqdwx.js} +1 -1
  4. package/dist/{acp-cli-BgyJMtqt.js → acp-cli-Cu4icbJT.js} +6 -6
  5. package/dist/{agent-scope-BRwEc2pG.js → agent-scope-CgUHAtCo.js} +18 -18
  6. package/dist/{agents-DjLt6jc3.js → agents-E_Ere0qU.js} +4 -4
  7. package/dist/{agents.config-u_ibObha.js → agents.config-Cv_wsBXL.js} +2 -2
  8. package/dist/{agents.config-Dt7B_P5o.js → agents.config-DJTb7Jka.js} +1 -1
  9. package/dist/{api-key-rotation-CEr3lKih.js → api-key-rotation-CzuPlV2t.js} +1 -1
  10. package/dist/{audio-preflight-CPBOQV4I.js → audio-preflight-C40mKAp7.js} +4 -4
  11. package/dist/{audio-preflight-CjysqO8U.js → audio-preflight-CWnxkaac.js} +28 -28
  12. package/dist/{audio-preflight-D02HwB-I.js → audio-preflight-O3ASWbaG.js} +4 -4
  13. package/dist/{audit-BSB9NPSO.js → audit-CrITRV6w.js} +23 -23
  14. package/dist/{auth-choice-DUUu6Nhg.js → auth-choice-B3D_jLQw.js} +1 -1
  15. package/dist/{auth-choice-DmSG7c8J.js → auth-choice-D8ynWABO.js} +8 -8
  16. package/dist/{auth-token-DC5w1WoS.js → auth-token-BnOynwk4.js} +1 -1
  17. package/dist/{banner-BiAcdT2T.js → banner-ChYzCy5p.js} +1 -1
  18. package/dist/{bindings-ChzePa8q.js → bindings-DFaVVCsf.js} +1 -1
  19. package/dist/{browser-cli-C4D9Ql3c.js → browser-cli-BG4qPxpM.js} +9 -9
  20. package/dist/build-info.json +3 -3
  21. package/dist/bundled/boot-md/handler.js +6 -6
  22. package/dist/bundled/session-memory/handler.js +6 -6
  23. package/dist/{call-Dd7-bkfG.js → call-CJaS1iRF.js} +9 -9
  24. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  25. package/dist/{channel-options-vQREpu-n.js → channel-options-BYUiEgev.js} +2 -2
  26. package/dist/{channel-options-ClfXE1B7.js → channel-options-CMNzHg4p.js} +1 -1
  27. package/dist/{channel-selection-DjfBv8kq.js → channel-selection-DuWs0Aak.js} +1 -1
  28. package/dist/{channel-web-y6pd_GHr.js → channel-web-C-HLPbLL.js} +17 -17
  29. package/dist/{channels-cli-CjYD1_OO.js → channels-cli-CcCmH-Tp.js} +75 -75
  30. package/dist/{channels-cli-suXRcyfF.js → channels-cli-CyhXPEWq.js} +4 -4
  31. package/dist/{channels-status-issues-BoH1ZJPN.js → channels-status-issues-B_kBkl_u.js} +1 -1
  32. package/dist/{chrome-EyvdASWt.js → chrome-BFekevcE.js} +7 -7
  33. package/dist/{chrome-D2SKJnR7.js → chrome-CDJYxX5a.js} +7 -7
  34. package/dist/{chrome-r4RThPxq.js → chrome-DtPkPq9T.js} +2 -2
  35. package/dist/cli/daemon-cli.js +1 -1
  36. package/dist/{cli-B-911QZL.js → cli-Cp-NQ7yu.js} +62 -62
  37. package/dist/{cli-mbfUlFn3.js → cli-Gcuf3NTF.js} +1 -1
  38. package/dist/{client-BsrZnuSi.js → client-CQSyCS4M.js} +1 -1
  39. package/dist/{command-registry-y8CXSD5O.js → command-registry-Cvr_dlLY.js} +9 -9
  40. package/dist/{commands-CtocZ4Lg.js → commands-BNLCWX6e.js} +1 -1
  41. package/dist/{commands-registry-BZ0ZSQpM.js → commands-registry-BT0-zzs3.js} +3 -3
  42. package/dist/{completion-cli-2Mi5hts2.js → completion-cli-DDlYn0ya.js} +2 -2
  43. package/dist/{completion-cli-BLrwUAyo.js → completion-cli-DaOHSXM3.js} +12 -12
  44. package/dist/{config-CJMcIRQM.js → config-CHwyw6l5.js} +2 -2
  45. package/dist/{config-cli-tYZAnvgQ.js → config-cli-BcuAsDOu.js} +1 -1
  46. package/dist/{config-cli-CF-wdLkO.js → config-cli-CmUPAVUz.js} +4 -4
  47. package/dist/{config-guard-C1Rs8NZG.js → config-guard-BflmO0t7.js} +12 -12
  48. package/dist/{config-validation-ChQQVndI.js → config-validation-CmimHAES.js} +1 -1
  49. package/dist/{configure-si19m30s.js → configure-Ctwt1377.js} +3 -3
  50. package/dist/{configure-BHKdqhLb.js → configure-OxYdT2hU.js} +15 -15
  51. package/dist/{control-service-B8H3Bqpv.js → control-service-Bz7rxLWq.js} +4 -4
  52. package/dist/{control-ui-assets-DqGziq7x.js → control-ui-assets-Z947tKLt.js} +1 -1
  53. package/dist/{cron-cli-YrMWJCkm.js → cron-cli-DBIlCvp3.js} +10 -10
  54. package/dist/{daemon-cli-Dx4SXRyp.js → daemon-cli-DscwlsKW.js} +11 -11
  55. package/dist/{daemon-runtime--RiRUx_2.js → daemon-runtime-2mwX-jqj.js} +10 -10
  56. package/dist/{deliver-C-37cZUe.js → deliver-BH0l3UKW.js} +1 -1
  57. package/dist/{deliver-Um8yyhRA.js → deliver-CceEhg3d.js} +7 -7
  58. package/dist/{deliver-D1ZN6-fl.js → deliver-CvCK5Mm9.js} +1 -1
  59. package/dist/{devices-cli-DAJ84AOe.js → devices-cli-Dds-25Ve.js} +6 -6
  60. package/dist/{diagnostics-D2yUMZN1.js → diagnostics-BAMlsVVX.js} +5 -5
  61. package/dist/{directory-cli-C4h8KQLH.js → directory-cli-CpUByQew.js} +7 -7
  62. package/dist/{dm-policy-shared-BCSw0GJS.js → dm-policy-shared-Bh3TbexU.js} +2 -2
  63. package/dist/{dns-cli-s0ZWvTPm.js → dns-cli-Beyzdh3S.js} +3 -3
  64. package/dist/{dock-BYiRZSgZ.js → dock-BhS32F6E.js} +4 -4
  65. package/dist/{docs-cli-BfPfHTDs.js → docs-cli-BpnEOtJi.js} +1 -1
  66. package/dist/{doctor-completion-C19QYsQN.js → doctor-completion-D7ShsgUp.js} +2 -2
  67. package/dist/{doctor-completion-Dn_Kn4gz.js → doctor-completion-Dw78bQaQ.js} +1 -1
  68. package/dist/{doctor-config-flow-D05HlWdn.js → doctor-config-flow-QnaBd8kL.js} +10 -10
  69. package/dist/entry.js +1 -1
  70. package/dist/{exec-approvals-cli-Df1lyRyE.js → exec-approvals-cli-BliRl8VB.js} +13 -13
  71. package/dist/extensionAPI.js +6 -6
  72. package/dist/{fs-safe-CTDvb1DF.js → fs-safe-CUjO1ca2.js} +6 -6
  73. package/dist/{gateway-cli-B7khyAHs.js → gateway-cli-Bd7u0krH.js} +126 -121
  74. package/dist/{gateway-cli-DG_Mdw0H.js → gateway-cli-D7nxPtEc.js} +22 -17
  75. package/dist/{gateway-rpc-DFeD8pZh.js → gateway-rpc-BxkKeCZ0.js} +1 -1
  76. package/dist/{glass-ui-ws-BmQAULMj.js → glass-ui-ws-CzH0ikhI.js} +82 -82
  77. package/dist/{glass-ui-ws-BAub_JoN.js → glass-ui-ws-DBivjzVA.js} +7 -7
  78. package/dist/{health-CboWXJkq.js → health-BSOMI4B6.js} +1 -1
  79. package/dist/{health-DkKXiUEF.js → health-rR61mwm3.js} +13 -13
  80. package/dist/{hooks-cli-DLM_5caf.js → hooks-cli-BbiA-gGi.js} +2 -2
  81. package/dist/{hooks-cli-BrO_9pas.js → hooks-cli-dS4fMEKE.js} +76 -76
  82. package/dist/{image-Cp3JDEBB.js → image-B0wGflxA.js} +1 -1
  83. package/dist/{image-DcpMiprB.js → image-CHzdaNJ4.js} +1 -1
  84. package/dist/{image-BiY-PfMh.js → image-D9uvDTrc.js} +3 -3
  85. package/dist/{image-ops-DYbDWaIA.js → image-ops-1OJMSAUX.js} +10 -10
  86. package/dist/index.js +72 -72
  87. package/dist/{inspect-ZJkNX0WL.js → inspect-CllGjsWo.js} +4 -4
  88. package/dist/{install-safe-path-Qqr_t_tH.js → install-safe-path-tCLiMpmO.js} +11 -11
  89. package/dist/{installs-O9KlRu9h.js → installs-C1Cebk97.js} +10 -10
  90. package/dist/{ir-Dt4hOzxG.js → ir-DZam9q5M.js} +6 -6
  91. package/dist/{lifecycle-core-BkPSoGM2.js → lifecycle-core-D6LYXpFj.js} +5 -5
  92. package/dist/llm-slug-generator.js +6 -6
  93. package/dist/{local-roots-BBeKX7PX.js → local-roots-aAFLQGkY.js} +2 -2
  94. package/dist/{login-1sleXoB4.js → login-dIlDkG4X.js} +3 -3
  95. package/dist/{login-qr-wCWBOMwB.js → login-qr-pbXdFORv.js} +5 -5
  96. package/dist/{logs-cli-DVeEdUCU.js → logs-cli-xOzIPrHm.js} +7 -7
  97. package/dist/{manager-C1CfGzZ2.js → manager-D4LJSRyZ.js} +13 -13
  98. package/dist/{markdown-tables-ZwP14ydw.js → markdown-tables-CEbN0fEm.js} +1 -1
  99. package/dist/{memory-cli-lk6fRiwy.js → memory-cli-Ca5r9AUb.js} +14 -14
  100. package/dist/{model-catalog-C3NLvWC2.js → model-catalog-DvBJ8pMD.js} +4 -4
  101. package/dist/{model-picker-LKZLY2DL.js → model-picker-Ddo3jHe-.js} +3 -3
  102. package/dist/{model-selection-X1oLh3CE.js → model-selection-CyFvYcRt.js} +9 -9
  103. package/dist/{model-CeeOcylL.js → model-tWhwnFf8.js} +1 -1
  104. package/dist/{models-BmiRYEVd.js → models-DqE1s0YL.js} +2 -2
  105. package/dist/{models-cli-Tf61I97Q.js → models-cli-6v9jkDxp.js} +3 -3
  106. package/dist/{models-cli-4vQrbW6G.js → models-cli-BWC7jYp4.js} +72 -72
  107. package/dist/{models-config-CqDdkHJq.js → models-config-qyOXrOli.js} +7 -7
  108. package/dist/{node-cli-Jj2LTGzF.js → node-cli-C_G-Q3h-.js} +28 -28
  109. package/dist/{node-service-CJygtY5M.js → node-service-Cxz4e-Qd.js} +1 -1
  110. package/dist/{nodes-cli-C43ifECe.js → nodes-cli-BcnuJajV.js} +10 -10
  111. package/dist/{nodes-screen-C99kfE1u.js → nodes-screen-VBGXKdLk.js} +4 -4
  112. package/dist/{npm-registry-spec-DR_at_Hp.js → npm-registry-spec-C2JDdSZS.js} +9 -9
  113. package/dist/{onboard-D8uxVvMq.js → onboard-BUEYf2m9.js} +13 -13
  114. package/dist/{onboard-FpptSqHZ.js → onboard-Bxoibs4p.js} +2 -2
  115. package/dist/{onboard-channels-Q_xxgZ8O.js → onboard-channels-C3UYzZNC.js} +1 -1
  116. package/dist/{onboard-channels-DOKid2w1.js → onboard-channels-af6Cu6fT.js} +5 -5
  117. package/dist/{onboard-custom-DPJiy9aT.js → onboard-custom-C7O-zfQ1.js} +3 -3
  118. package/dist/{onboard-helpers-Dixh6cNh.js → onboard-helpers-ZmZYzlq3.js} +8 -8
  119. package/dist/{onboard-hooks-lsws7g2s.js → onboard-hooks-BAA8CoVv.js} +1 -1
  120. package/dist/{onboard-remote-B66ZWtkN.js → onboard-remote-zUjD7UtM.js} +1 -1
  121. package/dist/{onboard-skills-B0IA09ig.js → onboard-skills-BB0YhUmF.js} +4 -4
  122. package/dist/{onboarding-DhIEUmp5.js → onboarding-CDdMZbov.js} +3 -3
  123. package/dist/{onboarding-CdlGKa0U.js → onboarding-DW-7o6Ln.js} +13 -13
  124. package/dist/{onboarding.finalize-CEYLIXkq.js → onboarding.finalize-29jsMLO2.js} +6 -6
  125. package/dist/{onboarding.finalize-DyBsPxXJ.js → onboarding.finalize-BI70KOeI.js} +74 -74
  126. package/dist/{onboarding.gateway-config-CCJqI0kw.js → onboarding.gateway-config-CJUgDC6Y.js} +14 -14
  127. package/dist/{openai-model-default-BJ1IZ3TN.js → openai-model-default-DMjQRsb1.js} +2 -2
  128. package/dist/{outbound-NJCy0h4x.js → outbound-DB5Zus0-.js} +4 -4
  129. package/dist/{outbound-attachment-D62E0xDI.js → outbound-attachment-D_QuKi8U.js} +2 -2
  130. package/dist/{pairing-cli-CcW0ndhB.js → pairing-cli-CBLfGvqW.js} +8 -8
  131. package/dist/{pairing-labels-27SOKDzJ.js → pairing-labels-2S6x2UoV.js} +1 -1
  132. package/dist/{pairing-store-B8ktu-6j.js → pairing-store-CK726Dzq.js} +2 -2
  133. package/dist/{pairing-token-AV-MMfVE.js → pairing-token-CX3NN_qj.js} +7 -7
  134. package/dist/{paths-CT6jsi4E.js → paths-BBm9fwuG.js} +1 -1
  135. package/dist/{pi-auth-json-CCneTXUh.js → pi-auth-json-DayrlDg_.js} +3 -3
  136. package/dist/{pi-embedded-BThV36aG.js → pi-embedded-JXvD5-F-.js} +46 -19
  137. package/dist/{pi-embedded-wr4HXhzm.js → pi-embedded-PkSwAmVq.js} +46 -19
  138. package/dist/{pi-embedded-helpers-DO6u9K2t.js → pi-embedded-helpers-CNPyv_ax.js} +6 -6
  139. package/dist/{pi-embedded-helpers-ag2bosuj.js → pi-embedded-helpers-DLFjnVBb.js} +4 -4
  140. package/dist/{pi-embedded-helpers-B8kqLWns.js → pi-embedded-helpers-lgx_U5KS.js} +4 -4
  141. package/dist/{pi-tools.policy-juZV2uUv.js → pi-tools.policy-CIDBbw6x.js} +4 -4
  142. package/dist/{plugin-auto-enable-Bbm7MwFV.js → plugin-auto-enable-BzX1uAKy.js} +2 -2
  143. package/dist/{plugin-registry-DvWWctC9.js → plugin-registry-B7AdPXfF.js} +1 -1
  144. package/dist/{plugin-registry-lWWSu9UD.js → plugin-registry-Reem6P3K.js} +3 -3
  145. package/dist/plugin-sdk/agents/model-token-filter.d.ts +11 -0
  146. package/dist/plugin-sdk/{channel-web-BnrTC55Y.js → channel-web-CM7A3Y7G.js} +1 -1
  147. package/dist/plugin-sdk/index.js +2 -2
  148. package/dist/plugin-sdk/{reply-kuMxu6Q4.js → reply-CDloTGFF.js} +32 -5
  149. package/dist/plugin-sdk/{web-TMIhKQyF.js → web-CWNoMlnF.js} +2 -2
  150. package/dist/{plugins-BAyxWQSz.js → plugins-DKDeQZF0.js} +2 -2
  151. package/dist/{plugins-cli-wlWRx4Oj.js → plugins-cli-B-6wVg3A.js} +2 -2
  152. package/dist/{plugins-cli-BHfzYAq6.js → plugins-cli-V8mTTTnD.js} +71 -71
  153. package/dist/{ports-OZQlocB7.js → ports-BOmtxoTv.js} +2 -2
  154. package/dist/{ports-b36gHZbA.js → ports-BX0kKI0g.js} +1 -1
  155. package/dist/{program-CKy7s-bm.js → program-DBtlRiFS.js} +7 -7
  156. package/dist/{program-context-D4gbh6dg.js → program-context-BHPNVgg2.js} +39 -39
  157. package/dist/{prompt-select-styled-bh0GLMiQ.js → prompt-select-styled-Bh-zAqW1.js} +4 -4
  158. package/dist/{prompt-select-styled-DlGPNq9c.js → prompt-select-styled-Cup1c9RJ.js} +38 -38
  159. package/dist/{provider-auth-helpers-Bd5VVReu.js → provider-auth-helpers-BNmU48Ez.js} +5 -5
  160. package/dist/{provider-auth-helpers-B-YsKbwc.js → provider-auth-helpers-CiuLdUK3.js} +1 -1
  161. package/dist/{push-apns-ByyOJyDl.js → push-apns-8VJkVSdh.js} +1 -1
  162. package/dist/{push-apns-0et2AR44.js → push-apns-9zUNNHgy.js} +4 -4
  163. package/dist/{pw-ai-Ch7liUOW.js → pw-ai-BnAKvSuw.js} +1 -1
  164. package/dist/{pw-ai-1htA-NnS.js → pw-ai-De-KR9_s.js} +1 -1
  165. package/dist/{pw-ai-MVzi113V.js → pw-ai-DqL87js3.js} +7 -7
  166. package/dist/{qmd-manager-BP2r8b1D.js → qmd-manager-D85GJrir.js} +18 -18
  167. package/dist/{qr-cli-17laLZm_.js → qr-cli-jd9LdZpq.js} +3 -3
  168. package/dist/{register.agent-oKma6YjU.js → register.agent-BtNmleKV.js} +6 -6
  169. package/dist/{register.agent-Dhijhxr5.js → register.agent-DnglG42G.js} +81 -81
  170. package/dist/{register.configure-BX8vQ2Np.js → register.configure-CLW9tdE4.js} +6 -6
  171. package/dist/register.configure-DfQOfV1W.js +147 -0
  172. package/dist/{register.maintenance-OJCduNdt.js → register.maintenance-BQfMsgo7.js} +8 -8
  173. package/dist/{register.maintenance-B3TPb969.js → register.maintenance-jFYcRLEN.js} +84 -84
  174. package/dist/{register.message-D0aswsGo.js → register.message-BhoZYcqM.js} +63 -63
  175. package/dist/{register.message-CX8C_Fds.js → register.message-DUsBvFSF.js} +2 -2
  176. package/dist/{register.onboard-CSepiSPt.js → register.onboard-BBwhoeoE.js} +4 -4
  177. package/dist/{register.onboard-BHTyEs6d.js → register.onboard-DQOkpYBY.js} +74 -74
  178. package/dist/{register.setup-lZSHKiGQ.js → register.setup-6jlL3L1h.js} +4 -4
  179. package/dist/{register.setup-uhpgkBjU.js → register.setup-Ca6khTSz.js} +77 -77
  180. package/dist/{register.status-health-sessions-Cbavf8do.js → register.status-health-sessions-DQDXZYI3.js} +3 -3
  181. package/dist/{register.status-health-sessions-v1KN3eEp.js → register.status-health-sessions-DsYNMl06.js} +75 -75
  182. package/dist/{register.subclis-DBEv5xOP.js → register.subclis-DJf3ihsW.js} +9 -9
  183. package/dist/{replies-BL7IBg12.js → replies-vgss3_QA.js} +1 -1
  184. package/dist/{reply-DVxU0AMq.js → reply-DSjeqLEz.js} +161 -134
  185. package/dist/{reply-prefix-BLOOs1aW.js → reply-prefix-CE2YmmsD.js} +1 -1
  186. package/dist/{resolve-route-BcnaXYvh.js → resolve-route-BMoTaVAH.js} +2 -2
  187. package/dist/{routes-CE-ohckF.js → routes-Ba9CUQ8M.js} +8 -8
  188. package/dist/{rpc-wovSCB5v.js → rpc-BfhojW8g.js} +1 -1
  189. package/dist/{run-main-DspjiCY1.js → run-main-B2coomPj.js} +14 -14
  190. package/dist/{runner-Cen70krW.js → runner-CUglpiFP.js} +20 -20
  191. package/dist/{runner-BcQ0sF9T.js → runner-DUBExAb5.js} +1 -1
  192. package/dist/{runner-D0QUGA_X.js → runner-odEv83vv.js} +1 -1
  193. package/dist/{sandbox-BzNrUHpt.js → sandbox-C-T6hOMv.js} +18 -18
  194. package/dist/{sandbox-cli-CZrMO34w.js → sandbox-cli-BllVdQzR.js} +20 -20
  195. package/dist/{security-cli-CeBoEmeN.js → security-cli-BFLtWWHy.js} +36 -36
  196. package/dist/{send-dH0xroTu.js → send-CPF8hSFp.js} +4 -4
  197. package/dist/{send-C95ZRvja.js → send-CXxQ_f7L.js} +6 -6
  198. package/dist/{send-BnuIB59F.js → send-CZr1hVHY.js} +13 -13
  199. package/dist/{send-BEeuDXqy.js → send-Cutb0ZDY.js} +6 -6
  200. package/dist/{send-BjdAgYLu.js → send-tanEMpHN.js} +6 -6
  201. package/dist/{server-context-DUXqnh6l.js → server-context-CEpFjqSk.js} +5 -5
  202. package/dist/{server-methods-B9alalq5.js → server-methods-DHo5e8Gj.js} +7 -7
  203. package/dist/{server-methods-BgBq7KRL.js → server-methods-QNBQbsvr.js} +54 -54
  204. package/dist/{server-node-events-DWG81_Fo.js → server-node-events-CJOo8WcL.js} +2 -2
  205. package/dist/{server-node-events-BrBsrcCd.js → server-node-events-D_S0NRCQ.js} +63 -63
  206. package/dist/{service--qMN5DPm.js → service-Cl74hx8J.js} +15 -15
  207. package/dist/{session-CsIk0Sqq.js → session-DIBTkyvE.js} +2 -2
  208. package/dist/{sessions-D5a7H247.js → sessions-DgYpBvse.js} +13 -13
  209. package/dist/{shared-Jm_QdQJQ.js → shared-BJvwnR5z.js} +1 -1
  210. package/dist/{shared-Gi3l7nlY.js → shared-Knv1hy6h.js} +3 -3
  211. package/dist/{skill-commands-ZXbEITKi.js → skill-commands-Cxw-jNxU.js} +5 -5
  212. package/dist/{skill-scanner-CXg9eeyc.js → skill-scanner-CLs8u6vQ.js} +5 -5
  213. package/dist/{skills-DqQUtOph.js → skills-6jdJQ5ZL.js} +4 -4
  214. package/dist/{skills-cli-D1JL_utC.js → skills-cli-BZTBLQTt.js} +7 -7
  215. package/dist/{skills-install-DjcTy3CT.js → skills-install-D67isO1L.js} +3 -3
  216. package/dist/{skills-status-DS-NZQiq.js → skills-status-CURJKnyY.js} +1 -1
  217. package/dist/{sqlite-BV5ILFtC.js → sqlite-Dx3J_aSE.js} +12 -12
  218. package/dist/{status-DxodHhzX.js → status-4DaGE8j5.js} +2 -2
  219. package/dist/{status-CgPPKk09.js → status-B8yaGk2o.js} +25 -25
  220. package/dist/{status-DqMwkAnF.js → status-D_J6qcC1.js} +1 -1
  221. package/dist/{status-CkJV2sl6.js → status-kfEtYX22.js} +3 -3
  222. package/dist/{status.update-CmGpjKSr.js → status.update-DtwCUTf-.js} +3 -3
  223. package/dist/{store-DvtcmOKj.js → store-r1DJSDq-.js} +5 -5
  224. package/dist/{subagent-registry-CBklD0OL.js → subagent-registry-CyW0EDWw.js} +32 -5
  225. package/dist/{symi-root-MF6_6SCS.js → symi-root-CrGJbkzf.js} +2 -2
  226. package/dist/{system-cli-Buhvt_H5.js → system-cli-UMsMEurS.js} +11 -11
  227. package/dist/{systemd-hints-Db0oImvK.js → systemd-hints-BR6gChwm.js} +6 -6
  228. package/dist/{systemd-linger-BXwqn1jL.js → systemd-linger-aQ75ZlXY.js} +1 -1
  229. package/dist/{systemd-AhJEsmIk.js → systemd-riq8uNJQ.js} +5 -5
  230. package/dist/{tables-C38rzF6E.js → tables-BEzT0Da4.js} +1 -1
  231. package/dist/{target-errors-CCz79CmV.js → target-errors-7AvoVa10.js} +4 -4
  232. package/dist/{tool-images-B-pqX3nX.js → tool-images-DvUBlqjX.js} +1 -1
  233. package/dist/{tui-C0A9W969.js → tui-CriznorL.js} +7 -7
  234. package/dist/{tui-cli-tCnkNdSx.js → tui-cli-CSIdfCTR.js} +28 -28
  235. package/dist/{update-check-C0oYCI89.js → update-check-CtckACbb.js} +5 -5
  236. package/dist/{update-cli-BqdgQuYp.js → update-cli-C-ZGqknl.js} +8 -8
  237. package/dist/{update-cli-DYrpyu4a.js → update-cli-DJupxo-f.js} +94 -94
  238. package/dist/{update-runner-BgzyPjF5.js → update-runner-AiIhp7fw.js} +15 -15
  239. package/dist/{update-runner-CmZW3aeK.js → update-runner-BF5UULe-.js} +1 -1
  240. package/dist/{update-Df4sEKtI.js → update-rw7wJwHd.js} +3 -3
  241. package/dist/{web-GL_nqURg.js → web-6026eRzJ.js} +1 -1
  242. package/dist/{web-DNQzo8ao.js → web-6vYYN17n.js} +6 -6
  243. package/dist/{web-CfZp0Jv6.js → web-CryqKXT4.js} +6 -6
  244. package/dist/web-HeObJp6A.js +109 -0
  245. package/dist/{webhooks-cli-Bp-7Rs2Y.js → webhooks-cli-cD58DWAE.js} +4 -4
  246. package/dist/{whatsapp-actions-CFXNPLco.js → whatsapp-actions-DbcsdOH3.js} +15 -15
  247. package/dist/{with-timeout-Cs6_LnHB.js → with-timeout-gmK6RciS.js} +1 -1
  248. package/dist/{workspace-dirs-DKu48umx.js → workspace-dirs-GpkFi6Kw.js} +1 -1
  249. package/dist/{wsl-BbXxnokd.js → wsl-C4424szg.js} +2 -2
  250. package/package.json +1 -1
  251. package/dist/register.configure-BcZ-7Yir.js +0 -147
  252. package/dist/session-dirs-D3qlvucD.js +0 -18
  253. package/dist/web-DsCqmzyk.js +0 -109
@@ -4,7 +4,7 @@ import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
4
4
  import { createRequire } from "node:module";
5
5
  import fs from "node:fs";
6
6
  import path from "node:path";
7
- import fsPromises from "node:fs/promises";
7
+ import fs$1 from "node:fs/promises";
8
8
  import crypto from "node:crypto";
9
9
 
10
10
  //#region src/utils/run-with-concurrency.ts
@@ -55,7 +55,7 @@ function isFileMissingError(err) {
55
55
  async function statRegularFile(absPath) {
56
56
  let stat;
57
57
  try {
58
- stat = await fsPromises.lstat(absPath);
58
+ stat = await fs$1.lstat(absPath);
59
59
  } catch (err) {
60
60
  if (isFileMissingError(err)) return { missing: true };
61
61
  throw err;
@@ -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 fsPromises.readdir(dir, { withFileTypes: true });
93
+ const entries = await fs$1.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 fsPromises.lstat(absPath);
113
+ const stat = await fs$1.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 fsPromises.lstat(memoryDir);
122
+ const dirStat = await fs$1.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 fsPromises.lstat(inputPath);
127
+ const stat = await fs$1.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 fsPromises.realpath(entry);
141
+ key = await fs$1.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 fsPromises.stat(absPath);
155
+ stat = await fs$1.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 fsPromises.readFile(absPath, "utf-8");
162
+ content = await fs$1.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 fsPromises.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$1.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 fsPromises.stat(absPath);
327
- const lines = (await fsPromises.readFile(absPath, "utf-8")).split("\n");
326
+ const stat = await fs$1.stat(absPath);
327
+ const lines = (await fs$1.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 { Ct as summarizeRestartSentinel, Dn as peekSystemEvents, St as readRestartSentinel, an as formatUsageReportLines, cn as buildChannelSummary, in as loadProviderUsageSummary, ln as buildChannelAccountSnapshot, rt as sha256HexPrefix, un as formatChannelAllowFrom } from "./subagent-registry-CBklD0OL.js";
12
+ import { Ct as summarizeRestartSentinel, Dn as peekSystemEvents, St as readRestartSentinel, an as formatUsageReportLines, cn as buildChannelSummary, in as loadProviderUsageSummary, ln as buildChannelAccountSnapshot, rt as sha256HexPrefix, un as formatChannelAllowFrom } from "./subagent-registry-CyW0EDWw.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-CboWXJkq.js";
32
+ import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-BSOMI4B6.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,42 +1,42 @@
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 { Ct as formatUsageReportLines, E as resolveSessionModelRef, G as summarizeRestartSentinel, St as loadProviderUsageSummary, Tr as peekSystemEvents, W as readRestartSentinel, Yt as sha256HexPrefix, a as buildChannelSummary, b as listAgentsForGateway, mr as lookupContextTokens, o as buildChannelAccountSnapshot, s as formatChannelAllowFrom, y as classifySessionKey } from "./reply-DVxU0AMq.js";
3
+ import { Ct as formatUsageReportLines, E as resolveSessionModelRef, G as summarizeRestartSentinel, St as loadProviderUsageSummary, Tr as peekSystemEvents, W as readRestartSentinel, Yt as sha256HexPrefix, a as buildChannelSummary, b as listAgentsForGateway, mr as lookupContextTokens, o as buildChannelAccountSnapshot, s as formatChannelAllowFrom, y as classifySessionKey } from "./reply-DSjeqLEz.js";
4
4
  import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
5
- import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
5
+ import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
6
6
  import { n as runExec } from "./exec-CWkblSrI.js";
7
- import { c as resolveAgentWorkspaceDir } from "./agent-scope-BRwEc2pG.js";
8
- import { Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Wt as DEFAULT_CONTEXT_TOKENS, p as resolveConfiguredModelRef } from "./model-selection-X1oLh3CE.js";
7
+ import { c as resolveAgentWorkspaceDir } from "./agent-scope-CgUHAtCo.js";
8
+ import { Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Wt as DEFAULT_CONTEXT_TOKENS, p as resolveConfiguredModelRef } from "./model-selection-CyFvYcRt.js";
9
9
  import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
10
- import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-CJMcIRQM.js";
10
+ import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-CHwyw6l5.js";
11
11
  import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-D5dKabOc.js";
12
- import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-OZQlocB7.js";
13
- import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-D5a7H247.js";
14
- import { n as listChannelPlugins } from "./plugins-BAyxWQSz.js";
12
+ import { a as inspectPortUsage, s as formatPortDiagnostics } from "./ports-BOmtxoTv.js";
13
+ import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-DgYpBvse.js";
14
+ import { n as listChannelPlugins } from "./plugins-DKDeQZF0.js";
15
15
  import { c as resolveStorePath } from "./paths-CyhzMxFA.js";
16
- import { r as getMemorySearchManager } from "./memory-cli-lk6fRiwy.js";
17
- import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Dd7-bkfG.js";
16
+ import { r as getMemorySearchManager } from "./memory-cli-Ca5r9AUb.js";
17
+ import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CJaS1iRF.js";
18
18
  import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
19
19
  import { n as withProgress } from "./progress-jIePzvGA.js";
20
20
  import { r as formatDurationPrecise } from "./format-duration-D0B0Uo-I.js";
21
- import { o as getRemoteSkillEligibility } from "./skill-commands-ZXbEITKi.js";
22
- import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-Dixh6cNh.js";
23
- import { t as buildWorkspaceSkillStatus } from "./skills-status-DS-NZQiq.js";
21
+ import { o as getRemoteSkillEligibility } from "./skill-commands-Cxw-jNxU.js";
22
+ import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-ZmZYzlq3.js";
23
+ import { t as buildWorkspaceSkillStatus } from "./skills-status-CURJKnyY.js";
24
24
  import { t as resolveChannelDefaultAccountId } from "./helpers-BcGbMZD1.js";
25
- import { t as collectChannelStatusIssues } from "./channels-status-issues-BoH1ZJPN.js";
26
- import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service--qMN5DPm.js";
25
+ import { t as collectChannelStatusIssues } from "./channels-status-issues-B_kBkl_u.js";
26
+ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Cl74hx8J.js";
27
27
  import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.js";
28
- import { t as readLastGatewayErrorLine } from "./diagnostics-D2yUMZN1.js";
28
+ import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
29
29
  import { t as renderTable } from "./table-BTgkRafz.js";
30
- import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-BSB9NPSO.js";
31
- import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-DkKXiUEF.js";
32
- import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-C0oYCI89.js";
33
- import { t as resolveNodeService } from "./node-service-CJygtY5M.js";
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-rR61mwm3.js";
32
+ import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
33
+ import { t as resolveNodeService } from "./node-service-Cxz4e-Qd.js";
34
34
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
35
- import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CmGpjKSr.js";
35
+ import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-DtwCUTf-.js";
36
36
  import fs from "node:fs";
37
37
  import os from "node:os";
38
38
  import path from "node:path";
39
- import fsPromises from "node:fs/promises";
39
+ import fs$1 from "node:fs/promises";
40
40
  import { spawnSync } from "node:child_process";
41
41
 
42
42
  //#region src/commands/gateway-presence.ts
@@ -125,7 +125,7 @@ function resolveOsSummary() {
125
125
  //#region src/commands/status-all/agents.ts
126
126
  async function fileExists$1(p) {
127
127
  try {
128
- await fsPromises.access(p);
128
+ await fs$1.access(p);
129
129
  return true;
130
130
  } catch {
131
131
  return false;
@@ -490,7 +490,7 @@ async function buildChannelsTable(cfg, opts) {
490
490
  //#endregion
491
491
  //#region src/commands/status-all/gateway.ts
492
492
  async function readFileTailLines(filePath, maxLines) {
493
- const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
493
+ const raw = await fs$1.readFile(filePath, "utf8").catch(() => "");
494
494
  if (!raw.trim()) return [];
495
495
  const lines = raw.replace(/\r/g, "").split("\n");
496
496
  return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
@@ -1256,7 +1256,7 @@ function resolveGatewayProbeAuth(cfg) {
1256
1256
  //#region src/commands/status.agent-local.ts
1257
1257
  async function fileExists(p) {
1258
1258
  try {
1259
- await fsPromises.access(p);
1259
+ await fs$1.access(p);
1260
1260
  return true;
1261
1261
  } catch {
1262
1262
  return false;
@@ -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 { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CBklD0OL.js";
4
+ import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CyW0EDWw.js";
5
5
 
6
6
  //#region src/plugins/status.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -1,7 +1,7 @@
1
- import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-DVxU0AMq.js";
1
+ import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-DSjeqLEz.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
3
- import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BRwEc2pG.js";
4
- import { i as loadConfig } from "./config-CJMcIRQM.js";
3
+ import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
4
+ import { i as loadConfig } from "./config-CHwyw6l5.js";
5
5
 
6
6
  //#region src/plugins/status.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -1,7 +1,7 @@
1
- import { t as resolveSymiPackageRoot } from "./symi-root-MF6_6SCS.js";
1
+ import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
2
2
  import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
3
- import { H as VERSION } from "./config-CJMcIRQM.js";
4
- import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-C0oYCI89.js";
3
+ import { H as VERSION } from "./config-CHwyw6l5.js";
4
+ import { n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
5
5
 
6
6
  //#region src/commands/status.update.ts
7
7
  async function getUpdateCheckResult(params) {
@@ -1,8 +1,8 @@
1
1
  import { g as resolveConfigDir } from "./utils-B-0b9bGM.js";
2
- import { c as detectMime, l as extensionForMime } from "./image-ops-DYbDWaIA.js";
2
+ import { c as detectMime, l as extensionForMime } from "./image-ops-1OJMSAUX.js";
3
3
  import { createWriteStream } from "node:fs";
4
4
  import path from "node:path";
5
- import fsPromises from "node:fs/promises";
5
+ import fs$1 from "node:fs/promises";
6
6
  import crypto from "node:crypto";
7
7
  import { pipeline } from "node:stream/promises";
8
8
 
@@ -26,7 +26,7 @@ function getMediaDir() {
26
26
  }
27
27
  async function ensureMediaDir() {
28
28
  const mediaDir = resolveMediaDir();
29
- await fsPromises.mkdir(mediaDir, {
29
+ await fs$1.mkdir(mediaDir, {
30
30
  recursive: true,
31
31
  mode: 448
32
32
  });
@@ -35,7 +35,7 @@ async function ensureMediaDir() {
35
35
  async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
36
36
  if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
37
37
  const dir = path.join(resolveMediaDir(), subdir);
38
- await fsPromises.mkdir(dir, {
38
+ await fs$1.mkdir(dir, {
39
39
  recursive: true,
40
40
  mode: 448
41
41
  });
@@ -53,7 +53,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
53
53
  id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
54
54
  } else id = ext ? `${uuid}${ext}` : uuid;
55
55
  const dest = path.join(dir, id);
56
- await fsPromises.writeFile(dest, buffer, { mode: 384 });
56
+ await fs$1.writeFile(dest, buffer, { mode: 384 });
57
57
  return {
58
58
  id,
59
59
  path: dest,
@@ -44208,7 +44208,7 @@ function isVoiceChannelType(type) {
44208
44208
  function createDefaultDeps() {
44209
44209
  return {
44210
44210
  sendMessageWhatsApp: async (...args) => {
44211
- const { sendMessageWhatsApp } = await import("./web-GL_nqURg.js");
44211
+ const { sendMessageWhatsApp } = await import("./web-6026eRzJ.js");
44212
44212
  return await sendMessageWhatsApp(...args);
44213
44213
  },
44214
44214
  sendMessageTelegram: async (...args) => {
@@ -59524,7 +59524,7 @@ function loadWebLoginQr() {
59524
59524
  return webLoginQrPromise;
59525
59525
  }
59526
59526
  function loadWebChannel() {
59527
- webChannelPromise ??= import("./web-GL_nqURg.js");
59527
+ webChannelPromise ??= import("./web-6026eRzJ.js");
59528
59528
  return webChannelPromise;
59529
59529
  }
59530
59530
  function loadWhatsAppActions() {
@@ -60757,8 +60757,16 @@ const GEMMA_TOKEN_PATTERNS = [
60757
60757
  /<start_of_turn>(?:model|user)?/g,
60758
60758
  /<end_of_turn>/g,
60759
60759
  /<\|(?:fim_prefix|fim_suffix|fim_middle)\|>/g,
60760
- /^\s*<bos>\s*/gm
60760
+ /^\s*<bos>\s*/gm,
60761
+ /<\|[^|>]{0,30}\|>/g,
60762
+ /<\|[^>]{0,30}>/g
60761
60763
  ];
60764
+ /**
60765
+ * Aggressively strip all fragments of model control token corruption from
60766
+ * tool arguments. This catches cases where the model produces raw garbage
60767
+ * like `<|<|"|<|<|\'` that doesn't match any known token template.
60768
+ */
60769
+ const AGGRESSIVE_TOKEN_FRAGMENTS = [/<\|/g, /\|>/g];
60762
60770
  const GEMMA_MODEL_HINTS$1 = ["gemma", "redsand/"];
60763
60771
  function isGemmaModel$1(modelId) {
60764
60772
  const lower = modelId.toLowerCase();
@@ -60768,6 +60776,10 @@ function isGemmaModel$1(modelId) {
60768
60776
  * Strip known control tokens from text. Only applies to Gemma-family models;
60769
60777
  * other models pass through unchanged.
60770
60778
  */
60779
+ /**
60780
+ * Strip known control tokens from text. Only applies to Gemma-family models;
60781
+ * other models pass through unchanged. Used for streamed text output.
60782
+ */
60771
60783
  function stripModelTokens(text, modelId) {
60772
60784
  if (!text || !isGemmaModel$1(modelId)) return text;
60773
60785
  let result = text;
@@ -60777,6 +60789,21 @@ function stripModelTokens(text, modelId) {
60777
60789
  }
60778
60790
  return result;
60779
60791
  }
60792
+ /**
60793
+ * Aggressively strip ALL token-like fragments from a string. Used for tool
60794
+ * call arguments where any `<|` corruption causes downstream failures.
60795
+ * More aggressive than `stripModelTokens` — removes bare `<|` and `|>` fragments
60796
+ * that don't match any known token template.
60797
+ */
60798
+ function stripModelTokensAggressive(text, modelId) {
60799
+ if (!text || !isGemmaModel$1(modelId)) return text;
60800
+ let result = stripModelTokens(text, modelId);
60801
+ for (const re of AGGRESSIVE_TOKEN_FRAGMENTS) {
60802
+ re.lastIndex = 0;
60803
+ result = result.replace(re, "");
60804
+ }
60805
+ return result;
60806
+ }
60780
60807
 
60781
60808
  //#endregion
60782
60809
  //#region src/agents/pi-tools.abort.ts
@@ -61896,10 +61923,10 @@ function wrapToolWithArgSanitization(tool, modelId) {
61896
61923
  };
61897
61924
  }
61898
61925
  function sanitizeToolArgs(params, modelId) {
61899
- if (!params || typeof params !== "object") return typeof params === "string" ? stripModelTokens(params, modelId) : params;
61926
+ if (!params || typeof params !== "object") return typeof params === "string" ? stripModelTokensAggressive(params, modelId) : params;
61900
61927
  if (Array.isArray(params)) return params.map((item) => sanitizeToolArgs(item, modelId));
61901
61928
  const result = {};
61902
- for (const [key, value] of Object.entries(params)) if (typeof value === "string") result[key] = stripModelTokens(value, modelId);
61929
+ for (const [key, value] of Object.entries(params)) if (typeof value === "string") result[key] = stripModelTokensAggressive(value, modelId);
61903
61930
  else if (value && typeof value === "object") result[key] = sanitizeToolArgs(value, modelId);
61904
61931
  else result[key] = value;
61905
61932
  return result;
@@ -1,7 +1,7 @@
1
1
  import { fileURLToPath } from "node:url";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
- import fsPromises from "node:fs/promises";
4
+ import fs$1 from "node:fs/promises";
5
5
 
6
6
  //#region src/agents/skills/filter.ts
7
7
  function normalizeSkillFilter(skillFilter) {
@@ -26,7 +26,7 @@ function matchesSkillFilter(cached, next) {
26
26
  const CORE_PACKAGE_NAMES = new Set(["symi", "@symerian/symi"]);
27
27
  async function readPackageName(dir) {
28
28
  try {
29
- const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
29
+ const raw = await fs$1.readFile(path.join(dir, "package.json"), "utf-8");
30
30
  const parsed = JSON.parse(raw);
31
31
  return typeof parsed.name === "string" ? parsed.name : null;
32
32
  } catch {
@@ -3,27 +3,27 @@ import { B as theme, O as danger } from "./utils-B-0b9bGM.js";
3
3
  import "./registry-Cja8eT7G.js";
4
4
  import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
5
5
  import "./exec-CWkblSrI.js";
6
- import "./agent-scope-BRwEc2pG.js";
7
- import { At as ensureAuthProfileStore, l as normalizeProviderId } from "./model-selection-X1oLh3CE.js";
6
+ import "./agent-scope-CgUHAtCo.js";
7
+ import { At as ensureAuthProfileStore, l as normalizeProviderId } from "./model-selection-CyFvYcRt.js";
8
8
  import "./github-copilot-token-DAu1a6BX.js";
9
9
  import "./boolean-BsqeuxE6.js";
10
10
  import "./env-DPCHYPeH.js";
11
11
  import "./message-channel-aT-I_DTX.js";
12
- import "./config-CJMcIRQM.js";
12
+ import "./config-CHwyw6l5.js";
13
13
  import "./manifest-registry-C4BxOMWX.js";
14
- import "./client-BsrZnuSi.js";
15
- import "./call-Dd7-bkfG.js";
16
- import "./pairing-token-AV-MMfVE.js";
14
+ import "./client-CQSyCS4M.js";
15
+ import "./call-CJaS1iRF.js";
16
+ import "./pairing-token-CX3NN_qj.js";
17
17
  import { t as formatDocsLink } from "./links-3i1eUga4.js";
18
18
  import "./progress-jIePzvGA.js";
19
- import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DFeD8pZh.js";
19
+ import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-BxkKeCZ0.js";
20
20
  import path from "node:path";
21
- import fsPromises from "node:fs/promises";
21
+ import fs from "node:fs/promises";
22
22
 
23
23
  //#region src/agents/pi-auth-json.ts
24
24
  async function readAuthJson(filePath) {
25
25
  try {
26
- const raw = await fsPromises.readFile(filePath, "utf8");
26
+ const raw = await fs.readFile(filePath, "utf8");
27
27
  const parsed = JSON.parse(raw);
28
28
  if (!parsed || typeof parsed !== "object") return {};
29
29
  return parsed;
@@ -115,11 +115,11 @@ async function ensurePiAuthJsonFromAuthProfiles(agentDir) {
115
115
  wrote: false,
116
116
  authPath
117
117
  };
118
- await fsPromises.mkdir(agentDir, {
118
+ await fs.mkdir(agentDir, {
119
119
  recursive: true,
120
120
  mode: 448
121
121
  });
122
- await fsPromises.writeFile(authPath, `${JSON.stringify(existing, null, 2)}\n`, { mode: 384 });
122
+ await fs.writeFile(authPath, `${JSON.stringify(existing, null, 2)}\n`, { mode: 384 });
123
123
  return {
124
124
  wrote: true,
125
125
  authPath
@@ -1,10 +1,10 @@
1
1
  import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
2
- import { d as isVersionManagedNodePath, h as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv, u as isSystemNodePath } from "./daemon-runtime--RiRUx_2.js";
3
- import { o as resolveSystemdUserUnitPath } from "./systemd-AhJEsmIk.js";
4
- import { c as resolveLaunchAgentPlistPath } from "./service--qMN5DPm.js";
2
+ import { d as isVersionManagedNodePath, h as resolveSystemNodePath, l as getMinimalServicePathPartsFromEnv, u as isSystemNodePath } from "./daemon-runtime-2mwX-jqj.js";
3
+ import { o as resolveSystemdUserUnitPath } from "./systemd-riq8uNJQ.js";
4
+ import { c as resolveLaunchAgentPlistPath } from "./service-Cl74hx8J.js";
5
5
  import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.js";
6
6
  import path from "node:path";
7
- import fsPromises from "node:fs/promises";
7
+ import fs from "node:fs/promises";
8
8
 
9
9
  //#region src/daemon/runtime-format.ts
10
10
  function formatRuntimeStatus(runtime) {
@@ -85,7 +85,7 @@ async function auditSystemdUnit(env, issues) {
85
85
  const unitPath = resolveSystemdUserUnitPath(env);
86
86
  let content = "";
87
87
  try {
88
- content = await fsPromises.readFile(unitPath, "utf8");
88
+ content = await fs.readFile(unitPath, "utf8");
89
89
  } catch {
90
90
  return;
91
91
  }
@@ -113,7 +113,7 @@ async function auditLaunchdPlist(env, issues) {
113
113
  const plistPath = resolveLaunchAgentPlistPath(env);
114
114
  let content = "";
115
115
  try {
116
- content = await fsPromises.readFile(plistPath, "utf8");
116
+ content = await fs.readFile(plistPath, "utf8");
117
117
  } catch {
118
118
  return;
119
119
  }
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { t as note } from "./note-DeHoW7xO.js";
3
- import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-AhJEsmIk.js";
3
+ import { d as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable, u as enableSystemdUserLinger } from "./systemd-riq8uNJQ.js";
4
4
 
5
5
  //#region src/commands/systemd-linger.ts
6
6
  var systemd_linger_exports = /* @__PURE__ */ __exportAll({
@@ -3,7 +3,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
3
3
  import { d as resolveGatewaySystemdServiceName, l as resolveGatewayProfileSuffix, u as resolveGatewayServiceDescription } from "./constants-C8_BLnaW.js";
4
4
  import os from "node:os";
5
5
  import path from "node:path";
6
- import fsPromises from "node:fs/promises";
6
+ import fs from "node:fs/promises";
7
7
  import { execFile } from "node:child_process";
8
8
 
9
9
  //#region src/daemon/exec-file.ts
@@ -289,7 +289,7 @@ function resolveSystemdUserUnitPath(env) {
289
289
  async function readSystemdServiceExecStart(env) {
290
290
  const unitPath = resolveSystemdUnitPath(env);
291
291
  try {
292
- const content = await fsPromises.readFile(unitPath, "utf8");
292
+ const content = await fs.readFile(unitPath, "utf8");
293
293
  let execStart = "";
294
294
  let workingDirectory = "";
295
295
  const environment = {};
@@ -360,7 +360,7 @@ async function assertSystemdAvailable() {
360
360
  async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
361
361
  await assertSystemdAvailable();
362
362
  const unitPath = resolveSystemdUnitPath(env);
363
- await fsPromises.mkdir(path.dirname(unitPath), { recursive: true });
363
+ await fs.mkdir(path.dirname(unitPath), { recursive: true });
364
364
  const unit = buildSystemdUnit({
365
365
  description: resolveGatewayServiceDescription({
366
366
  env,
@@ -371,7 +371,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
371
371
  workingDirectory,
372
372
  environment
373
373
  });
374
- await fsPromises.writeFile(unitPath, unit, "utf8");
374
+ await fs.writeFile(unitPath, unit, "utf8");
375
375
  const unitName = `${resolveGatewaySystemdServiceName(env.SYMI_PROFILE)}.service`;
376
376
  const reload = await execSystemctl(["--user", "daemon-reload"]);
377
377
  if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
@@ -403,7 +403,7 @@ async function uninstallSystemdService({ env, stdout }) {
403
403
  ]);
404
404
  const unitPath = resolveSystemdUnitPath(env);
405
405
  try {
406
- await fsPromises.unlink(unitPath);
406
+ await fs.unlink(unitPath);
407
407
  stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
408
408
  } catch {
409
409
  stdout.write(`Systemd service not found at ${unitPath}\n`);
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-Dt4hOzxG.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-DZam9q5M.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-CXDO_kgw.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -1,6 +1,6 @@
1
- import { c as detectMime } from "./image-ops-DYbDWaIA.js";
2
- import { r as sanitizeToolResultImages } from "./tool-images-B-pqX3nX.js";
3
- import fsPromises from "node:fs/promises";
1
+ import { c as detectMime } from "./image-ops-1OJMSAUX.js";
2
+ import { r as sanitizeToolResultImages } from "./tool-images-DvUBlqjX.js";
3
+ import fs from "node:fs/promises";
4
4
 
5
5
  //#region src/agents/tools/common.ts
6
6
  var ToolInputError = class extends Error {
@@ -128,7 +128,7 @@ async function imageResult(params) {
128
128
  }, params.label, params.imageSanitization);
129
129
  }
130
130
  async function imageResultFromFile(params) {
131
- const buf = await fsPromises.readFile(params.path);
131
+ const buf = await fs.readFile(params.path);
132
132
  const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
133
133
  return await imageResult({
134
134
  label: params.label,
@@ -1,5 +1,5 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
2
- import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DYbDWaIA.js";
2
+ import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-1OJMSAUX.js";
3
3
 
4
4
  //#region src/agents/image-sanitization.ts
5
5
  const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
@@ -1,15 +1,15 @@
1
1
  import { c as normalizeUsageDisplay, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-EAliFiVK.js";
2
2
  import { S as parseAgentSessionKey, c as normalizeMainKey, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-DCt45XZa.js";
3
3
  import { l as stripAnsi, u as visibleWidth } from "./subsystem-D9vIQve0.js";
4
- import { l as resolveDefaultAgentId } from "./agent-scope-BRwEc2pG.js";
4
+ import { l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
5
5
  import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-aT-I_DTX.js";
6
- import { H as VERSION, i as loadConfig } from "./config-CJMcIRQM.js";
7
- import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-DO6u9K2t.js";
8
- import { k as stripLeadingInboundMetadata } from "./sessions-D5a7H247.js";
6
+ import { H as VERSION, i as loadConfig } from "./config-CHwyw6l5.js";
7
+ import { _ as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-CNPyv_ax.js";
8
+ import { k as stripLeadingInboundMetadata } from "./sessions-DgYpBvse.js";
9
9
  import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-D8N3rsYt.js";
10
- import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-BZ0ZSQpM.js";
11
- import { kt as PROTOCOL_VERSION, t as GatewayClient } from "./client-BsrZnuSi.js";
12
- import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-Dd7-bkfG.js";
10
+ import { a as listChatCommandsForConfig, i as listChatCommands } from "./commands-registry-BT0-zzs3.js";
11
+ import { kt as PROTOCOL_VERSION, t as GatewayClient } from "./client-CQSyCS4M.js";
12
+ import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-CJaS1iRF.js";
13
13
  import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-BXoxEQVN.js";
14
14
  import { n as formatTokenCount } from "./usage-format-BzKEDn0q.js";
15
15
  import chalk from "chalk";