@symerian/symi 2.6.8 → 2.6.10
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/{acp-cli-Cu4icbJT.js → acp-cli-DT0rEuUE.js} +2 -2
- package/dist/{agents-DUCHzmZ7.js → agents-DDqXWXbP.js} +4 -4
- package/dist/{agents.config-CHQebF9q.js → agents.config-Bu_N-bn_.js} +1 -1
- package/dist/{agents.config-CwoBiqZ_.js → agents.config-CEt-ES9z.js} +1 -1
- package/dist/{audio-preflight-DHTaS5U1.js → audio-preflight-BVaaZWkg.js} +4 -4
- package/dist/{audio-preflight-CWnxkaac.js → audio-preflight-BcSzL_0I.js} +8 -8
- package/dist/{audit-CrITRV6w.js → audit-BIE9JAxf.js} +5 -5
- package/dist/{auth-choice-B1zaWakt.js → auth-choice-Bmd-rbuU.js} +1 -1
- package/dist/{auth-choice-DGzjLihE.js → auth-choice-Djy_YmfW.js} +4 -4
- package/dist/{banner-Dy01rdll.js → banner-BNkhjU8E.js} +1 -1
- package/dist/{browser-cli-BG4qPxpM.js → browser-cli-nNQ60Koh.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-CJaS1iRF.js → call-7djMRPgl.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Ba5tfq9-.js → channel-options-D8ByM6g0.js} +1 -1
- package/dist/{channel-options-Cte5qJHT.js → channel-options-NLrg-j_d.js} +1 -1
- package/dist/{channel-web-NGDI-tJN.js → channel-web-BUQWBln9.js} +2 -2
- package/dist/{channels-cli-CgNtcB-z.js → channels-cli-C5DWcDDG.js} +4 -4
- package/dist/{channels-cli-BDlDCL3R.js → channels-cli-qBgicVqp.js} +19 -19
- package/dist/{chrome-DtPkPq9T.js → chrome-DBKZkx0x.js} +7 -7
- package/dist/{chrome-DYZwl5Gv.js → chrome-DkaXoP36.js} +7 -7
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Da_Dnvvp.js → cli-Bx78WeyO.js} +1 -1
- package/dist/{cli-C2ZGBmO9.js → cli-UHMMUbWL.js} +16 -16
- package/dist/{client-CQSyCS4M.js → client-Z6SFrwob.js} +3 -3
- package/dist/{command-registry-CLcFUFJs.js → command-registry-BSGsNY71.js} +9 -9
- package/dist/{completion-cli-BzXhONEe.js → completion-cli-B915TqN4.js} +2 -2
- package/dist/{completion-cli-MbaQCbTj.js → completion-cli-CajQzz5J.js} +1 -1
- package/dist/{config-cli-CT6Q4rhy.js → config-cli-BM9FX48b.js} +1 -1
- package/dist/{config-cli-BHHGJx1I.js → config-cli-CeErUiHR.js} +1 -1
- package/dist/{configure-BOLt9A-A.js → configure-CbiNzEIk.js} +8 -8
- package/dist/{configure-CVcHuLVe.js → configure-DggNPSKd.js} +3 -3
- package/dist/{control-service-Bz7rxLWq.js → control-service-DdeFa44u.js} +3 -3
- package/dist/{cron-cli-DBIlCvp3.js → cron-cli-C_1RndRW.js} +3 -3
- package/dist/{daemon-cli-DscwlsKW.js → daemon-cli-C2fkpr13.js} +2 -2
- package/dist/{deliver-CWR_98sK.js → deliver-Bu624MY6.js} +1 -1
- package/dist/{deliver-dODxSv3b.js → deliver-C46-vyqg.js} +1 -1
- package/dist/{devices-cli-Dds-25Ve.js → devices-cli-ERMql8Dq.js} +2 -2
- package/dist/{doctor-completion-BZ-FYLu9.js → doctor-completion-BP_qD5Bt.js} +1 -1
- package/dist/{doctor-completion-CislKWHy.js → doctor-completion-BfLDfA98.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BliRl8VB.js → exec-approvals-cli-BEU-xJFu.js} +4 -4
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-Bzz6Rduw.js → gateway-cli-LmMxDk7B.js} +28 -28
- package/dist/{gateway-cli-2yQf_hKZ.js → gateway-cli-qMBjCmLH.js} +9 -9
- package/dist/{gateway-rpc-BxkKeCZ0.js → gateway-rpc-BWZzo3L9.js} +1 -1
- package/dist/{glass-ui-ws-ibSNo7RU.js → glass-ui-ws-CXpW0epd.js} +7 -7
- package/dist/{glass-ui-ws-uRv3KH-0.js → glass-ui-ws-DbV46Nrg.js} +23 -23
- package/dist/{health-CBwxQHlQ.js → health-BctmvDJ0.js} +1 -1
- package/dist/{health-D4ySlvOE.js → health-pukFTT09.js} +3 -3
- package/dist/{hooks-cli-BFN2xMj8.js → hooks-cli-BMQOn6QU.js} +17 -17
- package/dist/{hooks-cli-CreZeBlG.js → hooks-cli-DcQN6UeT.js} +2 -2
- package/dist/{image-D9uvDTrc.js → image-CtCUVPCD.js} +1 -1
- package/dist/{image-CXu8W39c.js → image-CuzFLQWC.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{logs-cli-xOzIPrHm.js → logs-cli-V5qUbmVy.js} +3 -3
- package/dist/{model-catalog-DvBJ8pMD.js → model-catalog-Da6fXK5K.js} +1 -1
- package/dist/{model-picker-Ddo3jHe-.js → model-picker-B6QoK7pe.js} +1 -1
- package/dist/{models-cli-C9Y-HfLg.js → models-cli-DAKvip7R.js} +18 -18
- package/dist/{models-cli-DzSb3Scm.js → models-cli-DHOMkJmd.js} +3 -3
- package/dist/{models-Dk7Q5cSF.js → models-yF2XRbPQ.js} +2 -2
- package/dist/{node-cli-C_G-Q3h-.js → node-cli-r5-MNz9_.js} +6 -6
- package/dist/{nodes-cli-BcnuJajV.js → nodes-cli-DQed-Snk.js} +3 -3
- package/dist/{onboard-D_PsLQiw.js → onboard-BafMA6T9.js} +5 -5
- package/dist/{onboard-N-KB8jvT.js → onboard-BhqTlAS0.js} +2 -2
- package/dist/{onboard-channels-Bp74i8iG.js → onboard-channels-CHe-XSLv.js} +1 -1
- package/dist/{onboard-channels-VuJyK9g-.js → onboard-channels-CZB5bhSJ.js} +1 -1
- package/dist/{onboard-custom-C7O-zfQ1.js → onboard-custom-BduhuM_4.js} +1 -1
- package/dist/{onboard-helpers-ZmZYzlq3.js → onboard-helpers-CiLCJJVQ.js} +1 -1
- package/dist/{onboard-remote-zUjD7UtM.js → onboard-remote-C1nRkyWo.js} +1 -1
- package/dist/{onboard-skills-BB0YhUmF.js → onboard-skills-9GLwG44a.js} +1 -1
- package/dist/{onboarding-D1AsOvXd.js → onboarding-BXVYtRYj.js} +3 -3
- package/dist/{onboarding-CRAQ2s_3.js → onboarding-D5yCx7Yb.js} +9 -9
- package/dist/{onboarding.finalize-ZYLgVmdn.js → onboarding.finalize-BX4DUaoK.js} +21 -21
- package/dist/{onboarding.finalize-DLUoLFNl.js → onboarding.finalize-DF5Zx0Zc.js} +6 -6
- package/dist/{onboarding.gateway-config-CJUgDC6Y.js → onboarding.gateway-config-TSh7IejG.js} +3 -3
- package/dist/{pi-auth-json-DayrlDg_.js → pi-auth-json-Tqz9D47K.js} +1 -1
- package/dist/{pi-embedded-BSoqm4lP.js → pi-embedded-DV6dp0BP.js} +13 -5
- package/dist/{pi-embedded-helpers-pubKo8HQ.js → pi-embedded-helpers-CfqDGQ9J.js} +4 -4
- package/dist/{pi-embedded-helpers-CNPyv_ax.js → pi-embedded-helpers-D-dUrQOR.js} +1 -1
- package/dist/{pi-tools.policy-CIDBbw6x.js → pi-tools.policy-CgGK6Jq8.js} +1 -1
- package/dist/{plugin-registry-DDIcHkNU.js → plugin-registry-BSmy8tIV.js} +1 -1
- package/dist/{plugin-registry-CTu9B9S3.js → plugin-registry-BwnzEvIz.js} +1 -1
- package/dist/plugin-sdk/{accounts-BtaOa4z_.js → accounts-BToL3HlP.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ddm33hQm.js → accounts-D9zGZU5t.js} +3 -3
- package/dist/plugin-sdk/{accounts-s-AdhXVR.js → accounts-Dtszw3Zn.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BXYeALs0.js → active-listener-bEk__wbB.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CYYpcO9W.js → agent-scope-C3gMMKCU.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-D_sMvI5W.js → api-key-rotation-CVBMpnPc.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-VpItkiy3.js → audio-preflight-DoQQKlxa.js} +24 -24
- package/dist/plugin-sdk/{bindings-C7hRtgYW.js → bindings-BbwoUGPx.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BmV3Tuy0.js → channel-web-BdY2z7lg.js} +22 -22
- package/dist/plugin-sdk/{chrome-B7RdxmJ0.js → chrome-C7c_0I5M.js} +3 -3
- package/dist/plugin-sdk/{chunk-Dw2XBYXv.js → chunk-jvk9axTQ.js} +1 -1
- package/dist/plugin-sdk/{command-format-GKSevep4.js → command-format-DSdvQ_M5.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-COIaslGl.js → commands-registry-CQFbmUMs.js} +4 -4
- package/dist/plugin-sdk/{config-KlTNfkFF.js → config-DDkdiUOR.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ99UKQq.js → deliver-BZ6iNLl7.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-05pm5Rxi.js → diagnostic-mFf4i4G9.js} +1 -1
- package/dist/plugin-sdk/{image-CLOPx7yW.js → image-BOYy0Ump.js} +4 -4
- package/dist/plugin-sdk/{image-ops-BlQR__MN.js → image-ops-Bnp6LXEx.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-BJ6BHE5b.js → ir-Fb3qpcis.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BHLNSI8U.js → local-roots-Ckk1QfzI.js} +3 -3
- package/dist/plugin-sdk/{login-DQMXuxOk.js → login-Bh3DZPam.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BjVZSoCi.js → login-qr-DbR7odSr.js} +9 -9
- package/dist/plugin-sdk/{manager-CBSBFuFz.js → manager-DckktAQ3.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-CPnHl_K3.js → manifest-registry-B3ugY9-f.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-BoYFajMu.js → markdown-tables-Dfaqilz6.js} +1 -1
- package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CsbEfrS0.js → model-selection-OpU8HN50.js} +4 -4
- package/dist/plugin-sdk/{outbound-attachment-CnslKL38.js → outbound-attachment-DnVQfTG2.js} +2 -2
- package/dist/plugin-sdk/{outbound-B0e8KdaR.js → outbound-rF6G8Xpr.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-qWi7ZIYV.js → pi-auth-json-CJk8t14T.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-CW630epe.js → pi-embedded-helpers-BveUP4hk.js} +17 -17
- package/dist/plugin-sdk/{plugins-BNByVCIH.js → plugins-BbAvhC25.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CnbPIPY9.js → pw-ai-DjGUsee-.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CH0XbIHf.js → qmd-manager-mjKcdwVr.js} +4 -4
- package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
- package/dist/plugin-sdk/{replies-LLcQL3w6.js → replies-fI39rPGa.js} +3 -3
- package/dist/plugin-sdk/{reply-LQcs9anV.js → reply-BvxntA3R.js} +89 -81
- package/dist/plugin-sdk/{reply-prefix-uxfMZW4p.js → reply-prefix-BHuV5t70.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BiyAyTWz.js → resolve-outbound-target-BkCUbYGV.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B3CCBumQ.js → resolve-route-D3JH_D2N.js} +3 -3
- package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
- package/dist/plugin-sdk/{runner-CGBT7tgF.js → runner-BVqnEfNe.js} +9 -9
- package/dist/plugin-sdk/{send-C5h_YxNb.js → send-BHbXh8Ly.js} +7 -7
- package/dist/plugin-sdk/{send-pYqe432l.js → send-BMfJIhCk.js} +6 -6
- package/dist/plugin-sdk/{send-B2CEnVLL.js → send-BtANzsAo.js} +6 -6
- package/dist/plugin-sdk/{send-CjOBB3Vo.js → send-Bxdu6ZZy.js} +10 -10
- package/dist/plugin-sdk/{send-CRsR8-vO.js → send-D6LMZJ_h.js} +10 -10
- package/dist/plugin-sdk/{session-BsOrxiMj.js → session-kI0tzViQ.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-ff_01_r3.js → skill-commands-DCNXVERE.js} +5 -5
- package/dist/plugin-sdk/{skills-_yTP47Cd.js → skills-B1GeRYlu.js} +7 -7
- package/dist/plugin-sdk/{sqlite-CxAR5ttJ.js → sqlite-Cq_7Cg4E.js} +1 -1
- package/dist/plugin-sdk/{store-BdrNabcU.js → store-Do3t33-c.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
- package/dist/plugin-sdk/{tables-DNwXwNFa.js → tables-DR0NmBeH.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Paro1BjP.js → target-errors-B7YyMnIi.js} +2 -2
- package/dist/plugin-sdk/{thinking-CXqf7WTe.js → thinking-DCNUIAHY.js} +5 -5
- package/dist/plugin-sdk/{tokens-bC3UVmVH.js → tokens-CWMflosr.js} +1 -1
- package/dist/plugin-sdk/{tool-images-HJ2sfZDV.js → tool-images-D7Lno-TE.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-at_K42K7.js → tool-loop-detection-DU5sTIKg.js} +2 -2
- package/dist/plugin-sdk/web-CorFnJCI.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DfseosPO.js → whatsapp-actions-CcBzDuL-.js} +21 -21
- package/dist/{plugins-cli-DJUkvonf.js → plugins-cli-BMmiYArH.js} +17 -17
- package/dist/{plugins-cli-DdfBwKlP.js → plugins-cli-CrN718uZ.js} +2 -2
- package/dist/{program-DyPb-tj_.js → program-NGbjPxJh.js} +7 -7
- package/dist/{program-context-Bz_GuT_l.js → program-context-BqxG0w61.js} +30 -30
- package/dist/{prompt-select-styled-CghdSf8F.js → prompt-select-styled-B1LZVYl0.js} +4 -4
- package/dist/{prompt-select-styled-BKnaBZhj.js → prompt-select-styled-B7SzTPf7.js} +8 -8
- package/dist/{provider-auth-helpers-CXKXgdFl.js → provider-auth-helpers--A-4LKUl.js} +1 -1
- package/dist/{provider-auth-helpers-BdNgfdWd.js → provider-auth-helpers-CNEhLjMl.js} +1 -1
- package/dist/{push-apns-A--Taj2b.js → push-apns-Cem8OlK7.js} +1 -1
- package/dist/{push-apns-Cdjd6L8R.js → push-apns-DgT_gz_P.js} +1 -1
- package/dist/{pw-ai-DqL87js3.js → pw-ai-CC0xm0TY.js} +1 -1
- package/dist/{pw-ai-B5asscAD.js → pw-ai-m0mj2KWK.js} +1 -1
- package/dist/{register.agent-C4tjED3B.js → register.agent-DT0doE92.js} +21 -21
- package/dist/{register.agent-BLWVTdIg.js → register.agent-vP7gkHzk.js} +6 -6
- package/dist/{register.configure-De6KxZc8.js → register.configure-B_W1y_ag.js} +6 -6
- package/dist/{register.configure-DkNQpMco.js → register.configure-BnkkCig3.js} +25 -25
- package/dist/{register.maintenance-el_O34pN.js → register.maintenance-Br5q9f-j.js} +8 -8
- package/dist/{register.maintenance-B7dlUmZQ.js → register.maintenance-C0akYVa2.js} +22 -22
- package/dist/{register.message-CNub6pDr.js → register.message-CRaEakG_.js} +2 -2
- package/dist/{register.message-Bg38q7xU.js → register.message-mCGVBJsU.js} +17 -17
- package/dist/{register.onboard-DUIvvhd3.js → register.onboard-BvsYOovb.js} +21 -21
- package/dist/{register.onboard-OXQpAbIU.js → register.onboard-CV_3MiHm.js} +4 -4
- package/dist/{register.setup-BAZ3txi6.js → register.setup-BQqw49hm.js} +21 -21
- package/dist/{register.setup-BQLAOnSQ.js → register.setup-DFcMhPAd.js} +4 -4
- package/dist/{register.status-health-sessions-bw_2svPd.js → register.status-health-sessions-DlgKRa9S.js} +3 -3
- package/dist/{register.status-health-sessions-BU25Fv8p.js → register.status-health-sessions-SAm9yGnr.js} +19 -19
- package/dist/{register.subclis-Bop-tTBx.js → register.subclis-CdANuuHY.js} +9 -9
- package/dist/{reply-BR3MMmPE.js → reply-CiPQDsZl.js} +34 -26
- package/dist/{routes-Ba9CUQ8M.js → routes-BO8eMYxn.js} +2 -2
- package/dist/{rpc-BfhojW8g.js → rpc-BcyzUwtC.js} +1 -1
- package/dist/{run-main-DFp18fyd.js → run-main-z8u07ybv.js} +14 -14
- package/dist/{runner-WAG0M5s9.js → runner-CU9l0uJh.js} +1 -1
- package/dist/{runner-CUglpiFP.js → runner-DxdRmWfW.js} +2 -2
- package/dist/{sandbox-C-T6hOMv.js → sandbox-B7qoYkRl.js} +3 -3
- package/dist/{sandbox-cli-BllVdQzR.js → sandbox-cli-C-hbJJWM.js} +4 -4
- package/dist/{security-cli-BFLtWWHy.js → security-cli-CNzBZn7V.js} +8 -8
- package/dist/{server-context-CEpFjqSk.js → server-context-B-ra1emS.js} +4 -4
- package/dist/{server-methods-BMrgMa55.js → server-methods-D9jBWl7O.js} +14 -14
- package/dist/{server-methods-B7KrCq1B.js → server-methods-Dwsrsy7D.js} +7 -7
- package/dist/{server-node-events-tKdBKitQ.js → server-node-events-9T-Sm9Q4.js} +17 -17
- package/dist/{server-node-events-DcIWSJrb.js → server-node-events-CUKIb7Xq.js} +2 -2
- package/dist/{status-DkAuXji3.js → status-CB6N6XaA.js} +1 -1
- package/dist/{status-Ta_hiT2w.js → status-DPk2qV91.js} +1 -1
- package/dist/{status-CChK9DsL.js → status-Dqm_DV3z.js} +2 -2
- package/dist/{status-DAeh7JKa.js → status-UWWMuety.js} +5 -5
- package/dist/{subagent-registry-DovA8Baf.js → subagent-registry-DTIudfq4.js} +13 -5
- package/dist/{system-cli-UMsMEurS.js → system-cli-_0h_FSPB.js} +3 -3
- package/dist/{tui-CriznorL.js → tui-D0s_9S8b.js} +3 -3
- package/dist/{tui-cli-CSIdfCTR.js → tui-cli-gm9fv3M8.js} +8 -8
- package/dist/{unified-runner-OplgmcEq.js → unified-runner-DdeRGc1w.js} +27 -19
- package/dist/{update-cli-DPewzEht.js → update-cli-C55vGnoj.js} +8 -8
- package/dist/{update-cli-hfO-LduQ.js → update-cli-D8jX4yKe.js} +23 -23
- package/dist/{update-runner-DvkWGO1t.js → update-runner-B0ORHPYT.js} +1 -1
- package/dist/{update-runner-WFWqzZw8.js → update-runner-CGsqW9Gu.js} +1 -1
- package/dist/{web-WfZujXg4.js → web-BC4kDUZw.js} +1 -1
- package/dist/{web-DMBrhq3h.js → web-CRFt1vNo.js} +1 -1
- package/dist/{web-CEP_xmdJ.js → web-DsGfc1GN.js} +17 -17
- package/dist/{web-BbEzqR_T.js → web-nKQzj7wJ.js} +6 -6
- package/dist/{with-timeout-gmK6RciS.js → with-timeout-BFdGltxb.js} +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DvzecOyx.js +0 -65
|
@@ -1,72 +1,72 @@
|
|
|
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-D9zGZU5t.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-BbAvhC25.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 { A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, 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 DEFAULT_CONTEXT_TOKENS, 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--_pGht6S.js";
|
|
10
|
+
import { n as retryAsync } from "./retry-ilSJqnz9.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-Bxdu6ZZy.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-DDkdiUOR.js";
|
|
13
|
+
import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-Coz2AgU8.js";
|
|
14
|
+
import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DSdvQ_M5.js";
|
|
15
|
+
import { A as getSoonestCooldownExpiry, B as resolveSymiAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, 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 DEFAULT_CONTEXT_TOKENS, 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-OpU8HN50.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-C3gMMKCU.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-B3ugY9-f.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-Ji7f0gqq.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-Bnp6LXEx.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-Ckk1QfzI.js";
|
|
24
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-Fb3qpcis.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-jvk9axTQ.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-BdI5Ra9S.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-Dfaqilz6.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-DR0NmBeH.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-BHbXh8Ly.js";
|
|
31
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-D7Lno-TE.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-B7YyMnIi.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-BtANzsAo.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-D6LMZJ_h.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-BVqnEfNe.js";
|
|
36
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-BHuV5t70.js";
|
|
37
|
+
import { a as isSilentReplyText, i as isSilentReplyPrefixText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-CWMflosr.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-DCNXVERE.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-B1GeRYlu.js";
|
|
40
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-C7c_0I5M.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-DCNUIAHY.js";
|
|
42
|
+
import { r as resolveIMessageAccount } from "./accounts-Dtszw3Zn.js";
|
|
43
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BToL3HlP.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-BZ6iNLl7.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-BveUP4hk.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-mFf4i4G9.js";
|
|
50
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-Do3t33-c.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-BOYy0Ump.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-Cq_7Cg4E.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-DckktAQ3.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-CQFbmUMs.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-BMfJIhCk.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 getActiveWebListener } from "./active-listener-
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D3JH_D2N.js";
|
|
61
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-fI39rPGa.js";
|
|
62
|
+
import { t as getActiveWebListener } from "./active-listener-bEk__wbB.js";
|
|
63
63
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CBq0jVRw.js";
|
|
64
64
|
import { createRequire } from "node:module";
|
|
65
65
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
66
66
|
import * as path$1 from "node:path";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
import os, { homedir } from "node:os";
|
|
69
|
-
import
|
|
69
|
+
import json5 from "json5";
|
|
70
70
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
71
71
|
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";
|
|
72
72
|
import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -7792,7 +7792,7 @@ async function createModelSelectionState(params) {
|
|
|
7792
7792
|
}
|
|
7793
7793
|
}
|
|
7794
7794
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
7795
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
7795
|
+
const { ensureAuthProfileStore } = await import("./model-selection-OpU8HN50.js").then((n) => n.O);
|
|
7796
7796
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
7797
7797
|
const providerKey = normalizeProviderId(provider);
|
|
7798
7798
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -11544,7 +11544,7 @@ async function getMemorySearchManager(params) {
|
|
|
11544
11544
|
if (cached) return { manager: cached };
|
|
11545
11545
|
}
|
|
11546
11546
|
try {
|
|
11547
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
11547
|
+
const { QmdMemoryManager } = await import("./qmd-manager-mjKcdwVr.js");
|
|
11548
11548
|
const primary = await QmdMemoryManager.create({
|
|
11549
11549
|
cfg: params.cfg,
|
|
11550
11550
|
agentId: params.agentId,
|
|
@@ -11556,7 +11556,7 @@ async function getMemorySearchManager(params) {
|
|
|
11556
11556
|
const wrapper = new FallbackMemoryManager({
|
|
11557
11557
|
primary,
|
|
11558
11558
|
fallbackFactory: async () => {
|
|
11559
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11559
|
+
const { MemoryIndexManager } = await import("./manager-DckktAQ3.js").then((n) => n.t);
|
|
11560
11560
|
return await MemoryIndexManager.get(params);
|
|
11561
11561
|
}
|
|
11562
11562
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -11569,7 +11569,7 @@ async function getMemorySearchManager(params) {
|
|
|
11569
11569
|
}
|
|
11570
11570
|
}
|
|
11571
11571
|
try {
|
|
11572
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
11572
|
+
const { MemoryIndexManager } = await import("./manager-DckktAQ3.js").then((n) => n.t);
|
|
11573
11573
|
return { manager: await MemoryIndexManager.get(params) };
|
|
11574
11574
|
} catch (err) {
|
|
11575
11575
|
return {
|
|
@@ -12628,7 +12628,7 @@ function normalizeSessionKey(value) {
|
|
|
12628
12628
|
function readSessionStore(storePath) {
|
|
12629
12629
|
try {
|
|
12630
12630
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
12631
|
-
const parsed =
|
|
12631
|
+
const parsed = json5.parse(raw);
|
|
12632
12632
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
12633
12633
|
} catch {}
|
|
12634
12634
|
return {};
|
|
@@ -15485,7 +15485,7 @@ async function routeReply(params) {
|
|
|
15485
15485
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
15486
15486
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
15487
15487
|
try {
|
|
15488
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
15488
|
+
const { deliverOutboundPayloads } = await import("./deliver-BZ6iNLl7.js").then((n) => n.n);
|
|
15489
15489
|
return {
|
|
15490
15490
|
ok: true,
|
|
15491
15491
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -17959,7 +17959,7 @@ async function describeStickerImage(params) {
|
|
|
17959
17959
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
17960
17960
|
try {
|
|
17961
17961
|
const buffer = await fs$1.readFile(imagePath);
|
|
17962
|
-
const { describeImageWithModel } = await import("./image-
|
|
17962
|
+
const { describeImageWithModel } = await import("./image-BOYy0Ump.js").then((n) => n.n);
|
|
17963
17963
|
return (await describeImageWithModel({
|
|
17964
17964
|
buffer,
|
|
17965
17965
|
fileName: "sticker.webp",
|
|
@@ -18370,7 +18370,7 @@ function createWhatsAppLoginTool() {
|
|
|
18370
18370
|
force: Type.Optional(Type.Boolean())
|
|
18371
18371
|
}),
|
|
18372
18372
|
execute: async (_toolCallId, args) => {
|
|
18373
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
18373
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DbR7odSr.js");
|
|
18374
18374
|
if ((args?.action ?? "start") === "wait") {
|
|
18375
18375
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
18376
18376
|
return {
|
|
@@ -20438,7 +20438,7 @@ async function preflightDiscordMessage(params) {
|
|
|
20438
20438
|
let preflightTranscript;
|
|
20439
20439
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
20440
20440
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
20441
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
20441
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DoQQKlxa.js");
|
|
20442
20442
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
20443
20443
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
20444
20444
|
ctx: {
|
|
@@ -27754,7 +27754,9 @@ function stripModelTokensAggressive(text, modelId) {
|
|
|
27754
27754
|
*/
|
|
27755
27755
|
function cleanResidualTokenFragments(text) {
|
|
27756
27756
|
if (!text) return text;
|
|
27757
|
-
|
|
27757
|
+
let result = text.replace(/^[<"|]+(?!<[A-Z_])(?=[a-zA-Z0-9/~$.(])/gm, "").replace(/[<"|]+$/gm, "").trim();
|
|
27758
|
+
if (result.length >= 2 && result.length < 20 && !result.includes(" ") && !result.includes("-") && !result.includes("/") && !result.includes(".") && result[0] === result[1]) result = result.slice(1);
|
|
27759
|
+
return result;
|
|
27758
27760
|
}
|
|
27759
27761
|
|
|
27760
27762
|
//#endregion
|
|
@@ -28013,13 +28015,19 @@ function normalizeEvent(event, normalizer) {
|
|
|
28013
28015
|
const tc = event.toolCall;
|
|
28014
28016
|
if (tc.arguments && typeof tc.arguments === "object") {
|
|
28015
28017
|
const cleanedArgs = normalizer.normalizeToolArgs(tc.arguments);
|
|
28016
|
-
|
|
28018
|
+
const patchedEvent = {
|
|
28017
28019
|
...event,
|
|
28018
28020
|
toolCall: {
|
|
28019
28021
|
...tc,
|
|
28020
28022
|
arguments: cleanedArgs
|
|
28021
28023
|
}
|
|
28022
|
-
}
|
|
28024
|
+
};
|
|
28025
|
+
const partial = patchedEvent.partial;
|
|
28026
|
+
if (partial && typeof partial === "object" && Array.isArray(partial.content)) {
|
|
28027
|
+
const content = partial.content;
|
|
28028
|
+
for (const block of content) if (block.type === "toolCall" && block.id === tc.id) block.arguments = cleanedArgs;
|
|
28029
|
+
}
|
|
28030
|
+
return { event: patchedEvent };
|
|
28023
28031
|
}
|
|
28024
28032
|
return { event };
|
|
28025
28033
|
}
|
|
@@ -29932,7 +29940,7 @@ async function recordLoopOutcome(args) {
|
|
|
29932
29940
|
if (!args.ctx?.sessionKey) return;
|
|
29933
29941
|
try {
|
|
29934
29942
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
29935
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
29943
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-DU5sTIKg.js");
|
|
29936
29944
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
29937
29945
|
sessionKey: args.ctx.sessionKey,
|
|
29938
29946
|
sessionId: args.ctx?.agentId
|
|
@@ -29953,8 +29961,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
29953
29961
|
const params = args.params;
|
|
29954
29962
|
if (args.ctx?.sessionKey) {
|
|
29955
29963
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
|
|
29956
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
29957
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
29964
|
+
const { logToolLoopAction } = await import("./diagnostic-mFf4i4G9.js").then((n) => n.n);
|
|
29965
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DU5sTIKg.js");
|
|
29958
29966
|
const sessionState = getDiagnosticSessionState({
|
|
29959
29967
|
sessionKey: args.ctx.sessionKey,
|
|
29960
29968
|
sessionId: args.ctx?.agentId
|
|
@@ -36193,27 +36201,27 @@ async function runAgentTurn(params) {
|
|
|
36193
36201
|
function createDefaultDeps() {
|
|
36194
36202
|
return {
|
|
36195
36203
|
sendMessageWhatsApp: async (...args) => {
|
|
36196
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
36204
|
+
const { sendMessageWhatsApp } = await import("./web-CorFnJCI.js");
|
|
36197
36205
|
return await sendMessageWhatsApp(...args);
|
|
36198
36206
|
},
|
|
36199
36207
|
sendMessageTelegram: async (...args) => {
|
|
36200
|
-
const { sendMessageTelegram } = await import("./send-
|
|
36208
|
+
const { sendMessageTelegram } = await import("./send-D6LMZJ_h.js").then((n) => n.l);
|
|
36201
36209
|
return await sendMessageTelegram(...args);
|
|
36202
36210
|
},
|
|
36203
36211
|
sendMessageDiscord: async (...args) => {
|
|
36204
|
-
const { sendMessageDiscord } = await import("./send-
|
|
36212
|
+
const { sendMessageDiscord } = await import("./send-Bxdu6ZZy.js").then((n) => n.t);
|
|
36205
36213
|
return await sendMessageDiscord(...args);
|
|
36206
36214
|
},
|
|
36207
36215
|
sendMessageSlack: async (...args) => {
|
|
36208
|
-
const { sendMessageSlack } = await import("./send-
|
|
36216
|
+
const { sendMessageSlack } = await import("./send-BtANzsAo.js").then((n) => n.n);
|
|
36209
36217
|
return await sendMessageSlack(...args);
|
|
36210
36218
|
},
|
|
36211
36219
|
sendMessageSignal: async (...args) => {
|
|
36212
|
-
const { sendMessageSignal } = await import("./send-
|
|
36220
|
+
const { sendMessageSignal } = await import("./send-BMfJIhCk.js").then((n) => n.i);
|
|
36213
36221
|
return await sendMessageSignal(...args);
|
|
36214
36222
|
},
|
|
36215
36223
|
sendMessageIMessage: async (...args) => {
|
|
36216
|
-
const { sendMessageIMessage } = await import("./send-
|
|
36224
|
+
const { sendMessageIMessage } = await import("./send-BHbXh8Ly.js").then((n) => n.n);
|
|
36217
36225
|
return await sendMessageIMessage(...args);
|
|
36218
36226
|
}
|
|
36219
36227
|
};
|
|
@@ -46365,7 +46373,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
46365
46373
|
}
|
|
46366
46374
|
let commandsRegistry;
|
|
46367
46375
|
async function getCommandsRegistry() {
|
|
46368
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
46376
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CQFbmUMs.js").then((n) => n.n);
|
|
46369
46377
|
return commandsRegistry;
|
|
46370
46378
|
}
|
|
46371
46379
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -46707,11 +46715,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
46707
46715
|
const channelName = channelInfo?.name;
|
|
46708
46716
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
46709
46717
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
46710
|
-
import("./resolve-route-
|
|
46718
|
+
import("./resolve-route-D3JH_D2N.js").then((n) => n.r),
|
|
46711
46719
|
import("./inbound-context-D5EzMeL_.js").then((n) => n.n),
|
|
46712
46720
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
46713
46721
|
]);
|
|
46714
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-
|
|
46722
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-BHuV5t70.js").then((n) => n.r)]);
|
|
46715
46723
|
const route = resolveAgentRoute({
|
|
46716
46724
|
cfg,
|
|
46717
46725
|
channel: "slack",
|
|
@@ -46768,9 +46776,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
46768
46776
|
});
|
|
46769
46777
|
const deliverSlashPayloads = async (replies) => {
|
|
46770
46778
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
46771
|
-
import("./replies-
|
|
46772
|
-
import("./chunk-
|
|
46773
|
-
import("./markdown-tables-
|
|
46779
|
+
import("./replies-fI39rPGa.js").then((n) => n.r),
|
|
46780
|
+
import("./chunk-jvk9axTQ.js").then((n) => n.s),
|
|
46781
|
+
import("./markdown-tables-Dfaqilz6.js").then((n) => n.t)
|
|
46774
46782
|
]);
|
|
46775
46783
|
await deliverSlackSlashReplies({
|
|
46776
46784
|
replies,
|
|
@@ -46823,7 +46831,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
46823
46831
|
let nativeCommands = [];
|
|
46824
46832
|
if (nativeEnabled) {
|
|
46825
46833
|
reg = await getCommandsRegistry();
|
|
46826
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
46834
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DCNXVERE.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
46827
46835
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
46828
46836
|
skillCommands,
|
|
46829
46837
|
provider: "slack"
|
|
@@ -51474,7 +51482,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
51474
51482
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
51475
51483
|
let preflightTranscript;
|
|
51476
51484
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
51477
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
51485
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DoQQKlxa.js");
|
|
51478
51486
|
preflightTranscript = await transcribeFirstAudio({
|
|
51479
51487
|
ctx: {
|
|
51480
51488
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -53619,23 +53627,23 @@ let webLoginQrPromise = null;
|
|
|
53619
53627
|
let webChannelPromise = null;
|
|
53620
53628
|
let whatsappActionsPromise = null;
|
|
53621
53629
|
function loadWebOutbound() {
|
|
53622
|
-
webOutboundPromise ??= import("./outbound-
|
|
53630
|
+
webOutboundPromise ??= import("./outbound-rF6G8Xpr.js").then((n) => n.t);
|
|
53623
53631
|
return webOutboundPromise;
|
|
53624
53632
|
}
|
|
53625
53633
|
function loadWebLogin() {
|
|
53626
|
-
webLoginPromise ??= import("./login-
|
|
53634
|
+
webLoginPromise ??= import("./login-Bh3DZPam.js").then((n) => n.n);
|
|
53627
53635
|
return webLoginPromise;
|
|
53628
53636
|
}
|
|
53629
53637
|
function loadWebLoginQr() {
|
|
53630
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
53638
|
+
webLoginQrPromise ??= import("./login-qr-DbR7odSr.js");
|
|
53631
53639
|
return webLoginQrPromise;
|
|
53632
53640
|
}
|
|
53633
53641
|
function loadWebChannel() {
|
|
53634
|
-
webChannelPromise ??= import("./web-
|
|
53642
|
+
webChannelPromise ??= import("./web-CorFnJCI.js");
|
|
53635
53643
|
return webChannelPromise;
|
|
53636
53644
|
}
|
|
53637
53645
|
function loadWhatsAppActions() {
|
|
53638
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
53646
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-CcBzDuL-.js");
|
|
53639
53647
|
return whatsappActionsPromise;
|
|
53640
53648
|
}
|
|
53641
53649
|
function createPluginRuntime() {
|
|
@@ -78078,7 +78086,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
78078
78086
|
return;
|
|
78079
78087
|
}
|
|
78080
78088
|
try {
|
|
78081
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
78089
|
+
const { deliverOutboundPayloads } = await import("./deliver-BZ6iNLl7.js").then((n) => n.n);
|
|
78082
78090
|
await deliverOutboundPayloads({
|
|
78083
78091
|
cfg: params.cfg,
|
|
78084
78092
|
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-C3gMMKCU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
package/dist/plugin-sdk/{resolve-outbound-target-BiyAyTWz.js → resolve-outbound-target-BkCUbYGV.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-BbAvhC25.js";
|
|
2
|
+
import { n as missingTargetError } from "./target-errors-B7YyMnIi.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--_pGht6S.js";
|
|
4
|
+
import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-C3gMMKCU.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-BbwoUGPx.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--_pGht6S.js";
|
|
3
|
+
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-DDkdiUOR.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-OpU8HN50.js";
|
|
5
|
+
import { E as runExec } from "./agent-scope-C3gMMKCU.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-Bnp6LXEx.js";
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-Ckk1QfzI.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-BOYy0Ump.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CVBMpnPc.js";
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
@@ -899,7 +899,7 @@ async function loadModelCatalog(params) {
|
|
|
899
899
|
});
|
|
900
900
|
try {
|
|
901
901
|
await ensureSymiModelsJson(params?.config ?? loadConfig());
|
|
902
|
-
await (await import("./pi-auth-json-
|
|
902
|
+
await (await import("./pi-auth-json-CJk8t14T.js")).ensurePiAuthJsonFromAuthProfiles(resolveSymiAgentDir());
|
|
903
903
|
const piSdk = await importPiSdk();
|
|
904
904
|
const agentDir = resolveSymiAgentDir();
|
|
905
905
|
const { join } = await import("node:path");
|
|
@@ -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--_pGht6S.js";
|
|
3
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-Bnp6LXEx.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-DR0NmBeH.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-Dtszw3Zn.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DnVQfTG2.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -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-DDkdiUOR.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-Bnp6LXEx.js";
|
|
6
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-Fb3qpcis.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-BToL3HlP.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DnVQfTG2.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-
|
|
3
|
-
import { K as logVerbose } from "./registry
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-BbAvhC25.js";
|
|
3
|
+
import { K as logVerbose } from "./registry--_pGht6S.js";
|
|
4
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
5
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-Fb3qpcis.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-jvk9axTQ.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|
|
@@ -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-BbAvhC25.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--_pGht6S.js";
|
|
5
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-ilSJqnz9.js";
|
|
6
|
+
import { n as loadConfig } from "./config-DDkdiUOR.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-Ji7f0gqq.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-Bnp6LXEx.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-Fb3qpcis.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-jvk9axTQ.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dfaqilz6.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-DR0NmBeH.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";
|