@symerian/symi 3.0.6 → 3.0.8
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-gbr-1Je_.js → agents-CFKyEJDh.js} +4 -4
- package/dist/{agents.config-CpxstSW7.js → agents.config-DSrQ0TM2.js} +1 -1
- package/dist/{agents.config-BfNlwhop.js → agents.config-JYh7a1x9.js} +1 -1
- package/dist/{auth-choice-54kgymsK.js → auth-choice-BPmdR0Zg.js} +1 -1
- package/dist/{auth-choice-D-6X8Ju1.js → auth-choice-BqParF2V.js} +1 -1
- package/dist/{banner-a-SFB2A_.js → banner-Lq52Hf1m.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-LdOWOuGF.js → channel-options-DbwyNFsd.js} +1 -1
- package/dist/{channel-options-Gr9E4Kzw.js → channel-options-uukUHxrR.js} +1 -1
- package/dist/{channel-web-CegzhXtr.js → channel-web-CBUFAaN-.js} +1 -1
- package/dist/{channels-cli-yEaXg9E8.js → channels-cli-DUwg4n9o.js} +6 -6
- package/dist/{channels-cli-BqxfCcHJ.js → channels-cli-DwWkhoS-.js} +6 -6
- package/dist/{cli-frCx1q0g.js → cli-BK00_StG.js} +3 -3
- package/dist/{cli-CBgbuAgA.js → cli-DZZmysLn.js} +3 -3
- package/dist/{command-registry-BuNPoTgT.js → command-registry-DvI-_9ed.js} +10 -10
- package/dist/{completion-cli-CtslzC-3.js → completion-cli-CSoNdvYn.js} +1 -1
- package/dist/{completion-cli-CslG8pRZ.js → completion-cli-D4db0jDk.js} +2 -2
- package/dist/{config-cli-DG0Q2opp.js → config-cli-CfqGGDZJ.js} +1 -1
- package/dist/{config-cli-Bne_ToTi.js → config-cli-Chi8-vDl.js} +1 -1
- package/dist/{configure-CrUroh9h.js → configure-CpVWXUGL.js} +3 -3
- package/dist/{configure-DVEumX9d.js → configure-n6QOImwq.js} +3 -3
- package/dist/{doctor-completion-C7FYoFcz.js → doctor-completion-Cx_h4e8C.js} +1 -1
- package/dist/{doctor-completion-BdPD9NXi.js → doctor-completion-Dh1Ui0Jl.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-C01t6lTD.js → gateway-cli-CBC3MsCD.js} +25 -14
- package/dist/{gateway-cli-C3pl_TOb.js → gateway-cli-DLCN4Pur.js} +25 -14
- package/dist/{glass-ui-ws-DdfAZRq2.js → glass-ui-ws-CSvguyD3.js} +10 -10
- package/dist/{glass-ui-ws-D4FpSEkk.js → glass-ui-ws-Dy9BMqps.js} +10 -10
- package/dist/{health-BJOdskDn.js → health-CMNaNxdO.js} +2 -2
- package/dist/{health-Ux1rRtE3.js → health-CcIuOt6-.js} +2 -2
- package/dist/{heartbeat-visibility-BOc3XHJM.js → heartbeat-visibility-C1vHOBwO.js} +1 -1
- package/dist/{heartbeat-visibility-DiKuGlXT.js → heartbeat-visibility-D7nLp3pi.js} +1 -1
- package/dist/{hooks-cli-QOqeVacd.js → hooks-cli-BJBRRQxq.js} +4 -4
- package/dist/{hooks-cli-C4qRn2e6.js → hooks-cli-Lu13tVB5.js} +4 -4
- package/dist/index.js +9 -9
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{manager-H_Xir_av.js → manager-CpueNJtZ.js} +1 -1
- package/dist/{manager-OL6o99xD.js → manager-DrpXfTr8.js} +1 -1
- package/dist/{manager-DdfJ-DW0.js → manager-_IXN4-V8.js} +1 -1
- package/dist/{manager-D7uDkX3d.js → manager-ba9NOjzn.js} +1 -1
- package/dist/{memory-cli-CEvfDody.js → memory-cli-CFc9bXRp.js} +3 -3
- package/dist/{memory-cli-BFgNzW3D.js → memory-cli-LV7-59SK.js} +3 -3
- package/dist/{models-Bf1Qgxcd.js → models-BB9yLhYJ.js} +2 -2
- package/dist/{models-cli-C-yQI9uO.js → models-cli-RtPAmw2C.js} +4 -4
- package/dist/{models-cli-IPj8YpFi.js → models-cli-trgrhp5d.js} +5 -5
- package/dist/{onboard-DxD7tZro.js → onboard-2UCdDScQ.js} +2 -2
- package/dist/{onboard-D3RCwOQV.js → onboard-BLaF7s8_.js} +2 -2
- package/dist/{onboard-channels-C9yhPSG7.js → onboard-channels-jMIN_VEb.js} +1 -1
- package/dist/{onboard-channels-DjyTcloL.js → onboard-channels-puKAWnzj.js} +1 -1
- package/dist/{onboarding-BT5x19Ld.js → onboarding-Buq2k7LQ.js} +3 -3
- package/dist/{onboarding-3Zmxzq_U.js → onboarding-HqJ5qUk9.js} +3 -3
- package/dist/{onboarding.finalize-Di8oo0E9.js → onboarding.finalize-B_n1Ng2R.js} +8 -8
- package/dist/{onboarding.finalize-DYIUxpai.js → onboarding.finalize-CDNE7OaF.js} +9 -9
- package/dist/{pi-embedded-DiktDTAb.js → pi-embedded-D9KmgdGY.js} +99 -5
- package/dist/{plugin-registry-Dv9QEb6z.js → plugin-registry-B33lS3i0.js} +1 -1
- package/dist/{plugin-registry-DSVGT3l_.js → plugin-registry-DzQCMRvf.js} +1 -1
- package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
- package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
- package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
- package/dist/plugin-sdk/{active-listener-BtNt_ynZ.js → active-listener-BaxIPBYG.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-RSN8nr_m.js → agent-scope-BREbt-rZ.js} +2 -2
- package/dist/plugin-sdk/agents/model-aware-stream.d.ts +21 -0
- package/dist/plugin-sdk/{audio-preflight-Cl6PVUW_.js → audio-preflight-D9L7twa5.js} +24 -24
- package/dist/plugin-sdk/{bindings-DhPQDTtp.js → bindings-Da0i5ERM.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-CQucEpek.js → channel-web-C8ezEiP7.js} +22 -22
- package/dist/plugin-sdk/{chrome-CrHP4JAa.js → chrome-BWTwV7zX.js} +3 -3
- package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
- package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BMqWVyks.js → commands-registry-Du2NjN4l.js} +4 -4
- package/dist/plugin-sdk/{config-Bv0LE_Mp.js → config-gBtOrR8U.js} +9 -9
- package/dist/plugin-sdk/{consolidate-BieO-_k_.js → consolidate-DHzE-Epp.js} +2 -2
- package/dist/plugin-sdk/{deliver-lElKpUWY.js → deliver-DnGDY8HE.js} +9 -9
- package/dist/plugin-sdk/{diagnostic-fnIb_o_V.js → diagnostic-Jo7QixCi.js} +1 -1
- package/dist/plugin-sdk/{gemini-auth-BJBLsO9s.js → gemini-auth-tw0x8cTJ.js} +1 -1
- package/dist/plugin-sdk/{image-Br537YWQ.js → image-B5JkxaYD.js} +4 -4
- package/dist/plugin-sdk/{image-ops-C_3iBQe1.js → image-ops-DZ8OTT0B.js} +1 -1
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-DrnNua4p.js → ir-DfsDN6C5.js} +4 -4
- package/dist/plugin-sdk/{local-roots-8f4AroIC.js → local-roots-CxzyCF23.js} +3 -3
- package/dist/plugin-sdk/{login-BqGhBXI8.js → login-CiJUA7rI.js} +7 -7
- package/dist/plugin-sdk/{login-qr-mWNNbk2o.js → login-qr-DOY_pSMD.js} +9 -9
- package/dist/plugin-sdk/{manager-DMMQnz2r.js → manager-DfIw_nTh.js} +9 -9
- package/dist/plugin-sdk/{manifest-registry-hy3Bn-r9.js → manifest-registry-BRx4JDK0.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-ivSTmsOn.js → markdown-tables-BBiVsk1q.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-B-K2B0xR.js → model-selection-DSYL4oYC.js} +4 -4
- package/dist/plugin-sdk/{outbound-CgeYMV-m.js → outbound-0mkEeuuS.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-qB-kgb_3.js → outbound-attachment-V-8HPvXC.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-BMKHahdN.js → pi-auth-json-7_Iwu6Aw.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DLlOikDI.js → pi-embedded-helpers-IgdlMVmo.js} +17 -17
- package/dist/plugin-sdk/{plugins-muf5lfx-.js → plugins-DRWyzk5i.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-Bo7ZVnlF.js → pw-ai-Ch5O4KwP.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Chj9aSN5.js → qmd-manager-BvQckdNY.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-CuNUVXBG.js → replies-D5beVE9J.js} +3 -3
- package/dist/plugin-sdk/{reply-prefix-CDeu1pum.js → reply-prefix-BKFQ9roP.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkHNUpdB.js → resolve-outbound-target-BHmUS6gT.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-kXW9e3Go.js → resolve-route-B34r6gNi.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-NZmejDHd.js → runner-BbSYOhWN.js} +9 -9
- package/dist/plugin-sdk/{send-CNkol_HZ.js → send-BG9dfcnW.js} +10 -10
- package/dist/plugin-sdk/{send-v8Nttqd6.js → send-BkajF0QS.js} +7 -7
- package/dist/plugin-sdk/{send-BE1OwwUT.js → send-BrFerfxu.js} +6 -6
- package/dist/plugin-sdk/{send-CKznEmCe.js → send-CYozWNvy.js} +6 -6
- package/dist/plugin-sdk/{send-CNHhzZOb.js → send-v1NlN5gT.js} +10 -10
- package/dist/plugin-sdk/{session-DMulfRcG.js → session-Cs-mNH2L.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-HLp_gCNJ.js → skill-commands-7-2Ap-qA.js} +5 -5
- package/dist/plugin-sdk/{skills-ksP6m2tL.js → skills-BDwS4XUE.js} +7 -7
- package/dist/plugin-sdk/{sqlite-BflKfcLD.js → sqlite-DLwYpBWC.js} +1 -1
- package/dist/plugin-sdk/{store-uf7TpQm3.js → store-Dt1oCaOn.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{synthesis-B3oSNA87.js → synthesis-D3NFc3n3.js} +49 -49
- package/dist/plugin-sdk/{tables-DE2W8BrP.js → tables-MCQfYFPK.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Dqf_-SRz.js → target-errors-BGT90lj4.js} +2 -2
- package/dist/plugin-sdk/{thinking-Bq90REOa.js → thinking-qM2Kzm92.js} +5 -5
- package/dist/plugin-sdk/{tokens-D-HI9PZG.js → tokens-CVWPo-HD.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DAXbRHJ1.js → tool-images-DvOrYSAO.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DseOlBug.js → tool-loop-detection-gmtzSlNZ.js} +2 -2
- package/dist/plugin-sdk/{unified-runner-DPD66ppH.js → unified-runner-BnOMNrBG.js} +172 -78
- package/dist/plugin-sdk/web-pXmkwCgo.js +66 -0
- package/dist/plugin-sdk/{whatsapp-actions-BXONjmN2.js → whatsapp-actions-00m45Zqm.js} +21 -21
- package/dist/{plugins-cli-BKE00xaA.js → plugins-cli-BH-dPouA.js} +4 -4
- package/dist/{plugins-cli-Cudgx5xM.js → plugins-cli-D7SeopUy.js} +4 -4
- package/dist/{program-D6GycU7K.js → program-CWtqcl5o.js} +9 -9
- package/dist/{program-context-DUf2HkNT.js → program-context-C_BCGX6e.js} +18 -18
- package/dist/{prompt-select-styled-9fffbtA8.js → prompt-select-styled-DZLfB9dr.js} +6 -6
- package/dist/{prompt-select-styled-MZgg9luq.js → prompt-select-styled-DmA5bdHo.js} +6 -6
- package/dist/{provider-auth-helpers-CbjDDek6.js → provider-auth-helpers-Brx0zsB4.js} +1 -1
- package/dist/{provider-auth-helpers-CH_rD9Ck.js → provider-auth-helpers-Df50nCNL.js} +1 -1
- package/dist/{push-apns-D2xhFnz-.js → push-apns-CXP9q39j.js} +1 -1
- package/dist/{push-apns-zIsKDi4p.js → push-apns-jE3kPG6g.js} +1 -1
- package/dist/{register.agent-BkQdGAxf.js → register.agent-DGwbPjex.js} +7 -7
- package/dist/{register.agent-CR1I0Nxi.js → register.agent-DzQtVgfQ.js} +8 -8
- package/dist/{register.configure-CIbNs3Ys.js → register.configure-B56gsKYf.js} +9 -9
- package/dist/{register.configure-O5fmbHql.js → register.configure-BQ1gQQOO.js} +9 -9
- package/dist/{register.maintenance-BjE-lDkf.js → register.maintenance-B12lwewm.js} +10 -10
- package/dist/{register.maintenance-B6o6Fdf-.js → register.maintenance-DXD1xP8H.js} +11 -11
- package/dist/{register.message-DkZC56-E.js → register.message--QXkhXHQ.js} +4 -4
- package/dist/{register.message-CPV6KKj_.js → register.message-xW7Gic5V.js} +4 -4
- package/dist/{register.onboard-DB0X3H1H.js → register.onboard-CWycJIUS.js} +7 -7
- package/dist/{register.onboard-DPUx5H9I.js → register.onboard-CqP2iJit.js} +7 -7
- package/dist/{register.setup-BHGui0h8.js → register.setup-B33Xl3Vr.js} +7 -7
- package/dist/{register.setup-BdfIHr44.js → register.setup-COjF7Ffj.js} +7 -7
- package/dist/{register.status-health-sessions-CAr_-YOR.js → register.status-health-sessions-BGA-7IT8.js} +6 -6
- package/dist/{register.status-health-sessions-Bx_x7PLI.js → register.status-health-sessions-CsjDghzj.js} +6 -6
- package/dist/{register.subclis-Bd9G7Uhk.js → register.subclis-Bzag-xbt.js} +9 -9
- package/dist/{run-main-DINwkweo.js → run-main-BPMrQvz2.js} +17 -17
- package/dist/{server-methods-D_HpHoWo.js → server-methods-C72ajlYe.js} +9 -9
- package/dist/{server-methods-BBiqjTnY.js → server-methods-C_TFp6B4.js} +9 -9
- package/dist/{server-node-events-D33Ivpdb.js → server-node-events-BTuwCzuB.js} +4 -4
- package/dist/{server-node-events-BBcYbve5.js → server-node-events-Cn5abeER.js} +4 -4
- package/dist/{status-CdRoRdX8.js → status-C5RXDLjI.js} +1 -1
- package/dist/{status-Do0t7I6P.js → status-CrxGjZwV.js} +3 -3
- package/dist/{status-B5SAsM15.js → status-CvJZLdWA.js} +1 -1
- package/dist/{status-E8bxgRbF.js → status-DIGJ8-hp.js} +3 -3
- package/dist/{subagent-registry-B4gg8TFc.js → subagent-registry-k0ZBnJuU.js} +98 -4
- package/dist/{synthesis-BzXl3DdN.js → synthesis-C-rsRpDw.js} +2 -2
- package/dist/{synthesis-BuXEOM51.js → synthesis-C3AKD3Nb.js} +2 -2
- package/dist/{synthesis-CmoAF3Ks.js → synthesis-D4qwtCYE.js} +3 -3
- package/dist/{synthesis-Camc_uQg.js → synthesis-cor0WJGI.js} +3 -3
- package/dist/{unified-runner-NjwIEpGt.js → unified-runner-CzxCpDUC.js} +98 -4
- package/dist/{unified-runner-Bvqbwaaa.js → unified-runner-Dv9LPnmm.js} +99 -5
- package/dist/{update-cli-DT51XdLt.js → update-cli-CEhf4IFG.js} +11 -11
- package/dist/{update-cli-BmxN561H.js → update-cli-uwOyL4_F.js} +10 -10
- package/dist/{update-runner-BSHkPRya.js → update-runner-BSDKsvVP.js} +1 -1
- package/dist/{update-runner-DObjNXP5.js → update-runner-Bcmd0XnZ.js} +1 -1
- package/dist/{web-CWFF4V6q.js → web-CSPcQYqR.js} +2 -2
- package/dist/{web-DMJyGxn3.js → web-D9-D09LS.js} +4 -4
- package/dist/{web-DNwg0ZOA.js → web-DJqpgWuK.js} +5 -5
- package/dist/{web-BPiGXIj5.js → web-gqbdxJga.js} +2 -2
- 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-O8zxjM0h.js +0 -66
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-
|
|
4
|
-
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { a as loadWebMedia } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
-
import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-
|
|
15
|
-
import { v as registerUnhandledRejectionHandler } from "./runner-
|
|
16
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
17
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
18
|
-
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as formatInboundEnvelope, b as shouldComputeCommandAuthorized, c as buildPairingReply, d as formatDurationPrecise, f as enqueueSystemEvent, g as resolveInboundDebounceMs, h as createInboundDebouncer, ht as createDedupeCache, l as dispatchReplyWithBufferedBlockDispatcher, m as parseActivationCommand, nt as buildMentionRegexes, o as computeBackoff, p as normalizeGroupActivation, rt as normalizeMentionText, s as sleepWithAbort, tt as recordPendingHistoryEntryIfEnabled, v as resolveEnvelopeFormatOptions, y as hasControlCommand } from "./unified-runner-BnOMNrBG.js";
|
|
4
|
+
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-D0xTnUWt.js";
|
|
5
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
8
|
+
import { n as recordChannelActivity } from "./channel-activity-DoC1xtDu.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CxzyCF23.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Dw2XBYXv.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-MCQfYFPK.js";
|
|
14
|
+
import { K as readChannelAllowFromStore, Y as upsertChannelPairingRequest, nt as toLocationContext, q as readChannelAllowFromStoreSync, tt as formatLocationText } from "./send-v1NlN5gT.js";
|
|
15
|
+
import { v as registerUnhandledRejectionHandler } from "./runner-BbSYOhWN.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BKFQ9roP.js";
|
|
17
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-qM2Kzm92.js";
|
|
18
|
+
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-IgdlMVmo.js";
|
|
19
19
|
import { s as resolveStorePath } from "./paths-A0xdf3yk.js";
|
|
20
|
-
import { i as saveMediaBuffer } from "./store-
|
|
20
|
+
import { i as saveMediaBuffer } from "./store-Dt1oCaOn.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-5H7RKVif.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B34r6gNi.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-BaxIPBYG.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-0mkEeuuS.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Cs-mNH2L.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as CONFIG_DIR } from "./registry
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as CONFIG_DIR } from "./registry-D0xTnUWt.js";
|
|
2
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-COTAJzHd.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry
|
|
4
|
-
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-DRWyzk5i.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { X as DEFAULT_PROVIDER, Y as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-DSYL4oYC.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-qM2Kzm92.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
4
|
-
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-
|
|
5
|
-
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { $ as resolveShellEnvFallbackTimeoutMs, J as DEFAULT_CONTEXT_TOKENS, Q as loadShellEnvFallback, et as shouldDeferShellEnvFallback, l as parseModelRef, tt as shouldEnableShellEnvFallback } from "./model-selection-DSYL4oYC.js";
|
|
5
|
+
import { o as resolveAgentWorkspaceDir, s as resolveDefaultAgentId } from "./agent-scope-BREbt-rZ.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-BRx4JDK0.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import JSON5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -892,7 +892,7 @@ function safeRealpath(target) {
|
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
895
|
-
parseJson: (raw) =>
|
|
895
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
898
898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5595,7 +5595,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5595
5595
|
function normalizeDeps(overrides = {}) {
|
|
5596
5596
|
return {
|
|
5597
5597
|
fs: overrides.fs ?? fs,
|
|
5598
|
-
json5: overrides.json5 ??
|
|
5598
|
+
json5: overrides.json5 ?? JSON5,
|
|
5599
5599
|
env: overrides.env ?? process.env,
|
|
5600
5600
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5601
5601
|
configPath: overrides.configPath ?? "",
|
|
@@ -5606,11 +5606,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5606
5606
|
if (env !== process.env) return;
|
|
5607
5607
|
loadDotEnv({ quiet: true });
|
|
5608
5608
|
}
|
|
5609
|
-
function parseConfigJson5(raw, json5
|
|
5609
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
5610
5610
|
try {
|
|
5611
5611
|
return {
|
|
5612
5612
|
ok: true,
|
|
5613
|
-
parsed: json5
|
|
5613
|
+
parsed: json5.parse(raw)
|
|
5614
5614
|
};
|
|
5615
5615
|
} catch (err) {
|
|
5616
5616
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-DR2yt_mP.js";
|
|
2
|
-
import "./registry
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import "./registry-D0xTnUWt.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
4
4
|
import { l as parseEmbedding, r as cosineSimilarity } from "./internal-BpFmQTvo.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import crypto from "node:crypto";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-
|
|
12
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DRWyzk5i.js";
|
|
5
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-CxzyCF23.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-Dw2XBYXv.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
|
|
10
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CVWPo-HD.js";
|
|
11
|
+
import { lt as appendAssistantMessageToSessionTranscript, ut as resolveMirroredTranscriptText } from "./pi-embedded-helpers-IgdlMVmo.js";
|
|
12
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BrFerfxu.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import crypto from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DnkpMfCl.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as isRecord, I as shortenHomeInString } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { D as isRecord, I as shortenHomeInString } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, K as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-DSYL4oYC.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
|
|
6
|
-
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { M as sanitizeUserFacingText } from "./pi-embedded-helpers-IgdlMVmo.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cdz3tuFk.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-
|
|
3
|
-
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as processLineMessage, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, E as attachFooterText, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as hasMarkdownToConvert, St as listThreadBindingsBySessionKey, T as createReceiptCard, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as resolveLineAccount, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as resolveDefaultLineAccountId, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, n as listLineAccountIds, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, r as normalizeAccountId$1, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as stripMarkdown, wt as formatAllowlistMatchMeta, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./unified-runner-
|
|
2
|
+
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as processLineMessage, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, E as attachFooterText, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as hasMarkdownToConvert, St as listThreadBindingsBySessionKey, T as createReceiptCard, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as resolveLineAccount, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as resolveDefaultLineAccountId, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, n as listLineAccountIds, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, r as normalizeAccountId$1, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as stripMarkdown, wt as formatAllowlistMatchMeta, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./unified-runner-BnOMNrBG.js";
|
|
4
4
|
import "./paths-DR2yt_mP.js";
|
|
5
5
|
import "./github-copilot-token-D9X2phUj.js";
|
|
6
|
-
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-
|
|
6
|
+
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-DRWyzk5i.js";
|
|
7
7
|
import "./fetch-CUNoPTKm.js";
|
|
8
|
-
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry
|
|
9
|
-
import "./retry-
|
|
10
|
-
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-
|
|
11
|
-
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-
|
|
12
|
-
import { n as stripAnsi } from "./subsystem-
|
|
13
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
14
|
-
import { H as withFileLock, V as acquireFileLock } from "./model-selection-
|
|
15
|
-
import { w as runCommandWithTimeout } from "./agent-scope-
|
|
16
|
-
import "./manifest-registry-
|
|
8
|
+
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry-D0xTnUWt.js";
|
|
9
|
+
import "./retry-CwQ_iIj8.js";
|
|
10
|
+
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-BG9dfcnW.js";
|
|
11
|
+
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config-gBtOrR8U.js";
|
|
12
|
+
import { n as stripAnsi } from "./subsystem-B2uDN3TV.js";
|
|
13
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
14
|
+
import { H as withFileLock, V as acquireFileLock } from "./model-selection-DSYL4oYC.js";
|
|
15
|
+
import { w as runCommandWithTimeout } from "./agent-scope-BREbt-rZ.js";
|
|
16
|
+
import "./manifest-registry-BRx4JDK0.js";
|
|
17
17
|
import "./redact-DPnDWsnT.js";
|
|
18
18
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
19
|
+
import "./channel-activity-DoC1xtDu.js";
|
|
20
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-DZ8OTT0B.js";
|
|
21
21
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
22
|
-
import { o as fetchWithSsrFGuard } from "./local-roots-
|
|
23
|
-
import { a as loadWebMedia } from "./ir-
|
|
24
|
-
import { u as chunkTextByBreakResolver } from "./chunk-
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import "./bindings-
|
|
27
|
-
import "./markdown-tables-
|
|
22
|
+
import { o as fetchWithSsrFGuard } from "./local-roots-CxzyCF23.js";
|
|
23
|
+
import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
|
|
24
|
+
import { u as chunkTextByBreakResolver } from "./chunk-Dw2XBYXv.js";
|
|
25
|
+
import "./message-channel-COTAJzHd.js";
|
|
26
|
+
import "./bindings-Da0i5ERM.js";
|
|
27
|
+
import "./markdown-tables-BBiVsk1q.js";
|
|
28
28
|
import "./render-BiJZ5W4Z.js";
|
|
29
|
-
import "./tables-
|
|
30
|
-
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-
|
|
31
|
-
import "./tool-images-
|
|
32
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-
|
|
33
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
34
|
-
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-
|
|
35
|
-
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-
|
|
37
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
38
|
-
import "./skill-commands-
|
|
39
|
-
import "./skills-
|
|
40
|
-
import { N as rawDataToString } from "./chrome-
|
|
41
|
-
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-
|
|
42
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
44
|
-
import { _ as resolveChannelMediaMaxBytes } from "./deliver-
|
|
45
|
-
import "./pi-embedded-helpers-
|
|
29
|
+
import "./tables-MCQfYFPK.js";
|
|
30
|
+
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-BkajF0QS.js";
|
|
31
|
+
import "./tool-images-DvOrYSAO.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-BGT90lj4.js";
|
|
33
|
+
import { s as parseSlackBlocksInput } from "./send-CYozWNvy.js";
|
|
34
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-v1NlN5gT.js";
|
|
35
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-BbSYOhWN.js";
|
|
36
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-BKFQ9roP.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CVWPo-HD.js";
|
|
38
|
+
import "./skill-commands-7-2Ap-qA.js";
|
|
39
|
+
import "./skills-BDwS4XUE.js";
|
|
40
|
+
import { N as rawDataToString } from "./chrome-BWTwV7zX.js";
|
|
41
|
+
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-qM2Kzm92.js";
|
|
42
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-s-AdhXVR.js";
|
|
43
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BtaOa4z_.js";
|
|
44
|
+
import { _ as resolveChannelMediaMaxBytes } from "./deliver-DnGDY8HE.js";
|
|
45
|
+
import "./pi-embedded-helpers-IgdlMVmo.js";
|
|
46
46
|
import "./paths-A0xdf3yk.js";
|
|
47
|
-
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-
|
|
48
|
-
import { n as extractOriginalFilename } from "./store-
|
|
49
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
50
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
47
|
+
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-Jo7QixCi.js";
|
|
48
|
+
import { n as extractOriginalFilename } from "./store-Dt1oCaOn.js";
|
|
49
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BHmUS6gT.js";
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-C8ezEiP7.js";
|
|
51
51
|
import "./diagnostic-session-state-DnkpMfCl.js";
|
|
52
|
-
import "./image-
|
|
53
|
-
import "./pi-auth-json-
|
|
52
|
+
import "./image-B5JkxaYD.js";
|
|
53
|
+
import "./pi-auth-json-7_Iwu6Aw.js";
|
|
54
54
|
import "./pi-model-discovery-Cdz3tuFk.js";
|
|
55
|
-
import "./manager-
|
|
56
|
-
import "./gemini-auth-
|
|
57
|
-
import "./sqlite-
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./send-
|
|
60
|
-
import "./outbound-attachment-
|
|
61
|
-
import "./resolve-route-
|
|
55
|
+
import "./manager-DfIw_nTh.js";
|
|
56
|
+
import "./gemini-auth-tw0x8cTJ.js";
|
|
57
|
+
import "./sqlite-DLwYpBWC.js";
|
|
58
|
+
import "./commands-registry-Du2NjN4l.js";
|
|
59
|
+
import "./send-BrFerfxu.js";
|
|
60
|
+
import "./outbound-attachment-V-8HPvXC.js";
|
|
61
|
+
import "./resolve-route-B34r6gNi.js";
|
|
62
62
|
import "./proxy-DAnyKGG4.js";
|
|
63
|
-
import "./replies-
|
|
64
|
-
import "./outbound-
|
|
65
|
-
import "./session-
|
|
66
|
-
import { t as loginWeb } from "./login-
|
|
63
|
+
import "./replies-D5beVE9J.js";
|
|
64
|
+
import "./outbound-0mkEeuuS.js";
|
|
65
|
+
import "./session-Cs-mNH2L.js";
|
|
66
|
+
import { t as loginWeb } from "./login-CiJUA7rI.js";
|
|
67
67
|
import fs, { createWriteStream } from "node:fs";
|
|
68
68
|
import path from "node:path";
|
|
69
69
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-
|
|
3
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
4
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry-D0xTnUWt.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-DZ8OTT0B.js";
|
|
3
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-CxzyCF23.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-Dw2XBYXv.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
2
2
|
import { t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
|
-
import { ut as resolvePreferredSymiTmpDir } from "./registry
|
|
4
|
-
import { A as logWarn, o as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
3
|
+
import { ut as resolvePreferredSymiTmpDir } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { A as logWarn, o as resolveAgentWorkspaceDir } from "./agent-scope-BREbt-rZ.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DZ8OTT0B.js";
|
|
6
6
|
import { n as closeDispatcher, r as createPinnedDispatcher, s as resolvePinnedHostnameWithPolicy, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { U as danger, W as info, X as success } from "./registry
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { k as logInfo } from "./agent-scope-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { U as danger, W as info, X as success } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
7
|
+
import { k as logInfo } from "./agent-scope-BREbt-rZ.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-Cs-mNH2L.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
2
2
|
import "./paths-DR2yt_mP.js";
|
|
3
3
|
import "./github-copilot-token-D9X2phUj.js";
|
|
4
|
-
import { U as danger, W as info, X as success } from "./registry
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import { k as logInfo } from "./agent-scope-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
4
|
+
import { U as danger, W as info, X as success } from "./registry-D0xTnUWt.js";
|
|
5
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import "./command-format-GKSevep4.js";
|
|
8
|
+
import "./model-selection-DSYL4oYC.js";
|
|
9
|
+
import { k as logInfo } from "./agent-scope-BREbt-rZ.js";
|
|
10
|
+
import "./manifest-registry-BRx4JDK0.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Cs-mNH2L.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
14
14
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
3
|
-
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry
|
|
4
|
-
import { n as retryAsync } from "./retry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
8
|
-
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-
|
|
3
|
+
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { n as retryAsync } from "./retry-CwQ_iIj8.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-GKSevep4.js";
|
|
7
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-DSYL4oYC.js";
|
|
8
|
+
import { n as resolveAgentConfig, o as resolveAgentWorkspaceDir, r as resolveAgentDir } from "./agent-scope-BREbt-rZ.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
10
10
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-A0xdf3yk.js";
|
|
11
11
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
12
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-tw0x8cTJ.js";
|
|
13
13
|
import { a as hashText, c as normalizeExtraMemoryPaths, d as runWithConcurrency, i as ensureDir, l as parseEmbedding, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as remapChunkLines } from "./internal-BpFmQTvo.js";
|
|
14
|
-
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
14
|
+
import { i as sessionPathForFile, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-DLwYpBWC.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import os from "node:os";
|
|
@@ -3972,7 +3972,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3972
3972
|
* to bypass the min-interval guard (CLI use).
|
|
3973
3973
|
*/
|
|
3974
3974
|
async runL3CycleIfDue(params) {
|
|
3975
|
-
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-
|
|
3975
|
+
const [{ runL3Cycle, runL3CycleIfDue }, { createSynthesizer }] = await Promise.all([import("./consolidate-DHzE-Epp.js"), import("./synthesis-D3NFc3n3.js")]);
|
|
3976
3976
|
const synthesize = createSynthesizer({
|
|
3977
3977
|
cfg: this.cfg,
|
|
3978
3978
|
agentId: this.agentId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry
|
|
1
|
+
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry-D0xTnUWt.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-DRWyzk5i.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-D0xTnUWt.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-DR2yt_mP.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D9X2phUj.js";
|
|
5
|
-
import { P as resolveUserPath } from "./registry
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { i as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { P as resolveUserPath } from "./registry-D0xTnUWt.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
8
|
+
import { i as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-BREbt-rZ.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry-D0xTnUWt.js";
|
|
3
|
+
import { n as loadConfig } from "./config-gBtOrR8U.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B2uDN3TV.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
6
|
+
import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BBiVsk1q.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-MCQfYFPK.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-BaxIPBYG.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
-
import { i as saveMediaBuffer } from "./store-
|
|
1
|
+
import { a as loadWebMedia } from "./ir-DfsDN6C5.js";
|
|
2
|
+
import { i as saveMediaBuffer } from "./store-Dt1oCaOn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { G as normalizeOptionalSecretInput, R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { G as normalizeOptionalSecretInput, R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-DSYL4oYC.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|