agdi 2026.2.21 → 2026.3.24

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 (308) hide show
  1. package/README.md +42 -27
  2. package/assets/chrome-extension/README.md +5 -5
  3. package/assets/chrome-extension/background.js +5 -5
  4. package/assets/chrome-extension/manifest.json +3 -3
  5. package/assets/chrome-extension/options.html +5 -5
  6. package/assets/chrome-extension/options.js +1 -1
  7. package/dist/{acp-cli-CGsTeMfc.js → acp-cli-BspY9DCC.js} +2 -2
  8. package/dist/{agent-Bt8aL3cu.js → agent-B5TB2m3Q.js} +2 -2
  9. package/dist/{agent-7MEctvuT.js → agent-CFC7aLsb.js} +3 -3
  10. package/dist/{agents-kK-OhO4Y.js → agents-Dn75GjYh.js} +3 -3
  11. package/dist/{audio-preflight-Do0MZ4R_.js → audio-preflight-8MfUgO2y.js} +7 -7
  12. package/dist/{audio-preflight-DUo4RqeW.js → audio-preflight-CqSkJjc_.js} +4 -4
  13. package/dist/{audit-goJB3ln0.js → audit-m-yyLWfW.js} +5 -5
  14. package/dist/{auth-choice-qcrYgAkg.js → auth-choice-07JEO7zT.js} +2 -2
  15. package/dist/{auth-choice-DREs0_J3.js → auth-choice-C5Unpru6.js} +1 -1
  16. package/dist/{autonomous-Che-Dqm_.js → autonomous-B0U7a2ES.js} +2 -2
  17. package/dist/{autonomous-cli-wbREML1i.js → autonomous-cli-fSDO2I9u.js} +6 -6
  18. package/dist/{autonomous-gateway-hook-Bo07YEJY.js → autonomous-gateway-hook-DW1BMpw2.js} +2 -2
  19. package/dist/{banner-ClOZtc8c.js → banner-DTY_S7hN.js} +1 -1
  20. package/dist/{browser-cli-7niTaHdC.js → browser-cli-DkJV6k66.js} +3 -3
  21. package/dist/build-info.json +5 -0
  22. package/dist/bundled/boot-md/HOOK.md +19 -0
  23. package/dist/bundled/boot-md/handler.js +7 -7
  24. package/dist/bundled/bootstrap-extra-files/HOOK.md +53 -0
  25. package/dist/bundled/command-logger/HOOK.md +122 -0
  26. package/dist/bundled/session-memory/HOOK.md +109 -0
  27. package/dist/bundled/session-memory/handler.js +6 -6
  28. package/dist/{call-yOL9MAHO.js → call-CLd6RvG7.js} +1 -1
  29. package/dist/{channel-options-Cj2Z2l_j.js → channel-options-BxJbsezk.js} +1 -1
  30. package/dist/{channel-options-d34YHCeC.js → channel-options-C-8eeuhN.js} +1 -1
  31. package/dist/{channel-web-D9b-L2Fl.js → channel-web-Bu1e_xiT.js} +1 -1
  32. package/dist/{channels-cli-y_x6MqAO.js → channels-cli-B4xrznUi.js} +4 -4
  33. package/dist/{channels-cli-t6IDfCvk.js → channels-cli-kXmWyKYk.js} +19 -19
  34. package/dist/{chrome-H9ooxat-.js → chrome-BUxc5HjQ.js} +7 -7
  35. package/dist/{chrome-BdKSdFqQ.js → chrome-DSp0s1hV.js} +7 -7
  36. package/dist/cli/daemon-cli.js +9 -0
  37. package/dist/{cli-D-jvSN8W.js → cli-DGJoRsnN.js} +1 -1
  38. package/dist/{cli-DyesEoOj.js → cli-XBO2TisM.js} +16 -16
  39. package/dist/{client-CE7iClBg.js → client-CC8zldio.js} +3 -3
  40. package/dist/{command-registry-DWBSkid5.js → command-registry-BoOJUDrj.js} +10 -10
  41. package/dist/{completion-cli-CVAQvpdV.js → completion-cli-6HA7-NV4.js} +2 -2
  42. package/dist/{completion-cli-Q0JJvcsO.js → completion-cli-C82UGMcp.js} +1 -1
  43. package/dist/{config-cli-BSyh0jik.js → config-cli-0iJM6PUw.js} +1 -1
  44. package/dist/{config-cli-CyJR34F3.js → config-cli-DoSZzc2x.js} +1 -1
  45. package/dist/{configure-CfKSgtKg.js → configure-BIFQ_gIn.js} +3 -3
  46. package/dist/{configure-B3u1uHNO.js → configure-o-OU07yC.js} +6 -6
  47. package/dist/{control-service-Cs5ueX36.js → control-service-BgPd9Imk.js} +3 -3
  48. package/dist/{cron-cli-D2H4cfNM.js → cron-cli-kMbbgESp.js} +3 -3
  49. package/dist/{daemon-CFkCO10L.js → daemon-BFisaLMH.js} +3 -3
  50. package/dist/{daemon-cli-ade5IQGG.js → daemon-cli-CM100Pfo.js} +2 -2
  51. package/dist/{deliver-BLaCYV_T.js → deliver-DPahfMoC.js} +1 -1
  52. package/dist/{deliver-x4ra2LhM.js → deliver-DUH6FW-h.js} +1 -1
  53. package/dist/{deps-Dy3w0lsV.js → deps-5LpkfNyM.js} +1 -1
  54. package/dist/{devices-cli-BMZoHQHM.js → devices-cli-DEeFU5WY.js} +2 -2
  55. package/dist/{doctor-BEWO_PWr.js → doctor-Ct5g1Zt9.js} +4 -4
  56. package/dist/{doctor-completion-CKaYvTMB.js → doctor-completion--nmksCRl.js} +1 -1
  57. package/dist/{doctor-completion-7bFMQzFv.js → doctor-completion-DXLL4_vD.js} +1 -1
  58. package/dist/{doctor-DMDkt2PR.js → doctor-f_KS1tJF.js} +7 -7
  59. package/dist/entry.js +1 -1
  60. package/dist/{exec-approvals-cli-8BH9_-mT.js → exec-approvals-cli-BJP5DDZO.js} +4 -4
  61. package/dist/extensionAPI.js +1 -1
  62. package/dist/{gateway-cli-DEM0w9ih.js → gateway-cli-D1-01E06.js} +31 -31
  63. package/dist/{gateway-cli-phwRhpwJ.js → gateway-cli-DAQ65A5P.js} +10 -10
  64. package/dist/{gateway-rpc-DX76w4ad.js → gateway-rpc-D1c_4UzR.js} +1 -1
  65. package/dist/{health-DQUXGVLo.js → health-8FdIEymG.js} +1 -1
  66. package/dist/{health-CkgNxXSi.js → health-Bc-IpBGw.js} +3 -3
  67. package/dist/{hooks-cli-B1b9nnhh.js → hooks-cli-BVhHplUb.js} +2 -2
  68. package/dist/{hooks-cli-zMEUN7BD.js → hooks-cli-ByGszCh-.js} +17 -17
  69. package/dist/{image-DlyOOSgS.js → image-Dvlvaagc.js} +1 -1
  70. package/dist/{image-StP21Jhi.js → image-KCLvIKaC.js} +1 -1
  71. package/dist/index.js +7 -7
  72. package/dist/llm-slug-generator.js +6 -6
  73. package/dist/{logs-cli-Cn7e-LZT.js → logs-cli-DG9nSYnl.js} +3 -3
  74. package/dist/{models-Bl_pPxHj.js → models-DZkxcQOX.js} +3 -3
  75. package/dist/{models-cli-BF58shCq.js → models-cli-BzLznGQr.js} +18 -18
  76. package/dist/{models-cli-D_Vd2BXz.js → models-cli-jIq5QCxr.js} +2 -2
  77. package/dist/{node-cli-MKMEzeNr.js → node-cli-Dfr7NVDr.js} +6 -6
  78. package/dist/{nodes-cli-FeFPh_0I.js → nodes-cli-C1g3A3hZ.js} +3 -3
  79. package/dist/{onboard-DGAhHIqL.js → onboard-CBRbJ6mZ.js} +2 -2
  80. package/dist/{onboard-DPdMdGSK.js → onboard-CS82k_uw.js} +3 -3
  81. package/dist/{onboard-channels-CKRkmVga.js → onboard-channels-BLEmpWA5.js} +1 -1
  82. package/dist/{onboard-channels-DQpORcVp.js → onboard-channels-Tk3e-q6Z.js} +1 -1
  83. package/dist/{onboard-helpers-BslF_KGN.js → onboard-helpers-CliiP61u.js} +1 -1
  84. package/dist/{onboard-remote-CpYSj9pz.js → onboard-remote-4GPJhk_B.js} +1 -1
  85. package/dist/{onboard-skills-D86x5BEb.js → onboard-skills-B2R6Sa5S.js} +1 -1
  86. package/dist/{onboarding-DBJIO7pg.js → onboarding-1EAcwGBd.js} +3 -3
  87. package/dist/{onboarding-D-6RobD4.js → onboarding-tu-9mPgJ.js} +7 -7
  88. package/dist/{onboarding.finalize-CimMUDhI.js → onboarding.finalize-CFgUYD7C.js} +22 -22
  89. package/dist/{onboarding.finalize-q9g1gyf-.js → onboarding.finalize-CNHcEjvG.js} +5 -5
  90. package/dist/{onboarding.gateway-config-T6Gd4sO5.js → onboarding.gateway-config-DjbvXvM-.js} +3 -3
  91. package/dist/{outbound-send-deps-JRcF4iNQ.js → outbound-send-deps-CCYbsS6_.js} +1 -1
  92. package/dist/{pi-embedded-BOJDAV3K.js → pi-embedded-BJSd8ZYR.js} +64 -64
  93. package/dist/{pi-embedded-DFdlvxNQ.js → pi-embedded-CFb93mBT.js} +78 -78
  94. package/dist/{pi-embedded-helpers-C-8FnnkQ.js → pi-embedded-helpers-DP0wnth-.js} +4 -4
  95. package/dist/{pi-embedded-helpers-BaF-1OKo.js → pi-embedded-helpers-DVX2nfD6.js} +1 -1
  96. package/dist/{pi-tools.policy-BChfRga4.js → pi-tools.policy-c6zSjB4B.js} +1 -1
  97. package/dist/{plugin-registry-C9Ln37Qx.js → plugin-registry-BFqIGpg7.js} +1 -1
  98. package/dist/{plugin-registry-BIF4XzRR.js → plugin-registry-BKTeTjvg.js} +1 -1
  99. package/dist/plugin-sdk/{accounts-BBUmmr7s.js → accounts-BWR0WF5l.js} +2 -2
  100. package/dist/plugin-sdk/{active-listener-CcAOlYqW.js → active-listener-3M_ccPdq.js} +1 -1
  101. package/dist/plugin-sdk/{agent-scope-ROxPafoi.js → agent-scope-BXc_jcxb.js} +2 -2
  102. package/dist/plugin-sdk/{audio-preflight-BZIvux9v.js → audio-preflight-KY49a32a.js} +21 -21
  103. package/dist/plugin-sdk/{bindings-HhhGv1rj.js → bindings-G_XW7uiC.js} +2 -2
  104. package/dist/plugin-sdk/{channel-web-DQeVyv4e.js → channel-web-CorZazvO.js} +16 -16
  105. package/dist/plugin-sdk/{chrome-CLiJ1Yue.js → chrome-BDx70FO4.js} +2 -2
  106. package/dist/plugin-sdk/{chunk-CIWxSye2.js → chunk-DCKmf8Wo.js} +1 -1
  107. package/dist/plugin-sdk/{commands-registry-CQQ3C8RZ.js → commands-registry-BWyjV6Ci.js} +3 -3
  108. package/dist/plugin-sdk/{common-BRr8FdBn.js → common-BonFRlQr.js} +2 -2
  109. package/dist/plugin-sdk/config/types.d.ts +0 -1
  110. package/dist/plugin-sdk/{config-BD92PCvG.js → config-BzD8Apwb.js} +9 -9
  111. package/dist/plugin-sdk/{deliver-DZfVqROd.js → deliver-JZG19kYT.js} +11 -11
  112. package/dist/plugin-sdk/{env-CRYzwVby.js → env-Df7RQqAN.js} +1 -1
  113. package/dist/plugin-sdk/{exec-Cwb1C8fs.js → exec-Bqlk2QMi.js} +1 -1
  114. package/dist/plugin-sdk/{fetch-Btlf6cA8.js → fetch-DE02jW9e.js} +2 -2
  115. package/dist/plugin-sdk/{image-Lcgcsphy.js → image-BZktnIdp.js} +4 -4
  116. package/dist/plugin-sdk/{image-ops-BZj3qg_6.js → image-ops-BThTx4hU.js} +1 -1
  117. package/dist/plugin-sdk/index.js +40 -40
  118. package/dist/plugin-sdk/{ir-C6betxfk.js → ir-DRJGSIpB.js} +5 -5
  119. package/dist/plugin-sdk/{login-BOudTVAn.js → login-DOfdA4Pk.js} +5 -5
  120. package/dist/plugin-sdk/{login-qr-DXfw7nEy.js → login-qr-QJgQ9G4e.js} +9 -9
  121. package/dist/plugin-sdk/{manager-3YvswRc2.js → manager-Qt1Y8EAs.js} +6 -6
  122. package/dist/plugin-sdk/{manifest-registry-BIMZK98f.js → manifest-registry-Dof8iFUO.js} +1 -1
  123. package/dist/plugin-sdk/{markdown-tables-CusXjWP2.js → markdown-tables-DOWeu9AD.js} +1 -1
  124. package/dist/plugin-sdk/{message-channel-Cfxc5EUT.js → message-channel-DMdN8RH_.js} +1 -1
  125. package/dist/plugin-sdk/{model-selection-CrHnpFeR.js → model-selection-q-whb8Rj.js} +4 -4
  126. package/dist/plugin-sdk/{normalize-Dschm8hD.js → normalize-Dewv20fJ.js} +3 -3
  127. package/dist/plugin-sdk/{outbound-CZxPeieb.js → outbound-DAE5QkYS.js} +6 -6
  128. package/dist/plugin-sdk/{pi-auth-json-Cz9tAwmn.js → pi-auth-json-CKRzwRSQ.js} +5 -5
  129. package/dist/plugin-sdk/{pi-embedded-helpers-BtWxRJkj.js → pi-embedded-helpers-BjWjjmzn.js} +16 -16
  130. package/dist/plugin-sdk/{plugins-CHTEazRa.js → plugins-CQ5AByBS.js} +3 -3
  131. package/dist/plugin-sdk/{pw-ai-CbxLOhWe.js → pw-ai-Vu63adls.js} +3 -3
  132. package/dist/plugin-sdk/{qmd-manager-BQUuRXAy.js → qmd-manager-Cez_E3Bt.js} +4 -4
  133. package/dist/plugin-sdk/{registry-TIFnuqJI.js → registry-De0o0SaP.js} +2 -2
  134. package/dist/plugin-sdk/{replies-D_TpNtet.js → replies-BQOzpd0u.js} +8 -8
  135. package/dist/plugin-sdk/{reply-Bsmfi87A.js → reply-DHc0Xntd.js} +121 -121
  136. package/dist/plugin-sdk/{reply-prefix-CGuWFadl.js → reply-prefix-ylZVxv8w.js} +1 -1
  137. package/dist/plugin-sdk/{resolve-route-BDHkyeSW.js → resolve-route-DBvJW73P.js} +4 -4
  138. package/dist/plugin-sdk/{runner-CHhjthMj.js → runner-D7eNG5Zn.js} +8 -8
  139. package/dist/plugin-sdk/{session-Fzax2vO3.js → session-DXNRlz7l.js} +3 -3
  140. package/dist/plugin-sdk/{skill-commands-Cx2cYZUO.js → skill-commands-BaaYoRxI.js} +5 -5
  141. package/dist/plugin-sdk/{skills-DBGTOFGp.js → skills-6PylmrUJ.js} +7 -7
  142. package/dist/plugin-sdk/{sqlite-RwOCMihR.js → sqlite-hIK3V4Pt.js} +1 -1
  143. package/dist/plugin-sdk/{thinking-BiLvqJ5Q.js → thinking-DddUlJeP.js} +3 -3
  144. package/dist/plugin-sdk/{tokens-BkFM-0b-.js → tokens-C9LoVr-y.js} +1 -1
  145. package/dist/plugin-sdk/{tool-images-Cy8bFS8K.js → tool-images-CewFwsph.js} +2 -2
  146. package/dist/plugin-sdk/web-DkacOSI5.js +50 -0
  147. package/dist/plugin-sdk/{whatsapp-actions-CI9732AT.js → whatsapp-actions-CnCdDXeq.js} +21 -21
  148. package/dist/{plugins-cli-BSAtEU1d.js → plugins-cli-CTnJG3yf.js} +17 -17
  149. package/dist/{plugins-cli-D7IYqnnp.js → plugins-cli-D9SlC2ts.js} +2 -2
  150. package/dist/{program-By4ZRh5X.js → program-BBvTFyRf.js} +22 -22
  151. package/dist/{program-context-BU9WE9nN.js → program-context-Dd-HNM5B.js} +17 -17
  152. package/dist/{provider-auth-helpers-CkPE-NjM.js → provider-auth-helpers-Bud2qEj8.js} +1 -1
  153. package/dist/{provider-auth-helpers-DXyROoXI.js → provider-auth-helpers-C_A0tvS6.js} +1 -1
  154. package/dist/{pw-ai-XvZQN_aj.js → pw-ai-DBA7VJ_4.js} +1 -1
  155. package/dist/{pw-ai-JosjXMNU.js → pw-ai-DkzrvbWi.js} +1 -1
  156. package/dist/{register.agent-_6vojWI3.js → register.agent-C2OU-wEz.js} +7 -7
  157. package/dist/{register.agent-BEvlBhfu.js → register.agent-CHJTZNDx.js} +23 -23
  158. package/dist/{register.configure-CBUB-JsH.js → register.configure-BUO7K8vm.js} +23 -23
  159. package/dist/{register.configure-BkQd81gI.js → register.configure-DtzBCmrJ.js} +6 -6
  160. package/dist/{register.maintenance-CCqa5lXY.js → register.maintenance-CFslIN4w.js} +23 -23
  161. package/dist/{register.maintenance-CKD4ReXO.js → register.maintenance-DIwT_dzV.js} +7 -7
  162. package/dist/{register.message-qqI1My9k.js → register.message-Br_8hkfp.js} +3 -3
  163. package/dist/{register.message-B5JV0zE2.js → register.message-G1dSCgnn.js} +18 -18
  164. package/dist/{register.onboard-DLKSPxkB.js → register.onboard-CutpqKT-.js} +4 -4
  165. package/dist/{register.onboard-BAsEkhob.js → register.onboard-DjzPwyJm.js} +19 -19
  166. package/dist/{register.setup-BK3T_IDj.js → register.setup-DFxGxRIO.js} +19 -19
  167. package/dist/{register.setup-BKSMJToW.js → register.setup-DsHpLLG4.js} +4 -4
  168. package/dist/{register.status-health-sessions-CiT8LRWV.js → register.status-health-sessions-28wOA12R.js} +19 -19
  169. package/dist/{register.status-health-sessions-Cqjm0Idz.js → register.status-health-sessions-BHoXRebl.js} +3 -3
  170. package/dist/{register.subclis-nc1aTDhV.js → register.subclis-B8T9Nho5.js} +22 -22
  171. package/dist/{reply-C5DEp-56.js → reply-CC_efixB.js} +64 -64
  172. package/dist/{routes-BB6LP568.js → routes-E8WiexN3.js} +2 -2
  173. package/dist/{rpc-ByAsUjMn.js → rpc-CPYD-Ar-.js} +1 -1
  174. package/dist/{run-main-e6BhCGjN.js → run-main-B7Zfdf6I.js} +29 -29
  175. package/dist/{runner-mwPo9ptb.js → runner-BWoqQvtk.js} +1 -1
  176. package/dist/{runner-xZpL42_b.js → runner-CEsOiYSs.js} +1 -1
  177. package/dist/{sandbox-DPfxTEzM.js → sandbox-QRoV7IDp.js} +3 -3
  178. package/dist/{sandbox-cli-BH2HbB27.js → sandbox-cli-BioWBC7F.js} +4 -4
  179. package/dist/{security-cli-DnQethIs.js → security-cli-CMJUiWHd.js} +8 -8
  180. package/dist/{server-context-CX9muXQr.js → server-context-lLA4yguq.js} +4 -4
  181. package/dist/{server-node-events-Cy-jZjnl.js → server-node-events-8p53GK77.js} +18 -18
  182. package/dist/{server-node-events-CRwpmUOU.js → server-node-events-CuKIN_pp.js} +3 -3
  183. package/dist/{status-CmCSWWvl.js → status-C-_AQa_n.js} +1 -1
  184. package/dist/{status-DNkkeh_0.js → status-C0PedGvk.js} +1 -1
  185. package/dist/{status-B8jCaxPw.js → status-Cs1zI-NP.js} +2 -2
  186. package/dist/{status-ROKKicH6.js → status-Ctfx8xox.js} +5 -5
  187. package/dist/{subagent-registry-BspDa86d.js → subagent-registry-VxxWWLpu.js} +85 -85
  188. package/dist/{system-cli-ixUuhdcu.js → system-cli-DSDe6SFL.js} +3 -3
  189. package/dist/{tui-cli-DkJ6qaMd.js → tui-cli-xehAsb_5.js} +8 -8
  190. package/dist/{tui-P-gFf3ML.js → tui-fq15F93e.js} +3 -3
  191. package/dist/{update-cli-CId9788n.js → update-cli-BVn_tBgg.js} +7 -7
  192. package/dist/{update-cli-BakRWL6_.js → update-cli-BqQRQK7Y.js} +24 -24
  193. package/dist/{update-runner-CUMr1hwv.js → update-runner-De7xuhL2.js} +1 -1
  194. package/dist/{update-runner-BiME2aa4.js → update-runner-immYfGfJ.js} +1 -1
  195. package/dist/{web-DYj3cPxd.js → web-BfOMHOcy.js} +6 -6
  196. package/dist/{web-DAxcAANg.js → web-CEI2IbA0.js} +16 -16
  197. package/dist/{web-DVzN1ROr.js → web-CETMHB6w.js} +1 -1
  198. package/dist/{web-xZAKEg_6.js → web-tnTvHSOJ.js} +2 -2
  199. package/dist/{with-timeout-CSdDvZtb.js → with-timeout-CB3jrUQq.js} +1 -1
  200. package/docs/_site/concepts/features.html +1 -1
  201. package/docs/_site/start/getting-started.html +1 -1
  202. package/docs/_site/start/onboarding-overview.html +1 -1
  203. package/docs/_site/start/onboarding.html +1 -1
  204. package/docs/_site/start/openclaw.html +1 -1
  205. package/docs/_site/start/showcase.html +1 -1
  206. package/docs/_site/start/wizard.html +1 -1
  207. package/docs/concepts/agent.md +1 -1
  208. package/docs/docs.json +9 -13
  209. package/docs/gateway/security/index.md +1 -1
  210. package/docs/index.md +0 -6
  211. package/docs/introduction.mdx +7 -21
  212. package/docs/ja-JP/index.md +1 -1
  213. package/docs/plugins/helloworld.md +9 -7
  214. package/docs/start/lore.md +2 -2
  215. package/docs/zh-CN/concepts/agent.md +1 -1
  216. package/docs/zh-CN/gateway/configuration.md +1 -1
  217. package/docs/zh-CN/gateway/security/index.md +1 -1
  218. package/docs/zh-CN/index.md +1 -1
  219. package/docs/zh-CN/reference/templates/AGENTS.dev.md +1 -1
  220. package/docs/zh-CN/start/lore.md +2 -2
  221. package/extensions/bluebubbles/README.md +1 -1
  222. package/extensions/bluebubbles/package.json +2 -2
  223. package/extensions/copilot-proxy/package.json +1 -1
  224. package/extensions/diagnostics-otel/package.json +1 -1
  225. package/extensions/discord/package.json +1 -1
  226. package/extensions/feishu/package.json +2 -2
  227. package/extensions/google-antigravity-auth/package.json +1 -1
  228. package/extensions/google-gemini-cli-auth/package.json +1 -1
  229. package/extensions/googlechat/package.json +2 -2
  230. package/extensions/helloworld/agdi.plugin.json +9 -0
  231. package/extensions/helloworld/index.ts +1 -2
  232. package/extensions/imessage/package.json +1 -1
  233. package/extensions/irc/package.json +1 -1
  234. package/extensions/line/package.json +2 -2
  235. package/extensions/llm-task/package.json +1 -1
  236. package/extensions/lobster/package.json +1 -1
  237. package/extensions/matrix/package.json +2 -2
  238. package/extensions/mattermost/package.json +2 -2
  239. package/extensions/memory-core/package.json +1 -1
  240. package/extensions/memory-lancedb/package.json +1 -1
  241. package/extensions/minimax-portal-auth/package.json +1 -1
  242. package/extensions/msteams/package.json +2 -2
  243. package/extensions/nextcloud-talk/package.json +2 -2
  244. package/extensions/nostr/package.json +2 -2
  245. package/extensions/open-prose/package.json +1 -1
  246. package/extensions/signal/package.json +1 -1
  247. package/extensions/slack/package.json +1 -1
  248. package/extensions/telegram/package.json +1 -1
  249. package/extensions/tlon/package.json +2 -2
  250. package/extensions/twitch/package.json +1 -1
  251. package/extensions/voice-call/package.json +1 -1
  252. package/extensions/whatsapp/package.json +1 -1
  253. package/extensions/zalo/package.json +2 -2
  254. package/extensions/zalouser/package.json +2 -2
  255. package/package.json +10 -10
  256. package/skills/1password/SKILL.md +3 -3
  257. package/skills/apple-notes/SKILL.md +2 -2
  258. package/skills/apple-reminders/SKILL.md +1 -1
  259. package/skills/bear-notes/SKILL.md +1 -1
  260. package/skills/blogwatcher/SKILL.md +1 -1
  261. package/skills/blucli/SKILL.md +1 -1
  262. package/skills/bluebubbles/SKILL.md +3 -3
  263. package/skills/camsnap/SKILL.md +1 -1
  264. package/skills/canvas/SKILL.md +15 -15
  265. package/skills/clawhub/SKILL.md +2 -2
  266. package/skills/coding-agent/SKILL.md +6 -6
  267. package/skills/discord/SKILL.md +1 -1
  268. package/skills/eightctl/SKILL.md +1 -1
  269. package/skills/food-order/SKILL.md +1 -1
  270. package/skills/gemini/SKILL.md +1 -1
  271. package/skills/gifgrep/SKILL.md +1 -1
  272. package/skills/github/SKILL.md +1 -1
  273. package/skills/gog/SKILL.md +1 -1
  274. package/skills/goplaces/SKILL.md +1 -1
  275. package/skills/healthcheck/SKILL.md +36 -36
  276. package/skills/himalaya/SKILL.md +1 -1
  277. package/skills/imsg/SKILL.md +1 -1
  278. package/skills/mcporter/SKILL.md +1 -1
  279. package/skills/model-usage/SKILL.md +1 -1
  280. package/skills/nano-banana-pro/SKILL.md +3 -3
  281. package/skills/nano-pdf/SKILL.md +1 -1
  282. package/skills/notion/SKILL.md +1 -1
  283. package/skills/obsidian/SKILL.md +1 -1
  284. package/skills/openai-image-gen/SKILL.md +1 -1
  285. package/skills/openai-whisper/SKILL.md +1 -1
  286. package/skills/openai-whisper-api/SKILL.md +2 -2
  287. package/skills/openhue/SKILL.md +1 -1
  288. package/skills/oracle/SKILL.md +1 -1
  289. package/skills/ordercli/SKILL.md +1 -1
  290. package/skills/peekaboo/SKILL.md +1 -1
  291. package/skills/sag/SKILL.md +1 -1
  292. package/skills/session-logs/SKILL.md +7 -7
  293. package/skills/sherpa-onnx-tts/SKILL.md +6 -6
  294. package/skills/slack/SKILL.md +4 -4
  295. package/skills/songsee/SKILL.md +1 -1
  296. package/skills/sonoscli/SKILL.md +1 -1
  297. package/skills/spotify-player/SKILL.md +1 -1
  298. package/skills/summarize/SKILL.md +1 -1
  299. package/skills/things-mac/SKILL.md +3 -3
  300. package/skills/tmux/SKILL.md +8 -8
  301. package/skills/trello/SKILL.md +2 -2
  302. package/skills/video-frames/SKILL.md +1 -1
  303. package/skills/voice-call/SKILL.md +4 -4
  304. package/skills/wacli/SKILL.md +2 -2
  305. package/skills/weather/SKILL.md +1 -1
  306. package/dist/plugin-sdk/web-DyqJw3zc.js +0 -50
  307. package/docs/start/showcase.md +0 -416
  308. package/docs/zh-CN/start/showcase.md +0 -423
