@fased/fased 0.1.43 → 0.1.45
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-unit.js +1 -1
- package/dist/plugin-sdk/{audio-preflight-CzG6BjAn.js → audio-preflight-CKgOmu0p.js} +3 -3
- package/dist/plugin-sdk/channel-plugin-common.d.ts +2 -2
- package/dist/plugin-sdk/{chunk-items-CxRDAM7m.js → chunk-items-CNyHcNiG.js} +1 -1
- package/dist/plugin-sdk/command-status.js +3 -3
- package/dist/plugin-sdk/device-pair.d.ts +1 -1
- package/dist/plugin-sdk/discord.d.ts +4 -4
- package/dist/plugin-sdk/index.d.ts +17 -17
- package/dist/plugin-sdk/index.js +4 -4
- package/dist/plugin-sdk/{monitor-BrxWsb7H.js → monitor-B8dLCpFA.js} +7 -7
- package/dist/plugin-sdk/{monitor-B1PUtkd6.js → monitor-dqvs6ijC.js} +5 -5
- package/dist/plugin-sdk/{openresponses-http-DJ2lfMja.js → openresponses-http-S64mJyy8.js} +3 -3
- package/dist/plugin-sdk/{pairing-message-DWXHX-jt.d.ts → pairing-message-DfIyssV_.d.ts} +1 -1
- package/dist/plugin-sdk/{pi-embedded-runner-DMfkIj60.js → pi-embedded-runner-XtyJMQqg.js} +12 -12
- package/dist/plugin-sdk/provider-web-search-config-contract.d.ts +1 -1
- package/dist/plugin-sdk/{pw-ai-BgsJH_P8.js → pw-ai-BFHYmEIx.js} +1 -1
- package/dist/plugin-sdk/{runtime-dependency-pUwxUAJp.js → runtime-dependency-B5Fut2tT.js} +9 -9
- package/dist/plugin-sdk/sat-runtime.d.ts +2 -2
- package/dist/plugin-sdk/sat-runtime.js +1 -1
- package/dist/plugin-sdk/{slack-B6lIY1Jk.js → slack-DcXn5HVj.js} +5 -5
- package/dist/plugin-sdk/slack.d.ts +4 -4
- package/dist/plugin-sdk/{sticker-cache-D4Ljzv1P.js → sticker-cache-C3YATyKD.js} +2 -2
- package/dist/plugin-sdk/{telegram-actions-tOhBd6st.js → telegram-actions-Dd_iEzYH.js} +4 -4
- package/dist/plugin-sdk/telegram.d.ts +4 -4
- package/dist/plugin-sdk/{tmp-fased-dir-Be1wBhVz.d.ts → tmp-fased-dir-Bcp1DTSV.d.ts} +1 -1
- package/dist/plugin-sdk/{types-CJGVZX6j.d.ts → types-BTkcYtOt.d.ts} +2 -2
- package/dist/plugin-sdk/{types-CXLEOrJX.d.ts → types-CMoLtViq.d.ts} +1 -1
- package/dist/plugin-sdk/{wallet-status-CdxTkLWz.js → wallet-status-D9UVH6k9.js} +4 -4
- package/dist/plugin-sdk/{web-CX12Rpz1.js → web-BgTy1WeG.js} +3 -3
- package/dist/plugin-sdk/whatsapp.d.ts +11 -11
- package/dist/plugin-sdk/{zod-schema.providers-core-BEbNizPe.d.ts → zod-schema.providers-core-CIzCjXH9.d.ts} +61 -61
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +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
package/dist/brand.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const FASED_BRAND_NAME = "Fased";
|
|
3
3
|
const FASED_AGENT_NAME = "Fased Agent";
|
|
4
4
|
const FASED_CONTROL_NAME = "Fased Control";
|
|
5
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
5
|
+
const FASED_PRODUCT_VERSION = "0.1.45";
|
|
6
6
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
7
7
|
function formatFasedDisplayLine() {
|
|
8
8
|
return `${FASED_AGENT_NAME} ${FASED_DISPLAY_VERSION}`;
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0a4d85455a8a99c396a848a2c677c58026cae6f68561045628ade2329997a853
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as buildProviderRegistry, Mt as runCapability, Nt as isAudioAttachment, Ot as createMediaAttachmentCache, jt as resolveMediaAttachmentLocalRoots, kt as normalizeMediaAttachments } from "./pi-embedded-runner-
|
|
1
|
+
import { Dt as buildProviderRegistry, Mt as runCapability, Nt as isAudioAttachment, Ot as createMediaAttachmentCache, jt as resolveMediaAttachmentLocalRoots, kt as normalizeMediaAttachments } from "./pi-embedded-runner-XtyJMQqg.js";
|
|
2
2
|
import "./runtime-BUpqjZNM.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { i as logVerbose, s as shouldLogVerbose } from "./globals-B_jjtAje.js";
|
|
@@ -32,9 +32,9 @@ import "./diagnostic-C16gioN6.js";
|
|
|
32
32
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
33
33
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
34
34
|
import "./image-ops-BSQmb-17.js";
|
|
35
|
-
import "./wallet-status-
|
|
35
|
+
import "./wallet-status-D9UVH6k9.js";
|
|
36
36
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
37
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./runtime-dependency-B5Fut2tT.js";
|
|
38
38
|
import "./ws-CxmRDbD9.js";
|
|
39
39
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
40
40
|
import "./fs-safe-DztQeyQe.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { Y as ChannelMessageActionContext, n as ChannelPlugin, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-
|
|
4
|
-
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-
|
|
3
|
+
import { _ as FasedAgentPluginApi, t as PluginRuntime } from "./types-CMoLtViq.js";
|
|
4
|
+
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-DfIyssV_.js";
|
|
5
5
|
export { type ChannelMessageActionContext, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type FasedAgentPluginApi, PAIRING_APPROVED_MESSAGE, type PluginRuntime, applyAccountNameToChannelSection, buildChannelConfigSchema, deleteAccountFromConfigSection, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, migrateBaseNameToDefaultAccount, normalizeAccountId, setAccountEnabledInConfigSection };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bt as buildCommandsMessagePaginated, xt as buildHelpMessage, yt as buildCommandsMessage } from "./pi-embedded-runner-
|
|
1
|
+
import { bt as buildCommandsMessagePaginated, xt as buildHelpMessage, yt as buildCommandsMessage } from "./pi-embedded-runner-XtyJMQqg.js";
|
|
2
2
|
import "./runtime-BUpqjZNM.js";
|
|
3
3
|
import "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -32,9 +32,9 @@ import "./diagnostic-C16gioN6.js";
|
|
|
32
32
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
33
33
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
34
34
|
import "./image-ops-BSQmb-17.js";
|
|
35
|
-
import "./wallet-status-
|
|
35
|
+
import "./wallet-status-D9UVH6k9.js";
|
|
36
36
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
37
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./runtime-dependency-B5Fut2tT.js";
|
|
38
38
|
import "./ws-CxmRDbD9.js";
|
|
39
39
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
40
40
|
import "./fs-safe-DztQeyQe.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as FasedAgentPluginApi } from "./types-
|
|
1
|
+
import { _ as FasedAgentPluginApi } from "./types-CMoLtViq.js";
|
|
2
2
|
import { a as listDevicePairing, i as approveDevicePairing, n as resolveTailnetHostWithRunner, r as resolveGatewayBindUrl, t as runPluginCommandWithTimeout } from "./run-command-i_W6EFb1.js";
|
|
3
3
|
export { type FasedAgentPluginApi, approveDevicePairing, listDevicePairing, resolveGatewayBindUrl, resolveTailnetHostWithRunner, runPluginCommandWithTimeout };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as DEFAULT_ACCOUNT_ID, r as normalizeAccountId } from "./session-key--_1zVBRB.js";
|
|
2
2
|
import { At as FasedAgentConfig, F as ChannelAccountSnapshot, J as ChannelMessageActionAdapter, an as DiscordAccountConfig, it as ChannelStatusIssue, n as ChannelPlugin, r as ChannelOnboardingAdapter, u as ChannelMessageActionName, ut as getChatChannelMeta } from "./types.plugin-CvUiB3Kh.js";
|
|
3
|
-
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-
|
|
4
|
-
import { D as normalizeE164 } from "./types-
|
|
5
|
-
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-
|
|
3
|
+
import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlackDirectoryGroupsFromConfig, Jt as listTelegramDirectoryPeersFromConfig, Kt as listSlackDirectoryPeersFromConfig, Ut as listDiscordDirectoryGroupsFromConfig, Vt as resolveOpenProviderRuntimeGroupPolicy, Wt as listDiscordDirectoryPeersFromConfig, Xt as listWhatsAppDirectoryPeersFromConfig, Yt as listWhatsAppDirectoryGroupsFromConfig, Zt as collectDiscordAuditChannelIds, _ as FasedAgentPluginApi, qt as listTelegramDirectoryGroupsFromConfig, t as PluginRuntime, yn as createActionGate, zt as resolveAllowlistProviderRuntimeGroupPolicy } from "./types-CMoLtViq.js";
|
|
4
|
+
import { D as normalizeE164 } from "./types-BTkcYtOt.js";
|
|
5
|
+
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-DfIyssV_.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, i as resolveDiscordGroupToolPolicy, r as resolveDiscordGroupRequireMention } from "./group-mentions-DLOOve8d.js";
|
|
7
|
-
import { t as DiscordConfigSchema } from "./zod-schema.providers-core-
|
|
7
|
+
import { t as DiscordConfigSchema } from "./zod-schema.providers-core-CIzCjXH9.js";
|
|
8
8
|
|
|
9
9
|
//#region src/discord/accounts.d.ts
|
|
10
10
|
type ResolvedDiscordAccount = {
|
|
@@ -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-CMoLtViq.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-BTkcYtOt.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-DfIyssV_.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-CIzCjXH9.js";
|
|
11
|
+
import { n as fetchWithSsrFGuard, r as listAgentIds, s as resolveDefaultAgentId, t as resolvePreferredFasedAgentTmpDir } from "./tmp-fased-dir-Bcp1DTSV.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<"search" | "reactions" | "sticker" | "permissions" | "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" | "timeout" | "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,14 +320,14 @@ 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
|
+
open: "open";
|
|
323
324
|
disabled: "disabled";
|
|
324
325
|
allowlist: "allowlist";
|
|
325
|
-
open: "open";
|
|
326
326
|
}>;
|
|
327
327
|
declare const DmPolicySchema: z.ZodEnum<{
|
|
328
|
+
open: "open";
|
|
328
329
|
disabled: "disabled";
|
|
329
330
|
allowlist: "allowlist";
|
|
330
|
-
open: "open";
|
|
331
331
|
pairing: "pairing";
|
|
332
332
|
}>;
|
|
333
333
|
declare const BlockStreamingCoalesceSchema: z.ZodObject<{
|
|
@@ -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";
|
|
360
359
|
off: "off";
|
|
361
360
|
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";
|
|
366
365
|
off: "off";
|
|
367
366
|
bullets: "bullets";
|
|
367
|
+
code: "code";
|
|
368
368
|
}>>;
|
|
369
369
|
}, z.core.$strict>>;
|
|
370
370
|
declare const TtsProviderSchema: z.ZodEnum<{
|
|
371
|
-
openai: "openai";
|
|
372
371
|
elevenlabs: "elevenlabs";
|
|
372
|
+
openai: "openai";
|
|
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
|
-
openai: "openai";
|
|
399
398
|
elevenlabs: "elevenlabs";
|
|
399
|
+
openai: "openai";
|
|
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
|
-
on: "on";
|
|
422
421
|
auto: "auto";
|
|
422
|
+
on: "on";
|
|
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
|
+
open: "open";
|
|
2430
2431
|
disabled: "disabled";
|
|
2431
2432
|
allowlist: "allowlist";
|
|
2432
|
-
open: "open";
|
|
2433
2433
|
pairing: "pairing";
|
|
2434
2434
|
}>>>;
|
|
2435
2435
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2436
|
+
open: "open";
|
|
2436
2437
|
disabled: "disabled";
|
|
2437
2438
|
allowlist: "allowlist";
|
|
2438
|
-
open: "open";
|
|
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
|
+
open: "open";
|
|
2453
2454
|
disabled: "disabled";
|
|
2454
2455
|
allowlist: "allowlist";
|
|
2455
|
-
open: "open";
|
|
2456
2456
|
pairing: "pairing";
|
|
2457
2457
|
}>>>;
|
|
2458
2458
|
groupPolicy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2459
|
+
open: "open";
|
|
2459
2460
|
disabled: "disabled";
|
|
2460
2461
|
allowlist: "allowlist";
|
|
2461
|
-
open: "open";
|
|
2462
2462
|
}>>>;
|
|
2463
2463
|
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2464
2464
|
mediaMaxMb: z.ZodOptional<z.ZodNumber>;
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-XtyJMQqg.js";
|
|
2
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-BUpqjZNM.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";
|
|
@@ -39,9 +39,9 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
|
|
|
39
39
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
40
40
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
41
41
|
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-BSQmb-17.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-
|
|
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-D9UVH6k9.js";
|
|
43
43
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
44
|
-
import "./runtime-dependency-
|
|
44
|
+
import "./runtime-dependency-B5Fut2tT.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";
|
|
@@ -80,7 +80,7 @@ import { createHash, createPrivateKey, randomUUID, sign } from "node:crypto";
|
|
|
80
80
|
import { pipeline } from "node:stream/promises";
|
|
81
81
|
import { z } from "zod";
|
|
82
82
|
import { request } from "node:https";
|
|
83
|
-
import { WebSocket } from "ws";
|
|
83
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
84
84
|
import http2 from "node:http2";
|
|
85
85
|
|
|
86
86
|
//#region src/video-generation/dashscope-compatible.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-XtyJMQqg.js";
|
|
2
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-BUpqjZNM.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";
|
|
@@ -36,9 +36,9 @@ import "./diagnostic-C16gioN6.js";
|
|
|
36
36
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
37
37
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
38
38
|
import "./image-ops-BSQmb-17.js";
|
|
39
|
-
import { mt as GatewayClient, st as buildGatewayConnectionDetails } from "./wallet-status-
|
|
39
|
+
import { mt as GatewayClient, st as buildGatewayConnectionDetails } from "./wallet-status-D9UVH6k9.js";
|
|
40
40
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
41
|
-
import "./runtime-dependency-
|
|
41
|
+
import "./runtime-dependency-B5Fut2tT.js";
|
|
42
42
|
import "./ws-CxmRDbD9.js";
|
|
43
43
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
44
44
|
import "./fs-safe-DztQeyQe.js";
|
|
@@ -70,7 +70,7 @@ import { o as createNoopThreadBindingManager, r as reconcileAcpThreadBindingsOnS
|
|
|
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-CNyHcNiG.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";
|
|
@@ -83,7 +83,7 @@ import { inspect } from "node:util";
|
|
|
83
83
|
import fs from "node:fs/promises";
|
|
84
84
|
import { randomUUID } from "node:crypto";
|
|
85
85
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
86
|
-
import WebSocket
|
|
86
|
+
import WebSocket from "ws";
|
|
87
87
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
88
88
|
import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
|
|
89
89
|
import { GatewayCloseCodes, GatewayIntents, GatewayPlugin } from "@buape/carbon/gateway";
|
|
@@ -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-CKgOmu0p.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: {
|
|
@@ -6883,7 +6883,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
6883
6883
|
return super.registerClient(client);
|
|
6884
6884
|
}
|
|
6885
6885
|
createWebSocket(url) {
|
|
6886
|
-
return new WebSocket
|
|
6886
|
+
return new WebSocket(url, { agent: wsAgent });
|
|
6887
6887
|
}
|
|
6888
6888
|
}
|
|
6889
6889
|
return new ProxyGatewayPlugin();
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-XtyJMQqg.js";
|
|
2
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-BUpqjZNM.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";
|
|
@@ -33,9 +33,9 @@ import { c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosti
|
|
|
33
33
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
34
34
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
35
35
|
import { p as isGifMedia, v as mediaKindFromMime } from "./image-ops-BSQmb-17.js";
|
|
36
|
-
import "./wallet-status-
|
|
36
|
+
import "./wallet-status-D9UVH6k9.js";
|
|
37
37
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
38
|
-
import "./runtime-dependency-
|
|
38
|
+
import "./runtime-dependency-B5Fut2tT.js";
|
|
39
39
|
import "./ws-CxmRDbD9.js";
|
|
40
40
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
41
41
|
import "./fs-safe-DztQeyQe.js";
|
|
@@ -62,7 +62,7 @@ import { n as recordChannelActivity } from "./channel-activity-B7MIaDei.js";
|
|
|
62
62
|
import "./retry-policy-BTH89onl.js";
|
|
63
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-CRI83FPV.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-C3YATyKD.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-CKgOmu0p.js");
|
|
2050
2050
|
preflightTranscript = await transcribeFirstAudio({
|
|
2051
2051
|
ctx: {
|
|
2052
2052
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as extractImageContentFromSource, Ft as DEFAULT_INPUT_IMAGE_MAX_BYTES, Ht as resolveInputFileLimits, It as DEFAULT_INPUT_IMAGE_MIMES, Lt as DEFAULT_INPUT_MAX_REDIRECTS, Rt as DEFAULT_INPUT_TIMEOUT_MS, Vt as normalizeMimeList, _n as writeDone, a as agentCommand, an as onAgentEvent, fn as createDefaultDeps, gn as setSseHeaders, hn as sendJson, i as resolveAssistantStreamDeltaText, in as emitAgentEvent, mn as resolveSessionKey, n as handleGatewayPostJsonEndpoint, pn as resolveAgentIdForRequest, r as buildAgentMessageFromConversationEntries, zt as extractFileContentFromSource } from "./pi-embedded-runner-
|
|
1
|
+
import { Bt as extractImageContentFromSource, Ft as DEFAULT_INPUT_IMAGE_MAX_BYTES, Ht as resolveInputFileLimits, It as DEFAULT_INPUT_IMAGE_MIMES, Lt as DEFAULT_INPUT_MAX_REDIRECTS, Rt as DEFAULT_INPUT_TIMEOUT_MS, Vt as normalizeMimeList, _n as writeDone, a as agentCommand, an as onAgentEvent, fn as createDefaultDeps, gn as setSseHeaders, hn as sendJson, i as resolveAssistantStreamDeltaText, in as emitAgentEvent, mn as resolveSessionKey, n as handleGatewayPostJsonEndpoint, pn as resolveAgentIdForRequest, r as buildAgentMessageFromConversationEntries, zt as extractFileContentFromSource } from "./pi-embedded-runner-XtyJMQqg.js";
|
|
2
2
|
import "./runtime-BUpqjZNM.js";
|
|
3
3
|
import { i as defaultRuntime } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import "./globals-B_jjtAje.js";
|
|
@@ -32,9 +32,9 @@ import "./diagnostic-C16gioN6.js";
|
|
|
32
32
|
import "./diagnostic-session-state-B-9PL5r7.js";
|
|
33
33
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
34
34
|
import "./image-ops-BSQmb-17.js";
|
|
35
|
-
import "./wallet-status-
|
|
35
|
+
import "./wallet-status-D9UVH6k9.js";
|
|
36
36
|
import "./pi-model-discovery-DQdXL_-F.js";
|
|
37
|
-
import "./runtime-dependency-
|
|
37
|
+
import "./runtime-dependency-B5Fut2tT.js";
|
|
38
38
|
import "./ws-CxmRDbD9.js";
|
|
39
39
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
40
40
|
import "./fs-safe-DztQeyQe.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig, t as ChannelConfigSchema } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { v as FasedAgentPluginConfigSchema } from "./types-
|
|
2
|
+
import { v as FasedAgentPluginConfigSchema } from "./types-CMoLtViq.js";
|
|
3
3
|
import { ZodTypeAny } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/plugins/config-schema.d.ts
|
|
@@ -40,9 +40,9 @@ import { t as redactIdentifier } from "./redact-identifier-CDvAeiFm.js";
|
|
|
40
40
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-CuTZl1mO.js";
|
|
41
41
|
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
42
42
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-BSQmb-17.js";
|
|
43
|
-
import { $ as fetchSolanaRpc, A as enforceWalletDailyCap, At as resolveModel$3, B as resolveWalletUserRole, C as resolveFederationHandle, Ct as SESSION_LABEL_MAX_LENGTH, E as resolveScopedRpcUrlForWallet, H as assertValidSolanaAddress, I as upsertWalletPolicyConfig, J as resolveWalletRuntimeConfig, K as ensureWalletStateDir, L as validateWalletTxPolicy, N as resolveWalletRecurringTransferPolicy, P as resolveWalletRoleForId, Q as fetchSolanaNativeBalanceViaRpc, R as readWalletProviderRegistry, S as resolveFederationBaseUrl, T as createWalletProviderAdapter, X as fetchSolanaFungibleMetadataViaRpc, Y as SOLANA_ASSET_CONSTANTS, Z as fetchSolanaMintInfoViaRpc, _ as validateSolanaSwapIntentPolicy, a as listTaskRecords, c as buildWalletProviderCapabilityMatrix, ct as callGateway, d as appendWalletAuditEntry, dt as randomIdempotencyKey, et as fetchSolanaTokenBalanceViaRpc, f as SOLANA_NATIVE_MINT, ft as resolveGatewayCredentialsFromConfig, g as validateSolanaSwapInputBalance, h as inspectAndValidateSolanaSwapOrder, i as createTaskRecord, it as findGitRoot, j as isWalletToolAllowed, jt as buildModelAliasLines, k as applyWalletPolicyConfig, l as providerSupportsChainOperation, lt as callGatewayLeastPrivilege, m as fetchJupiterSwapOrder, n as createOrExecuteWalletSend, nt as buildAttestation, o as markTaskTerminal, p as executeSolanaSwapApprovalPayload, pt as trimToUndefined, r as createWalletSendApprovalRequest, rt as resolveCommitHash, s as updateTaskRecord, tt as fetchSolanaWalletAssetsViaRpc, u as simulateWalletPolicy, ut as callGatewayScoped, v as inspectSerializedSolanaSwapTransaction, x as resolveAgentPublicOrigin, z as resolveWalletSelection } from "./wallet-status-
|
|
43
|
+
import { $ as fetchSolanaRpc, A as enforceWalletDailyCap, At as resolveModel$3, B as resolveWalletUserRole, C as resolveFederationHandle, Ct as SESSION_LABEL_MAX_LENGTH, E as resolveScopedRpcUrlForWallet, H as assertValidSolanaAddress, I as upsertWalletPolicyConfig, J as resolveWalletRuntimeConfig, K as ensureWalletStateDir, L as validateWalletTxPolicy, N as resolveWalletRecurringTransferPolicy, P as resolveWalletRoleForId, Q as fetchSolanaNativeBalanceViaRpc, R as readWalletProviderRegistry, S as resolveFederationBaseUrl, T as createWalletProviderAdapter, X as fetchSolanaFungibleMetadataViaRpc, Y as SOLANA_ASSET_CONSTANTS, Z as fetchSolanaMintInfoViaRpc, _ as validateSolanaSwapIntentPolicy, a as listTaskRecords, c as buildWalletProviderCapabilityMatrix, ct as callGateway, d as appendWalletAuditEntry, dt as randomIdempotencyKey, et as fetchSolanaTokenBalanceViaRpc, f as SOLANA_NATIVE_MINT, ft as resolveGatewayCredentialsFromConfig, g as validateSolanaSwapInputBalance, h as inspectAndValidateSolanaSwapOrder, i as createTaskRecord, it as findGitRoot, j as isWalletToolAllowed, jt as buildModelAliasLines, k as applyWalletPolicyConfig, l as providerSupportsChainOperation, lt as callGatewayLeastPrivilege, m as fetchJupiterSwapOrder, n as createOrExecuteWalletSend, nt as buildAttestation, o as markTaskTerminal, p as executeSolanaSwapApprovalPayload, pt as trimToUndefined, r as createWalletSendApprovalRequest, rt as resolveCommitHash, s as updateTaskRecord, tt as fetchSolanaWalletAssetsViaRpc, u as simulateWalletPolicy, ut as callGatewayScoped, v as inspectSerializedSolanaSwapTransaction, x as resolveAgentPublicOrigin, z as resolveWalletSelection } from "./wallet-status-D9UVH6k9.js";
|
|
44
44
|
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-DQdXL_-F.js";
|
|
45
|
-
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as InvalidBrowserNavigationUrlError, U as DEFAULT_FASED_BROWSER_PROFILE_NAME, V as DEFAULT_FASED_BROWSER_COLOR, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./runtime-dependency-
|
|
45
|
+
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, O as withBrowserNavigationPolicy, P as ensureChromeExtensionRelayServer, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as InvalidBrowserNavigationUrlError, U as DEFAULT_FASED_BROWSER_PROFILE_NAME, V as DEFAULT_FASED_BROWSER_COLOR, _ as stopFasedAgentChrome, a as DEFAULT_TRACE_DIR, b as captureScreenshot, d as normalizeBrowserFormField, g as resolveFasedAgentUserDataDir, h as launchFasedAgentChrome, i as DEFAULT_DOWNLOAD_DIR, j as fetchOk, k as appendCdpPath, l as resolveWritablePathWithinRoot, m as isChromeReachable, o as DEFAULT_UPLOAD_DIR, p as isChromeCdpReady, r as loadReadability, s as resolveExistingPathsWithinRoot, t as loadLinkedom, v as resolveBrowserExecutableForPlatform, w as snapshotAria, x as createTargetViaCdp, y as resolveLsofCommandSync, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./runtime-dependency-B5Fut2tT.js";
|
|
46
46
|
import { a as isTrustedProxyAddress, n as isLoopbackAddress, o as resolveClientIp, r as isLoopbackHost, s as resolveForwardedClientIp } from "./ws-CxmRDbD9.js";
|
|
47
47
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BlIJ0AmG.js";
|
|
48
48
|
import { a as writeFileWithinRoot, n as openFileWithinRoot, r as readFileWithinRoot, t as SafeOpenError } from "./fs-safe-DztQeyQe.js";
|
|
@@ -8734,7 +8734,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
8734
8734
|
function createDefaultDeps() {
|
|
8735
8735
|
return {
|
|
8736
8736
|
sendMessageWhatsApp: async (...args) => {
|
|
8737
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
8737
|
+
const { sendMessageWhatsApp } = await import("./web-BgTy1WeG.js");
|
|
8738
8738
|
return await sendMessageWhatsApp(...args);
|
|
8739
8739
|
},
|
|
8740
8740
|
sendMessageTelegram: async (...args) => {
|
|
@@ -42121,7 +42121,7 @@ function isModuleNotFoundError(err) {
|
|
|
42121
42121
|
}
|
|
42122
42122
|
async function loadPwAiModule(mode) {
|
|
42123
42123
|
try {
|
|
42124
|
-
return await import("./pw-ai-
|
|
42124
|
+
return await import("./pw-ai-BFHYmEIx.js");
|
|
42125
42125
|
} catch (err) {
|
|
42126
42126
|
if (mode === "soft") return null;
|
|
42127
42127
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -42515,11 +42515,11 @@ function createProfileContext(opts, profile) {
|
|
|
42515
42515
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
42516
42516
|
const profileState = getProfileState();
|
|
42517
42517
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
42518
|
-
await (await import("./pw-ai-
|
|
42518
|
+
await (await import("./pw-ai-BFHYmEIx.js")).closePlaywrightBrowserConnection();
|
|
42519
42519
|
} catch {}
|
|
42520
42520
|
if (profileState.running) await stopRunningBrowser();
|
|
42521
42521
|
try {
|
|
42522
|
-
await (await import("./pw-ai-
|
|
42522
|
+
await (await import("./pw-ai-BFHYmEIx.js")).closePlaywrightBrowserConnection();
|
|
42523
42523
|
} catch {}
|
|
42524
42524
|
if (!fs.existsSync(userDataDir)) return {
|
|
42525
42525
|
moved: false,
|
|
@@ -73116,7 +73116,7 @@ const signalMessageActions = {
|
|
|
73116
73116
|
//#region src/channels/plugins/actions/telegram.ts
|
|
73117
73117
|
const providerId = "telegram";
|
|
73118
73118
|
async function loadTelegramActionHandler() {
|
|
73119
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
73119
|
+
const { handleTelegramAction } = await import("./telegram-actions-Dd_iEzYH.js");
|
|
73120
73120
|
return handleTelegramAction;
|
|
73121
73121
|
}
|
|
73122
73122
|
function readTelegramSendParams(params) {
|
|
@@ -75561,7 +75561,7 @@ function buildPairingReply(params) {
|
|
|
75561
75561
|
|
|
75562
75562
|
//#endregion
|
|
75563
75563
|
//#region src/brand.ts
|
|
75564
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
75564
|
+
const FASED_PRODUCT_VERSION = "0.1.45";
|
|
75565
75565
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
75566
75566
|
|
|
75567
75567
|
//#endregion
|
|
@@ -79472,7 +79472,7 @@ const sendPollDiscordLazy = async (...args) => {
|
|
|
79472
79472
|
return sendPollDiscord(...args);
|
|
79473
79473
|
};
|
|
79474
79474
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
79475
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
79475
|
+
const { monitorDiscordProvider } = await import("./monitor-B8dLCpFA.js");
|
|
79476
79476
|
return monitorDiscordProvider(...args);
|
|
79477
79477
|
};
|
|
79478
79478
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -79500,7 +79500,7 @@ const sendMessageSlackLazy = async (...args) => {
|
|
|
79500
79500
|
return sendMessageSlack(...args);
|
|
79501
79501
|
};
|
|
79502
79502
|
const monitorSlackProviderLazy = async (...args) => {
|
|
79503
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
79503
|
+
const { monitorSlackProvider } = await import("./slack-DcXn5HVj.js");
|
|
79504
79504
|
return monitorSlackProvider(...args);
|
|
79505
79505
|
};
|
|
79506
79506
|
const handleSlackActionLazy = async (...args) => {
|
|
@@ -79520,7 +79520,7 @@ const sendPollTelegramLazy = async (...args) => {
|
|
|
79520
79520
|
return sendPollTelegram(...args);
|
|
79521
79521
|
};
|
|
79522
79522
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
79523
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
79523
|
+
const { monitorTelegramProvider } = await import("./monitor-dqvs6ijC.js");
|
|
79524
79524
|
return monitorTelegramProvider(...args);
|
|
79525
79525
|
};
|
|
79526
79526
|
let webOutboundPromise = null;
|
|
@@ -79541,7 +79541,7 @@ function loadWebLoginQr() {
|
|
|
79541
79541
|
return webLoginQrPromise;
|
|
79542
79542
|
}
|
|
79543
79543
|
function loadWebChannel() {
|
|
79544
|
-
webChannelPromise ??= import("./web-
|
|
79544
|
+
webChannelPromise ??= import("./web-BgTy1WeG.js");
|
|
79545
79545
|
return webChannelPromise;
|
|
79546
79546
|
}
|
|
79547
79547
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as FasedAgentConfig } from "./types.plugin-CvUiB3Kh.js";
|
|
2
|
-
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-
|
|
2
|
+
import { Q as RuntimeWebSearchMetadata, R as WebSearchProviderPlugin, z as WebSearchProviderToolDefinition } from "./types-CMoLtViq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin-sdk/provider-web-search-config-contract.d.ts
|
|
5
5
|
type WebSearchCredentialResolutionSource = "config" | "env" | "none";
|
|
@@ -12,7 +12,7 @@ import "./retry-DycQ4ymF.js";
|
|
|
12
12
|
import "./ip-BkeyFRJr.js";
|
|
13
13
|
import "./ssrf-D_4q0mKh.js";
|
|
14
14
|
import "./optional-runtime-dependency-Bt_3Yigu.js";
|
|
15
|
-
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-
|
|
15
|
+
import { A as fetchJson, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, M as getHeadersWithAuth, N as withCdpSocket, O as withBrowserNavigationPolicy, S as formatAriaSnapshot, c as resolveStrictExistingPathsWithinRoot, f as getChromeWebSocketUrl, k as appendCdpPath, n as loadPlaywrightCore, o as DEFAULT_UPLOAD_DIR, u as DEFAULT_FILL_FIELD_TYPE } from "./runtime-dependency-B5Fut2tT.js";
|
|
16
16
|
import "./ws-CxmRDbD9.js";
|
|
17
17
|
import "./path-alias-guards-BlIJ0AmG.js";
|
|
18
18
|
import "./fs-safe-DztQeyQe.js";
|