@symerian/symi 2.8.12 → 2.8.14

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 (229) hide show
  1. package/dist/{accounts-BuZxOb3B.js → accounts-Bsg6r6H7.js} +1 -1
  2. package/dist/{accounts-BRw8yhIW.js → accounts-BsgY6sda.js} +21 -21
  3. package/dist/{accounts-3dCrO3oZ.js → accounts-wWWkC0JH.js} +1 -1
  4. package/dist/{active-listener-BVZOh2T1.js → active-listener-AVNn5_U9.js} +1 -1
  5. package/dist/{agent-scope-CpEJ0B88.js → agent-scope-Cpm7a9ss.js} +3 -3
  6. package/dist/{agents-OAonMxYV.js → agents-DlAvDWxz.js} +4 -4
  7. package/dist/{agents.config-BIhaDwT2.js → agents.config-BKKMbeeE.js} +1 -1
  8. package/dist/{agents.config-DGu_K5xz.js → agents.config-Dd-11klq.js} +1 -1
  9. package/dist/{audio-preflight-Cb-T0r6e.js → audio-preflight-rrz8KyHd.js} +29 -29
  10. package/dist/{audit-Bi9Je9FZ.js → audit-BhCJV2l6.js} +1 -1
  11. package/dist/{audit-Oa5dsn5p.js → audit-CB97BqHJ.js} +1 -1
  12. package/dist/{auth-choice-BvPX7B4c.js → auth-choice-C6woT6k2.js} +1 -1
  13. package/dist/{auth-choice-DDzWns1k.js → auth-choice-CRQRPwQt.js} +1 -1
  14. package/dist/{auth-profiles-C2vj6htZ.js → auth-profiles-BzB_Exeq.js} +17 -17
  15. package/dist/{banner-BFdiq-O5.js → banner-DrNha2_N.js} +1 -1
  16. package/dist/{bindings-BsHoBLIE.js → bindings-xcRox9xM.js} +2 -2
  17. package/dist/build-info.json +3 -3
  18. package/dist/bundled/boot-md/handler.js +54 -54
  19. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  20. package/dist/bundled/command-logger/handler.js +1 -1
  21. package/dist/bundled/session-memory/handler.js +54 -54
  22. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  23. package/dist/{channel-activity-D8QD7GoV.js → channel-activity-CzHaIUAp.js} +1 -1
  24. package/dist/{channel-options-DTqUB0OP.js → channel-options-D8q9En4T.js} +1 -1
  25. package/dist/{channel-options-tfnOGSNF.js → channel-options-DYy2sCfN.js} +1 -1
  26. package/dist/{channel-web-CcUXobcu.js → channel-web-CRBU4eZk.js} +1 -1
  27. package/dist/{channels-cli-CmShA-wJ.js → channels-cli-BUk43hHR.js} +7 -7
  28. package/dist/{channels-cli-BcE5tHIr.js → channels-cli-Dk3kUw9A.js} +7 -7
  29. package/dist/{chrome-ROtrXlNs.js → chrome-DwXnykXR.js} +14 -14
  30. package/dist/{chunk-BRe1o4Af.js → chunk-BcxcL1U3.js} +1 -1
  31. package/dist/{cli-BxoD2wzk.js → cli-5gWsnsB7.js} +4 -4
  32. package/dist/{cli-CKG2iAr3.js → cli-DjZzJy3t.js} +4 -4
  33. package/dist/{command-registry-D1Le-Fmh.js → command-registry-LjFltTU9.js} +10 -10
  34. package/dist/{commands-registry-DxbSTLNQ.js → commands-registry-ByGkL6hs.js} +4 -4
  35. package/dist/{completion-cli-DgiFjSGS.js → completion-cli-BVTGy8th.js} +1 -1
  36. package/dist/{completion-cli-D9pC-ttw.js → completion-cli-Cf6fYZWL.js} +2 -2
  37. package/dist/{config-BkZ9HOKT.js → config-C4WnAd-c.js} +17 -17
  38. package/dist/{config-cli-C_uZQsTl.js → config-cli-C7DIbGxx.js} +1 -1
  39. package/dist/{config-cli-5mFA0UDP.js → config-cli-EgWrCemi.js} +1 -1
  40. package/dist/{configure-BJcy7wXm.js → configure-B67uIawm.js} +3 -3
  41. package/dist/{configure-DuRTFCuW.js → configure-Bk-snuxh.js} +3 -3
  42. package/dist/{consolidate-07QMweFF.js → consolidate-DRtVvG2U.js} +4 -4
  43. package/dist/{deliver-B0OUq6RP.js → deliver-SLYAWE19.js} +20 -20
  44. package/dist/{diagnostic-BUcR3Meg.js → diagnostic-DTkZsRNM.js} +1 -1
  45. package/dist/{doctor-completion-sQVhKKei.js → doctor-completion-By066O3p.js} +1 -1
  46. package/dist/{doctor-completion-DCRTHpiY.js → doctor-completion-lE_33xaY.js} +1 -1
  47. package/dist/entry.js +1 -1
  48. package/dist/{env-BDXYbTKj.js → env-CB65jmJQ.js} +1 -1
  49. package/dist/extensionAPI.js +2 -2
  50. package/dist/{frontmatter-CTR5f_Ez.js → frontmatter-CT1M0pRK.js} +4 -4
  51. package/dist/{gateway-cli-C3ujhxO0.js → gateway-cli-C6uT2x34.js} +182 -13
  52. package/dist/{gateway-cli-C_MT4JFm.js → gateway-cli-DqEgqVKC.js} +182 -13
  53. package/dist/{gemini-auth-BefM10YB.js → gemini-auth-D80BsXr2.js} +1 -1
  54. package/dist/{github-copilot-token-cCYzSU9h.js → github-copilot-token-B8B2pmph.js} +7 -7
  55. package/dist/{glass-ui-ws-ColAiWUr.js → glass-ui-ws-77TY57IO.js} +11 -11
  56. package/dist/{glass-ui-ws-B7zRY2BL.js → glass-ui-ws-CLAUHeZR.js} +11 -11
  57. package/dist/{health-C12hy3Ao.js → health-2jkjZxY8.js} +1 -1
  58. package/dist/{health-vKJZ7iJR.js → health-CvMHgR-L.js} +1 -1
  59. package/dist/{hooks-cli-CdUQvj8s.js → hooks-cli-CRZySOiz.js} +5 -5
  60. package/dist/{hooks-cli-fCPl5hur.js → hooks-cli-DSaezFsD.js} +5 -5
  61. package/dist/{image-BuVL0jHI.js → image-BHF_fnIp.js} +4 -4
  62. package/dist/{image-ops-C7CauEK8.js → image-ops-CY7v6vvp.js} +16 -16
  63. package/dist/index.js +9 -9
  64. package/dist/{internal-DjnxpF_K.js → internal-FNqguZSK.js} +11 -11
  65. package/dist/{ir-7tMVY7D_.js → ir-D6MiJpAy.js} +4 -4
  66. package/dist/llm-slug-generator.js +54 -54
  67. package/dist/{local-roots-ClipCZ9s.js → local-roots-tcdaIEhh.js} +5 -5
  68. package/dist/{login-D4rZWBXe.js → login-D4ZkmSrY.js} +7 -7
  69. package/dist/{login-qr-DdAVHOEC.js → login-qr-C9ftIq3n.js} +12 -12
  70. package/dist/{manager-DHRBy5oR.js → manager-BtWtmpxN.js} +1 -1
  71. package/dist/{manager-CLrJn9l-.js → manager-DDELj5o9.js} +1 -1
  72. package/dist/{manager-BJvYQ7xP.js → manager-DrmlegR2.js} +1 -1
  73. package/dist/{manager-Df_ZdrNG.js → manager-DxCmjSfP.js} +24 -24
  74. package/dist/{manifest-registry-CBCGTsIb.js → manifest-registry-BvGv6lp9.js} +19 -19
  75. package/dist/{markdown-tables-x2Xe2UXh.js → markdown-tables-CE-qSMGB.js} +1 -1
  76. package/dist/{memory-cli-T-a5-lqZ.js → memory-cli-ENCASZJk.js} +3 -3
  77. package/dist/{memory-cli-BgJciaHC.js → memory-cli-Qgbcxvuf.js} +3 -3
  78. package/dist/{message-channel-OlFBYAw8.js → message-channel-lwVT8QjK.js} +1 -1
  79. package/dist/{models-BXXV_sZU.js → models-COhUz7M9.js} +2 -2
  80. package/dist/{models-cli-BI-DyItH.js → models-cli-CCxYcF4R.js} +5 -5
  81. package/dist/{models-cli-Bs6JAGq-.js → models-cli-CYvXBvmZ.js} +6 -6
  82. package/dist/{onboard-Czi_FRdi.js → onboard-CQNUYBIp.js} +2 -2
  83. package/dist/{onboard-channels-sTuhQBVu.js → onboard-channels-9erx07qe.js} +1 -1
  84. package/dist/{onboard-channels-BUCYZF02.js → onboard-channels-CWw8G-6n.js} +1 -1
  85. package/dist/{onboard-DKDCWveE.js → onboard-fVpLVnwg.js} +2 -2
  86. package/dist/{onboarding-Bgx0qZhA.js → onboarding-CtEiH9WG.js} +3 -3
  87. package/dist/{onboarding-CokRRVEi.js → onboarding-D-OIkDwZ.js} +3 -3
  88. package/dist/{onboarding.finalize-BCv5jB0d.js → onboarding.finalize-BY3HNjX4.js} +9 -9
  89. package/dist/{onboarding.finalize-BzEKyraI.js → onboarding.finalize-DTbpLV-T.js} +8 -8
  90. package/dist/{outbound-Zmd7UyQH.js → outbound-C6Gm22UF.js} +7 -7
  91. package/dist/{outbound-attachment-DeCnZT-8.js → outbound-attachment-BWyKV1Gy.js} +2 -2
  92. package/dist/paths-CYmyCDsE.js +212 -0
  93. package/dist/{paths-CbQV9WEg.js → paths-DEuVuViW.js} +1 -1
  94. package/dist/{pi-auth-json-RXOlh8ar.js → pi-auth-json-Bv1NzJdR.js} +1 -1
  95. package/dist/{pi-embedded-DXY7TLac.js → pi-embedded-CdOdQw2i.js} +265 -13
  96. package/dist/{pi-embedded-helpers-D1_Sab0M.js → pi-embedded-helpers-DwQ9wJeT.js} +73 -73
  97. package/dist/{pi-tools.policy-BZrM6a-w.js → pi-tools.policy-Bx5zp45n.js} +2 -0
  98. package/dist/{pi-tools.policy-QIVWAVVI.js → pi-tools.policy-o0ytjRqu.js} +2 -0
  99. package/dist/{plugin-registry-CyrsJDyE.js → plugin-registry-BrJ0-qlu.js} +1 -1
  100. package/dist/{plugin-registry-B2cpTmJz.js → plugin-registry-Cuc8ORuR.js} +1 -1
  101. package/dist/plugin-sdk/agents/pi-embedded-runner/long-task-prompt.d.ts +7 -0
  102. package/dist/plugin-sdk/agents/tools/task-tool.d.ts +7 -0
  103. package/dist/plugin-sdk/{channel-web-t6enTxNE.js → channel-web-t8UOP6Zu.js} +1 -1
  104. package/dist/plugin-sdk/index.js +3 -3
  105. package/dist/plugin-sdk/{manager-LRE7zEk2.js → manager-BPm5oefC.js} +1 -1
  106. package/dist/plugin-sdk/{reply-JypoGhql.js → reply-BKAHTugL.js} +265 -13
  107. package/dist/plugin-sdk/{synthesis-_WpVyZKx.js → synthesis-CVF7Fwhd.js} +2 -2
  108. package/dist/plugin-sdk/{web-BTVj4kiQ.js → web-D0DsmFvw.js} +3 -3
  109. package/dist/{plugins-cli-B-zoQyqU.js → plugins-cli-BDalhI46.js} +5 -5
  110. package/dist/{plugins-cli-DJwRd3EZ.js → plugins-cli-DFmriy-c.js} +5 -5
  111. package/dist/{plugins-BzmbgY7s.js → plugins-v8k1XVOy.js} +9 -9
  112. package/dist/{program-H7h6Iqrq.js → program-DKh41c2a.js} +10 -10
  113. package/dist/{program-context-BgecQAHU.js → program-context-Cq7pqOrw.js} +19 -19
  114. package/dist/{prompt-select-styled-BglmD29e.js → prompt-select-styled-BFCAZLwK.js} +6 -6
  115. package/dist/{prompt-select-styled-BDN2o35i.js → prompt-select-styled-DvvSE_ni.js} +6 -6
  116. package/dist/{provider-auth-helpers-BGIgr7xM.js → provider-auth-helpers-B-LkDxxi.js} +1 -1
  117. package/dist/{provider-auth-helpers-MfKmTeLY.js → provider-auth-helpers-DXppgV1l.js} +1 -1
  118. package/dist/{push-apns-b6bH1EBC.js → push-apns-DCA47WA5.js} +1 -1
  119. package/dist/{push-apns-IcfSTzfr.js → push-apns-DvudhEAb.js} +1 -1
  120. package/dist/{pw-ai-DWkC5eGA.js → pw-ai-XGqnSWju.js} +11 -11
  121. package/dist/{qmd-manager-BXkbA8Y9.js → qmd-manager-CbRJhonG.js} +8 -8
  122. package/dist/{register.agent-ChwMSIC4.js → register.agent-_BV5KyFb.js} +9 -9
  123. package/dist/{register.agent-BgyETrrj.js → register.agent-aFj_SMi3.js} +8 -8
  124. package/dist/{register.configure-DH3L2tqW.js → register.configure-CvOoD5gE.js} +9 -9
  125. package/dist/{register.configure-Bm4CvoLF.js → register.configure-Dx0Uhmlz.js} +9 -9
  126. package/dist/{register.maintenance-BbOBw1eI.js → register.maintenance-BuZpoSik.js} +10 -10
  127. package/dist/{register.maintenance-CAyHUEzP.js → register.maintenance-CMeJR7DG.js} +11 -11
  128. package/dist/{register.message-DheqsiR0.js → register.message-qysZPg3G.js} +5 -5
  129. package/dist/{register.message-DQ3MOWFE.js → register.message-xxGePuRC.js} +5 -5
  130. package/dist/{register.onboard-DOJkUhoY.js → register.onboard-1MP2I0q4.js} +7 -7
  131. package/dist/{register.onboard-CxqR4S1C.js → register.onboard-D4Aow7Gc.js} +7 -7
  132. package/dist/{register.setup-zdrIJA2P.js → register.setup-BT74aXzA.js} +7 -7
  133. package/dist/{register.setup-48YBHzMZ.js → register.setup-DzliKkWh.js} +7 -7
  134. package/dist/{register.status-health-sessions-CeT5pVXb.js → register.status-health-sessions-B3K2gZ72.js} +7 -7
  135. package/dist/{register.status-health-sessions-CimrhScH.js → register.status-health-sessions-D7VYZlrU.js} +7 -7
  136. package/dist/{register.subclis-B-zh940S.js → register.subclis-BCy0IDRv.js} +10 -10
  137. package/dist/{registry-DYq1AYOv.js → registry-X6fUE0K7.js} +19 -19
  138. package/dist/{replies-CUWXgyx2.js → replies-86F3PldM.js} +3 -3
  139. package/dist/{reply-CUR4xpYM.js → reply-Dg1ZU3DZ.js} +263 -13
  140. package/dist/{reply-prefix-CvEIl6_d.js → reply-prefix-CI_IdwqH.js} +1 -1
  141. package/dist/{resolve-route-Jy5dFY67.js → resolve-route-BgSuN9c6.js} +4 -4
  142. package/dist/{retry-B-y5suGA.js → retry-4oEAHckB.js} +1 -1
  143. package/dist/{run-main-CW_kj5Lj.js → run-main-OS2aFAJ2.js} +18 -18
  144. package/dist/{runner-ecX1WzDt.js → runner-B5oNTtgf.js} +22 -22
  145. package/dist/{security-cli-BpnzAB5_.js → security-cli-BadXDWTh.js} +2 -2
  146. package/dist/{security-cli-D9WEiEjD.js → security-cli-D5y28-RH.js} +2 -2
  147. package/dist/{send-DFtnbzqy.js → send-ASDB3AzC.js} +7 -7
  148. package/dist/{send-Bb4it0te.js → send-BTfqlrYd.js} +18 -18
  149. package/dist/{send-C0QjmPaf.js → send-CSydU49L.js} +10 -10
  150. package/dist/{send-Cpk3Ti6-.js → send-Du-IfSne.js} +6 -6
  151. package/dist/{send-BKo1T3HF.js → send-cCTQjuOZ.js} +6 -6
  152. package/dist/{server-methods-C1h0A5n0.js → server-methods-BszFAkbJ.js} +8 -8
  153. package/dist/{server-methods-C4id-H_X.js → server-methods-D_iKJ-sj.js} +8 -8
  154. package/dist/{server-node-events-CD2yDaEj.js → server-node-events-CENHuAVz.js} +5 -5
  155. package/dist/{server-node-events-BPZEGV_N.js → server-node-events-uBu3XOjd.js} +5 -5
  156. package/dist/{session-BTeY6Gn2.js → session-D8qLj_xN.js} +8 -8
  157. package/dist/{skill-commands-DG2lcozb.js → skill-commands-BcOduw6G.js} +16 -16
  158. package/dist/{skills-CXxrn_e2.js → skills-BrYDT4Jr.js} +24 -24
  159. package/dist/{sqlite-BN_hIcmu.js → sqlite-P-gMg7fi.js} +3 -3
  160. package/dist/{status-_xBnHTlx.js → status-BvbJavmh.js} +1 -1
  161. package/dist/{status-DCeW2a07.js → status-CA0mUJld.js} +4 -4
  162. package/dist/{status-Cb932Vl4.js → status-CBnCPUMG.js} +4 -4
  163. package/dist/{status-DvHD1cnq.js → status-DJAeKN4G.js} +1 -1
  164. package/dist/{store-01F_JM7O.js → store-Ceagbc4L.js} +6 -6
  165. package/dist/{subagent-registry-BKuL9PdW.js → subagent-registry-C1OyZl-M.js} +263 -13
  166. package/dist/{subsystem-BjyjJF-d.js → subsystem-CzXhCdeY.js} +1 -1
  167. package/dist/{synthesis-DOiTUsXQ.js → synthesis-DNTyB7JY.js} +2 -2
  168. package/dist/{synthesis-BUqDGjlc.js → synthesis-DuqSkHEr.js} +54 -54
  169. package/dist/{synthesis-C9RputIi.js → synthesis-brHrnNF2.js} +4 -4
  170. package/dist/{synthesis-Ia9egx87.js → synthesis-z5B41p_r.js} +4 -4
  171. package/dist/{tables-DoG-pFrf.js → tables-qbCoZrYA.js} +1 -1
  172. package/dist/{target-errors-DeJTztcq.js → target-errors-uNitqCCT.js} +2 -2
  173. package/dist/{thinking-BprCy23Z.js → thinking-BV7SCNJP.js} +5 -5
  174. package/dist/{tokens-W0JzCJJM.js → tokens-Bl5R3wPD.js} +1 -1
  175. package/dist/{tool-images-SqqWIT22.js → tool-images-JxNglLSr.js} +2 -2
  176. package/dist/{tool-loop-detection-Dj9h1ogr.js → tool-loop-detection-dfE771kg.js} +3 -3
  177. package/dist/{unified-runner-CVItnwwP.js → unified-runner-Czg3pdBc.js} +489 -237
  178. package/dist/{update-cli-ChEABesZ.js → update-cli-0lyGyl31.js} +11 -11
  179. package/dist/{update-cli-D6ax3jSX.js → update-cli-CIzkVfmj.js} +10 -10
  180. package/dist/{update-runner-B2EY9BWM.js → update-runner-D7-LDziQ.js} +1 -1
  181. package/dist/{update-runner-CWG6GxKs.js → update-runner-aYPcKYAN.js} +1 -1
  182. package/dist/{web-z-yQ8riS.js → web-B90A99YU.js} +58 -58
  183. package/dist/{web-CpSE67Jp.js → web-BJ5dUZso.js} +5 -5
  184. package/dist/{web-D6PPeyG7.js → web-CN7wnU7w.js} +4 -4
  185. package/dist/{web-DMdb2p-h.js → web-Wk1ay1eQ.js} +2 -2
  186. package/dist/{whatsapp-actions-DmVpLXmh.js → whatsapp-actions-llk0IUn2.js} +23 -23
  187. package/dist/{workspace-DscDraUb.js → workspace-CywO4ayZ.js} +27 -27
  188. package/extensions/bluebubbles/package.json +1 -1
  189. package/extensions/copilot-proxy/package.json +1 -1
  190. package/extensions/diagnostics-otel/package.json +1 -1
  191. package/extensions/discord/package.json +1 -1
  192. package/extensions/feishu/package.json +1 -1
  193. package/extensions/google-antigravity-auth/package.json +1 -1
  194. package/extensions/google-gemini-cli-auth/package.json +1 -1
  195. package/extensions/googlechat/package.json +1 -1
  196. package/extensions/imessage/package.json +1 -1
  197. package/extensions/irc/package.json +1 -1
  198. package/extensions/learning-loop/package.json +1 -1
  199. package/extensions/line/package.json +1 -1
  200. package/extensions/llm-task/package.json +1 -1
  201. package/extensions/matrix/CHANGELOG.md +12 -0
  202. package/extensions/matrix/package.json +1 -1
  203. package/extensions/mattermost/package.json +1 -1
  204. package/extensions/memory-core/package.json +1 -1
  205. package/extensions/memory-lancedb/package.json +1 -1
  206. package/extensions/minimax-portal-auth/package.json +1 -1
  207. package/extensions/msteams/CHANGELOG.md +12 -0
  208. package/extensions/msteams/package.json +1 -1
  209. package/extensions/nextcloud-talk/package.json +1 -1
  210. package/extensions/nostr/CHANGELOG.md +12 -0
  211. package/extensions/nostr/package.json +1 -1
  212. package/extensions/open-prose/package.json +1 -1
  213. package/extensions/outlook/package.json +1 -1
  214. package/extensions/pipeline/package.json +1 -1
  215. package/extensions/signal/package.json +1 -1
  216. package/extensions/slack/package.json +1 -1
  217. package/extensions/telegram/package.json +1 -1
  218. package/extensions/tlon/package.json +1 -1
  219. package/extensions/twitch/CHANGELOG.md +12 -0
  220. package/extensions/twitch/package.json +1 -1
  221. package/extensions/voice-call/CHANGELOG.md +12 -0
  222. package/extensions/voice-call/package.json +1 -1
  223. package/extensions/whatsapp/package.json +1 -1
  224. package/extensions/zalo/CHANGELOG.md +12 -0
  225. package/extensions/zalo/package.json +1 -1
  226. package/extensions/zalouser/CHANGELOG.md +12 -0
  227. package/extensions/zalouser/package.json +1 -1
  228. package/package.json +1 -1
  229. package/skills/long-task/scripts/detach-task.sh +57 -5
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import "./paths-Cqn-zk3M.js";
3
3
  import { B as theme, P as setVerbose, T as toWhatsappJid, l as escapeRegExp, m as normalizeE164, n as assertWebChannel, z as isRich } from "./utils-B-0b9bGM.js";