@@ -1,10 +1,10 @@
1
- import { ot as resolvePreferredAGDITmpDir } from "./registry-TIFnuqJI.js";
1
+ import { ot as resolvePreferredAGDITmpDir } from "./registry-De0o0SaP.js";
2
2
  import "./paths-ChMOyvKh.js";
3
- import "./exec-Cwb1C8fs.js";
3
+ import "./exec-Bqlk2QMi.js";
4
4
  import "./redact-DLALByE6.js";
5
5
  import { n as formatErrorMessage } from "./errors-DsAYQPj4.js";
6
6
  import { t as formatCliCommand } from "./command-format-jACKFOIO.js";
7
- import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-CLiJ1Yue.js";
7
+ import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-BDx70FO4.js";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs/promises";
10
10
  import crypto from "node:crypto";
@@ -1,11 +1,11 @@
1
- import "./registry-TIFnuqJI.js";
1
+ import "./registry-De0o0SaP.js";
2
2
  import { s as resolveStateDir } from "./paths-ChMOyvKh.js";
3
3
  import { v as parseAgentSessionKey } from "./session-key-OcC-lU-t.js";
4
- import { s as resolveAgentWorkspaceDir } from "./agent-scope-ROxPafoi.js";
5
- import { c as createSubsystemLogger } from "./exec-Cwb1C8fs.js";
4
+ import { s as resolveAgentWorkspaceDir } from "./agent-scope-BXc_jcxb.js";
5
+ import { c as createSubsystemLogger } from "./exec-Bqlk2QMi.js";
6
6
  import "./redact-DLALByE6.js";
