@symerian/symi 2.6.29 → 2.6.31
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-ST-RelE_.js → agents-BIAaMNSb.js} +4 -4
- package/dist/{agents.config-Dz-OLfrK.js → agents.config-BDtgUDFp.js} +1 -1
- package/dist/{agents.config-BJqym5bg.js → agents.config-BKjYekzK.js} +1 -1
- package/dist/{auth-choice-D8h_fABj.js → auth-choice-C7BrC95t.js} +1 -1
- package/dist/{auth-choice-r5NHQXLW.js → auth-choice-Cw2rldnf.js} +1 -1
- package/dist/{banner-Bn_I7g2w.js → banner-DCF8IifK.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DwvK56mc.js → channel-options-BaC3G5sc.js} +1 -1
- package/dist/{channel-options-I_uoOZoj.js → channel-options-DHSRuD2s.js} +1 -1
- package/dist/{channel-web-b0CCqrmj.js → channel-web-YXrZZHRE.js} +1 -1
- package/dist/{channels-cli-BuYlQcEc.js → channels-cli-CfMJGgBp.js} +4 -4
- package/dist/{channels-cli-TWQv4Aur.js → channels-cli-DODlfOu4.js} +4 -4
- package/dist/{cli-Dul8S9oW.js → cli-CSlDsUKl.js} +1 -1
- package/dist/{cli-CVwt1Fg7.js → cli-CVqXnzze.js} +1 -1
- package/dist/{command-registry--BVAkymo.js → command-registry-ajP42kpE.js} +9 -9
- package/dist/{completion-cli-LSZGfNYt.js → completion-cli-Dui7LK9s.js} +1 -1
- package/dist/{completion-cli-CMPF-UWB.js → completion-cli-zokW-yVf.js} +2 -2
- package/dist/{config-cli-CGl36qcO.js → config-cli-BjXnB1c7.js} +1 -1
- package/dist/{config-cli-Ba5_OYLK.js → config-cli-BxSBpwuL.js} +1 -1
- package/dist/{configure-52avjwpv.js → configure-CIFt3G-c.js} +3 -3
- package/dist/{configure-BkxvX0D4.js → configure-De-0b4bB.js} +3 -3
- package/dist/control-ui/js/symipulse.js +4 -0
- package/dist/{doctor-completion-3JibMuKJ.js → doctor-completion-DaGKVo6p.js} +1 -1
- package/dist/{doctor-completion-C8TRMeH9.js → doctor-completion-kr-VbXG-.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-CcBKPe7-.js → gateway-cli-7pMi8rn1.js} +9 -9
- package/dist/{gateway-cli-CRAuYms0.js → gateway-cli-DdbomLMt.js} +9 -9
- package/dist/{glass-ui-ws-B2LHyjWF.js → glass-ui-ws-vx0iMfPn.js} +7 -7
- package/dist/{glass-ui-ws-odUDh4Ax.js → glass-ui-ws-z-ryIbt7.js} +7 -7
- package/dist/{health-DU1f-Ruq.js → health-BNxdveY8.js} +1 -1
- package/dist/{health-cAOv8KHf.js → health-pFcca1cU.js} +1 -1
- package/dist/{hooks-cli-Dtyjf26K.js → hooks-cli-DefzmbZl.js} +2 -2
- package/dist/{hooks-cli-BRlCeWiG.js → hooks-cli-Dqe7WVzD.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-BQL1Rx8A.js → models-c9cOxxrP.js} +2 -2
- package/dist/{models-cli-iXoriT4a.js → models-cli-BhOA86hd.js} +3 -3
- package/dist/{models-cli-BWNnBUiT.js → models-cli-Cosjljgg.js} +2 -2
- package/dist/{onboard-dIjmiymZ.js → onboard-C4DXGi07.js} +2 -2
- package/dist/{onboard-D8IHkR2A.js → onboard-Dadg5mWZ.js} +2 -2
- package/dist/{onboard-channels-C87IzN9d.js → onboard-channels-BAEFSSqU.js} +1 -1
- package/dist/{onboard-channels-99ZIc6U9.js → onboard-channels-BjUx6cZ7.js} +1 -1
- package/dist/{onboarding-B-J8KGlq.js → onboarding-Be8-Muma.js} +3 -3
- package/dist/{onboarding-DCPTymIi.js → onboarding-BesMJD5M.js} +3 -3
- package/dist/{onboarding.finalize-DYrKwuL6.js → onboarding.finalize-BdFKvepX.js} +6 -6
- package/dist/{onboarding.finalize-CqnM29uP.js → onboarding.finalize-Cbo7t2w6.js} +5 -5
- package/dist/{pi-embedded-BpqY8Naf.js → pi-embedded-CziuxRtW.js} +9 -7
- package/dist/{plugin-registry-D54PM8pM.js → plugin-registry-BkFixq63.js} +1 -1
- package/dist/{plugin-registry-Cp2i5y4t.js → plugin-registry-Ls_YGsWz.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-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
- package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DSd2f31z.js → channel-web-D4P9MkFu.js} +22 -22
- package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.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-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
- package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
- package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
- package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
- package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
- package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
- package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
- package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
- package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
- package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
- package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
- package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
- package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
- package/dist/plugin-sdk/{reply-XQCt49hi.js → reply-BVs4oalQ.js} +85 -83
- package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
- package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
- package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
- package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
- package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
- package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
- package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
- package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
- package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
- package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
- package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
- package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
- package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
- package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
- package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
- package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
- package/dist/plugin-sdk/web-DiQTcviv.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
- package/dist/{plugins-cli-BK2oAIgt.js → plugins-cli-CJLJsr_L.js} +2 -2
- package/dist/{plugins-cli-DPVj7Ll8.js → plugins-cli-DXiakDnC.js} +2 -2
- package/dist/{program-Cs6SC0Y3.js → program-CqxmOFY5.js} +7 -7
- package/dist/{program-context-9l2VE3gk.js → program-context-CWoc-4O6.js} +17 -17
- package/dist/{prompt-select-styled-0rN-Bjc0.js → prompt-select-styled-C5YCowXp.js} +4 -4
- package/dist/{prompt-select-styled-BEblj71P.js → prompt-select-styled-DKTE77Rw.js} +4 -4
- package/dist/{provider-auth-helpers-K5FZKmUs.js → provider-auth-helpers-B_Rtgt-w.js} +1 -1
- package/dist/{provider-auth-helpers-BMmt5mEA.js → provider-auth-helpers-Bi5oeREh.js} +1 -1
- package/dist/{push-apns-c1qXclcv.js → push-apns-Bmd6SdxC.js} +1 -1
- package/dist/{push-apns-DkYs830G.js → push-apns-BzIW-JHE.js} +1 -1
- package/dist/{register.agent-CMteZ9CA.js → register.agent-Vc2Bu3J4.js} +5 -5
- package/dist/{register.agent-B39c6eVV.js → register.agent-kKtKgmcO.js} +6 -6
- package/dist/{register.configure-BPxWBOcN.js → register.configure-BnNPTLBI.js} +6 -6
- package/dist/{register.configure-DNdw3aHr.js → register.configure-D-o-geWg.js} +6 -6
- package/dist/{register.maintenance-BpLQ73q6.js → register.maintenance-BhhUMTAr.js} +7 -7
- package/dist/{register.maintenance-DnLb4_pC.js → register.maintenance-Ea70NNls.js} +8 -8
- package/dist/{register.message-DFEhBqvI.js → register.message-C9zVQOWl.js} +2 -2
- package/dist/{register.message-CeZGfAG1.js → register.message-CdCHhVND.js} +2 -2
- package/dist/{register.onboard-Bbu2o5v-.js → register.onboard-1HGg8A_B.js} +4 -4
- package/dist/{register.onboard-XELS-V90.js → register.onboard-CbGEztLT.js} +4 -4
- package/dist/{register.setup-CLE7PdHv.js → register.setup-8LYTLZMG.js} +4 -4
- package/dist/{register.setup-BbBvDDru.js → register.setup-BRKstpuL.js} +4 -4
- package/dist/{register.status-health-sessions-7zhAiHx0.js → register.status-health-sessions-BLA4yUC4.js} +3 -3
- package/dist/{register.status-health-sessions-D4qCiL0J.js → register.status-health-sessions-BtGRpngz.js} +3 -3
- package/dist/{register.subclis-DovpQkAb.js → register.subclis-FAdASegj.js} +9 -9
- package/dist/{reply-TUgh96BH.js → reply-C68F3IMq.js} +9 -7
- package/dist/{run-main-BPf5aLAC.js → run-main-DqKSUzps.js} +14 -14
- package/dist/{server-methods-DFuRwfyn.js → server-methods-B4IR7jcD.js} +7 -7
- package/dist/{server-methods-DAkx0Jqj.js → server-methods-n5oCz2e0.js} +7 -7
- package/dist/{server-node-events-CwxdrTiK.js → server-node-events---jWWBKN.js} +2 -2
- package/dist/{server-node-events-BiFHrjUb.js → server-node-events-C3hHerD3.js} +2 -2
- package/dist/{status-C42zRdTE.js → status-8CbQSAEF.js} +1 -1
- package/dist/{status-DLT_0K6s.js → status-ClvXAaHZ.js} +1 -1
- package/dist/{status-QRydo-7w.js → status-CwhHbhUv.js} +2 -2
- package/dist/{status-v1fz4XO0.js → status-ITRlj7e_.js} +2 -2
- package/dist/{subagent-registry-btvK-uGU.js → subagent-registry-BXI3DyAX.js} +9 -7
- package/dist/{unified-runner-DY-ifZuJ.js → unified-runner-Dy2eq7ZO.js} +9 -7
- package/dist/{update-cli-CCo0jjlD.js → update-cli-0aSAmmmj.js} +8 -8
- package/dist/{update-cli-JXIAh9-v.js → update-cli-CfKfjAnO.js} +7 -7
- package/dist/{update-runner-CNBdOfqY.js → update-runner-C17bqGvO.js} +1 -1
- package/dist/{update-runner-Dy2tM0ZX.js → update-runner-e_ChofHM.js} +1 -1
- package/dist/{web-PvQddZps.js → web-BTiGD3po.js} +1 -1
- package/dist/{web-CTVIYGL-.js → web-CP9nUIj0.js} +1 -1
- package/dist/{web-BB6PGgjn.js → web-Cih6rPbV.js} +2 -2
- package/dist/{web-Bn27WNAv.js → web-Dr9gUjHz.js} +1 -1
- package/extensions/bluebubbles/node_modules/.bin/symi +0 -0
- package/extensions/copilot-proxy/node_modules/.bin/symi +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +0 -0
- package/extensions/diagnostics-otel/node_modules/.bin/symi +0 -0
- package/extensions/discord/node_modules/.bin/symi +0 -0
- package/extensions/feishu/node_modules/.bin/symi +0 -0
- package/extensions/google-antigravity-auth/node_modules/.bin/symi +0 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/symi +0 -0
- package/extensions/googlechat/node_modules/.bin/symi +0 -0
- package/extensions/imessage/node_modules/.bin/symi +0 -0
- package/extensions/irc/node_modules/.bin/symi +0 -0
- package/extensions/learning-loop/node_modules/.bin/symi +0 -0
- package/extensions/line/node_modules/.bin/symi +0 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +0 -0
- package/extensions/matrix/node_modules/.bin/symi +0 -0
- package/extensions/mattermost/node_modules/.bin/symi +0 -0
- package/extensions/memory-core/node_modules/.bin/symi +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/openai +0 -0
- package/extensions/memory-lancedb/node_modules/.bin/symi +0 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/symi +0 -0
- package/extensions/msteams/node_modules/.bin/symi +0 -0
- package/extensions/nextcloud-talk/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/symi +0 -0
- package/extensions/nostr/node_modules/.bin/tsc +0 -0
- package/extensions/nostr/node_modules/.bin/tsserver +0 -0
- package/extensions/signal/node_modules/.bin/symi +0 -0
- package/extensions/slack/node_modules/.bin/symi +0 -0
- package/extensions/telegram/node_modules/.bin/symi +0 -0
- package/extensions/tlon/node_modules/.bin/symi +0 -0
- package/extensions/twitch/node_modules/.bin/symi +0 -0
- package/extensions/voice-call/node_modules/.bin/symi +0 -0
- package/extensions/whatsapp/node_modules/.bin/symi +0 -0
- package/extensions/zalo/node_modules/.bin/symi +0 -0
- package/extensions/zalouser/node_modules/.bin/symi +0 -0
- package/package.json +113 -83
- package/skills/nano-banana-pro/scripts/generate_image.py +0 -0
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -0
- package/skills/tmux/scripts/find-sessions.sh +0 -0
- package/skills/tmux/scripts/wait-for-text.sh +0 -0
- package/dist/plugin-sdk/web--1cVrQ1K.js +0 -65
|
@@ -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 { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-
|
|
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 { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
15
|
-
import { f 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 { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ddm33hQm.js";
|
|
3
|
+
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-BVs4oalQ.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-KlTNfkFF.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-BHLNSI8U.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-BJ6BHE5b.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Dw2XBYXv.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
14
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-CRsR8-vO.js";
|
|
15
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-CGBT7tgF.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-uxfMZW4p.js";
|
|
17
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-CXqf7WTe.js";
|
|
18
|
+
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-CW630epe.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-BdrNabcU.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.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-B3CCBumQ.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-BXYeALs0.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-B0e8KdaR.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BsOrxiMj.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-KlTNfkFF.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 { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-BNByVCIH.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-D0xTnUWt.js";
|
|
4
|
+
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-CsbEfrS0.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-CXqf7WTe.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 shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } 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 shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-CsbEfrS0.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.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-CPnHl_K3.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.
|
|
@@ -5584,7 +5584,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5584
5584
|
function normalizeDeps(overrides = {}) {
|
|
5585
5585
|
return {
|
|
5586
5586
|
fs: overrides.fs ?? fs,
|
|
5587
|
-
json5: overrides.json5 ??
|
|
5587
|
+
json5: overrides.json5 ?? JSON5,
|
|
5588
5588
|
env: overrides.env ?? process.env,
|
|
5589
5589
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5590
5590
|
configPath: overrides.configPath ?? "",
|
|
@@ -5595,11 +5595,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5595
5595
|
if (env !== process.env) return;
|
|
5596
5596
|
loadDotEnv({ quiet: true });
|
|
5597
5597
|
}
|
|
5598
|
-
function parseConfigJson5(raw, json5
|
|
5598
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
5599
5599
|
try {
|
|
5600
5600
|
return {
|
|
5601
5601
|
ok: true,
|
|
5602
|
-
parsed: json5
|
|
5602
|
+
parsed: json5.parse(raw)
|
|
5603
5603
|
};
|
|
5604
5604
|
} catch (err) {
|
|
5605
5605
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeOptionalAccountId, 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 { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { d as getChannelDock } from "./thinking-
|
|
12
|
-
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
13
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BNByVCIH.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-BHLNSI8U.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-BoYFajMu.js";
|
|
10
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-bC3UVmVH.js";
|
|
11
|
+
import { d as getChannelDock } from "./thinking-CXqf7WTe.js";
|
|
12
|
+
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CW630epe.js";
|
|
13
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-pYqe432l.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
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-Wd5tNeQG.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, G 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-KlTNfkFF.js";
|
|
4
|
+
import { B as resolveSymiAgentDir, G as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-CsbEfrS0.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
|
|
6
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CW630epe.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
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 stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, 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 processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, 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 normalizeAccountId$1, 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 listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-
|
|
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 stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, 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 processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, 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 normalizeAccountId$1, 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 listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-BVs4oalQ.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-BNByVCIH.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 { T 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-CjOBB3Vo.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-KlTNfkFF.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-CsbEfrS0.js";
|
|
15
|
+
import { T as runCommandWithTimeout } from "./agent-scope-CYYpcO9W.js";
|
|
16
|
+
import "./manifest-registry-CPnHl_K3.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-BlQR__MN.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-BHLNSI8U.js";
|
|
23
|
+
import { a as loadWebMedia } from "./ir-BJ6BHE5b.js";
|
|
24
|
+
import { u as chunkTextByBreakResolver } from "./chunk-Dw2XBYXv.js";
|
|
25
|
+
import "./message-channel-COTAJzHd.js";
|
|
26
|
+
import "./bindings-C7hRtgYW.js";
|
|
27
|
+
import "./markdown-tables-BoYFajMu.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 { a 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 { T as resolveChannelMediaMaxBytes } from "./deliver-
|
|
45
|
-
import "./pi-embedded-helpers-
|
|
29
|
+
import "./tables-DNwXwNFa.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-C5h_YxNb.js";
|
|
31
|
+
import "./tool-images-HJ2sfZDV.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-Paro1BjP.js";
|
|
33
|
+
import { s as parseSlackBlocksInput } from "./send-B2CEnVLL.js";
|
|
34
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-CRsR8-vO.js";
|
|
35
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-CGBT7tgF.js";
|
|
36
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-uxfMZW4p.js";
|
|
37
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-bC3UVmVH.js";
|
|
38
|
+
import "./skill-commands-ff_01_r3.js";
|
|
39
|
+
import "./skills-_yTP47Cd.js";
|
|
40
|
+
import { N as rawDataToString } from "./chrome-B7RdxmJ0.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-CXqf7WTe.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 { T as resolveChannelMediaMaxBytes } from "./deliver-BZ99UKQq.js";
|
|
45
|
+
import "./pi-embedded-helpers-CW630epe.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-
|
|
51
|
-
import "./image-
|
|
47
|
+
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-05pm5Rxi.js";
|
|
48
|
+
import { n as extractOriginalFilename } from "./store-BdrNabcU.js";
|
|
49
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BiyAyTWz.js";
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-D4P9MkFu.js";
|
|
51
|
+
import "./image-CLOPx7yW.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./sqlite-
|
|
53
|
+
import "./api-key-rotation-D_sMvI5W.js";
|
|
54
|
+
import "./sqlite-CxAR5ttJ.js";
|
|
55
55
|
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./send-
|
|
56
|
+
import "./manager-CBSBFuFz.js";
|
|
57
|
+
import "./commands-registry-COIaslGl.js";
|
|
58
|
+
import "./send-pYqe432l.js";
|
|
59
59
|
import "./proxy-MquBDehr.js";
|
|
60
|
-
import "./resolve-route-
|
|
61
|
-
import "./replies-
|
|
62
|
-
import "./outbound-attachment-
|
|
63
|
-
import "./outbound-
|
|
64
|
-
import "./session-
|
|
65
|
-
import { t as loginWeb } from "./login-
|
|
60
|
+
import "./resolve-route-B3CCBumQ.js";
|
|
61
|
+
import "./replies-LLcQL3w6.js";
|
|
62
|
+
import "./outbound-attachment-CnslKL38.js";
|
|
63
|
+
import "./outbound-B0e8KdaR.js";
|
|
64
|
+
import "./session-BsOrxiMj.js";
|
|
65
|
+
import { t as loginWeb } from "./login-DQMXuxOk.js";
|
|
66
66
|
import fs, { createWriteStream } from "node:fs";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
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-BlQR__MN.js";
|
|
3
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-BHLNSI8U.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 { j as logWarn, s 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 { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BlQR__MN.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 { A 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-KlTNfkFF.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-GKSevep4.js";
|
|
7
|
+
import { A as logInfo } from "./agent-scope-CYYpcO9W.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BsOrxiMj.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 { A 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-KlTNfkFF.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-B2uDN3TV.js";
|
|
7
|
+
import "./command-format-GKSevep4.js";
|
|
8
|
+
import "./model-selection-CsbEfrS0.js";
|
|
9
|
+
import { A as logInfo } from "./agent-scope-CYYpcO9W.js";
|
|
10
|
+
import "./manifest-registry-CPnHl_K3.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BsOrxiMj.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,16 +1,16 @@
|
|
|
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, r as resolveAgentDir, s as resolveAgentWorkspaceDir } 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-CsbEfrS0.js";
|
|
8
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CYYpcO9W.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 executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
13
|
-
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-D_sMvI5W.js";
|
|
13
|
+
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-CxAR5ttJ.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import os from "node:os";
|
|
@@ -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-BNByVCIH.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 { a 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 { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-CYYpcO9W.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-KlTNfkFF.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-BJ6BHE5b.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BoYFajMu.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-DNwXwNFa.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-BXYeALs0.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-BJ6BHE5b.js";
|
|
2
|
+
import { i as saveMediaBuffer } from "./store-BdrNabcU.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-DR2yt_mP.js";
|
|
2
2
|
import "./github-copilot-token-D9X2phUj.js";
|
|
3
|
-
import "./registry
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./command-format-
|
|
6
|
-
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
7
|
-
import "./agent-scope-
|
|
3
|
+
import "./registry-D0xTnUWt.js";
|
|
4
|
+
import "./subsystem-B2uDN3TV.js";
|
|
5
|
+
import "./command-format-GKSevep4.js";
|
|
6
|
+
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-CsbEfrS0.js";
|
|
7
|
+
import "./agent-scope-CYYpcO9W.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
|