@symerian/symi 3.0.0 → 3.0.2
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-D4F5bhNg.js → agents-DEYqmFEH.js} +4 -4
- package/dist/{agents.config-DS9Gbqqg.js → agents.config-ClI9Q05l.js} +1 -1
- package/dist/{agents.config-Czr0DbSr.js → agents.config-TArPtTFt.js} +1 -1
- package/dist/{audio-preflight-DmBkV1WW.js → audio-preflight-DrG2ef4O.js} +4 -4
- package/dist/{auth-choice-BU6XwruP.js → auth-choice-bOht3his.js} +1 -1
- package/dist/{auth-choice-DU5o68ia.js → auth-choice-kJVkaHx6.js} +1 -1
- package/dist/{banner-qaKrETF8.js → banner--HSjGLhi.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-Bkfyg4nZ.js → channel-options-C68HZtw7.js} +1 -1
- package/dist/{channel-options-DW3nWxkv.js → channel-options-Cj2ZMHvy.js} +1 -1
- package/dist/{channel-web-DoDJqXyN.js → channel-web-BGZxsb8l.js} +1 -1
- package/dist/{channels-cli-B9tesYLD.js → channels-cli-C775zJjx.js} +6 -6
- package/dist/{channels-cli-V7ii1g6k.js → channels-cli-CLkq2ISd.js} +6 -6
- package/dist/{chrome-CEoepEf7.js → chrome-X5wmeW9f.js} +7 -7
- package/dist/{cli-0GHBNwqe.js → cli-8ibydSgl.js} +3 -3
- package/dist/{cli-CAhOnKQ3.js → cli-B2FVKvPQ.js} +3 -3
- package/dist/{command-registry-DaaL0zdd.js → command-registry-C-c2RS-n.js} +10 -10
- package/dist/{completion-cli-DgU-3Coq.js → completion-cli-BLO_wsYD.js} +2 -2
- package/dist/{completion-cli-DN-RtQVJ.js → completion-cli-IKI4BpqL.js} +1 -1
- package/dist/{config-cli-BXus9Npr.js → config-cli-Bh8aPiiL.js} +1 -1
- package/dist/{config-cli-DLSg0aaH.js → config-cli-d4RU82ov.js} +1 -1
- package/dist/{configure-BsrDBB87.js → configure-DKmHXbug.js} +3 -3
- package/dist/{configure-CPweqV68.js → configure-jxJfT5_B.js} +3 -3
- package/dist/{deliver-BcO15sSJ.js → deliver-BfgRx_NK.js} +1 -1
- package/dist/{doctor-completion-DDRzOB_0.js → doctor-completion-C7SuoBlz.js} +1 -1
- package/dist/{doctor-completion-3QRenbxU.js → doctor-completion-VAGhCLD5.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-BDKmjeLd.js → gateway-cli-BELyZGAU.js} +12 -12
- package/dist/{gateway-cli-TrMaJClE.js → gateway-cli-D_SJFv7K.js} +12 -12
- package/dist/{glass-ui-ws-DXTgN-H4.js → glass-ui-ws-0agRdhZD.js} +10 -10
- package/dist/{glass-ui-ws-DskZ74Lv.js → glass-ui-ws-qPJDDUD9.js} +10 -10
- package/dist/{health-ByAPhIlQ.js → health-BnGM6Yux.js} +69 -5
- package/dist/{health-VfVqsLcU.js → health-CCKCR4oM.js} +69 -5
- package/dist/{heartbeat-visibility-BdqXBLOd.js → heartbeat-visibility-C4Sg0QOd.js} +1 -1
- package/dist/{heartbeat-visibility-ol7hy6FB.js → heartbeat-visibility-CG080wT5.js} +1 -1
- package/dist/{hooks-cli-CA2ikPts.js → hooks-cli-B2WVvhgH.js} +4 -4
- package/dist/{hooks-cli-D8u-iqwZ.js → hooks-cli-CtuiPrKW.js} +4 -4
- package/dist/{image-DjI2DS-A.js → image-C2w5iw4N.js} +1 -1
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{manager-DfZDS6-4.js → manager-B6EhIj3H.js} +1 -1
- package/dist/{manager-DPxj_q1-.js → manager-DKUOUCmo.js} +1 -1
- package/dist/{manager-CqFMqOz2.js → manager-Mm_GQxOU.js} +1 -1
- package/dist/{manager-CoRjrijj.js → manager-zwcQLMln.js} +1 -1
- package/dist/{memory-cli-Bjj5cTuq.js → memory-cli-BEZM7jn9.js} +3 -3
- package/dist/{memory-cli-D_O5bN6m.js → memory-cli-D4lLSeA1.js} +3 -3
- package/dist/{models-CD7SOI3V.js → models-ElQijvpq.js} +2 -2
- package/dist/{models-cli-Wjh_xd50.js → models-cli-14U59ejI.js} +5 -5
- package/dist/{models-cli-Dj5BnQIi.js → models-cli-Dtf5Zpgd.js} +4 -4
- package/dist/{onboard-Drb1PCcl.js → onboard-CaYQVQYI.js} +2 -2
- package/dist/{onboard-IAR3I39i.js → onboard-DN2xgEv1.js} +2 -2
- package/dist/{onboard-channels-DKFmls3m.js → onboard-channels-B1fWI5k5.js} +1 -1
- package/dist/{onboard-channels-CHJjmcTz.js → onboard-channels-C5sKGabO.js} +1 -1
- package/dist/{onboarding-Chz9Yx55.js → onboarding-BngFnwT6.js} +3 -3
- package/dist/{onboarding-CwqlRK4O.js → onboarding-DNIz481s.js} +3 -3
- package/dist/{onboarding.finalize-Ct-VGRnB.js → onboarding.finalize-B-x_trN9.js} +8 -8
- package/dist/{onboarding.finalize-WjjP_0CW.js → onboarding.finalize-BA8-Tnhc.js} +9 -9
- package/dist/{pi-embedded-DxT29Go3.js → pi-embedded-DUJ9Ytfn.js} +53 -10
- package/dist/{pi-embedded-helpers-CjEVVoTf.js → pi-embedded-helpers-YSU-xmLw.js} +4 -4
- package/dist/{plugin-registry-BMavDLfZ.js → plugin-registry-C1xFJkog.js} +1 -1
- package/dist/{plugin-registry-CO6iA1TE.js → plugin-registry-CZS8ioCg.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-BaxIPBYG.js → active-listener-BtNt_ynZ.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BREbt-rZ.js → agent-scope-RSN8nr_m.js} +2 -2
- package/dist/plugin-sdk/agents/system-prompt.d.ts +8 -0
- package/dist/plugin-sdk/{audio-preflight-oPLbNsg4.js → audio-preflight-DyE23t6_.js} +24 -24
- package/dist/plugin-sdk/{bindings-Da0i5ERM.js → bindings-DhPQDTtp.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DoC1xtDu.js → channel-activity-Ji7f0gqq.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CtT9qPjD.js → channel-web-B_XlrV_E.js} +22 -22
- package/dist/plugin-sdk/{chrome-DyXmGM1Y.js → chrome-CyqYohvz.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-U7C6ILZe.js → commands-registry-L_7UhT9Y.js} +4 -4
- package/dist/plugin-sdk/{config-BgqINjIZ.js → config-BBBu18xQ.js} +9 -9
- package/dist/plugin-sdk/{consolidate-DHzE-Epp.js → consolidate-BieO-_k_.js} +2 -2
- package/dist/plugin-sdk/{deliver-CDLS-HVj.js → deliver-DlszQYmY.js} +9 -9
- package/dist/plugin-sdk/{diagnostic-Jo7QixCi.js → diagnostic-fnIb_o_V.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-D343zUg3.js → gemini-auth-lC1AI-WK.js} +1 -1
- package/dist/plugin-sdk/{image-D45d_Nd3.js → image-B7fj8HDX.js} +4 -4
- package/dist/plugin-sdk/{image-ops-DZ8OTT0B.js → image-ops-C_3iBQe1.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/infra/active-heartbeat-runs.d.ts +34 -0
- package/dist/plugin-sdk/{ir-DfsDN6C5.js → ir-DrnNua4p.js} +4 -4
- package/dist/plugin-sdk/{local-roots-CxzyCF23.js → local-roots-8f4AroIC.js} +3 -3
- package/dist/plugin-sdk/{login-CU_zE92A.js → login-CyvTx8vo.js} +7 -7
- package/dist/plugin-sdk/{login-qr-BBscsWcH.js → login-qr-BrriW04P.js} +9 -9
- package/dist/plugin-sdk/{manager-B8P6Yq-7.js → manager-CJd0vK4S.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-BRx4JDK0.js → manifest-registry-hy3Bn-r9.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-BBiVsk1q.js → markdown-tables-ivSTmsOn.js} +1 -1
- package/dist/plugin-sdk/{message-channel-COTAJzHd.js → message-channel-BdI5Ra9S.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CEmLgc1B.js → model-selection-C4aoKWwG.js} +4 -4
- package/dist/plugin-sdk/{outbound-CweCP-RC.js → outbound-BSvVzptG.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-V-8HPvXC.js → outbound-attachment-qB-kgb_3.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-C0qSz7xs.js → pi-auth-json-BOqOPkC8.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-asvl8__K.js → pi-embedded-helpers-YqYJ6xU1.js} +17 -17
- package/dist/plugin-sdk/{plugins-DRWyzk5i.js → plugins-muf5lfx-.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-B6fLZ8HM.js → pw-ai-gM6yaHqF.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-BvQckdNY.js → qmd-manager-Chj9aSN5.js} +4 -4
- package/dist/plugin-sdk/{registry-D0xTnUWt.js → registry--_pGht6S.js} +2 -2
- package/dist/plugin-sdk/{replies-DzCaEpUj.js → replies-DSQPFi22.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-BKFQ9roP.js → reply-prefix-CDeu1pum.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BHmUS6gT.js → resolve-outbound-target-BkHNUpdB.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B34r6gNi.js → resolve-route-kXW9e3Go.js} +3 -3
- package/dist/plugin-sdk/{retry-CwQ_iIj8.js → retry-ilSJqnz9.js} +1 -1
- package/dist/plugin-sdk/{runner-BWy5NYNx.js → runner-BlpNMrRR.js} +9 -9
- package/dist/plugin-sdk/{send-pza53xsP.js → send-BFgIVWNv.js} +10 -10
- package/dist/plugin-sdk/{send-BC_Y8nDM.js → send-BiFmiUGO.js} +6 -6
- package/dist/plugin-sdk/{send-DUfFro3g.js → send-Bk5faAPw.js} +7 -7
- package/dist/plugin-sdk/{send-C-afSgyi.js → send-CoeS45WV.js} +10 -10
- package/dist/plugin-sdk/{send-DT8_eMi3.js → send-D7cDnHjD.js} +6 -6
- package/dist/plugin-sdk/{session-fZxyq4tk.js → session-DQFKtWpn.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-BbDN1TCd.js → skill-commands-KAESVtAf.js} +5 -5
- package/dist/plugin-sdk/{skills-BDwS4XUE.js → skills-ksP6m2tL.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DLwYpBWC.js → sqlite-BflKfcLD.js} +1 -1
- package/dist/plugin-sdk/{store-Dt1oCaOn.js → store-uf7TpQm3.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B2uDN3TV.js → subsystem-Coz2AgU8.js} +1 -1
- package/dist/plugin-sdk/{synthesis-BM8DjW1l.js → synthesis-Cre_3fLT.js} +49 -49
- package/dist/plugin-sdk/{tables-MCQfYFPK.js → tables-DE2W8BrP.js} +1 -1
- package/dist/plugin-sdk/{target-errors-BGT90lj4.js → target-errors-Dqf_-SRz.js} +2 -2
- package/dist/plugin-sdk/{thinking-qM2Kzm92.js → thinking-Bq90REOa.js} +5 -5
- package/dist/plugin-sdk/{tokens-CVWPo-HD.js → tokens-D-HI9PZG.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DvOrYSAO.js → tool-images-DAXbRHJ1.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-gmtzSlNZ.js → tool-loop-detection-DseOlBug.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-C-JKQZeN.js → unified-runner-BNQKFoGX.js} +126 -83
- package/dist/plugin-sdk/web-CE-OsTKq.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-CifeR0vD.js → whatsapp-actions-CTJUT0cR.js} +21 -21
- package/dist/{plugins-cli-2A8lifj4.js → plugins-cli-BGccb2gT.js} +4 -4
- package/dist/{plugins-cli-DhQzD98q.js → plugins-cli-f_Ncophh.js} +4 -4
- package/dist/{program-CYIJpXWz.js → program-5Hto31sk.js} +9 -9
- package/dist/{program-context-BgMoXWsF.js → program-context-Baw4Oc1H.js} +18 -18
- package/dist/{prompt-select-styled-DObyq0uk.js → prompt-select-styled-Cm6mr7mH.js} +6 -6
- package/dist/{prompt-select-styled-C3m_PpBH.js → prompt-select-styled-DHSySGF2.js} +6 -6
- package/dist/{provider-auth-helpers-COKxBW7N.js → provider-auth-helpers-FdlXX50k.js} +1 -1
- package/dist/{provider-auth-helpers-eQzmopYc.js → provider-auth-helpers-_aPYnJCR.js} +1 -1
- package/dist/{push-apns-CBPUnPja.js → push-apns-DnMyTqrU.js} +1 -1
- package/dist/{push-apns-kuIc4QSa.js → push-apns-Dusza10V.js} +1 -1
- package/dist/{pw-ai-BMQCVzKh.js → pw-ai-hPAkCert.js} +1 -1
- package/dist/{register.agent-CNpLOx-Y.js → register.agent-DibuuULq.js} +7 -7
- package/dist/{register.agent-Bj4dYxX1.js → register.agent-TI-lzUMT.js} +8 -8
- package/dist/{register.configure-BsXY0hbE.js → register.configure-BbBU2vzP.js} +9 -9
- package/dist/{register.configure-CM4isxt8.js → register.configure-CE6z4EEp.js} +9 -9
- package/dist/{register.maintenance-DMOXSQA2.js → register.maintenance-D_cRwoi6.js} +11 -11
- package/dist/{register.maintenance-DM51x3yc.js → register.maintenance-Dsw96Q5M.js} +10 -10
- package/dist/{register.message-C4WU4qwG.js → register.message-7JdfRDPR.js} +4 -4
- package/dist/{register.message-CuJ6kd3Y.js → register.message-BqRfLqBs.js} +4 -4
- package/dist/{register.onboard-D3y9TqoD.js → register.onboard-7iv0kkQk.js} +7 -7
- package/dist/{register.onboard-DCHLQIAC.js → register.onboard-Ca5HGO6E.js} +7 -7
- package/dist/{register.setup-DqCEYsbe.js → register.setup-Cy3cIayc.js} +7 -7
- package/dist/{register.setup-CXSnv3HV.js → register.setup-D7AKohSt.js} +7 -7
- package/dist/{register.status-health-sessions-CRAYzQLg.js → register.status-health-sessions-BW51mzBs.js} +6 -6
- package/dist/{register.status-health-sessions-B4hENuHX.js → register.status-health-sessions-DOkSVuJk.js} +6 -6
- package/dist/{register.subclis-DveftjNP.js → register.subclis-p-z6ekaE.js} +9 -9
- package/dist/{run-main-eRV1HlMM.js → run-main-BhEacTM9.js} +17 -17
- package/dist/{runner-CiwpU1fr.js → runner-7_mUx-F3.js} +1 -1
- package/dist/{server-methods-BvZAHGv9.js → server-methods-Bcwa782q.js} +15 -9
- package/dist/{server-methods-D5pZnR5d.js → server-methods-C8ff27p5.js} +15 -9
- package/dist/{server-node-events-Bzoq_nfx.js → server-node-events-B85y_7eX.js} +4 -4
- package/dist/{server-node-events-Ccoeyw6p.js → server-node-events-h8Af4ZTV.js} +4 -4
- package/dist/{status-CyHHusPc.js → status-DFBG2hcx.js} +1 -1
- package/dist/{status-BEAngZOJ.js → status-DUGaRGN0.js} +3 -3
- package/dist/{status-OAdlubd0.js → status-DsaLdb09.js} +3 -3
- package/dist/{status-BdKI8eQ7.js → status-JL0CD-E1.js} +1 -1
- package/dist/{subagent-registry-UkXCmOLK.js → subagent-registry-DXCGIrYv.js} +53 -10
- package/dist/{synthesis-CLJNKZZp.js → synthesis-BUbH-4DA.js} +7 -7
- package/dist/{synthesis-Cz0j1tA_.js → synthesis-BxwFFuqZ.js} +2 -2
- package/dist/{synthesis-DGBPTml_.js → synthesis-CLt-6Pzu.js} +3 -3
- package/dist/{synthesis-D_fSgB6z.js → synthesis-ekn511D_.js} +3 -3
- package/dist/{unified-runner-BNTy0IvK.js → unified-runner-CdBxbcO2.js} +53 -10
- package/dist/{unified-runner-DjDCpNJ_.js → unified-runner-DtJxJ016.js} +67 -24
- package/dist/{update-cli-F9Gn92cu.js → update-cli-4OzLcQIF.js} +10 -10
- package/dist/{update-cli-WrjpqFs1.js → update-cli-CQbvni-d.js} +11 -11
- package/dist/{update-runner-C3OhMuSJ.js → update-runner-CiYhkA5I.js} +1 -1
- package/dist/{update-runner-DkNNsx67.js → update-runner-DLCzD7sp.js} +1 -1
- package/dist/{web-CQ3lRgfP.js → web-COnC7jb4.js} +2 -2
- package/dist/{web-Dsrpq6ah.js → web-CSDi520u.js} +7 -7
- package/dist/{web-Cp_dpAof.js → web-DMFKXi8s.js} +5 -5
- package/dist/{web-DtgGgNSl.js → web-DiqLVzt7.js} +4 -4
- 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-__pZRSy9.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-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-muf5lfx-.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 logWarn, C as resolveSymiPackageRootSync, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRoot, T as runExec, a as resolveAgentSkillsFilter, b as filterBootstrapFilesForSession, c as resolveEffectiveModelFallbacks, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelPrimary, k as logInfo, l as resolveSessionAgentId, m as DEFAULT_IDENTITY_FILENAME, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentIds, u as resolveSessionAgentIds, w as runCommandWithTimeout, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } 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-CoeS45WV.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-BBBu18xQ.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 { $ 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-C4aoKWwG.js";
|
|
16
|
+
import { A as logWarn, C as resolveSymiPackageRootSync, D as logDebug, E as spawnWithFallback, O as logError, S as resolveSymiPackageRoot, T as runExec, a as resolveAgentSkillsFilter, b as filterBootstrapFilesForSession, c as resolveEffectiveModelFallbacks, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelPrimary, k as logInfo, l as resolveSessionAgentId, m as DEFAULT_IDENTITY_FILENAME, n as resolveAgentConfig, o as resolveAgentWorkspaceDir, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveDefaultAgentId, t as listAgentIds, u as resolveSessionAgentIds, w as runCommandWithTimeout, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-RSN8nr_m.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-hy3Bn-r9.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, 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, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-C_3iBQe1.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-8f4AroIC.js";
|
|
24
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-DrnNua4p.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 extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as addChannelAllowFromStoreEntry, H as firstDefined$1, I as resolveTelegramReplyId, J as removeChannelAllowFromStoreEntry, K as readChannelAllowFromStore, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as isVoiceCompatibleAudio, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as getPairingAdapter, Y as upsertChannelPairingRequest, Z as listPairingChannels, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-
|
|
35
|
-
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, 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 { i as isSilentReplyText, 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, h as parseFrontmatterBlock, 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 { a as normalizeOutboundPayloadsForJson, c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as normalizeOutboundPayloads, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, r as formatOutboundPayloadLog, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-
|
|
45
|
-
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as INPUT_PROVENANCE_KIND_VALUES, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetType, C as isFailoverAssistantError, Ct as normalizeDeliveryContext, D as isRawApiErrorPayload, Dt as capArrayByJsonBytes, E as isRateLimitAssistantError, Et as archiveSessionTranscripts, F as resolveSandboxRuntimeStatus, Ft as resolveSessionLockMaxHoldFromTimeout, G as applyOwnerOnlyToolPolicy, Gt as resolveExplicitAgentSessionKey, H as getBridgeAuthForPort, Ht as DEFAULT_RESET_TRIGGERS, I as createBrowserRouteContext, It as resolveSessionKey, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as evaluateSessionFreshness, M as sanitizeUserFacingText, Mt as hasInterSessionUserProvenance, N as ensureSandboxWorkspaceForSession, Nt as normalizeInputProvenance, O as isTimeoutErrorMessage, Ot as countToolResults, P as resolveSandboxContext, Pt as acquireSessionWriteLock, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as resolveChannelResetConfig, S as isContextOverflowError, St as mergeDeliveryContext, T as isLikelyContextOverflowError, Tt as normalizeAccountId$3, U as ensureBrowserControlAuth, Ut as resolveFreshSessionTotalTokens, V as resolveExistingPathsWithinRoot, Vt as resolveThreadFlag, W as resolveBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateSessionStoreEntry, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as deliveryContextFromSession, c as extractToolResultId, ct as parseSessionThreadInfo, d as isGoogleModelApi, dt as resolveAndPersistSessionFile, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as loadSessionStore, g as formatRawAssistantErrorForUi, gt as updateSessionStore, h as formatBillingErrorMessage, ht as updateLastRoute, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as applyInputProvenanceToUserMessage, k as isTransientHttpError, kt as extractToolCallNames, l as downgradeOpenAIReasoningBlocks, lt as appendAssistantMessageToSessionTranscript, m as formatAssistantErrorText, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as readSessionUpdatedAt, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, st as extractDeliveryInfo, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, v as isAuthAssistantError, vt as isCacheEnabled, w as isFailoverErrorMessage, wt as normalizeSessionDeliveryFields, x as isCompactionFailureError, xt as deliveryContextKey, y as isBillingAssistantError, yt as resolveCacheTtlMs$1, z as resolveProfile, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-
|
|
28
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-ivSTmsOn.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-DE2W8BrP.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-Bk5faAPw.js";
|
|
31
|
+
import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-DAXbRHJ1.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-Dqf_-SRz.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-D7cDnHjD.js";
|
|
34
|
+
import { $ as parseTelegramTarget, A as extractTelegramLocation, B as normalizeAllowFromWithStore$1, C as buildTelegramGroupFrom, D as buildTypingThreadParams, E as buildTelegramThreadParams, F as resolveTelegramMediaPlaceholder, G as addChannelAllowFromStoreEntry, H as firstDefined$1, I as resolveTelegramReplyId, J as removeChannelAllowFromStoreEntry, K as readChannelAllowFromStore, L as resolveTelegramStreamMode, M as normalizeForwardedContext, N as resolveTelegramForumThreadId, O as describeReplyTarget, P as resolveTelegramGroupAllowFromContext, Q as isVoiceCompatibleAudio, R as resolveTelegramThreadSpec, S as buildSenderName, T as buildTelegramParentPeer, U as isSenderIdAllowed, V as resolveSenderAllowMatch, W as mergeAllowFromSources, X as getPairingAdapter, Y as upsertChannelPairingRequest, Z as listPairingChannels, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildGroupLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as hasBotMention, k as expandTextLinks, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramGroupPeerId, x as buildSenderLabel, y as withTelegramApiErrorLogging, z as isSenderAllowed$1 } from "./send-BFgIVWNv.js";
|
|
35
|
+
import { _ as applyTemplate, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, l as modelSupportsVision, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as runCapability, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as registerUnhandledRejectionHandler, y as buildRandomTempFilePath } from "./runner-BlpNMrRR.js";
|
|
36
|
+
import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-CDeu1pum.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as SYMIPULSE_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-D-HI9PZG.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-KAESVtAf.js";
|
|
39
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, h as parseFrontmatterBlock, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-ksP6m2tL.js";
|
|
40
|
+
import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-CyqYohvz.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-Bq90REOa.js";
|
|
42
|
+
import { r as resolveIMessageAccount } from "./accounts-Dtszw3Zn.js";
|
|
43
|
+
import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BToL3HlP.js";
|
|
44
|
+
import { a as normalizeOutboundPayloadsForJson, c as normalizeChannelTargetInput, d as parseReplyDirectives, f as MEDIA_TOKEN_RE, g as initializeGlobalHookRunner, h as getGlobalHookRunner, i as normalizeOutboundPayloads, l as normalizeTargetForProvider, m as parseInlineDirectives$1, o as normalizeReplyPayloadsForDelivery, p as splitMediaFromOutput, r as formatOutboundPayloadLog, s as buildTargetResolverSignature, t as deliverOutboundPayloads, u as throwIfAborted } from "./deliver-DlszQYmY.js";
|
|
45
|
+
import { $ as stripPluginOnlyAllowlist, A as parseImageDimensionError, At as INPUT_PROVENANCE_KIND_VALUES, B as DEFAULT_UPLOAD_DIR, Bt as resolveSessionResetType, C as isFailoverAssistantError, Ct as normalizeDeliveryContext, D as isRawApiErrorPayload, Dt as capArrayByJsonBytes, E as isRateLimitAssistantError, Et as archiveSessionTranscripts, F as resolveSandboxRuntimeStatus, Ft as resolveSessionLockMaxHoldFromTimeout, G as applyOwnerOnlyToolPolicy, Gt as resolveExplicitAgentSessionKey, H as getBridgeAuthForPort, Ht as DEFAULT_RESET_TRIGGERS, I as createBrowserRouteContext, It as resolveSessionKey, J as expandPolicyWithPluginGroups, Jt as resolveGroupSessionKey, K as buildPluginToolGroups, Kt as resolveMainSessionKey, L as registerBrowserRoutes, Lt as evaluateSessionFreshness, M as sanitizeUserFacingText, Mt as hasInterSessionUserProvenance, N as ensureSandboxWorkspaceForSession, Nt as normalizeInputProvenance, O as isTimeoutErrorMessage, Ot as countToolResults, P as resolveSandboxContext, Pt as acquireSessionWriteLock, Q as resolveToolProfilePolicy, R as resolveBrowserConfig, Rt as resolveChannelResetConfig, S as isContextOverflowError, St as mergeDeliveryContext, T as isLikelyContextOverflowError, Tt as normalizeAccountId$3, U as ensureBrowserControlAuth, Ut as resolveFreshSessionTotalTokens, V as resolveExistingPathsWithinRoot, Vt as resolveThreadFlag, W as resolveBrowserControlAuth, Wt as canonicalizeMainSessionAlias, X as mergeAlsoAllowPolicy, Y as expandToolGroups, Z as normalizeToolName, _ as getApiErrorPayloadFingerprint, _t as updateSessionStoreEntry, a as normalizeTextForComparison, at as resolveBootstrapTotalMaxChars, b as isCloudCodeAssistFormatError, bt as deliveryContextFromSession, c as extractToolResultId, ct as parseSessionThreadInfo, d as isGoogleModelApi, dt as resolveAndPersistSessionFile, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as loadSessionStore, g as formatRawAssistantErrorForUi, gt as updateSessionStore, h as formatBillingErrorMessage, ht as updateLastRoute, i as isMessagingToolDuplicateNormalized, it as resolveBootstrapMaxChars, j as parseImageSizeError, jt as applyInputProvenanceToUserMessage, k as isTransientHttpError, kt as extractToolCallNames, l as downgradeOpenAIReasoningBlocks, lt as appendAssistantMessageToSessionTranscript, m as formatAssistantErrorText, mt as recordSessionMetaFromInbound, n as validateGeminiTurns, nt as buildBootstrapContextFiles, o as sanitizeSessionMessagesImages, ot as sanitizeGoogleTurnOrdering, p as classifyFailoverReason, pt as readSessionUpdatedAt, q as collectExplicitAllowlist, qt as deriveSessionMetaPatch, r as pickFallbackThinkingLevel, rt as ensureSessionHeader, s as extractToolCallsFromAssistant, st as extractDeliveryInfo, t as validateAnthropicTurns, tt as matchesAnyGlobPattern, u as isAntigravityClaude, v as isAuthAssistantError, vt as isCacheEnabled, w as isFailoverErrorMessage, wt as normalizeSessionDeliveryFields, x as isCompactionFailureError, xt as deliveryContextKey, y as isBillingAssistantError, yt as resolveCacheTtlMs$1, z as resolveProfile, zt as resolveSessionResetPolicy } from "./pi-embedded-helpers-YqYJ6xU1.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, 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, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-fnIb_o_V.js";
|
|
50
|
+
import { i as saveMediaBuffer, r as getMediaDir } from "./store-uf7TpQm3.js";
|
|
51
51
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DnkpMfCl.js";
|
|
52
|
-
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-
|
|
53
|
-
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-
|
|
52
|
+
import { S as ensureSymiModelsJson, _ as stripMinimaxToolCallXml, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripDowngradedToolCallText, h as promoteThinkingTagsToBlocks, i as coerceImageModelConfig, l as extractAssistantThinking, m as isAssistantMessage, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as stripThinkingTagsFromText, x as extractTextFromChatContent, y as resolveToolDisplay } from "./image-B7fj8HDX.js";
|
|
53
|
+
import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-BOqOPkC8.js";
|
|
54
54
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cdz3tuFk.js";
|
|
55
|
-
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
55
|
+
import { i as resolveMemorySearchConfig, n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-CJd0vK4S.js";
|
|
56
56
|
import { c as normalizeExtraMemoryPaths, f as runTasksWithConcurrency, s as listMemoryFiles } from "./internal-BpFmQTvo.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-
|
|
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-L_7UhT9Y.js";
|
|
58
58
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-5H7RKVif.js";
|
|
59
59
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CA97QrJY.js";
|
|
60
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
60
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-BiFmiUGO.js";
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-kXW9e3Go.js";
|
|
62
62
|
import { t as makeProxyFetch } from "./proxy-DAnyKGG4.js";
|
|
63
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
64
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
63
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DSQPFi22.js";
|
|
64
|
+
import { t as getActiveWebListener } from "./active-listener-BtNt_ynZ.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";
|
|
@@ -9613,7 +9613,7 @@ async function getMemorySearchManager(params) {
|
|
|
9613
9613
|
if (cached) return { manager: cached };
|
|
9614
9614
|
}
|
|
9615
9615
|
try {
|
|
9616
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
9616
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Chj9aSN5.js");
|
|
9617
9617
|
const primary = await QmdMemoryManager.create({
|
|
9618
9618
|
cfg: params.cfg,
|
|
9619
9619
|
agentId: params.agentId,
|
|
@@ -9625,7 +9625,7 @@ async function getMemorySearchManager(params) {
|
|
|
9625
9625
|
const wrapper = new FallbackMemoryManager({
|
|
9626
9626
|
primary,
|
|
9627
9627
|
fallbackFactory: async () => {
|
|
9628
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
9628
|
+
const { MemoryIndexManager } = await import("./manager-CJd0vK4S.js").then((n) => n.t);
|
|
9629
9629
|
return await MemoryIndexManager.get(params);
|
|
9630
9630
|
}
|
|
9631
9631
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -9638,7 +9638,7 @@ async function getMemorySearchManager(params) {
|
|
|
9638
9638
|
}
|
|
9639
9639
|
}
|
|
9640
9640
|
try {
|
|
9641
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
9641
|
+
const { MemoryIndexManager } = await import("./manager-CJd0vK4S.js").then((n) => n.t);
|
|
9642
9642
|
return { manager: await MemoryIndexManager.get(params) };
|
|
9643
9643
|
} catch (err) {
|
|
9644
9644
|
return {
|
|
@@ -12104,6 +12104,40 @@ function buildSkillsJitBlocks(opts) {
|
|
|
12104
12104
|
|
|
12105
12105
|
//#endregion
|
|
12106
12106
|
//#region src/agents/system-prompt.ts
|
|
12107
|
+
/**
|
|
12108
|
+
* Read up to `limit` markdown filenames from `<workspaceDir>/memory/`,
|
|
12109
|
+
* sorted by mtime descending. Returns relative names (e.g. "2026-04-30.md")
|
|
12110
|
+
* for inlining into the system prompt — gives the agent the actual file
|
|
12111
|
+
* surface so it doesn't speculate names like "memory/2026-04-30.md" from
|
|
12112
|
+
* training-data priors. Resilient: missing dir → [], unreadable → [].
|
|
12113
|
+
*/
|
|
12114
|
+
function listWorkspaceMemoryFiles(workspaceDir, limit = 10) {
|
|
12115
|
+
if (!workspaceDir) return [];
|
|
12116
|
+
const memoryDir = path.join(workspaceDir, "memory");
|
|
12117
|
+
let entries;
|
|
12118
|
+
try {
|
|
12119
|
+
entries = fs.readdirSync(memoryDir, { withFileTypes: true });
|
|
12120
|
+
} catch {
|
|
12121
|
+
return [];
|
|
12122
|
+
}
|
|
12123
|
+
const files = [];
|
|
12124
|
+
for (const entry of entries) {
|
|
12125
|
+
if (!entry.isFile()) continue;
|
|
12126
|
+
if (!entry.name.toLowerCase().endsWith(".md")) continue;
|
|
12127
|
+
let mtimeMs = 0;
|
|
12128
|
+
try {
|
|
12129
|
+
mtimeMs = fs.statSync(path.join(memoryDir, entry.name)).mtimeMs;
|
|
12130
|
+
} catch {
|
|
12131
|
+
mtimeMs = 0;
|
|
12132
|
+
}
|
|
12133
|
+
files.push({
|
|
12134
|
+
name: entry.name,
|
|
12135
|
+
mtimeMs
|
|
12136
|
+
});
|
|
12137
|
+
}
|
|
12138
|
+
files.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
12139
|
+
return files.slice(0, limit).map((f) => f.name);
|
|
12140
|
+
}
|
|
12107
12141
|
function buildSkillsSection(params) {
|
|
12108
12142
|
if (params.isMinimal) return [];
|
|
12109
12143
|
if (params.dropCatalog) return [];
|
|
@@ -12127,13 +12161,21 @@ function buildMemorySection(params) {
|
|
|
12127
12161
|
"## Memory Recall",
|
|
12128
12162
|
"Before answering anything about prior work, decisions, dates, people, preferences, or todos: run memory_search on MEMORY.md + memory/*.md; then use memory_get to pull only the needed lines. If low confidence after search, say you checked.",
|
|
12129
12163
|
"",
|
|
12164
|
+
"**Never speculate memory file paths.** Use memory_search to find content; do not construct paths like `memory/<date>.md` from training-data priors and call read on them — that produces ENOENT spam and trips the consecutive-tool-error breaker.",
|
|
12165
|
+
"",
|
|
12130
12166
|
"Memory is split into two layers you will see as files:",
|
|
12131
12167
|
"- `MEMORY.md` — user-authored short-term memory. Hand-edited by the user; treat as ground truth they wrote themselves. Never rewrite it yourself.",
|
|
12132
|
-
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation
|
|
12133
|
-
"- `memory
|
|
12134
|
-
"",
|
|
12135
|
-
"When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it."
|
|
12168
|
+
"- `memory/symi-core.md` + `memory/symi-beliefs.md` — long-term memory automatically consolidated from repeated observations (your evolving self). Do NOT hand-edit these files: they are regenerated each consolidation cycle. When the files disagree with a fresh user statement, trust the fresh statement and write a new observation. The cycle will reconcile them.",
|
|
12169
|
+
"- New observations go in dated daily files (e.g. `memory/<today>.md`); use `memory_search` to discover what already exists rather than guessing filenames."
|
|
12136
12170
|
];
|
|
12171
|
+
const memoryFiles = (params.workspaceMemoryFiles ?? []).filter(Boolean);
|
|
12172
|
+
if (memoryFiles.length > 0) {
|
|
12173
|
+
lines.push("");
|
|
12174
|
+
lines.push("Existing memory files in this workspace (most-recently-modified first):");
|
|
12175
|
+
for (const name of memoryFiles) lines.push(`- \`memory/${name}\``);
|
|
12176
|
+
}
|
|
12177
|
+
lines.push("");
|
|
12178
|
+
lines.push("When the user explicitly asks to *remember* or *always remember* something, after writing the observation also call `memory_pin` with a distinctive query so the fact survives pruning. Call `memory_unpin` when the user says to forget it.");
|
|
12137
12179
|
if (params.citationsMode === "off") lines.push("Citations are disabled: do not mention file paths or line numbers in replies unless the user explicitly asks.");
|
|
12138
12180
|
else lines.push("Citations: include Source: <path#line> when it helps the user verify memory snippets.");
|
|
12139
12181
|
lines.push("");
|
|
@@ -12422,7 +12464,8 @@ function buildAgentSystemPrompt(params) {
|
|
|
12422
12464
|
const memorySection = buildMemorySection({
|
|
12423
12465
|
isMinimal,
|
|
12424
12466
|
availableTools,
|
|
12425
|
-
citationsMode: params.memoryCitationsMode
|
|
12467
|
+
citationsMode: params.memoryCitationsMode,
|
|
12468
|
+
workspaceMemoryFiles: listWorkspaceMemoryFiles(params.workspaceDir)
|
|
12426
12469
|
});
|
|
12427
12470
|
const docsSection = buildDocsSection({
|
|
12428
12471
|
docsPath: params.docsPath,
|
|
@@ -12708,7 +12751,7 @@ async function recordLoopOutcome(args) {
|
|
|
12708
12751
|
if (!args.ctx?.sessionKey) return;
|
|
12709
12752
|
try {
|
|
12710
12753
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DnkpMfCl.js").then((n) => n.n);
|
|
12711
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
12754
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-DseOlBug.js");
|
|
12712
12755
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
12713
12756
|
sessionKey: args.ctx.sessionKey,
|
|
12714
12757
|
sessionId: args.ctx?.agentId
|
|
@@ -12729,8 +12772,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
12729
12772
|
const params = args.params;
|
|
12730
12773
|
if (args.ctx?.sessionKey) {
|
|
12731
12774
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DnkpMfCl.js").then((n) => n.n);
|
|
12732
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
12733
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
12775
|
+
const { logToolLoopAction } = await import("./diagnostic-fnIb_o_V.js").then((n) => n.n);
|
|
12776
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DseOlBug.js");
|
|
12734
12777
|
const sessionState = getDiagnosticSessionState({
|
|
12735
12778
|
sessionKey: args.ctx.sessionKey,
|
|
12736
12779
|
sessionId: args.ctx?.agentId
|
|
@@ -13829,7 +13872,7 @@ async function routeReply(params) {
|
|
|
13829
13872
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
13830
13873
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
13831
13874
|
try {
|
|
13832
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
13875
|
+
const { deliverOutboundPayloads } = await import("./deliver-DlszQYmY.js").then((n) => n.n);
|
|
13833
13876
|
return {
|
|
13834
13877
|
ok: true,
|
|
13835
13878
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -14011,7 +14054,7 @@ function normalizeSessionKey(value) {
|
|
|
14011
14054
|
function readSessionStore(storePath) {
|
|
14012
14055
|
try {
|
|
14013
14056
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
14014
|
-
const parsed =
|
|
14057
|
+
const parsed = json5.parse(raw);
|
|
14015
14058
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
14016
14059
|
} catch {}
|
|
14017
14060
|
return {};
|
|
@@ -19727,7 +19770,7 @@ async function createModelSelectionState(params) {
|
|
|
19727
19770
|
}
|
|
19728
19771
|
}
|
|
19729
19772
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
19730
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
19773
|
+
const { ensureAuthProfileStore } = await import("./model-selection-C4aoKWwG.js").then((n) => n.O);
|
|
19731
19774
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
19732
19775
|
const providerKey = normalizeProviderId(provider);
|
|
19733
19776
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -43239,7 +43282,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
43239
43282
|
return;
|
|
43240
43283
|
}
|
|
43241
43284
|
try {
|
|
43242
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
43285
|
+
const { deliverOutboundPayloads } = await import("./deliver-DlszQYmY.js").then((n) => n.n);
|
|
43243
43286
|
await deliverOutboundPayloads({
|
|
43244
43287
|
cfg: params.cfg,
|
|
43245
43288
|
channel,
|
|
@@ -47317,7 +47360,7 @@ async function describeStickerImage(params) {
|
|
|
47317
47360
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
47318
47361
|
try {
|
|
47319
47362
|
const buffer = await fs$1.readFile(imagePath);
|
|
47320
|
-
const { describeImageWithModel } = await import("./image-
|
|
47363
|
+
const { describeImageWithModel } = await import("./image-B7fj8HDX.js").then((n) => n.n);
|
|
47321
47364
|
return (await describeImageWithModel({
|
|
47322
47365
|
buffer,
|
|
47323
47366
|
fileName: "sticker.webp",
|
|
@@ -47728,7 +47771,7 @@ function createWhatsAppLoginTool() {
|
|
|
47728
47771
|
force: Type.Optional(Type.Boolean())
|
|
47729
47772
|
}),
|
|
47730
47773
|
execute: async (_toolCallId, args) => {
|
|
47731
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
47774
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BrriW04P.js");
|
|
47732
47775
|
if ((args?.action ?? "start") === "wait") {
|
|
47733
47776
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
47734
47777
|
return {
|
|
@@ -49841,7 +49884,7 @@ async function preflightDiscordMessage(params) {
|
|
|
49841
49884
|
let preflightTranscript;
|
|
49842
49885
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
49843
49886
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
49844
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
49887
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DyE23t6_.js");
|
|
49845
49888
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
49846
49889
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
49847
49890
|
ctx: {
|
|
@@ -54566,27 +54609,27 @@ function setCliSessionId(entry, provider, sessionId) {
|
|
|
54566
54609
|
function createDefaultDeps() {
|
|
54567
54610
|
return {
|
|
54568
54611
|
sendMessageWhatsApp: async (...args) => {
|
|
54569
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
54612
|
+
const { sendMessageWhatsApp } = await import("./web-CE-OsTKq.js");
|
|
54570
54613
|
return await sendMessageWhatsApp(...args);
|
|
54571
54614
|
},
|
|
54572
54615
|
sendMessageTelegram: async (...args) => {
|
|
54573
|
-
const { sendMessageTelegram } = await import("./send-
|
|
54616
|
+
const { sendMessageTelegram } = await import("./send-BFgIVWNv.js").then((n) => n.l);
|
|
54574
54617
|
return await sendMessageTelegram(...args);
|
|
54575
54618
|
},
|
|
54576
54619
|
sendMessageDiscord: async (...args) => {
|
|
54577
|
-
const { sendMessageDiscord } = await import("./send-
|
|
54620
|
+
const { sendMessageDiscord } = await import("./send-CoeS45WV.js").then((n) => n.t);
|
|
54578
54621
|
return await sendMessageDiscord(...args);
|
|
54579
54622
|
},
|
|
54580
54623
|
sendMessageSlack: async (...args) => {
|
|
54581
|
-
const { sendMessageSlack } = await import("./send-
|
|
54624
|
+
const { sendMessageSlack } = await import("./send-D7cDnHjD.js").then((n) => n.n);
|
|
54582
54625
|
return await sendMessageSlack(...args);
|
|
54583
54626
|
},
|
|
54584
54627
|
sendMessageSignal: async (...args) => {
|
|
54585
|
-
const { sendMessageSignal } = await import("./send-
|
|
54628
|
+
const { sendMessageSignal } = await import("./send-BiFmiUGO.js").then((n) => n.i);
|
|
54586
54629
|
return await sendMessageSignal(...args);
|
|
54587
54630
|
},
|
|
54588
54631
|
sendMessageIMessage: async (...args) => {
|
|
54589
|
-
const { sendMessageIMessage } = await import("./send-
|
|
54632
|
+
const { sendMessageIMessage } = await import("./send-Bk5faAPw.js").then((n) => n.n);
|
|
54590
54633
|
return await sendMessageIMessage(...args);
|
|
54591
54634
|
}
|
|
54592
54635
|
};
|
|
@@ -64404,7 +64447,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
64404
64447
|
}
|
|
64405
64448
|
let commandsRegistry;
|
|
64406
64449
|
async function getCommandsRegistry() {
|
|
64407
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
64450
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-L_7UhT9Y.js").then((n) => n.n);
|
|
64408
64451
|
return commandsRegistry;
|
|
64409
64452
|
}
|
|
64410
64453
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -64746,11 +64789,11 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64746
64789
|
const channelName = channelInfo?.name;
|
|
64747
64790
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
64748
64791
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
64749
|
-
import("./resolve-route-
|
|
64792
|
+
import("./resolve-route-kXW9e3Go.js").then((n) => n.r),
|
|
64750
64793
|
import("./inbound-context-5H7RKVif.js").then((n) => n.n),
|
|
64751
64794
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
64752
64795
|
]);
|
|
64753
|
-
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-
|
|
64796
|
+
const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-CDeu1pum.js").then((n) => n.r)]);
|
|
64754
64797
|
const route = resolveAgentRoute({
|
|
64755
64798
|
cfg,
|
|
64756
64799
|
channel: "slack",
|
|
@@ -64807,9 +64850,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64807
64850
|
});
|
|
64808
64851
|
const deliverSlashPayloads = async (replies) => {
|
|
64809
64852
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
64810
|
-
import("./replies-
|
|
64811
|
-
import("./chunk-
|
|
64812
|
-
import("./markdown-tables-
|
|
64853
|
+
import("./replies-DSQPFi22.js").then((n) => n.r),
|
|
64854
|
+
import("./chunk-jvk9axTQ.js").then((n) => n.s),
|
|
64855
|
+
import("./markdown-tables-ivSTmsOn.js").then((n) => n.t)
|
|
64813
64856
|
]);
|
|
64814
64857
|
await deliverSlackSlashReplies({
|
|
64815
64858
|
replies,
|
|
@@ -64862,7 +64905,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
64862
64905
|
let nativeCommands = [];
|
|
64863
64906
|
if (nativeEnabled) {
|
|
64864
64907
|
reg = await getCommandsRegistry();
|
|
64865
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
64908
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-KAESVtAf.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
64866
64909
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
64867
64910
|
skillCommands,
|
|
64868
64911
|
provider: "slack"
|
|
@@ -67080,7 +67123,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
67080
67123
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
67081
67124
|
let preflightTranscript;
|
|
67082
67125
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
67083
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
67126
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DyE23t6_.js");
|
|
67084
67127
|
preflightTranscript = await transcribeFirstAudio({
|
|
67085
67128
|
ctx: {
|
|
67086
67129
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -69225,23 +69268,23 @@ let webLoginQrPromise = null;
|
|
|
69225
69268
|
let webChannelPromise = null;
|
|
69226
69269
|
let whatsappActionsPromise = null;
|
|
69227
69270
|
function loadWebOutbound() {
|
|
69228
|
-
webOutboundPromise ??= import("./outbound-
|
|
69271
|
+
webOutboundPromise ??= import("./outbound-BSvVzptG.js").then((n) => n.t);
|
|
69229
69272
|
return webOutboundPromise;
|
|
69230
69273
|
}
|
|
69231
69274
|
function loadWebLogin() {
|
|
69232
|
-
webLoginPromise ??= import("./login-
|
|
69275
|
+
webLoginPromise ??= import("./login-CyvTx8vo.js").then((n) => n.n);
|
|
69233
69276
|
return webLoginPromise;
|
|
69234
69277
|
}
|
|
69235
69278
|
function loadWebLoginQr() {
|
|
69236
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
69279
|
+
webLoginQrPromise ??= import("./login-qr-BrriW04P.js");
|
|
69237
69280
|
return webLoginQrPromise;
|
|
69238
69281
|
}
|
|
69239
69282
|
function loadWebChannel() {
|
|
69240
|
-
webChannelPromise ??= import("./web-
|
|
69283
|
+
webChannelPromise ??= import("./web-CE-OsTKq.js");
|
|
69241
69284
|
return webChannelPromise;
|
|
69242
69285
|
}
|
|
69243
69286
|
function loadWhatsAppActions() {
|
|
69244
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
69287
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-CTJUT0cR.js");
|
|
69245
69288
|
return whatsappActionsPromise;
|
|
69246
69289
|
}
|
|
69247
69290
|
function createPluginRuntime() {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-D9zGZU5t.js";
|
|
2
|
+
import "./unified-runner-BNQKFoGX.js";
|
|
3
|
+
import "./paths-DR2yt_mP.js";
|
|
4
|
+
import "./github-copilot-token-D9X2phUj.js";
|
|
5
|
+
import "./plugins-muf5lfx-.js";
|
|
6
|
+
import "./fetch-CUNoPTKm.js";
|
|
7
|
+
import "./registry--_pGht6S.js";
|
|
8
|
+
import "./retry-ilSJqnz9.js";
|
|
9
|
+
import "./send-CoeS45WV.js";
|
|
10
|
+
import "./config-BBBu18xQ.js";
|
|
11
|
+
import "./subsystem-Coz2AgU8.js";
|
|
12
|
+
import "./command-format-DSdvQ_M5.js";
|
|
13
|
+
import "./model-selection-C4aoKWwG.js";
|
|
14
|
+
import "./agent-scope-RSN8nr_m.js";
|
|
15
|
+
import "./manifest-registry-hy3Bn-r9.js";
|
|
16
|
+
import "./redact-DPnDWsnT.js";
|
|
17
|
+
import "./errors-Bv8oZiTO.js";
|
|
18
|
+
import "./channel-activity-Ji7f0gqq.js";
|
|
19
|
+
import "./image-ops-C_3iBQe1.js";
|
|
20
|
+
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
+
import "./local-roots-8f4AroIC.js";
|
|
22
|
+
import "./ir-DrnNua4p.js";
|
|
23
|
+
import "./chunk-jvk9axTQ.js";
|
|
24
|
+
import "./message-channel-BdI5Ra9S.js";
|
|
25
|
+
import "./bindings-DhPQDTtp.js";
|
|
26
|
+
import "./markdown-tables-ivSTmsOn.js";
|
|
27
|
+
import "./render-BiJZ5W4Z.js";
|
|
28
|
+
import "./tables-DE2W8BrP.js";
|
|
29
|
+
import "./send-Bk5faAPw.js";
|
|
30
|
+
import "./tool-images-DAXbRHJ1.js";
|
|
31
|
+
import "./target-errors-Dqf_-SRz.js";
|
|
32
|
+
import "./send-D7cDnHjD.js";
|
|
33
|
+
import "./send-BFgIVWNv.js";
|
|
34
|
+
import "./runner-BlpNMrRR.js";
|
|
35
|
+
import "./reply-prefix-CDeu1pum.js";
|
|
36
|
+
import "./tokens-D-HI9PZG.js";
|
|
37
|
+
import "./skill-commands-KAESVtAf.js";
|
|
38
|
+
import "./skills-ksP6m2tL.js";
|
|
39
|
+
import "./chrome-CyqYohvz.js";
|
|
40
|
+
import "./thinking-Bq90REOa.js";
|
|
41
|
+
import "./accounts-Dtszw3Zn.js";
|
|
42
|
+
import "./accounts-BToL3HlP.js";
|
|
43
|
+
import "./deliver-DlszQYmY.js";
|
|
44
|
+
import "./pi-embedded-helpers-YqYJ6xU1.js";
|
|
45
|
+
import "./paths-A0xdf3yk.js";
|
|
46
|
+
import "./diagnostic-fnIb_o_V.js";
|
|
47
|
+
import "./store-uf7TpQm3.js";
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-B_XlrV_E.js";
|
|
49
|
+
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
50
|
+
import "./image-B7fj8HDX.js";
|
|
51
|
+
import "./pi-auth-json-BOqOPkC8.js";
|
|
52
|
+
import "./pi-model-discovery-Cdz3tuFk.js";
|
|
53
|
+
import "./manager-CJd0vK4S.js";
|
|
54
|
+
import "./gemini-auth-lC1AI-WK.js";
|
|
55
|
+
import "./sqlite-BflKfcLD.js";
|
|
56
|
+
import "./commands-registry-L_7UhT9Y.js";
|
|
57
|
+
import "./send-BiFmiUGO.js";
|
|
58
|
+
import "./outbound-attachment-qB-kgb_3.js";
|
|
59
|
+
import "./resolve-route-kXW9e3Go.js";
|
|
60
|
+
import "./proxy-DAnyKGG4.js";
|
|
61
|
+
import "./replies-DSQPFi22.js";
|
|
62
|
+
import { n as sendMessageWhatsApp } from "./outbound-BSvVzptG.js";
|
|
63
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-DQFKtWpn.js";
|
|
64
|
+
import { t as loginWeb } from "./login-CyvTx8vo.js";
|
|
65
|
+
|
|
66
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-D9zGZU5t.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import "./registry
|
|
6
|
-
import "./config-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./image-ops-
|
|
4
|
+
import "./plugins-muf5lfx-.js";
|
|
5
|
+
import "./registry--_pGht6S.js";
|
|
6
|
+
import "./config-BBBu18xQ.js";
|
|
7
|
+
import "./subsystem-Coz2AgU8.js";
|
|
8
|
+
import "./command-format-DSdvQ_M5.js";
|
|
9
|
+
import "./model-selection-C4aoKWwG.js";
|
|
10
|
+
import "./agent-scope-RSN8nr_m.js";
|
|
11
|
+
import "./manifest-registry-hy3Bn-r9.js";
|
|
12
|
+
import "./image-ops-C_3iBQe1.js";
|
|
13
13
|
import "./ssrf-DKZ8eBrk.js";
|
|
14
|
-
import "./local-roots-
|
|
15
|
-
import "./ir-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./markdown-tables-
|
|
14
|
+
import "./local-roots-8f4AroIC.js";
|
|
15
|
+
import "./ir-DrnNua4p.js";
|
|
16
|
+
import "./chunk-jvk9axTQ.js";
|
|
17
|
+
import "./message-channel-BdI5Ra9S.js";
|
|
18
|
+
import "./bindings-DhPQDTtp.js";
|
|
19
|
+
import "./markdown-tables-ivSTmsOn.js";
|
|
20
20
|
import "./render-BiJZ5W4Z.js";
|
|
21
|
-
import "./tables-
|
|
22
|
-
import "./tool-images-
|
|
23
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-
|
|
24
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
25
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
21
|
+
import "./tables-DE2W8BrP.js";
|
|
22
|
+
import "./tool-images-DAXbRHJ1.js";
|
|
23
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-Dqf_-SRz.js";
|
|
24
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BkHNUpdB.js";
|
|
25
|
+
import { r as sendReactionWhatsApp } from "./outbound-BSvVzptG.js";
|
|
26
26
|
|
|
27
27
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
28
28
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|