4
4
  import "./thinking-EAliFiVK.js";
5
- import { Lt as createDefaultDeps, bt as resolveCommitHash, t as getReplyFromConfig } from "./reply-CUR4xpYM.js";
5
+ import { Lt as createDefaultDeps, bt as resolveCommitHash, t as getReplyFromConfig } from "./reply-Dg1ZU3DZ.js";
6
6
  import "./registry-Cja8eT7G.js";
7
7
  import { f as defaultRuntime, r as enableConsoleCapture, u as visibleWidth } from "./subsystem-D9vIQve0.js";
8
8
  import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
@@ -62,8 +62,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
62
62
  import "./send-DpMnSIi5.js";
63
63
  import "./model-ECsJuJew.js";
64
64
  import "./reply-prefix-CE2YmmsD.js";
65
- import "./memory-cli-T-a5-lqZ.js";
66
- import "./manager-BJvYQ7xP.js";
65
+ import "./memory-cli-ENCASZJk.js";
66
+ import "./manager-DrmlegR2.js";
67
67
  import "./retry-BoS4e4X_.js";
68
68
  import "./sqlite-D55gRQbH.js";
69
69
  import "./target-errors-C9e6dMU_.js";
@@ -100,11 +100,11 @@ import "./prompt-style-Y2J72w6p.js";
100
100
  import "./pairing-labels-CTL1gXZb.js";
