@fased/fased 0.1.51 → 0.1.53
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/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/control-ui/assets/{app-wJm5kuje.js → app-WIDYwhr-.js} +1764 -1759
- package/dist/control-ui/assets/{chat-model-ref-Cs2TTOtF.js → chat-model-ref-NT82zapt.js} +2 -2
- package/dist/control-ui/assets/{index-vTDTf5Zv.js → index-K3ysLeTN.js} +3 -3
- package/dist/control-ui/assets/{providers-C0DEXi8e.js → providers-rQMhp1fb.js} +2 -11
- package/dist/control-ui/index.html +1 -1
- package/dist/light-update-status.js +1 -1
- package/dist/plugin-sdk/{accounts-BfdIB9Ud.js → accounts-BZrfqJmO.js} +1 -1
- package/dist/plugin-sdk/{actions-DHN_x97P.js → actions-7_zTh8zC.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CIP_Ht8d.js → active-listener-D8NVRD8J.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CKGhXtyV.js → audio-preflight-BrVWUkoP.js} +26 -26
- package/dist/plugin-sdk/{audit-Cmg38KPG.js → audit-2iRlVyQF.js} +1 -1
- package/dist/plugin-sdk/{channel-access-JHDguu4T.js → channel-access-BCf1rJsn.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-B8mwKp-Z.js → channel-access-configure-B-Z51Qsd.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-oJRyTNTL.js → chunk-BREC9ijl.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-iKdlZyWZ.js → chunk-items-BLRCltGL.js} +1 -1
- package/dist/plugin-sdk/command-status.js +26 -26
- package/dist/plugin-sdk/{commands-registry-Cjo7OjIf.js → commands-registry-D3-bFLsz.js} +2 -2
- package/dist/plugin-sdk/{common-Dx4sUa9f.js → common-BlqMqEqn.js} +1 -1
- package/dist/plugin-sdk/{config-DdS0zHiU.js → config-442EDe7Z.js} +2 -10
- package/dist/plugin-sdk/{config-schema-BJQEjMPz.js → config-schema-DV0zctd2.js} +60 -60
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +3 -3
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/{handle-action-wR0x9b0c.js → handle-action-pNaP87Dr.js} +13 -13
- package/dist/plugin-sdk/{helpers-DkauqZNP.js → helpers-B994qqVW.js} +1 -1
- package/dist/plugin-sdk/{image-ops-DmSjpAeh.js → image-ops-Doq8nZQw.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +4 -4
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/{login-DB9LIbi8.js → login-CK2zTIJA.js} +3 -3
- package/dist/plugin-sdk/{login-qr-CDhMa-c7.js → login-qr-u8Mn1mCp.js} +3 -3
- package/dist/plugin-sdk/{manager-DGZsMQWR.js → manager-CeJNf2bH.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-BX7JXDUV.js → markdown-tables-DeZztrY6.js} +1 -1
- package/dist/plugin-sdk/{media-DyzsScOp.js → media-CgUAEfhs.js} +2 -2
- package/dist/plugin-sdk/{monitor-BH9rTJFq.js → monitor-CEtMJuFX.js} +30 -30
- package/dist/plugin-sdk/{monitor-B91PZ2mD.js → monitor-D-APtCpn.js} +31 -31
- package/dist/plugin-sdk/{openresponses-http-CmBLZ9bH.js → openresponses-http-g1Iz0xB2.js} +26 -26
- package/dist/plugin-sdk/{optional-runtime-dependency-DaMkPVe_.js → optional-runtime-dependency-D0BdXz1C.js} +1 -1
- package/dist/plugin-sdk/{outbound-X-m2mBZn.js → outbound-DXGuFrdx.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-M0NCUSG-.js → outbound-attachment-oxhGO33g.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-hnmpJlW2.js → pairing-message-C29ixrvn.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-BaQiXKLE.d.ts → pairing-message-D3WPVg_j.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-DyghUm9G.js → pairing-store-1kcsOWRs.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-ReorOh7W.js → pi-model-discovery-l-xqaEd0.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-C-CHZo03.js → pi-model-discovery-runtime-CibV8F8G.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-D_gli3_r.js → pw-ai-9qEBW5-k.js} +3 -3
- package/dist/plugin-sdk/{replies-Djyehmcu.js → replies-BX3L8fX7.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-Chznq8rS.js → resolve-outbound-target-D0AK10E7.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-Ce08Fx-G.js → resolve-route-UO6XLYH3.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-eS25atAo.js → retry-policy-C5N8JiHL.js} +1 -1
- package/dist/plugin-sdk/{runtime-Cv3gX3Wc.js → runtime-Dnzwux3G.js} +3 -3
- package/dist/plugin-sdk/{runtime-dependency-p_iKbESf.js → runtime-dependency-BDDpVKBO.js} +2 -2
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-B3RAELvw.js → send-B4XLsTL0.js} +6 -6
- package/dist/plugin-sdk/{send-CSob7dn9.js → send-D5rgCP1r.js} +6 -6
- package/dist/plugin-sdk/{send-C-jaxZJG.js → send-DGEgo_6f.js} +5 -5
- package/dist/plugin-sdk/{send-CsLJsIvv.js → send-DcsYRH2f.js} +7 -7
- package/dist/plugin-sdk/{send-BuPGxx3-.js → send-bcKv8F5E.js} +8 -8
- package/dist/plugin-sdk/{session-DKJGakm1.js → session-BoGNOlwv.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-BqpZG5nW.js → skill-commands-Be8s4TGQ.js} +2 -2
- package/dist/plugin-sdk/{slack-CQqN9uBH.js → slack-74qForpW.js} +38 -38
- package/dist/plugin-sdk/{slack-actions-DlbVH5SS.js → slack-actions-TNnAXiUx.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +3 -3
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-CDyt2ZMh.js → sticker-cache-CrYayLff.js} +3 -3
- package/dist/plugin-sdk/{tables-Cij4iAXw.js → tables-Ch4js2qy.js} +1 -1
- package/dist/plugin-sdk/{targets-VrYeAmeT.js → targets-BGfRUJPE.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-ZwUBOkwa.js → telegram-actions-BGy4AEvF.js} +29 -29
- package/dist/plugin-sdk/telegram.d.ts +3 -3
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-BWIzwpPM.js → thread-bindings.lifecycle-_uQ2EF17.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-CpAQrGco.js → thread-bindings.state-DUg0s_1X.js} +2 -2
- package/dist/plugin-sdk/{tmp-fased-dir-DLba1ePP.d.ts → tmp-fased-dir-BrbXGSkl.d.ts} +1 -1
- package/dist/plugin-sdk/{types-CKR2Lvsa.d.ts → types-BJdDoTQF.d.ts} +1 -1
- package/dist/plugin-sdk/{types-NR-f-rw-.d.ts → types-DlKIHIqA.d.ts} +2 -2
- package/dist/plugin-sdk/{wallet-status-ClmXigGN.js → wallet-status-M6aK3abH.js} +3 -3
- package/dist/plugin-sdk/{web-BK2j9z6c.js → web-r1KFR44s.js} +31 -31
- package/dist/plugin-sdk/{whatsapp-actions-CaenMy79.js → whatsapp-actions-CID_tqAX.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-Cr9K5Sil.js → whatsapp-heartbeat-Bk-aZVMa.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-D_I-iL4U.js → wsl-C_STtED7.js} +3 -3
- package/dist/providers/registry.js +2 -10
- 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/package.json +1 -1
|
@@ -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-BJdDoTQF.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-DlKIHIqA.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-D3WPVg_j.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
10
|
import { a as SignalConfigSchema, i as MSTeamsConfigSchema, n as GoogleChatConfigSchema, r as IMessageConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
11
|
-
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-
|
|
11
|
+
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-BrbXGSkl.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";
|
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-DV0zctd2.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-Dnzwux3G.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, Dr as isTruthyEnvValue, 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, d as GoogleChatConfigSchema, f as IMessageConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, mr as formatErrorMessage, p as MSTeamsConfigSchema, z as requireOpenAllowFrom } from "./config-
|
|
7
|
+
import { A as GroupPolicySchema, D as BlockStreamingCoalesceSchema, Dr as isTruthyEnvValue, 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, d as GoogleChatConfigSchema, f as IMessageConfigSchema, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, mr as formatErrorMessage, p as MSTeamsConfigSchema, z as requireOpenAllowFrom } from "./config-442EDe7Z.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-BZrfqJmO.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-C29ixrvn.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-D5rgCP1r.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-B994qqVW.js";
|
|
27
|
+
import { D as formatLocationText, O as toLocationContext, n as isWSLEnv, r as isWSLSync, t as isWSL2Sync } from "./wsl-C_STtED7.js";
|
|
28
|
+
import { o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-1kcsOWRs.js";
|
|
29
|
+
import "./chunk-BREC9ijl.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-D0BdXz1C.js";
|
|
38
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-Doq8nZQw.js";
|
|
39
|
+
import { C as resolveFederationHandle, S as resolveFederationBaseUrl, b as normalizeHandle, x as resolveAgentPublicOrigin, y as DEFAULT_FEDERATION_BASE_URL } from "./wallet-status-M6aK3abH.js";
|
|
40
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
41
|
+
import "./runtime-dependency-BDDpVKBO.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-DeZztrY6.js";
|
|
46
|
+
import { n as loadWebMedia } from "./media-CgUAEfhs.js";
|
|
47
|
+
import "./send-B4XLsTL0.js";
|
|
48
|
+
import { r as extractOriginalFilename } from "./outbound-attachment-oxhGO33g.js";
|
|
49
49
|
import "./fetch-Cu-ahkie.js";
|
|
50
|
-
import "./thread-bindings.state-
|
|
50
|
+
import "./thread-bindings.state-DUg0s_1X.js";
|
|
51
51
|
import "./memory-search-C3C0bD2H.js";
|
|
52
|
-
import "./manager-
|
|
52
|
+
import "./manager-CeJNf2bH.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-BlqMqEqn.js";
|
|
55
|
+
import "./commands-registry-D3-bFLsz.js";
|
|
56
|
+
import "./skill-commands-Be8s4TGQ.js";
|
|
57
57
|
import "./directory-live-DatqU-eS.js";
|
|
58
|
-
import "./targets-
|
|
58
|
+
import "./targets-BGfRUJPE.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-UO6XLYH3.js";
|
|
62
62
|
import "./render-Bwu_WxwA.js";
|
|
63
|
-
import "./tables-
|
|
64
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
63
|
+
import "./tables-Ch4js2qy.js";
|
|
64
|
+
import { t as promptChannelAccessConfig } from "./channel-access-BCf1rJsn.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 { Tr as formatCliCommand, n as loadConfig } from "./config-
|
|
4
|
+
import { Tr as formatCliCommand, n as loadConfig } from "./config-442EDe7Z.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-BZrfqJmO.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-BoGNOlwv.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-442EDe7Z.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-BZrfqJmO.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-BoGNOlwv.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 { Dr as isTruthyEnvValue, Kt as normalizeProviderId, cn as resolveApiKeyForProvider, mr as formatErrorMessage, sn as requireApiKey } from "./config-
|
|
4
|
+
import { Dr as isTruthyEnvValue, Kt as normalizeProviderId, cn as resolveApiKeyForProvider, mr as formatErrorMessage, sn as requireApiKey } from "./config-442EDe7Z.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-D0BdXz1C.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-Dnzwux3G.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-BREC9ijl.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-Doq8nZQw.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-DV0zctd2.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-Dnzwux3G.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, hr as formatUncaughtError, mr as formatErrorMessage, n as loadConfig, s as writeConfigFile, v as normalizeTelegramCommandName, y as resolveTelegramCustomCommands } from "./config-
|
|
7
|
+
import { Lt as resolveAgentMaxConcurrent, Yt as resolveDefaultModelForAgent, _ as TELEGRAM_COMMAND_NAME_PATTERN, hr as formatUncaughtError, mr as formatErrorMessage, n as loadConfig, s as writeConfigFile, v as normalizeTelegramCommandName, y as resolveTelegramCustomCommands } from "./config-442EDe7Z.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-BZrfqJmO.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-D5rgCP1r.js";
|
|
24
|
+
import { j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-B994qqVW.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-C_STtED7.js";
|
|
26
|
+
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-1kcsOWRs.js";
|
|
27
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BREC9ijl.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-D0BdXz1C.js";
|
|
36
|
+
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-Doq8nZQw.js";
|
|
37
|
+
import "./wallet-status-M6aK3abH.js";
|
|
38
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
39
|
+
import "./runtime-dependency-BDDpVKBO.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-DeZztrY6.js";
|
|
44
|
+
import { a as fetchRemoteMedia, i as MediaFetchError, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-CgUAEfhs.js";
|
|
45
|
+
import "./send-B4XLsTL0.js";
|
|
46
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-oxhGO33g.js";
|
|
47
47
|
import "./fetch-Cu-ahkie.js";
|
|
48
|
-
import "./thread-bindings.state-
|
|
48
|
+
import "./thread-bindings.state-DUg0s_1X.js";
|
|
49
49
|
import "./memory-search-C3C0bD2H.js";
|
|
50
|
-
import "./manager-
|
|
50
|
+
import "./manager-CeJNf2bH.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-BlqMqEqn.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-D3-bFLsz.js";
|
|
54
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Be8s4TGQ.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-BGfRUJPE.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-UO6XLYH3.js";
|
|
60
60
|
import "./render-Bwu_WxwA.js";
|
|
61
|
-
import "./tables-
|
|
61
|
+
import "./tables-Ch4js2qy.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-C5N8JiHL.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-DcsYRH2f.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-CrYayLff.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-BrVWUkoP.js");
|
|
2052
2052
|
preflightTranscript = await transcribeFirstAudio({
|
|
2053
2053
|
ctx: {
|
|
2054
2054
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as clearHistoryEntriesIfEnabled, G as logTypingFailure, Gn as textToSpeech, Gt as createMediaAttachmentCache, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, K as buildPairingReply, Kn as parseTtsDirectives, Kt as normalizeMediaAttachments, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Pr as resolveDmGroupAccessWithLists, R as resolveMentionGatingWithBypass, U as logAckFailure, Un as resolveAgentAvatar, Vt as formatDurationSeconds, W as logInboundDrop, Wn as resolveTtsConfig, Wt as buildProviderRegistry, Yt as runCapability, Z as buildPendingHistoryContextFromMap, _n as stripReasoningTagsFromText, _t as EmbeddedBlockChunker, at as shouldAckReaction, bt as buildModelsProviderData, c as addAllowlistUserEntriesFromConfigEntry, ct as dispatchReplyWithDispatcher, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, j as agentCommand, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, s as buildMediaPayload, st as dispatchReplyWithBufferedBlockDispatcher, u as canonicalizeAllowlistWithResolvedIds, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled, yt as resolveStoredModelOverride } 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 clearHistoryEntriesIfEnabled, G as logTypingFailure, Gn as textToSpeech, Gt as createMediaAttachmentCache, Ht as enqueueSystemEvent, I as createTypingCallbacks, Ir as resolveCommandAuthorizedFromAuthorizers, K as buildPairingReply, Kn as parseTtsDirectives, Kt as normalizeMediaAttachments, Lr as resolveControlCommandGate, Mr as readStoreAllowFromForDmPolicy, Pr as resolveDmGroupAccessWithLists, R as resolveMentionGatingWithBypass, U as logAckFailure, Un as resolveAgentAvatar, Vt as formatDurationSeconds, W as logInboundDrop, Wn as resolveTtsConfig, Wt as buildProviderRegistry, Yt as runCapability, Z as buildPendingHistoryContextFromMap, _n as stripReasoningTagsFromText, _t as EmbeddedBlockChunker, at as shouldAckReaction, bt as buildModelsProviderData, c as addAllowlistUserEntriesFromConfigEntry, ct as dispatchReplyWithDispatcher, dt as resolveInboundDebounceMs, f as patchAllowlistUsersInConfigEntries, fn as buildMentionRegexes, ft as formatInboundEnvelope, gt as createReplyDispatcherWithTyping, ht as dispatchInboundMessage, j as agentCommand, l as buildAllowlistResolutionSummary, ln as hasControlCommand, mt as resolveEnvelopeFormatOptions, nt as recordPendingHistoryEntryIfEnabled, p as summarizeMapping, pn as matchesMentionWithExplicit, ri as formatAllowlistMatchMeta, rt as recordInboundSession, s as buildMediaPayload, st as dispatchReplyWithBufferedBlockDispatcher, u as canonicalizeAllowlistWithResolvedIds, ut as createInboundDebouncer, x as isDangerousNameMatchingEnabled, yt as resolveStoredModelOverride } from "./config-schema-DV0zctd2.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-Dnzwux3G.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";
|
|
6
6
|
import { S as truncateUtf16Safe } from "./utils-CYk9EKoq.js";
|
|
7
|
-
import { Fn as withFileLock, Kt as normalizeProviderId, Mt as resolveDiscordPreviewStreamMode, mr as formatErrorMessage, n as loadConfig } from "./config-
|
|
7
|
+
import { Fn as withFileLock, Kt as normalizeProviderId, Mt as resolveDiscordPreviewStreamMode, mr as formatErrorMessage, n as loadConfig } from "./config-442EDe7Z.js";
|
|
8
8
|
import { a as resolveAgentDir } from "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import { n as resolveAccountEntry } from "./account-helpers-Bdfws46K.js";
|
|
10
10
|
import { f as DEFAULT_ACCOUNT_ID, l as resolveAgentIdFromSessionKey, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-HSJ2KQTc.js";
|
|
@@ -13,7 +13,7 @@ import { t as normalizeDiscordToken } from "./token-D4-H0ByG.js";
|
|
|
13
13
|
import "./accounts-CuqIKU8X.js";
|
|
14
14
|
import { n as logError, t as logDebug } from "./logger-BbFvCoKk.js";
|
|
15
15
|
import "./exec-DQ8j4Fm3.js";
|
|
16
|
-
import "./accounts-
|
|
16
|
+
import "./accounts-BZrfqJmO.js";
|
|
17
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-BYeKk0Sy.js";
|
|
18
18
|
import { i as compileSafeRegex } from "./redact-Bm8vu_ju.js";
|
|
19
19
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -22,11 +22,11 @@ import { l as resolveStorePath } from "./paths-CTZ2RS_E.js";
|
|
|
22
22
|
import "./ip-C70a-YlD.js";
|
|
23
23
|
import "./ssrf-BZG8Ztod.js";
|
|
24
24
|
import "./fetch-guard-BuYrl6q2.js";
|
|
25
|
-
import "./send-
|
|
26
|
-
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, O as GROUP_POLICY_BLOCKED_LABEL, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-
|
|
27
|
-
import "./wsl-
|
|
28
|
-
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-
|
|
29
|
-
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-
|
|
25
|
+
import "./send-D5rgCP1r.js";
|
|
26
|
+
import { A as resolveDefaultGroupPolicy, M as warnMissingProviderGroupPolicyFallbackOnce, O as GROUP_POLICY_BLOCKED_LABEL, j as resolveOpenProviderRuntimeGroupPolicy } from "./helpers-B994qqVW.js";
|
|
27
|
+
import "./wsl-C_STtED7.js";
|
|
28
|
+
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-1kcsOWRs.js";
|
|
29
|
+
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-BREC9ijl.js";
|
|
30
30
|
import "./tailscale-status-ClsquRGs.js";
|
|
31
31
|
import { a as resolveAckReaction, c as resolveHumanDelayConfig, n as createReplyPrefixOptions } from "./reply-prefix-Bqzm6DC1.js";
|
|
32
32
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -34,43 +34,43 @@ import "./device-pairing-D2Yq-_U6.js";
|
|
|
34
34
|
import "./pairing-token-N_6Jbt1L.js";
|
|
35
35
|
import "./diagnostic-Dfn1iERm.js";
|
|
36
36
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
37
|
-
import "./optional-runtime-dependency-
|
|
38
|
-
import "./image-ops-
|
|
39
|
-
import { mt as GatewayClient, st as buildGatewayConnectionDetails } from "./wallet-status-
|
|
40
|
-
import "./pi-model-discovery-
|
|
41
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./optional-runtime-dependency-D0BdXz1C.js";
|
|
38
|
+
import "./image-ops-Doq8nZQw.js";
|
|
39
|
+
import { mt as GatewayClient, st as buildGatewayConnectionDetails } from "./wallet-status-M6aK3abH.js";
|
|
40
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
41
|
+
import "./runtime-dependency-BDDpVKBO.js";
|
|
42
42
|
import "./ws-CocpWGhl.js";
|
|
43
43
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
44
44
|
import "./fs-safe-BG-VzVkL.js";
|
|
45
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
46
|
-
import { a as fetchRemoteMedia, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-
|
|
47
|
-
import "./send-
|
|
48
|
-
import { a as saveMediaBuffer } from "./outbound-attachment-
|
|
45
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DeZztrY6.js";
|
|
46
|
+
import { a as fetchRemoteMedia, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-CgUAEfhs.js";
|
|
47
|
+
import "./send-B4XLsTL0.js";
|
|
48
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-oxhGO33g.js";
|
|
49
49
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-Cu-ahkie.js";
|
|
50
|
-
import { N as formatThreadBindingDurationLabel, u as isRecentlyUnboundThreadWebhookMessage, z as getSessionBindingService } from "./thread-bindings.state-
|
|
50
|
+
import { N as formatThreadBindingDurationLabel, u as isRecentlyUnboundThreadWebhookMessage, z as getSessionBindingService } from "./thread-bindings.state-DUg0s_1X.js";
|
|
51
51
|
import "./memory-search-C3C0bD2H.js";
|
|
52
|
-
import "./manager-
|
|
52
|
+
import "./manager-CeJNf2bH.js";
|
|
53
53
|
import "./query-expansion-Zr9qQixm.js";
|
|
54
|
-
import "./common-
|
|
55
|
-
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-
|
|
56
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
54
|
+
import "./common-BlqMqEqn.js";
|
|
55
|
+
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-D3-bFLsz.js";
|
|
56
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Be8s4TGQ.js";
|
|
57
57
|
import { t as finalizeInboundContext } from "./inbound-context-BFnIdcqI.js";
|
|
58
58
|
import "./directory-live-DatqU-eS.js";
|
|
59
|
-
import "./targets-
|
|
59
|
+
import "./targets-BGfRUJPE.js";
|
|
60
60
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-UO6XLYH3.js";
|
|
62
62
|
import "./render-Bwu_WxwA.js";
|
|
63
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
63
|
+
import { t as convertMarkdownTables } from "./tables-Ch4js2qy.js";
|
|
64
64
|
import { n as recordChannelActivity } from "./channel-activity-Cg1xRoc2.js";
|
|
65
65
|
import { t as withTimeout } from "./with-timeout-BYrRAYFV.js";
|
|
66
66
|
import "./shared-clhhbWN3.js";
|
|
67
|
-
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-
|
|
68
|
-
import { t as createDiscordRetryRunner } from "./retry-policy-
|
|
69
|
-
import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnStartup, s as createThreadBindingManager } from "./thread-bindings.lifecycle-
|
|
67
|
+
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-bcKv8F5E.js";
|
|
68
|
+
import { t as createDiscordRetryRunner } from "./retry-policy-C5N8JiHL.js";
|
|
69
|
+
import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnStartup, s as createThreadBindingManager } from "./thread-bindings.lifecycle-_uQ2EF17.js";
|
|
70
70
|
import { a as setPresence, n as registerGateway, r as unregisterGateway } from "./gateway-registry-DFsoY6C0.js";
|
|
71
71
|
import { t as createReplyReferencePlanner } from "./reply-reference-BkbK_DWT.js";
|
|
72
72
|
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-D4Tb_iS_.js";
|
|
73
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
73
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-BLRCltGL.js";
|
|
74
74
|
import { t as fetchDiscordApplicationId } from "./probe-Dlk0Jxpw.js";
|
|
75
75
|
import { t as DiscordUiContainer } from "./ui-e020ouhJ.js";
|
|
76
76
|
import "./guilds-BeT3iHHJ.js";
|
|
@@ -1401,7 +1401,7 @@ async function preflightDiscordMessage(params) {
|
|
|
1401
1401
|
let preflightTranscript;
|
|
1402
1402
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
1403
1403
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
1404
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
1404
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-BrVWUkoP.js");
|
|
1405
1405
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
1406
1406
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
1407
1407
|
ctx: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $t as DEFAULT_INPUT_IMAGE_MIMES, A as resolveAssistantStreamDeltaText, An as writeDone, Dn as resolveSessionKey, En as resolveAgentIdForRequest, O as handleGatewayPostJsonEndpoint, On as sendJson, Qt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tn as createDefaultDeps, an as resolveInputFileLimits, bn as emitAgentEvent, en as DEFAULT_INPUT_MAX_REDIRECTS, in as normalizeMimeList, j as agentCommand, k as buildAgentMessageFromConversationEntries, kn as setSseHeaders, nn as extractFileContentFromSource, rn as extractImageContentFromSource, tn as DEFAULT_INPUT_TIMEOUT_MS, xn as onAgentEvent } from "./config-schema-
|
|
2
|
-
import "./runtime-
|
|
1
|
+
import { $t as DEFAULT_INPUT_IMAGE_MIMES, A as resolveAssistantStreamDeltaText, An as writeDone, Dn as resolveSessionKey, En as resolveAgentIdForRequest, O as handleGatewayPostJsonEndpoint, On as sendJson, Qt as DEFAULT_INPUT_IMAGE_MAX_BYTES, Tn as createDefaultDeps, an as resolveInputFileLimits, bn as emitAgentEvent, en as DEFAULT_INPUT_MAX_REDIRECTS, in as normalizeMimeList, j as agentCommand, k as buildAgentMessageFromConversationEntries, kn as setSseHeaders, nn as extractFileContentFromSource, rn as extractImageContentFromSource, tn as DEFAULT_INPUT_TIMEOUT_MS, xn as onAgentEvent } from "./config-schema-DV0zctd2.js";
|
|
2
|
+
import "./runtime-Dnzwux3G.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
5
5
|
import "./paths-BEmvSyOV.js";
|
|
6
6
|
import "./utils-CYk9EKoq.js";
|
|
7
|
-
import "./config-
|
|
7
|
+
import "./config-442EDe7Z.js";
|
|
8
8
|
import "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import { i as logWarn } from "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BZrfqJmO.js";
|
|
14
14
|
import "./allow-list-BYeKk0Sy.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
@@ -19,11 +19,11 @@ import "./paths-CTZ2RS_E.js";
|
|
|
19
19
|
import "./ip-C70a-YlD.js";
|
|
20
20
|
import "./ssrf-BZG8Ztod.js";
|
|
21
21
|
import "./fetch-guard-BuYrl6q2.js";
|
|
22
|
-
import "./send-
|
|
23
|
-
import "./helpers-
|
|
24
|
-
import "./wsl-
|
|
25
|
-
import "./pairing-store-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
import "./send-D5rgCP1r.js";
|
|
23
|
+
import "./helpers-B994qqVW.js";
|
|
24
|
+
import "./wsl-C_STtED7.js";
|
|
25
|
+
import "./pairing-store-1kcsOWRs.js";
|
|
26
|
+
import "./chunk-BREC9ijl.js";
|
|
27
27
|
import "./tailscale-status-ClsquRGs.js";
|
|
28
28
|
import "./reply-prefix-Bqzm6DC1.js";
|
|
29
29
|
import "./tokens-BvtlOzVP.js";
|
|
@@ -31,32 +31,32 @@ import "./device-pairing-D2Yq-_U6.js";
|
|
|
31
31
|
import "./pairing-token-N_6Jbt1L.js";
|
|
32
32
|
import "./diagnostic-Dfn1iERm.js";
|
|
33
33
|
import "./diagnostic-session-state-HO94DMou.js";
|
|
34
|
-
import "./optional-runtime-dependency-
|
|
35
|
-
import "./image-ops-
|
|
36
|
-
import "./wallet-status-
|
|
37
|
-
import "./pi-model-discovery-
|
|
38
|
-
import "./runtime-dependency-
|
|
34
|
+
import "./optional-runtime-dependency-D0BdXz1C.js";
|
|
35
|
+
import "./image-ops-Doq8nZQw.js";
|
|
36
|
+
import "./wallet-status-M6aK3abH.js";
|
|
37
|
+
import "./pi-model-discovery-l-xqaEd0.js";
|
|
38
|
+
import "./runtime-dependency-BDDpVKBO.js";
|
|
39
39
|
import "./ws-CocpWGhl.js";
|
|
40
40
|
import "./path-alias-guards-Dg3gU-MA.js";
|
|
41
41
|
import "./fs-safe-BG-VzVkL.js";
|
|
42
|
-
import "./markdown-tables-
|
|
43
|
-
import "./media-
|
|
44
|
-
import "./send-
|
|
45
|
-
import "./outbound-attachment-
|
|
42
|
+
import "./markdown-tables-DeZztrY6.js";
|
|
43
|
+
import "./media-CgUAEfhs.js";
|
|
44
|
+
import "./send-B4XLsTL0.js";
|
|
45
|
+
import "./outbound-attachment-oxhGO33g.js";
|
|
46
46
|
import "./fetch-Cu-ahkie.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-DUg0s_1X.js";
|
|
48
48
|
import "./memory-search-C3C0bD2H.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-CeJNf2bH.js";
|
|
50
50
|
import "./query-expansion-Zr9qQixm.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
import "./commands-registry-
|
|
53
|
-
import "./skill-commands-
|
|
51
|
+
import "./common-BlqMqEqn.js";
|
|
52
|
+
import "./commands-registry-D3-bFLsz.js";
|
|
53
|
+
import "./skill-commands-Be8s4TGQ.js";
|
|
54
54
|
import "./directory-live-DatqU-eS.js";
|
|
55
|
-
import "./targets-
|
|
55
|
+
import "./targets-BGfRUJPE.js";
|
|
56
56
|
import "./sandbox-paths-lj7_EVuA.js";
|
|
57
|
-
import "./resolve-route-
|
|
57
|
+
import "./resolve-route-UO6XLYH3.js";
|
|
58
58
|
import "./render-Bwu_WxwA.js";
|
|
59
|
-
import "./tables-
|
|
59
|
+
import "./tables-Ch4js2qy.js";
|
|
60
60
|
import "./shared-clhhbWN3.js";
|
|
61
61
|
import { randomUUID } from "node:crypto";
|
|
62
62
|
import { z } from "zod";
|