@fased/fased 0.1.47 → 0.1.49
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/auth-health.js +11 -5
- package/dist/agents/current-model-catalog.js +21 -3
- package/dist/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/commands/doctor-state-integrity.js +25 -2
- package/dist/config/sessions/transcript.js +30 -16
- package/dist/config/sessions.js +2 -2
- package/dist/control-ui/assets/{app-CHqTx3P_.js → app-6iCry787.js} +1274 -1259
- package/dist/control-ui/assets/{chat-model-ref-BbrdMKjQ.js → chat-model-ref-C6CFR-GR.js} +2 -2
- package/dist/control-ui/assets/{config-FFZLTSLS.js → config-CU5Zi8Dh.js} +2 -2
- package/dist/control-ui/assets/{index-CFHfNlLv.js → index-CNFgocD9.js} +3 -3
- package/dist/control-ui/assets/{mining-D_VAMFMY.js → mining-BdhMn18r.js} +3 -3
- package/dist/control-ui/assets/{providers-DqFL6WrJ.js → providers-WTJ1kMKy.js} +14 -3
- package/dist/control-ui/index.html +1 -1
- package/dist/extensions/sat-mining/src/protocol-contract.js +63 -0
- package/dist/extensions/sat-mining/src/solana-submit.js +3 -52
- package/dist/gateway/protocol/schema/agents-models-skills.js +1 -0
- package/dist/gateway/protocol/schema/frames.js +5 -0
- package/dist/gateway/protocol/schema/snapshot.js +1 -0
- package/dist/gateway/server/ws-connection/message-handler.js +2 -1
- package/dist/gateway/server-http.js +1 -0
- package/dist/gateway/server-methods/chat.js +4 -29
- package/dist/infra/system-presence.js +4 -2
- package/dist/light-update-status.js +1 -1
- package/dist/memory/inventory.js +44 -4
- package/dist/mining/mainnet-sync.js +70 -26
- package/dist/plugin-sdk/{accounts-DzLdrOVC.js → accounts-B5fY9hZy.js} +1 -1
- package/dist/plugin-sdk/{actions-PhofTgnO.js → actions-D-9SsSEy.js} +2 -2
- package/dist/plugin-sdk/{active-listener-C8a74qPO.js → active-listener-BH7rDR47.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CARAVcz-.js → audio-preflight-4faayz5S.js} +26 -26
- package/dist/plugin-sdk/{audit-ByK45Q1d.js → audit-BQfsboqd.js} +1 -1
- package/dist/plugin-sdk/{channel-access-BEin0yA4.js → channel-access-CDZ-cJPq.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-Di_DoR-Q.js → channel-access-configure-DlpuhlH6.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/channel-plugin-common.js +4 -4
- package/dist/plugin-sdk/{chunk-CwN3c1Fq.js → chunk-CZuCyS7k.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-DH7ooQBZ.js → chunk-items-Cyc4Kl6A.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -26
- package/dist/plugin-sdk/{commands-registry-Bea-V_lR.js → commands-registry-COIbIjGO.js} +2 -2
- package/dist/plugin-sdk/{common-BJPuBxmx.js → common-LMHJe8KW.js} +1 -1
- package/dist/plugin-sdk/{config-BxOWD3gF.js → config-ZMbTT0kM.js} +22 -4
- package/dist/plugin-sdk/{config-schema-ChJcPn7x.js → config-schema-Cku0a8Tm.js} +100 -64
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +4 -4
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/{handle-action-Bk-L2J84.js → handle-action-C8ZZfORB.js} +13 -13
- package/dist/plugin-sdk/{helpers-0E444CR0.js → helpers-vfzH9tBn.js} +1 -1
- package/dist/plugin-sdk/{image-ops-BYc-Ol7C.js → image-ops-BnOmQA5d.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +9 -9
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/{login-B_At7IVI.js → login-C73Wpiw8.js} +3 -3
- package/dist/plugin-sdk/{login-qr-BlSQ8QJF.js → login-qr-CRKHA7i8.js} +3 -3
- package/dist/plugin-sdk/{manager-VNI6sxbG.js → manager-CHYhpKHn.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-CpNefu6e.js → markdown-tables-B84dPWNG.js} +1 -1
- package/dist/plugin-sdk/{media-QBCmvhBQ.js → media-4daDcNER.js} +2 -2
- package/dist/plugin-sdk/{monitor-BhHlerHI.js → monitor-CChc6bQV.js} +30 -30
- package/dist/plugin-sdk/{monitor-C9UczH5N.js → monitor-DJhU-J5u.js} +31 -31
- package/dist/plugin-sdk/{openresponses-http-CtuFHD5w.js → openresponses-http-Dvyczr35.js} +26 -26
- package/dist/plugin-sdk/{optional-runtime-dependency-BaVO1F3i.js → optional-runtime-dependency-BFpqaCzp.js} +1 -1
- package/dist/plugin-sdk/{outbound-CWrcAWpE.js → outbound-C1xBxfNb.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-Dhi2Q-_f.js → outbound-attachment-DvcxPP7b.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-6XVXW554.d.ts → pairing-message-DWXHX-jt.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-message-D01_6FkJ.js → pairing-message-DpYT614h.js} +1 -1
- package/dist/plugin-sdk/{pairing-store-DADXOv-J.js → pairing-store-CprpGco9.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-D9-CQFS2.js → pi-model-discovery-BQ6fFRBA.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DhNNXQgq.js → pi-model-discovery-runtime-BF_89lVj.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-CQG7vp-Y.js → pw-ai-xgpIbHOr.js} +3 -3
- package/dist/plugin-sdk/{replies-C_FeIOF4.js → replies-AzJ6U6Ut.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-DD8edEdz.js → resolve-outbound-target-COo_TR7B.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BPkfG5Pg.js → resolve-route-CZFzHOIe.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-C0YsRX_6.js → retry-policy-BSdqqXsI.js} +1 -1
- package/dist/plugin-sdk/{runtime-CyTWeylK.js → runtime-CeoGffDi.js} +31 -18
- package/dist/plugin-sdk/{runtime-dependency-D6tYtvtU.js → runtime-dependency-Cvbs0GXf.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +3 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-CNxLDNQ9.js → send-B_-UtG9F.js} +6 -6
- package/dist/plugin-sdk/{send-Qckp3h4k.js → send-C0Q1u7N1.js} +8 -8
- package/dist/plugin-sdk/{send-BtFuV6zU.js → send-CGE7OgsA.js} +5 -5
- package/dist/plugin-sdk/{send-FcEJfLTd.js → send-DCxAv7bV.js} +6 -6
- package/dist/plugin-sdk/{send-BedQ8ekw.js → send-DVpCBUuL.js} +7 -7
- package/dist/plugin-sdk/{session-C3Ul4abD.js → session-ETYBbhLn.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-C2CnUTPX.js → skill-commands-BQL6TBIv.js} +2 -2
- package/dist/plugin-sdk/{slack-bSeSOI9d.js → slack-Bs_4uivd.js} +38 -38
- package/dist/plugin-sdk/{slack-actions-CLyEd8FK.js → slack-actions-CBPZkfTS.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-DBnS3hHh.js → sticker-cache-BBZMp-oQ.js} +3 -3
- package/dist/plugin-sdk/{tables-L5mXZ5y_.js → tables-B-G7Bb0l.js} +1 -1
- package/dist/plugin-sdk/{targets-eG595pY0.js → targets-D8UaoWHd.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-D0Kyqy_e.js → telegram-actions-BARLx9zc.js} +29 -29
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-C_5BEWmL.js → thread-bindings.lifecycle-DwYKCLLq.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-DRZAbcUu.js → thread-bindings.state-BNWfHA0f.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-BpMLNd4L.d.ts → tmp-fased-dir-Be1wBhVz.d.ts} +1 -1
- package/dist/plugin-sdk/{types-0CsXVmg8.d.ts → types-CJGVZX6j.d.ts} +1 -1
- package/dist/plugin-sdk/{types-DMLEeE52.d.ts → types-CXLEOrJX.d.ts} +1 -1
- package/dist/plugin-sdk/{wallet-status-2yrXvqSS.js → wallet-status-Coekn_SJ.js} +77 -28
- package/dist/plugin-sdk/{web-CSRe4zy2.js → web-BwolzGVF.js} +31 -31
- package/dist/plugin-sdk/{whatsapp-actions-CkLkpg8M.js → whatsapp-actions-CSvf6eev.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-DuAE9_88.js → whatsapp-heartbeat-Bw7OtTe6.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +3 -3
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-CXVwPntb.js → wsl-By1Mc-oS.js} +3 -3
- package/dist/plugin-sdk/{zod-schema.providers-core-FaYR6KdD.d.ts → zod-schema.providers-core-TI6sL-6B.d.ts} +16 -16
- package/dist/providers/registry.js +1 -1
- package/dist/version.js +11 -1
- 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/index.ts +122 -13
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/sat-mining/src/protocol-contract.ts +64 -0
- package/extensions/sat-mining/src/round-watcher.ts +6 -4
- package/extensions/sat-mining/src/runtime.ts +9 -3
- package/extensions/sat-mining/src/solana-submit.ts +7 -53
- 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/package.json +1 -1
- package/scripts/start-managed.sh +21 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./runtime-
|
|
1
|
+
import "./runtime-CeoGffDi.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import "./utils-CYk9EKoq.js";
|
|
6
|
-
import "./config-
|
|
6
|
+
import "./config-ZMbTT0kM.js";
|
|
7
7
|
import "./agent-scope-BbgPlhtw.js";
|
|
8
8
|
import { t as createDiscordActionGate } from "./accounts-RHZyaB73.js";
|
|
9
9
|
import "./accounts-CuqIKU8X.js";
|
|
10
10
|
import "./logger-BbFvCoKk.js";
|
|
11
11
|
import "./exec-DQ8j4Fm3.js";
|
|
12
|
-
import "./accounts-
|
|
12
|
+
import "./accounts-B5fY9hZy.js";
|
|
13
13
|
import "./allow-list-BYeKk0Sy.js";
|
|
14
14
|
import "./redact-Bm8vu_ju.js";
|
|
15
15
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -18,23 +18,23 @@ import "./paths-CTZ2RS_E.js";
|
|
|
18
18
|
import "./ip-C70a-YlD.js";
|
|
19
19
|
import "./ssrf-BZG8Ztod.js";
|
|
20
20
|
import "./fetch-guard-BuYrl6q2.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./optional-runtime-dependency-
|
|
23
|
-
import "./image-ops-
|
|
21
|
+
import "./chunk-CZuCyS7k.js";
|
|
22
|
+
import "./optional-runtime-dependency-BFpqaCzp.js";
|
|
23
|
+
import "./image-ops-BnOmQA5d.js";
|
|
24
24
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
25
25
|
import "./fs-safe-BG-VzVkL.js";
|
|
26
|
-
import "./markdown-tables-
|
|
27
|
-
import "./media-
|
|
26
|
+
import "./markdown-tables-B84dPWNG.js";
|
|
27
|
+
import "./media-4daDcNER.js";
|
|
28
28
|
import "./fetch-Cu-ahkie.js";
|
|
29
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, l as readStringArrayParam, o as parseAvailableTags, s as readNumberParam } from "./common-
|
|
29
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, l as readStringArrayParam, o as parseAvailableTags, s as readNumberParam } from "./common-LMHJe8KW.js";
|
|
30
30
|
import "./directory-live-DatqU-eS.js";
|
|
31
|
-
import { n as resolveDiscordChannelId } from "./targets-
|
|
31
|
+
import { n as resolveDiscordChannelId } from "./targets-D8UaoWHd.js";
|
|
32
32
|
import { t as assertMediaNotDataUrl } from "./sandbox-paths-lj7_EVuA.js";
|
|
33
33
|
import { i as withNormalizedTimestamp } from "./date-time-CE3Uer3C.js";
|
|
34
34
|
import "./render-Bwu_WxwA.js";
|
|
35
|
-
import "./tables-
|
|
36
|
-
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, D as pinMessageDiscord, E as listThreadsDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, R as kickMemberDiscord, S as deleteMessageDiscord, T as listPinsDiscord, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, a as removeReactionDiscord, et as hasAnyGuildPermissionDiscord, g as sendMessageDiscord, i as removeOwnReactionsDiscord, j as addRoleDiscord, k as searchMessagesDiscord, n as fetchReactionsDiscord, o as sendDiscordComponentMessage, p as readDiscordComponentSpec, q as deleteChannelDiscord, r as reactMessageDiscord, v as sendStickerDiscord, w as fetchMessageDiscord, x as createThreadDiscord, y as sendVoiceMessageDiscord, z as listGuildChannelsDiscord } from "./send-
|
|
37
|
-
import "./retry-policy-
|
|
35
|
+
import "./tables-B-G7Bb0l.js";
|
|
36
|
+
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, D as pinMessageDiscord, E as listThreadsDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, P as fetchChannelInfoDiscord, R as kickMemberDiscord, S as deleteMessageDiscord, T as listPinsDiscord, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, a as removeReactionDiscord, et as hasAnyGuildPermissionDiscord, g as sendMessageDiscord, i as removeOwnReactionsDiscord, j as addRoleDiscord, k as searchMessagesDiscord, n as fetchReactionsDiscord, o as sendDiscordComponentMessage, p as readDiscordComponentSpec, q as deleteChannelDiscord, r as reactMessageDiscord, v as sendStickerDiscord, w as fetchMessageDiscord, x as createThreadDiscord, y as sendVoiceMessageDiscord, z as listGuildChannelsDiscord } from "./send-C0Q1u7N1.js";
|
|
37
|
+
import "./retry-policy-BSdqqXsI.js";
|
|
38
38
|
import { i as getPresence, t as getGateway } from "./gateway-registry-DFsoY6C0.js";
|
|
39
39
|
import { PermissionFlagsBits } from "discord-api-types/v10";
|
|
40
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as formatTerminalLink } from "./utils-CYk9EKoq.js";
|
|
2
2
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
3
|
-
import { i as moveSingleAccountChannelSectionToDefaultAccount } from "./pairing-message-
|
|
3
|
+
import { i as moveSingleAccountChannelSectionToDefaultAccount } from "./pairing-message-DpYT614h.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/runtime-group-policy.ts
|
|
6
6
|
function resolveRuntimeGroupPolicy(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as runExec } from "./exec-DQ8j4Fm3.js";
|
|
2
|
-
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-
|
|
2
|
+
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-BFpqaCzp.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as ChatType } from "./chat-type-CK5stkc4.js";
|
|
2
2
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId, t as resolveThreadSessionKeys } from "./session-key--_1zVBRB.js";
|
|
3
3
|
import { $ as ChannelPollContext, $t as MSTeamsTeamConfig, A as ChannelSecurityAdapter, An as GetReplyOptions, At as FasedAgentConfig, B as ChannelCapabilities, C as ChannelLogoutResult, Cn as DmPolicy, Ct as RuntimeEnv, D as ChannelResolveKind, Dn as MarkdownTableMode, Dt as resolveIMessageAccount, E as ChannelPairingAdapter, En as MarkdownConfig, Et as resolveDefaultIMessageAccountId, F as ChannelAccountSnapshot, G as ChannelId, H as ChannelDirectoryEntryKind, I as ChannelAccountState, J as ChannelMessageActionAdapter, K as ChannelLogSink, M as ChannelStatusAdapter, Mn as CHANNEL_MESSAGE_ACTION_NAMES, N as BaseProbeResult, Nt as ModelProviderConfig, O as ChannelResolveResult, P as BaseTokenResolution, Q as ChannelOutboundTargetMode, Qt as MSTeamsReplyStyle, R as ChannelAgentTool, S as ChannelLogoutContext, Sn as BlockStreamingCoalesceConfig, T as ChannelOutboundContext, Tt as listIMessageAccountIds, U as ChannelGroupContext, V as ChannelDirectoryEntry, W as ChannelHeartbeatDeps, X as ChannelMessagingAdapter, Xt as MSTeamsChannelConfig, Y as ChannelMessageActionContext, Yt as SignalAccountConfig, Z as ChannelMeta, Zt as MSTeamsConfig, _ as ChannelGatewayContext, a as PromptAccountId, at as ChannelStreamingAdapter, b as ChannelLoginWithQrStartResult, bn as GroupToolPolicyConfig, cn as ChunkMode, ct as ChannelThreadingToolContext, d as ChannelAuthAdapter, dt as OutboundDeliveryResult, en as GoogleChatAccountConfig, et as ChannelPollResult, f as ChannelCommandAdapter, g as ChannelGatewayAdapter, h as ChannelElevatedAdapter, i as ChannelOnboardingDmPolicy, in as GoogleChatGroupConfig, it as ChannelStatusIssue, j as ChannelSetupAdapter, jn as ReplyPayload, k as ChannelResolverAdapter, kn as SafeBinProfileFixture, lt as ChannelToolSend, m as ChannelDirectoryAdapter, n as ChannelPlugin, nn as GoogleChatConfig, nt as ChannelSecurityDmPolicy, o as WizardPrompter, on as DmConfig, ot as ChannelThreadingAdapter, p as ChannelConfigAdapter, q as ChannelMentionAdapter, r as ChannelOnboardingAdapter, rn as GoogleChatDmConfig, rt as ChannelSetupInput, s as loadConfig, st as ChannelThreadingContext, t as ChannelConfigSchema, tn as GoogleChatActionConfig, tt as ChannelSecurityContext, u as ChannelMessageActionName, ut as getChatChannelMeta, v as ChannelGroupAdapter, vn as PollInput, w as ChannelOutboundAdapter, wn as GroupPolicy, wt as ResolvedIMessageAccount, x as ChannelLoginWithQrWaitResult, y as ChannelHeartbeatAdapter, yn as GroupToolPolicyBySenderConfig, z as ChannelAgentToolFactory } from "./types.plugin-CvUiB3Kh.js";
|
|
4
|
-
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
5
|
-
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-
|
|
4
|
+
import { $ as RealtimeVoiceBridge, $t as extensionForMime, A as ProviderPlugin, At as LineAccountConfig, B as GeneratedVideoAsset, Bt as resolveDefaultGroupPolicy, C as ProviderAuthContext, Cn as readStringParam, Ct as ImageGenerationSourceImage, D as ProviderCatalogContext, Dn as SessionEntry, Dt as normalizeAccountId$1, E as ProviderAuthResult, En as SessionAcpMeta, Et as listLineAccountIds, F as RealtimeTranscriptionProviderPlugin, Ft as formatLocationText, G as VideoGenerationProviderCapabilities, H as VideoGenerationMode, Ht as warnMissingProviderGroupPolicyFallbackOnce, I as RealtimeVoiceProviderPlugin, It as toLocationContext, J as VideoGenerationResolution, K as VideoGenerationProviderConfiguredContext, L as VideoGenerationProviderPlugin, M as ProviderPluginWizard, Mt as LineConfig, N as ProviderPluginWizardModelPicker, Nt as ResolvedLineAccount, O as ProviderCatalogOrder, On as SessionSystemPromptReport, Ot as resolveDefaultLineAccountId, P as ProviderPluginWizardSetup, Pt as NormalizedLocation, Qt as detectMime, Rt as GROUP_POLICY_BLOCKED_LABEL, S as PluginLogger, Sn as readReactionParams, St as ImageGenerationResult, T as ProviderAuthMethod, Tn as SessionAcpIdentity, Tt as ChannelDock, U as VideoGenerationModeCapabilities, V as VideoGenerationIgnoredOverride, Vt as resolveOpenProviderRuntimeGroupPolicy, W as VideoGenerationProvider, X as VideoGenerationSourceAsset, Y as VideoGenerationResult, Z as VideoGenerationTransformCapabilities, _ as FasedAgentPluginApi, _n as createTypingCallbacks, _t as GeneratedImageAsset, a as PluginRuntimeSessionGetParams, an as resolveControlCommandGate, at as RealtimeVoiceProviderId, b as FasedAgentPluginServiceContext, bn as jsonResult, bt as ImageGenerationRequest, c as PluginRuntimeSessionListResult, cn as AckReactionScope, ct as RealtimeVoiceTool, d as PluginRuntimeAdminRpcAuditSink, dn as shouldAckReaction, dt as RealtimeTranscriptionProviderConfiguredContext, en as getFileExtension, et as RealtimeVoiceBridgeCallbacks, f as PluginRuntimeAdminRpcCallContext, fn as shouldAckReactionForWhatsApp, ft as RealtimeTranscriptionProviderId, g as PluginRegistry, gn as ResponsePrefixContext, gt as RealtimeTranscriptionSessionCreateRequest, h as PluginRuntimeAdminRpcInvoker, hn as resolveAckReaction, ht as RealtimeTranscriptionSessionCallbacks, i as PluginRuntimeSessionAuditSink, in as formatInboundFromLabel, it as RealtimeVoiceProviderConfiguredContext, j as ProviderPluginCatalog, jt as LineChannelData, k as ProviderCatalogResult, kt as resolveLineAccount, l as PluginRuntimeSessionStatus, ln as WhatsAppAckReactionMode, lt as RealtimeVoiceToolCallEvent, m as PluginRuntimeAdminRpcInvocation, mn as RoutePeerKind, mt as RealtimeTranscriptionSession, n as RuntimeLogger, nn as loadWebMedia, nt as RealtimeVoiceCloseReason, o as PluginRuntimeSessionHelpers, on as resolveToolsBySender, ot as RealtimeVoiceProviderResolveConfigContext, p as PluginRuntimeAdminRpcHelpers, pn as extractOriginalFilename, pt as RealtimeTranscriptionProviderResolveConfigContext, q as VideoGenerationRequest, r as PluginRuntimeSessionAuditEvent, rn as recordInboundSession, rt as RealtimeVoiceProviderConfig, s as PluginRuntimeSessionListParams, sn as AckReactionGateParams, st as RealtimeVoiceRole, t as PluginRuntime, tn as WebMediaResult, tt as RealtimeVoiceBridgeCreateRequest, u as PluginRuntimeAdminRpcAuditEvent, un as removeAckReactionAfterReply, ut as RealtimeTranscriptionProviderConfig, v as FasedAgentPluginConfigSchema, vn as AnyAgentTool, vt as ImageGenerationProvider, w as ProviderAuthKind, wn as AcpSessionRuntimeOptions, wt as HookEntry, x as ImageGenerationProviderPlugin, xn as readNumberParam, xt as ImageGenerationResolution, y as FasedAgentPluginService, yn as createActionGate, yt as ImageGenerationProviderConfiguredContext, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CXLEOrJX.js";
|
|
5
|
+
import { B as ExecTarget, D as normalizeE164, E as escapeRegExp, F as isBlockedHostname, I as isBlockedHostnameOrIp, L as isPrivateIpAddress, M as LookupFn, N as SsrFBlockedError, O as safeParseJson, P as SsrFPolicy, R as ExecAsk, T as clamp, _ as PushTestParams, a as GatewayClient, c as GatewayRequestHandlerOptions, d as GatewayStartupTraceSnapshot, f as ModelCatalogEntry, g as ErrorShape, h as CommandsListResult, k as sleep, l as GatewayRequestHandlers, o as GatewayRequestContext, p as ModelFeature, s as GatewayRequestHandler, u as RespondFn, z as ExecSecurity } from "./types-CJGVZX6j.js";
|
|
6
6
|
import { a as VerboseLevel, i as ThinkLevel, n as SkillSnapshot, r as ReasoningLevel } from "./types-CBCtqtMn.js";
|
|
7
|
-
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-
|
|
7
|
+
import { a as buildChannelConfigSchema, c as emptyPluginConfigSchema, i as setAccountEnabledInConfigSection, n as formatPairingApproveHint, o as applyAccountNameToChannelSection, r as deleteAccountFromConfigSection, s as migrateBaseNameToDefaultAccount, t as PAIRING_APPROVED_MESSAGE } from "./pairing-message-DWXHX-jt.js";
|
|
8
8
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, o as rejectDevicePairing, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
9
9
|
import { _ as buildTokenChannelStatusSummary, a as resolveGoogleChatGroupRequireMention, c as resolveIMessageGroupToolPolicy, g as buildBaseChannelStatusSummary, h as buildBaseAccountStatusSnapshot, n as resolveBlueBubblesGroupToolPolicy, o as resolveGoogleChatGroupToolPolicy, s as resolveIMessageGroupRequireMention, t as resolveBlueBubblesGroupRequireMention, v as collectStatusIssuesFromLastError, y as createDefaultChannelRuntimeState } from "./group-mentions-DLOOve8d.js";
|
|
10
|
-
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-
|
|
11
|
-
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
10
|
+
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-TI6sL-6B.js";
|
|
11
|
+
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Be1wBhVz.js";
|
|
12
12
|
import { ImageContent } from "@mariozechner/pi-ai";
|
|
13
13
|
import { AgentMessage } from "@mariozechner/pi-agent-core";
|
|
14
14
|
import * as _sinclair_typebox0 from "@sinclair/typebox";
|
|
@@ -221,7 +221,7 @@ declare const BLUEBUBBLES_ACTIONS: {
|
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
223
|
declare const BLUEBUBBLES_ACTION_NAMES: (keyof typeof BLUEBUBBLES_ACTIONS)[];
|
|
224
|
-
declare const BLUEBUBBLES_GROUP_ACTIONS: Set<"reactions" | "
|
|
224
|
+
declare const BLUEBUBBLES_GROUP_ACTIONS: Set<"reactions" | "permissions" | "search" | "timeout" | "send" | "broadcast" | "poll" | "react" | "read" | "edit" | "unsend" | "reply" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "delete" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "voice-status" | "event-list" | "event-create" | "kick" | "ban" | "set-presence">;
|
|
225
225
|
//#endregion
|
|
226
226
|
//#region src/plugins/http-path.d.ts
|
|
227
227
|
declare function normalizePluginHttpPath(path?: string | null, fallback?: string | null): string | null;
|
|
@@ -368,8 +368,8 @@ declare const MarkdownConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
368
368
|
}>>;
|
|
369
369
|
}, z.core.$strict>>;
|
|
370
370
|
declare const TtsProviderSchema: z.ZodEnum<{
|
|
371
|
-
elevenlabs: "elevenlabs";
|
|
372
371
|
openai: "openai";
|
|
372
|
+
elevenlabs: "elevenlabs";
|
|
373
373
|
edge: "edge";
|
|
374
374
|
}>;
|
|
375
375
|
declare const TtsModeSchema: z.ZodEnum<{
|
|
@@ -395,8 +395,8 @@ declare const TtsConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
395
395
|
final: "final";
|
|
396
396
|
}>>;
|
|
397
397
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
398
|
-
elevenlabs: "elevenlabs";
|
|
399
398
|
openai: "openai";
|
|
399
|
+
elevenlabs: "elevenlabs";
|
|
400
400
|
edge: "edge";
|
|
401
401
|
}>>;
|
|
402
402
|
summaryModel: z.ZodOptional<z.ZodString>;
|
|
@@ -418,8 +418,8 @@ declare const TtsConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
418
418
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
419
419
|
applyTextNormalization: z.ZodOptional<z.ZodEnum<{
|
|
420
420
|
off: "off";
|
|
421
|
-
auto: "auto";
|
|
422
421
|
on: "on";
|
|
422
|
+
auto: "auto";
|
|
423
423
|
}>>;
|
|
424
424
|
languageCode: z.ZodOptional<z.ZodString>;
|
|
425
425
|
voiceSettings: z.ZodOptional<z.ZodObject<{
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, $n as createInfoCard, $r as extractDashscopeVideoUrls, Ar as resolveSenderCommandAuthorization, B as normalizeAccountId$1, Bn as resolveChannelMediaMaxBytes, Br as getRealtimeVoiceProvider, C as resolveEffectiveToolInventory, Cn as unregisterAcpRuntimeBackend, Cr as sendMediaWithLeadingCaption, D as runEmbeddedPiAgent, Dr as buildAgentMediaPayload, E as ACPX_PUSH_TEST_WRAPPER_ID, Er as fetchWithBearerAuthScopeFallback, F as issuePairingChallenge, Fn as isRequestBodyLimitError, Fr as resolveEffectiveAllowFromLists, G as logTypingFailure, Gr as listRealtimeTranscriptionProviders, H as resolveLineAccount, Hn as startFederationAutoConnect, Hr as normalizeRealtimeVoiceProviderId, I as createTypingCallbacks, In as readJsonBodyWithLimit, Jn as processLineMessage, Jr as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Kr as normalizeRealtimeTranscriptionProviderId, L as resolveMentionGating, Ln as readRequestBodyWithLimit, Lr as resolveControlCommandGate, Mn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Mr as readStoreAllowFromForDmPolicy, Nn as RequestBodyLimitError, Nr as resolveDmGroupAccessWithCommandGate, Or as chunkTextForOutbound, Pn as installRequestBodyLimitGuard, Pr as resolveDmGroupAccessWithLists, Q as clearHistoryEntries, Qn as createImageCard, Qr as downloadDashscopeGeneratedVideos, R as resolveMentionGatingWithBypass, Rn as requestBodyErrorToText, Rr as evaluateSenderGroupAccess, S as getPublicGatewayIdentity, Sn as registerAcpRuntimeBackend, Sr as resolveOutboundMediaUrls, T as ACPX_PUSH_TEST_METHOD, Tr as createScopedPairingAccess, U as logAckFailure, Ur as canonicalizeRealtimeTranscriptionProviderId, V as resolveDefaultLineAccountId, Vn as runFederationAutoConnectOnce, Vr as listRealtimeVoiceProviders, W as logInboundDrop, Wr as getRealtimeTranscriptionProvider, Xn as createReceiptCard, Xr as buildDashscopeVideoGenerationInput, Y as DEFAULT_GROUP_HISTORY_LIMIT, Yn as stripMarkdown, Yr as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, Z as buildPendingHistoryContextFromMap, Zn as createActionCard, Zr as buildDashscopeVideoGenerationParameters, _ as getGatewayUpdateStatus, _r as buildHostnameAllowlistPolicyFromSuffixAllowlist, a as normalizeIMessageMessagingTarget, ai as BLUEBUBBLES_ACTIONS, ar as createPersistentDedupe, at as shouldAckReaction, b as getStatusSummary, br as createNormalizedOutboundDeliverer, ci as CHANNEL_MESSAGE_ACTION_NAMES, cn as stringEnum, cr as registerWebhookTarget, d as mergeAllowlist, dr as resolveSingleWebhookTargetAsync, ei as pollDashscopeVideoTaskUntilComplete, er as createListCard, et as evictOldHistoryKeys, fr as resolveWebhookTargets, g as buildCommandsListResult, gr as withTempDownloadPath, h as getAcpStatusSnapshot, hr as extractToolSend, i as looksLikeIMessageTargetId, ii as resolveAllowlistMatchSimple, ir as createLoggerBackedRuntime, it as removeAckReactionAfterReply, jn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, jr as DM_GROUP_ACCESS_REASON, kr as resolveChannelAccountConfigBasePath, lr as rejectNonPostWebhookRequest, m as pushHandlers, mr as resolveWebhookPath, n as collectBlueBubblesStatusIssues, ni as registerPluginHttpRoute, nt as recordPendingHistoryEntryIfEnabled, o as imessageOnboardingAdapter, oi as BLUEBUBBLES_ACTION_NAMES, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, p as summarizeMapping, pr as normalizeWebhookPath, pt as formatInboundFromLabel, qn as hasMarkdownToConvert, qr as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, r as signalOnboardingAdapter, ri as formatAllowlistMatchMeta, rr as waitForAbortSignal, rt as recordInboundSession, s as buildMediaPayload, si as BLUEBUBBLES_GROUP_ACTIONS, sn as optionalStringEnum, t as LineConfigSchema, ti as resolveVideoGenerationReferenceUrls, tt as recordPendingHistoryEntry, ur as resolveSingleWebhookTarget, v as buildModelCatalogStatus, vr as isHttpsUrlAllowedByHostnameSuffixAllowlist, w as executeAcpxPushTestRequest, wn as AcpRuntimeError, wr as buildOauthProviderAuthResult, x as isDangerousNameMatchingEnabled, xr as formatTextWithAttachmentLinks, y as loadGatewayModelCatalog, yr as normalizeHostnameSuffixAllowlist, z as listLineAccountIds, zr as canonicalizeRealtimeVoiceProviderId } from "./config-schema-
|
|
2
|
-
import { Bt as resolveBlueBubblesGroupRequireMention, Gt as resolveGoogleChatGroupToolPolicy, Kt as resolveIMessageGroupRequireMention, Nn as getChatChannelMeta, Rt as looksLikeSignalTargetId, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, dn as resolveDefaultSignalAccountId, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, un as listSignalAccountIds, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-
|
|
1
|
+
import { $ as clearHistoryEntriesIfEnabled, $n as createInfoCard, $r as extractDashscopeVideoUrls, Ar as resolveSenderCommandAuthorization, B as normalizeAccountId$1, Bn as resolveChannelMediaMaxBytes, Br as getRealtimeVoiceProvider, C as resolveEffectiveToolInventory, Cn as unregisterAcpRuntimeBackend, Cr as sendMediaWithLeadingCaption, D as runEmbeddedPiAgent, Dr as buildAgentMediaPayload, E as ACPX_PUSH_TEST_WRAPPER_ID, Er as fetchWithBearerAuthScopeFallback, F as issuePairingChallenge, Fn as isRequestBodyLimitError, Fr as resolveEffectiveAllowFromLists, G as logTypingFailure, Gr as listRealtimeTranscriptionProviders, H as resolveLineAccount, Hn as startFederationAutoConnect, Hr as normalizeRealtimeVoiceProviderId, I as createTypingCallbacks, In as readJsonBodyWithLimit, Jn as processLineMessage, Jr as DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, Kr as normalizeRealtimeTranscriptionProviderId, L as resolveMentionGating, Ln as readRequestBodyWithLimit, Lr as resolveControlCommandGate, Mn as DEFAULT_WEBHOOK_MAX_BODY_BYTES, Mr as readStoreAllowFromForDmPolicy, Nn as RequestBodyLimitError, Nr as resolveDmGroupAccessWithCommandGate, Or as chunkTextForOutbound, Pn as installRequestBodyLimitGuard, Pr as resolveDmGroupAccessWithLists, Q as clearHistoryEntries, Qn as createImageCard, Qr as downloadDashscopeGeneratedVideos, R as resolveMentionGatingWithBypass, Rn as requestBodyErrorToText, Rr as evaluateSenderGroupAccess, S as getPublicGatewayIdentity, Sn as registerAcpRuntimeBackend, Sr as resolveOutboundMediaUrls, T as ACPX_PUSH_TEST_METHOD, Tr as createScopedPairingAccess, U as logAckFailure, Ur as canonicalizeRealtimeTranscriptionProviderId, V as resolveDefaultLineAccountId, Vn as runFederationAutoConnectOnce, Vr as listRealtimeVoiceProviders, W as logInboundDrop, Wr as getRealtimeTranscriptionProvider, Xn as createReceiptCard, Xr as buildDashscopeVideoGenerationInput, Y as DEFAULT_GROUP_HISTORY_LIMIT, Yn as stripMarkdown, Yr as DEFAULT_VIDEO_RESOLUTION_TO_SIZE, Z as buildPendingHistoryContextFromMap, Zn as createActionCard, Zr as buildDashscopeVideoGenerationParameters, _ as getGatewayUpdateStatus, _r as buildHostnameAllowlistPolicyFromSuffixAllowlist, a as normalizeIMessageMessagingTarget, ai as BLUEBUBBLES_ACTIONS, ar as createPersistentDedupe, at as shouldAckReaction, b as getStatusSummary, br as createNormalizedOutboundDeliverer, ci as CHANNEL_MESSAGE_ACTION_NAMES, cn as stringEnum, cr as registerWebhookTarget, d as mergeAllowlist, dr as resolveSingleWebhookTargetAsync, ei as pollDashscopeVideoTaskUntilComplete, er as createListCard, et as evictOldHistoryKeys, fr as resolveWebhookTargets, g as buildCommandsListResult, gr as withTempDownloadPath, h as getAcpStatusSnapshot, hr as extractToolSend, i as looksLikeIMessageTargetId, ii as resolveAllowlistMatchSimple, ir as createLoggerBackedRuntime, it as removeAckReactionAfterReply, jn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, jr as DM_GROUP_ACCESS_REASON, kr as resolveChannelAccountConfigBasePath, lr as rejectNonPostWebhookRequest, m as pushHandlers, mr as resolveWebhookPath, n as collectBlueBubblesStatusIssues, ni as registerPluginHttpRoute, nt as recordPendingHistoryEntryIfEnabled, o as imessageOnboardingAdapter, oi as BLUEBUBBLES_ACTION_NAMES, or as createDedupeCache, ot as shouldAckReactionForWhatsApp, p as summarizeMapping, pr as normalizeWebhookPath, pt as formatInboundFromLabel, qn as hasMarkdownToConvert, qr as DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, r as signalOnboardingAdapter, ri as formatAllowlistMatchMeta, rr as waitForAbortSignal, rt as recordInboundSession, s as buildMediaPayload, si as BLUEBUBBLES_GROUP_ACTIONS, sn as optionalStringEnum, t as LineConfigSchema, ti as resolveVideoGenerationReferenceUrls, tt as recordPendingHistoryEntry, ur as resolveSingleWebhookTarget, v as buildModelCatalogStatus, vr as isHttpsUrlAllowedByHostnameSuffixAllowlist, w as executeAcpxPushTestRequest, wn as AcpRuntimeError, wr as buildOauthProviderAuthResult, x as isDangerousNameMatchingEnabled, xr as formatTextWithAttachmentLinks, y as loadGatewayModelCatalog, yr as normalizeHostnameSuffixAllowlist, z as listLineAccountIds, zr as canonicalizeRealtimeVoiceProviderId } from "./config-schema-Cku0a8Tm.js";
|
|
2
|
+
import { Bt as resolveBlueBubblesGroupRequireMention, Gt as resolveGoogleChatGroupToolPolicy, Kt as resolveIMessageGroupRequireMention, Nn as getChatChannelMeta, Rt as looksLikeSignalTargetId, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, dn as resolveDefaultSignalAccountId, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, un as listSignalAccountIds, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-CeoGffDi.js";
|
|
3
3
|
import { n as stripAnsi } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { g as registerLogTransport, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import { d as normalizeE164, g as safeParseJson, n as clamp, o as escapeRegExp, y as sleep } from "./utils-CYk9EKoq.js";
|
|
7
|
-
import { A as GroupPolicySchema, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, Fn as withFileLock, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, Pn as acquireFileLock, R as normalizeAllowFrom, Tr as isTruthyEnvValue, d as GoogleChatConfigSchema, f as IMessageConfigSchema, fr as formatErrorMessage, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, z as requireOpenAllowFrom } from "./config-
|
|
7
|
+
import { A as GroupPolicySchema, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, Fn as withFileLock, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, Pn as acquireFileLock, R as normalizeAllowFrom, Tr as isTruthyEnvValue, d as GoogleChatConfigSchema, f as IMessageConfigSchema, fr as formatErrorMessage, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, z as requireOpenAllowFrom } from "./config-ZMbTT0kM.js";
|
|
8
8
|
import { r as listAgentIds, u as resolveDefaultAgentId } from "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-HSJ2KQTc.js";
|
|
10
10
|
import "./accounts-RHZyaB73.js";
|
|
11
11
|
import "./accounts-CuqIKU8X.js";
|
|
12
12
|
import "./logger-BbFvCoKk.js";
|
|
13
13
|
import "./exec-DQ8j4Fm3.js";
|
|
14
|
-
import "./accounts-
|
|
14
|
+
import "./accounts-B5fY9hZy.js";
|
|
15
15
|
import { C as resolveNestedAllowlistDecision, S as resolveChannelEntryMatchWithFallback, b as normalizeChannelSlug, x as resolveChannelEntryMatch, y as buildChannelKeyCandidates } from "./allow-list-BYeKk0Sy.js";
|
|
16
16
|
import { n as redactSensitiveText } from "./redact-Bm8vu_ju.js";
|
|
17
17
|
import "./github-copilot-token-CUK__1s1.js";
|
|
18
18
|
import "./retry-DstNBhDW.js";
|
|
19
19
|
import "./paths-CTZ2RS_E.js";
|
|
20
|
-
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-
|
|
20
|
+
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-DpYT614h.js";
|
|
21
21
|
import "./ip-C70a-YlD.js";
|
|
22
22
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-BZG8Ztod.js";
|
|
23
23
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-BuYrl6q2.js";
|
|
24
24
|
import { n as redactSensitiveUrlLikeString, t as redactSensitiveUrl } from "./redact-sensitive-url-dPvnFFsK.js";
|
|
25
|
-
import { d as parseChatTargetPrefixesOrThrow, f as resolveServicePrefixedAllowTarget, g as isNormalizedSenderAllowed, h as isAllowedParsedChatSender, m as formatAllowFromLowercase, p as resolveServicePrefixedTarget, u as parseChatAllowTargetPrefixes } from "./send-
|
|
26
|
-
import { A as resolveDefaultGroupPolicy, C as buildBaseChannelStatusSummary, D as formatDocsLink, E as createDefaultChannelRuntimeState, M as warnMissingProviderGroupPolicyFallbackOnce, O as GROUP_POLICY_BLOCKED_LABEL, S as buildBaseAccountStatusSnapshot, T as collectStatusIssuesFromLastError, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, r as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId, w as buildTokenChannelStatusSummary } from "./helpers-
|
|
27
|
-
import { D as formatLocationText, O as toLocationContext, n as isWSLEnv, r as isWSLSync, t as isWSL2Sync } from "./wsl-
|
|
28
|
-
import { o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-
|
|
29
|
-
import "./chunk-
|
|
25
|
+
import { d as parseChatTargetPrefixesOrThrow, f as resolveServicePrefixedAllowTarget, g as isNormalizedSenderAllowed, h as isAllowedParsedChatSender, m as formatAllowFromLowercase, p as resolveServicePrefixedTarget, u as parseChatAllowTargetPrefixes } from "./send-DCxAv7bV.js";
|
|
26
|
+
import { A as resolveDefaultGroupPolicy, C as buildBaseChannelStatusSummary, D as formatDocsLink, E as createDefaultChannelRuntimeState, M as warnMissingProviderGroupPolicyFallbackOnce, O as GROUP_POLICY_BLOCKED_LABEL, S as buildBaseAccountStatusSnapshot, T as collectStatusIssuesFromLastError, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, r as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId, w as buildTokenChannelStatusSummary } from "./helpers-vfzH9tBn.js";
|
|
27
|
+
import { D as formatLocationText, O as toLocationContext, n as isWSLEnv, r as isWSLSync, t as isWSL2Sync } from "./wsl-By1Mc-oS.js";
|
|
28
|
+
import { o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-CprpGco9.js";
|
|
29
|
+
import "./chunk-CZuCyS7k.js";
|
|
30
30
|
import { n as resolveGatewayBindUrl, r as runPluginCommandWithTimeout, t as resolveTailnetHostWithRunner } from "./tailscale-status-ClsquRGs.js";
|
|
31
31
|
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-Bqzm6DC1.js";
|
|
32
32
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-BvtlOzVP.js";
|
|
@@ -34,34 +34,34 @@ import { i as rejectDevicePairing, r as listDevicePairing, t as approveDevicePai
|
|
|
34
34
|
import "./pairing-token-N_6Jbt1L.js";
|
|
35
35
|
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-Dfn1iERm.js";
|
|
36
36
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
37
|
-
import "./optional-runtime-dependency-
|
|
38
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
39
|
-
import { C as resolveFederationHandle, S as resolveFederationBaseUrl, b as normalizeHandle, x as resolveAgentPublicOrigin, y as DEFAULT_FEDERATION_BASE_URL } from "./wallet-status-
|
|
40
|
-
import "./pi-model-discovery-
|
|
41
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./optional-runtime-dependency-BFpqaCzp.js";
|
|
38
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-BnOmQA5d.js";
|
|
39
|
+
import { C as resolveFederationHandle, S as resolveFederationBaseUrl, b as normalizeHandle, x as resolveAgentPublicOrigin, y as DEFAULT_FEDERATION_BASE_URL } from "./wallet-status-Coekn_SJ.js";
|
|
40
|
+
import "./pi-model-discovery-BQ6fFRBA.js";
|
|
41
|
+
import "./runtime-dependency-Cvbs0GXf.js";
|
|
42
42
|
import { t as rawDataToString } from "./ws-CocpWGhl.js";
|
|
43
43
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
44
44
|
import "./fs-safe-BG-VzVkL.js";
|
|
45
|
-
import "./markdown-tables-
|
|
46
|
-
import { n as loadWebMedia } from "./media-
|
|
47
|
-
import "./send-
|
|
48
|
-
import { r as extractOriginalFilename } from "./outbound-attachment-
|
|
45
|
+
import "./markdown-tables-B84dPWNG.js";
|
|
46
|
+
import { n as loadWebMedia } from "./media-4daDcNER.js";
|
|
47
|
+
import "./send-B_-UtG9F.js";
|
|
48
|
+
import { r as extractOriginalFilename } from "./outbound-attachment-DvcxPP7b.js";
|
|
49
49
|
import "./fetch-Cu-ahkie.js";
|
|
50
|
-
import "./thread-bindings.state-
|
|
50
|
+
import "./thread-bindings.state-BNWfHA0f.js";
|
|
51
51
|
import "./memory-search-C3C0bD2H.js";
|
|
52
|
-
import "./manager-
|
|
52
|
+
import "./manager-CHYhpKHn.js";
|
|
53
53
|
import "./query-expansion-Zr9qQixm.js";
|
|
54
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-
|
|
55
|
-
import "./commands-registry-
|
|
56
|
-
import "./skill-commands-
|
|
54
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-LMHJe8KW.js";
|
|
55
|
+
import "./commands-registry-COIbIjGO.js";
|
|
56
|
+
import "./skill-commands-BQL6TBIv.js";
|
|
57
57
|
import "./directory-live-DatqU-eS.js";
|
|
58
|
-
import "./targets-
|
|
58
|
+
import "./targets-D8UaoWHd.js";
|
|
59
59
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
60
60
|
import { n as missingTargetError } from "./target-errors-C_SVKoEv.js";
|
|
61
|
-
import "./resolve-route-
|
|
61
|
+
import "./resolve-route-CZFzHOIe.js";
|
|
62
62
|
import "./render-Bwu_WxwA.js";
|
|
63
|
-
import "./tables-
|
|
64
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
63
|
+
import "./tables-B-G7Bb0l.js";
|
|
64
|
+
import { t as promptChannelAccessConfig } from "./channel-access-CDZ-cJPq.js";
|
|
65
65
|
import "./shared-clhhbWN3.js";
|
|
66
66
|
|
|
67
67
|
export { ACPX_PUSH_TEST_METHOD, ACPX_PUSH_TEST_WRAPPER_ID, AcpRuntimeError, BLUEBUBBLES_ACTIONS, BLUEBUBBLES_ACTION_NAMES, BLUEBUBBLES_GROUP_ACTIONS, BlockStreamingCoalesceSchema, CHANNEL_MESSAGE_ACTION_NAMES, DEFAULT_ACCOUNT_ID, DEFAULT_FEDERATION_BASE_URL, DEFAULT_GROUP_HISTORY_LIMIT, DEFAULT_VIDEO_GENERATION_DURATION_SECONDS, DEFAULT_VIDEO_GENERATION_TIMEOUT_MS, DEFAULT_VIDEO_RESOLUTION_TO_SIZE, DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, DEFAULT_WEBHOOK_MAX_BODY_BYTES, DM_GROUP_ACCESS_REASON, DmConfigSchema, DmPolicySchema, GROUP_POLICY_BLOCKED_LABEL, GoogleChatConfigSchema, GroupPolicySchema, IMessageConfigSchema, LineConfigSchema, MSTeamsConfigSchema, MarkdownConfigSchema, MarkdownTableModeSchema, PAIRING_APPROVED_MESSAGE, ReplyRuntimeConfigSchemaShape, RequestBodyLimitError, SILENT_REPLY_TOKEN, SignalConfigSchema, SsrFBlockedError, ToolPolicySchema, TtsAutoSchema, TtsConfigSchema, TtsModeSchema, TtsProviderSchema, acquireFileLock, addWildcardAllowFrom, applyAccountNameToChannelSection, approveDevicePairing, buildAgentMediaPayload, buildBaseAccountStatusSnapshot, buildBaseChannelStatusSummary, buildChannelConfigSchema, buildChannelKeyCandidates, buildCommandsListResult, buildDashscopeVideoGenerationInput, buildDashscopeVideoGenerationParameters, buildHostnameAllowlistPolicyFromSuffixAllowlist, buildMediaPayload, buildModelCatalogStatus, buildOauthProviderAuthResult, buildPendingHistoryContextFromMap, buildTokenChannelStatusSummary, canonicalizeRealtimeTranscriptionProviderId, canonicalizeRealtimeVoiceProviderId, chunkTextForOutbound, clamp, clearHistoryEntries, clearHistoryEntriesIfEnabled, collectBlueBubblesStatusIssues, collectStatusIssuesFromLastError, createActionCard, createActionGate, createDedupeCache, createDefaultChannelRuntimeState, createImageCard, createInfoCard, createListCard, createLoggerBackedRuntime, createNormalizedOutboundDeliverer, createPersistentDedupe, createReceiptCard, createReplyPrefixContext, createReplyPrefixOptions, createScopedPairingAccess, createTypingCallbacks, deleteAccountFromConfigSection, detectMime, downloadDashscopeGeneratedVideos, emitDiagnosticEvent, emptyPluginConfigSchema, escapeRegExp, evaluateSenderGroupAccess, evictOldHistoryKeys, executeAcpxPushTestRequest, extensionForMime, extractDashscopeVideoUrls, extractOriginalFilename, extractToolSend, fetchWithBearerAuthScopeFallback, fetchWithSsrFGuard, formatAllowFromLowercase, formatAllowlistMatchMeta, formatDocsLink, formatErrorMessage, formatInboundFromLabel, formatLocationText, formatPairingApproveHint, formatTextWithAttachmentLinks, getAcpStatusSnapshot, getChatChannelMeta, getFileExtension, getGatewayUpdateStatus, getPublicGatewayIdentity, getRealtimeTranscriptionProvider, getRealtimeVoiceProvider, getStatusSummary, hasMarkdownToConvert, imessageOnboardingAdapter, installRequestBodyLimitGuard, isAllowedParsedChatSender, isBlockedHostname, isBlockedHostnameOrIp, isDangerousNameMatchingEnabled, isDiagnosticsEnabled, isHttpsUrlAllowedByHostnameSuffixAllowlist, isNormalizedSenderAllowed, isPrivateIpAddress, isRequestBodyLimitError, isSilentReplyText, isTruthyEnvValue, isWSL2Sync, isWSLEnv, isWSLSync, issuePairingChallenge, jsonResult, listAgentIds, listDevicePairing, listIMessageAccountIds, listLineAccountIds, listRealtimeTranscriptionProviders, listRealtimeVoiceProviders, listSignalAccountIds, loadGatewayModelCatalog, loadWebMedia, logAckFailure, logInboundDrop, logTypingFailure, looksLikeIMessageTargetId, looksLikeSignalTargetId, mergeAllowFromEntries, mergeAllowlist, migrateBaseNameToDefaultAccount, missingTargetError, normalizeAccountId, normalizeAllowFrom, normalizeChannelSlug, normalizeE164, normalizeHandle, normalizeHostnameSuffixAllowlist, normalizeIMessageMessagingTarget, normalizeAccountId$1 as normalizeLineAccountId, normalizePluginHttpPath, normalizeRealtimeTranscriptionProviderId, normalizeRealtimeVoiceProviderId, normalizeSignalMessagingTarget, normalizeWebhookPath, onDiagnosticEvent, optionalStringEnum, parseChatAllowTargetPrefixes, parseChatTargetPrefixesOrThrow, pollDashscopeVideoTaskUntilComplete, processLineMessage, promptAccountId, promptChannelAccessConfig, pushHandlers, rawDataToString, readJsonBodyWithLimit, readJsonFileWithFallback, readNumberParam, readReactionParams, readRequestBodyWithLimit, readStoreAllowFromForDmPolicy, readStringParam, recordInboundSession, recordPendingHistoryEntry, recordPendingHistoryEntryIfEnabled, redactSensitiveText, redactSensitiveUrl, redactSensitiveUrlLikeString, registerAcpRuntimeBackend, registerLogTransport, registerPluginHttpRoute, registerWebhookTarget, rejectDevicePairing, rejectNonPostWebhookRequest, removeAckReactionAfterReply, requestBodyErrorToText, requireOpenAllowFrom, resolveAckReaction, resolveAgentPublicOrigin, resolveAllowlistMatchSimple, resolveAllowlistProviderRuntimeGroupPolicy, resolveBlueBubblesGroupRequireMention, resolveBlueBubblesGroupToolPolicy, resolveChannelAccountConfigBasePath, resolveChannelEntryMatch, resolveChannelEntryMatchWithFallback, resolveChannelMediaMaxBytes, resolveControlCommandGate, resolveDefaultAgentId, resolveDefaultGroupPolicy, resolveDefaultIMessageAccountId, resolveDefaultLineAccountId, resolveDefaultSignalAccountId, resolveDmGroupAccessWithCommandGate, resolveDmGroupAccessWithLists, resolveEffectiveAllowFromLists, resolveEffectiveToolInventory, resolveFederationBaseUrl, resolveFederationHandle, resolveGatewayBindUrl, resolveGoogleChatGroupRequireMention, resolveGoogleChatGroupToolPolicy, resolveIMessageAccount, resolveIMessageGroupRequireMention, resolveIMessageGroupToolPolicy, resolveLineAccount, resolveMentionGating, resolveMentionGatingWithBypass, resolveNestedAllowlistDecision, resolveOpenProviderRuntimeGroupPolicy, resolveOutboundMediaUrls, resolvePreferredFasedAgentTmpDir, resolveSenderCommandAuthorization, resolveServicePrefixedAllowTarget, resolveServicePrefixedTarget, resolveSignalAccount, resolveSingleWebhookTarget, resolveSingleWebhookTargetAsync, resolveTailnetHostWithRunner, resolveThreadSessionKeys, resolveToolsBySender, resolveVideoGenerationReferenceUrls, resolveWebhookPath, resolveWebhookTargets, runEmbeddedPiAgent, runFederationAutoConnectOnce, runPluginCommandWithTimeout, safeParseJson, sendMediaWithLeadingCaption, setAccountEnabledInConfigSection, shouldAckReaction, shouldAckReactionForWhatsApp, signalOnboardingAdapter, sleep, startFederationAutoConnect, stringEnum, stripAnsi, stripMarkdown, summarizeMapping, toLocationContext, unregisterAcpRuntimeBackend, waitForAbortSignal, warnMissingProviderGroupPolicyFallbackOnce, withFileLock, withTempDownloadPath, writeJsonFileAtomically };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import { c as success, n as info, t as danger } from "./globals-B_jjtAje.js";
|
|
4
|
-
import { Cr as formatCliCommand, n as loadConfig } from "./config-
|
|
4
|
+
import { Cr as formatCliCommand, n as loadConfig } from "./config-ZMbTT0kM.js";
|
|
5
5
|
import { r as logInfo } from "./logger-BbFvCoKk.js";
|
|
6
|
-
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
6
|
+
import { i as resolveWhatsAppAccount, l as logoutWeb } from "./accounts-B5fY9hZy.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-ETYBbhLn.js";
|
|
8
8
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
9
9
|
|
|
10
10
|
//#region src/web/login.ts
|
|
@@ -2,15 +2,15 @@ import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
|
2
2
|
import { c as success, n as info, t as danger } from "./globals-B_jjtAje.js";
|
|
3
3
|
import "./paths-BEmvSyOV.js";
|
|
4
4
|
import "./utils-CYk9EKoq.js";
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
5
|
+
import { n as loadConfig } from "./config-ZMbTT0kM.js";
|
|
6
6
|
import "./agent-scope-BbgPlhtw.js";
|
|
7
7
|
import { r as logInfo } from "./logger-BbFvCoKk.js";
|
|
8
8
|
import "./exec-DQ8j4Fm3.js";
|
|
9
|
-
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-
|
|
9
|
+
import { _ as webAuthExists, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId } from "./accounts-B5fY9hZy.js";
|
|
10
10
|
import "./redact-Bm8vu_ju.js";
|
|
11
11
|
import "./github-copilot-token-CUK__1s1.js";
|
|
12
12
|
import "./retry-DstNBhDW.js";
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-ETYBbhLn.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-CYk9EKoq.js";
|
|
4
|
-
import { Kt as normalizeProviderId, Tr as isTruthyEnvValue, cn as resolveApiKeyForProvider, fr as formatErrorMessage, sn as requireApiKey } from "./config-
|
|
4
|
+
import { Kt as normalizeProviderId, Tr as isTruthyEnvValue, cn as resolveApiKeyForProvider, fr as formatErrorMessage, sn as requireApiKey } from "./config-ZMbTT0kM.js";
|
|
5
5
|
import { a as resolveAgentDir, l as resolveAgentWorkspaceDir } from "./agent-scope-BbgPlhtw.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-Bm8vu_ju.js";
|
|
7
7
|
import { n as retryAsync } from "./retry-DstNBhDW.js";
|
|
@@ -9,7 +9,7 @@ import { c as resolveSessionTranscriptsDirForAgent } from "./paths-CTZ2RS_E.js";
|
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-BJQWUdmU.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-BuYrl6q2.js";
|
|
11
11
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-dPvnFFsK.js";
|
|
12
|
-
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-
|
|
12
|
+
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-BFpqaCzp.js";
|
|
13
13
|
import { t as resolveMemorySearchConfig } from "./memory-search-C3C0bD2H.js";
|
|
14
14
|
import { a as hashText, c as normalizeExtraMemoryPaths, d as remapChunkLines, f as runWithConcurrency, i as ensureDir, m as statRegularFile, n as chunkMarkdown, o as isMemoryPath, p as isFileMissingError, r as cosineSimilarity, s as listMemoryFiles, t as buildFileEntry, u as parseEmbedding } from "./internal-qo16nNU1.js";
|
|
15
15
|
import { a as sessionPathForFile, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords } from "./query-expansion-Zr9qQixm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { lt as normalizeChannelId } from "./runtime-
|
|
2
|
+
import { lt as normalizeChannelId } from "./runtime-CeoGffDi.js";
|
|
3
3
|
import { n as resolveAccountEntry } from "./account-helpers-Bdfws46K.js";
|
|
4
4
|
import { p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
5
5
|
|
|
@@ -3,8 +3,8 @@ 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-BbgPlhtw.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-BuYrl6q2.js";
|
|
6
|
-
import { a as chunkText } from "./chunk-
|
|
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-
|
|
6
|
+
import { a as chunkText } from "./chunk-CZuCyS7k.js";
|
|
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-BnOmQA5d.js";
|
|
8
8
|
import { i as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-BG-VzVkL.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, Bt as formatDurationPrecise, Ct as buildProviderKeyboard, Dt as buildCommandsPaginationKeyboard, Et as parseModelCallbackData, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, In as readJsonBodyWithLimit, Ir as resolveCommandAuthorizedFromAuthorizers, J as sleepWithAbort, K as buildPairingReply, Lr as resolveControlCommandGate, M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, R as resolveMentionGatingWithBypass, Rt as buildCommandsMessagePaginated, St as buildModelsKeyboard, Tt as getModelsPageSize, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, Zt as registerUnhandledRejectionHandler, _n as stripReasoningTagsFromText, at as shouldAckReaction, bt as buildModelsProviderData, dn as isAbortRequestText, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, gn as formatReasoningMessage, it as removeAckReactionAfterReply, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nr as resolveTelegramInlineButtonsScope, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, pn as matchesMentionWithExplicit, q as computeBackoff, rr as waitForAbortSignal, rt as recordInboundSession, st as dispatchReplyWithBufferedBlockDispatcher, ut as createInboundDebouncer, vn as findCodeRegions, wt as calculateTotalPages, xt as formatModelsAvailableHeader, yn as isInsideCode, yt as resolveStoredModelOverride } 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 clearHistoryEntriesIfEnabled, Bt as formatDurationPrecise, Ct as buildProviderKeyboard, Dt as buildCommandsPaginationKeyboard, Et as parseModelCallbackData, G as logTypingFailure, Ht as enqueueSystemEvent, I as createTypingCallbacks, In as readJsonBodyWithLimit, Ir as resolveCommandAuthorizedFromAuthorizers, J as sleepWithAbort, K as buildPairingReply, Lr as resolveControlCommandGate, M as findModelInCatalog, N as loadModelCatalog, P as modelSupportsVision, R as resolveMentionGatingWithBypass, Rt as buildCommandsMessagePaginated, St as buildModelsKeyboard, Tt as getModelsPageSize, U as logAckFailure, Ut as resolveChannelConfigWrites, W as logInboundDrop, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, Zt as registerUnhandledRejectionHandler, _n as stripReasoningTagsFromText, at as shouldAckReaction, bt as buildModelsProviderData, dn as isAbortRequestText, dt as resolveInboundDebounceMs, fn as buildMentionRegexes, ft as formatInboundEnvelope, gn as formatReasoningMessage, it as removeAckReactionAfterReply, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nr as resolveTelegramInlineButtonsScope, nt as recordPendingHistoryEntryIfEnabled, or as createDedupeCache, pn as matchesMentionWithExplicit, q as computeBackoff, rr as waitForAbortSignal, rt as recordInboundSession, st as dispatchReplyWithBufferedBlockDispatcher, ut as createInboundDebouncer, vn as findCodeRegions, wt as calculateTotalPages, xt as formatModelsAvailableHeader, yn as isInsideCode, yt as resolveStoredModelOverride } from "./config-schema-Cku0a8Tm.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-CeoGffDi.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";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import { Lt as resolveAgentMaxConcurrent, Yt as resolveDefaultModelForAgent, _ as TELEGRAM_COMMAND_NAME_PATTERN, fr as formatErrorMessage, n as loadConfig, pr as formatUncaughtError, s as writeConfigFile, v as normalizeTelegramCommandName, y as resolveTelegramCustomCommands } from "./config-
|
|
7
|
+
import { Lt as resolveAgentMaxConcurrent, Yt as resolveDefaultModelForAgent, _ as TELEGRAM_COMMAND_NAME_PATTERN, fr as formatErrorMessage, n as loadConfig, pr as formatUncaughtError, s as writeConfigFile, v as normalizeTelegramCommandName, y as resolveTelegramCustomCommands } from "./config-ZMbTT0kM.js";
|
|
8
8
|
import { a as resolveAgentDir, u as resolveDefaultAgentId } from "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import { p as normalizeAccountId$1, u as resolveThreadSessionKeys } from "./session-key-HSJ2KQTc.js";
|
|
10
10
|
import "./accounts-RHZyaB73.js";
|
|
11
11
|
import "./accounts-CuqIKU8X.js";
|
|
12
12
|
import "./logger-BbFvCoKk.js";
|
|
13
13
|
import "./exec-DQ8j4Fm3.js";
|
|
14
|
-
import "./accounts-
|
|
14
|
+
import "./accounts-B5fY9hZy.js";
|
|
15
15
|
import "./allow-list-BYeKk0Sy.js";
|
|
16
16
|
import "./redact-Bm8vu_ju.js";
|
|
17
17
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -20,11 +20,11 @@ import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
|
20
20
|
import "./ip-C70a-YlD.js";
|
|
21
21
|
import "./ssrf-BZG8Ztod.js";
|
|
22
22
|
import "./fetch-guard-BuYrl6q2.js";
|
|
23
|
-
import "./send-
|
|
24
|
-
import { j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-
|
|
25
|
-
import { C as isSenderAllowed, D as formatLocationText, E as resolveSenderAllowMatch, O as toLocationContext, P as firstDefined, S as resolveTelegramThreadSpec, T as normalizeDmAllowFromWithStore, _ as resolveTelegramForumThreadId, a as buildSenderLabel, b as resolveTelegramReplyId, c as buildTelegramGroupPeerId, d as buildTypingThreadParams, f as describeReplyTarget, g as normalizeForwardedContext, h as hasBotMention, i as buildGroupLabel, l as buildTelegramParentPeer, m as extractTelegramLocation, o as buildSenderName, p as expandTextLinks, s as buildTelegramGroupFrom, u as buildTelegramThreadParams, v as resolveTelegramGroupAllowFromContext, w as normalizeAllowFrom, x as resolveTelegramStreamMode, y as resolveTelegramMediaPlaceholder } from "./wsl-
|
|
26
|
-
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-
|
|
27
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
23
|
+
import "./send-DCxAv7bV.js";
|
|
24
|
+
import { j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-vfzH9tBn.js";
|
|
25
|
+
import { C as isSenderAllowed, D as formatLocationText, E as resolveSenderAllowMatch, O as toLocationContext, P as firstDefined, S as resolveTelegramThreadSpec, T as normalizeDmAllowFromWithStore, _ as resolveTelegramForumThreadId, a as buildSenderLabel, b as resolveTelegramReplyId, c as buildTelegramGroupPeerId, d as buildTypingThreadParams, f as describeReplyTarget, g as normalizeForwardedContext, h as hasBotMention, i as buildGroupLabel, l as buildTelegramParentPeer, m as extractTelegramLocation, o as buildSenderName, p as expandTextLinks, s as buildTelegramGroupFrom, u as buildTelegramThreadParams, v as resolveTelegramGroupAllowFromContext, w as normalizeAllowFrom, x as resolveTelegramStreamMode, y as resolveTelegramMediaPlaceholder } from "./wsl-By1Mc-oS.js";
|
|
26
|
+
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-CprpGco9.js";
|
|
27
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CZuCyS7k.js";
|
|
28
28
|
import "./tailscale-status-ClsquRGs.js";
|
|
29
29
|
import { a as resolveAckReaction, n as createReplyPrefixOptions } from "./reply-prefix-Bqzm6DC1.js";
|
|
30
30
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -32,39 +32,39 @@ import "./device-pairing-D2Yq-_U6.js";
|
|
|
32
32
|
import "./pairing-token-N_6Jbt1L.js";
|
|
33
33
|
import { c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, l as logWebhookProcessed, m as isDiagnosticsEnabled, u as logWebhookReceived } from "./diagnostic-Dfn1iERm.js";
|
|
34
34
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
35
|
-
import "./optional-runtime-dependency-
|
|
36
|
-
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-
|
|
37
|
-
import "./wallet-status-
|
|
38
|
-
import "./pi-model-discovery-
|
|
39
|
-
import "./runtime-dependency-
|
|
35
|
+
import "./optional-runtime-dependency-BFpqaCzp.js";
|
|
36
|
+
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-BnOmQA5d.js";
|
|
37
|
+
import "./wallet-status-Coekn_SJ.js";
|
|
38
|
+
import "./pi-model-discovery-BQ6fFRBA.js";
|
|
39
|
+
import "./runtime-dependency-Cvbs0GXf.js";
|
|
40
40
|
import "./ws-CocpWGhl.js";
|
|
41
41
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
42
42
|
import "./fs-safe-BG-VzVkL.js";
|
|
43
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
44
|
-
import { a as fetchRemoteMedia, i as MediaFetchError, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-
|
|
45
|
-
import "./send-
|
|
46
|
-
import { a as saveMediaBuffer } from "./outbound-attachment-
|
|
43
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-B84dPWNG.js";
|
|
44
|
+
import { a as fetchRemoteMedia, i as MediaFetchError, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-4daDcNER.js";
|
|
45
|
+
import "./send-B_-UtG9F.js";
|
|
46
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-DvcxPP7b.js";
|
|
47
47
|
import "./fetch-Cu-ahkie.js";
|
|
48
|
-
import "./thread-bindings.state-
|
|
48
|
+
import "./thread-bindings.state-BNWfHA0f.js";
|
|
49
49
|
import "./memory-search-C3C0bD2H.js";
|
|
50
|
-
import "./manager-
|
|
50
|
+
import "./manager-CHYhpKHn.js";
|
|
51
51
|
import "./query-expansion-Zr9qQixm.js";
|
|
52
|
-
import "./common-
|
|
53
|
-
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-
|
|
54
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
52
|
+
import "./common-LMHJe8KW.js";
|
|
53
|
+
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-COIbIjGO.js";
|
|
54
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-BQL6TBIv.js";
|
|
55
55
|
import { t as finalizeInboundContext } from "./inbound-context-BFnIdcqI.js";
|
|
56
56
|
import "./directory-live-DatqU-eS.js";
|
|
57
|
-
import "./targets-
|
|
57
|
+
import "./targets-D8UaoWHd.js";
|
|
58
58
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
59
|
-
import { n as resolveAgentRoute } from "./resolve-route-
|
|
59
|
+
import { n as resolveAgentRoute } from "./resolve-route-CZFzHOIe.js";
|
|
60
60
|
import "./render-Bwu_WxwA.js";
|
|
61
|
-
import "./tables-
|
|
61
|
+
import "./tables-B-G7Bb0l.js";
|
|
62
62
|
import { n as recordChannelActivity } from "./channel-activity-Cg1xRoc2.js";
|
|
63
63
|
import "./shared-clhhbWN3.js";
|
|
64
|
-
import "./retry-policy-
|
|
65
|
-
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-
|
|
64
|
+
import "./retry-policy-BSdqqXsI.js";
|
|
65
|
+
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-DVpCBUuL.js";
|
|
66
66
|
import { t as makeProxyFetch } from "./proxy-7xs_rsnV.js";
|
|
67
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
67
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-BBZMp-oQ.js";
|
|
68
68
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-D4Tb_iS_.js";
|
|
69
69
|
import path from "node:path";
|
|
70
70
|
import os from "node:os";
|
|
@@ -2048,7 +2048,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2048
2048
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2049
2049
|
let preflightTranscript;
|
|
2050
2050
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2051
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2051
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-4faayz5S.js");
|
|
2052
2052
|
preflightTranscript = await transcribeFirstAudio({
|
|
2053
2053
|
ctx: {
|
|
2054
2054
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|