101
101
  import "./exec-approvals-DEigTi7M.js";
102
102
  import "./nodes-screen-BZS89z6C.js";
103
- import "./pi-tools.policy-BZrM6a-w.js";
103
+ import "./pi-tools.policy-Bx5zp45n.js";
104
104
  import "./control-service-C0pRqIFv.js";
105
105
  import "./stagger-CZ1Rrj7O.js";
106
106
  import "./channel-selection-9fIQGtZy.js";
107
- import { r as waitForever, t as monitorWebChannel } from "./channel-web-CcUXobcu.js";
107
+ import { r as waitForever, t as monitorWebChannel } from "./channel-web-CRBU4eZk.js";
108
108
  import "./outbound-B5OgOn1h.js";
109
109
  import "./session-BpaF8fzk.js";
110
110
  import "./login-F4pbdnF5.js";
@@ -113,10 +113,10 @@ import { t as ensureSymiCliOnPath } from "./path-env-DUnTlGco.js";
113
113
  import { t as assertSupportedRuntime } from "./runtime-guard-BKFbNplo.js";
114
114
  import "./ports-Dr4j-VG-.js";
115
115
  import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BnhBnqf2.js";
116
- import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BgecQAHU.js";
116
+ import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-Cq7pqOrw.js";
117
117
  import "./catalog-KW3oyt3k.js";
