@symerian/symi 2.8.3 → 2.8.5
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.
- package/dist/{agents-Qr0BDw_h.js → agents-DWuqUDaG.js} +4 -4
- package/dist/{agents.config-DIjsIDbS.js → agents.config-B8euVOOW.js} +1 -1
- package/dist/{agents.config-D0ih9tP3.js → agents.config-DWsjuONZ.js} +1 -1
- package/dist/{audio-preflight-DfALITTK.js → audio-preflight-BQaUmV6k.js} +5 -5
- package/dist/{audio-preflight-DJXj9QP9.js → audio-preflight-CKbpf-IL.js} +5 -5
- package/dist/{audit-DgAM_dWL.js → audit-BIeVybsA.js} +2 -2
- package/dist/{audit-DVUHZrf4.js → audit-DCOp_J5K.js} +2 -2
- package/dist/{auth-choice-PdYn-qiM.js → auth-choice-hKVjPWaU.js} +1 -1
- package/dist/{auth-choice-DhI8MW-5.js → auth-choice-kpk3L0TR.js} +1 -1
- package/dist/{banner-BQhYK_Ag.js → banner-C1RFNTRm.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-CFwo8sFR.js → channel-options-Pit7RtN-.js} +1 -1
- package/dist/{channel-options-ZHpChVVk.js → channel-options-Vjegw-bn.js} +1 -1
- package/dist/{channel-web-UmRhDGhI.js → channel-web-BVm_UWyj.js} +3 -3
- package/dist/{channels-cli-CRDgQtex.js → channels-cli-Bh07AMec.js} +11 -11
- package/dist/{channels-cli-rzQvsXSw.js → channels-cli-CXws5tG8.js} +12 -12
- package/dist/{cli-CC9jaj6w.js → cli-D5qinxg-.js} +8 -8
- package/dist/{cli-DN6fX0Xu.js → cli-TABOKnEJ.js} +9 -9
- package/dist/{command-registry-qqb2gJ4P.js → command-registry-DEe4juCf.js} +9 -9
- package/dist/{completion-cli-g-Vdnude.js → completion-cli-D0j-46vF.js} +2 -2
- package/dist/{completion-cli-BX_yaiom.js → completion-cli-W3fyiL94.js} +1 -1
- package/dist/{config-cli-CsCvDCZV.js → config-cli-CajteLy8.js} +1 -1
- package/dist/{config-cli-CnFTSv-1.js → config-cli-DLBtnr_W.js} +1 -1
- package/dist/{config-guard-DsOhmFl6.js → config-guard-BJE6xSY9.js} +2 -2
- package/dist/{config-guard-CJ4iAPK5.js → config-guard-DjlYIjka.js} +1 -1
- package/dist/{configure-CAuW3YmR.js → configure-2PdZnKO6.js} +3 -3
- package/dist/{configure-BYd07Mo5.js → configure-B79KjBCS.js} +3 -3
- package/dist/control-ui/js/app.js +33 -6
- package/dist/control-ui/js/render.js +14 -4
- package/dist/{deliver-lG9ITE8w.js → deliver-CXpvGXqJ.js} +2 -2
- package/dist/{deliver-BLt_liXS.js → deliver-CiL9mQXH.js} +2 -2
- package/dist/{doctor-completion-Cqce5h2X.js → doctor-completion-DOnUbTdS.js} +1 -1
- package/dist/{doctor-completion-Dqfl4aR1.js → doctor-completion-mlj3aq0W.js} +1 -1
- package/dist/{doctor-config-flow-CN8seKLA.js → doctor-config-flow-BRB_O0jG.js} +1 -1
- package/dist/{doctor-config-flow-C81j0-sE.js → doctor-config-flow-DFk-NaP5.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{gateway-cli-DA1fRZ5w.js → gateway-cli-D7jQypRh.js} +19 -19
- package/dist/{gateway-cli-BUqL_Yh6.js → gateway-cli-nHVe7vxD.js} +18 -18
- package/dist/{glass-ui-ws-Cm-WtdFI.js → glass-ui-ws-BgVPCNjg.js} +16 -16
- package/dist/{glass-ui-ws-BzBtCYP7.js → glass-ui-ws-CMMnvVpl.js} +15 -15
- package/dist/{health-Bx8UUqFA.js → health-DKxSHkOQ.js} +3 -3
- package/dist/{health-C7HtwYDj.js → health-DvkoG4Dw.js} +3 -3
- package/dist/{hooks-cli-5G9JN39f.js → hooks-cli-DV1GeJpO.js} +9 -9
- package/dist/{hooks-cli-DtVT3wM_.js → hooks-cli-DsWn_3um.js} +10 -10
- package/dist/{image-D_qN_IxA.js → image-C2IvljWU.js} +1 -1
- package/dist/{image-DXco5IYt.js → image-CJ_QZqzR.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/{models-DQthIpnz.js → models-BohMMqeG.js} +2 -2
- package/dist/{models-cli-D8zc0jSg.js → models-cli-CJywE4w7.js} +11 -11
- package/dist/{models-cli-UaHeUaJq.js → models-cli-DabormMV.js} +9 -9
- package/dist/{onboard-sl1Xputw.js → onboard-CyuUucGA.js} +2 -2
- package/dist/{onboard-channels-CUUTFx1F.js → onboard-channels-DU6do-N5.js} +1 -1
- package/dist/{onboard-channels-HyGv2y5c.js → onboard-channels-DaY1NwXd.js} +1 -1
- package/dist/{onboard-C1GtzpAc.js → onboard-ygIcreY9.js} +2 -2
- package/dist/{onboarding-B4qg0ZYp.js → onboarding-BfeyfvK_.js} +4 -4
- package/dist/{onboarding-C89rTOOy.js → onboarding-Bqz1NgoR.js} +4 -4
- package/dist/{onboarding.finalize-ClJ1HBVt.js → onboarding.finalize-CG0xwhEw.js} +13 -13
- package/dist/{onboarding.finalize-CGk4vov2.js → onboarding.finalize-DzTo4LEo.js} +15 -15
- package/dist/{onboarding.gateway-config-TM8ERKyn.js → onboarding.gateway-config-7LGxdDrq.js} +1 -1
- package/dist/{onboarding.gateway-config-vGTQDqA6.js → onboarding.gateway-config-DJJRuyZ_.js} +1 -1
- package/dist/{pi-embedded-helpers-DpOccVre.js → pi-embedded-helpers-DiXXYmgo.js} +1 -1
- package/dist/{pi-embedded-helpers-DSscUmkR.js → pi-embedded-helpers-jo_kKs-Z.js} +1 -1
- package/dist/{pi-tools.policy-DOVQ8dDx.js → pi-tools.policy-CGVKAOoE.js} +1 -1
- package/dist/{pi-tools.policy-BpN-v9bT.js → pi-tools.policy-p7LLu64F.js} +1 -1
- package/dist/{plugin-registry-7MeuYUTG.js → plugin-registry-DG2IOSY3.js} +1 -1
- package/dist/{plugin-registry-Dx8MaVaX.js → plugin-registry-DTm-oyEP.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BRYwA2Ic.js → active-listener-BgwYQkdI.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CBsLb_4V.js → api-key-rotation-DGJZ8SVa.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-B-Laxbmb.js → audio-preflight-pBBHur9T.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C6_r-2VI.js → channel-web-D-ct3FR3.js} +22 -22
- package/dist/plugin-sdk/{chrome-D9kN9org.js → chrome-CEqfiEs0.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-By2smfUF.js → commands-registry-Be2qTyJK.js} +4 -4
- package/dist/plugin-sdk/{config-BzupW6LN.js → config-Ckum15iC.js} +9 -9
- package/dist/plugin-sdk/{deliver-CNuL0O4P.js → deliver-pjxCQeHb.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-EyuCSUXO.js → diagnostic-W5975qL9.js} +1 -1
- package/dist/plugin-sdk/{image-BmU8yYnz.js → image-CvB1H1Oa.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-eqtXmx21.js → login-BS724Asp.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Cbt9KlK3.js → login-qr-DcD9oY98.js} +9 -9
- package/dist/plugin-sdk/{manager-Dc9yVyTt.js → manager-UQQc8UDq.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-hy3Bn-r9.js → manifest-registry-BRx4JDK0.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CtVwtb6y.js → model-selection-Bbs4XGPG.js} +4 -4
- package/dist/plugin-sdk/{outbound-ZcDVYNoy.js → outbound-Bgwpl10i.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DJ3CI92h.js → outbound-attachment-CqhMcNuS.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-r2U9wDoc.js → pi-auth-json-B_aZna6j.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BCNFLt_H.js → pi-embedded-helpers-C7fh8gtj.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-B3jHOSti.js → pw-ai-B3QctKIy.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-C6GM0Qik.js → qmd-manager-BZvD_Hd3.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-DkGqfiO4.js → replies-BrD5w1DK.js} +3 -3
- package/dist/plugin-sdk/{reply-CIDYJYie.js → reply-Gpdxnjey.js} +79 -79
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-WzrwRCvL.js → runner-Blso4_CP.js} +9 -9
- package/dist/plugin-sdk/{send-BGE1fXlm.js → send-CI9BF7Rs.js} +6 -6
- package/dist/plugin-sdk/{send-7NqCWP0r.js → send-CMCTJG-m.js} +7 -7
- package/dist/plugin-sdk/{send-FFUmNt0K.js → send-CwRUaqoE.js} +10 -10
- package/dist/plugin-sdk/{send-ZhAe1nXO.js → send-Djq5IPRa.js} +10 -10
- package/dist/plugin-sdk/{send-BP5pSPaZ.js → send-fNRDT21N.js} +6 -6
- package/dist/plugin-sdk/{session-8vfTL_H6.js → session-_9Y0E4Ol.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DF3ouLEu.js → skill-commands-CuBIT3kO.js} +5 -5
- package/dist/plugin-sdk/{skills-C9DbB-Kp.js → skills-BfsaS1F9.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BAUvBvAO.js → tool-loop-detection-Dthxc7SC.js} +2 -2
- package/dist/plugin-sdk/web-BFa_GJSK.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-0DfquiaD.js → whatsapp-actions-B8ZG7vfh.js} +21 -21
- package/dist/{plugins-cli-oatWFlGr.js → plugins-cli-BJpemLCS.js} +9 -9
- package/dist/{plugins-cli-bblxpPhT.js → plugins-cli-BrHhfpbX.js} +10 -10
- package/dist/{program-B4MbPh6k.js → program-CYzFuO3w.js} +16 -16
- package/dist/{program-context-BfdA1JM9.js → program-context-G2iHoB5D.js} +20 -20
- package/dist/{prompt-select-styled-bMJTZkj7.js → prompt-select-styled-P0KS75Rt.js} +7 -7
- package/dist/{prompt-select-styled-DNhjvdZL.js → prompt-select-styled-lVyrkSPI.js} +7 -7
- package/dist/{provider-auth-helpers-D9BOiQMP.js → provider-auth-helpers-CoYjxsb2.js} +1 -1
- package/dist/{provider-auth-helpers-CezJXPrZ.js → provider-auth-helpers-Cygsm5_L.js} +1 -1
- package/dist/{push-apns-CL2MBhWP.js → push-apns-BMfcGm-A.js} +1 -1
- package/dist/{push-apns-DUWtWoB-.js → push-apns-CHM_4e6x.js} +1 -1
- package/dist/{register.agent-B-v1ixge.js → register.agent-BTmY2MoW.js} +14 -14
- package/dist/{register.agent-Dms0oymW.js → register.agent-efba5ajU.js} +12 -12
- package/dist/{register.configure-CVct6y53.js → register.configure-DHSfWAqs.js} +14 -14
- package/dist/{register.configure-MY0P8ucP.js → register.configure-EQOE0vHS.js} +13 -13
- package/dist/{register.maintenance-DpSSW9tp.js → register.maintenance-CsczzIEq.js} +17 -17
- package/dist/{register.maintenance-Ciblsa6H.js → register.maintenance-CzcgKkH3.js} +15 -15
- package/dist/{register.message-FsBEsQeD.js → register.message-Bc3A_dfj.js} +9 -9
- package/dist/{register.message-Csn-WBH0.js → register.message-u6gwfQPX.js} +10 -10
- package/dist/{register.onboard-BQ-ciW9l.js → register.onboard-CtKNq5I_.js} +12 -12
- package/dist/{register.onboard-MIhaldvp.js → register.onboard-yDsskHey.js} +11 -11
- package/dist/{register.setup-M0O0Tp-n.js → register.setup-BJqk3N2q.js} +12 -12
- package/dist/{register.setup-DCTamI7u.js → register.setup-BPeB8JTw.js} +11 -11
- package/dist/{register.status-health-sessions-DzKtjfA-.js → register.status-health-sessions-CU6Uv3iO.js} +13 -13
- package/dist/{register.status-health-sessions-Drc5WQGq.js → register.status-health-sessions-KzzMJ0H1.js} +11 -11
- package/dist/{register.subclis-Btg8-Nnf.js → register.subclis-C_464foT.js} +12 -12
- package/dist/{reply-B0azB7WR.js → reply-kWKTXRkY.js} +14 -14
- package/dist/{run-main-DfxDXt2d.js → run-main-I-kj1_yf.js} +25 -25
- package/dist/{runner-CSdQSvE8.js → runner-BopCEjwB.js} +1 -1
- package/dist/{runner-C_BlQ2fG.js → runner-eBF6SlQ6.js} +1 -1
- package/dist/{sandbox-CDxHBl3I.js → sandbox-Cl2r-bXv.js} +1 -1
- package/dist/{sandbox-cli-BpfYaZBG.js → sandbox-cli-BH45SMwC.js} +2 -2
- package/dist/{sandbox-cli-0eu7BCa8.js → sandbox-cli-CZSrSTkk.js} +2 -2
- package/dist/{sandbox-BOVopTqv.js → sandbox-ooxzsj2D.js} +1 -1
- package/dist/{security-cli-CzWHkrqD.js → security-cli-Bz-Sv5-H.js} +4 -4
- package/dist/{security-cli-B5s73Le2.js → security-cli-CEI0zQJs.js} +4 -4
- package/dist/{server-methods-OJbQNjOJ.js → server-methods-DQHU-PVR.js} +11 -11
- package/dist/{server-methods-BcBroG6v.js → server-methods-DuXvSLX-.js} +10 -10
- package/dist/{server-node-events-AVxH5dXs.js → server-node-events-CwAM91fd.js} +9 -9
- package/dist/{server-node-events-Ba9K9DB9.js → server-node-events-ecaGjg5E.js} +10 -10
- package/dist/{session-utils-BPXkhuNM.js → session-utils-Dwt6eGX6.js} +1 -1
- package/dist/{sessions-NTd36-CO.js → sessions-DQxygr94.js} +2 -2
- package/dist/{sessions-BPD85pWA.js → sessions-Do060W3W.js} +3 -2
- package/dist/{sessions-BeYHj0gr.js → sessions-vYQs1OzE.js} +3 -2
- package/dist/{status-CpWkGj5h.js → status-CW9LMA2M.js} +1 -1
- package/dist/{status-DNxAYvxM.js → status-DNVKHGLC.js} +1 -1
- package/dist/{status-Ut-dfDT0.js → status-DsFAg-bK.js} +5 -5
- package/dist/{status-RlJA2XzQ.js → status-v8DOdpX6.js} +4 -4
- package/dist/{subagent-registry-CsYeP8wc.js → subagent-registry-C8UsZ8F0.js} +15 -15
- package/dist/{tui-DfPeXwah.js → tui-B61kHmM2.js} +2 -2
- package/dist/{tui-LZPdrFmK.js → tui-CiGfEtDa.js} +2 -2
- package/dist/{tui-cli-Bm3TJgXf.js → tui-cli-CwNXfDnk.js} +4 -4
- package/dist/{tui-cli-DFXZ7r1F.js → tui-cli-DHKMCeGp.js} +4 -4
- package/dist/{update-cli-Cm4ftHhu.js → update-cli-BwX8SW9m.js} +17 -17
- package/dist/{update-cli-Cb12PjyN.js → update-cli-DQOw6sqy.js} +15 -15
- package/dist/{update-runner-Cv6hDgKV.js → update-runner-BhXkq5Gw.js} +1 -1
- package/dist/{update-runner-BE6kDMsw.js → update-runner-C56OyqSE.js} +1 -1
- package/dist/{web-CYf5I3aU.js → web-CGicnDRL.js} +9 -9
- package/dist/{web-BOv3xM7W.js → web-NSGlkQEO.js} +9 -9
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-CHKraWl6.js +0 -66
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as isAcpSessionKey, h as getSubagentDepth, l as resolveAgentIdFromSessionKey, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-
|
|
3
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-Ddm33hQm.js";
|
|
4
4
|
import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-D9X2phUj.js";
|
|
6
|
-
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-
|
|
6
|
+
import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-BNByVCIH.js";
|
|
7
7
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
8
8
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CUNoPTKm.js";
|
|
9
|
-
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredSymiTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry
|
|
10
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-
|
|
12
|
-
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-
|
|
13
|
-
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-
|
|
14
|
-
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
15
|
-
import { $ as resolveShellEnvFallbackTimeoutMs, A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_CONTEXT_TOKENS, K as normalizeSecretInput, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-
|
|
16
|
-
import { A as logInfo, C as resolveSymiPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, h as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-
|
|
17
|
-
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
9
|
+
import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredSymiTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-D0xTnUWt.js";
|
|
10
|
+
import { n as retryAsync } from "./retry-CwQ_iIj8.js";
|
|
11
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-Djq5IPRa.js";
|
|
12
|
+
import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-Ckum15iC.js";
|
|
13
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
14
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
15
|
+
import { $ as resolveShellEnvFallbackTimeoutMs, A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_CONTEXT_TOKENS, K as normalizeSecretInput, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, Z as getShellPathFromLoginShell, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as resolveAuthProfileDisplayLabel, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-Bbs4XGPG.js";
|
|
16
|
+
import { A as logInfo, C as resolveSymiPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, h as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-CYYpcO9W.js";
|
|
17
|
+
import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverSymiPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BRx4JDK0.js";
|
|
18
18
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
19
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DoC1xtDu.js";
|
|
20
20
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
21
|
-
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
21
|
+
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-BlQR__MN.js";
|
|
22
22
|
import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
23
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
24
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-
|
|
25
|
-
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-
|
|
26
|
-
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-
|
|
23
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-BHLNSI8U.js";
|
|
24
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-BJ6BHE5b.js";
|
|
25
|
+
import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-Dw2XBYXv.js";
|
|
26
|
+
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-COTAJzHd.js";
|
|
27
27
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
28
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
29
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
30
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-
|
|
32
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-
|
|
33
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
34
|
-
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-
|
|
35
|
-
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-
|
|
37
|
-
import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
38
|
-
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-
|
|
39
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
40
|
-
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
41
|
-
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-
|
|
42
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
44
|
-
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-
|
|
45
|
-
import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-
|
|
28
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
30
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-CMCTJG-m.js";
|
|
31
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-HJ2sfZDV.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-Paro1BjP.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-fNRDT21N.js";
|
|
34
|
+
import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-CwRUaqoE.js";
|
|
35
|
+
import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-Blso4_CP.js";
|
|
36
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-uxfMZW4p.js";
|
|
37
|
+
import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-bC3UVmVH.js";
|
|
38
|
+
import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-CuBIT3kO.js";
|
|
39
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-BfsaS1F9.js";
|
|
40
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-CEqfiEs0.js";
|
|
41
|
+
import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-CXqf7WTe.js";
|
|
42
|
+
import { r as resolveIMessageAccount } from "./accounts-s-AdhXVR.js";
|
|
43
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BtaOa4z_.js";
|
|
44
|
+
import { C as getGlobalHookRunner, S as parseInlineDirectives$1, _ as normalizeChannelTargetInput, a as normalizeOutboundPayloadsForJson, b as MEDIA_TOKEN_RE, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as buildTargetResolverSignature, h as throwIfAborted, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as normalizeTargetForProvider, w as initializeGlobalHookRunner, x as splitMediaFromOutput, y as parseReplyDirectives } from "./deliver-pjxCQeHb.js";
|
|
45
|
+
import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-C7fh8gtj.js";
|
|
46
46
|
import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
|
|
47
47
|
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-A0xdf3yk.js";
|
|
48
48
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
49
|
-
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
50
|
-
import { i as saveMediaBuffer, r as getMediaDir } from "./store-
|
|
49
|
+
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-W5975qL9.js";
|
|
50
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-BdrNabcU.js";
|
|
51
51
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
|
|
52
|
-
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, 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 ensureSymiModelsJson, y as stripReasoningTagsFromText } from "./image-
|
|
52
|
+
import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, 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 ensureSymiModelsJson, y as stripReasoningTagsFromText } from "./image-CvB1H1Oa.js";
|
|
53
53
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
|
|
54
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-
|
|
54
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-CxAR5ttJ.js";
|
|
55
55
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
57
|
-
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
58
|
-
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-
|
|
56
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-UQQc8UDq.js";
|
|
57
|
+
import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-Be2qTyJK.js";
|
|
58
|
+
import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-CI9BF7Rs.js";
|
|
59
59
|
import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
62
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
63
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B3CCBumQ.js";
|
|
61
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BrD5w1DK.js";
|
|
62
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-B_aZna6j.js";
|
|
63
|
+
import { t as getActiveWebListener } from "./active-listener-BgwYQkdI.js";
|
|
64
64
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-Bug27PHS.js";
|
|
65
65
|
import { createRequire } from "node:module";
|
|
66
66
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
67
67
|
import * as path$1 from "node:path";
|
|
68
68
|
import path from "node:path";
|
|
69
69
|
import os, { homedir } from "node:os";
|
|
70
|
-
import
|
|
70
|
+
import JSON5 from "json5";
|
|
71
71
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
72
72
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
73
73
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -7811,7 +7811,7 @@ async function createModelSelectionState(params) {
|
|
|
7811
7811
|
}
|
|
7812
7812
|
}
|
|
7813
7813
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
7814
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
7814
|
+
const { ensureAuthProfileStore } = await import("./model-selection-Bbs4XGPG.js").then((n) => n.O);
|
|
7815
7815
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
7816
7816
|
const providerKey = normalizeProviderId(provider);
|
|
7817
7817
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -11563,7 +11563,7 @@ async function getMemorySearchManager(params) {
|
|
|
11563
11563
|
if (cached) return { manager: cached };
|
|
11564
11564
|
}
|
|
11565
11565
|
try {
|
|
11566
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
11566
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BZvD_Hd3.js");
|
|
11567
11567
|
const primary = await QmdMemoryManager.create({
|
|
11568
11568
|
cfg: params.cfg,
|
|
11569
11569
|
agentId: params.agentId,
|
|
@@ -11575,7 +11575,7 @@ async function getMemorySearchManager(params) {
|
|
|
11575
11575
|
const wrapper = new FallbackMemoryManager({
|
|
11576
11576
|
primary,
|
|
11577
11577
|
fallbackFactory: async () => {
|
|
11578
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11578
|
+
const { MemoryIndexManager } = await import("./manager-UQQc8UDq.js").then((n) => n.t);
|
|
11579
11579
|
return await MemoryIndexManager.get(params);
|
|
11580
11580
|
}
|
|
11581
11581
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -11588,7 +11588,7 @@ async function getMemorySearchManager(params) {
|
|
|
11588
11588
|
}
|
|
11589
11589
|
}
|
|
11590
11590
|
try {
|
|
11591
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11591
|
+
const { MemoryIndexManager } = await import("./manager-UQQc8UDq.js").then((n) => n.t);
|
|
11592
11592
|
return { manager: await MemoryIndexManager.get(params) };
|
|
11593
11593
|
} catch (err) {
|
|
11594
11594
|
return {
|
|
@@ -12647,7 +12647,7 @@ function normalizeSessionKey(value) {
|
|
|
12647
12647
|
function readSessionStore(storePath) {
|
|
12648
12648
|
try {
|
|
12649
12649
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
12650
|
-
const parsed =
|
|
12650
|
+
const parsed = JSON5.parse(raw);
|
|
12651
12651
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
12652
12652
|
} catch {}
|
|
12653
12653
|
return {};
|
|
@@ -15504,7 +15504,7 @@ async function routeReply(params) {
|
|
|
15504
15504
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
15505
15505
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
15506
15506
|
try {
|
|
15507
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
15507
|
+
const { deliverOutboundPayloads } = await import("./deliver-pjxCQeHb.js").then((n) => n.n);
|
|
15508
15508
|
return {
|
|
15509
15509
|
ok: true,
|
|
15510
15510
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -17978,7 +17978,7 @@ async function describeStickerImage(params) {
|
|
|
17978
17978
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
17979
17979
|
try {
|
|
17980
17980
|
const buffer = await fs$1.readFile(imagePath);
|
|
17981
|
-
const { describeImageWithModel } = await import("./image-
|
|
17981
|
+
const { describeImageWithModel } = await import("./image-CvB1H1Oa.js").then((n) => n.n);
|
|
17982
17982
|
return (await describeImageWithModel({
|
|
17983
17983
|
buffer,
|
|
17984
17984
|
fileName: "sticker.webp",
|
|
@@ -18389,7 +18389,7 @@ function createWhatsAppLoginTool() {
|
|
|
18389
18389
|
force: Type.Optional(Type.Boolean())
|
|
18390
18390
|
}),
|
|
18391
18391
|
execute: async (_toolCallId, args) => {
|
|
18392
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
18392
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DcD9oY98.js");
|
|
18393
18393
|
if ((args?.action ?? "start") === "wait") {
|
|
18394
18394
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
18395
18395
|
return {
|
|
@@ -20457,7 +20457,7 @@ async function preflightDiscordMessage(params) {
|
|
|
20457
20457
|
let preflightTranscript;
|
|
20458
20458
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
20459
20459
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
20460
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
20460
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-pBBHur9T.js");
|
|
20461
20461
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
20462
20462
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
20463
20463
|
ctx: {
|
|
@@ -30088,7 +30088,7 @@ async function recordLoopOutcome(args) {
|
|
|
30088
30088
|
if (!args.ctx?.sessionKey) return;
|
|
30089
30089
|
try {
|
|
30090
30090
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
30091
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
30091
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-Dthxc7SC.js");
|
|
30092
30092
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
30093
30093
|
sessionKey: args.ctx.sessionKey,
|
|
30094
30094
|
sessionId: args.ctx?.agentId
|
|
@@ -30109,8 +30109,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
30109
30109
|
const params = args.params;
|
|
30110
30110
|
if (args.ctx?.sessionKey) {
|
|
30111
30111
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
30112
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
30113
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
30112
|
+
const { logToolLoopAction } = await import("./diagnostic-W5975qL9.js").then((n) => n.n);
|
|
30113
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Dthxc7SC.js");
|
|
30114
30114
|
const sessionState = getDiagnosticSessionState({
|
|
30115
30115
|
sessionKey: args.ctx.sessionKey,
|
|
30116
30116
|
sessionId: args.ctx?.agentId
|
|
@@ -36623,27 +36623,27 @@ async function runAgentTurn(params) {
|
|
|
36623
36623
|
function createDefaultDeps() {
|
|
36624
36624
|
return {
|
|
36625
36625
|
sendMessageWhatsApp: async (...args) => {
|
|
36626
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
36626
|
+
const { sendMessageWhatsApp } = await import("./web-BFa_GJSK.js");
|
|
36627
36627
|
return await sendMessageWhatsApp(...args);
|
|
36628
36628
|
},
|
|
36629
36629
|
sendMessageTelegram: async (...args) => {
|
|
36630
|
-
const { sendMessageTelegram } = await import("./send-
|
|
36630
|
+
const { sendMessageTelegram } = await import("./send-CwRUaqoE.js").then((n) => n.l);
|
|
36631
36631
|
return await sendMessageTelegram(...args);
|
|
36632
36632
|
},
|
|
36633
36633
|
sendMessageDiscord: async (...args) => {
|
|
36634
|
-
const { sendMessageDiscord } = await import("./send-
|
|
36634
|
+
const { sendMessageDiscord } = await import("./send-Djq5IPRa.js").then((n) => n.t);
|
|
36635
36635
|
return await sendMessageDiscord(...args);
|
|
36636
36636
|
},
|
|
36637
36637
|
sendMessageSlack: async (...args) => {
|
|
36638
|
-
const { sendMessageSlack } = await import("./send-
|
|
36638
|
+
const { sendMessageSlack } = await import("./send-fNRDT21N.js").then((n) => n.n);
|
|
36639
36639
|
return await sendMessageSlack(...args);
|
|
36640
36640
|
},
|
|
36641
36641
|
sendMessageSignal: async (...args) => {
|
|
36642
|
-
const { sendMessageSignal } = await import("./send-
|
|
36642
|
+
const { sendMessageSignal } = await import("./send-CI9BF7Rs.js").then((n) => n.i);
|
|
36643
36643
|
return await sendMessageSignal(...args);
|
|
36644
36644
|
},
|
|
36645
36645
|
sendMessageIMessage: async (...args) => {
|
|
36646
|
-
const { sendMessageIMessage } = await import("./send-
|
|
36646
|
+
const { sendMessageIMessage } = await import("./send-CMCTJG-m.js").then((n) => n.n);
|
|
36647
36647
|
return await sendMessageIMessage(...args);
|
|
36648
36648
|
}
|
|
36649
36649
|
};
|
|
@@ -46795,7 +46795,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
46795
46795
|
}
|
|
46796
46796
|
let commandsRegistry;
|
|
46797
46797
|
async function getCommandsRegistry() {
|
|
46798
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
46798
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Be2qTyJK.js").then((n) => n.n);
|
|
46799
46799
|
return commandsRegistry;
|
|
46800
46800
|
}
|
|
46801
46801
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -47137,11 +47137,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
47137
47137
|
const channelName = channelInfo?.name;
|
|
47138
47138
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
47139
47139
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
47140
|
-
import("./resolve-route-
|
|
47140
|
+
import("./resolve-route-B3CCBumQ.js").then((n) => n.r),
|
|
47141
47141
|
import("./inbound-context-D5EzMeL_.js").then((n) => n.n),
|
|
47142
47142
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
47143
47143
|
]);
|
|
47144
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-
|
|
47144
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-uxfMZW4p.js").then((n) => n.r)]);
|
|
47145
47145
|
const route = resolveAgentRoute({
|
|
47146
47146
|
cfg,
|
|
47147
47147
|
channel: "slack",
|
|
@@ -47198,9 +47198,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
47198
47198
|
});
|
|
47199
47199
|
const deliverSlashPayloads = async (replies) => {
|
|
47200
47200
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
47201
|
-
import("./replies-
|
|
47202
|
-
import("./chunk-
|
|
47203
|
-
import("./markdown-tables-
|
|
47201
|
+
import("./replies-BrD5w1DK.js").then((n) => n.r),
|
|
47202
|
+
import("./chunk-Dw2XBYXv.js").then((n) => n.s),
|
|
47203
|
+
import("./markdown-tables-BoYFajMu.js").then((n) => n.t)
|
|
47204
47204
|
]);
|
|
47205
47205
|
await deliverSlackSlashReplies({
|
|
47206
47206
|
replies,
|
|
@@ -47253,7 +47253,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
47253
47253
|
let nativeCommands = [];
|
|
47254
47254
|
if (nativeEnabled) {
|
|
47255
47255
|
reg = await getCommandsRegistry();
|
|
47256
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
47256
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CuBIT3kO.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
47257
47257
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
47258
47258
|
skillCommands,
|
|
47259
47259
|
provider: "slack"
|
|
@@ -51904,7 +51904,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
51904
51904
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
51905
51905
|
let preflightTranscript;
|
|
51906
51906
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
51907
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
51907
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-pBBHur9T.js");
|
|
51908
51908
|
preflightTranscript = await transcribeFirstAudio({
|
|
51909
51909
|
ctx: {
|
|
51910
51910
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -54049,23 +54049,23 @@ let webLoginQrPromise = null;
|
|
|
54049
54049
|
let webChannelPromise = null;
|
|
54050
54050
|
let whatsappActionsPromise = null;
|
|
54051
54051
|
function loadWebOutbound() {
|
|
54052
|
-
webOutboundPromise ??= import("./outbound-
|
|
54052
|
+
webOutboundPromise ??= import("./outbound-Bgwpl10i.js").then((n) => n.t);
|
|
54053
54053
|
return webOutboundPromise;
|
|
54054
54054
|
}
|
|
54055
54055
|
function loadWebLogin() {
|
|
54056
|
-
webLoginPromise ??= import("./login-
|
|
54056
|
+
webLoginPromise ??= import("./login-BS724Asp.js").then((n) => n.n);
|
|
54057
54057
|
return webLoginPromise;
|
|
54058
54058
|
}
|
|
54059
54059
|
function loadWebLoginQr() {
|
|
54060
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
54060
|
+
webLoginQrPromise ??= import("./login-qr-DcD9oY98.js");
|
|
54061
54061
|
return webLoginQrPromise;
|
|
54062
54062
|
}
|
|
54063
54063
|
function loadWebChannel() {
|
|
54064
|
-
webChannelPromise ??= import("./web-
|
|
54064
|
+
webChannelPromise ??= import("./web-BFa_GJSK.js");
|
|
54065
54065
|
return webChannelPromise;
|
|
54066
54066
|
}
|
|
54067
54067
|
function loadWhatsAppActions() {
|
|
54068
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
54068
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-B8ZG7vfh.js");
|
|
54069
54069
|
return whatsappActionsPromise;
|
|
54070
54070
|
}
|
|
54071
54071
|
function createPluginRuntime() {
|
|
@@ -78510,7 +78510,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
78510
78510
|
return;
|
|
78511
78511
|
}
|
|
78512
78512
|
try {
|
|
78513
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
78513
|
+
const { deliverOutboundPayloads } = await import("./deliver-pjxCQeHb.js").then((n) => n.n);
|
|
78514
78514
|
await deliverOutboundPayloads({
|
|
78515
78515
|
cfg: params.cfg,
|
|
78516
78516
|
channel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-CYYpcO9W.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-
|
|
2
|
-
import { n as missingTargetError } from "./target-errors-
|
|
1
|
+
import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-BNByVCIH.js";
|
|
2
|
+
import { n as missingTargetError } from "./target-errors-Paro1BjP.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { Y as shouldLogVerbose } from "./registry
|
|
4
|
-
import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-CYYpcO9W.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
6
|
-
import { t as listBindings } from "./bindings-
|
|
6
|
+
import { t as listBindings } from "./bindings-C7hRtgYW.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
9
9
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
2
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry
|
|
3
|
-
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-
|
|
4
|
-
import { B as resolveSymiAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-
|
|
5
|
-
import { E as runExec } from "./agent-scope-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-
|
|
2
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-Ckum15iC.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-Bbs4XGPG.js";
|
|
5
|
+
import { E as runExec } from "./agent-scope-CYYpcO9W.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-BlQR__MN.js";
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-BHLNSI8U.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
9
|
-
import { t as describeImageWithModel, x as ensureSymiModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
+
import { t as describeImageWithModel, x as ensureSymiModelsJson } from "./image-CvB1H1Oa.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DGJZ8SVa.js";
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
@@ -900,7 +900,7 @@ async function loadModelCatalog(params) {
|
|
|
900
900
|
try {
|
|
901
901
|
const cfg = params?.config ?? loadConfig();
|
|
902
902
|
await ensureSymiModelsJson(cfg);
|
|
903
|
-
await (await import("./pi-auth-json-
|
|
903
|
+
await (await import("./pi-auth-json-B_aZna6j.js").then((n) => n.n)).ensurePiAuthJsonFromAuthProfiles(resolveSymiAgentDir(), { config: cfg });
|
|
904
904
|
const piSdk = await importPiSdk();
|
|
905
905
|
const agentDir = resolveSymiAgentDir();
|
|
906
906
|
const { join } = await import("node:path");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-CUNoPTKm.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
4
|
+
import { n as loadConfig } from "./config-Ckum15iC.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-BlQR__MN.js";
|
|
6
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-BJ6BHE5b.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-BtaOa4z_.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CqhMcNuS.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as normalizeE164, P as resolveUserPath } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { A as normalizeE164, P as resolveUserPath } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { n as loadConfig } from "./config-Ckum15iC.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-BlQR__MN.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-s-AdhXVR.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CqhMcNuS.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
3
|
+
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BNByVCIH.js";
|
|
4
4
|
import { t as resolveFetch } from "./fetch-CUNoPTKm.js";
|
|
5
|
-
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
8
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
9
|
-
import { H as withFileLock$1 } from "./model-selection-
|
|
5
|
+
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import { n as loadConfig } from "./config-Ckum15iC.js";
|
|
7
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
8
|
+
import { r as isTruthyEnvValue } from "./command-format-GKSevep4.js";
|
|
9
|
+
import { H as withFileLock$1 } from "./model-selection-Bbs4XGPG.js";
|
|
10
10
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
11
11
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
12
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
12
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-DoC1xtDu.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
14
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
15
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-BlQR__MN.js";
|
|
15
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BJ6BHE5b.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
17
17
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
|
|
19
19
|
import fs from "node:fs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-
|
|
2
|
+
import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-BNByVCIH.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-CUNoPTKm.js";
|
|
4
|
-
import { ut as resolvePreferredSymiTmpDir } from "./registry
|
|
5
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
6
|
-
import { n as loadConfig } from "./config-
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
4
|
+
import { ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
|
|
5
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-CwQ_iIj8.js";
|
|
6
|
+
import { n as loadConfig } from "./config-Ckum15iC.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-DoC1xtDu.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-3WJMd-G-.js";
|
|
9
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-BlQR__MN.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-BJ6BHE5b.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-Dw2XBYXv.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
16
16
|
import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";
|