@fased/fased 0.1.66 → 0.1.68
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/CHANGELOG.md +18 -0
- package/README.md +4 -0
- package/config/signer-protocol-v2.json +4 -0
- package/dist/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/cli/program/register.wallet.js +33 -2
- package/dist/commands/onboard.js +0 -8
- package/dist/commands/wallet.js +485 -58
- package/dist/control-ui/assets/{app-DYxADzeH.js → app-DyPTS0oM.js} +1526 -1526
- package/dist/control-ui/assets/{index-vw_10Zeo.js → index-Cu13yYHr.js} +3 -3
- package/dist/control-ui/assets/{wallet-DvStR_AT.js → wallet-ByKBcYhm.js} +272 -188
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/version.json +1 -1
- package/dist/gateway/server-http.js +349 -47
- package/dist/infra/runtime-guard.js +16 -0
- package/dist/plugin-sdk/{actions-DRu135h0.js → actions-B-Vwj64K.js} +3 -3
- package/dist/plugin-sdk/{allow-list-DyAxs4yw.js → allow-list-Bf45HfoP.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BFLoas5R.js → audio-preflight-_FVQjR1r.js} +26 -25
- package/dist/plugin-sdk/{audit-C5d2z5U1.js → audit-CUULWG22.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-DaI5wevh.js → channel-access-configure-BoUsC-Ys.js} +1 -1
- package/dist/plugin-sdk/{channel-adapters.discord-BS4S4Svh.js → channel-adapters.discord-DSiR4X2Y.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +1 -1
- package/dist/plugin-sdk/{chunk-CyoyqpbG.js → chunk-CBpl-AiQ.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-TErs62MC.js → chunk-items-LH4uKSnh.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -25
- package/dist/plugin-sdk/{commands-registry-BfqdEWdF.js → commands-registry-G5KXSi_y.js} +1 -1
- package/dist/plugin-sdk/{config-schema-BPnaDBwZ.js → config-schema-DjU_uD-6.js} +192 -94
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/{diagnostic-DLL_zekv.js → diagnostic-sYs6Agr-.js} +1 -1
- package/dist/plugin-sdk/{directory-live-CSuYxdwk.js → directory-live-BXMpuYAF.js} +1 -1
- package/dist/plugin-sdk/{directory-live-Dw7ZgC9_.js → directory-live-Rn1BzPof.js} +1 -1
- package/dist/plugin-sdk/discord.d.ts +4 -4
- package/dist/plugin-sdk/discord.js +20 -20
- package/dist/plugin-sdk/{draft-stream-controls-BqchW1vi.js → draft-stream-controls-CMNdKSx-.js} +1 -1
- package/dist/plugin-sdk/{guilds-CDhRIX57.js → guilds-Dkwl0yHv.js} +1 -1
- package/dist/plugin-sdk/{handle-action-hvwapMKg.js → handle-action-CRdM6B-8.js} +15 -15
- package/dist/plugin-sdk/index.d.ts +16 -16
- package/dist/plugin-sdk/index.js +28 -27
- package/dist/plugin-sdk/{login-Ca583Okc.js → login-D7WnK8-P.js} +1 -1
- package/dist/plugin-sdk/{login-qr-CGciBSNP.js → login-qr-CRueOKZK.js} +2 -114
- package/dist/plugin-sdk/{markdown-tables-DCOXEUfZ.js → markdown-tables-d7GlUs5R.js} +1 -1
- package/dist/plugin-sdk/{media-CAdQF5TG.js → media-BAoaxCrt.js} +1 -1
- package/dist/plugin-sdk/{monitor-FuBPk-AL.js → monitor-DUMMbG4h.js} +34 -33
- package/dist/plugin-sdk/{monitor-sW6dQdX1.js → monitor-DXIM16Hj.js} +44 -43
- package/dist/plugin-sdk/{openresponses-http-CVZq0H-P.js → openresponses-http-C8lKwta1.js} +26 -25
- package/dist/plugin-sdk/{outbound-attachment-QqTnIhZL.js → outbound-attachment-CyXM3cAv.js} +1 -1
- package/dist/plugin-sdk/{outbound-BgVDdHxx.js → outbound-zB6llMGW.js} +6 -6
- package/dist/plugin-sdk/{pairing-message-L6L6L2YF.d.ts → pairing-message-mKO92L-M.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-BChahgI2.js → pairing-store-B6J2C0vP.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DxTMz_XF.js → pi-model-discovery-runtime-6JzLw9Gk.js} +1 -1
- package/dist/plugin-sdk/{probe-CJb5uR8B.js → probe-BM7Oe40M.js} +2 -2
- package/dist/plugin-sdk/{probe-l_whvGLY.js → probe-CMPksimh.js} +1 -1
- package/dist/plugin-sdk/{probe-BFroeK3g.js → probe-oVp12D6L.js} +1 -1
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-natjh3rm.js → pw-ai-DJ_gTc4M.js} +1 -1
- package/dist/plugin-sdk/qr-image-B4MlMG4N.js +115 -0
- package/dist/plugin-sdk/{replies-ChYo5ZQM.js → replies-CY-V0Zob.js} +3 -3
- package/dist/plugin-sdk/{resolve-channels-87LZrFk_.js → resolve-channels-1HtDcMqh.js} +2 -2
- package/dist/plugin-sdk/{resolve-channels-_-nV-EK2.js → resolve-channels-CU72Qh2j.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D-KGgHJZ.js → resolve-outbound-target-nQSBVYz9.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-C8tvQm8Z.js → resolve-route-Dufnu2cT.js} +1 -1
- package/dist/plugin-sdk/{resolve-users-DN9VQBwv.js → resolve-users-Bk_ss2vC.js} +1 -1
- package/dist/plugin-sdk/{resolve-users-V6dHh_2B.js → resolve-users-IevCOk4W.js} +2 -2
- package/dist/plugin-sdk/{runtime-2B9_WKoI.js → runtime-CXSQwMaR.js} +1 -1
- package/dist/plugin-sdk/{runtime-dependency-DczkvPxn.js → runtime-dependency-nup8niQL.js} +9 -9
- package/dist/plugin-sdk/sat-runtime.d.ts +18 -2
- package/dist/plugin-sdk/sat-runtime.js +26 -25
- package/dist/plugin-sdk/{send-DCO441U7.js → send-BXBS_mRK.js} +8 -8
- package/dist/plugin-sdk/{send-CFzGKJXo.js → send-D-HfKQZm.js} +4 -4
- package/dist/plugin-sdk/{send-B6KkGKZD.js → send-D1j12ZgX.js} +5 -5
- package/dist/plugin-sdk/{send-q9HXrSwK.js → send-DWKm6yay.js} +10 -10
- package/dist/plugin-sdk/{send-gDoGA-7e.js → send-Di1Jit3L.js} +7 -7
- package/dist/plugin-sdk/{skill-commands-FKEPLS7T.js → skill-commands-iJtvpqgb.js} +2 -2
- package/dist/plugin-sdk/{slack-BZISDxDd.js → slack-B-nOOLM0.js} +45 -44
- package/dist/plugin-sdk/{slack-actions-DhbMcp8M.js → slack-actions-BzUEszJa.js} +10 -10
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/slack.js +6 -6
- package/dist/plugin-sdk/{sticker-cache-B0aPv6Lg.js → sticker-cache-BLiId8Em.js} +2 -2
- package/dist/plugin-sdk/{tables-B3jr0Pvq.js → tables-_1W36GII.js} +2 -2
- package/dist/plugin-sdk/{targets-CtSbTxYX.js → targets-DDbNnLnB.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-H3gePEn6.js → telegram-actions-1X9A32Dn.js} +30 -29
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/telegram.js +3 -3
- package/dist/plugin-sdk/{thread-bindings.lifecycle-QbkNl-m6.js → thread-bindings.lifecycle-Y9T3CQGf.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-D9hg_M1c.js → thread-bindings.state-D2oOWDpv.js} +1 -1
- package/dist/plugin-sdk/{tmp-fased-dir-d1CmFAnJ.d.ts → tmp-fased-dir-BkpWlGUe.d.ts} +7 -1
- package/dist/plugin-sdk/{types-DUjYaWB2.d.ts → types-B-zL9gSv.d.ts} +1 -1
- package/dist/plugin-sdk/{types-xWjHXl1z.d.ts → types-DtCOO_hW.d.ts} +1 -1
- package/dist/plugin-sdk/{web-JwP9PAZR.js → web-BvjNyYBz.js} +33 -32
- package/dist/plugin-sdk/{whatsapp-actions-Bj_rOncr.js → whatsapp-actions-Blu9-eX-.js} +9 -9
- package/dist/plugin-sdk/{whatsapp-heartbeat-B1WHkJIg.js → whatsapp-heartbeat-DjmQM7hq.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +9 -9
- package/dist/plugin-sdk/whatsapp.js +7 -7
- package/dist/plugin-sdk/{wsl-J-HscWxS.js → wsl-CTvIWvZz.js} +1 -1
- package/dist/plugin-sdk/{zod-schema.providers-core-CIzCjXH9.d.ts → zod-schema.providers-core-BCDlgtls.d.ts} +63 -63
- package/dist/wallet/local-socket-signer-lifecycle.js +29 -1
- package/dist/wallet/local-socket-signer-protocol.js +27 -0
- package/dist/wallet/providers/local-socket-signer-adapter.js +8 -0
- package/dist/wallet/signer-network-admin.js +11 -118
- package/dist/wallet/signer-protocol-v2.generated.js +4 -0
- package/dist/wallet/solana-assets.js +9 -3
- package/dist/wallet/solana-rpc-read-fetch.js +65 -0
- package/dist/wallet/wallet-status.js +7 -0
- package/dist/web/login-qr.js +1 -1
- package/dist/wizard/onboarding.js +61 -61
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/fased.mjs +14 -1
- package/install.sh +16 -10
- package/package.json +6 -1
- package/scripts/fased-managed-updater.mjs +10 -2
- package/scripts/fased-signer-wallet-import-hosting.sh +78 -0
- package/scripts/install-managed-runtime.mjs +10 -7
- /package/dist/plugin-sdk/{active-listener-B_NMtgPL.js → active-listener-p9Ooc1qj.js} +0 -0
- /package/dist/plugin-sdk/{blocks-input-Bg-8S2pl.js → blocks-input-DiZaqaN7.js} +0 -0
- /package/dist/plugin-sdk/{channel-access-CcFRdRPO.js → channel-access-B0aZBSd2.js} +0 -0
- /package/dist/plugin-sdk/{channel-activity-DBDMQ3yI.js → channel-activity-F07DjroV.js} +0 -0
- /package/dist/plugin-sdk/{channel-core-CFRs8LPy.js → channel-core-DoF4X04L.js} +0 -0
- /package/dist/plugin-sdk/{client-pI228AVT.js → client-DLY-kWF_.js} +0 -0
- /package/dist/plugin-sdk/{command-poll-backoff-yJU83wEq.js → command-poll-backoff-NAePk3eL.js} +0 -0
- /package/dist/plugin-sdk/{date-time-uUevHscU.js → date-time-ChY_tHoG.js} +0 -0
- /package/dist/plugin-sdk/{draft-stream-loop-CrOPfV3F.js → draft-stream-loop-DMBwjjd1.js} +0 -0
- /package/dist/plugin-sdk/{fetch-BtmoPIlf.js → fetch-B0v6OTUZ.js} +0 -0
- /package/dist/plugin-sdk/{filesystem-manager-DoI8IBNF.js → filesystem-manager-BzuIJ9K9.js} +0 -0
- /package/dist/plugin-sdk/{gateway-registry-DZDsqicG.js → gateway-registry-Bgl2GFgy.js} +0 -0
- /package/dist/plugin-sdk/{inbound-context-DrAcXE0y.js → inbound-context-CQnfFFQ9.js} +0 -0
- /package/dist/plugin-sdk/{pi-model-discovery-BX_JLcEJ.js → pi-model-discovery-BHNVyRny.js} +0 -0
- /package/dist/plugin-sdk/{polls-DKQXVfJp.js → polls-DXd67TD8.js} +0 -0
- /package/dist/plugin-sdk/{proxy-DWpYcsvR.js → proxy-CLRUdShp.js} +0 -0
- /package/dist/plugin-sdk/{qmd-manager-CgRaTxUq.js → qmd-manager-B8Vnu0ND.js} +0 -0
- /package/dist/plugin-sdk/{render-e7fENCYH.js → render-DrBfVs0u.js} +0 -0
- /package/dist/plugin-sdk/{reply-reference-Bqk-7HXE.js → reply-reference-BnAk5Wjb.js} +0 -0
- /package/dist/plugin-sdk/{retry-policy-C6SjKjQA.js → retry-policy-CXh1owkc.js} +0 -0
- /package/dist/plugin-sdk/{sandbox-paths-Dx2lUqCu.js → sandbox-paths-Bzh1CuZc.js} +0 -0
- /package/dist/plugin-sdk/{session-DHD4ZKyG.js → session-iuGR_rdi.js} +0 -0
- /package/dist/plugin-sdk/{shared-CBgp_GBw.js → shared-D1AD2Ejn.js} +0 -0
- /package/dist/plugin-sdk/{target-errors-Ckufe179.js → target-errors-DfS1sLR9.js} +0 -0
- /package/dist/plugin-sdk/{tool-loop-detection-Bp8bPJLs.js → tool-loop-detection-sDZl27w7.js} +0 -0
- /package/dist/plugin-sdk/{ui-Be8cLHIS.js → ui-GQDYm_jw.js} +0 -0
- /package/dist/plugin-sdk/{with-timeout-ckWB8rTo.js → with-timeout-CVV8tytk.js} +0 -0
|
@@ -3,7 +3,7 @@ import { s as resolveStateDir } from "./paths-BEmvSyOV.js";
|
|
|
3
3
|
import { h as resolveUserPath } from "./utils-CYk9EKoq.js";
|
|
4
4
|
import { l as resolveAgentWorkspaceDir } from "./agent-scope-CCjfjKoO.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CeG6u6ld.js";
|
|
6
|
-
import { a as chunkText } from "./chunk-
|
|
6
|
+
import { a as chunkText } from "./chunk-CBpl-AiQ.js";
|
|
7
7
|
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DQi0n_Tt.js";
|
|
8
8
|
import { i as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-g4g7GT02.js";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as createInboundDebouncer, $t as formatReasoningMessage, B as logAckFailure, Cn as modelSupportsVision, Dt as registerUnhandledRejectionHandler, F as resolveMentionGatingWithBypass, G as sleepWithAbort, Gr as waitForAbortSignal, H as logTypingFailure, J as shouldAckReaction, Jr as createDedupeCache, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, Rn as readJsonBodyWithLimit, Sn as loadModelCatalog, Ti as resolveControlCommandGate, U as buildPairingReply, Ut as buildCommandsMessagePaginated, V as logInboundDrop, Vt as enqueueSystemEvent, W as computeBackoff, Wr as resolveTelegramInlineButtonsScope, X as dispatchReplyWithBufferedBlockDispatcher, _n as matchesMentionWithExplicit, _t as formatDurationPrecise, cn as DEFAULT_GROUP_HISTORY_LIMIT, ct as resolveStoredModelOverride, dt as buildModelsKeyboard, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, fn as clearHistoryEntriesIfEnabled, ft as buildProviderKeyboard, gn as buildMentionRegexes, gt as buildCommandsPaginationKeyboard, hn as recordPendingHistoryEntryIfEnabled, ht as parseModelCallbackData, lt as buildModelsProviderData, mt as getModelsPageSize, nn as isInsideCode, pt as calculateTotalPages, q as removeAckReactionAfterReply, rt as resolveEnvelopeFormatOptions, tn as findCodeRegions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, ut as formatModelsAvailableHeader, wi as resolveCommandAuthorizedFromAuthorizers, xn as findModelInCatalog, yt as resolveChannelConfigWrites, zt as isAbortRequestText } from "./config-schema-
|
|
2
|
-
import { C as recordSessionMetaFromInbound, Gn as getPluginCommandSpecs, S as readSessionUpdatedAt, Wn as executePluginCommand, _n as resolveChannelGroupRequireMention, gn as resolveChannelGroupPolicy, in as resolveTelegramAccount, qn as matchPluginCommand, x as loadSessionStore } from "./runtime-
|
|
1
|
+
import { $ as createInboundDebouncer, $t as formatReasoningMessage, B as logAckFailure, Cn as modelSupportsVision, Dt as registerUnhandledRejectionHandler, F as resolveMentionGatingWithBypass, G as sleepWithAbort, Gr as waitForAbortSignal, H as logTypingFailure, J as shouldAckReaction, Jr as createDedupeCache, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, Rn as readJsonBodyWithLimit, Sn as loadModelCatalog, Ti as resolveControlCommandGate, U as buildPairingReply, Ut as buildCommandsMessagePaginated, V as logInboundDrop, Vt as enqueueSystemEvent, W as computeBackoff, Wr as resolveTelegramInlineButtonsScope, X as dispatchReplyWithBufferedBlockDispatcher, _n as matchesMentionWithExplicit, _t as formatDurationPrecise, cn as DEFAULT_GROUP_HISTORY_LIMIT, ct as resolveStoredModelOverride, dt as buildModelsKeyboard, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, fn as clearHistoryEntriesIfEnabled, ft as buildProviderKeyboard, gn as buildMentionRegexes, gt as buildCommandsPaginationKeyboard, hn as recordPendingHistoryEntryIfEnabled, ht as parseModelCallbackData, lt as buildModelsProviderData, mt as getModelsPageSize, nn as isInsideCode, pt as calculateTotalPages, q as removeAckReactionAfterReply, rt as resolveEnvelopeFormatOptions, tn as findCodeRegions, tt as formatInboundEnvelope, un as buildPendingHistoryContextFromMap, ut as formatModelsAvailableHeader, wi as resolveCommandAuthorizedFromAuthorizers, xn as findModelInCatalog, yt as resolveChannelConfigWrites, zt as isAbortRequestText } from "./config-schema-DjU_uD-6.js";
|
|
2
|
+
import { C as recordSessionMetaFromInbound, Gn as getPluginCommandSpecs, S as readSessionUpdatedAt, Wn as executePluginCommand, _n as resolveChannelGroupRequireMention, gn as resolveChannelGroupPolicy, in as resolveTelegramAccount, qn as matchPluginCommand, x as loadSessionStore } from "./runtime-CXSQwMaR.js";
|
|
3
3
|
import { i as defaultRuntime, r as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger } from "./globals-B_jjtAje.js";
|
|
5
5
|
import { s as resolveStateDir } from "./paths-BEmvSyOV.js";
|
|
@@ -12,23 +12,23 @@ import "./accounts-CuqIKU8X.js";
|
|
|
12
12
|
import "./logger-BbFvCoKk.js";
|
|
13
13
|
import "./exec-DQ8j4Fm3.js";
|
|
14
14
|
import "./accounts-Brn3-uWN.js";
|
|
15
|
-
import "./allow-list-
|
|
15
|
+
import "./allow-list-Bf45HfoP.js";
|
|
16
16
|
import "./redact-Bm8vu_ju.js";
|
|
17
17
|
import "./github-copilot-token-CUK__1s1.js";
|
|
18
18
|
import { n as retryAsync } from "./retry-DstNBhDW.js";
|
|
19
19
|
import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
20
20
|
import "./ssrf-fG4UHKBw.js";
|
|
21
21
|
import "./fetch-guard-CeG6u6ld.js";
|
|
22
|
-
import "./send-
|
|
22
|
+
import "./send-D-HfKQZm.js";
|
|
23
23
|
import { j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-DMBU4oTo.js";
|
|
24
|
-
import { A as formatLocationText, C as resolveTelegramReplyId, D as normalizeAllowFrom, E as isSenderAllowed, O as normalizeDmAllowFromWithStore, P as firstDefined, S as resolveTelegramMediaPlaceholder, T as resolveTelegramThreadSpec, _ as extractTelegramLocation, b as resolveTelegramForumThreadId, c as buildSenderLabel, d as buildTelegramGroupPeerId, f as buildTelegramParentPeer, g as expandTextLinks, h as describeReplyTarget, j as toLocationContext, k as resolveSenderAllowMatch, l as buildSenderName, m as buildTypingThreadParams, p as buildTelegramThreadParams, s as buildGroupLabel, u as buildTelegramGroupFrom, v as hasBotMention, w as resolveTelegramStreamMode, x as resolveTelegramGroupAllowFromContext, y as normalizeForwardedContext } from "./wsl-
|
|
25
|
-
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-
|
|
26
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
24
|
+
import { A as formatLocationText, C as resolveTelegramReplyId, D as normalizeAllowFrom, E as isSenderAllowed, O as normalizeDmAllowFromWithStore, P as firstDefined, S as resolveTelegramMediaPlaceholder, T as resolveTelegramThreadSpec, _ as extractTelegramLocation, b as resolveTelegramForumThreadId, c as buildSenderLabel, d as buildTelegramGroupPeerId, f as buildTelegramParentPeer, g as expandTextLinks, h as describeReplyTarget, j as toLocationContext, k as resolveSenderAllowMatch, l as buildSenderName, m as buildTypingThreadParams, p as buildTelegramThreadParams, s as buildGroupLabel, u as buildTelegramGroupFrom, v as hasBotMention, w as resolveTelegramStreamMode, x as resolveTelegramGroupAllowFromContext, y as normalizeForwardedContext } from "./wsl-CTvIWvZz.js";
|
|
25
|
+
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-B6J2C0vP.js";
|
|
26
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CBpl-AiQ.js";
|
|
27
27
|
import "./tailscale-status-DwpNdO3Z.js";
|
|
28
28
|
import { a as resolveAckReaction, n as createReplyPrefixOptions } from "./reply-prefix-CeVw7Mn2.js";
|
|
29
29
|
import "./tokens-BbnqfVuu.js";
|
|
30
30
|
import "./pairing-token-Cs3BRKc0.js";
|
|
31
|
-
import { c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, l as logWebhookProcessed, m as isDiagnosticsEnabled, u as logWebhookReceived } from "./diagnostic-
|
|
31
|
+
import { c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, l as logWebhookProcessed, m as isDiagnosticsEnabled, u as logWebhookReceived } from "./diagnostic-sYs6Agr-.js";
|
|
32
32
|
import "./diagnostic-session-state-DqgfGYqZ.js";
|
|
33
33
|
import "./optional-runtime-dependency-0dznm3ZO.js";
|
|
34
34
|
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-DQi0n_Tt.js";
|
|
@@ -36,32 +36,33 @@ import "./memory-search-CrFPOeTH.js";
|
|
|
36
36
|
import "./manager-BegWxNYX.js";
|
|
37
37
|
import "./query-expansion-BG3FgzF7.js";
|
|
38
38
|
import "./common-HCcXU-NR.js";
|
|
39
|
-
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody } from "./commands-registry-
|
|
40
|
-
import "./runtime-dependency-
|
|
39
|
+
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody } from "./commands-registry-G5KXSi_y.js";
|
|
40
|
+
import "./runtime-dependency-nup8niQL.js";
|
|
41
41
|
import "./path-alias-guards-DjgDArrp.js";
|
|
42
42
|
import "./fs-safe-g4g7GT02.js";
|
|
43
|
-
import
|
|
44
|
-
import { n as
|
|
45
|
-
import "./
|
|
46
|
-
import
|
|
47
|
-
import "./
|
|
48
|
-
import "./
|
|
49
|
-
import
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import "./
|
|
54
|
-
import
|
|
55
|
-
import {
|
|
56
|
-
import "./
|
|
57
|
-
import "./
|
|
58
|
-
import
|
|
59
|
-
import "./
|
|
60
|
-
import "./
|
|
61
|
-
import
|
|
62
|
-
import { t as
|
|
63
|
-
import {
|
|
64
|
-
import { i as
|
|
43
|
+
import "./qr-image-B4MlMG4N.js";
|
|
44
|
+
import { a as fetchRemoteMedia, i as MediaFetchError, l as getAgentScopedMediaLocalRoots, n as loadWebMedia } from "./media-BAoaxCrt.js";
|
|
45
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-d7GlUs5R.js";
|
|
46
|
+
import "./send-D1j12ZgX.js";
|
|
47
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-CyXM3cAv.js";
|
|
48
|
+
import "./fetch-B0v6OTUZ.js";
|
|
49
|
+
import "./thread-bindings.state-D2oOWDpv.js";
|
|
50
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-iJtvpqgb.js";
|
|
51
|
+
import "./sandbox-paths-Bzh1CuZc.js";
|
|
52
|
+
import "./directory-live-BXMpuYAF.js";
|
|
53
|
+
import "./targets-DDbNnLnB.js";
|
|
54
|
+
import "./pi-model-discovery-BHNVyRny.js";
|
|
55
|
+
import { n as resolveAgentRoute } from "./resolve-route-Dufnu2cT.js";
|
|
56
|
+
import { t as finalizeInboundContext } from "./inbound-context-CQnfFFQ9.js";
|
|
57
|
+
import "./render-DrBfVs0u.js";
|
|
58
|
+
import "./tables-_1W36GII.js";
|
|
59
|
+
import { n as recordChannelActivity } from "./channel-activity-F07DjroV.js";
|
|
60
|
+
import "./shared-D1AD2Ejn.js";
|
|
61
|
+
import "./retry-policy-CXh1owkc.js";
|
|
62
|
+
import { _ as splitTelegramCaption, d as isRecoverableTelegramNetworkError, f as markdownToTelegramChunks, g as resolveTelegramFetch, h as wrapFileReferencesInHtml, i as editMessageTelegram, l as resolveTelegramVoiceSend, m as renderTelegramHtmlText, p as markdownToTelegramHtml, t as buildInlineKeyboard, u as wasSentByBot, v as withTelegramApiErrorLogging } from "./send-DWKm6yay.js";
|
|
63
|
+
import { t as makeProxyFetch } from "./proxy-CLRUdShp.js";
|
|
64
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-BLiId8Em.js";
|
|
65
|
+
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-CMNdKSx-.js";
|
|
65
66
|
import path from "node:path";
|
|
66
67
|
import os from "node:os";
|
|
67
68
|
import fs from "node:fs/promises";
|
|
@@ -2044,7 +2045,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2044
2045
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2045
2046
|
let preflightTranscript;
|
|
2046
2047
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2047
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2048
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-_FVQjR1r.js");
|
|
2048
2049
|
preflightTranscript = await transcribeFirstAudio({
|
|
2049
2050
|
ctx: {
|
|
2050
2051
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as createInboundDebouncer, A as parseTtsDirectives, B as logAckFailure, Er as buildGatewayConnectionDetails, F as resolveMentionGatingWithBypass, Gi as formatAllowlistMatchMeta, Gn as resolveAgentAvatar, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, O as resolveTtsConfig, Or as GatewayClient, Si as resolveDmGroupAccessWithLists, St as normalizeMediaAttachments, Ti as resolveControlCommandGate, Tt as runCapability, U as buildPairingReply, V as logInboundDrop, Vt as enqueueSystemEvent, X as dispatchReplyWithBufferedBlockDispatcher, Z as dispatchReplyWithDispatcher, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bi as readStoreAllowFromForDmPolicy, bn as agentCommand, bt as buildProviderRegistry, c as addAllowlistUserEntriesFromConfigEntry, ct as resolveStoredModelOverride, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, k as textToSpeech, l as buildAllowlistResolutionSummary, lt as buildModelsProviderData, ot as EmbeddedBlockChunker, p as summarizeMapping, rt as resolveEnvelopeFormatOptions, s as buildMediaPayload, tt as formatInboundEnvelope, u as canonicalizeAllowlistWithResolvedIds, un as buildPendingHistoryContextFromMap, vt as formatDurationSeconds, wi as resolveCommandAuthorizedFromAuthorizers, x as isDangerousNameMatchingEnabled, xt as createMediaAttachmentCache } from "./config-schema-
|
|
2
|
-
import { Dn as normalizeMessageChannel, Dt as getChannelDock, Mn as GATEWAY_CLIENT_NAMES, S as readSessionUpdatedAt, jn as GATEWAY_CLIENT_MODES, x as loadSessionStore } from "./runtime-
|
|
1
|
+
import { $ as createInboundDebouncer, A as parseTtsDirectives, B as logAckFailure, Er as buildGatewayConnectionDetails, F as resolveMentionGatingWithBypass, Gi as formatAllowlistMatchMeta, Gn as resolveAgentAvatar, H as logTypingFailure, J as shouldAckReaction, K as recordInboundSession, Lt as hasControlCommand, N as createTypingCallbacks, O as resolveTtsConfig, Or as GatewayClient, Si as resolveDmGroupAccessWithLists, St as normalizeMediaAttachments, Ti as resolveControlCommandGate, Tt as runCapability, U as buildPairingReply, V as logInboundDrop, Vt as enqueueSystemEvent, X as dispatchReplyWithBufferedBlockDispatcher, Z as dispatchReplyWithDispatcher, _n as matchesMentionWithExplicit, at as createReplyDispatcherWithTyping, bi as readStoreAllowFromForDmPolicy, bn as agentCommand, bt as buildProviderRegistry, c as addAllowlistUserEntriesFromConfigEntry, ct as resolveStoredModelOverride, en as stripReasoningTagsFromText, et as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as clearHistoryEntriesIfEnabled, gn as buildMentionRegexes, hn as recordPendingHistoryEntryIfEnabled, it as dispatchInboundMessage, k as textToSpeech, l as buildAllowlistResolutionSummary, lt as buildModelsProviderData, ot as EmbeddedBlockChunker, p as summarizeMapping, rt as resolveEnvelopeFormatOptions, s as buildMediaPayload, tt as formatInboundEnvelope, u as canonicalizeAllowlistWithResolvedIds, un as buildPendingHistoryContextFromMap, vt as formatDurationSeconds, wi as resolveCommandAuthorizedFromAuthorizers, x as isDangerousNameMatchingEnabled, xt as createMediaAttachmentCache } from "./config-schema-DjU_uD-6.js";
|
|
2
|
+
import { Dn as normalizeMessageChannel, Dt as getChannelDock, Mn as GATEWAY_CLIENT_NAMES, S as readSessionUpdatedAt, jn as GATEWAY_CLIENT_MODES, x as loadSessionStore } from "./runtime-CXSQwMaR.js";
|
|
3
3
|
import { r as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, l as warn, p as getChildLogger, s as shouldLogVerbose, t as danger, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
5
5
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-BEmvSyOV.js";
|
|
@@ -14,23 +14,23 @@ import "./accounts-CuqIKU8X.js";
|
|
|
14
14
|
import { n as logError, t as logDebug } from "./logger-BbFvCoKk.js";
|
|
15
15
|
import "./exec-DQ8j4Fm3.js";
|
|
16
16
|
import "./accounts-Brn3-uWN.js";
|
|
17
|
-
import { a as resolveDiscordAllowListMatch, c as resolveDiscordMemberAccessState, d as resolveGroupDmAllow, f as shouldEmitDiscordReactionNotification, g as resolveTimestampMs, h as resolveDiscordSystemLocation, i as normalizeDiscordSlug, l as resolveDiscordOwnerAllowFrom, m as formatDiscordUserTag, n as isDiscordGroupAllowedByPolicy, o as resolveDiscordChannelConfigWithFallback, p as formatDiscordReactionEmoji, r as normalizeDiscordAllowList, s as resolveDiscordGuildEntry, t as allowListMatches, u as resolveDiscordShouldRequireMention } from "./allow-list-
|
|
17
|
+
import { a as resolveDiscordAllowListMatch, c as resolveDiscordMemberAccessState, d as resolveGroupDmAllow, f as shouldEmitDiscordReactionNotification, g as resolveTimestampMs, h as resolveDiscordSystemLocation, i as normalizeDiscordSlug, l as resolveDiscordOwnerAllowFrom, m as formatDiscordUserTag, n as isDiscordGroupAllowedByPolicy, o as resolveDiscordChannelConfigWithFallback, p as formatDiscordReactionEmoji, r as normalizeDiscordAllowList, s as resolveDiscordGuildEntry, t as allowListMatches, u as resolveDiscordShouldRequireMention } from "./allow-list-Bf45HfoP.js";
|
|
18
18
|
import { i as compileSafeRegex } from "./redact-Bm8vu_ju.js";
|
|
19
19
|
import "./github-copilot-token-CUK__1s1.js";
|
|
20
20
|
import "./retry-DstNBhDW.js";
|
|
21
21
|
import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
22
22
|
import "./ssrf-fG4UHKBw.js";
|
|
23
23
|
import "./fetch-guard-CeG6u6ld.js";
|
|
24
|
-
import "./send-
|
|
24
|
+
import "./send-D-HfKQZm.js";
|
|
25
25
|
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, O as GROUP_POLICY_BLOCKED_LABEL, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-DMBU4oTo.js";
|
|
26
|
-
import "./wsl-
|
|
27
|
-
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-
|
|
28
|
-
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-
|
|
26
|
+
import "./wsl-CTvIWvZz.js";
|
|
27
|
+
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-B6J2C0vP.js";
|
|
28
|
+
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-CBpl-AiQ.js";
|
|
29
29
|
import "./tailscale-status-DwpNdO3Z.js";
|
|
30
30
|
import { a as resolveAckReaction, c as resolveHumanDelayConfig, n as createReplyPrefixOptions } from "./reply-prefix-CeVw7Mn2.js";
|
|
31
31
|
import "./tokens-BbnqfVuu.js";
|
|
32
32
|
import "./pairing-token-Cs3BRKc0.js";
|
|
33
|
-
import "./diagnostic-
|
|
33
|
+
import "./diagnostic-sYs6Agr-.js";
|
|
34
34
|
import "./diagnostic-session-state-DqgfGYqZ.js";
|
|
35
35
|
import "./optional-runtime-dependency-0dznm3ZO.js";
|
|
36
36
|
import "./image-ops-DQi0n_Tt.js";
|
|
@@ -38,40 +38,41 @@ import "./memory-search-CrFPOeTH.js";
|
|
|
38
38
|
import "./manager-BegWxNYX.js";
|
|
39
39
|
import "./query-expansion-BG3FgzF7.js";
|
|
40
40
|
import "./common-HCcXU-NR.js";
|
|
41
|
-
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, a as listChatCommands, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as shouldHandleTextCommands, h as serializeCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, t as buildCommandTextFromArgs } from "./commands-registry-
|
|
42
|
-
import "./runtime-dependency-
|
|
41
|
+
import { C as isNativeCommandsExplicitlyDisabled, E as resolveNativeSkillsEnabled, T as resolveNativeCommandsEnabled, a as listChatCommands, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as shouldHandleTextCommands, h as serializeCommandArgs, p as resolveCommandArgMenu, r as findCommandByNativeName, t as buildCommandTextFromArgs } from "./commands-registry-G5KXSi_y.js";
|
|
42
|
+
import "./runtime-dependency-nup8niQL.js";
|
|
43
43
|
import "./path-alias-guards-DjgDArrp.js";
|
|
44
44
|
import "./fs-safe-g4g7GT02.js";
|
|
45
|
-
import
|
|
46
|
-
import { n as
|
|
47
|
-
import "./
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import "./
|
|
53
|
-
import "./
|
|
54
|
-
import "./
|
|
55
|
-
import "./
|
|
56
|
-
import
|
|
57
|
-
import { t as
|
|
58
|
-
import "./
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import "./
|
|
63
|
-
import
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import { t as
|
|
71
|
-
import { t as
|
|
72
|
-
import "./
|
|
73
|
-
import
|
|
74
|
-
import { t as
|
|
45
|
+
import "./qr-image-B4MlMG4N.js";
|
|
46
|
+
import { a as fetchRemoteMedia, l as getAgentScopedMediaLocalRoots, n as loadWebMedia } from "./media-BAoaxCrt.js";
|
|
47
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-d7GlUs5R.js";
|
|
48
|
+
import "./send-D1j12ZgX.js";
|
|
49
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-CyXM3cAv.js";
|
|
50
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-B0v6OTUZ.js";
|
|
51
|
+
import { N as formatThreadBindingDurationLabel, u as isRecentlyUnboundThreadWebhookMessage, z as getSessionBindingService } from "./thread-bindings.state-D2oOWDpv.js";
|
|
52
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-iJtvpqgb.js";
|
|
53
|
+
import "./sandbox-paths-Bzh1CuZc.js";
|
|
54
|
+
import "./directory-live-BXMpuYAF.js";
|
|
55
|
+
import "./targets-DDbNnLnB.js";
|
|
56
|
+
import "./pi-model-discovery-BHNVyRny.js";
|
|
57
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Dufnu2cT.js";
|
|
58
|
+
import { t as finalizeInboundContext } from "./inbound-context-CQnfFFQ9.js";
|
|
59
|
+
import "./render-DrBfVs0u.js";
|
|
60
|
+
import { t as convertMarkdownTables } from "./tables-_1W36GII.js";
|
|
61
|
+
import { n as recordChannelActivity } from "./channel-activity-F07DjroV.js";
|
|
62
|
+
import { t as withTimeout } from "./with-timeout-CVV8tytk.js";
|
|
63
|
+
import "./shared-D1AD2Ejn.js";
|
|
64
|
+
import { C as editMessageDiscord, Q as stripUndefinedFields, a as removeReactionDiscord, b as sendWebhookMessageDiscord, c as formatDiscordComponentEventText, d as parseDiscordModalCustomId, f as parseDiscordModalCustomIdForCarbon, g as sendMessageDiscord, h as resolveDiscordModalEntry, l as parseDiscordComponentCustomId, m as resolveDiscordComponentEntry, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, tt as createDiscordClient, u as parseDiscordComponentCustomIdForCarbon, y as sendVoiceMessageDiscord } from "./send-BXBS_mRK.js";
|
|
65
|
+
import { t as createDiscordRetryRunner } from "./retry-policy-CXh1owkc.js";
|
|
66
|
+
import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnStartup, s as createThreadBindingManager } from "./thread-bindings.lifecycle-Y9T3CQGf.js";
|
|
67
|
+
import { a as setPresence, n as registerGateway, r as unregisterGateway } from "./gateway-registry-Bgl2GFgy.js";
|
|
68
|
+
import { t as createReplyReferencePlanner } from "./reply-reference-BnAk5Wjb.js";
|
|
69
|
+
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-CMNdKSx-.js";
|
|
70
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-LH4uKSnh.js";
|
|
71
|
+
import { t as fetchDiscordApplicationId } from "./probe-oVp12D6L.js";
|
|
72
|
+
import { t as DiscordUiContainer } from "./ui-GQDYm_jw.js";
|
|
73
|
+
import "./guilds-Dkwl0yHv.js";
|
|
74
|
+
import { t as resolveDiscordChannelAllowlist } from "./resolve-channels-1HtDcMqh.js";
|
|
75
|
+
import { t as resolveDiscordUserAllowlist } from "./resolve-users-IevCOk4W.js";
|
|
75
76
|
import { createRequire } from "node:module";
|
|
76
77
|
import path from "node:path";
|
|
77
78
|
import os from "node:os";
|
|
@@ -79,7 +80,7 @@ import { inspect } from "node:util";
|
|
|
79
80
|
import fs from "node:fs/promises";
|
|
80
81
|
import { randomUUID } from "node:crypto";
|
|
81
82
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
82
|
-
import WebSocket from "ws";
|
|
83
|
+
import WebSocket$1 from "ws";
|
|
83
84
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
84
85
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
85
86
|
import { GatewayCloseCodes, GatewayIntents, GatewayPlugin } from "@buape/carbon/gateway";
|
|
@@ -1397,7 +1398,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1397
1398
|
let preflightTranscript;
|
|
1398
1399
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1399
1400
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1400
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1401
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-_FVQjR1r.js");
|
|
1401
1402
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1402
1403
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1403
1404
|
ctx: {
|
|
@@ -6879,7 +6880,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
6879
6880
|
return super.registerClient(client);
|
|
6880
6881
|
}
|
|
6881
6882
|
createWebSocket(url) {
|
|
6882
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
6883
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
6883
6884
|
}
|
|
6884
6885
|
}
|
|
6885
6886
|
return new ProxyGatewayPlugin();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { An as sendJson, At as DEFAULT_INPUT_MAX_REDIRECTS, Dn as createDefaultDeps, Ft as resolveInputFileLimits, Mn as writeDone, Mt as extractFileContentFromSource, Nt as extractImageContentFromSource, On as resolveAgentIdForRequest, Ot as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pt as normalizeMimeList, Tr as onAgentEvent, bn as agentCommand, jn as setSseHeaders, jt as DEFAULT_INPUT_TIMEOUT_MS, kn as resolveSessionKey, kt as DEFAULT_INPUT_IMAGE_MIMES, on as handleGatewayPostJsonEndpoint, sn as buildAgentMessageFromConversationEntries, wr as emitAgentEvent, yn as resolveAssistantStreamDeltaText } from "./config-schema-
|
|
2
|
-
import "./runtime-
|
|
1
|
+
import { An as sendJson, At as DEFAULT_INPUT_MAX_REDIRECTS, Dn as createDefaultDeps, Ft as resolveInputFileLimits, Mn as writeDone, Mt as extractFileContentFromSource, Nt as extractImageContentFromSource, On as resolveAgentIdForRequest, Ot as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pt as normalizeMimeList, Tr as onAgentEvent, bn as agentCommand, jn as setSseHeaders, jt as DEFAULT_INPUT_TIMEOUT_MS, kn as resolveSessionKey, kt as DEFAULT_INPUT_IMAGE_MIMES, on as handleGatewayPostJsonEndpoint, sn as buildAgentMessageFromConversationEntries, wr as emitAgentEvent, yn as resolveAssistantStreamDeltaText } from "./config-schema-DjU_uD-6.js";
|
|
2
|
+
import "./runtime-CXSQwMaR.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
@@ -11,23 +11,23 @@ import "./accounts-CuqIKU8X.js";
|
|
|
11
11
|
import { i as logWarn } from "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
13
|
import "./accounts-Brn3-uWN.js";
|
|
14
|
-
import "./allow-list-
|
|
14
|
+
import "./allow-list-Bf45HfoP.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
17
17
|
import "./retry-DstNBhDW.js";
|
|
18
18
|
import "./paths-CTZ2RS_E.js";
|
|
19
19
|
import "./ssrf-fG4UHKBw.js";
|
|
20
20
|
import "./fetch-guard-CeG6u6ld.js";
|
|
21
|
-
import "./send-
|
|
21
|
+
import "./send-D-HfKQZm.js";
|
|
22
22
|
import "./helpers-DMBU4oTo.js";
|
|
23
|
-
import "./wsl-
|
|
24
|
-
import "./pairing-store-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./wsl-CTvIWvZz.js";
|
|
24
|
+
import "./pairing-store-B6J2C0vP.js";
|
|
25
|
+
import "./chunk-CBpl-AiQ.js";
|
|
26
26
|
import "./tailscale-status-DwpNdO3Z.js";
|
|
27
27
|
import "./reply-prefix-CeVw7Mn2.js";
|
|
28
28
|
import "./tokens-BbnqfVuu.js";
|
|
29
29
|
import "./pairing-token-Cs3BRKc0.js";
|
|
30
|
-
import "./diagnostic-
|
|
30
|
+
import "./diagnostic-sYs6Agr-.js";
|
|
31
31
|
import "./diagnostic-session-state-DqgfGYqZ.js";
|
|
32
32
|
import "./optional-runtime-dependency-0dznm3ZO.js";
|
|
33
33
|
import "./image-ops-DQi0n_Tt.js";
|
|
@@ -35,25 +35,26 @@ import "./memory-search-CrFPOeTH.js";
|
|
|
35
35
|
import "./manager-BegWxNYX.js";
|
|
36
36
|
import "./query-expansion-BG3FgzF7.js";
|
|
37
37
|
import "./common-HCcXU-NR.js";
|
|
38
|
-
import "./commands-registry-
|
|
39
|
-
import "./runtime-dependency-
|
|
38
|
+
import "./commands-registry-G5KXSi_y.js";
|
|
39
|
+
import "./runtime-dependency-nup8niQL.js";
|
|
40
40
|
import "./path-alias-guards-DjgDArrp.js";
|
|
41
41
|
import "./fs-safe-g4g7GT02.js";
|
|
42
|
-
import "./
|
|
43
|
-
import "./
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import "./
|
|
49
|
-
import "./
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import "./
|
|
54
|
-
import "./
|
|
55
|
-
import "./
|
|
56
|
-
import "./
|
|
42
|
+
import "./qr-image-B4MlMG4N.js";
|
|
43
|
+
import "./media-BAoaxCrt.js";
|
|
44
|
+
import "./markdown-tables-d7GlUs5R.js";
|
|
45
|
+
import "./send-D1j12ZgX.js";
|
|
46
|
+
import "./outbound-attachment-CyXM3cAv.js";
|
|
47
|
+
import "./fetch-B0v6OTUZ.js";
|
|
48
|
+
import "./thread-bindings.state-D2oOWDpv.js";
|
|
49
|
+
import "./skill-commands-iJtvpqgb.js";
|
|
50
|
+
import "./sandbox-paths-Bzh1CuZc.js";
|
|
51
|
+
import "./directory-live-BXMpuYAF.js";
|
|
52
|
+
import "./targets-DDbNnLnB.js";
|
|
53
|
+
import "./pi-model-discovery-BHNVyRny.js";
|
|
54
|
+
import "./resolve-route-Dufnu2cT.js";
|
|
55
|
+
import "./render-DrBfVs0u.js";
|
|
56
|
+
import "./tables-_1W36GII.js";
|
|
57
|
+
import "./shared-D1AD2Ejn.js";
|
|
57
58
|
import { randomUUID } from "node:crypto";
|
|
58
59
|
import { z } from "zod";
|
|
59
60
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as resolveConfigDir } from "./utils-CYk9EKoq.js";
|
|
2
2
|
import { c as detectMime, l as extensionForMime } from "./image-ops-DQi0n_Tt.js";
|
|
3
|
-
import { n as loadWebMedia } from "./media-
|
|
3
|
+
import { n as loadWebMedia } from "./media-BAoaxCrt.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { createWriteStream } from "node:fs";
|
|
6
6
|
import fs$1 from "node:fs/promises";
|
|
@@ -5,12 +5,12 @@ import { o as escapeRegExp, x as toWhatsappJid } from "./utils-CYk9EKoq.js";
|
|
|
5
5
|
import { r as loadConfig } from "./config-DlWVeLFB.js";
|
|
6
6
|
import { n as generateSecureUuid } from "./secure-random-BIkG-k4s.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-Lt7t3l7S.js";
|
|
8
|
-
import { n as loadWebMedia } from "./media-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { n as normalizePollInput } from "./polls-
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
12
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
13
|
-
import { n as formatError } from "./session-
|
|
8
|
+
import { n as loadWebMedia } from "./media-BAoaxCrt.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-d7GlUs5R.js";
|
|
10
|
+
import { n as normalizePollInput } from "./polls-DXd67TD8.js";
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-_1W36GII.js";
|
|
12
|
+
import { n as requireActiveWebListener } from "./active-listener-p9Ooc1qj.js";
|
|
13
|
+
import { n as formatError } from "./session-iuGR_rdi.js";
|
|
14
14
|
|
|
15
15
|
//#region src/markdown/whatsapp.ts
|
|
16
16
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, t as ChannelConfigSchema } from "./types.plugin-BcSBq42x.js";
|
|
2
|
-
import { v as FasedAgentPluginConfigSchema } from "./types-
|
|
2
|
+
import { v as FasedAgentPluginConfigSchema } from "./types-DtCOO_hW.js";
|
|
3
3
|
import { ZodTypeAny } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/config-schema.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ct as listChannelPlugins, st as getChannelPlugin } from "./runtime-
|
|
1
|
+
import { ct as listChannelPlugins, st as getChannelPlugin } from "./runtime-CXSQwMaR.js";
|
|
2
2
|
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-BEmvSyOV.js";
|
|
3
3
|
import { g as safeParseJson } from "./utils-CYk9EKoq.js";
|
|
4
4
|
import { ma as withFileLock$1 } from "./config-DlWVeLFB.js";
|
|
@@ -9,6 +9,6 @@ import "./exec-DQ8j4Fm3.js";
|
|
|
9
9
|
import "./redact-Bm8vu_ju.js";
|
|
10
10
|
import "./github-copilot-token-CUK__1s1.js";
|
|
11
11
|
import "./retry-DstNBhDW.js";
|
|
12
|
-
import { i as discoverModels, n as PiModelRegistryClass, r as discoverAuthStorage, t as PiAuthStorageClass } from "./pi-model-discovery-
|
|
12
|
+
import { i as discoverModels, n as PiModelRegistryClass, r as discoverAuthStorage, t as PiAuthStorageClass } from "./pi-model-discovery-BHNVyRny.js";
|
|
13
13
|
|
|
14
14
|
export { discoverAuthStorage, discoverModels };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as withTimeout } from "./with-timeout-
|
|
2
|
-
import { n as createSlackWebClient } from "./client-
|
|
1
|
+
import { t as withTimeout } from "./with-timeout-CVV8tytk.js";
|
|
2
|
+
import { n as createSlackWebClient } from "./client-DLY-kWF_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/slack/probe.ts
|
|
5
5
|
async function probeSlack(token, timeoutMs = 2500) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as fetchWithTimeout } from "./fetch-timeout-l_6RdoMw.js";
|
|
2
|
-
import { t as makeProxyFetch } from "./proxy-
|
|
2
|
+
import { t as makeProxyFetch } from "./proxy-CLRUdShp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/telegram/probe.ts
|
|
5
5
|
const TELEGRAM_API_BASE = "https://api.telegram.org";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as normalizeDiscordToken } from "./token-D4-H0ByG.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-l_6RdoMw.js";
|
|
4
|
-
import { t as resolveFetch } from "./fetch-
|
|
4
|
+
import { t as resolveFetch } from "./fetch-B0v6OTUZ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/discord/probe.ts
|
|
7
7
|
var probe_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig } from "./types.plugin-BcSBq42x.js";
|
|
2
|
-
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-
|
|
2
|
+
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-DtCOO_hW.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin-sdk/provider-web-search-config-contract.d.ts
|
|
5
5
|
type WebSearchCredentialResolutionSource = "config" | "env" | "none";
|
|
@@ -11,7 +11,7 @@ import "./github-copilot-token-CUK__1s1.js";
|
|
|
11
11
|
import "./retry-DstNBhDW.js";
|
|
12
12
|
import "./ssrf-fG4UHKBw.js";
|
|
13
13
|
import "./optional-runtime-dependency-0dznm3ZO.js";
|
|
14
|
-
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-
|
|
14
|
+
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-nup8niQL.js";
|
|
15
15
|
import "./path-alias-guards-DjgDArrp.js";
|
|
16
16
|
import "./fs-safe-g4g7GT02.js";
|
|
17
17
|
import path from "node:path";
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
2
|
+
import QRErrorCorrectLevelModule from "qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js";
|
|
3
|
+
import { deflateSync } from "node:zlib";
|
|
4
|
+
|
|
5
|
+
//#region src/media/png-encode.ts
|
|
6
|
+
/**
|
|
7
|
+
* Minimal PNG encoder for generating simple RGBA images without native dependencies.
|
|
8
|
+
* Used for QR codes, live probes, and other programmatic image generation.
|
|
9
|
+
*/
|
|
10
|
+
const CRC_TABLE = (() => {
|
|
11
|
+
const table = new Uint32Array(256);
|
|
12
|
+
for (let i = 0; i < 256; i += 1) {
|
|
13
|
+
let c = i;
|
|
14
|
+
for (let k = 0; k < 8; k += 1) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
|
|
15
|
+
table[i] = c >>> 0;
|
|
16
|
+
}
|
|
17
|
+
return table;
|
|
18
|
+
})();
|
|
19
|
+
/** Compute CRC32 checksum for a buffer (used in PNG chunk encoding). */
|
|
20
|
+
function crc32(buf) {
|
|
21
|
+
let crc = 4294967295;
|
|
22
|
+
for (let i = 0; i < buf.length; i += 1) crc = CRC_TABLE[(crc ^ buf[i]) & 255] ^ crc >>> 8;
|
|
23
|
+
return (crc ^ 4294967295) >>> 0;
|
|
24
|
+
}
|
|
25
|
+
/** Create a PNG chunk with type, data, and CRC. */
|
|
26
|
+
function pngChunk(type, data) {
|
|
27
|
+
const typeBuf = Buffer.from(type, "ascii");
|
|
28
|
+
const len = Buffer.alloc(4);
|
|
29
|
+
len.writeUInt32BE(data.length, 0);
|
|
30
|
+
const crc = crc32(Buffer.concat([typeBuf, data]));
|
|
31
|
+
const crcBuf = Buffer.alloc(4);
|
|
32
|
+
crcBuf.writeUInt32BE(crc, 0);
|
|
33
|
+
return Buffer.concat([
|
|
34
|
+
len,
|
|
35
|
+
typeBuf,
|
|
36
|
+
data,
|
|
37
|
+
crcBuf
|
|
38
|
+
]);
|
|
39
|
+
}
|
|
40
|
+
/** Write a pixel to an RGBA buffer. Ignores out-of-bounds writes. */
|
|
41
|
+
function fillPixel(buf, x, y, width, r, g, b, a = 255) {
|
|
42
|
+
if (x < 0 || y < 0 || x >= width) return;
|
|
43
|
+
const idx = (y * width + x) * 4;
|
|
44
|
+
if (idx < 0 || idx + 3 >= buf.length) return;
|
|
45
|
+
buf[idx] = r;
|
|
46
|
+
buf[idx + 1] = g;
|
|
47
|
+
buf[idx + 2] = b;
|
|
48
|
+
buf[idx + 3] = a;
|
|
49
|
+
}
|
|
50
|
+
/** Encode an RGBA buffer as a PNG image. */
|
|
51
|
+
function encodePngRgba(buffer, width, height) {
|
|
52
|
+
const stride = width * 4;
|
|
53
|
+
const raw = Buffer.alloc((stride + 1) * height);
|
|
54
|
+
for (let row = 0; row < height; row += 1) {
|
|
55
|
+
const rawOffset = row * (stride + 1);
|
|
56
|
+
raw[rawOffset] = 0;
|
|
57
|
+
buffer.copy(raw, rawOffset + 1, row * stride, row * stride + stride);
|
|
58
|
+
}
|
|
59
|
+
const compressed = deflateSync(raw);
|
|
60
|
+
const signature = Buffer.from([
|
|
61
|
+
137,
|
|
62
|
+
80,
|
|
63
|
+
78,
|
|
64
|
+
71,
|
|
65
|
+
13,
|
|
66
|
+
10,
|
|
67
|
+
26,
|
|
68
|
+
10
|
|
69
|
+
]);
|
|
70
|
+
const ihdr = Buffer.alloc(13);
|
|
71
|
+
ihdr.writeUInt32BE(width, 0);
|
|
72
|
+
ihdr.writeUInt32BE(height, 4);
|
|
73
|
+
ihdr[8] = 8;
|
|
74
|
+
ihdr[9] = 6;
|
|
75
|
+
ihdr[10] = 0;
|
|
76
|
+
ihdr[11] = 0;
|
|
77
|
+
ihdr[12] = 0;
|
|
78
|
+
return Buffer.concat([
|
|
79
|
+
signature,
|
|
80
|
+
pngChunk("IHDR", ihdr),
|
|
81
|
+
pngChunk("IDAT", compressed),
|
|
82
|
+
pngChunk("IEND", Buffer.alloc(0))
|
|
83
|
+
]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/web/qr-image.ts
|
|
88
|
+
const QRCode = QRCodeModule;
|
|
89
|
+
const QRErrorCorrectLevel = QRErrorCorrectLevelModule;
|
|
90
|
+
function createQrMatrix(input) {
|
|
91
|
+
const qr = new QRCode(-1, QRErrorCorrectLevel.L);
|
|
92
|
+
qr.addData(input);
|
|
93
|
+
qr.make();
|
|
94
|
+
return qr;
|
|
95
|
+
}
|
|
96
|
+
async function renderQrPngBase64(input, opts = {}) {
|
|
97
|
+
const { scale = 6, marginModules = 4 } = opts;
|
|
98
|
+
const qr = createQrMatrix(input);
|
|
99
|
+
const modules = qr.getModuleCount();
|
|
100
|
+
const size = (modules + marginModules * 2) * scale;
|
|
101
|
+
const buf = Buffer.alloc(size * size * 4, 255);
|
|
102
|
+
for (let row = 0; row < modules; row += 1) for (let col = 0; col < modules; col += 1) {
|
|
103
|
+
if (!qr.isDark(row, col)) continue;
|
|
104
|
+
const startX = (col + marginModules) * scale;
|
|
105
|
+
const startY = (row + marginModules) * scale;
|
|
106
|
+
for (let y = 0; y < scale; y += 1) {
|
|
107
|
+
const pixelY = startY + y;
|
|
108
|
+
for (let x = 0; x < scale; x += 1) fillPixel(buf, startX + x, pixelY, size, 0, 0, 0, 255);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return encodePngRgba(buf, size, size).toString("base64");
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
//#endregion
|
|
115
|
+
export { renderQrPngBase64 as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
2
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-CBpl-AiQ.js";
|
|
3
3
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BbnqfVuu.js";
|
|
4
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
5
|
-
import { t as createReplyReferencePlanner } from "./reply-reference-
|
|
4
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-Di1Jit3L.js";
|
|
5
|
+
import { t as createReplyReferencePlanner } from "./reply-reference-BnAk5Wjb.js";
|
|
6
6
|
|
|
7
7
|
//#region src/slack/monitor/replies.ts
|
|
8
8
|
var replies_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as normalizeDiscordToken } from "./token-D4-H0ByG.js";
|
|
3
|
-
import { _ as fetchDiscord, i as normalizeDiscordSlug } from "./allow-list-
|
|
4
|
-
import { t as listGuilds } from "./guilds-
|
|
3
|
+
import { _ as fetchDiscord, i as normalizeDiscordSlug } from "./allow-list-Bf45HfoP.js";
|
|
4
|
+
import { t as listGuilds } from "./guilds-Dkwl0yHv.js";
|
|
5
5
|
|
|
6
6
|
//#region src/discord/resolve-channels.ts
|
|
7
7
|
var resolve_channels_exports = /* @__PURE__ */ __exportAll({ resolveDiscordChannelAllowlist: () => resolveDiscordChannelAllowlist });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as createSlackWebClient } from "./client-
|
|
2
|
+
import { n as createSlackWebClient } from "./client-DLY-kWF_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/slack/resolve-channels.ts
|
|
5
5
|
var resolve_channels_exports = /* @__PURE__ */ __exportAll({ resolveSlackChannelAllowlist: () => resolveSlackChannelAllowlist });
|