@fased/fased 0.1.44 → 0.1.46
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/daemon/systemd-system.js +5 -5
- package/dist/daemon/systemd-unit.js +1 -1
- package/dist/light-update-status.js +1 -1
- package/dist/plugin-sdk/{accounts-Bz_2QZSt.js → accounts-DoZdNyoY.js} +1 -1
- package/dist/plugin-sdk/{actions-CysoQjk1.js → actions-Cuc5luN8.js} +2 -2
- package/dist/plugin-sdk/{active-listener-C5ALSs7Y.js → active-listener-Bj8f1upQ.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DEoblcsk.js → audio-preflight-02OYHVMR.js} +25 -25
- package/dist/plugin-sdk/{audit-BFnu5TVB.js → audit-D_Kb-kIQ.js} +1 -1
- package/dist/plugin-sdk/{channel-access-BiWxa3LR.js → channel-access-I3pe5AGo.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-gJvqbbXB.js → channel-access-configure-CgPf_K08.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-CuJIMshx.js → chunk-BezNQ2ms.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-ClDXjhOb.js → chunk-items-CfOSVg-A.js} +1 -1
- package/dist/plugin-sdk/command-status.js +25 -25
- package/dist/plugin-sdk/{commands-registry-DwQIFJmL.js → commands-registry-CFhJ8pUg.js} +2 -2
- package/dist/plugin-sdk/{common-C90EHP1w.js → common-DBwy4zpd.js} +1 -1
- package/dist/plugin-sdk/{config-DKNrb8oT.js → config-DHDPT24D.js} +1 -0
- 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-DkfMckah.js → handle-action-De9_BMM9.js} +13 -13
- package/dist/plugin-sdk/{helpers-C1pcZJsv.js → helpers-BEIzSOp1.js} +1 -1
- package/dist/plugin-sdk/{image-ops-BSQmb-17.js → image-ops-Dj5U2UMr.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +20 -20
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/{login-YbYyMkkE.js → login-DXqhYXdm.js} +3 -3
- package/dist/plugin-sdk/{login-qr-DvJw8_2g.js → login-qr-3320RF3u.js} +3 -3
- package/dist/plugin-sdk/{manager-DQ1dH8OM.js → manager-gssr8OXa.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-DrB-IM8r.js → markdown-tables-BWPlKBlJ.js} +1 -1
- package/dist/plugin-sdk/{media-D8pWjqEt.js → media-DkIzq3KV.js} +2 -2
- package/dist/plugin-sdk/{monitor-CZ490e2-.js → monitor-CUy-o-xZ.js} +30 -30
- package/dist/plugin-sdk/{monitor-_2NRVtaY.js → monitor-DEWXcOl0.js} +29 -29
- package/dist/plugin-sdk/{openresponses-http-BEYlPTy3.js → openresponses-http-Cd3mZSdn.js} +25 -25
- package/dist/plugin-sdk/{optional-runtime-dependency-Bt_3Yigu.js → optional-runtime-dependency-DRIuSMGn.js} +1 -1
- package/dist/plugin-sdk/{outbound-B5ukMdUv.js → outbound-Dzyqev2x.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-C9oadpUP.js → outbound-attachment-DaAFYQmc.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-B787pcJI.js → pairing-message-Cma7gg4r.js} +1 -1
- package/dist/plugin-sdk/{pairing-message-6XVXW554.d.ts → pairing-message-DWXHX-jt.d.ts} +1 -1
- package/dist/plugin-sdk/{pairing-store-BdOcH_GA.js → pairing-store-Xfn7m8FO.js} +2 -2
- package/dist/plugin-sdk/{pi-embedded-runner-SkBGtJFB.js → pi-embedded-runner-r_J_Xhv9.js} +58 -58
- package/dist/plugin-sdk/{pi-model-discovery-DQdXL_-F.js → pi-model-discovery-CyBJpoHh.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-IwiWDCQ3.js → pi-model-discovery-runtime-BI9BIUxX.js} +2 -2
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-BFHYmEIx.js → pw-ai-BN0M5PNa.js} +3 -3
- package/dist/plugin-sdk/{replies-BPFt4O-j.js → replies-CWZ8Wh3v.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-BP_JscKT.js → resolve-outbound-target-XUMvbg29.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-wp5xq4Ws.js → resolve-route-DaIOKVVx.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-BTH89onl.js → retry-policy-CHtx8LYv.js} +1 -1
- package/dist/plugin-sdk/{runtime-dependency-B5Fut2tT.js → runtime-dependency-BoJ6eFyY.js} +2 -2
- package/dist/plugin-sdk/{runtime-BUpqjZNM.js → runtime-ptM6yJKi.js} +3 -3
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +5 -5
- package/dist/plugin-sdk/{send-DWB5HFdb.js → send-BMVtOmUX.js} +6 -6
- package/dist/plugin-sdk/{send-CRI83FPV.js → send-Bbmuq5OU.js} +7 -7
- package/dist/plugin-sdk/{send-DGUAXb2b.js → send-C_vcGOCA.js} +6 -6
- package/dist/plugin-sdk/{send-DUp9GIX8.js → send-CjwgOMFS.js} +5 -5
- package/dist/plugin-sdk/{send-zn5KBXIN.js → send-bQfJLpNY.js} +8 -8
- package/dist/plugin-sdk/{session-BLyxz03u.js → session-D-JrYrAm.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-DCnCOVR_.js → skill-commands-Dqr7X9q3.js} +2 -2
- package/dist/plugin-sdk/{slack--DAH0bKU.js → slack-BK4sFHMP.js} +37 -37
- package/dist/plugin-sdk/{slack-actions-Dwy-8Zg7.js → slack-actions-C97ocE17.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-CUnBcKME.js → sticker-cache-oLmDP9zb.js} +3 -3
- package/dist/plugin-sdk/{tables-DX84FwPB.js → tables-CeCs0Fx6.js} +1 -1
- package/dist/plugin-sdk/{targets-BgSHco9b.js → targets-CI7i2tSK.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-L7LDJqla.js → telegram-actions-Dc3_LrTb.js} +28 -28
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-DjpMLjhY.js → thread-bindings.lifecycle-BEiYGYlC.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-DYYR9qeT.js → thread-bindings.state-DFCnsoeW.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-D9UVH6k9.js → wallet-status-B9rwi_D9.js} +3 -3
- package/dist/plugin-sdk/{web-DMRFrK11.js → web-C9k3omL7.js} +30 -30
- package/dist/plugin-sdk/{whatsapp-actions-DISRDbu1.js → whatsapp-actions-DJgg1fZn.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-KM3lYpt-.js → whatsapp-heartbeat-DU_VCZWM.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +13 -13
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-Cw-xOsqF.js → wsl-DzFPHgJ6.js} +3 -3
- package/dist/plugin-sdk/{zod-schema.providers-core-FaYR6KdD.d.ts → zod-schema.providers-core-BEbNizPe.d.ts} +78 -78
- package/dist/plugins/config-state.js +1 -0
- 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 +6 -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 +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -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 +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -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-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-BEbNizPe.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<"
|
|
224
|
+
declare const BLUEBUBBLES_GROUP_ACTIONS: Set<"permissions" | "search" | "timeout" | "reactions" | "sticker" | "edit" | "unsend" | "reply" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "send" | "broadcast" | "poll" | "react" | "read" | "delete" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "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;
|
|
@@ -320,15 +320,15 @@ declare const DmConfigSchema: z.ZodObject<{
|
|
|
320
320
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
321
321
|
}, z.core.$strict>;
|
|
322
322
|
declare const GroupPolicySchema: z.ZodEnum<{
|
|
323
|
+
disabled: "disabled";
|
|
323
324
|
allowlist: "allowlist";
|
|
324
325
|
open: "open";
|
|
325
|
-
disabled: "disabled";
|
|
326
326
|
}>;
|
|
327
327
|
declare const DmPolicySchema: z.ZodEnum<{
|
|
328
|
-
|
|
328
|
+
disabled: "disabled";
|
|
329
329
|
allowlist: "allowlist";
|
|
330
330
|
open: "open";
|
|
331
|
-
|
|
331
|
+
pairing: "pairing";
|
|
332
332
|
}>;
|
|
333
333
|
declare const BlockStreamingCoalesceSchema: z.ZodObject<{
|
|
334
334
|
minChars: z.ZodOptional<z.ZodNumber>;
|
|
@@ -356,20 +356,20 @@ declare const ReplyRuntimeConfigSchemaShape: {
|
|
|
356
356
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
|
357
357
|
};
|
|
358
358
|
declare const MarkdownTableModeSchema: z.ZodEnum<{
|
|
359
|
+
code: "code";
|
|
359
360
|
off: "off";
|
|
360
361
|
bullets: "bullets";
|
|
361
|
-
code: "code";
|
|
362
362
|
}>;
|
|
363
363
|
declare const MarkdownConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
364
364
|
tables: z.ZodOptional<z.ZodEnum<{
|
|
365
|
+
code: "code";
|
|
365
366
|
off: "off";
|
|
366
367
|
bullets: "bullets";
|
|
367
|
-
code: "code";
|
|
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<{
|
|
@@ -2427,15 +2427,15 @@ declare const LineConfigSchema: z.ZodObject<{
|
|
|
2427
2427
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2428
2428
|
groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2429
2429
|
dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2430
|
-
|
|
2430
|
+
disabled: "disabled";
|
|
2431
2431
|
allowlist: "allowlist";
|
|
2432
2432
|
open: "open";
|
|
2433
|
-
|
|
2433
|
+
pairing: "pairing";
|
|
2434
2434
|
}>>>;
|
|
2435
2435
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2436
|
+
disabled: "disabled";
|
|
2436
2437
|
allowlist: "allowlist";
|
|
2437
2438
|
open: "open";
|
|
2438
|
-
disabled: "disabled";
|
|
2439
2439
|
}>>>;
|
|
2440
2440
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2441
2441
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2450,15 +2450,15 @@ declare const LineConfigSchema: z.ZodObject<{
|
|
|
2450
2450
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2451
2451
|
groupAllowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2452
2452
|
dmPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2453
|
-
|
|
2453
|
+
disabled: "disabled";
|
|
2454
2454
|
allowlist: "allowlist";
|
|
2455
2455
|
open: "open";
|
|
2456
|
-
|
|
2456
|
+
pairing: "pairing";
|
|
2457
2457
|
}>>>;
|
|
2458
2458
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2459
|
+
disabled: "disabled";
|
|
2459
2460
|
allowlist: "allowlist";
|
|
2460
2461
|
open: "open";
|
|
2461
|
-
disabled: "disabled";
|
|
2462
2462
|
}>>>;
|
|
2463
2463
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2464
2464
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { $n as resolveEffectiveAllowFromLists, A as clearHistoryEntriesIfEnabled, Cn as readJsonBodyWithLimit, Dn as resolveChannelMediaMaxBytes, E as DEFAULT_GROUP_HISTORY_LIMIT, F as removeAckReactionAfterReply, Fn as processLineMessage, Gn as createDedupeCache, Gt as stringEnum, Hn as DEFAULT_HEARTBEAT_EVERY, I as shouldAckReaction, In as stripMarkdown, Jn as withTempDownloadPath, L as shouldAckReactionForWhatsApp, Ln as createReceiptCard, M as recordPendingHistoryEntry, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, On as runFederationAutoConnectOnce, P as recordInboundSession, Pn as hasMarkdownToConvert, Qn as resolveDmGroupAccessWithLists, Rn as attachFooterText, S as detectBinary, Sn as isRequestBodyLimitError, Tn as requestBodyErrorToText, Tt as peekSystemEvents, Un as resolveHeartbeatPrompt, Vn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, W as formatInboundFromLabel, Wn as waitForAbortSignal, Wt as optionalStringEnum, Xn as readStoreAllowFromForDmPolicy, Yn as DM_GROUP_ACCESS_REASON, Zn as resolveDmGroupAccessWithCommandGate, _ as resolveDefaultLineAccountId, _t as getPluginToolMeta, ar as BLUEBUBBLES_ACTION_NAMES, at as createFasedAgentCodingTools, b as logInboundDrop, bn as RequestBodyLimitError, c as loadModelCatalog, cn as registerAcpRuntimeBackend, d as issuePairingChallenge, dn as AcpRuntimeError, en as resolveToolDisplay, f as createTypingCallbacks, g as normalizeAccountId$1, gt as getChannelAgentToolMeta, h as listLineAccountIds, ir as BLUEBUBBLES_ACTIONS, j as evictOldHistoryKeys, k as clearHistoryEntries, kn as startFederationAutoConnect, ln as unregisterAcpRuntimeBackend, m as resolveMentionGatingWithBypass, nr as assertOkOrThrowHttpError, o as resolveStrictAgenticRuntimeMode, on as getAcpSessionManager, or as BLUEBUBBLES_GROUP_ACTIONS, ot as resolveEffectiveToolPolicy, p as resolveMentionGating, qn as extractToolSend, rr as registerPluginHttpRoute, sn as getAcpRuntimeBackend, sr as CHANNEL_MESSAGE_ACTION_NAMES, t as runEmbeddedPiAgent, tr as resolveControlCommandGate, u as deriveModelMetadata, un as resolveRuntimeOptionsFromMeta, v as resolveLineAccount, vn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, vt as buildChannelSummary, wn as readRequestBodyWithLimit, x as logTypingFailure, xn as installRequestBodyLimitGuard, y as logAckFailure, yn as DEFAULT_WEBHOOK_MAX_BODY_BYTES } from "./pi-embedded-runner-
|
|
2
|
-
import { Bt as resolveBlueBubblesGroupRequireMention, Ft as trimMessagingTarget, Gn as getPluginCommandSpecs, Gt as resolveGoogleChatGroupToolPolicy, Kn as listPluginCommands, Kt as resolveIMessageGroupRequireMention, Ln as logMutatingAdminRpcAudit, Nn as getChatChannelMeta, Pt as looksLikeHandleOrPhoneTarget, Rn as consumeMutatingAdminRpcBudget, Rt as looksLikeSignalTargetId, Vn as authorizeOperatorScopesForMethod, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, at as resolveMainSessionKey, c as listAgentsForGateway, ct as listChannelPlugins, dn as resolveDefaultSignalAccountId, et as resolveFreshSessionTotalTokens, f as resolveContextTokensForModel, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, s as classifySessionKey, t as getActivePluginRegistry, u as resolveSessionModelRef, un as listSignalAccountIds, x as loadSessionStore, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-
|
|
1
|
+
import { $n as resolveEffectiveAllowFromLists, A as clearHistoryEntriesIfEnabled, Cn as readJsonBodyWithLimit, Dn as resolveChannelMediaMaxBytes, E as DEFAULT_GROUP_HISTORY_LIMIT, F as removeAckReactionAfterReply, Fn as processLineMessage, Gn as createDedupeCache, Gt as stringEnum, Hn as DEFAULT_HEARTBEAT_EVERY, I as shouldAckReaction, In as stripMarkdown, Jn as withTempDownloadPath, L as shouldAckReactionForWhatsApp, Ln as createReceiptCard, M as recordPendingHistoryEntry, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, On as runFederationAutoConnectOnce, P as recordInboundSession, Pn as hasMarkdownToConvert, Qn as resolveDmGroupAccessWithLists, Rn as attachFooterText, S as detectBinary, Sn as isRequestBodyLimitError, Tn as requestBodyErrorToText, Tt as peekSystemEvents, Un as resolveHeartbeatPrompt, Vn as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, W as formatInboundFromLabel, Wn as waitForAbortSignal, Wt as optionalStringEnum, Xn as readStoreAllowFromForDmPolicy, Yn as DM_GROUP_ACCESS_REASON, Zn as resolveDmGroupAccessWithCommandGate, _ as resolveDefaultLineAccountId, _t as getPluginToolMeta, ar as BLUEBUBBLES_ACTION_NAMES, at as createFasedAgentCodingTools, b as logInboundDrop, bn as RequestBodyLimitError, c as loadModelCatalog, cn as registerAcpRuntimeBackend, d as issuePairingChallenge, dn as AcpRuntimeError, en as resolveToolDisplay, f as createTypingCallbacks, g as normalizeAccountId$1, gt as getChannelAgentToolMeta, h as listLineAccountIds, ir as BLUEBUBBLES_ACTIONS, j as evictOldHistoryKeys, k as clearHistoryEntries, kn as startFederationAutoConnect, ln as unregisterAcpRuntimeBackend, m as resolveMentionGatingWithBypass, nr as assertOkOrThrowHttpError, o as resolveStrictAgenticRuntimeMode, on as getAcpSessionManager, or as BLUEBUBBLES_GROUP_ACTIONS, ot as resolveEffectiveToolPolicy, p as resolveMentionGating, qn as extractToolSend, rr as registerPluginHttpRoute, sn as getAcpRuntimeBackend, sr as CHANNEL_MESSAGE_ACTION_NAMES, t as runEmbeddedPiAgent, tr as resolveControlCommandGate, u as deriveModelMetadata, un as resolveRuntimeOptionsFromMeta, v as resolveLineAccount, vn as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, vt as buildChannelSummary, wn as readRequestBodyWithLimit, x as logTypingFailure, xn as installRequestBodyLimitGuard, y as logAckFailure, yn as DEFAULT_WEBHOOK_MAX_BODY_BYTES } from "./pi-embedded-runner-r_J_Xhv9.js";
|
|
2
|
+
import { Bt as resolveBlueBubblesGroupRequireMention, Ft as trimMessagingTarget, Gn as getPluginCommandSpecs, Gt as resolveGoogleChatGroupToolPolicy, Kn as listPluginCommands, Kt as resolveIMessageGroupRequireMention, Ln as logMutatingAdminRpcAudit, Nn as getChatChannelMeta, Pt as looksLikeHandleOrPhoneTarget, Rn as consumeMutatingAdminRpcBudget, Rt as looksLikeSignalTargetId, Vn as authorizeOperatorScopesForMethod, Vt as resolveBlueBubblesGroupToolPolicy, Wt as resolveGoogleChatGroupRequireMention, Xn as normalizePluginHttpPath, at as resolveMainSessionKey, c as listAgentsForGateway, ct as listChannelPlugins, dn as resolveDefaultSignalAccountId, et as resolveFreshSessionTotalTokens, f as resolveContextTokensForModel, fn as resolveSignalAccount, hn as resolveIMessageAccount, mn as resolveDefaultIMessageAccountId, pn as listIMessageAccountIds, qt as resolveIMessageGroupToolPolicy, s as classifySessionKey, t as getActivePluginRegistry, u as resolveSessionModelRef, un as listSignalAccountIds, x as loadSessionStore, yn as resolveToolsBySender, zt as normalizeSignalMessagingTarget } from "./runtime-ptM6yJKi.js";
|
|
3
3
|
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { g as registerLogTransport, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
5
5
|
import { s as resolveStateDir } from "./paths-BEmvSyOV.js";
|
|
6
6
|
import { c as isRecord, d as normalizeE164, g as safeParseJson, n as clamp, o as escapeRegExp, t as CONFIG_DIR, y as sleep } from "./utils-CYk9EKoq.js";
|
|
7
|
-
import { A as GroupPolicySchema, Cr as formatCliCommand, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, Fn as withFileLock, H as parseDurationMs, I as TtsModeSchema, Jt as resolveConfiguredModelRef, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, Pn as acquireFileLock, R as normalizeAllowFrom, Tr as isTruthyEnvValue, ar as DEFAULT_MODEL, d as GoogleChatConfigSchema, f as IMessageConfigSchema, fr as formatErrorMessage, hr as extractArchive, i as readConfigFileSnapshot, ir as DEFAULT_CONTEXT_TOKENS, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, n as loadConfig, or as DEFAULT_PROVIDER, p as MSTeamsConfigSchema, sr as VERSION, z as requireOpenAllowFrom, zn as normalizeProviderId } from "./config-
|
|
7
|
+
import { A as GroupPolicySchema, Cr as formatCliCommand, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, Fn as withFileLock, H as parseDurationMs, I as TtsModeSchema, Jt as resolveConfiguredModelRef, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, Pn as acquireFileLock, R as normalizeAllowFrom, Tr as isTruthyEnvValue, ar as DEFAULT_MODEL, d as GoogleChatConfigSchema, f as IMessageConfigSchema, fr as formatErrorMessage, hr as extractArchive, i as readConfigFileSnapshot, ir as DEFAULT_CONTEXT_TOKENS, j as MarkdownConfigSchema, k as DmPolicySchema, m as SignalConfigSchema, n as loadConfig, or as DEFAULT_PROVIDER, p as MSTeamsConfigSchema, sr as VERSION, z as requireOpenAllowFrom, zn as normalizeProviderId } from "./config-DHDPT24D.js";
|
|
8
8
|
import { E as resolveFasedAgentPackageRoot, a as resolveAgentDir, i as resolveAgentConfig, l as resolveAgentWorkspaceDir, p as resolveSessionAgentId, r as listAgentIds, u as resolveDefaultAgentId } from "./agent-scope-BbgPlhtw.js";
|
|
9
9
|
import { S as parseAgentSessionKey, f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, s as normalizeAgentId, 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 { t as runCommandWithTimeout } from "./exec-DQ8j4Fm3.js";
|
|
14
|
-
import "./accounts-
|
|
14
|
+
import "./accounts-DoZdNyoY.js";
|
|
15
15
|
import { C as resolveNestedAllowlistDecision, S as resolveChannelEntryMatchWithFallback, b as normalizeChannelSlug, x as resolveChannelEntryMatch, y as buildChannelKeyCandidates } from "./allow-list-yqasgPpz.js";
|
|
16
16
|
import { c as formatAllowlistMatchMeta, i as mergeAllowlist, l as resolveAllowlistMatchSimple, o as summarizeMapping, s as isDangerousNameMatchingEnabled } from "./resolve-utils-DrvLA82C.js";
|
|
17
17
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-CwCz68Mi.js";
|
|
18
18
|
import "./github-copilot-token-Dgug856m.js";
|
|
19
19
|
import "./retry-DycQ4ymF.js";
|
|
20
20
|
import { l as resolveStorePath } from "./paths-B88DQEK8.js";
|
|
21
|
-
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, l as resolveChannelDefaultAccountId, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-
|
|
21
|
+
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, l as resolveChannelDefaultAccountId, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-Cma7gg4r.js";
|
|
22
22
|
import { n as fetchWithTimeout } from "./fetch-timeout-jOIu9Xud.js";
|
|
23
23
|
import { t as normalizeRequestInitHeadersForFetch } from "./fetch-headers-DvXyXtoI.js";
|
|
24
24
|
import "./ip-BkeyFRJr.js";
|
|
25
25
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-D_4q0mKh.js";
|
|
26
26
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CxXvFYq5.js";
|
|
27
27
|
import { t as redactSensitiveUrl } from "./redact-sensitive-url-B0RJQqO7.js";
|
|
28
|
-
import { c as normalizeIMessageHandle, d as parseChatTargetPrefixesOrThrow, f as resolveServicePrefixedAllowTarget, g as isNormalizedSenderAllowed, h as isAllowedParsedChatSender, m as formatAllowFromLowercase, p as resolveServicePrefixedTarget, u as parseChatAllowTargetPrefixes } from "./send-
|
|
28
|
+
import { c as normalizeIMessageHandle, d as parseChatTargetPrefixesOrThrow, f as resolveServicePrefixedAllowTarget, g as isNormalizedSenderAllowed, h as isAllowedParsedChatSender, m as formatAllowFromLowercase, p as resolveServicePrefixedTarget, u as parseChatAllowTargetPrefixes } from "./send-C_vcGOCA.js";
|
|
29
29
|
import { a as resolveOpenProviderRuntimeGroupPolicy, i as resolveDefaultGroupPolicy, n as GROUP_POLICY_BLOCKED_LABEL, o as warnMissingProviderGroupPolicyFallbackOnce, r as resolveAllowlistProviderRuntimeGroupPolicy, t as formatDocsLink } from "./links-D5ecKoG9.js";
|
|
30
|
-
import { D as formatLocationText, O as toLocationContext, n as isWSLEnv, r as isWSLSync, t as isWSL2Sync } from "./wsl-
|
|
31
|
-
import { o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-
|
|
32
|
-
import { p as chunkTextByBreakResolver } from "./chunk-
|
|
30
|
+
import { D as formatLocationText, O as toLocationContext, n as isWSLEnv, r as isWSLSync, t as isWSL2Sync } from "./wsl-DzFPHgJ6.js";
|
|
31
|
+
import { o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-Xfn7m8FO.js";
|
|
32
|
+
import { p as chunkTextByBreakResolver } from "./chunk-BezNQ2ms.js";
|
|
33
33
|
import { n as resolveGatewayBindUrl, r as runPluginCommandWithTimeout, t as resolveTailnetHostWithRunner } from "./tailscale-status-BGBRraZW.js";
|
|
34
34
|
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-CbPHNXlm.js";
|
|
35
35
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-Do_JU4Rh.js";
|
|
@@ -37,36 +37,36 @@ import { i as rejectDevicePairing, r as listDevicePairing, t as approveDevicePai
|
|
|
37
37
|
import { o as createAsyncLock, s as readJsonFile } from "./pairing-token-HQpaqod5.js";
|
|
38
38
|
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-C16gioN6.js";
|
|
39
39
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
40
|
-
import "./optional-runtime-dependency-
|
|
41
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
42
|
-
import { At as resolveModel, C as resolveFederationHandle, S as resolveFederationBaseUrl, St as errorShape, b as normalizeHandle, bt as validatePushTestParams, gt as publicKeyRawBase64UrlFromPem, ht as loadOrCreateDeviceIdentity, x as resolveAgentPublicOrigin, xt as ErrorCodes, y as DEFAULT_FEDERATION_BASE_URL, yt as formatValidationErrors } from "./wallet-status-
|
|
43
|
-
import "./pi-model-discovery-
|
|
44
|
-
import "./runtime-dependency-
|
|
40
|
+
import "./optional-runtime-dependency-DRIuSMGn.js";
|
|
41
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-Dj5U2UMr.js";
|
|
42
|
+
import { At as resolveModel, C as resolveFederationHandle, S as resolveFederationBaseUrl, St as errorShape, b as normalizeHandle, bt as validatePushTestParams, gt as publicKeyRawBase64UrlFromPem, ht as loadOrCreateDeviceIdentity, x as resolveAgentPublicOrigin, xt as ErrorCodes, y as DEFAULT_FEDERATION_BASE_URL, yt as formatValidationErrors } from "./wallet-status-B9rwi_D9.js";
|
|
43
|
+
import "./pi-model-discovery-CyBJpoHh.js";
|
|
44
|
+
import "./runtime-dependency-BoJ6eFyY.js";
|
|
45
45
|
import { t as rawDataToString } from "./ws-CxmRDbD9.js";
|
|
46
46
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
47
47
|
import "./fs-safe-DztQeyQe.js";
|
|
48
|
-
import "./markdown-tables-
|
|
49
|
-
import { n as loadWebMedia } from "./media-
|
|
50
|
-
import "./send-
|
|
51
|
-
import { r as extractOriginalFilename } from "./outbound-attachment-
|
|
48
|
+
import "./markdown-tables-BWPlKBlJ.js";
|
|
49
|
+
import { n as loadWebMedia } from "./media-DkIzq3KV.js";
|
|
50
|
+
import "./send-BMVtOmUX.js";
|
|
51
|
+
import { r as extractOriginalFilename } from "./outbound-attachment-DaAFYQmc.js";
|
|
52
52
|
import "./fetch-RV7QDF43.js";
|
|
53
|
-
import { U as listAcpSessionEntries } from "./thread-bindings.state-
|
|
53
|
+
import { U as listAcpSessionEntries } from "./thread-bindings.state-DFCnsoeW.js";
|
|
54
54
|
import "./memory-search-DHSeU4pJ.js";
|
|
55
|
-
import "./manager-
|
|
55
|
+
import "./manager-gssr8OXa.js";
|
|
56
56
|
import "./query-expansion-BM7lmqaP.js";
|
|
57
|
-
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-
|
|
58
|
-
import { m as resolveNativeCommandName, o as listChatCommandsForConfig } from "./commands-registry-
|
|
59
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
57
|
+
import { a as jsonResult, c as readReactionParams, d as readStringParam, n as createActionGate, s as readNumberParam } from "./common-DBwy4zpd.js";
|
|
58
|
+
import { m as resolveNativeCommandName, o as listChatCommandsForConfig } from "./commands-registry-CFhJ8pUg.js";
|
|
59
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Dqr7X9q3.js";
|
|
60
60
|
import "./directory-live-G7AN8y8N.js";
|
|
61
|
-
import "./targets-
|
|
61
|
+
import "./targets-CI7i2tSK.js";
|
|
62
62
|
import "./sandbox-paths-fc-HFGJr.js";
|
|
63
63
|
import { n as missingTargetError } from "./target-errors-C0yNDbGS.js";
|
|
64
|
-
import "./resolve-route-
|
|
64
|
+
import "./resolve-route-DaIOKVVx.js";
|
|
65
65
|
import "./render-K7NwXvVu.js";
|
|
66
|
-
import "./tables-
|
|
67
|
-
import { C as buildBaseChannelStatusSummary, E as createDefaultChannelRuntimeState, S as buildBaseAccountStatusSnapshot, T as collectStatusIssuesFromLastError, b as setOnboardingChannelEnabled, c as parseOnboardingEntriesAllowingWildcard, f as promptParsedAllowFromForScopedChannel, h as resolveAccountIdForConfigure, l as patchChannelConfigForAccount, r as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId, v as setChannelDmPolicyWithAllowFrom, w as buildTokenChannelStatusSummary } from "./helpers-
|
|
66
|
+
import "./tables-CeCs0Fx6.js";
|
|
67
|
+
import { C as buildBaseChannelStatusSummary, E as createDefaultChannelRuntimeState, S as buildBaseAccountStatusSnapshot, T as collectStatusIssuesFromLastError, b as setOnboardingChannelEnabled, c as parseOnboardingEntriesAllowingWildcard, f as promptParsedAllowFromForScopedChannel, h as resolveAccountIdForConfigure, l as patchChannelConfigForAccount, r as mergeAllowFromEntries, t as addWildcardAllowFrom, u as promptAccountId, v as setChannelDmPolicyWithAllowFrom, w as buildTokenChannelStatusSummary } from "./helpers-BEIzSOp1.js";
|
|
68
68
|
import { t as buildMediaPayload } from "./media-payload-DpYEcV-X.js";
|
|
69
|
-
import { t as promptChannelAccessConfig } from "./channel-access-
|
|
69
|
+
import { t as promptChannelAccessConfig } from "./channel-access-I3pe5AGo.js";
|
|
70
70
|
import { n as asString, r as collectIssuesForEnabledAccounts } from "./shared-V35XNAbz.js";
|
|
71
71
|
import path from "node:path";
|
|
72
72
|
import chalk from "chalk";
|
|
@@ -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-DHDPT24D.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-DoZdNyoY.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-D-JrYrAm.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-DHDPT24D.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-DoZdNyoY.js";
|
|
10
10
|
import "./redact-CwCz68Mi.js";
|
|
11
11
|
import "./github-copilot-token-Dgug856m.js";
|
|
12
12
|
import "./retry-DycQ4ymF.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-D-JrYrAm.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-DHDPT24D.js";
|
|
5
5
|
import { a as resolveAgentDir, l as resolveAgentWorkspaceDir } from "./agent-scope-BbgPlhtw.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-CwCz68Mi.js";
|
|
7
7
|
import { n as retryAsync } from "./retry-DycQ4ymF.js";
|
|
@@ -9,7 +9,7 @@ import { c as resolveSessionTranscriptsDirForAgent } from "./paths-B88DQEK8.js";
|
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-NZiMKWBK.js";
|
|
10
10
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CxXvFYq5.js";
|
|
11
11
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-B0RJQqO7.js";
|
|
12
|
-
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-
|
|
12
|
+
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-DRIuSMGn.js";
|
|
13
13
|
import { t as resolveMemorySearchConfig } from "./memory-search-DHSeU4pJ.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-CC6TMTtc.js";
|
|
15
15
|
import { a as sessionPathForFile, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords } from "./query-expansion-BM7lmqaP.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-ptM6yJKi.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-CxXvFYq5.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-BezNQ2ms.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-Dj5U2UMr.js";
|
|
8
8
|
import { i as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-DztQeyQe.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as clearHistoryEntriesIfEnabled, An as resolveAgentAvatar, C as buildPairingReply, Ct as formatDurationSeconds, Dt as buildProviderRegistry, G as resolveEnvelopeFormatOptions, H as resolveInboundDebounceMs, I as shouldAckReaction, J as EmbeddedBlockChunker, K as dispatchInboundMessage, Kt as hasControlCommand, Mn as textToSpeech, Mt as runCapability, N as recordPendingHistoryEntryIfEnabled, Nn as parseTtsDirectives, O as buildPendingHistoryContextFromMap, Ot as createMediaAttachmentCache, P as recordInboundSession, Qn as resolveDmGroupAccessWithLists, R as dispatchReplyWithBufferedBlockDispatcher, U as formatInboundEnvelope, V as createInboundDebouncer, X as resolveStoredModelOverride, Xn as readStoreAllowFromForDmPolicy, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, Z as buildModelsProviderData, a as agentCommand, b as logInboundDrop, er as resolveCommandAuthorizedFromAuthorizers, f as createTypingCallbacks, jn as resolveTtsConfig, kt as normalizeMediaAttachments, m as resolveMentionGatingWithBypass, q as createReplyDispatcherWithTyping, tn as stripReasoningTagsFromText, tr as resolveControlCommandGate, wt as enqueueSystemEvent, x as logTypingFailure, y as logAckFailure, z as dispatchReplyWithDispatcher } from "./pi-embedded-runner-
|
|
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 { A as clearHistoryEntriesIfEnabled, An as resolveAgentAvatar, C as buildPairingReply, Ct as formatDurationSeconds, Dt as buildProviderRegistry, G as resolveEnvelopeFormatOptions, H as resolveInboundDebounceMs, I as shouldAckReaction, J as EmbeddedBlockChunker, K as dispatchInboundMessage, Kt as hasControlCommand, Mn as textToSpeech, Mt as runCapability, N as recordPendingHistoryEntryIfEnabled, Nn as parseTtsDirectives, O as buildPendingHistoryContextFromMap, Ot as createMediaAttachmentCache, P as recordInboundSession, Qn as resolveDmGroupAccessWithLists, R as dispatchReplyWithBufferedBlockDispatcher, U as formatInboundEnvelope, V as createInboundDebouncer, X as resolveStoredModelOverride, Xn as readStoreAllowFromForDmPolicy, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, Z as buildModelsProviderData, a as agentCommand, b as logInboundDrop, er as resolveCommandAuthorizedFromAuthorizers, f as createTypingCallbacks, jn as resolveTtsConfig, kt as normalizeMediaAttachments, m as resolveMentionGatingWithBypass, q as createReplyDispatcherWithTyping, tn as stripReasoningTagsFromText, tr as resolveControlCommandGate, wt as enqueueSystemEvent, x as logTypingFailure, y as logAckFailure, z as dispatchReplyWithDispatcher } from "./pi-embedded-runner-r_J_Xhv9.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-ptM6yJKi.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, fr as formatErrorMessage, n as loadConfig } from "./config-
|
|
7
|
+
import { Fn as withFileLock, Kt as normalizeProviderId, Mt as resolveDiscordPreviewStreamMode, fr as formatErrorMessage, n as loadConfig } from "./config-DHDPT24D.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-DoZdNyoY.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-yqasgPpz.js";
|
|
18
18
|
import { a as patchAllowlistUsersInConfigEntries, c as formatAllowlistMatchMeta, n as buildAllowlistResolutionSummary, o as summarizeMapping, r as canonicalizeAllowlistWithResolvedIds, s as isDangerousNameMatchingEnabled, t as addAllowlistUserEntriesFromConfigEntry } from "./resolve-utils-DrvLA82C.js";
|
|
19
19
|
import { i as compileSafeRegex } from "./redact-CwCz68Mi.js";
|
|
@@ -23,54 +23,54 @@ import { l as resolveStorePath } from "./paths-B88DQEK8.js";
|
|
|
23
23
|
import "./ip-BkeyFRJr.js";
|
|
24
24
|
import "./ssrf-D_4q0mKh.js";
|
|
25
25
|
import "./fetch-guard-CxXvFYq5.js";
|
|
26
|
-
import "./send-
|
|
26
|
+
import "./send-C_vcGOCA.js";
|
|
27
27
|
import { a as resolveOpenProviderRuntimeGroupPolicy, i as resolveDefaultGroupPolicy, n as GROUP_POLICY_BLOCKED_LABEL, o as warnMissingProviderGroupPolicyFallbackOnce } from "./links-D5ecKoG9.js";
|
|
28
|
-
import "./wsl-
|
|
29
|
-
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-
|
|
30
|
-
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-
|
|
28
|
+
import "./wsl-DzFPHgJ6.js";
|
|
29
|
+
import { a as upsertChannelPairingRequest, o as readJsonFileWithFallback, s as writeJsonFileAtomically } from "./pairing-store-Xfn7m8FO.js";
|
|
30
|
+
import { c as resolveChunkMode, l as resolveTextChunkLimit } from "./chunk-BezNQ2ms.js";
|
|
31
31
|
import { a as resolveAckReaction, c as resolveHumanDelayConfig, n as createReplyPrefixOptions } from "./reply-prefix-CbPHNXlm.js";
|
|
32
32
|
import "./tokens-Do_JU4Rh.js";
|
|
33
33
|
import "./device-pairing-J1IH1jFl.js";
|
|
34
34
|
import "./pairing-token-HQpaqod5.js";
|
|
35
35
|
import "./diagnostic-C16gioN6.js";
|
|
36
36
|
import "./diagnostic-session-state-B-9PL5r7.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-DRIuSMGn.js";
|
|
38
|
+
import "./image-ops-Dj5U2UMr.js";
|
|
39
|
+
import { mt as GatewayClient, st as buildGatewayConnectionDetails } from "./wallet-status-B9rwi_D9.js";
|
|
40
|
+
import "./pi-model-discovery-CyBJpoHh.js";
|
|
41
|
+
import "./runtime-dependency-BoJ6eFyY.js";
|
|
42
42
|
import "./ws-CxmRDbD9.js";
|
|
43
43
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
44
44
|
import "./fs-safe-DztQeyQe.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-BWPlKBlJ.js";
|
|
46
|
+
import { a as fetchRemoteMedia, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-DkIzq3KV.js";
|
|
47
|
+
import "./send-BMVtOmUX.js";
|
|
48
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-DaAFYQmc.js";
|
|
49
49
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-RV7QDF43.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-DFCnsoeW.js";
|
|
51
51
|
import "./memory-search-DHSeU4pJ.js";
|
|
52
|
-
import "./manager-
|
|
52
|
+
import "./manager-gssr8OXa.js";
|
|
53
53
|
import "./query-expansion-BM7lmqaP.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-DBwy4zpd.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-CFhJ8pUg.js";
|
|
56
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Dqr7X9q3.js";
|
|
57
57
|
import { t as finalizeInboundContext } from "./inbound-context-BNCTzgjG.js";
|
|
58
58
|
import "./directory-live-G7AN8y8N.js";
|
|
59
|
-
import "./targets-
|
|
59
|
+
import "./targets-CI7i2tSK.js";
|
|
60
60
|
import "./sandbox-paths-fc-HFGJr.js";
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DaIOKVVx.js";
|
|
62
62
|
import "./render-K7NwXvVu.js";
|
|
63
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
63
|
+
import { t as convertMarkdownTables } from "./tables-CeCs0Fx6.js";
|
|
64
64
|
import { n as recordChannelActivity } from "./channel-activity-B7MIaDei.js";
|
|
65
65
|
import { t as withTimeout } from "./with-timeout-Dl513q34.js";
|
|
66
66
|
import { t as buildMediaPayload } from "./media-payload-DpYEcV-X.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-bQfJLpNY.js";
|
|
68
|
+
import { t as createDiscordRetryRunner } from "./retry-policy-CHtx8LYv.js";
|
|
69
|
+
import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnStartup, s as createThreadBindingManager } from "./thread-bindings.lifecycle-BEiYGYlC.js";
|
|
70
70
|
import { a as setPresence, n as registerGateway, r as unregisterGateway } from "./gateway-registry-C-MTEdvG.js";
|
|
71
71
|
import { t as createReplyReferencePlanner } from "./reply-reference-CWEIswqw.js";
|
|
72
72
|
import { i as createStatusReactionController, r as DEFAULT_TIMING, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-DGYBMJYc.js";
|
|
73
|
-
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-
|
|
73
|
+
import { n as buildUntrustedChannelMetadata, t as chunkItems } from "./chunk-items-CfOSVg-A.js";
|
|
74
74
|
import { t as fetchDiscordApplicationId } from "./probe-DO4M1Qd1.js";
|
|
75
75
|
import { t as DiscordUiContainer } from "./ui-KGr1WRXC.js";
|
|
76
76
|
import "./guilds-n7MMnX1c.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-02OYHVMR.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,17 +1,17 @@
|
|
|
1
|
-
import { $ as buildModelsKeyboard, $t as formatReasoningMessage, A as clearHistoryEntriesIfEnabled, Bn as resolveTelegramInlineButtonsScope, C as buildPairingReply, Cn as readJsonBodyWithLimit, E as DEFAULT_GROUP_HISTORY_LIMIT, Et as resolveChannelConfigWrites, F as removeAckReactionAfterReply, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, I as shouldAckReaction, Jt as isAbortRequestText, Kt as hasControlCommand, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, P as recordInboundSession, Pt as registerUnhandledRejectionHandler, Q as formatModelsAvailableHeader, R as dispatchReplyWithBufferedBlockDispatcher, St as formatDurationPrecise, T as sleepWithAbort, U as formatInboundEnvelope, V as createInboundDebouncer, Wn as waitForAbortSignal, X as resolveStoredModelOverride, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, Z as buildModelsProviderData, b as logInboundDrop, bt as buildCommandsMessagePaginated, c as loadModelCatalog, er as resolveCommandAuthorizedFromAuthorizers, et as buildProviderKeyboard, f as createTypingCallbacks, it as buildCommandsPaginationKeyboard, l as modelSupportsVision, m as resolveMentionGatingWithBypass, nn as findCodeRegions, nt as getModelsPageSize, rn as isInsideCode, rt as parseModelCallbackData, s as findModelInCatalog, tn as stripReasoningTagsFromText, tr as resolveControlCommandGate, tt as calculateTotalPages, w as computeBackoff, wt as enqueueSystemEvent, x as logTypingFailure, y as logAckFailure } from "./pi-embedded-runner-
|
|
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 buildModelsKeyboard, $t as formatReasoningMessage, A as clearHistoryEntriesIfEnabled, Bn as resolveTelegramInlineButtonsScope, C as buildPairingReply, Cn as readJsonBodyWithLimit, E as DEFAULT_GROUP_HISTORY_LIMIT, Et as resolveChannelConfigWrites, F as removeAckReactionAfterReply, G as resolveEnvelopeFormatOptions, Gn as createDedupeCache, H as resolveInboundDebounceMs, I as shouldAckReaction, Jt as isAbortRequestText, Kt as hasControlCommand, N as recordPendingHistoryEntryIfEnabled, O as buildPendingHistoryContextFromMap, P as recordInboundSession, Pt as registerUnhandledRejectionHandler, Q as formatModelsAvailableHeader, R as dispatchReplyWithBufferedBlockDispatcher, St as formatDurationPrecise, T as sleepWithAbort, U as formatInboundEnvelope, V as createInboundDebouncer, Wn as waitForAbortSignal, X as resolveStoredModelOverride, Xt as matchesMentionWithExplicit, Yt as buildMentionRegexes, Z as buildModelsProviderData, b as logInboundDrop, bt as buildCommandsMessagePaginated, c as loadModelCatalog, er as resolveCommandAuthorizedFromAuthorizers, et as buildProviderKeyboard, f as createTypingCallbacks, it as buildCommandsPaginationKeyboard, l as modelSupportsVision, m as resolveMentionGatingWithBypass, nn as findCodeRegions, nt as getModelsPageSize, rn as isInsideCode, rt as parseModelCallbackData, s as findModelInCatalog, tn as stripReasoningTagsFromText, tr as resolveControlCommandGate, tt as calculateTotalPages, w as computeBackoff, wt as enqueueSystemEvent, x as logTypingFailure, y as logAckFailure } from "./pi-embedded-runner-r_J_Xhv9.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-ptM6yJKi.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-DHDPT24D.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-DoZdNyoY.js";
|
|
15
15
|
import "./allow-list-yqasgPpz.js";
|
|
16
16
|
import "./redact-CwCz68Mi.js";
|
|
17
17
|
import "./github-copilot-token-Dgug856m.js";
|
|
@@ -20,49 +20,49 @@ import { l as resolveStorePath } from "./paths-B88DQEK8.js";
|
|
|
20
20
|
import "./ip-BkeyFRJr.js";
|
|
21
21
|
import "./ssrf-D_4q0mKh.js";
|
|
22
22
|
import "./fetch-guard-CxXvFYq5.js";
|
|
23
|
-
import "./send-
|
|
23
|
+
import "./send-C_vcGOCA.js";
|
|
24
24
|
import { a as resolveOpenProviderRuntimeGroupPolicy } from "./links-D5ecKoG9.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-
|
|
26
|
-
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-
|
|
27
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
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-DzFPHgJ6.js";
|
|
26
|
+
import { a as upsertChannelPairingRequest, n as readChannelAllowFromStore } from "./pairing-store-Xfn7m8FO.js";
|
|
27
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BezNQ2ms.js";
|
|
28
28
|
import { a as resolveAckReaction, n as createReplyPrefixOptions } from "./reply-prefix-CbPHNXlm.js";
|
|
29
29
|
import "./tokens-Do_JU4Rh.js";
|
|
30
30
|
import "./device-pairing-J1IH1jFl.js";
|
|
31
31
|
import "./pairing-token-HQpaqod5.js";
|
|
32
32
|
import { c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, l as logWebhookProcessed, m as isDiagnosticsEnabled, u as logWebhookReceived } from "./diagnostic-C16gioN6.js";
|
|
33
33
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
34
|
-
import "./optional-runtime-dependency-
|
|
35
|
-
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-
|
|
36
|
-
import "./wallet-status-
|
|
37
|
-
import "./pi-model-discovery-
|
|
38
|
-
import "./runtime-dependency-
|
|
34
|
+
import "./optional-runtime-dependency-DRIuSMGn.js";
|
|
35
|
+
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-Dj5U2UMr.js";
|
|
36
|
+
import "./wallet-status-B9rwi_D9.js";
|
|
37
|
+
import "./pi-model-discovery-CyBJpoHh.js";
|
|
38
|
+
import "./runtime-dependency-BoJ6eFyY.js";
|
|
39
39
|
import "./ws-CxmRDbD9.js";
|
|
40
40
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
41
41
|
import "./fs-safe-DztQeyQe.js";
|
|
42
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
43
|
-
import { a as fetchRemoteMedia, i as MediaFetchError, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-
|
|
44
|
-
import "./send-
|
|
45
|
-
import { a as saveMediaBuffer } from "./outbound-attachment-
|
|
42
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BWPlKBlJ.js";
|
|
43
|
+
import { a as fetchRemoteMedia, i as MediaFetchError, n as loadWebMedia, u as getAgentScopedMediaLocalRoots } from "./media-DkIzq3KV.js";
|
|
44
|
+
import "./send-BMVtOmUX.js";
|
|
45
|
+
import { a as saveMediaBuffer } from "./outbound-attachment-DaAFYQmc.js";
|
|
46
46
|
import "./fetch-RV7QDF43.js";
|
|
47
|
-
import "./thread-bindings.state-
|
|
47
|
+
import "./thread-bindings.state-DFCnsoeW.js";
|
|
48
48
|
import "./memory-search-DHSeU4pJ.js";
|
|
49
|
-
import "./manager-
|
|
49
|
+
import "./manager-gssr8OXa.js";
|
|
50
50
|
import "./query-expansion-BM7lmqaP.js";
|
|
51
|
-
import "./common-
|
|
52
|
-
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-
|
|
53
|
-
import { n as listSkillCommandsForAgents } from "./skill-commands-
|
|
51
|
+
import "./common-DBwy4zpd.js";
|
|
52
|
+
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-CFhJ8pUg.js";
|
|
53
|
+
import { n as listSkillCommandsForAgents } from "./skill-commands-Dqr7X9q3.js";
|
|
54
54
|
import { t as finalizeInboundContext } from "./inbound-context-BNCTzgjG.js";
|
|
55
55
|
import "./directory-live-G7AN8y8N.js";
|
|
56
|
-
import "./targets-
|
|
56
|
+
import "./targets-CI7i2tSK.js";
|
|
57
57
|
import "./sandbox-paths-fc-HFGJr.js";
|
|
58
|
-
import { n as resolveAgentRoute } from "./resolve-route-
|
|
58
|
+
import { n as resolveAgentRoute } from "./resolve-route-DaIOKVVx.js";
|
|
59
59
|
import "./render-K7NwXvVu.js";
|
|
60
|
-
import "./tables-
|
|
60
|
+
import "./tables-CeCs0Fx6.js";
|
|
61
61
|
import { n as recordChannelActivity } from "./channel-activity-B7MIaDei.js";
|
|
62
|
-
import "./retry-policy-
|
|
63
|
-
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-
|
|
62
|
+
import "./retry-policy-CHtx8LYv.js";
|
|
63
|
+
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-Bbmuq5OU.js";
|
|
64
64
|
import { t as makeProxyFetch } from "./proxy-R5TjOIFS.js";
|
|
65
|
-
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-
|
|
65
|
+
import { i as getCachedSticker, n as describeStickerImage, t as cacheSticker } from "./sticker-cache-oLmDP9zb.js";
|
|
66
66
|
import { i as createStatusReactionController, n as DEFAULT_EMOJIS, t as createFinalizableDraftLifecycle } from "./draft-stream-controls-DGYBMJYc.js";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
import os from "node:os";
|
|
@@ -2046,7 +2046,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
2046
2046
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
2047
2047
|
let preflightTranscript;
|
|
2048
2048
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
2049
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
2049
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-02OYHVMR.js");
|
|
2050
2050
|
preflightTranscript = await transcribeFirstAudio({
|
|
2051
2051
|
ctx: {
|
|
2052
2052
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|