squidclaw 3.0.19 → 3.0.20
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-DL8uYsUq.js → agents-BOS_wASV.js} +4 -4
- package/dist/{agents.config-B4KAAVvR.js → agents.config-ChUZBohP.js} +1 -1
- package/dist/{agents.config-D93fF1eJ.js → agents.config-Dfsl4jNF.js} +1 -1
- package/dist/{audio-preflight-Bzo_zN4j.js → audio-preflight-lT9iRnYi.js} +4 -4
- package/dist/{audio-transcription-runner-Cp_lkLCv.js → audio-transcription-runner-YiR1ym3a.js} +1 -1
- package/dist/{auth-choice-Ba4AEm_k.js → auth-choice-B_pvWO2S.js} +1 -1
- package/dist/{auth-choice-ziFj5bXd.js → auth-choice-kUm2JAky.js} +1 -1
- package/dist/{banner-DDih2slD.js → banner-4LItBqCV.js} +1 -1
- package/dist/build-info.json +2 -2
- 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-DTDfU0R6.js → channel-options-DA-4IR6h.js} +1 -1
- package/dist/{channel-options-BBSsevyl.js → channel-options-DQeQl3Rk.js} +1 -1
- package/dist/{channel-web-BXl9jCKV.js → channel-web--dAjVoio.js} +1 -1
- package/dist/{channel-web-SF18oYqo.js → channel-web-DJ21CAFF.js} +1 -1
- package/dist/{channels-cli-BDLabpWH.js → channels-cli-DviJtKuS.js} +6 -6
- package/dist/{channels-cli-BiuWJpJu.js → channels-cli-QvrLGt6C.js} +6 -6
- package/dist/{chrome-CZQnp4VH.js → chrome-CuBHInKC.js} +8 -8
- package/dist/{cli-CfgDCCuC.js → cli-aCubMdJg.js} +1 -1
- package/dist/{cli-DAZ1MKrJ.js → cli-q7seQ2Xx.js} +1 -1
- package/dist/{command-registry-DkjNuW8w.js → command-registry-C_YMaVul.js} +9 -9
- package/dist/{completion-cli-DbNma3J9.js → completion-cli-CyKEJDPO.js} +1 -1
- package/dist/{completion-cli-Du8H92bM.js → completion-cli-w4XQjhDI.js} +2 -2
- package/dist/{config-cli-D16tlTWa.js → config-cli-BfhjWCvB.js} +1 -1
- package/dist/{config-cli-CQhQ8Bcc.js → config-cli-BhQXEuBv.js} +1 -1
- package/dist/{configure-B4TiK50K.js → configure-0xkYrQ0e.js} +3 -3
- package/dist/{configure-B9b3cQTC.js → configure-Dsg_0ymU.js} +3 -3
- package/dist/{deliver-B4WWPQvt.js → deliver-6zfT7daI.js} +1 -1
- package/dist/{deliver-runtime-CeE1X9si.js → deliver-runtime-MBexxUuG.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-Cw7U9orE.js → deps-send-whatsapp.runtime-B7GC68Cu.js} +2 -2
- package/dist/{deps-send-whatsapp.runtime-CFnZsKW0.js → deps-send-whatsapp.runtime-BGDIgEzh.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-B9uivfkM.js → deps-send-whatsapp.runtime-BNAJe11S.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-miTfQkK9.js → deps-send-whatsapp.runtime-qBpqM2k9.js} +7 -7
- package/dist/{doctor-completion-CEiVFPte.js → doctor-completion-BCQdm02b.js} +1 -1
- package/dist/{doctor-completion-ujZ_JdIz.js → doctor-completion-BlkbgU5h.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{gateway-cli-NXeo-J8r.js → gateway-cli-tFwyE4a3.js} +8 -8
- package/dist/{gateway-cli-2jaWM_Ci.js → gateway-cli-uWj08vdf.js} +8 -8
- package/dist/{health-BPZALM__.js → health-BwC4Qe5W.js} +1 -1
- package/dist/{health-DFZKMrW2.js → health-DS3reqch.js} +1 -1
- package/dist/{hooks-cli-B3rkhWcT.js → hooks-cli-oei5kRQM.js} +2 -2
- package/dist/{hooks-cli-BO_gZJVD.js → hooks-cli-tp5LchRL.js} +2 -2
- package/dist/{image-DKkuLtZ4.js → image-VgwN31FZ.js} +1 -1
- package/dist/{image-runtime-BMavqm9n.js → image-runtime-CwMuTYvd.js} +3 -3
- package/dist/index.js +6 -6
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{models-Bb-GYqHr.js → models-D9X4EUlY.js} +2 -2
- package/dist/{models-cli-CAIJM1Wh.js → models-cli-C1PLBYF7.js} +2 -2
- package/dist/{models-cli-DffAz0ji.js → models-cli-LGp-Tok9.js} +3 -3
- package/dist/{npm-resolution-D2_zGJM-.js → npm-resolution-BUvQm-e-.js} +1 -1
- package/dist/{npm-resolution-D5pBCkUw.js → npm-resolution-Dtkh26DG.js} +1 -1
- package/dist/{onboard-dhG2YBez.js → onboard-B0padonr.js} +2 -2
- package/dist/{onboard-DcVsL9Jx.js → onboard-DDD6GX8E.js} +2 -2
- package/dist/{onboard-channels-mNXKTvFs.js → onboard-channels-9My16AOy.js} +1 -1
- package/dist/{onboard-channels-C-cQFUBH.js → onboard-channels-Bm_NXV3z.js} +1 -1
- package/dist/{onboarding-B3-IwkNi.js → onboarding-dES4q9RV.js} +3 -3
- package/dist/{onboarding-Cl6kW_iq.js → onboarding-o-id7p0-.js} +3 -3
- package/dist/{onboarding.finalize-BZqsNG2H.js → onboarding.finalize-BFtOLT7n.js} +6 -6
- package/dist/{onboarding.finalize-CCU-ykTR.js → onboarding.finalize-dpgNgUt5.js} +5 -5
- package/dist/{pi-embedded-C5U8Qxn6.js → pi-embedded-B_4NAHxA.js} +4 -40
- package/dist/{pi-embedded-B79nZERv.js → pi-embedded-BpHQIzjg.js} +24 -60
- package/dist/{pi-embedded-helpers-CEHpGDRs.js → pi-embedded-helpers-A9VYPVCH.js} +3 -3
- package/dist/{plugin-registry-CB47SSz1.js → plugin-registry-CCeUDvxY.js} +1 -1
- package/dist/{plugin-registry-Gy_VByyf.js → plugin-registry-CCkpP8-I.js} +1 -1
- package/dist/plugin-sdk/{channel-web-vB3Dcd8-.js → channel-web-BQE2gJ5U.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BrhP6FQO.js → channel-web-BtNgAS1G.js} +1 -1
- package/dist/plugin-sdk/compat.js +50 -50
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-CuxKhIE0.js → deps-send-whatsapp.runtime-DPZSTh1j.js} +3 -3
- package/dist/plugin-sdk/{deps-send-whatsapp.runtime-Ce4Gzz-J.js → deps-send-whatsapp.runtime-V0Jfat5S.js} +3 -3
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/mattermost.js +3 -3
- package/dist/plugin-sdk/nextcloud-talk.js +2 -2
- package/dist/plugin-sdk/{reply-DxvpiQBp.js → reply-DJYA4ZNu.js} +4 -40
- package/dist/plugin-sdk/{reply-sFKB3ofA.js → reply-DeKKmUDh.js} +4 -40
- package/dist/plugin-sdk/{slash-dispatch.runtime-C7u7mlny.js → slash-dispatch.runtime-E6j8gkO2.js} +1 -1
- package/dist/plugin-sdk/{slash-dispatch.runtime-Dyb_EkUt.js → slash-dispatch.runtime-k8xSVYOI.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-B6l6PxqP.js → subagent-registry-runtime-Cca50Qld.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-runtime-hdnabonI.js → subagent-registry-runtime-D6cTAG2k.js} +1 -1
- package/dist/plugin-sdk/{web-Bnn82S4u.js → web-Be4JS3z8.js} +2 -2
- package/dist/plugin-sdk/{web-D9LAdsuU.js → web-DkbCMgLG.js} +2 -2
- package/dist/plugin-sdk/whatsapp.js +2 -2
- package/dist/{plugins-cli-gtgkmDcv.js → plugins-cli-CZCadI9y.js} +2 -2
- package/dist/{plugins-cli-BYnoJwF1.js → plugins-cli-DFpHU_xo.js} +2 -2
- package/dist/{program-BGlgDpHI.js → program-B4_o5EDH.js} +7 -7
- package/dist/{program-context-M4FTWqqg.js → program-context-CkfdLtpp.js} +17 -17
- package/dist/{prompt-select-styled-AL5Tm3yO.js → prompt-select-styled-C1DFrYuk.js} +4 -4
- package/dist/{prompt-select-styled-BVC2byQV.js → prompt-select-styled-CZJJ2rPA.js} +4 -4
- package/dist/{provider-auth-helpers-DDgrFku5.js → provider-auth-helpers-BlYwNWkq.js} +1 -1
- package/dist/{provider-auth-helpers-Q7aIhDgv.js → provider-auth-helpers-C5taJG0R.js} +1 -1
- package/dist/{push-apns-FyGbUyh2.js → push-apns-Bhk1_5ut.js} +1 -1
- package/dist/{push-apns-Ga8xvhkh.js → push-apns-Dkjfalec.js} +1 -1
- package/dist/{pw-ai-Du22SYoO.js → pw-ai-CM87tQwG.js} +1 -1
- package/dist/{register.agent-zP8a-sNB.js → register.agent-DOp4lbyc.js} +7 -7
- package/dist/{register.agent-koAXw1ay.js → register.agent-s2PqcoIS.js} +6 -6
- package/dist/{register.configure-CYrmyjlf.js → register.configure-BGfourxZ.js} +7 -7
- package/dist/{register.configure-CUuP5J8W.js → register.configure-DABoMBBf.js} +7 -7
- package/dist/{register.maintenance-BZuEljPU.js → register.maintenance-Bdr3bSAF.js} +8 -8
- package/dist/{register.maintenance-ByEQ2CVH.js → register.maintenance-DmP8sVxb.js} +7 -7
- package/dist/{register.message-BkSXhv9I.js → register.message-DF0InVCv.js} +2 -2
- package/dist/{register.message-CgHfmDHm.js → register.message-gz8DaAc1.js} +2 -2
- package/dist/{register.onboard-HcQwPAEK.js → register.onboard-Do14cwDQ.js} +2 -2
- package/dist/{register.onboard-4ke40MNP.js → register.onboard-auVLfmF3.js} +2 -2
- package/dist/{register.setup-xAb7Cvzy.js → register.setup-B3aVuPyo.js} +2 -2
- package/dist/{register.setup-B41xZb1r.js → register.setup-ZyGJlYOD.js} +2 -2
- package/dist/{register.status-health-sessions-CcOVL0x8.js → register.status-health-sessions-C-1HE5oP.js} +3 -3
- package/dist/{register.status-health-sessions-BbHAAKwv.js → register.status-health-sessions-vFpvdVS1.js} +3 -3
- package/dist/{register.subclis-_uSASnfC.js → register.subclis-BYiAuTiK.js} +9 -9
- package/dist/{reply-BFTOdZcK.js → reply-BaVB3YlN.js} +4 -40
- package/dist/{run-main-C1eZrW-5.js → run-main-DW-JR8hB.js} +14 -14
- package/dist/{server-node-events-DbS1jJ5j.js → server-node-events-D-EmiDyc.js} +2 -2
- package/dist/{server-node-events-pYrJmi9w.js → server-node-events-rumcq7j0.js} +2 -2
- package/dist/{slash-dispatch.runtime-BGXbtMX6.js → slash-dispatch.runtime-BeltKAMm.js} +6 -6
- package/dist/{slash-dispatch.runtime-DqZVfX4H.js → slash-dispatch.runtime-C7rHRQFg.js} +1 -1
- package/dist/{slash-dispatch.runtime-DmFVOi3w.js → slash-dispatch.runtime-DPRwMKXk.js} +1 -1
- package/dist/{slash-dispatch.runtime-PX9_08Hm.js → slash-dispatch.runtime-sVHNrSL1.js} +1 -1
- package/dist/{status-DtiapFqq.js → status-BeSD1NDD.js} +2 -2
- package/dist/{status-B4eVRJcO.js → status-DGF_ROMC.js} +2 -2
- package/dist/{subagent-registry-Ctrhw4X-.js → subagent-registry-CgUBOyi3.js} +4 -40
- package/dist/{subagent-registry-runtime-Cy7dsGqF.js → subagent-registry-runtime-BYpjZwjA.js} +1 -1
- package/dist/{subagent-registry-runtime-BIKGAzgI.js → subagent-registry-runtime-Bm5UEB8c.js} +1 -1
- package/dist/{subagent-registry-runtime-CezPaX9P.js → subagent-registry-runtime-Bxc5DYZt.js} +6 -6
- package/dist/{subagent-registry-runtime-CTjx4TK5.js → subagent-registry-runtime-Cx5vPpG8.js} +1 -1
- package/dist/{update-cli-DLOWRdjv.js → update-cli-BSIF-OEa.js} +8 -8
- package/dist/{update-cli-_FsTRdQZ.js → update-cli-Duy8S3Bj.js} +7 -7
- package/dist/{update-runner-BY3l7ytB.js → update-runner-CMpruPN8.js} +1 -1
- package/dist/{update-runner-BKWHnVYI.js → update-runner-D_nDdx7d.js} +1 -1
- package/dist/{web-BNfDYvlW.js → web-Bnr4YuWJ.js} +2 -2
- package/dist/{web-BdZ3mX3p.js → web-C-5RPkV9.js} +2 -2
- package/dist/{web-1D0d1RHD.js → web-C0xcHURK.js} +1 -1
- package/dist/{web-B46aOGK0.js → web-CKY0tK0k.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/accounts-CUEuUR3C.js +0 -46
- package/dist/plugin-sdk/accounts-D0W2pELU.js +0 -288
- package/dist/plugin-sdk/accounts-ucj0odJq.js +0 -35
- package/dist/plugin-sdk/active-listener-BO7eBEG_.js +0 -50
- package/dist/plugin-sdk/agents/agent-tier.d.ts +0 -13
- package/dist/plugin-sdk/api-key-rotation-C4C_mDsg.js +0 -181
- package/dist/plugin-sdk/audio-preflight-Cqdo0JKm.js +0 -69
- package/dist/plugin-sdk/audio-transcription-runner-DnEooIyE.js +0 -2176
- package/dist/plugin-sdk/audit-membership-runtime-B9b-zRwg.js +0 -58
- package/dist/plugin-sdk/channel-activity-BMWLw4o2.js +0 -94
- package/dist/plugin-sdk/channel-web-D9WdAFlv.js +0 -2256
- package/dist/plugin-sdk/chrome-CV-q0Lmc.js +0 -2415
- package/dist/plugin-sdk/commands-registry-e7YoqrbP.js +0 -1125
- package/dist/plugin-sdk/config-B2B64aX0.js +0 -17911
- package/dist/plugin-sdk/deliver-BkyBtcLR.js +0 -1694
- package/dist/plugin-sdk/deliver-runtime-O4lwAWMw.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-BAeeBldY.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-EL-CfikZ.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BeemHeUu.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-DTttkC0N.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-Dsf9Cnka.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CCS71r77.js +0 -57
- package/dist/plugin-sdk/diagnostic-DPRVoKTk.js +0 -319
- package/dist/plugin-sdk/errors-B8oJXuCF.js +0 -54
- package/dist/plugin-sdk/fetch-guard-F0Fnqisy.js +0 -156
- package/dist/plugin-sdk/fs-safe-Dqmpk-Fr.js +0 -352
- package/dist/plugin-sdk/image-cBW8L8pp.js +0 -2310
- package/dist/plugin-sdk/image-ops-BP8ix1GC.js +0 -584
- package/dist/plugin-sdk/image-runtime-9xkgSlNz.js +0 -25
- package/dist/plugin-sdk/ir-DWEc6zOp.js +0 -1296
- package/dist/plugin-sdk/local-roots-BIPT8uAO.js +0 -186
- package/dist/plugin-sdk/logger-DDdrdbDu.js +0 -1163
- package/dist/plugin-sdk/login-BMTiGutN.js +0 -57
- package/dist/plugin-sdk/login-qr-BFxqYUkc.js +0 -320
- package/dist/plugin-sdk/manager-BD-aYaZ8.js +0 -3917
- package/dist/plugin-sdk/manager-runtime-C5bRwUlz.js +0 -15
- package/dist/plugin-sdk/outbound-Bm07xvO6.js +0 -212
- package/dist/plugin-sdk/outbound-attachment-DLsaxDsc.js +0 -19
- package/dist/plugin-sdk/path-alias-guards-gBhrAn14.js +0 -43
- package/dist/plugin-sdk/paths-C6W4VHoa.js +0 -166
- package/dist/plugin-sdk/pi-embedded-helpers-BExwPvTh.js +0 -9627
- package/dist/plugin-sdk/pi-model-discovery-DdctvBeX.js +0 -134
- package/dist/plugin-sdk/pi-model-discovery-runtime-DrtpLJjk.js +0 -8
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-rgTz3FBl.js +0 -354
- package/dist/plugin-sdk/plugins-BN64HHZA.js +0 -864
- package/dist/plugin-sdk/proxy-fetch-ZPEvp58f.js +0 -38
- package/dist/plugin-sdk/pw-ai-DBm3RdBK.js +0 -1938
- package/dist/plugin-sdk/qmd-manager-6bozlfFg.js +0 -1448
- package/dist/plugin-sdk/query-expansion-eeVz_aEm.js +0 -1011
- package/dist/plugin-sdk/redact-BoNEjbpF.js +0 -319
- package/dist/plugin-sdk/reply-CqXMy3Yd.js +0 -98731
- package/dist/plugin-sdk/resolve-outbound-target-DXfjGlZQ.js +0 -40
- package/dist/plugin-sdk/run-with-concurrency-5DMu9szx.js +0 -1994
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D2hkJBa-.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-C06I4adi.js +0 -19
- package/dist/plugin-sdk/send-B9xnwtQ-.js +0 -540
- package/dist/plugin-sdk/send-BxySs-Cu.js +0 -2587
- package/dist/plugin-sdk/send-D9THKp_J.js +0 -414
- package/dist/plugin-sdk/send-DCuaaP2w.js +0 -503
- package/dist/plugin-sdk/send-Dm_-_xje.js +0 -3135
- package/dist/plugin-sdk/session-DDzIZHxt.js +0 -169
- package/dist/plugin-sdk/skill-commands-DRvqtuFC.js +0 -342
- package/dist/plugin-sdk/skills-BWwlfbVj.js +0 -1428
- package/dist/plugin-sdk/slash-commands.runtime-BzYsaTST.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BC3IAF-I.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-sg98L8BK.js +0 -16
- package/dist/plugin-sdk/ssrf-DOBwjFow.js +0 -202
- package/dist/plugin-sdk/store-BKDR_-Qk.js +0 -81
- package/dist/plugin-sdk/subagent-registry-runtime-Ceu7AzWi.js +0 -52
- package/dist/plugin-sdk/tables-GIj79us5.js +0 -55
- package/dist/plugin-sdk/target-errors-jlLHihbX.js +0 -195
- package/dist/plugin-sdk/thinking-BgdUnMZ2.js +0 -1206
- package/dist/plugin-sdk/tokens-CTIYTLWu.js +0 -52
- package/dist/plugin-sdk/tool-images-GSlvf6RP.js +0 -274
- package/dist/plugin-sdk/web-BK2-uaOo.js +0 -56
- package/dist/plugin-sdk/whatsapp-actions-DQpK_5Ds.js +0 -80
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-
|
|
3
|
-
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-
|
|
1
|
+
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-BvgevDAl.js";
|
|
2
|
+
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-Ba9Wgzzz.js";
|
|
3
|
+
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
|
-
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-
|
|
7
|
-
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredSquidClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-
|
|
8
|
-
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-
|
|
9
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-
|
|
12
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
13
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
14
|
-
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-
|
|
15
|
-
import "./paths-
|
|
6
|
+
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-k8lexny8.js";
|
|
7
|
+
import { A as sleep, C as pathExists, D as safeParseJson, K as registerLogTransport, S as normalizeE164, X as resolvePreferredSquidClawTmpDir, _ as escapeRegExp, f as CONFIG_DIR, o as stripAnsi, p as clamp, y as isRecord } from "./logger-D0ST0Irn.js";
|
|
8
|
+
import { A as resolveWhatsAppGroupToolPolicy, B as normalizeWhatsAppMessagingTarget, C as resolveIMessageGroupRequireMention, D as resolveTelegramGroupRequireMention, E as resolveSlackGroupToolPolicy, F as resolveIMessageConfigDefaultTo, H as trimMessagingTarget, I as resolveWhatsAppConfigAllowFrom, K as resolveToolsBySender, L as resolveWhatsAppConfigDefaultTo, M as formatTrimmedAllowFromEntries, N as formatWhatsAppConfigAllowFromEntries, O as resolveTelegramGroupToolPolicy, P as resolveIMessageConfigAllowFrom, R as looksLikeWhatsAppTargetId, S as resolveGoogleChatGroupToolPolicy, T as resolveSlackGroupRequireMention, V as looksLikeHandleOrPhoneTarget, _ as resolveBlueBubblesGroupRequireMention, b as resolveDiscordGroupToolPolicy, g as normalizeSignalMessagingTarget, h as looksLikeSignalTargetId, j as buildSlackThreadingToolContext, k as resolveWhatsAppGroupRequireMention, m as resolveWhatsAppMentionStripPatterns, p as resolveWhatsAppGroupIntroHint, v as resolveBlueBubblesGroupToolPolicy, w as resolveIMessageGroupToolPolicy, x as resolveGoogleChatGroupRequireMention, y as resolveDiscordGroupRequireMention, z as normalizeWhatsAppAllowFromEntries } from "./thinking-DgMA62hm.js";
|
|
9
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-BHYex-G5.js";
|
|
10
|
+
import "./pi-embedded-helpers-hNwB4xIN.js";
|
|
11
|
+
import { A as listSlackAccountIds, C as resolveTelegramAccount, D as listConfiguredAccountIds, H as resolveDiscordAccount, I as isWhatsAppGroupJid, L as normalizeWhatsAppTarget, M as resolveSlackAccount, N as resolveSlackReplyToMode, O as resolveAccountWithDefaultFallback, S as resolveDefaultTelegramAccountId, V as resolveDefaultDiscordAccountId, a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, j as resolveDefaultSlackAccountId, k as listEnabledSlackAccounts, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, x as listTelegramAccountIds, z as listDiscordAccountIds } from "./plugins-B2KnqFEY.js";
|
|
12
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-BI3JxRDk.js";
|
|
13
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-D6llzjV7.js";
|
|
14
|
+
import { At as resolveChannelEntryMatch, Mt as resolveNestedAllowlistDecision, Ot as buildChannelKeyCandidates, at as parseDiscordTarget, dt as normalizeDiscordSlug, jt as resolveChannelEntryMatchWithFallback, kt as normalizeChannelSlug } from "./send-BR9OYFM9.js";
|
|
15
|
+
import "./paths-BLzXuEeT.js";
|
|
16
16
|
import "./fetch-B_RcOnt9.js";
|
|
17
|
-
import { t as redactSensitiveText } from "./redact-
|
|
18
|
-
import { r as formatErrorMessage } from "./errors-
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import "./path-alias-guards-
|
|
21
|
-
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
22
|
-
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-
|
|
23
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
24
|
-
import "./local-roots-
|
|
25
|
-
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-
|
|
17
|
+
import { t as redactSensitiveText } from "./redact-Bns9Du30.js";
|
|
18
|
+
import { r as formatErrorMessage } from "./errors-s9jrwzSl.js";
|
|
19
|
+
import "./channel-activity-C_Wffpe_.js";
|
|
20
|
+
import "./path-alias-guards-DrvsHTvG.js";
|
|
21
|
+
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-Dm1GaYts.js";
|
|
22
|
+
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-Bbnu-pU4.js";
|
|
23
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BT_ZMjdu.js";
|
|
24
|
+
import "./local-roots-DJz6gaSe.js";
|
|
25
|
+
import { p as chunkTextByBreakResolver, v as loadWebMedia } from "./ir-grefkWwy.js";
|
|
26
26
|
import "./render-HmipMDlP.js";
|
|
27
|
-
import "./tables-
|
|
28
|
-
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-
|
|
29
|
-
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-
|
|
30
|
-
import "./tool-images-
|
|
31
|
-
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
32
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
33
|
-
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-
|
|
27
|
+
import "./tables-CKzCoCfJ.js";
|
|
28
|
+
import { c as parseChatAllowTargetPrefixes, d as resolveServicePrefixedTarget, f as formatAllowFromLowercase, l as parseChatTargetPrefixesOrThrow, m as isNormalizedSenderAllowed, o as normalizeIMessageHandle, p as isAllowedParsedChatSender, u as resolveServicePrefixedAllowTarget } from "./send-tOMa3o8b.js";
|
|
29
|
+
import { J as isWSL2Sync, K as formatLocationText, X as isWSLSync, Y as isWSLEnv, nt as readJsonFileWithFallback, q as toLocationContext, rt as writeJsonFileAtomically } from "./send-02Mm2rGf.js";
|
|
30
|
+
import "./tool-images-Be6dL_YS.js";
|
|
31
|
+
import { d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-CIj_xeW1.js";
|
|
32
|
+
import { s as parseSlackBlocksInput } from "./send-dLA19uZA.js";
|
|
33
|
+
import { b as buildRandomTempFilePath, x as withTempDownloadPath } from "./audio-transcription-runner-CGc_CDhx.js";
|
|
34
34
|
import { a as resolveWindowsSpawnProgramCandidate, i as resolveWindowsSpawnProgram, n as materializeWindowsSpawnProgram, r as resolveWindowsExecutablePath, t as applyWindowsSpawnProgramPolicy } from "./windows-spawn-E2JqbJ-S.js";
|
|
35
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
36
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
37
|
-
import "./skills-
|
|
38
|
-
import { J as rawDataToString } from "./chrome-
|
|
39
|
-
import { A as resolveChannelMediaMaxBytes } from "./deliver-
|
|
40
|
-
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-
|
|
41
|
-
import { r as extractOriginalFilename } from "./store-
|
|
42
|
-
import "./commands-registry-
|
|
35
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C-B2SvJW.js";
|
|
36
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-BaRUjatG.js";
|
|
37
|
+
import "./skills-DTXauvrv.js";
|
|
38
|
+
import { J as rawDataToString } from "./chrome-B7s1nq2S.js";
|
|
39
|
+
import { A as resolveChannelMediaMaxBytes } from "./deliver-BXcGPR-z.js";
|
|
40
|
+
import { g as onDiagnosticEvent, h as isDiagnosticsEnabled, m as emitDiagnosticEvent } from "./diagnostic-BODCjkFr.js";
|
|
41
|
+
import { r as extractOriginalFilename } from "./store-mpQn5APQ.js";
|
|
42
|
+
import "./commands-registry-_yYiP-uB.js";
|
|
43
43
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget } from "./targets-D46Aqz9j.js";
|
|
44
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
45
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
46
|
-
import "./image-
|
|
47
|
-
import "./api-key-rotation-
|
|
48
|
-
import "./proxy-fetch-
|
|
49
|
-
import "./pi-model-discovery-
|
|
50
|
-
import "./send-
|
|
51
|
-
import "./outbound-attachment-
|
|
44
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BrK5UCnq.js";
|
|
45
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BtNgAS1G.js";
|
|
46
|
+
import "./image-CU8oj8pT.js";
|
|
47
|
+
import "./api-key-rotation-T3PKdBeS.js";
|
|
48
|
+
import "./proxy-fetch-tPMv_1eB.js";
|
|
49
|
+
import "./pi-model-discovery-CCYmQWtY.js";
|
|
50
|
+
import "./send-CvoPKol0.js";
|
|
51
|
+
import "./outbound-attachment-BgfY6Svh.js";
|
|
52
52
|
import "./proxy-BKdNrmWL.js";
|
|
53
|
-
import "./manager-
|
|
54
|
-
import "./query-expansion-
|
|
55
|
-
import "./outbound-
|
|
56
|
-
import "./session-
|
|
57
|
-
import { t as loginWeb } from "./login-
|
|
53
|
+
import "./manager-CNAIUm4_.js";
|
|
54
|
+
import "./query-expansion-BPZueaGF.js";
|
|
55
|
+
import "./outbound-B_X7s6WE.js";
|
|
56
|
+
import "./session-7o8Q5UqP.js";
|
|
57
|
+
import { t as loginWeb } from "./login-THm-lWu1.js";
|
|
58
58
|
import fs, { createWriteStream } from "node:fs";
|
|
59
59
|
import path from "node:path";
|
|
60
60
|
import os from "node:os";
|
|
@@ -8,7 +8,7 @@ import "./thinking-DRNOh5Xx.js";
|
|
|
8
8
|
import "./accounts-0kF5cxkn.js";
|
|
9
9
|
import "./send-BNePC8CO.js";
|
|
10
10
|
import "./common-J8vIST9Q.js";
|
|
11
|
-
import "./reply-
|
|
11
|
+
import "./reply-DeKKmUDh.js";
|
|
12
12
|
import "./image-ops-G8KoEfY8.js";
|
|
13
13
|
import "./pi-embedded-helpers-BioULNev.js";
|
|
14
14
|
import "./accounts-u0-JAHzj.js";
|
|
@@ -16,7 +16,7 @@ import "./send-BCVXt-3e.js";
|
|
|
16
16
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
17
|
import "./paths-B7_75Pdr.js";
|
|
18
18
|
import "./send-DhGDAZnT.js";
|
|
19
|
-
import "./channel-web-
|
|
19
|
+
import "./channel-web-BQE2gJ5U.js";
|
|
20
20
|
import "./tokens-CLE20fRI.js";
|
|
21
21
|
import "./audio-transcription-runner-Ced47O1H.js";
|
|
22
22
|
import "./image-4ay2cw7G.js";
|
|
@@ -52,6 +52,6 @@ import "./query-expansion-POz2za8a.js";
|
|
|
52
52
|
import { t as sendMessageWhatsApp } from "./outbound-BK75h9CQ.js";
|
|
53
53
|
import "./session-CAqYQVhe.js";
|
|
54
54
|
import "./login-Cgtm70by.js";
|
|
55
|
-
import "./web-
|
|
55
|
+
import "./web-Be4JS3z8.js";
|
|
56
56
|
|
|
57
57
|
export { sendMessageWhatsApp };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./run-with-concurrency-BvgevDAl.js";
|
|
2
2
|
import "./accounts-Ba9Wgzzz.js";
|
|
3
|
-
import "./reply-
|
|
3
|
+
import "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
6
|
import "./config-k8lexny8.js";
|
|
@@ -39,7 +39,7 @@ import "./deliver-BXcGPR-z.js";
|
|
|
39
39
|
import "./diagnostic-BODCjkFr.js";
|
|
40
40
|
import "./store-mpQn5APQ.js";
|
|
41
41
|
import "./commands-registry-_yYiP-uB.js";
|
|
42
|
-
import "./channel-web-
|
|
42
|
+
import "./channel-web-BtNgAS1G.js";
|
|
43
43
|
import "./image-CU8oj8pT.js";
|
|
44
44
|
import "./api-key-rotation-T3PKdBeS.js";
|
|
45
45
|
import "./proxy-fetch-tPMv_1eB.js";
|
|
@@ -52,6 +52,6 @@ import "./query-expansion-BPZueaGF.js";
|
|
|
52
52
|
import { t as sendMessageWhatsApp } from "./outbound-B_X7s6WE.js";
|
|
53
53
|
import "./session-7o8Q5UqP.js";
|
|
54
54
|
import "./login-THm-lWu1.js";
|
|
55
|
-
import "./web-
|
|
55
|
+
import "./web-DkbCMgLG.js";
|
|
56
56
|
|
|
57
57
|
export { sendMessageWhatsApp };
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $ as normalizeAgentId, D as runCommandWithTimeout, R as isNotFoundPathError, at as DEFAULT_ACCOUNT_ID, nt as resolveThreadSessionKeys, ot as normalizeAccountId, z as isPathInside } from "./run-with-concurrency-BvgevDAl.js";
|
|
2
2
|
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId, y as createAccountListHelpers } from "./accounts-Ba9Wgzzz.js";
|
|
3
|
-
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-
|
|
3
|
+
import { $ as shouldAckReaction, $t as isRequestBodyLimitError, A as attachFooterText, At as issuePairingChallenge, B as resolveDiscordChannelAllowlist, Bt as resolveControlCommandGate, Ct as resolveTimezone, D as processLineMessage, Dt as readBooleanParam, E as hasMarkdownToConvert, F as parseTelegramThreadId, Ft as resolveDmGroupAccessDecision, G as recordInboundSession, Gt as resolveOpenProviderRuntimeGroupPolicy, H as formatDocsLink, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, I as resolveSlackUserAllowlist, It as resolveDmGroupAccessWithCommandGate, J as logTypingFailure, Jt as pruneMapToMaxSize, K as logAckFailure, Kt as resolveRuntimeGroupPolicy, L as resolveSlackChannelAllowlist, Lt as resolveDmGroupAccessWithLists, Mt as DM_GROUP_ACCESS_REASON, Nt as readStoreAllowFromForDmPolicy, O as stripMarkdown, Ot as buildMediaPayload, P as parseTelegramReplyToMessageId, Pt as resolveDmAllowState, Q as removeAckReactionAfterReply, Qt as installRequestBodyLimitGuard, R as detectBinary, Rt as resolveEffectiveAllowFromLists, Sn as CHANNEL_MESSAGE_ACTION_NAMES, St as formatZonedTimestamp, U as optionalStringEnum, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as collectDiscordAuditChannelIds, Vt as GROUP_POLICY_BLOCKED_LABEL, W as stringEnum, Wt as resolveDefaultGroupPolicy, X as createReplyPrefixOptions, Xt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Y as createReplyPrefixContext, Yt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Z as createTypingCallbacks, Zt as RequestBodyLimitError, _n as resolveAllowlistMatchByCandidates, _t as listDevicePairing, an as isDangerousNameMatchingEnabled, at as DEFAULT_GROUP_HISTORY_LIMIT, bn as BLUEBUBBLES_ACTION_NAMES, bt as formatInboundFromLabel, c as normalizeAccountId$1, cn as registerAcpRuntimeBackend, ct as clearHistoryEntries, dn as ACP_ERROR_CODES, dt as recordPendingHistoryEntry, en as readJsonBodyWithLimit, et as shouldAckReactionForWhatsApp, fn as AcpRuntimeError, ft as recordPendingHistoryEntryIfEnabled, gn as formatAllowlistMatchMeta, gt as approveDevicePairing, hn as unbindThreadBindingsBySessionKey, ht as createDedupeCache, in as enqueueKeyedTask, it as summarizeMapping, k as createReceiptCard, kt as extractToolSend, l as resolveDefaultLineAccountId, ln as requireAcpRuntimeBackend, lt as clearHistoryEntriesIfEnabled, mn as listThreadBindingsBySessionKey, nn as requestBodyErrorToText, nt as resolveMentionGatingWithBypass, on as registerPluginHttpRoute, pn as autoBindSpawnedDiscordSubagent, q as logInboundDrop, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as KeyedAsyncQueue, rt as mergeAllowlist, s as listLineAccountIds, sn as getAcpRuntimeBackend, st as buildPendingHistoryContextFromMap, tn as readRequestBodyWithLimit, tt as resolveMentionGating, u as resolveLineAccount, un as unregisterAcpRuntimeBackend, ut as evictOldHistoryKeys, vn as resolveAllowlistMatchSimple, vt as rejectDevicePairing, wt as resolveAckReaction, xn as BLUEBUBBLES_GROUP_ACTIONS, xt as formatUtcTimestamp, yn as BLUEBUBBLES_ACTIONS, z as resolveDiscordUserAllowlist } from "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
6
|
import { A as GroupPolicySchema, Ar as withFileLock, At as normalizePluginHttpPath, B as requireOpenAllowFrom, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsAutoSchema, Hr as isSecretRef, I as TtsConfigSchema, L as TtsModeSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as SecretInputSchema, Pr as formatCliCommand, R as TtsProviderSchema, Ur as normalizeResolvedSecretInputString, Vr as hasConfiguredSecretInput, Wr as normalizeSecretInputString, c as WhatsAppConfigSchema, d as IMessageConfigSchema, ei as isTruthyEnvValue, f as MSTeamsConfigSchema, fr as resolveSecretRefString, h as TelegramConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, kr as acquireFileLock, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema, vr as isValidFileSecretRefId, xr as encodeJsonPointerToken, yr as resolveDefaultSecretProviderAlias, yt as getChatChannelMeta, z as normalizeAllowFrom, zr as assertSecretInputResolved } from "./config-k8lexny8.js";
|
|
@@ -42,7 +42,7 @@ import { r as extractOriginalFilename } from "./store-mpQn5APQ.js";
|
|
|
42
42
|
import "./commands-registry-_yYiP-uB.js";
|
|
43
43
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget } from "./targets-D46Aqz9j.js";
|
|
44
44
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-BrK5UCnq.js";
|
|
45
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
45
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BtNgAS1G.js";
|
|
46
46
|
import "./image-CU8oj8pT.js";
|
|
47
47
|
import "./api-key-rotation-T3PKdBeS.js";
|
|
48
48
|
import "./proxy-fetch-tPMv_1eB.js";
|
|
@@ -5,7 +5,7 @@ import fs, { constants } from "node:fs";
|
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import chalk, { Chalk } from "chalk";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
|
-
import
|
|
8
|
+
import json5 from "json5";
|
|
9
9
|
import util, { promisify } from "node:util";
|
|
10
10
|
import fs$1 from "node:fs/promises";
|
|
11
11
|
import process$1 from "node:process";
|
|
@@ -400,7 +400,7 @@ function readLoggingConfig() {
|
|
|
400
400
|
try {
|
|
401
401
|
if (!fs.existsSync(configPath)) return;
|
|
402
402
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
403
|
-
const logging =
|
|
403
|
+
const logging = json5.parse(raw)?.logging;
|
|
404
404
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
405
405
|
return logging;
|
|
406
406
|
} catch {
|
|
@@ -4481,7 +4481,7 @@ function resolveSquidClawManifestBlock(params) {
|
|
|
4481
4481
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
4482
4482
|
if (!raw) return;
|
|
4483
4483
|
try {
|
|
4484
|
-
const parsed =
|
|
4484
|
+
const parsed = json5.parse(raw);
|
|
4485
4485
|
if (!parsed || typeof parsed !== "object") return;
|
|
4486
4486
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
4487
4487
|
for (const key of manifestKeys) {
|
|
@@ -6,7 +6,7 @@ import fs from "node:fs";
|
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { format, promisify } from "node:util";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import process$1 from "node:process";
|
|
@@ -722,7 +722,7 @@ function readLoggingConfig() {
|
|
|
722
722
|
try {
|
|
723
723
|
if (!fs.existsSync(configPath)) return;
|
|
724
724
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
725
|
-
const logging =
|
|
725
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
726
726
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
727
727
|
return logging;
|
|
728
728
|
} catch {
|
|
@@ -23547,7 +23547,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
23547
23547
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
23548
23548
|
let subagentRegistryRuntimePromise = null;
|
|
23549
23549
|
function loadSubagentRegistryRuntime() {
|
|
23550
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
23550
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-D6cTAG2k.js");
|
|
23551
23551
|
return subagentRegistryRuntimePromise;
|
|
23552
23552
|
}
|
|
23553
23553
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -45481,7 +45481,7 @@ let slackSenderRuntimePromise = null;
|
|
|
45481
45481
|
let signalSenderRuntimePromise = null;
|
|
45482
45482
|
let imessageSenderRuntimePromise = null;
|
|
45483
45483
|
function loadWhatsAppSenderRuntime() {
|
|
45484
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
45484
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-V0Jfat5S.js");
|
|
45485
45485
|
return whatsappSenderRuntimePromise;
|
|
45486
45486
|
}
|
|
45487
45487
|
function loadTelegramSenderRuntime() {
|
|
@@ -57644,7 +57644,7 @@ function loadSlashCommandsRuntime() {
|
|
|
57644
57644
|
return slashCommandsRuntimePromise;
|
|
57645
57645
|
}
|
|
57646
57646
|
function loadSlashDispatchRuntime() {
|
|
57647
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
57647
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-k8xSVYOI.js");
|
|
57648
57648
|
return slashDispatchRuntimePromise;
|
|
57649
57649
|
}
|
|
57650
57650
|
function loadSlashSkillCommandsRuntime() {
|
|
@@ -58671,41 +58671,6 @@ function resolveTelegramAllowedUpdates() {
|
|
|
58671
58671
|
return updates;
|
|
58672
58672
|
}
|
|
58673
58673
|
|
|
58674
|
-
//#endregion
|
|
58675
|
-
//#region src/agents/agent-tier.ts
|
|
58676
|
-
const PAID_PROVIDERS = ["anthropic", "openai"];
|
|
58677
|
-
function isPaidProvider(modelRef) {
|
|
58678
|
-
const trimmed = modelRef.trim().toLowerCase();
|
|
58679
|
-
for (const provider of PAID_PROVIDERS) if (trimmed.startsWith(provider + "/") || trimmed.startsWith(provider + ":")) return {
|
|
58680
|
-
isPaid: true,
|
|
58681
|
-
provider
|
|
58682
|
-
};
|
|
58683
|
-
return {
|
|
58684
|
-
isPaid: false,
|
|
58685
|
-
provider: ""
|
|
58686
|
-
};
|
|
58687
|
-
}
|
|
58688
|
-
/**
|
|
58689
|
-
* Resolve the current agent tier.
|
|
58690
|
-
*
|
|
58691
|
-
* - "super": Paid provider configured and key present.
|
|
58692
|
-
* - "base": Local/free model only.
|
|
58693
|
-
*/
|
|
58694
|
-
function resolveAgentTier(params) {
|
|
58695
|
-
const primary = resolveAgentModelPrimaryValue(params.cfg?.agents?.defaults?.model);
|
|
58696
|
-
if (!primary) return "base";
|
|
58697
|
-
const { isPaid, provider } = isPaidProvider(primary);
|
|
58698
|
-
if (!isPaid) return "base";
|
|
58699
|
-
if (!resolveEnvApiKey(provider)) return "base";
|
|
58700
|
-
return "super";
|
|
58701
|
-
}
|
|
58702
|
-
function formatAgentTierLabel(tier) {
|
|
58703
|
-
switch (tier) {
|
|
58704
|
-
case "super": return "🟢 Super Agent";
|
|
58705
|
-
case "base": return "🟡 Basic Agent";
|
|
58706
|
-
}
|
|
58707
|
-
}
|
|
58708
|
-
|
|
58709
58674
|
//#endregion
|
|
58710
58675
|
//#region src/infra/git-commit.ts
|
|
58711
58676
|
const formatCommit = (value) => {
|
|
@@ -59275,7 +59240,6 @@ function buildStatusMessage(args) {
|
|
|
59275
59240
|
const voiceLine = formatVoiceModeLine(args.config, args.sessionEntry);
|
|
59276
59241
|
return [
|
|
59277
59242
|
versionLine,
|
|
59278
|
-
args.config ? formatAgentTierLabel(resolveAgentTier({ cfg: args.config })) : null,
|
|
59279
59243
|
args.timeLine,
|
|
59280
59244
|
modelLine,
|
|
59281
59245
|
fallbackLine,
|
|
@@ -66293,7 +66257,7 @@ function loadWebLoginQr() {
|
|
|
66293
66257
|
return webLoginQrPromise;
|
|
66294
66258
|
}
|
|
66295
66259
|
function loadWebChannel() {
|
|
66296
|
-
webChannelPromise ??= import("./web-
|
|
66260
|
+
webChannelPromise ??= import("./web-DkbCMgLG.js");
|
|
66297
66261
|
return webChannelPromise;
|
|
66298
66262
|
}
|
|
66299
66263
|
function loadWhatsAppActions() {
|
|
@@ -20124,7 +20124,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
20124
20124
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
20125
20125
|
let subagentRegistryRuntimePromise = null;
|
|
20126
20126
|
function loadSubagentRegistryRuntime() {
|
|
20127
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
20127
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-Cca50Qld.js");
|
|
20128
20128
|
return subagentRegistryRuntimePromise;
|
|
20129
20129
|
}
|
|
20130
20130
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -44265,7 +44265,7 @@ let slackSenderRuntimePromise = null;
|
|
|
44265
44265
|
let signalSenderRuntimePromise = null;
|
|
44266
44266
|
let imessageSenderRuntimePromise = null;
|
|
44267
44267
|
function loadWhatsAppSenderRuntime() {
|
|
44268
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
44268
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-DPZSTh1j.js");
|
|
44269
44269
|
return whatsappSenderRuntimePromise;
|
|
44270
44270
|
}
|
|
44271
44271
|
function loadTelegramSenderRuntime() {
|
|
@@ -57203,7 +57203,7 @@ function loadSlashCommandsRuntime() {
|
|
|
57203
57203
|
return slashCommandsRuntimePromise;
|
|
57204
57204
|
}
|
|
57205
57205
|
function loadSlashDispatchRuntime() {
|
|
57206
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
57206
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-E6j8gkO2.js");
|
|
57207
57207
|
return slashDispatchRuntimePromise;
|
|
57208
57208
|
}
|
|
57209
57209
|
function loadSlashSkillCommandsRuntime() {
|
|
@@ -58230,41 +58230,6 @@ function resolveTelegramAllowedUpdates() {
|
|
|
58230
58230
|
return updates;
|
|
58231
58231
|
}
|
|
58232
58232
|
|
|
58233
|
-
//#endregion
|
|
58234
|
-
//#region src/agents/agent-tier.ts
|
|
58235
|
-
const PAID_PROVIDERS = ["anthropic", "openai"];
|
|
58236
|
-
function isPaidProvider(modelRef) {
|
|
58237
|
-
const trimmed = modelRef.trim().toLowerCase();
|
|
58238
|
-
for (const provider of PAID_PROVIDERS) if (trimmed.startsWith(provider + "/") || trimmed.startsWith(provider + ":")) return {
|
|
58239
|
-
isPaid: true,
|
|
58240
|
-
provider
|
|
58241
|
-
};
|
|
58242
|
-
return {
|
|
58243
|
-
isPaid: false,
|
|
58244
|
-
provider: ""
|
|
58245
|
-
};
|
|
58246
|
-
}
|
|
58247
|
-
/**
|
|
58248
|
-
* Resolve the current agent tier.
|
|
58249
|
-
*
|
|
58250
|
-
* - "super": Paid provider configured and key present.
|
|
58251
|
-
* - "base": Local/free model only.
|
|
58252
|
-
*/
|
|
58253
|
-
function resolveAgentTier(params) {
|
|
58254
|
-
const primary = resolveAgentModelPrimaryValue(params.cfg?.agents?.defaults?.model);
|
|
58255
|
-
if (!primary) return "base";
|
|
58256
|
-
const { isPaid, provider } = isPaidProvider(primary);
|
|
58257
|
-
if (!isPaid) return "base";
|
|
58258
|
-
if (!resolveEnvApiKey(provider)) return "base";
|
|
58259
|
-
return "super";
|
|
58260
|
-
}
|
|
58261
|
-
function formatAgentTierLabel(tier) {
|
|
58262
|
-
switch (tier) {
|
|
58263
|
-
case "super": return "🟢 Super Agent";
|
|
58264
|
-
case "base": return "🟡 Basic Agent";
|
|
58265
|
-
}
|
|
58266
|
-
}
|
|
58267
|
-
|
|
58268
58233
|
//#endregion
|
|
58269
58234
|
//#region src/infra/git-commit.ts
|
|
58270
58235
|
const formatCommit = (value) => {
|
|
@@ -58834,7 +58799,6 @@ function buildStatusMessage(args) {
|
|
|
58834
58799
|
const voiceLine = formatVoiceModeLine(args.config, args.sessionEntry);
|
|
58835
58800
|
return [
|
|
58836
58801
|
versionLine,
|
|
58837
|
-
args.config ? formatAgentTierLabel(resolveAgentTier({ cfg: args.config })) : null,
|
|
58838
58802
|
args.timeLine,
|
|
58839
58803
|
modelLine,
|
|
58840
58804
|
fallbackLine,
|
|
@@ -65852,7 +65816,7 @@ function loadWebLoginQr() {
|
|
|
65852
65816
|
return webLoginQrPromise;
|
|
65853
65817
|
}
|
|
65854
65818
|
function loadWebChannel() {
|
|
65855
|
-
webChannelPromise ??= import("./web-
|
|
65819
|
+
webChannelPromise ??= import("./web-Be4JS3z8.js");
|
|
65856
65820
|
return webChannelPromise;
|
|
65857
65821
|
}
|
|
65858
65822
|
function loadWhatsAppActions() {
|
package/dist/plugin-sdk/{slash-dispatch.runtime-C7u7mlny.js → slash-dispatch.runtime-E6j8gkO2.js}
RENAMED
|
@@ -8,7 +8,7 @@ import "./thinking-DRNOh5Xx.js";
|
|
|
8
8
|
import "./accounts-0kF5cxkn.js";
|
|
9
9
|
import "./send-BNePC8CO.js";
|
|
10
10
|
import "./common-J8vIST9Q.js";
|
|
11
|
-
import { H as finalizeInboundContext, O as resolveAgentRoute, S as dispatchReplyWithDispatcher, o as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, u as createReplyPrefixOptions } from "./reply-
|
|
11
|
+
import { H as finalizeInboundContext, O as resolveAgentRoute, S as dispatchReplyWithDispatcher, o as deliverSlackSlashReplies, r as recordInboundSessionMetaSafe, u as createReplyPrefixOptions } from "./reply-DeKKmUDh.js";
|
|
12
12
|
import "./image-ops-G8KoEfY8.js";
|
|
13
13
|
import { rn as resolveConversationLabel } from "./pi-embedded-helpers-BioULNev.js";
|
|
14
14
|
import "./accounts-u0-JAHzj.js";
|
package/dist/plugin-sdk/{slash-dispatch.runtime-Dyb_EkUt.js → slash-dispatch.runtime-k8xSVYOI.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./run-with-concurrency-BvgevDAl.js";
|
|
2
2
|
import "./accounts-Ba9Wgzzz.js";
|
|
3
|
-
import { N as finalizeInboundContext, X as createReplyPrefixOptions, a as deliverSlackSlashReplies, m as dispatchReplyWithDispatcher, n as recordInboundSessionMetaSafe, v as resolveAgentRoute } from "./reply-
|
|
3
|
+
import { N as finalizeInboundContext, X as createReplyPrefixOptions, a as deliverSlackSlashReplies, m as dispatchReplyWithDispatcher, n as recordInboundSessionMetaSafe, v as resolveAgentRoute } from "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
6
|
import "./config-k8lexny8.js";
|
|
@@ -8,7 +8,7 @@ import "./thinking-DRNOh5Xx.js";
|
|
|
8
8
|
import "./accounts-0kF5cxkn.js";
|
|
9
9
|
import "./send-BNePC8CO.js";
|
|
10
10
|
import "./common-J8vIST9Q.js";
|
|
11
|
-
import { F as resolveRequesterForChildSession, M as countPendingDescendantRuns, N as countPendingDescendantRunsExcludingRun, P as isSubagentSessionRunActive, j as countActiveDescendantRuns } from "./reply-
|
|
11
|
+
import { F as resolveRequesterForChildSession, M as countPendingDescendantRuns, N as countPendingDescendantRunsExcludingRun, P as isSubagentSessionRunActive, j as countActiveDescendantRuns } from "./reply-DeKKmUDh.js";
|
|
12
12
|
import "./image-ops-G8KoEfY8.js";
|
|
13
13
|
import "./pi-embedded-helpers-BioULNev.js";
|
|
14
14
|
import "./accounts-u0-JAHzj.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./run-with-concurrency-BvgevDAl.js";
|
|
2
2
|
import "./accounts-Ba9Wgzzz.js";
|
|
3
|
-
import { C as countPendingDescendantRunsExcludingRun, S as countPendingDescendantRuns, T as resolveRequesterForChildSession, w as isSubagentSessionRunActive, x as countActiveDescendantRuns } from "./reply-
|
|
3
|
+
import { C as countPendingDescendantRunsExcludingRun, S as countPendingDescendantRuns, T as resolveRequesterForChildSession, w as isSubagentSessionRunActive, x as countActiveDescendantRuns } from "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
6
|
import "./config-k8lexny8.js";
|
|
@@ -8,7 +8,7 @@ import "./thinking-DRNOh5Xx.js";
|
|
|
8
8
|
import "./accounts-0kF5cxkn.js";
|
|
9
9
|
import "./send-BNePC8CO.js";
|
|
10
10
|
import "./common-J8vIST9Q.js";
|
|
11
|
-
import "./reply-
|
|
11
|
+
import "./reply-DeKKmUDh.js";
|
|
12
12
|
import "./image-ops-G8KoEfY8.js";
|
|
13
13
|
import "./pi-embedded-helpers-BioULNev.js";
|
|
14
14
|
import "./accounts-u0-JAHzj.js";
|
|
@@ -16,7 +16,7 @@ import "./send-BCVXt-3e.js";
|
|
|
16
16
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
17
17
|
import "./paths-B7_75Pdr.js";
|
|
18
18
|
import "./send-DhGDAZnT.js";
|
|
19
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
19
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BQE2gJ5U.js";
|
|
20
20
|
import "./tokens-CLE20fRI.js";
|
|
21
21
|
import "./audio-transcription-runner-Ced47O1H.js";
|
|
22
22
|
import "./image-4ay2cw7G.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./run-with-concurrency-BvgevDAl.js";
|
|
2
2
|
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-Ba9Wgzzz.js";
|
|
3
|
-
import "./reply-
|
|
3
|
+
import "./reply-DJYA4ZNu.js";
|
|
4
4
|
import "./paths-8xF5kDne.js";
|
|
5
5
|
import "./github-copilot-token-Dy-0-Kh3.js";
|
|
6
6
|
import "./config-k8lexny8.js";
|
|
@@ -39,7 +39,7 @@ import "./deliver-BXcGPR-z.js";
|
|
|
39
39
|
import "./diagnostic-BODCjkFr.js";
|
|
40
40
|
import "./store-mpQn5APQ.js";
|
|
41
41
|
import "./commands-registry-_yYiP-uB.js";
|
|
42
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
42
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BtNgAS1G.js";
|
|
43
43
|
import "./image-CU8oj8pT.js";
|
|
44
44
|
import "./api-key-rotation-T3PKdBeS.js";
|
|
45
45
|
import "./proxy-fetch-tPMv_1eB.js";
|
|
@@ -9,7 +9,7 @@ import "./accounts-0kF5cxkn.js";
|
|
|
9
9
|
import "./send-BNePC8CO.js";
|
|
10
10
|
import { f as readStringParam, r as createActionGate } from "./common-J8vIST9Q.js";
|
|
11
11
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DL1adXpk.js";
|
|
12
|
-
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-
|
|
12
|
+
import { U as resolveAllowlistProviderRuntimeGroupPolicy, W as resolveDefaultGroupPolicy, n as formatDocsLink } from "./reply-DeKKmUDh.js";
|
|
13
13
|
import "./image-ops-G8KoEfY8.js";
|
|
14
14
|
import "./pi-embedded-helpers-BioULNev.js";
|
|
15
15
|
import "./accounts-u0-JAHzj.js";
|
|
@@ -17,7 +17,7 @@ import "./send-BCVXt-3e.js";
|
|
|
17
17
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
18
18
|
import "./paths-B7_75Pdr.js";
|
|
19
19
|
import "./send-DhGDAZnT.js";
|
|
20
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
20
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BQE2gJ5U.js";
|
|
21
21
|
import "./tokens-CLE20fRI.js";
|
|
22
22
|
import "./audio-transcription-runner-Ced47O1H.js";
|
|
23
23
|
import "./image-4ay2cw7G.js";
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-mdt1HFK2.js";
|
|
|
2
2
|
import { p as theme } from "./globals-xfUIfxbE.js";
|
|
3
3
|
import { S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-DMGXr25O.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-BaVB3YlN.js";
|
|
6
6
|
import "./agent-scope-C1XMay0T.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-DC87CPVS.js";
|
|
8
8
|
import "./squidclaw-root-CnE19yKj.js";
|
|
@@ -115,7 +115,7 @@ import "./npm-pack-install-s-mP9K0z.js";
|
|
|
115
115
|
import "./skill-scanner-rdr9cQew.js";
|
|
116
116
|
import { a as installPluginFromPath, i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE } from "./installs-CyjlehlR.js";
|
|
117
117
|
import { t as renderTable } from "./table-BPiDGg8F.js";
|
|
118
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-
|
|
118
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-Dtkh26DG.js";
|
|
119
119
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginSource } from "./update-blK9j2ag.js";
|
|
120
120
|
import fs from "node:fs";
|
|
121
121
|
import os from "node:os";
|
|
@@ -30,7 +30,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
30
30
|
import "./accounts-KzgPbLHP.js";
|
|
31
31
|
import "./send-z-sMjqvX.js";
|
|
32
32
|
import "./send-DEs83M9V.js";
|
|
33
|
-
import "./subagent-registry-
|
|
33
|
+
import "./subagent-registry-CgUBOyi3.js";
|
|
34
34
|
import "./paths-Dn_rzeZN.js";
|
|
35
35
|
import "./chat-envelope-thy05gXR.js";
|
|
36
36
|
import "./client-G9E5HGM2.js";
|
|
@@ -116,7 +116,7 @@ import "./npm-pack-install-B887us7R.js";
|
|
|
116
116
|
import "./skill-scanner-CvS725eQ.js";
|
|
117
117
|
import { a as installPluginFromPath, i as installPluginFromNpmSpec, n as recordPluginInstall, o as resolvePluginInstallDir, r as PLUGIN_INSTALL_ERROR_CODE } from "./installs-BiQDtPF0.js";
|
|
118
118
|
import { t as renderTable } from "./table-DbDCX_6t.js";
|
|
119
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-
|
|
119
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec } from "./npm-resolution-BUvQm-e-.js";
|
|
120
120
|
import { n as updateNpmInstalledPlugins, r as findBundledPluginSource } from "./update-1JhjCqjy.js";
|
|
121
121
|
import os from "node:os";
|
|
122
122
|
import path from "node:path";
|
|
@@ -32,7 +32,7 @@ import "./logging-CcxUDNcI.js";
|
|
|
32
32
|
import "./accounts-KzgPbLHP.js";
|
|
33
33
|
import "./send-z-sMjqvX.js";
|
|
34
34
|
import "./send-DEs83M9V.js";
|
|
35
|
-
import "./subagent-registry-
|
|
35
|
+
import "./subagent-registry-CgUBOyi3.js";
|
|
36
36
|
import "./paths-Dn_rzeZN.js";
|
|
37
37
|
import "./chat-envelope-thy05gXR.js";
|
|
38
38
|
import "./client-G9E5HGM2.js";
|
|
@@ -112,13 +112,13 @@ import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
|
112
112
|
import "./cli-utils-BKqG4ZT-.js";
|
|
113
113
|
import "./help-format-CpR5cEGe.js";
|
|
114
114
|
import "./progress-DuhDspl6.js";
|
|
115
|
-
import "./plugin-registry-
|
|
116
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
117
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
118
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
115
|
+
import "./plugin-registry-CCkpP8-I.js";
|
|
116
|
+
import { n as resolveCliChannelOptions } from "./channel-options-DA-4IR6h.js";
|
|
117
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-BYiAuTiK.js";
|
|
118
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-C_YMaVul.js";
|
|
119
119
|
import { r as setProgramContext } from "./program-context-DKVuITe2.js";
|
|
120
120
|
import { t as forceFreePort } from "./ports-Be82TlEg.js";
|
|
121
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
121
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-4LItBqCV.js";
|
|
122
122
|
import { Command, InvalidArgumentError } from "commander";
|
|
123
123
|
|
|
124
124
|
//#region src/cli/program/context.ts
|
|
@@ -251,7 +251,7 @@ function loadConfigGuardModule() {
|
|
|
251
251
|
return configGuardModulePromise;
|
|
252
252
|
}
|
|
253
253
|
function loadPluginRegistryModule() {
|
|
254
|
-
pluginRegistryModulePromise ??= import("./plugin-registry-
|
|
254
|
+
pluginRegistryModulePromise ??= import("./plugin-registry-CCkpP8-I.js").then((n) => n.n);
|
|
255
255
|
return pluginRegistryModulePromise;
|
|
256
256
|
}
|
|
257
257
|
function getRootCommand(command) {
|