118
- import "./plugin-registry-CyrsJDyE.js";
119
- import { n as resolveCliChannelOptions } from "./channel-options-DTqUB0OP.js";
118
+ import "./plugin-registry-BrJ0-qlu.js";
119
+ import { n as resolveCliChannelOptions } from "./channel-options-D8q9En4T.js";
120
120
  import process$1 from "node:process";
121
121
  import { fileURLToPath } from "node:url";
122
122
  import { Command } from "commander";
@@ -516,7 +516,7 @@ function registerPreActionHooks(program, programVersion) {
516
516
  commandPath
517
517
  });
518
518
  if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
519
- const { ensurePluginRegistryLoaded } = await import("./plugin-registry-CyrsJDyE.js").then((n) => n.n);
519
+ const { ensurePluginRegistryLoaded } = await import("./plugin-registry-BrJ0-qlu.js").then((n) => n.n);
520
520
  ensurePluginRegistryLoaded();
521
521
  }
522
522
  });
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
- import fs from "node:fs";
3
- import fs$1 from "node:fs/promises";
2
+ import fsSync from "node:fs";
3
+ import fs from "node:fs/promises";
4
4
  import crypto from "node:crypto";
5
5
 
6
6
  //#region src/memory/fs-utils.ts
@@ -10,7 +10,7 @@ function isFileMissingError(err) {
10
10
  async function statRegularFile(absPath) {
11
11
  let stat;
12
12
  try {
13
- stat = await fs$1.lstat(absPath);
13
+ stat = await fs.lstat(absPath);
14
14
  } catch (err) {
15
15
  if (isFileMissingError(err)) return { missing: true };
16
16
  throw err;
@@ -67,7 +67,7 @@ async function runTasksWithConcurrency(params) {
67
67
  //#region src/memory/internal.ts
68
68
  function ensureDir(dir) {
69
69
  try {
70
- fs.mkdirSync(dir, { recursive: true });
70
+ fsSync.mkdirSync(dir, { recursive: true });
71
71
  } catch {}
72
72
  return dir;
73
73
  }
@@ -86,7 +86,7 @@ function isMemoryPath(relPath) {
86
86
  return normalized.startsWith("memory/");
87
87
  }
88
88
  async function walkDir(dir, files) {
89
- const entries = await fs$1.readdir(dir, { withFileTypes: true });
89
+ const entries = await fs.readdir(dir, { withFileTypes: true });
90
90
  for (const entry of entries) {
91
91
  const full = path.join(dir, entry.name);
92
92
  if (entry.isSymbolicLink()) continue;
@@ -106,7 +106,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
106
106
  const memoryDir = path.join(workspaceDir, "memory");
107
107
  const addMarkdownFile = async (absPath) => {
108
108
  try {
109
- const stat = await fs$1.lstat(absPath);
109
+ const stat = await fs.lstat(absPath);
110
110
  if (stat.isSymbolicLink() || !stat.isFile()) return;
111
111
  if (!absPath.endsWith(".md")) return;
112
112
  result.push(absPath);
@@ -115,12 +115,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
115
115
  await addMarkdownFile(memoryFile);
116
116
  await addMarkdownFile(altMemoryFile);
117
117
  try {
118
- const dirStat = await fs$1.lstat(memoryDir);
118
+ const dirStat = await fs.lstat(memoryDir);
119
119
  if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
120
120
  } catch {}
121
121
  const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
122
122
  if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
123
- const stat = await fs$1.lstat(inputPath);
123
+ const stat = await fs.lstat(inputPath);
124
124
  if (stat.isSymbolicLink()) continue;
125
125
  if (stat.isDirectory()) {
126
126
  await walkDir(inputPath, result);
@@ -134,7 +134,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
134
134
  for (const entry of result) {
135
135
  let key = entry;
136
136
  try {
137
- key = await fs$1.realpath(entry);
137
+ key = await fs.realpath(entry);
138
138
  } catch {}
139
139
  if (seen.has(key)) continue;
140
140
  seen.add(key);
@@ -148,14 +148,14 @@ function hashText(value) {
148
148
  async function buildFileEntry(absPath, workspaceDir) {
149
149
  let stat;
150
150
  try {
151
- stat = await fs$1.stat(absPath);
151
+ stat = await fs.stat(absPath);
152
152
  } catch (err) {
153
153
  if (isFileMissingError(err)) return null;
154
154
  throw err;
155
155
  }
156
156
  let content;
157
157
  try {
158
- content = await fs$1.readFile(absPath, "utf-8");
158
+ content = await fs.readFile(absPath, "utf-8");
159
159
  } catch (err) {
160
160
  if (isFileMissingError(err)) return null;
161
161
  throw err;
@@ -1,7 +1,7 @@
1
- import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-DYq1AYOv.js";
2
- import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-C7CauEK8.js";
3
- import { a as chunkText } from "./chunk-BRe1o4Af.js";
4
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-ClipCZ9s.js";
1
+ import { I as resolveUserPath, J as logVerbose, Z as shouldLogVerbose } from "./registry-X6fUE0K7.js";
2
+ import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-CY7v6vvp.js";
3
+ import { a as chunkText } from "./chunk-BcxcL1U3.js";
4
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-tcdaIEhh.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs/promises";
7
7
  import { fileURLToPath } from "node:url";
@@ -1,66 +1,66 @@
1
- import "./paths-CE7eVGHg.js";
2
- import "./registry-DYq1AYOv.js";
3
- import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CpEJ0B88.js";
4
- import "./subsystem-BjyjJF-d.js";
5
- import "./workspace-DscDraUb.js";
6
- import { t as runAgentTurn } from "./unified-runner-CVItnwwP.js";
7
- import "./paths-CbQV9WEg.js";
8
- import "./auth-profiles-C2vj6htZ.js";
9
- import "./env-BDXYbTKj.js";
10
- import "./github-copilot-token-cCYzSU9h.js";
1
+ import "./paths-CYmyCDsE.js";
2
+ import "./registry-X6fUE0K7.js";
3
+ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Cpm7a9ss.js";
4
+ import "./subsystem-CzXhCdeY.js";
5
+ import "./workspace-CywO4ayZ.js";
6
+ import { t as runAgentTurn } from "./unified-runner-Czg3pdBc.js";
7
+ import "./paths-DEuVuViW.js";
8
+ import "./auth-profiles-BzB_Exeq.js";
9
+ import "./env-CB65jmJQ.js";
10
+ import "./github-copilot-token-B8B2pmph.js";
11
11
  import "./boolean-CE7i9tBR.js";
12
- import "./pi-embedded-helpers-D1_Sab0M.js";
13
- import "./config-BkZ9HOKT.js";
14
- import "./manifest-registry-CBCGTsIb.js";
15
- import "./chrome-ROtrXlNs.js";
16
- import "./frontmatter-CTR5f_Ez.js";
17
- import "./skills-CXxrn_e2.js";
12
+ import "./pi-embedded-helpers-DwQ9wJeT.js";
13
+ import "./config-C4WnAd-c.js";
14
+ import "./manifest-registry-BvGv6lp9.js";
15
+ import "./chrome-DwXnykXR.js";
16
+ import "./frontmatter-CT1M0pRK.js";
17
+ import "./skills-BrYDT4Jr.js";
18
18
  import "./redact-BDMXB06K.js";
19
19
  import "./errors-XIsvXeC-.js";
20
- import "./image-ops-C7CauEK8.js";
20
+ import "./image-ops-CY7v6vvp.js";
21
21
  import "./ssrf-DpUUUgkK.js";
22
- import "./store-01F_JM7O.js";
23
- import "./thinking-BprCy23Z.js";
24
- import "./message-channel-OlFBYAw8.js";
25
- import "./plugins-BzmbgY7s.js";
26
- import "./accounts-BRw8yhIW.js";
27
- import "./accounts-3dCrO3oZ.js";
28
- import "./accounts-BuZxOb3B.js";
29
- import "./bindings-BsHoBLIE.js";
30
- import "./send-BKo1T3HF.js";
31
- import "./send-C0QjmPaf.js";
32
- import "./tool-images-SqqWIT22.js";
33
- import "./deliver-B0OUq6RP.js";
34
- import "./diagnostic-BUcR3Meg.js";
22
+ import "./store-Ceagbc4L.js";
23
+ import "./thinking-BV7SCNJP.js";
24
+ import "./message-channel-lwVT8QjK.js";
25
+ import "./plugins-v8k1XVOy.js";
26
+ import "./accounts-BsgY6sda.js";
27
+ import "./accounts-wWWkC0JH.js";
28
+ import "./accounts-Bsg6r6H7.js";
29
+ import "./bindings-xcRox9xM.js";
30
+ import "./send-cCTQjuOZ.js";
31
+ import "./send-CSydU49L.js";
32
+ import "./tool-images-JxNglLSr.js";
33
+ import "./deliver-SLYAWE19.js";
34
+ import "./diagnostic-DTkZsRNM.js";
35
35
  import "./diagnostic-session-state-Zw87xFym.js";
36
- import "./image-BuVL0jHI.js";
37
- import "./pi-auth-json-RXOlh8ar.js";
38
- import "./tokens-W0JzCJJM.js";
39
- import "./send-Bb4it0te.js";
36
+ import "./image-BHF_fnIp.js";
37
+ import "./pi-auth-json-Bv1NzJdR.js";
38
+ import "./tokens-Bl5R3wPD.js";
39
+ import "./send-BTfqlrYd.js";
40
40
  import "./pi-model-discovery-CuZX_Q4t.js";
41
- import "./reply-prefix-CvEIl6_d.js";
42
- import "./manager-Df_ZdrNG.js";
43
- import "./gemini-auth-BefM10YB.js";
44
- import "./retry-B-y5suGA.js";
45
- import "./sqlite-BN_hIcmu.js";
46
- import "./target-errors-DeJTztcq.js";
47
- import "./chunk-BRe1o4Af.js";
48
- import "./markdown-tables-x2Xe2UXh.js";
49
- import "./local-roots-ClipCZ9s.js";
50
- import "./ir-7tMVY7D_.js";
41
+ import "./reply-prefix-CI_IdwqH.js";
42
+ import "./manager-DxCmjSfP.js";
43
+ import "./gemini-auth-D80BsXr2.js";
44
+ import "./retry-4oEAHckB.js";
45
+ import "./sqlite-P-gMg7fi.js";
46
+ import "./target-errors-uNitqCCT.js";
47
+ import "./chunk-BcxcL1U3.js";
48
+ import "./markdown-tables-CE-qSMGB.js";
49
+ import "./local-roots-tcdaIEhh.js";
50
+ import "./ir-D6MiJpAy.js";
51
51
  import "./render-D1xvLuGo.js";
52
- import "./commands-registry-DxbSTLNQ.js";
53
- import "./runner-ecX1WzDt.js";
54
- import "./skill-commands-DG2lcozb.js";
52
+ import "./commands-registry-ByGkL6hs.js";
53
+ import "./runner-B5oNTtgf.js";
54
+ import "./skill-commands-BcOduw6G.js";
55
55
  import "./fetch-ClslA6GS.js";
56
- import "./channel-activity-D8QD7GoV.js";
57
- import "./tables-DoG-pFrf.js";
58
- import "./send-Cpk3Ti6-.js";
59
- import "./outbound-attachment-DeCnZT-8.js";
60
- import "./send-DFtnbzqy.js";
61
- import "./resolve-route-Jy5dFY67.js";
56
+ import "./channel-activity-CzHaIUAp.js";
57
+ import "./tables-qbCoZrYA.js";
58
+ import "./send-Du-IfSne.js";
59
+ import "./outbound-attachment-BWyKV1Gy.js";
60
+ import "./send-ASDB3AzC.js";
61
+ import "./resolve-route-BgSuN9c6.js";
62
62
  import "./proxy-d9fklNTC.js";
63
- import "./replies-CUWXgyx2.js";
63
+ import "./replies-86F3PldM.js";
64
64
 
65
65
  //#region src/hooks/llm-slug-generator.ts
66
66
  /**
@@ -1,8 +1,8 @@
1
- import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
2
- import { dt as resolvePreferredSymiTmpDir } from "./registry-DYq1AYOv.js";
3
- import { s as resolveAgentWorkspaceDir } from "./agent-scope-CpEJ0B88.js";
4
- import { S as logWarn } from "./workspace-DscDraUb.js";
5
- import { c as detectMime, l as extensionForMime } from "./image-ops-C7CauEK8.js";
1
+ import { s as resolveStateDir } from "./paths-CYmyCDsE.js";
2
+ import { dt as resolvePreferredSymiTmpDir } from "./registry-X6fUE0K7.js";
3
+ import { s as resolveAgentWorkspaceDir } from "./agent-scope-Cpm7a9ss.js";
4
+ import { S as logWarn } from "./workspace-CywO4ayZ.js";
5
+ import { c as detectMime, l as extensionForMime } from "./image-ops-CY7v6vvp.js";
6
6
  import { a as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError } from "./ssrf-DpUUUgkK.js";
7
7
  import { t as bindAbortRelay } from "./fetch-timeout-CVCBkyv1.js";
8
8
  import path from "node:path";
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { G as danger, K as info, Q as success } from "./registry-DYq1AYOv.js";
3
- import { r as defaultRuntime } from "./subsystem-BjyjJF-d.js";
4
- import { x as logInfo } from "./workspace-DscDraUb.js";
5
- import { n as formatCliCommand } from "./env-BDXYbTKj.js";
6
- import { n as loadConfig } from "./config-BkZ9HOKT.js";
7
- import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-BRw8yhIW.js";
8
- import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BTeY6Gn2.js";
2
+ import { G as danger, K as info, Q as success } from "./registry-X6fUE0K7.js";
3
+ import { r as defaultRuntime } from "./subsystem-CzXhCdeY.js";
4
+ import { x as logInfo } from "./workspace-CywO4ayZ.js";
5
+ import { n as formatCliCommand } from "./env-CB65jmJQ.js";
6
+ import { n as loadConfig } from "./config-C4WnAd-c.js";
7
+ import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-BsgY6sda.js";
8
+ import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-D8qLj_xN.js";
9
9
  import { DisconnectReason } from "@whiskeysockets/baileys";
10
10
 
11
11
  //#region src/web/login.ts
@@ -1,16 +1,16 @@
1
- import "./paths-CE7eVGHg.js";
2
- import { G as danger, K as info, Q as success } from "./registry-DYq1AYOv.js";
3
- import "./agent-scope-CpEJ0B88.js";
4
- import { r as defaultRuntime } from "./subsystem-BjyjJF-d.js";
5
- import { x as logInfo } from "./workspace-DscDraUb.js";
6
- import "./auth-profiles-C2vj6htZ.js";
7
- import "./env-BDXYbTKj.js";
8
- import "./github-copilot-token-cCYzSU9h.js";
1
+ import "./paths-CYmyCDsE.js";
2
+ import { G as danger, K as info, Q as success } from "./registry-X6fUE0K7.js";
3
+ import "./agent-scope-Cpm7a9ss.js";
4
+ import { r as defaultRuntime } from "./subsystem-CzXhCdeY.js";
5
+ import { x as logInfo } from "./workspace-CywO4ayZ.js";
6
+ import "./auth-profiles-BzB_Exeq.js";
7
+ import "./env-CB65jmJQ.js";
8
+ import "./github-copilot-token-B8B2pmph.js";
9
9
  import "./boolean-CE7i9tBR.js";
10
- import { n as loadConfig } from "./config-BkZ9HOKT.js";
11
- import "./manifest-registry-CBCGTsIb.js";
12
- import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-BRw8yhIW.js";
13
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BTeY6Gn2.js";
10
+ import { n as loadConfig } from "./config-C4WnAd-c.js";
11
+ import "./manifest-registry-BvGv6lp9.js";
12
+ import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-BsgY6sda.js";
13
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-D8qLj_xN.js";
14
14
  import { randomUUID } from "node:crypto";
15
15
  import { DisconnectReason } from "@whiskeysockets/baileys";
16
16
  import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
@@ -3970,7 +3970,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3970
3970
  * to bypass the min-interval guard (CLI use).
3971
3971
  */
3972
3972
  async runL3CycleIfDue(params) {
3973
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DAVcgGhp.js"), import("./synthesis-DOiTUsXQ.js")]);
3973
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DAVcgGhp.js"), import("./synthesis-DNTyB7JY.js")]);
3974
3974
  const synthesize = createSynthesizer({
3975
3975
  cfg: this.cfg,
3976
3976
  agentId: this.agentId,
@@ -3967,7 +3967,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3967
3967
  * to bypass the min-interval guard (CLI use).
3968
3968
  */
3969
3969
  async runL3CycleIfDue(params) {
3970
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-AtD4dt_f.js"), import("./synthesis-Ia9egx87.js")]);
3970
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-AtD4dt_f.js"), import("./synthesis-z5B41p_r.js")]);
3971
3971
  const synthesize = createSynthesizer({
3972
3972
  cfg: this.cfg,
3973
3973
  agentId: this.agentId,
@@ -3970,7 +3970,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3970
3970
  * to bypass the min-interval guard (CLI use).
3971
3971
  */
3972
3972
  async runL3CycleIfDue(params) {
3973
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DLBN14br.js"), import("./synthesis-C9RputIi.js")]);
3973
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DLBN14br.js"), import("./synthesis-brHrnNF2.js")]);
3974
3974
  const synthesize = createSynthesizer({
3975
3975
  cfg: this.cfg,
3976
3976
  agentId: this.agentId,
@@ -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, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-DYq1AYOv.js";
4
- import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CpEJ0B88.js";
5
- import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
6
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CbQV9WEg.js";
7
- import { B as resolveApiKeyForProvider, z as requireApiKey } from "./auth-profiles-C2vj6htZ.js";
8
- import { t as isTruthyEnvValue } from "./env-BDXYbTKj.js";
2
+ import { s as resolveStateDir } from "./paths-CYmyCDsE.js";
3
+ import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-X6fUE0K7.js";
4
+ import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-Cpm7a9ss.js";
5
+ import { t as createSubsystemLogger } from "./subsystem-CzXhCdeY.js";
6
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DEuVuViW.js";
7
+ import { B as resolveApiKeyForProvider, z as requireApiKey } from "./auth-profiles-BzB_Exeq.js";
8
+ import { t as isTruthyEnvValue } from "./env-CB65jmJQ.js";
9
9
  import { n as formatErrorMessage } from "./errors-XIsvXeC-.js";
10
10
  import { n as onSessionTranscriptUpdate } from "./transcript-events-BBh3Gsrx.js";
11
- import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-BefM10YB.js";
12
- import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-DjnxpF_K.js";
13
- import { n as retryAsync } from "./retry-B-y5suGA.js";
14
- import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-BN_hIcmu.js";
11
+ import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-D80BsXr2.js";
12
+ import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-FNqguZSK.js";
13
+ import { n as retryAsync } from "./retry-4oEAHckB.js";
14
+ import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-P-gMg7fi.js";
15
15
  import path from "node:path";
16
- import fs from "node:fs";
16
+ import fsSync from "node:fs";
17
17
  import os from "node:os";
18
- import fs$1 from "node:fs/promises";
18
+ import fs from "node:fs/promises";
19
19
  import { randomUUID } from "node:crypto";
20
20
  import { createInterface } from "node:readline";
21
21
  import { Readable } from "node:stream";
@@ -615,7 +615,7 @@ function canAutoSelectLocal(options) {
615
615
  if (/^(hf:|https?:)/i.test(modelPath)) return false;
616
616
  const resolved = resolveUserPath(modelPath);
617
617
  try {
618
- return fs.statSync(resolved).isFile();
618
+ return fsSync.statSync(resolved).isFile();
619
619
  } catch {
620
620
  return false;
621
621
  }
@@ -937,7 +937,7 @@ async function extractTimestamp(params) {
937
937
  if (!params.workspaceDir) return null;
938
938
  const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
939
939
  try {
940
- const stat = await fs$1.stat(absolutePath);
940
+ const stat = await fs.stat(absolutePath);
941
941
  if (!Number.isFinite(stat.mtimeMs)) return null;
942
942
  return new Date(stat.mtimeMs);
943
943
  } catch {
@@ -2048,7 +2048,7 @@ var MemoryManagerSyncOps = class {
2048
2048
  const source = `${sourceBase}${suffix}`;
2049
2049
  const target = `${targetBase}${suffix}`;
2050
2050
  try {
2051
- await fs$1.rename(source, target);
2051
+ await fs.rename(source, target);
2052
2052
  } catch (err) {
2053
2053
  if (err.code !== "ENOENT") throw err;
2054
2054
  }
@@ -2059,7 +2059,7 @@ var MemoryManagerSyncOps = class {
2059
2059
  "",
2060
2060
  "-wal",
2061
2061
  "-shm"
2062
- ].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
2062
+ ].map((suffix) => fs.rm(`${basePath}${suffix}`, { force: true })));
2063
2063
  }
2064
2064
  ensureSchema() {
2065
2065
  const result = ensureMemoryIndexSchema({
@@ -2083,7 +2083,7 @@ var MemoryManagerSyncOps = class {
2083
2083
  ]);
2084
2084
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
2085
2085
  for (const entry of additionalPaths) try {
2086
- const stat = fs.lstatSync(entry);
2086
+ const stat = fsSync.lstatSync(entry);
2087
2087
  if (stat.isSymbolicLink()) continue;
2088
2088
  if (stat.isDirectory()) {
2089
2089
  watchPaths.add(path.join(entry, "**", "*.md"));
@@ -2154,7 +2154,7 @@ var MemoryManagerSyncOps = class {
2154
2154
  if (!thresholds) return null;
2155
2155
  let stat;
2156
2156
  try {
2157
- stat = await fs$1.stat(sessionFile);
2157
+ stat = await fs.stat(sessionFile);
2158
2158
  } catch {
2159
2159
  return null;
2160
2160
  }
@@ -2196,7 +2196,7 @@ var MemoryManagerSyncOps = class {
2196
2196
  if (end <= start) return 0;
2197
2197
  let handle;
2198
2198
  try {
2199
- handle = await fs$1.open(absPath, "r");
2199
+ handle = await fs.open(absPath, "r");
2200
2200
  } catch (err) {
2201
2201
  if (isFileMissingError(err)) return 0;
2202
2202
  throw err;
@@ -3128,7 +3128,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
3128
3128
  });
3129
3129
  return;
3130
3130
  }
3131
- const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
3131
+ const content = options.content ?? await fs.readFile(entry.absPath, "utf-8");
3132
3132
  const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
3133
3133
  if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
3134
3134
  const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
@@ -3746,7 +3746,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3746
3746
  if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
3747
3747
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
3748
3748
  for (const additionalPath of additionalPaths) try {
3749
- const stat = await fs$1.lstat(additionalPath);
3749
+ const stat = await fs.lstat(additionalPath);
3750
3750
  if (stat.isSymbolicLink()) continue;
3751
3751
  if (stat.isDirectory()) {
3752
3752
  if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
@@ -3771,7 +3771,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3771
3771
  };
3772
3772
  let content;
3773
3773
  try {
3774
- content = await fs$1.readFile(absPath, "utf-8");
3774
+ content = await fs.readFile(absPath, "utf-8");
3775
3775
  } catch (err) {
3776
3776
  if (isFileMissingError(err)) return {
3777
3777
  text: "",
@@ -3970,7 +3970,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3970
3970
  * to bypass the min-interval guard (CLI use).
3971
3971
  */
3972
3972
  async runL3CycleIfDue(params) {
3973
- const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-07QMweFF.js"), import("./synthesis-BUqDGjlc.js")]);
3973
+ const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DRtVvG2U.js"), import("./synthesis-DuqSkHEr.js")]);
3974
3974
  const synthesize = createSynthesizer({
3975
3975
  cfg: this.cfg,
3976
3976
  agentId: this.agentId,
@@ -1,7 +1,7 @@
1
- import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-DYq1AYOv.js";
1
+ import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-X6fUE0K7.js";
2
2
  import { n as MANIFEST_KEY } from "./legacy-names-CePMUvus.js";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import fsSync from "node:fs";
5
5
  import { fileURLToPath } from "node:url";
6
6
 
7
7
  //#region src/infra/host-env-security-policy.json
@@ -59,7 +59,7 @@ function isPathInside$1(basePath, candidatePath) {
59
59
  }
60
60
  function safeRealpathSync$1(filePath) {
61
61
  try {
62
- return fs.realpathSync(filePath);
62
+ return fsSync.realpathSync(filePath);
63
63
  } catch {
64
64
  return null;
65
65
  }
@@ -227,13 +227,13 @@ function resolveBundledPluginsDir() {
227
227
  try {
228
228
  const execDir = path.dirname(process.execPath);
229
229
  const sibling = path.join(execDir, "extensions");
230
- if (fs.existsSync(sibling)) return sibling;
230
+ if (fsSync.existsSync(sibling)) return sibling;
231
231
  } catch {}
232
232
  try {
233
233
  let cursor = path.dirname(fileURLToPath(import.meta.url));
234
234
  for (let i = 0; i < 6; i += 1) {
235
235
  const candidate = path.join(cursor, "extensions");
236
- if (fs.existsSync(candidate)) return candidate;
236
+ if (fsSync.existsSync(candidate)) return candidate;
237
237
  const parent = path.dirname(cursor);
238
238
  if (parent === cursor) break;
239
239
  cursor = parent;
@@ -252,20 +252,20 @@ function normalizeStringList(value) {
252
252
  function resolvePluginManifestPath(rootDir) {
253
253
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
254
254
  const candidate = path.join(rootDir, filename);
255
- if (fs.existsSync(candidate)) return candidate;
255
+ if (fsSync.existsSync(candidate)) return candidate;
256
256
  }
257
257
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
258
258
  }
259
259
  function loadPluginManifest(rootDir) {
260
260
  const manifestPath = resolvePluginManifestPath(rootDir);
261
- if (!fs.existsSync(manifestPath)) return {
261
+ if (!fsSync.existsSync(manifestPath)) return {
262
262
  ok: false,
263
263
  error: `plugin manifest not found: ${manifestPath}`,
264
264
  manifestPath
265
265
  };
266
266
  let raw;
267
267
  try {
268
- raw = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
268
+ raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
269
269
  } catch (err) {
270
270
  return {
271
271
  ok: false,
@@ -332,7 +332,7 @@ function safeRealpathSync(targetPath, cache) {
332
332
  const cached = cache?.get(targetPath);
333
333
  if (cached) return cached;
334
334
  try {
335
- const resolved = fs.realpathSync(targetPath);
335
+ const resolved = fsSync.realpathSync(targetPath);
336
336
  cache?.set(targetPath, resolved);
337
337
  return resolved;
338
338
  } catch {
@@ -341,7 +341,7 @@ function safeRealpathSync(targetPath, cache) {
341
341
  }
342
342
  function safeStatSync(targetPath) {
343
343
  try {
344
- return fs.statSync(targetPath);
344
+ return fsSync.statSync(targetPath);
345
345
  } catch {
346
346
  return null;
347
347
  }
@@ -455,9 +455,9 @@ function isExtensionFile(filePath) {
455
455
  }
456
456
  function readPackageManifest(dir) {
457
457
  const manifestPath = path.join(dir, "package.json");
458
- if (!fs.existsSync(manifestPath)) return null;
458
+ if (!fsSync.existsSync(manifestPath)) return null;
459
459
  try {
460
- const raw = fs.readFileSync(manifestPath, "utf-8");
460
+ const raw = fsSync.readFileSync(manifestPath, "utf-8");
461
461
  return JSON.parse(raw);
462
462
  } catch {
463
463
  return null;
@@ -515,10 +515,10 @@ function resolvePackageEntrySource(params) {
515
515
  return source;
516
516
  }
517
517
  function discoverInDirectory(params) {
518
- if (!fs.existsSync(params.dir)) return;
518
+ if (!fsSync.existsSync(params.dir)) return;
519
519
  let entries = [];
520
520
  try {
521
- entries = fs.readdirSync(params.dir, { withFileTypes: true });
521
+ entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
522
522
  } catch (err) {
523
523
  params.diagnostics.push({
524
524
  level: "warn",
@@ -580,7 +580,7 @@ function discoverInDirectory(params) {
580
580
  "index.js",
581
581
  "index.mjs",
582
582
  "index.cjs"
583
- ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs.existsSync(candidate));
583
+ ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
584
584
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
585
585
  candidates: params.candidates,
586
586
  diagnostics: params.diagnostics,
@@ -598,7 +598,7 @@ function discoverInDirectory(params) {
598
598
  }
599
599
  function discoverFromPath(params) {
600
600
  const resolved = resolveUserPath(params.rawPath);
601
- if (!fs.existsSync(resolved)) {
601
+ if (!fsSync.existsSync(resolved)) {
602
602
  params.diagnostics.push({
603
603
  level: "error",
604
604
  message: `plugin path not found: ${resolved}`,
@@ -606,7 +606,7 @@ function discoverFromPath(params) {
606
606
  });
607
607
  return;
608
608
  }
609
- const stat = fs.statSync(resolved);
609
+ const stat = fsSync.statSync(resolved);
610
610
  if (stat.isFile()) {
611
611
  if (!isExtensionFile(resolved)) {
612
612
  params.diagnostics.push({
@@ -666,7 +666,7 @@ function discoverFromPath(params) {
666
666
  "index.js",
667
667
  "index.mjs",
668
668
  "index.cjs"
669
- ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs.existsSync(candidate));
669
+ ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
670
670
  if (indexFile && isExtensionFile(indexFile)) {
671
671
  addCandidate({
672
672
  candidates: params.candidates,
@@ -780,7 +780,7 @@ function buildCacheKey(params) {
780
780
  }
781
781
  function safeStatMtimeMs(filePath) {
782
782
  try {
783
- return fs.statSync(filePath).mtimeMs;
783
+ return fsSync.statSync(filePath).mtimeMs;
784
784
  } catch {
785
785
  return null;
786
786
  }