7
7
  import "./paths-DCt2vNR8.js";
8
- import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-RwOCMihR.js";
8
+ import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-hIK3V4Pt.js";
9
9
  import path from "node:path";
10
10
  import os from "node:os";
11
11
  import fs from "node:fs/promises";
@@ -4,7 +4,7 @@ import path from "node:path";
4
4
  import fs from "node:fs";
5
5
  import os from "node:os";
6
6
  import { Logger } from "tslog";
7
- import JSON5 from "json5";
7
+ import json5 from "json5";
8
8
  import chalk, { Chalk } from "chalk";
9
9
 
10
10
  //#region src/plugins/http-path.ts
@@ -152,7 +152,7 @@ function readLoggingConfig() {
152
152
  try {
153
153
  if (!fs.existsSync(configPath)) return;
154
154
  const raw = fs.readFileSync(configPath, "utf-8");
155
- const logging = JSON5.parse(raw)?.logging;
155
+ const logging = json5.parse(raw)?.logging;
156
156
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
157
157
  return logging;
158
158
  } catch {
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { H as logVerbose } from "./registry-TIFnuqJI.js";
3
- import { n as loadConfig } from "./config-BD92PCvG.js";
4
- import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-BkFM-0b-.js";
5
- import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./normalize-Dschm8hD.js";
6
- import { m as parseSlackTarget } from "./plugins-CHTEazRa.js";
7
- import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-C6betxfk.js";
8
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CIWxSye2.js";
9
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CusXjWP2.js";
2
+ import { H as logVerbose } from "./registry-De0o0SaP.js";
3
+ import { n as loadConfig } from "./config-BzD8Apwb.js";
4
+ import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-C9LoVr-y.js";
5
+ import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./normalize-Dewv20fJ.js";
6
+ import { m as parseSlackTarget } from "./plugins-CQ5AByBS.js";
7
+ import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DRJGSIpB.js";
8
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DCKmf8Wo.js";
9
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DOWeu9AD.js";
10
10
  import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
11
11
  import { WebClient } from "@slack/web-api";
12
12
 
@@ -1,61 +1,61 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { C as isPlainObject, D as normalizeE164, F as sleep, G as shouldLogVerbose, H as logVerbose, I as sliceUtf16Safe, J as colorize, M as safeParseJson, N as shortenHomeInString, P as shortenHomePath, R as truncateUtf16Safe, S as formatTerminalLink, W as setVerbose, X as theme, Y as isRich, Z as getChildLogger, a as normalizeChannelId, b as ensureDir$3, c as requireActivePluginRegistry, ct as triggerInternalHook, d as clearPluginCommands, f as executePluginCommand, g as CONFIG_DIR, h as matchPluginCommand, i as normalizeAnyChannelId, it as normalizeLogLevel, j as resolveUserPath, l as setActivePluginRegistry, lt as normalizePluginHttpPath, m as listPluginCommands, n as CHAT_CHANNEL_ORDER, ot as resolvePreferredAGDITmpDir, p as getPluginCommandSpecs, q as warn, st as createInternalHookEvent, u as createPluginRegistry, v as clampInt, w as isRecord$1, x as escapeRegExp, z as danger } from "./registry-TIFnuqJI.js";
2
+ import { C as isPlainObject, D as normalizeE164, F as sleep, G as shouldLogVerbose, H as logVerbose, I as sliceUtf16Safe, J as colorize, M as safeParseJson, N as shortenHomeInString, P as shortenHomePath, R as truncateUtf16Safe, S as formatTerminalLink, W as setVerbose, X as theme, Y as isRich, Z as getChildLogger, a as normalizeChannelId, b as ensureDir$3, c as requireActivePluginRegistry, ct as triggerInternalHook, d as clearPluginCommands, f as executePluginCommand, g as CONFIG_DIR, h as matchPluginCommand, i as normalizeAnyChannelId, it as normalizeLogLevel, j as resolveUserPath, l as setActivePluginRegistry, lt as normalizePluginHttpPath, m as listPluginCommands, n as CHAT_CHANNEL_ORDER, ot as resolvePreferredAGDITmpDir, p as getPluginCommandSpecs, q as warn, st as createInternalHookEvent, u as createPluginRegistry, v as clampInt, w as isRecord$1, x as escapeRegExp, z as danger } from "./registry-De0o0SaP.js";
3
3
  import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-ChMOyvKh.js";
4
- import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveAGDIAgentDir, J as withFileLock$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-CrHnpFeR.js";
5
- import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, _ as resolveAgentMaxConcurrent, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as VERSION } from "./config-BD92PCvG.js";
4
+ import { A as markAuthProfileUsed, B as DEFAULT_MODEL, C as resolveApiKeyForProvider, D as resolveAuthProfileOrder, F as resolveAuthStorePathForDisplay, H as getShellPathFromLoginShell, I as resolveAGDIAgentDir, J as withFileLock$1, L as normalizeSecretInput, M as listProfilesForProvider, N as markAuthProfileGood, O as isProfileInCooldown, P as ensureAuthProfileStore, R as resolveAuthProfileDisplayLabel, S as requireApiKey, T as resolveModelAuthMode, V as DEFAULT_PROVIDER, W as resolveShellEnvFallbackTimeoutMs, a as modelKey, b as getApiKeyForModel, d as resolveModelRefFromString, f as resolveThinkingDefault, i as isCliProvider, j as resolveApiKeyForProfile, k as markAuthProfileFailure, l as resolveConfiguredModelRef, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, r as buildModelAliasIndex, s as normalizeProviderId, t as buildAllowedModelSet, u as resolveDefaultModelForAgent, v as OLLAMA_NATIVE_BASE_URL, w as resolveEnvApiKey, x as getCustomProviderApiKey, y as createOllamaStreamFn, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-q-whb8Rj.js";
5
+ import { B as isSafeExecutableValue, H as TELEGRAM_COMMAND_NAME_PATTERN, U as normalizeTelegramCommandName, V as parseDurationMs, W as resolveTelegramCustomCommands, _ as resolveAgentMaxConcurrent, a as writeConfigFile, c as validateJsonSchemaValue, d as setConfigOverride, f as unsetConfigOverride, g as unsetConfigValueAtPath, h as setConfigValueAtPath, i as resolveConfigSnapshotHash, l as getConfigOverrides, m as parseConfigPath, n as loadConfig, o as validateConfigObjectWithPlugins, p as getConfigValueAtPath, r as readConfigFileSnapshot, u as resetConfigOverrides, v as VERSION } from "./config-BzD8Apwb.js";
6
6
  import { _ as isSubagentSessionKey, c as normalizeAccountId$2, d as resolveAgentIdFromSessionKey, f as resolveThreadSessionKeys, g as isCronSessionKey, h as isAcpSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as getSubagentDepth, n as DEFAULT_AGENT_ID, p as sanitizeAgentId, s as classifySessionKeyShape, t as DEFAULT_ACCOUNT_ID$1, u as normalizeMainKey, v as parseAgentSessionKey, y as resolveThreadParentSessionKey } from "./session-key-OcC-lU-t.js";
7
- import { S as resolveAGDIPackageRoot, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-ROxPafoi.js";
8
- import { a as logError, c as createSubsystemLogger, d as defaultRuntime, f as clearActiveProgressLine, i as logDebug, m as unregisterActiveProgressLine, n as runExec, o as logInfo, p as registerActiveProgressLine, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout, u as createNonExitingRuntime } from "./exec-Cwb1C8fs.js";
9
- import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-CGuWFadl.js";
10
- import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN } from "./tokens-BkFM-0b-.js";
11
- import { a as getRemoteSkillEligibility, d as createAsyncLock, n as listSkillCommandsForWorkspace, o as ensureSkillsWatcher, r as resolveSkillCommandInvocation, s as getSkillsSnapshotVersion, t as listSkillCommandsForAgents } from "./skill-commands-Cx2cYZUO.js";
12
- import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-DBGTOFGp.js";
7
+ import { S as resolveAGDIPackageRoot, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-BXc_jcxb.js";
8
+ import { a as logError, c as createSubsystemLogger, d as defaultRuntime, f as clearActiveProgressLine, i as logDebug, m as unregisterActiveProgressLine, n as runExec, o as logInfo, p as registerActiveProgressLine, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout, u as createNonExitingRuntime } from "./exec-Bqlk2QMi.js";
9
+ import { a as resolveAckReaction, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, s as resolveHumanDelayConfig } from "./reply-prefix-ylZVxv8w.js";
10
+ import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText, t as HEARTBEAT_TOKEN } from "./tokens-C9LoVr-y.js";
11
+ import { a as getRemoteSkillEligibility, d as createAsyncLock, n as listSkillCommandsForWorkspace, o as ensureSkillsWatcher, r as resolveSkillCommandInvocation, s as getSkillsSnapshotVersion, t as listSkillCommandsForAgents } from "./skill-commands-BaaYoRxI.js";
12
+ import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-6PylmrUJ.js";
13
13
  import { t as redactSensitiveText } from "./redact-DLALByE6.js";
14
14
  import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-DsAYQPj4.js";
15
15
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-C8BI-XLt.js";
16
- import { C as normalizeHostname, _ as SsrFBlockedError, a as resizeToJpeg, b as isBlockedHostname, c as getFileExtension, d as isGifMedia, g as mediaKindFromMime, h as maxBytesForKind, l as imageMimeFromFormat, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, p as normalizeMimeType$1, s as extensionForMime, u as isAudioFileName, x as isPrivateIpAddress } from "./image-ops-BZj3qg_6.js";
17
- import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-Btlf6cA8.js";
18
- import { n as parseBooleanValue$1, t as isTruthyEnvValue } from "./env-CRYzwVby.js";
19
- import { F as resolveChannelGroupPolicy, I as resolveChannelGroupRequireMention, L as resolveChannelGroupToolsPolicy, O as listEnabledSignalAccounts, P as resolveIMessageAccount, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as resolveSignalAccount, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BiLvqJ5Q.js";
20
- import { d as resolveSlackAccount, g as listEnabledDiscordAccounts, i as listTelegramAccountIds, m as resolveSlackBotToken, n as normalizeWhatsAppTarget, o as resolveTelegramAccount, p as resolveSlackAppToken, r as listEnabledTelegramAccounts, s as resolveTelegramToken, t as isWhatsAppGroupJid, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./normalize-Dschm8hD.js";
16
+ import { C as normalizeHostname, _ as SsrFBlockedError, a as resizeToJpeg, b as isBlockedHostname, c as getFileExtension, d as isGifMedia, g as mediaKindFromMime, h as maxBytesForKind, l as imageMimeFromFormat, m as MAX_IMAGE_BYTES, n as getImageMetadata, o as detectMime, p as normalizeMimeType$1, s as extensionForMime, u as isAudioFileName, x as isPrivateIpAddress } from "./image-ops-BThTx4hU.js";
17
+ import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-DE02jW9e.js";
18
+ import { n as parseBooleanValue$1, t as isTruthyEnvValue } from "./env-Df7RQqAN.js";
19
+ import { F as resolveChannelGroupPolicy, I as resolveChannelGroupRequireMention, L as resolveChannelGroupToolsPolicy, O as listEnabledSignalAccounts, P as resolveIMessageAccount, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as resolveSignalAccount, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-DddUlJeP.js";
20
+ import { d as resolveSlackAccount, g as listEnabledDiscordAccounts, i as listTelegramAccountIds, m as resolveSlackBotToken, n as normalizeWhatsAppTarget, o as resolveTelegramAccount, p as resolveSlackAppToken, r as listEnabledTelegramAccounts, s as resolveTelegramToken, t as isWhatsAppGroupJid, v as resolveDiscordAccount, y as normalizeDiscordToken } from "./normalize-Dewv20fJ.js";
21
21
  import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
22
22
  import { n as resolveCliName, t as formatCliCommand } from "./command-format-jACKFOIO.js";
23
- import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-BBUmmr7s.js";
24
- import { _ as ensureTargetId, g as buildMessagingTarget, h as resolveSlackChannelId, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin, v as requireTargetKind } from "./plugins-CHTEazRa.js";
25
- import { C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-DZfVqROd.js";
26
- import { a as listDeliverableMessageChannels, c as resolveMessageChannel, d as GATEWAY_CLIENT_NAMES, i as isMarkdownCapableMessageChannel, l as GATEWAY_CLIENT_IDS, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isInternalMessageChannel, s as resolveGatewayMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_MODES } from "./message-channel-Cfxc5EUT.js";
27
- import { $ as normalizeToolName, A as isTransientHttpError, At as evaluateSessionFreshness, B as resolveProfile, Bt as resolveGroupSessionKey, C as isContextOverflowError, Ct as deliveryContextFromSession, D as isRateLimitAssistantError, Dt as normalizeSessionDeliveryFields, E as isLikelyContextOverflowError, Et as normalizeDeliveryContext, F as resolveSandboxContext, Ft as DEFAULT_RESET_TRIGGERS, G as resolveBrowserControlAuth, H as resolvePathsWithinRoot, I as resolveSandboxRuntimeStatus, It as resolveFreshSessionTotalTokens, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as createBrowserRouteContext, Lt as canonicalizeMainSessionAlias, M as parseImageSizeError, Mt as resolveSessionResetPolicy, N as sanitizeUserFacingText, Nt as resolveSessionResetType, O as isRawApiErrorPayload, Ot as acquireSessionWriteLock, P as ensureSandboxWorkspaceForSession, Pt as resolveThreadFlag, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveMainSessionKey, S as isCompactionFailureError, St as resolveCacheTtlMs$1, T as isFailoverErrorMessage, Tt as mergeDeliveryContext, U as getBridgeAuthForPort, V as DEFAULT_UPLOAD_DIR, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as recordSessionMetaFromInbound, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as updateSessionStoreEntry, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as saveMediaBuffer, et as resolveToolProfilePolicy, f as isGoogleModelApi, ft as extractDeliveryInfo, g as formatBillingErrorMessage, gt as readSessionUpdatedAt, h as formatAssistantErrorText, ht as loadSessionStore, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as resolveChannelResetConfig, k as isTimeoutErrorMessage, kt as resolveSessionKey$1, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as appendAssistantMessageToSessionTranscript, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as getMediaDir, v as getApiErrorPayloadFingerprint, vt as updateLastRoute, w as isFailoverAssistantError, wt as deliveryContextKey, x as isCloudCodeAssistFormatError, xt as isCacheEnabled, y as isAuthAssistantError, yt as updateSessionStore, z as resolveBrowserConfig, zt as deriveSessionMetaPatch } from "./pi-embedded-helpers-BtWxRJkj.js";
23
+ import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-BWR0WF5l.js";
24
+ import { _ as ensureTargetId, g as buildMessagingTarget, h as resolveSlackChannelId, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$1, t as getChannelPlugin, v as requireTargetKind } from "./plugins-CQ5AByBS.js";
25
+ import { C as resolveSignalRpcContext, D as getGlobalHookRunner, E as streamSignalEvents, O as initializeGlobalHookRunner, S as resolveOutboundAttachmentFromUrl, T as signalRpcRequest, _ as splitMediaFromOutput, a as applyReplyThreading, b as sendReadReceiptSignal, c as shouldSuppressMessagingToolReplies, d as buildTargetResolverSignature, f as normalizeChannelTargetInput, g as MEDIA_TOKEN_RE, h as parseReplyDirectives, i as applyReplyTagsToPayload, l as createReplyToModeFilterForChannel, m as throwIfAborted, o as filterMessagingToolDuplicates, p as normalizeTargetForProvider, r as normalizeReplyPayloadsForDelivery, s as isRenderablePayload, t as deliverOutboundPayloads, u as resolveReplyToMode, v as parseInlineDirectives$1, w as signalCheck, x as sendTypingSignal, y as sendMessageSignal } from "./deliver-JZG19kYT.js";
26
+ import { a as listDeliverableMessageChannels, c as resolveMessageChannel, d as GATEWAY_CLIENT_NAMES, i as isMarkdownCapableMessageChannel, l as GATEWAY_CLIENT_IDS, n as isDeliverableMessageChannel, o as normalizeMessageChannel, r as isInternalMessageChannel, s as resolveGatewayMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_MODES } from "./message-channel-DMdN8RH_.js";
27
+ import { $ as normalizeToolName, A as isTransientHttpError, At as evaluateSessionFreshness, B as resolveProfile, Bt as resolveGroupSessionKey, C as isContextOverflowError, Ct as deliveryContextFromSession, D as isRateLimitAssistantError, Dt as normalizeSessionDeliveryFields, E as isLikelyContextOverflowError, Et as normalizeDeliveryContext, F as resolveSandboxContext, Ft as DEFAULT_RESET_TRIGGERS, G as resolveBrowserControlAuth, H as resolvePathsWithinRoot, I as resolveSandboxRuntimeStatus, It as resolveFreshSessionTotalTokens, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as createBrowserRouteContext, Lt as canonicalizeMainSessionAlias, M as parseImageSizeError, Mt as resolveSessionResetPolicy, N as sanitizeUserFacingText, Nt as resolveSessionResetType, O as isRawApiErrorPayload, Ot as acquireSessionWriteLock, P as ensureSandboxWorkspaceForSession, Pt as resolveThreadFlag, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveMainSessionKey, S as isCompactionFailureError, St as resolveCacheTtlMs$1, T as isFailoverErrorMessage, Tt as mergeDeliveryContext, U as getBridgeAuthForPort, V as DEFAULT_UPLOAD_DIR, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as recordSessionMetaFromInbound, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as updateSessionStoreEntry, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as saveMediaBuffer, et as resolveToolProfilePolicy, f as isGoogleModelApi, ft as extractDeliveryInfo, g as formatBillingErrorMessage, gt as readSessionUpdatedAt, h as formatAssistantErrorText, ht as loadSessionStore, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as resolveChannelResetConfig, k as isTimeoutErrorMessage, kt as resolveSessionKey$1, l as extractToolResultId, m as classifyFailoverReason, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as appendAssistantMessageToSessionTranscript, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as getMediaDir, v as getApiErrorPayloadFingerprint, vt as updateLastRoute, w as isFailoverAssistantError, wt as deliveryContextKey, x as isCloudCodeAssistFormatError, xt as isCacheEnabled, y as isAuthAssistantError, yt as updateSessionStore, z as resolveBrowserConfig, zt as deriveSessionMetaPatch } from "./pi-embedded-helpers-BjWjjmzn.js";
28
28
  import { n as resolveConversationLabel } from "./conversation-label-C1Ak680S.js";
29
29
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BWyc6hKV.js";
30
- import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, n as discoverAGDIPlugins, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-BIMZK98f.js";
30
+ import { a as applyTestPluginDefaults, c as resolveMemorySlotDecision, n as discoverAGDIPlugins, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-Dof8iFUO.js";
31
31
  import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-DCt2vNR8.js";
32
32
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-Df8wfs2b.js";
33
- import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-Cy8bFS8K.js";
34
- import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-BRr8FdBn.js";
35
- import { a as normalizePollDurationHours, i as convertMarkdownTables, o as normalizePollInput, t as getActiveWebListener } from "./active-listener-CcAOlYqW.js";
36
- import { a as loadWebMedia, i as getDefaultLocalRoots, n as markdownToIR, o as loadWebMediaRaw, s as getAgentScopedMediaLocalRoots, t as chunkMarkdownIR } from "./ir-C6betxfk.js";
37
- import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-CIWxSye2.js";
38
- import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-3YvswRc2.js";
33
+ import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-CewFwsph.js";
34
+ import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-BonFRlQr.js";
35
+ import { a as normalizePollDurationHours, i as convertMarkdownTables, o as normalizePollInput, t as getActiveWebListener } from "./active-listener-3M_ccPdq.js";
36
+ import { a as loadWebMedia, i as getDefaultLocalRoots, n as markdownToIR, o as loadWebMediaRaw, s as getAgentScopedMediaLocalRoots, t as chunkMarkdownIR } from "./ir-DRJGSIpB.js";
37
+ import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-DCKmf8Wo.js";
38
+ import { i as retryAsync, n as resolveMemorySearchConfig, r as resolveRetryConfig } from "./manager-Qt1Y8EAs.js";
39
39
  import { t as resolveFetch } from "./fetch-Bu6Xem03.js";
40
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CusXjWP2.js";
40
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DOWeu9AD.js";
41
41
  import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
42
- import { A as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-CLiJ1Yue.js";
43
- import { a as sendMessageSlack, i as createReplyReferencePlanner, n as deliverReplies$3, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as createSlackReplyDeliveryPlan } from "./replies-D_TpNtet.js";
42
+ import { A as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, j as pickPrimaryTailnetIPv4, k as pickPrimaryLanIPv4, v as ensureChromeExtensionRelayServer } from "./chrome-BDx70FO4.js";
43
+ import { a as sendMessageSlack, i as createReplyReferencePlanner, n as deliverReplies$3, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as createSlackReplyDeliveryPlan } from "./replies-BQOzpd0u.js";
44
44
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CSWKVVIY.js";
45
- import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-CHhjthMj.js";
46
- import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureAGDIModelsJson, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-Lcgcsphy.js";
45
+ import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-D7eNG5Zn.js";
46
+ import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureAGDIModelsJson, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as minimaxUnderstandImage, y as stripReasoningTagsFromText } from "./image-BZktnIdp.js";
47
47
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DtR631Ph.js";
48
- import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-RwOCMihR.js";
49
- import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-CQQ3C8RZ.js";
48
+ import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-hIK3V4Pt.js";
49
+ import { a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, i as listChatCommands, l as parseCommandArgs, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices } from "./commands-registry-BWyjV6Ci.js";
50
50
  import { t as makeProxyFetch } from "./proxy-DFbhCfpA.js";
51
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BDHkyeSW.js";
51
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DBvJW73P.js";
52
52
  import { createRequire } from "node:module";
53
53
  import * as path$1 from "node:path";
54
54
  import path from "node:path";
55
55
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
56
56
  import * as os$1 from "node:os";
57
57
  import os, { homedir, tmpdir } from "node:os";
58
- import JSON5 from "json5";
58
+ import json5 from "json5";
59
59
  import * as fs$2 from "node:fs/promises";
60
60
  import fs$1 from "node:fs/promises";
61
61
  import { execFile, execSync, spawn, spawnSync } from "node:child_process";
@@ -9281,7 +9281,7 @@ async function createModelSelectionState(params) {
9281
9281
  }
9282
9282
  }
9283
9283
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
9284
- const { ensureAuthProfileStore } = await import("./model-selection-CrHnpFeR.js").then((n) => n.E);
9284
+ const { ensureAuthProfileStore } = await import("./model-selection-q-whb8Rj.js").then((n) => n.E);
9285
9285
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
9286
9286
  const providerKey = normalizeProviderId(provider);
9287
9287
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -13252,7 +13252,7 @@ async function getMemorySearchManager(params) {
13252
13252
  if (cached) return { manager: cached };
13253
13253
  }
13254
13254
  try {
13255
- const { QmdMemoryManager } = await import("./qmd-manager-BQUuRXAy.js");
13255
+ const { QmdMemoryManager } = await import("./qmd-manager-Cez_E3Bt.js");
13256
13256
  const primary = await QmdMemoryManager.create({
13257
13257
  cfg: params.cfg,
13258
13258
  agentId: params.agentId,
@@ -13264,7 +13264,7 @@ async function getMemorySearchManager(params) {
13264
13264
  const wrapper = new FallbackMemoryManager({
13265
13265
  primary,
13266
13266
  fallbackFactory: async () => {
13267
- const { MemoryIndexManager } = await import("./manager-3YvswRc2.js").then((n) => n.t);
13267
+ const { MemoryIndexManager } = await import("./manager-Qt1Y8EAs.js").then((n) => n.t);
13268
13268
  return await MemoryIndexManager.get(params);
13269
13269
  }
13270
13270
  }, () => QMD_MANAGER_CACHE.delete(cacheKey));
@@ -13277,7 +13277,7 @@ async function getMemorySearchManager(params) {
13277
13277
  }
13278
13278
  }
13279
13279
  try {
13280
- const { MemoryIndexManager } = await import("./manager-3YvswRc2.js").then((n) => n.t);
13280
+ const { MemoryIndexManager } = await import("./manager-Qt1Y8EAs.js").then((n) => n.t);
13281
13281
  return { manager: await MemoryIndexManager.get(params) };
13282
13282
  } catch (err) {
13283
13283
  return {
@@ -14221,7 +14221,7 @@ function normalizeSessionKey(value) {
14221
14221
  function readSessionStore(storePath) {
14222
14222
  try {
14223
14223
  const raw = fs.readFileSync(storePath, "utf-8");
14224
- const parsed = JSON5.parse(raw);
14224
+ const parsed = json5.parse(raw);
14225
14225
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
14226
14226
  } catch {}
14227
14227
  return {};
@@ -16424,7 +16424,7 @@ async function routeReply(params) {
16424
16424
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
16425
16425
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
16426
16426
  try {
16427
- const { deliverOutboundPayloads } = await import("./deliver-DZfVqROd.js").then((n) => n.n);
16427
+ const { deliverOutboundPayloads } = await import("./deliver-JZG19kYT.js").then((n) => n.n);
16428
16428
  return {
16429
16429
  ok: true,
16430
16430
  messageId: (await deliverOutboundPayloads({
@@ -20592,7 +20592,7 @@ async function describeStickerImage(params) {
20592
20592
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
20593
20593
  try {
20594
20594
  const buffer = await fs$1.readFile(imagePath);
20595
- const { describeImageWithModel } = await import("./image-Lcgcsphy.js").then((n) => n.n);
20595
+ const { describeImageWithModel } = await import("./image-BZktnIdp.js").then((n) => n.n);
20596
20596
  return (await describeImageWithModel({
20597
20597
  buffer,
20598
20598
  fileName: "sticker.webp",
@@ -20954,7 +20954,7 @@ function createWhatsAppLoginTool() {
20954
20954
  force: Type.Optional(Type.Boolean())
20955
20955
  }),
20956
20956
  execute: async (_toolCallId, args) => {
20957
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DXfw7nEy.js");
20957
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-QJgQ9G4e.js");
20958
20958
  if ((args?.action ?? "start") === "wait") {
20959
20959
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
20960
20960
  return {
@@ -22582,7 +22582,7 @@ async function preflightDiscordMessage(params) {
22582
22582
  let preflightTranscript;
22583
22583
  const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
22584
22584
  if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
22585
- const { transcribeFirstAudio } = await import("./audio-preflight-BZIvux9v.js");
22585
+ const { transcribeFirstAudio } = await import("./audio-preflight-KY49a32a.js");
22586
22586
  const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
22587
22587
  if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
22588
22588
  ctx: {
@@ -32032,7 +32032,7 @@ const SLACK_COMMAND_ARG_ACTION_ID = "agdi_cmdarg";
32032
32032
  const SLACK_COMMAND_ARG_VALUE_PREFIX = "cmdarg";
32033
32033
  let commandsRegistry;
32034
32034
  async function getCommandsRegistry() {
32035
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CQQ3C8RZ.js").then((n) => n.n);
32035
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BWyjV6Ci.js").then((n) => n.n);
32036
32036
  return commandsRegistry;
32037
32037
  }
32038
32038
  function encodeSlackCommandArgValue(parts) {
@@ -32283,11 +32283,11 @@ async function registerSlackMonitorSlashCommands(params) {
32283
32283
  const channelName = channelInfo?.name;
32284
32284
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
32285
32285
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
32286
- import("./resolve-route-BDHkyeSW.js").then((n) => n.r),
32286
+ import("./resolve-route-DBvJW73P.js").then((n) => n.r),
32287
32287
  import("./inbound-context-CSWKVVIY.js").then((n) => n.n),
32288
32288
  Promise.resolve().then(() => provider_dispatcher_exports)
32289
32289
  ]);
32290
- const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-C1Ak680S.js").then((n) => n.t), import("./reply-prefix-CGuWFadl.js").then((n) => n.r)]);
32290
+ const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-C1Ak680S.js").then((n) => n.t), import("./reply-prefix-ylZVxv8w.js").then((n) => n.r)]);
32291
32291
  const route = resolveAgentRoute({
32292
32292
  cfg,
32293
32293
  channel: "slack",
@@ -32344,9 +32344,9 @@ async function registerSlackMonitorSlashCommands(params) {
32344
32344
  });
32345
32345
  const deliverSlashPayloads = async (replies) => {
32346
32346
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
32347
- import("./replies-D_TpNtet.js").then((n) => n.r),
32348
- import("./chunk-CIWxSye2.js").then((n) => n.s),
32349
- import("./markdown-tables-CusXjWP2.js").then((n) => n.t)
32347
+ import("./replies-BQOzpd0u.js").then((n) => n.r),
32348
+ import("./chunk-DCKmf8Wo.js").then((n) => n.s),
32349
+ import("./markdown-tables-DOWeu9AD.js").then((n) => n.t)
32350
32350
  ]);
32351
32351
  await deliverSlackSlashReplies({
32352
32352
  replies,
@@ -32399,7 +32399,7 @@ async function registerSlackMonitorSlashCommands(params) {
32399
32399
  let nativeCommands = [];
32400
32400
  if (nativeEnabled) {
32401
32401
  reg = await getCommandsRegistry();
32402
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-Cx2cYZUO.js").then((n) => n.i)).listSkillCommandsForAgents({ cfg }) : [];
32402
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BaaYoRxI.js").then((n) => n.i)).listSkillCommandsForAgents({ cfg }) : [];
32403
32403
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
32404
32404
  skillCommands,
32405
32405
  provider: "slack"
@@ -36951,7 +36951,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
36951
36951
  const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
36952
36952
  let preflightTranscript;
36953
36953
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
36954
- const { transcribeFirstAudio } = await import("./audio-preflight-BZIvux9v.js");
36954
+ const { transcribeFirstAudio } = await import("./audio-preflight-KY49a32a.js");
36955
36955
  preflightTranscript = await transcribeFirstAudio({
36956
36956
  ctx: {
36957
36957
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -39021,23 +39021,23 @@ let webLoginQrPromise = null;
39021
39021
  let webChannelPromise = null;
39022
39022
  let whatsappActionsPromise = null;
39023
39023
  function loadWebOutbound() {
39024
- webOutboundPromise ??= import("./outbound-CZxPeieb.js").then((n) => n.t);
39024
+ webOutboundPromise ??= import("./outbound-DAE5QkYS.js").then((n) => n.t);
39025
39025
  return webOutboundPromise;
39026
39026
  }
39027
39027
  function loadWebLogin() {
39028
- webLoginPromise ??= import("./login-BOudTVAn.js").then((n) => n.n);
39028
+ webLoginPromise ??= import("./login-DOfdA4Pk.js").then((n) => n.n);
39029
39029
  return webLoginPromise;
39030
39030
  }
39031
39031
  function loadWebLoginQr() {
39032
- webLoginQrPromise ??= import("./login-qr-DXfw7nEy.js");
39032
+ webLoginQrPromise ??= import("./login-qr-QJgQ9G4e.js");
39033
39033
  return webLoginQrPromise;
39034
39034
  }
39035
39035
  function loadWebChannel() {
39036
- webChannelPromise ??= import("./web-DyqJw3zc.js");
39036
+ webChannelPromise ??= import("./web-DkacOSI5.js");
39037
39037
  return webChannelPromise;
39038
39038
  }
39039
39039
  function loadWhatsAppActions() {
39040
- whatsappActionsPromise ??= import("./whatsapp-actions-CI9732AT.js");
39040
+ whatsappActionsPromise ??= import("./whatsapp-actions-CnCdDXeq.js");
39041
39041
  return whatsappActionsPromise;
39042
39042
  }
39043
39043
  function createPluginRuntime() {
@@ -41904,6 +41904,69 @@ Use jobId as the canonical identifier; id is accepted for compatibility. Use con
41904
41904
  };
41905
41905
  }
41906
41906
 
41907
+ //#endregion
41908
+ //#region src/agents/tools/email-tool.ts
41909
+ const EmailToolSchema = Type.Object({
41910
+ action: stringEnum([
41911
+ "search",
41912
+ "read",
41913
+ "send"
41914
+ ], { description: "The email action to perform (search, read, send)." }),
41915
+ query: Type.Optional(Type.String({ description: "Search query for Gmail (e.g. 'is:unread from:boss@example.com'). Used when action=search." })),
41916
+ messageId: Type.Optional(Type.String({ description: "The specific message ID to read. Used when action=read." })),
41917
+ to: Type.Optional(Type.String({ description: "Recipient email address. Used when action=send." })),
41918
+ subject: Type.Optional(Type.String({ description: "Email subject line. Used when action=send." })),
41919
+ body: Type.Optional(Type.String({ description: "Email body content (text/plain). Used when action=send." }))
41920
+ });
41921
+ function createEmailTool() {
41922
+ return {
41923
+ label: "Email (Gmail)",
41924
+ name: "email",
41925
+ description: "Natively interact with the user's connected Gmail account to search inbox, read specific threads, or send new emails. Uses 'gog' backend authentication.",
41926
+ parameters: EmailToolSchema,
41927
+ execute: async (_toolCallId, args) => {
41928
+ const params = args;
41929
+ const action = readStringParam(params, "action", { required: true });
41930
+ switch (action) {
41931
+ case "search": return jsonResult({
41932
+ ok: true,
41933
+ action: "search",
41934
+ query: readStringParam(params, "query") || "is:unread",
41935
+ results: [{
41936
+ id: "msg_12345",
41937
+ threadId: "thread_12345",
41938
+ snippet: "This is a scaffolded email search result...",
41939
+ date: (/* @__PURE__ */ new Date()).toISOString()
41940
+ }],
41941
+ note: "Email search is currently scaffolded. Full gog CLI integration pending."
41942
+ });
41943
+ case "read": {
41944
+ const messageId = readStringParam(params, "messageId", { required: true });
41945
+ return jsonResult({
41946
+ ok: true,
41947
+ action: "read",
41948
+ messageId,
41949
+ subject: "Scaffolded Email subject",
41950
+ from: "sender@example.com",
41951
+ to: "me@example.com",
41952
+ body: `This is the body of message ${messageId}. Email tool is in scaffolding mode.`
41953
+ });
41954
+ }
41955
+ case "send": return jsonResult({
41956
+ ok: true,
41957
+ action: "send",
41958
+ status: "drafted",
41959
+ to: readStringParam(params, "to", { required: true }),
41960
+ subject: readStringParam(params, "subject", { required: true }),
41961
+ preview: readStringParam(params, "body", { required: true }).slice(0, 100),
41962
+ note: "Email sending is scaffolded. No actual email was dispatched."
41963
+ });
41964
+ default: throw new Error(`Unknown email action: ${action}`);
41965
+ }
41966
+ }
41967
+ };
41968
+ }
41969
+
41907
41970
  //#endregion
41908
41971
  //#region src/infra/restart-sentinel.ts
41909
41972
  const SENTINEL_FILENAME = "restart-sentinel.json";
@@ -43008,69 +43071,6 @@ function createImageTool(options) {
43008
43071
  };
43009
43072
  }
43010
43073
 
43011
- //#endregion
43012
- //#region src/agents/tools/email-tool.ts
43013
- const EmailToolSchema = Type.Object({
43014
- action: stringEnum([
43015
- "search",
43016
- "read",
43017
- "send"
43018
- ], { description: "The email action to perform (search, read, send)." }),
43019
- query: Type.Optional(Type.String({ description: "Search query for Gmail (e.g. 'is:unread from:boss@example.com'). Used when action=search." })),
43020
- messageId: Type.Optional(Type.String({ description: "The specific message ID to read. Used when action=read." })),
43021
- to: Type.Optional(Type.String({ description: "Recipient email address. Used when action=send." })),
43022
- subject: Type.Optional(Type.String({ description: "Email subject line. Used when action=send." })),
43023
- body: Type.Optional(Type.String({ description: "Email body content (text/plain). Used when action=send." }))
43024
- });
43025
- function createEmailTool() {
43026
- return {
43027
- label: "Email (Gmail)",
43028
- name: "email",
43029
- description: "Natively interact with the user's connected Gmail account to search inbox, read specific threads, or send new emails. Uses 'gog' backend authentication.",
43030
- parameters: EmailToolSchema,
43031
- execute: async (_toolCallId, args) => {
43032
- const params = args;
43033
- const action = readStringParam(params, "action", { required: true });
43034
- switch (action) {
43035
- case "search": return jsonResult({
43036
- ok: true,
43037
- action: "search",
43038
- query: readStringParam(params, "query") || "is:unread",
43039
- results: [{
43040
- id: "msg_12345",
43041
- threadId: "thread_12345",
43042
- snippet: "This is a scaffolded email search result...",
43043
- date: (/* @__PURE__ */ new Date()).toISOString()
43044
- }],
43045
- note: "Email search is currently scaffolded. Full gog CLI integration pending."
43046
- });
43047
- case "read": {
43048
- const messageId = readStringParam(params, "messageId", { required: true });
43049
- return jsonResult({
43050
- ok: true,
43051
- action: "read",
43052
- messageId,
43053
- subject: "Scaffolded Email subject",
43054
- from: "sender@example.com",
43055
- to: "me@example.com",
43056
- body: `This is the body of message ${messageId}. Email tool is in scaffolding mode.`
43057
- });
43058
- }
43059
- case "send": return jsonResult({
43060
- ok: true,
43061
- action: "send",
43062
- status: "drafted",
43063
- to: readStringParam(params, "to", { required: true }),
43064
- subject: readStringParam(params, "subject", { required: true }),
43065
- preview: readStringParam(params, "body", { required: true }).slice(0, 100),
43066
- note: "Email sending is scaffolded. No actual email was dispatched."
43067
- });
43068
- default: throw new Error(`Unknown email action: ${action}`);
43069
- }
43070
- }
43071
- };
43072
- }
43073
-
43074
43074
  //#endregion
43075
43075
  //#region src/channels/plugins/message-actions.ts
43076
43076
  function listChannelMessageActions(cfg) {
@@ -69903,7 +69903,7 @@ async function deliverSessionMaintenanceWarning(params) {
69903
69903
  return;
69904
69904
  }
69905
69905
  try {
69906
- const { deliverOutboundPayloads } = await import("./deliver-DZfVqROd.js").then((n) => n.n);
69906
+ const { deliverOutboundPayloads } = await import("./deliver-JZG19kYT.js").then((n) => n.n);
69907
69907
  await deliverOutboundPayloads({
69908
69908
  cfg: params.cfg,
69909
69909
  channel,
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { n as resolveAgentConfig } from "./agent-scope-ROxPafoi.js";
2
+ import { n as resolveAgentConfig } from "./agent-scope-BXc_jcxb.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { G as shouldLogVerbose } from "./registry-TIFnuqJI.js";
2
+ import { G as shouldLogVerbose } from "./registry-De0o0SaP.js";
3
3
  import { a as buildAgentPeerSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, p as sanitizeAgentId, r as DEFAULT_MAIN_KEY, t as DEFAULT_ACCOUNT_ID } from "./session-key-OcC-lU-t.js";
4
- import { c as resolveDefaultAgentId } from "./agent-scope-ROxPafoi.js";
5
- import { i as logDebug } from "./exec-Cwb1C8fs.js";
4
+ import { c as resolveDefaultAgentId } from "./agent-scope-BXc_jcxb.js";
5
+ import { i as logDebug } from "./exec-Bqlk2QMi.js";
6
6
  import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
7
- import { t as listBindings } from "./bindings-HhhGv1rj.js";
7
+ import { t as listBindings } from "./bindings-G_XW7uiC.js";
8
8
 
9
9
  //#region src/routing/resolve-route.ts
10
10
  var resolve_route_exports = /* @__PURE__ */ __exportAll({
@@ -1,12 +1,12 @@
1
- import { G as shouldLogVerbose, H as logVerbose } from "./registry-TIFnuqJI.js";
2
- import { C as resolveApiKeyForProvider, I as resolveAGDIAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-CrHnpFeR.js";
3
- import { n as loadConfig } from "./config-BD92PCvG.js";
4
- import { n as runExec } from "./exec-Cwb1C8fs.js";
1
+ import { G as shouldLogVerbose, H as logVerbose } from "./registry-De0o0SaP.js";
2
+ import { C as resolveApiKeyForProvider, I as resolveAGDIAgentDir, S as requireApiKey, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-q-whb8Rj.js";
3
+ import { n as loadConfig } from "./config-BzD8Apwb.js";
4
+ import { n as runExec } from "./exec-Bqlk2QMi.js";
5
5
  import { n as fetchWithTimeout } from "./fetch-timeout-C8BI-XLt.js";
6
- import { c as getFileExtension, f as kindFromMime, o as detectMime, u as isAudioFileName } from "./image-ops-BZj3qg_6.js";
7
- import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-Btlf6cA8.js";
6
+ import { c as getFileExtension, f as kindFromMime, o as detectMime, u as isAudioFileName } from "./image-ops-BThTx4hU.js";
7
+ import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-DE02jW9e.js";
8
8
  import { t as normalizeChatType } from "./chat-type-DKb2TlGZ.js";
9
- import { b as ensureAGDIModelsJson, t as describeImageWithModel } from "./image-Lcgcsphy.js";
9
+ import { b as ensureAGDIModelsJson, t as describeImageWithModel } from "./image-BZktnIdp.js";
10
10
  import path from "node:path";
11
11
  import { constants } from "node:fs";
12
12
  import os from "node:os";
@@ -825,7 +825,7 @@ async function loadModelCatalog(params) {
825
825
  });
826
826
  try {
827
827
  await ensureAGDIModelsJson(params?.config ?? loadConfig());
828
- await (await import("./pi-auth-json-Cz9tAwmn.js")).ensurePiAuthJsonFromAuthProfiles(resolveAGDIAgentDir());
828
+ await (await import("./pi-auth-json-CKRzwRSQ.js")).ensurePiAuthJsonFromAuthProfiles(resolveAGDIAgentDir());
829
829
  const piSdk = await importPiSdk();
830
830
  const agentDir = resolveAGDIAgentDir();
831
831
  const { join } = await import("node:path");
@@ -1,7 +1,7 @@
1
- import { K as success, Z as getChildLogger, b as ensureDir, j as resolveUserPath, tt as toPinoLikeLogger, z as danger } from "./registry-TIFnuqJI.js";
2
- import { v as VERSION } from "./config-BD92PCvG.js";
1
+ import { K as success, Z as getChildLogger, b as ensureDir, j as resolveUserPath, tt as toPinoLikeLogger, z as danger } from "./registry-De0o0SaP.js";
2
+ import { v as VERSION } from "./config-BzD8Apwb.js";
3
3
  import { t as formatCliCommand } from "./command-format-jACKFOIO.js";
4
- import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-BBUmmr7s.js";
4
+ import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-BWR0WF5l.js";
5
5
  import fs from "node:fs";
6
6
  import { randomUUID } from "node:crypto";
7
7
  import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { g as CONFIG_DIR, j as resolveUserPath } from "./registry-TIFnuqJI.js";
2
+ import { g as CONFIG_DIR, j as resolveUserPath } from "./registry-De0o0SaP.js";
3
3
  import { s as resolveStateDir } from "./paths-ChMOyvKh.js";
4
- import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-ROxPafoi.js";
5
- import { c as createSubsystemLogger } from "./exec-Cwb1C8fs.js";
6
- import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DBGTOFGp.js";
7
- import { i as listChatCommands } from "./commands-registry-CQQ3C8RZ.js";
4
+ import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-BXc_jcxb.js";
5
+ import { c as createSubsystemLogger } from "./exec-Bqlk2QMi.js";
6
+ import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-6PylmrUJ.js";
7
+ import { i as listChatCommands } from "./commands-registry-BWyjV6Ci.js";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs";
10
10
  import os from "node:os";