@fased/fased 0.1.57 → 0.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/current-model-catalog.js +5 -2
- package/dist/agents/model-catalog-status.js +6 -1
- package/dist/agents/pi-embedded-runner/session-manager-init.js +5 -20
- package/dist/agents/provider-extension-catalog-manifest.js +2 -2
- package/dist/brand.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/control-ui/assets/{app-DltSyY4Y.js → app-CpgQGqe6.js} +5 -5
- package/dist/control-ui/assets/{index-D5JlBp7f.js → index-DiBBflpv.js} +3 -3
- package/dist/control-ui/index.html +1 -1
- package/dist/control-ui/version.json +1 -1
- package/dist/plugin-sdk/{accounts-CmMwe9Dt.js → accounts-BJuN64m-.js} +1 -1
- package/dist/plugin-sdk/{actions-DYViFQiX.js → actions-DaEvM9Bl.js} +2 -2
- package/dist/plugin-sdk/{active-listener-DVbpcisf.js → active-listener-B8Kuanet.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-D-Mfay8i.js → audio-preflight-D7tCO0EH.js} +25 -25
- package/dist/plugin-sdk/{audit-JImYFOzJ.js → audit-CVWH4BVP.js} +1 -1
- package/dist/plugin-sdk/{channel-access-cxCK2mci.js → channel-access-CH9FAS-I.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-B_qYjml8.js → channel-access-configure-CI0je66H.js} +1 -1
- package/dist/plugin-sdk/channel-plugin-common.js +4 -4
- package/dist/plugin-sdk/{chunk-CF8nvZNj.js → chunk-01oBnQjh.js} +1 -1
- package/dist/plugin-sdk/{chunk-items-yLFoO571.js → chunk-items-D2zDJ8q8.js} +1 -1
- package/dist/plugin-sdk/command-status.js +25 -25
- package/dist/plugin-sdk/{commands-registry-CK4KmMG0.js → commands-registry-ckg4fhYa.js} +2 -2
- package/dist/plugin-sdk/{common-Cky4hpqr.js → common-zHvdO8ly.js} +1 -1
- package/dist/plugin-sdk/{config-Dbxj_jUP.js → config-DrhYEiCM.js} +4 -1
- package/dist/plugin-sdk/{config-schema-aKPMn6ML.js → config-schema-BtjeV5Hm.js} +76 -85
- package/dist/plugin-sdk/discord.d.ts +1 -1
- package/dist/plugin-sdk/discord.js +19 -19
- package/dist/plugin-sdk/{handle-action-BSNDD2Vc.js → handle-action-5dhYpMbP.js} +13 -13
- package/dist/plugin-sdk/{helpers-CDo2XBSr.js → helpers-E9aafRzA.js} +1 -1
- package/dist/plugin-sdk/{image-ops-DbeBxbn4.js → image-ops-D2U9ctmu.js} +1 -1
- package/dist/plugin-sdk/index.d.ts +11 -11
- package/dist/plugin-sdk/index.js +27 -27
- package/dist/plugin-sdk/{login-CWXvFTd8.js → login-hql0fNuL.js} +3 -3
- package/dist/plugin-sdk/{login-qr-CJB2zjmM.js → login-qr-DJJ0svux.js} +3 -3
- package/dist/plugin-sdk/{manager-CbiFFLKS.js → manager-ciNnAMBn.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-Bskt9r8i.js → markdown-tables-BKxbua_h.js} +1 -1
- package/dist/plugin-sdk/{media-B3aAg5rh.js → media-DUIZ6x9H.js} +2 -2
- package/dist/plugin-sdk/{monitor-BJs6z7AT.js → monitor-CNSGw4uQ.js} +29 -29
- package/dist/plugin-sdk/{monitor-BYGbTI5V.js → monitor-D-giXewh.js} +32 -32
- package/dist/plugin-sdk/{openresponses-http-BGCl2dS2.js → openresponses-http-dbTd8UMk.js} +25 -25
- package/dist/plugin-sdk/{optional-runtime-dependency-BlTVkcAg.js → optional-runtime-dependency-CKsJL1PD.js} +1 -1
- package/dist/plugin-sdk/{outbound-CIemga5_.js → outbound-DhGrjRft.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-2RckWqrk.js → outbound-attachment-DAF8huFz.js} +2 -2
- package/dist/plugin-sdk/{pairing-message-r-VQfhFB.js → pairing-message-BsJVvXkb.js} +1 -1
- package/dist/plugin-sdk/{pairing-store-uPnLfGgB.js → pairing-store-DwM-BNbj.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-BpEilAym.js → pi-model-discovery-DkIdlJvJ.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DwNdFaz-.js → pi-model-discovery-runtime-Cv7okUMt.js} +2 -2
- package/dist/plugin-sdk/{pw-ai-H7UgunQQ.js → pw-ai-Dxd87W3J.js} +3 -3
- package/dist/plugin-sdk/{replies-CKMwkH4G.js → replies-Bx61SvAC.js} +2 -2
- package/dist/plugin-sdk/{resolve-outbound-target-B68fSoGi.js → resolve-outbound-target-bc-FpPZg.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-B8fOfihG.js → resolve-route-D0eBYPtb.js} +1 -1
- package/dist/plugin-sdk/{retry-policy-B6GQldxB.js → retry-policy-HTrC4zfC.js} +1 -1
- package/dist/plugin-sdk/{runtime-nVJl3PlS.js → runtime-BVkIrYLQ.js} +3 -3
- package/dist/plugin-sdk/{runtime-dependency-DlqVSsSs.js → runtime-dependency-B2PqMdBu.js} +11 -11
- package/dist/plugin-sdk/sat-runtime.js +25 -25
- package/dist/plugin-sdk/{send-D3DQOg2a.js → send-BGDGzxUu.js} +6 -6
- package/dist/plugin-sdk/{send-BCJ4hi3t.js → send-C3QWSYLR.js} +8 -8
- package/dist/plugin-sdk/{send-hSu1HWms.js → send-DT2egZNK.js} +7 -7
- package/dist/plugin-sdk/{send-CPK_HlYW.js → send-DgzZUx2i.js} +5 -5
- package/dist/plugin-sdk/{send-BHokB4TR.js → send-KJy3ajA3.js} +6 -6
- package/dist/plugin-sdk/{session-DQ4Dr-mf.js → session-BCIEFOu1.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-CmdoKLh_.js → skill-commands-CyIkcR8P.js} +2 -2
- package/dist/plugin-sdk/{slack-B70NHpMF.js → slack-DjKNh2uh.js} +37 -37
- package/dist/plugin-sdk/{slack-actions-fSmP981b.js → slack-actions-CeM9LWDp.js} +11 -11
- package/dist/plugin-sdk/slack.d.ts +1 -1
- package/dist/plugin-sdk/slack.js +9 -9
- package/dist/plugin-sdk/{sticker-cache-B4dG2sKU.js → sticker-cache-DcWzQ2wx.js} +3 -3
- package/dist/plugin-sdk/{tables-EX4Hy-a-.js → tables-B2iehyjG.js} +1 -1
- package/dist/plugin-sdk/{targets-BeGUCGWK.js → targets-BPket0SF.js} +1 -1
- package/dist/plugin-sdk/{telegram-actions-CM8SJgc9.js → telegram-actions-Cx_HWVht.js} +28 -28
- package/dist/plugin-sdk/telegram.d.ts +1 -1
- package/dist/plugin-sdk/telegram.js +8 -8
- package/dist/plugin-sdk/{thread-bindings.lifecycle-tHK_1mvp.js → thread-bindings.lifecycle-CYH69SIw.js} +3 -3
- package/dist/plugin-sdk/{thread-bindings.state-D7xG1GHu.js → thread-bindings.state-BN6461WG.js} +2 -2
- package/dist/plugin-sdk/{web-BFolfZ3i.js → web-vR-oNiBv.js} +30 -30
- package/dist/plugin-sdk/{whatsapp-actions-CYmleHCz.js → whatsapp-actions-BYNf8ceY.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-BEwm4GK3.js → whatsapp-heartbeat-DZwa8MF0.js} +2 -2
- package/dist/plugin-sdk/whatsapp.d.ts +6 -6
- package/dist/plugin-sdk/whatsapp.js +12 -12
- package/dist/plugin-sdk/{wsl-BtMDzMv5.js → wsl-WGtdw_6h.js} +3 -3
- package/dist/plugin-sdk/{zod-schema.providers-core-FaYR6KdD.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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as mergeSessionEntry, A as deliveryContextKey, An as GATEWAY_CLIENT_IDS, B as INPUT_PROVENANCE_KIND_VALUES, Bn as CLI_DEFAULT_OPERATOR_SCOPES, C as recordSessionMetaFromInbound, Cn as isGatewayMessageChannel, D as isCacheEnabled, Dn as normalizeMessageChannel, Dt as getChannelDock, E as updateSessionStoreEntry, En as listDeliverableMessageChannels, F as archiveSessionTranscripts, Fn as normalizeAnyChannelId, Ft as trimMessagingTarget, G as resolveSessionLockMaxHoldFromTimeout, Gn as getPluginCommandSpecs, H as hasInterSessionUserProvenance, Hn as resolveLeastPrivilegeOperatorScopesForMethod, I as capArrayByJsonBytes, In as normalizeChannelId$2, It as isWhatsAppGroupJid, J as resolveChannelResetConfig, Jn as createInternalHookEvent, K as resolveSessionKey$1, Kn as listPluginCommands, L as countToolResults, Ln as logMutatingAdminRpcAudit, Lt as normalizeWhatsAppTarget, M as normalizeDeliveryContext, Mn as GATEWAY_CLIENT_NAMES, N as normalizeSessionDeliveryFields, Nn as getChatChannelMeta, O as resolveCacheTtlMs$1, On as resolveGatewayMessageChannel, Ot as listChannelDocks, P as normalizeAccountId$1, Pn as listChatChannels, Pt as looksLikeHandleOrPhoneTarget, Q as DEFAULT_RESET_TRIGGERS, R as extractToolCallNames, Rn as consumeMutatingAdminRpcBudget, S as readSessionUpdatedAt, Sn as isDeliverableMessageChannel, T as updateSessionStore, Tn as isMarkdownCapableMessageChannel, U as normalizeInputProvenance, Un as clearPluginCommands, V as applyInputProvenanceToUserMessage, Vn as authorizeOperatorScopesForMethod, W as acquireSessionWriteLock, Wn as executePluginCommand, X as resolveSessionResetType, Xn as normalizePluginHttpPath, Y as resolveSessionResetPolicy, Yn as triggerInternalHook, Z as resolveThreadFlag, _ as appendAssistantMessageToSessionTranscript, _n as resolveChannelGroupRequireMention, a as createPluginRegistry, an as resolveTelegramToken, at as resolveMainSessionKey, b as resolveAndPersistSessionFile, bn as resolveGroupSessionKey, bt as parseSlackTarget, c as listAgentsForGateway, ct as listChannelPlugins, d as lookupContextTokens, dn as resolveDefaultSignalAccountId, en as createTelegramActionGate, et as resolveFreshSessionTotalTokens, f as resolveContextTokensForModel, fn as resolveSignalAccount, g as parseSessionThreadInfo, gn as resolveChannelGroupPolicy, h as extractDeliveryInfo, hn as resolveIMessageAccount, i as setActivePluginRegistry, in as resolveTelegramAccount, it as resolveExplicitAgentSessionKey, j as mergeDeliveryContext, jn as GATEWAY_CLIENT_MODES, k as deliveryContextFromSession, kn as resolveMessageChannel, l as loadCombinedSessionStoreForGateway, ln as listEnabledSignalAccounts, lt as normalizeChannelId$1, mn as resolveDefaultIMessageAccountId, n as getActivePluginRegistryKey, nn as listTelegramAccountIds, nt as canonicalizeMainSessionAlias, o as createRuntimeHelpers, on as buildChannelAccountBindings, ot as deriveSessionMetaPatch, p as ensureFasedAgentModelsJson, pn as listIMessageAccountIds, q as evaluateSessionFreshness, qn as matchPluginCommand, r as requireActivePluginRegistry, rt as resolveAgentMainSessionKey, s as classifySessionKey, st as getChannelPlugin, t as getActivePluginRegistry, tn as listEnabledTelegramAccounts, tt as setSessionRuntimeModel, u as resolveSessionModelRef, un as listSignalAccountIds, v as resolveMirroredTranscriptText, vn as resolveChannelGroupToolsPolicy, w as updateLastRoute, wn as isInternalMessageChannel, x as loadSessionStore, xn as INTERNAL_MESSAGE_CHANNEL, y as resolveSessionTranscriptFile, z as parseInlineDirectives$1, zn as ADMIN_SCOPE, zt as normalizeSignalMessagingTarget } from "./runtime-
|
|
2
|
+
import { $ as mergeSessionEntry, A as deliveryContextKey, An as GATEWAY_CLIENT_IDS, B as INPUT_PROVENANCE_KIND_VALUES, Bn as CLI_DEFAULT_OPERATOR_SCOPES, C as recordSessionMetaFromInbound, Cn as isGatewayMessageChannel, D as isCacheEnabled, Dn as normalizeMessageChannel, Dt as getChannelDock, E as updateSessionStoreEntry, En as listDeliverableMessageChannels, F as archiveSessionTranscripts, Fn as normalizeAnyChannelId, Ft as trimMessagingTarget, G as resolveSessionLockMaxHoldFromTimeout, Gn as getPluginCommandSpecs, H as hasInterSessionUserProvenance, Hn as resolveLeastPrivilegeOperatorScopesForMethod, I as capArrayByJsonBytes, In as normalizeChannelId$2, It as isWhatsAppGroupJid, J as resolveChannelResetConfig, Jn as createInternalHookEvent, K as resolveSessionKey$1, Kn as listPluginCommands, L as countToolResults, Ln as logMutatingAdminRpcAudit, Lt as normalizeWhatsAppTarget, M as normalizeDeliveryContext, Mn as GATEWAY_CLIENT_NAMES, N as normalizeSessionDeliveryFields, Nn as getChatChannelMeta, O as resolveCacheTtlMs$1, On as resolveGatewayMessageChannel, Ot as listChannelDocks, P as normalizeAccountId$1, Pn as listChatChannels, Pt as looksLikeHandleOrPhoneTarget, Q as DEFAULT_RESET_TRIGGERS, R as extractToolCallNames, Rn as consumeMutatingAdminRpcBudget, S as readSessionUpdatedAt, Sn as isDeliverableMessageChannel, T as updateSessionStore, Tn as isMarkdownCapableMessageChannel, U as normalizeInputProvenance, Un as clearPluginCommands, V as applyInputProvenanceToUserMessage, Vn as authorizeOperatorScopesForMethod, W as acquireSessionWriteLock, Wn as executePluginCommand, X as resolveSessionResetType, Xn as normalizePluginHttpPath, Y as resolveSessionResetPolicy, Yn as triggerInternalHook, Z as resolveThreadFlag, _ as appendAssistantMessageToSessionTranscript, _n as resolveChannelGroupRequireMention, a as createPluginRegistry, an as resolveTelegramToken, at as resolveMainSessionKey, b as resolveAndPersistSessionFile, bn as resolveGroupSessionKey, bt as parseSlackTarget, c as listAgentsForGateway, ct as listChannelPlugins, d as lookupContextTokens, dn as resolveDefaultSignalAccountId, en as createTelegramActionGate, et as resolveFreshSessionTotalTokens, f as resolveContextTokensForModel, fn as resolveSignalAccount, g as parseSessionThreadInfo, gn as resolveChannelGroupPolicy, h as extractDeliveryInfo, hn as resolveIMessageAccount, i as setActivePluginRegistry, in as resolveTelegramAccount, it as resolveExplicitAgentSessionKey, j as mergeDeliveryContext, jn as GATEWAY_CLIENT_MODES, k as deliveryContextFromSession, kn as resolveMessageChannel, l as loadCombinedSessionStoreForGateway, ln as listEnabledSignalAccounts, lt as normalizeChannelId$1, mn as resolveDefaultIMessageAccountId, n as getActivePluginRegistryKey, nn as listTelegramAccountIds, nt as canonicalizeMainSessionAlias, o as createRuntimeHelpers, on as buildChannelAccountBindings, ot as deriveSessionMetaPatch, p as ensureFasedAgentModelsJson, pn as listIMessageAccountIds, q as evaluateSessionFreshness, qn as matchPluginCommand, r as requireActivePluginRegistry, rt as resolveAgentMainSessionKey, s as classifySessionKey, st as getChannelPlugin, t as getActivePluginRegistry, tn as listEnabledTelegramAccounts, tt as setSessionRuntimeModel, u as resolveSessionModelRef, un as listSignalAccountIds, v as resolveMirroredTranscriptText, vn as resolveChannelGroupToolsPolicy, w as updateLastRoute, wn as isInternalMessageChannel, x as loadSessionStore, xn as INTERNAL_MESSAGE_CHANNEL, y as resolveSessionTranscriptFile, z as parseInlineDirectives$1, zn as ADMIN_SCOPE, zt as normalizeSignalMessagingTarget } from "./runtime-BVkIrYLQ.js";
|
|
3
3
|
import { a as clearActiveProgressLine, c as CHANNEL_IDS, f as normalizeChatChannelId, i as defaultRuntime, l as CHAT_CHANNEL_ORDER, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-DBPNbQDQ.js";
|
|
4
4
|
import { S as normalizeLogLevel, d as isRich, f as theme, i as logVerbose, l as warn, o as setVerbose, p as getChildLogger, s as shouldLogVerbose, t as danger, u as colorize, w as resolvePreferredFasedAgentTmpDir } from "./globals-B_jjtAje.js";
|
|
5
5
|
import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-BEmvSyOV.js";
|
|
6
6
|
import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$5, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, t as CONFIG_DIR, v as shortenHomePath, y as sleep } from "./utils-CYk9EKoq.js";
|
|
7
|
-
import { $ as resetConfigOverrides, $i as
|
|
7
|
+
import { $ as resetConfigOverrides, $i as supportsXHighThinking, $n as ANTHROPIC_MODEL_IDS, $r as QWEN_API_MODEL_IDS, $t as resolveSubagentSpawnModelSelection, Aa as applyExclusiveSlotSelection, Ai as isStandardProviderCatalogEntry, An as listProvidersWithStoredCredentials, Ar as MINIMAX_MODEL_IDS, At as isSafeExecutableValue, B as MODEL_APIS, Bi as SYNTHETIC_MODEL_IDS, Bn as findNormalizedProviderValue$1, Br as OLLAMA_ROUTE_ID, Bt as buildModelAliasIndex, C as resolveIMessageAttachmentRoots, Ca as parseBooleanValue$1, Ci as XIAOMI_PROVIDER_BRAND_ID, Cn as isProfileInCooldown, Cr as KIMI_CODING_ROUTE_ID, Ct as unwrapKnownDispatchWrapperInvocation, Da as resolveEffectiveEnableState, Di as ZAI_ROUTE_ID, Dn as resolveApiKeyForProfile, Dr as LMSTUDIO_ROUTE_ID, Dt as normalizeSafeBinProfileFixtures, Ea as normalizePluginsConfig, Ei as ZAI_PROVIDER_BRAND_ID, En as resolveProfilesUnavailableReason, Er as LMSTUDIO_PROVIDER_BRAND_ID, Et as SAFE_BIN_PROFILES, Fi as LITELLM_BASE_URL, Fr as MISTRAL_ROUTE_ID, G as isAvatarDataUrl, Gi as CLOUDFLARE_AI_GATEWAY_ROUTE_ID, Gn as isPathInside, Gr as OPENCODE_ZEN_PROVIDER_BRAND_ID, Gt as normalizeModelRef$1, H as parseDurationMs, Hi as HUGGINGFACE_MODEL_IDS, Hn as clearPluginManifestRegistryCache, Hr as OPENAI_API_ROUTE_ID, Ii as XIAOMI_MODEL_IDS, Ir as MOONSHOT_MODEL_IDS, It as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, J as isSupportedLocalAvatarExtension, Ji as formatXHighModelHint, Jn as isPrivateNetworkBaseUrl, Jr as OPENROUTER_PROVIDER_BRAND_ID, Jt as resolveConfiguredModelRef, K as isAvatarHttpUrl, Ki as BASE_THINKING_LEVELS, Kn as safeStatSync, Kr as OPENCODE_ZEN_ROUTE_ID, Kt as normalizeProviderId$1, Li as VERCEL_AI_GATEWAY_MODEL_IDS, Ln as withFileLock, Lr as MOONSHOT_PROVIDER_BRAND_ID, Mi as lookupProviderManifestModelCapability, Mn as ensureAuthProfileStore, Mr as MINIMAX_PROVIDER_BRAND_ID, Ni as providerModelRecommendationRank, Nn as resolveAuthStorePathForDisplay, Nr as MISTRAL_MODEL_IDS, Oa as resolveMemorySlotDecision, Oi as getProviderBrandManifestForRoute, On as dedupeProfileIds, Or as MINIMAX_API_ROUTE_ID, Ot as resolveSafeBinProfiles, Pi as resolveProviderRouteModelCapability, Pn as resolveFasedAgentAgentDir, Pr as MISTRAL_PROVIDER_BRAND_ID, Q as getConfigOverrides, Qi as supportsThinkingLevel, Qn as splitTrailingAuthProfile, Qr as QIANFAN_ROUTE_ID, Qt as resolveReasoningDefault, Ri as VENICE_MODEL_IDS, Rr as MOONSHOT_ROUTE_ID, Rt as buildAllowedModelSet, S as mergeInboundPathRoots, Sa as isTruthyEnvValue, Si as XAI_ROUTE_ID, Sn as getSoonestCooldownExpiry, Sr as KIMI_CODING_MODEL_IDS, St as isShellWrapperExecutable, T as normalizeScpRemoteHost, Ti as ZAI_MODEL_IDS, Tn as markAuthProfileUsed, Tr as LITELLM_ROUTE_ID, Tt as splitShellArgs, Ui as CLOUDFLARE_AI_GATEWAY_MODEL_IDS, Un as loadPluginManifestRegistry, Ur as OPENAI_CODEX_ROUTE_ID, Ut as isCliProvider, V as getBlockedNetworkModeReason, Vi as OPENCODE_ZEN_MODEL_IDS, Vn as normalizeProviderId$2, Vr as OPENAI_API_MODEL_IDS, Vt as findNormalizedProviderValue, W as AVATAR_MAX_BYTES, Wi as CLOUDFLARE_AI_GATEWAY_PROVIDER_BRAND_ID, Wn as discoverFasedAgentPlugins, Wr as OPENAI_PROVIDER_BRAND_ID, Wt as modelKey, Xi as normalizeThinkLevel, Xn as assertSecretInputResolved, Xr as QIANFAN_MODEL_IDS, Yn as normalizeSecretInput, Yr as OPENROUTER_ROUTE_ID, Yt as resolveDefaultModelForAgent, Z as validateJsonSchemaValue, Zi as resolveModelThinkingCapability, Zn as coerceSecretRef, Zr as QIANFAN_PROVIDER_BRAND_ID, Zt as resolveModelRefFromString, _a as isDangerousHostInheritedEnvVarName, _i as VOLCENGINE_PLAN_ROUTE_ID, _n as normalizeModelCatalogModelId, _r as GOOGLE_GEMINI_CLI_ROUTE_ID, _t as matchAllowlist, a as readConfigFileSnapshotForWrite, aa as resolvePluginInstallDir, ai as SYNTHETIC_ROUTE_ID, an as getApiKeyForModel, ar as BYTEPLUS_PLAN_ROUTE_ID, at as unsetConfigValueAtPath, b as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ba as formatCliCommand, bi as XAI_MODEL_IDS, br as HUGGINGFACE_PROVIDER_BRAND_ID, bt as extractShellWrapperInlineCommand, c as validateConfigObjectWithPlugins, ca as extractErrorCode, ci as VENICE_PROVIDER_BRAND_ID, cn as resolveApiKeyForProvider, cr as CHUTES_MODEL_IDS, ct as isTrustedSafeBinPath, di as VERCEL_AI_GATEWAY_ROUTE_ID, dn as CURRENT_MODEL_PROVIDER_CATALOG, dr as COPILOT_PROVIDER_BRAND_ID, dt as validateSafeBinArgv, ea as DEFAULT_CONTEXT_TOKENS, ei as QWEN_API_ROUTE_ID, en as resolveThinkingDefault, er as ANTHROPIC_PROVIDER_BRAND_ID, et as setConfigOverride, fa as extractArchive, fi as VLLM_PROVIDER_BRAND_ID, fn as cloneCurrentModelProvider, fr as COPILOT_PROXY_MODEL_IDS, ft as analyzeShellCommand, gi as VOLCENGINE_MODEL_IDS, gn as mergeModelCatalogRowsByAuthority, gr as GOOGLE_API_ROUTE_ID, gt as DEFAULT_SAFE_BINS, ha as isDangerousHostEnvOverrideVarName, hi as VOLCENGINE_CODING_ROUTE_ID, hn as buildModelCatalogMergeKey, hr as CUSTOM_PROVIDER_ROUTE_ID, ht as splitCommandChain, i as readConfigFileSnapshot, ia as installPluginFromNpmSpec, ii as SYNTHETIC_PROVIDER_BRAND_ID, ir as BYTEPLUS_MODEL_IDS, it as setConfigValueAtPath, ji as listProviderBrandManifests, jn as markAuthProfileGood, jr as MINIMAX_PORTAL_ROUTE_ID, ki as isOpenAISignInRuntimeModelSupported, kn as listProfilesForProvider, kr as MINIMAX_CN_ROUTE_ID, kt as applyMergePatch, la as formatErrorMessage, li as VENICE_ROUTE_ID, ln as resolveEnvApiKey, lr as CHUTES_PROVIDER_BRAND_ID, lt as listWritableExplicitTrustedSafeBinDirs, ma as resolveShellEnvFallbackTimeoutMs, mi as VOLCENGINE_CODING_MODEL_IDS, mn as listCurrentModelCatalogRows, mr as CUSTOM_PROVIDER_BRAND_ID, mt as isWindowsPlatform, n as loadConfig, na as DEFAULT_PROVIDER, ni as QWEN_CODING_PLAN_ROUTE_ID, nr as BYTEPLUS_CODING_MODEL_IDS, nt as getConfigValueAtPath, o as resolveConfigSnapshotHash, oa as getPackageManifestMetadata, oi as TOGETHER_PROVIDER_BRAND_ID, on as getCustomProviderApiKey, or as BYTEPLUS_PROVIDER_BRAND_ID, ot as ensurePluginAllowlisted, pa as getShellPathFromLoginShell, pi as VLLM_ROUTE_ID, pn as listCurrentModelCatalogProviderIds, pr as COPILOT_PROXY_ROUTE_ID, pt as buildEnforcedShellCommand, q as isPathWithinRoot, qi as formatThinkingLevels, qn as resolveAuthProfileDisplayLabel, qr as OPENROUTER_MODEL_IDS, r as parseConfigJson5, ra as VERSION, ri as QWEN_PROVIDER_BRAND_ID, rr as BYTEPLUS_CODING_ROUTE_ID, rt as parseConfigPath, s as writeConfigFile, si as TOGETHER_ROUTE_ID, sn as requireApiKey, sr as BYTEPLUS_ROUTE_ID, st as getTrustedSafeBinDirs, t as createConfigIO, ta as DEFAULT_MODEL, ti as QWEN_CODING_PLAN_MODEL_IDS, tn as normalizeGoogleModelId, tr as ANTHROPIC_ROUTE_ID, tt as unsetConfigOverride, ui as VERCEL_AI_GATEWAY_PROVIDER_BRAND_ID, un as resolveModelAuthMode, ur as CHUTES_ROUTE_ID, ut as normalizeTrustedSafeBinDirs, va as sanitizeHostExecEnv, vi as VOLCENGINE_PROVIDER_BRAND_ID, vn as normalizeModelCatalogProviderId, vr as GOOGLE_GEMINI_MODEL_IDS, vt as resolveAllowlistCandidatePath, w as resolveIMessageRemoteAttachmentRoots, wa as applyTestPluginDefaults, wi as XIAOMI_ROUTE_ID, wn as markAuthProfileFailure, wr as LITELLM_PROVIDER_BRAND_ID, wt as unwrapKnownShellMultiplexerInvocation, x as isInboundPathAllowed, xa as resolveCliName, xi as XAI_PROVIDER_BRAND_ID, xn as resolveAuthProfileOrder, xr as HUGGINGFACE_ROUTE_ID, xt as isDispatchWrapperExecutable, ya as resolveOwnerDisplaySetting, yi as VOLCENGINE_ROUTE_ID, yn as normalizeProviderCatalogRows, yr as GOOGLE_PROVIDER_BRAND_ID, yt as resolveCommandResolutionFromArgv, zi as TOGETHER_MODEL_IDS, zr as OLLAMA_PROVIDER_BRAND_ID, zt as buildConfiguredAllowlistKeys } from "./config-DrhYEiCM.js";
|
|
8
8
|
import { A as openBoundaryFile, C as ensureAgentWorkspace, D as resolveFasedAgentPackageRoot, E as resolveDefaultAgentWorkspaceDir, F as resolvePathViaExistingAncestorSync, G as normalizeAtHashSlug, H as resolveAgentModelFallbackValues, J as normalizeStringEntriesLower, K as normalizeHyphenSlug, O as resolveFasedAgentPackageRootSync, S as DEFAULT_USER_FILENAME, T as loadWorkspaceBootstrapFiles, U as resolveAgentModelPrimaryValue, W as toAgentModelListLike, _ as DEFAULT_BOOTSTRAP_FILENAME, a as resolveAgentDir, b as DEFAULT_SOUL_FILENAME, c as resolveAgentSkillsFilter, d as resolveEffectiveModelFallbacks, f as resolveRunModelFallbacksOverride, g as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, j as openBoundaryFileSync, l as resolveAgentWorkspaceDir, m as resolveSessionAgentIds, n as listAgentEntries, p as resolveSessionAgentId, q as normalizeStringEntries, r as listAgentIds, s as resolveAgentModelFallbacksOverride, t as hasConfiguredModelFallbacks, u as resolveDefaultAgentId, v as DEFAULT_HEARTBEAT_FILENAME, w as filterBootstrapFilesForSession, x as DEFAULT_TOOLS_FILENAME, y as DEFAULT_IDENTITY_FILENAME } from "./agent-scope-CCjfjKoO.js";
|
|
9
9
|
import { t as normalizeChatType } from "./chat-type-C0osVllE.js";
|
|
10
10
|
import { n as resolveAccountEntry } from "./account-helpers-Bdfws46K.js";
|
|
@@ -13,7 +13,7 @@ import { a as resolveDiscordAccount, r as listEnabledDiscordAccounts, t as creat
|
|
|
13
13
|
import { i as resolveSlackAccount } from "./accounts-CuqIKU8X.js";
|
|
14
14
|
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BbFvCoKk.js";
|
|
15
15
|
import { n as runExec, r as spawnWithFallback, t as runCommandWithTimeout } from "./exec-DQ8j4Fm3.js";
|
|
16
|
-
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-
|
|
16
|
+
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-BJuN64m-.js";
|
|
17
17
|
import { S as resolveChannelEntryMatchWithFallback, b as normalizeChannelSlug, y as buildChannelKeyCandidates } from "./allow-list-DyAxs4yw.js";
|
|
18
18
|
import { n as redactSensitiveText, r as redactToolDetail, t as getDefaultRedactPatterns } from "./redact-Bm8vu_ju.js";
|
|
19
19
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-CUK__1s1.js";
|
|
@@ -21,17 +21,17 @@ import { t as runTasksWithConcurrency } from "./run-with-concurrency-BsDJWzgM.js
|
|
|
21
21
|
import { n as retryAsync } from "./retry-DstNBhDW.js";
|
|
22
22
|
import { a as resolveSessionTranscriptPath, c as resolveSessionTranscriptsDirForAgent, i as resolveSessionFilePathOptions, l as resolveStorePath, n as resolveDefaultSessionStorePath, r as resolveSessionFilePath } from "./paths-CTZ2RS_E.js";
|
|
23
23
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BJQWUdmU.js";
|
|
24
|
-
import { l as resolveChannelDefaultAccountId } from "./pairing-message-
|
|
24
|
+
import { l as resolveChannelDefaultAccountId } from "./pairing-message-BsJVvXkb.js";
|
|
25
25
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-l_6RdoMw.js";
|
|
26
26
|
import { t as normalizeRequestInitHeadersForFetch } from "./fetch-headers-my7hgV2G.js";
|
|
27
27
|
import { a as isBlockedHostnameOrIp, t as SsrFBlockedError } from "./ssrf-fG4UHKBw.js";
|
|
28
28
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-CeG6u6ld.js";
|
|
29
29
|
import { n as redactSensitiveUrlLikeString, t as redactSensitiveUrl } from "./redact-sensitive-url-g-ukZjwA.js";
|
|
30
|
-
import { a as formatIMessageChatTarget, c as normalizeIMessageHandle, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, l as parseIMessageTarget, o as formatIMessageTargetForLog, r as createIMessageRpcClient, s as isAllowedIMessageSender, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, M as warnMissingProviderGroupPolicyFallbackOnce, b as setOnboardingChannelEnabled, c as parseOnboardingEntriesAllowingWildcard, f as promptParsedAllowFromForScopedChannel, h as resolveAccountIdForConfigure, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, l as patchChannelConfigForAccount, v as setChannelDmPolicyWithAllowFrom } from "./helpers-
|
|
32
|
-
import { A as formatLocationText, F as isSenderIdAllowed, I as mergeDmAllowFromSources, L as resolveGroupAllowFromSources, N as isVoiceCompatibleAudio, P as firstDefined$1, a as resolveCronStorePath, d as buildTelegramGroupPeerId, i as loadCronStore, j as toLocationContext, o as saveCronStore } from "./wsl-
|
|
33
|
-
import { a as upsertChannelPairingRequest, c as getPairingAdapter, i as removeChannelAllowFromStoreEntry, l as listPairingChannels, n as readChannelAllowFromStore, o as readJsonFileWithFallback, s as writeJsonFileAtomically, t as addChannelAllowFromStoreEntry } from "./pairing-store-
|
|
34
|
-
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, o as chunkTextWithMode, p as chunkTextByBreakResolver, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-
|
|
30
|
+
import { a as formatIMessageChatTarget, c as normalizeIMessageHandle, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, l as parseIMessageTarget, o as formatIMessageTargetForLog, r as createIMessageRpcClient, s as isAllowedIMessageSender, t as sendMessageIMessage } from "./send-KJy3ajA3.js";
|
|
31
|
+
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, M as warnMissingProviderGroupPolicyFallbackOnce, b as setOnboardingChannelEnabled, c as parseOnboardingEntriesAllowingWildcard, f as promptParsedAllowFromForScopedChannel, h as resolveAccountIdForConfigure, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, l as patchChannelConfigForAccount, v as setChannelDmPolicyWithAllowFrom } from "./helpers-E9aafRzA.js";
|
|
32
|
+
import { A as formatLocationText, F as isSenderIdAllowed, I as mergeDmAllowFromSources, L as resolveGroupAllowFromSources, N as isVoiceCompatibleAudio, P as firstDefined$1, a as resolveCronStorePath, d as buildTelegramGroupPeerId, i as loadCronStore, j as toLocationContext, o as saveCronStore } from "./wsl-WGtdw_6h.js";
|
|
33
|
+
import { a as upsertChannelPairingRequest, c as getPairingAdapter, i as removeChannelAllowFromStoreEntry, l as listPairingChannels, n as readChannelAllowFromStore, o as readJsonFileWithFallback, s as writeJsonFileAtomically, t as addChannelAllowFromStoreEntry } from "./pairing-store-DwM-BNbj.js";
|
|
34
|
+
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, o as chunkTextWithMode, p as chunkTextByBreakResolver, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-01oBnQjh.js";
|
|
35
35
|
import { c as normalizeDeviceAuthScopes, i as clearDevicePairing, s as normalizeDeviceAuthRole } from "./tailscale-status-DwpNdO3Z.js";
|
|
36
36
|
import { c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-CeVw7Mn2.js";
|
|
37
37
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-BbnqfVuu.js";
|
|
@@ -41,37 +41,37 @@ import { a as logMessageProcessed, i as logLaneEnqueue, m as isDiagnosticsEnable
|
|
|
41
41
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DqgfGYqZ.js";
|
|
42
42
|
import { t as redactIdentifier } from "./redact-identifier-Lt7t3l7S.js";
|
|
43
43
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-CoMJ1ry1.js";
|
|
44
|
-
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-
|
|
45
|
-
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-
|
|
44
|
+
import { t as importOptionalRuntimeDependency } from "./optional-runtime-dependency-CKsJL1PD.js";
|
|
45
|
+
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-D2U9ctmu.js";
|
|
46
46
|
import { t as resolveMemorySearchConfig } from "./memory-search-DTjIMw8J.js";
|
|
47
|
-
import { i as executeWithApiKeyRotation, n as parseGeminiAuth, r as collectProviderApiKeysForExecution } from "./manager-
|
|
47
|
+
import { i as executeWithApiKeyRotation, n as parseGeminiAuth, r as collectProviderApiKeysForExecution } from "./manager-ciNnAMBn.js";
|
|
48
48
|
import { c as normalizeExtraMemoryPaths, s as listMemoryFiles } from "./internal-CG_nHo-2.js";
|
|
49
49
|
import { i as resolveQmdScopeDenial } from "./qmd-scope-CdX34VCV.js";
|
|
50
|
-
import { _ as estimateBase64DecodedBytes, a as jsonResult, d as readStringParam, f as sanitizeContentBlocksImages, g as canonicalizeBase64, h as resolveImageSanitizationLimits, i as imageResultFromFile, l as readStringArrayParam, m as sanitizeToolResultImages, n as createActionGate, p as sanitizeImageBlocks, r as imageResult, s as readNumberParam, u as readStringOrNumberParam } from "./common-
|
|
51
|
-
import { S as isCommandFlagEnabled, _ as normalizeElevatedLevel, a as listChatCommands, b as normalizeVerboseLevel, g as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as resolveNativeCommandName, o as listChatCommandsForConfig, u as normalizeCommandBody, v as normalizeReasoningLevel, w as isRestartEnabled, x as resolveResponseUsageMode, y as normalizeUsageDisplay } from "./commands-registry-
|
|
52
|
-
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as isLoopbackHost, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, J as resolveClientIp, K as isSecureWebSocketUrl, 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, W as isLoopbackAddress, X as rawDataToString, Y as resolveForwardedClientIp, _ 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, q as isTrustedProxyAddress, 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-
|
|
50
|
+
import { _ as estimateBase64DecodedBytes, a as jsonResult, d as readStringParam, f as sanitizeContentBlocksImages, g as canonicalizeBase64, h as resolveImageSanitizationLimits, i as imageResultFromFile, l as readStringArrayParam, m as sanitizeToolResultImages, n as createActionGate, p as sanitizeImageBlocks, r as imageResult, s as readNumberParam, u as readStringOrNumberParam } from "./common-zHvdO8ly.js";
|
|
51
|
+
import { S as isCommandFlagEnabled, _ as normalizeElevatedLevel, a as listChatCommands, b as normalizeVerboseLevel, g as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as resolveNativeCommandName, o as listChatCommandsForConfig, u as normalizeCommandBody, v as normalizeReasoningLevel, w as isRestartEnabled, x as resolveResponseUsageMode, y as normalizeUsageDisplay } from "./commands-registry-ckg4fhYa.js";
|
|
52
|
+
import { A as fetchJson$1, B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as normalizeCdpWsUrl, D as assertBrowserNavigationResultAllowed, E as assertBrowserNavigationAllowed, F as stopChromeExtensionRelayServer, G as isLoopbackHost, H as DEFAULT_FASED_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, J as resolveClientIp, K as isSecureWebSocketUrl, 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, W as isLoopbackAddress, X as rawDataToString, Y as resolveForwardedClientIp, _ 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, q as isTrustedProxyAddress, 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-B2PqMdBu.js";
|
|
53
53
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DjgDArrp.js";
|
|
54
54
|
import { a as writeFileWithinRoot, n as openFileWithinRoot, r as readFileWithinRoot, t as SafeOpenError } from "./fs-safe-g4g7GT02.js";
|
|
55
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
56
|
-
import { a as fetchRemoteMedia, d as getDefaultMediaLocalRoots, i as MediaFetchError, n as loadWebMedia, o as readResponseWithLimit, t as getDefaultLocalRoots, u as getAgentScopedMediaLocalRoots } from "./media-
|
|
57
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, l as markdownToSignalTextChunks, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
58
|
-
import { a as saveMediaBuffer, i as getMediaDir, n as ensureMediaDir } from "./outbound-attachment-
|
|
55
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BKxbua_h.js";
|
|
56
|
+
import { a as fetchRemoteMedia, d as getDefaultMediaLocalRoots, i as MediaFetchError, n as loadWebMedia, o as readResponseWithLimit, t as getDefaultLocalRoots, u as getAgentScopedMediaLocalRoots } from "./media-DUIZ6x9H.js";
|
|
57
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, l as markdownToSignalTextChunks, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-BGDGzxUu.js";
|
|
58
|
+
import { a as saveMediaBuffer, i as getMediaDir, n as ensureMediaDir } from "./outbound-attachment-DAF8huFz.js";
|
|
59
59
|
import { t as resolveFetch } from "./fetch-BtmoPIlf.js";
|
|
60
|
-
import { B as isSessionBindingError, C as resolveThreadBindingMaxAgeMs$1, F as resolveThreadBindingIntroText, G as resolveSessionStorePathForAcp, I as resolveThreadBindingThreadName, K as upsertAcpSessionMeta, L as SYSTEM_MARK, N as formatThreadBindingDurationLabel, R as prefixSystemMessage, S as resolveThreadBindingMaxAgeExpiresAt, U as listAcpSessionEntries, W as readAcpSessionEntry, b as resolveThreadBindingIdleTimeoutMs$1, c as getThreadBindingManager, x as resolveThreadBindingInactivityExpiresAt, z as getSessionBindingService } from "./thread-bindings.state-
|
|
61
|
-
import { c as getSkillsSnapshotVersion, d as resolveSkillsPromptForRun, f as syncSkillsToWorkspace, h as sanitizeEnvVars, i as resolveSkillCommandInvocation, l as buildWorkspaceSkillSnapshot, m as applySkillEnvOverridesFromSnapshot, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as applySkillEnvOverrides, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as loadWorkspaceSkillEntries } from "./skill-commands-
|
|
60
|
+
import { B as isSessionBindingError, C as resolveThreadBindingMaxAgeMs$1, F as resolveThreadBindingIntroText, G as resolveSessionStorePathForAcp, I as resolveThreadBindingThreadName, K as upsertAcpSessionMeta, L as SYSTEM_MARK, N as formatThreadBindingDurationLabel, R as prefixSystemMessage, S as resolveThreadBindingMaxAgeExpiresAt, U as listAcpSessionEntries, W as readAcpSessionEntry, b as resolveThreadBindingIdleTimeoutMs$1, c as getThreadBindingManager, x as resolveThreadBindingInactivityExpiresAt, z as getSessionBindingService } from "./thread-bindings.state-BN6461WG.js";
|
|
61
|
+
import { c as getSkillsSnapshotVersion, d as resolveSkillsPromptForRun, f as syncSkillsToWorkspace, h as sanitizeEnvVars, i as resolveSkillCommandInvocation, l as buildWorkspaceSkillSnapshot, m as applySkillEnvOverridesFromSnapshot, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as applySkillEnvOverrides, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as loadWorkspaceSkillEntries } from "./skill-commands-CyIkcR8P.js";
|
|
62
62
|
import { a as resolveSandboxedMediaSource, i as resolveSandboxPath, n as assertSandboxPath, r as resolveSandboxInputPath, t as assertMediaNotDataUrl } from "./sandbox-paths-Dx2lUqCu.js";
|
|
63
63
|
import { n as resolveUserTimeFormat, r as resolveUserTimezone, t as formatUserTime } from "./date-time-uUevHscU.js";
|
|
64
|
-
import { t as parseDiscordTarget } from "./targets-
|
|
64
|
+
import { t as parseDiscordTarget } from "./targets-BPket0SF.js";
|
|
65
65
|
import { n as missingTargetError, r as unknownTargetError, t as ambiguousTargetError } from "./target-errors-Ckufe179.js";
|
|
66
|
-
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-
|
|
66
|
+
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-DkIdlJvJ.js";
|
|
67
67
|
import { n as normalizePollInput } from "./polls-DKQXVfJp.js";
|
|
68
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
68
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D0eBYPtb.js";
|
|
69
69
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DrAcXE0y.js";
|
|
70
70
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-yJU83wEq.js";
|
|
71
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
71
|
+
import { t as convertMarkdownTables } from "./tables-B2iehyjG.js";
|
|
72
72
|
import { n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-DBDMQ3yI.js";
|
|
73
73
|
import { t as withTimeout$3 } from "./with-timeout-ckWB8rTo.js";
|
|
74
|
-
import { t as getActiveWebListener } from "./active-listener-
|
|
74
|
+
import { t as getActiveWebListener } from "./active-listener-B8Kuanet.js";
|
|
75
75
|
import { n as asString$4, r as collectIssuesForEnabledAccounts } from "./shared-CBgp_GBw.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import * as path$1 from "node:path";
|
|
@@ -97,7 +97,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
|
|
|
97
97
|
import readline from "node:readline";
|
|
98
98
|
import { createJiti } from "jiti";
|
|
99
99
|
import { Type } from "@sinclair/typebox";
|
|
100
|
-
import WebSocket
|
|
100
|
+
import WebSocket, { WebSocket as WebSocket$1 } from "ws";
|
|
101
101
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
102
102
|
import net from "node:net";
|
|
103
103
|
import { request } from "node:https";
|
|
@@ -8162,7 +8162,7 @@ async function getMemorySearchManager(params) {
|
|
|
8162
8162
|
const wrapper = new FallbackMemoryManager({
|
|
8163
8163
|
primary,
|
|
8164
8164
|
fallbackFactory: async () => {
|
|
8165
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8165
|
+
const { MemoryIndexManager } = await import("./manager-ciNnAMBn.js").then((n) => n.t);
|
|
8166
8166
|
return await MemoryIndexManager.get(params);
|
|
8167
8167
|
}
|
|
8168
8168
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -8175,7 +8175,7 @@ async function getMemorySearchManager(params) {
|
|
|
8175
8175
|
}
|
|
8176
8176
|
}
|
|
8177
8177
|
try {
|
|
8178
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
8178
|
+
const { MemoryIndexManager } = await import("./manager-ciNnAMBn.js").then((n) => n.t);
|
|
8179
8179
|
return { manager: await MemoryIndexManager.get(params) };
|
|
8180
8180
|
} catch (err) {
|
|
8181
8181
|
const message = err instanceof Error ? err.message : String(err);
|
|
@@ -12533,7 +12533,7 @@ var GatewayClient = class {
|
|
|
12533
12533
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
12534
12534
|
});
|
|
12535
12535
|
}
|
|
12536
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
12536
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
12537
12537
|
this.ws.on("open", () => {
|
|
12538
12538
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
12539
12539
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -12729,7 +12729,7 @@ var GatewayClient = class {
|
|
|
12729
12729
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
12730
12730
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
12731
12731
|
this.connectTimer = setTimeout(() => {
|
|
12732
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
12732
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
12733
12733
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
12734
12734
|
this.ws?.close(1008, "connect challenge timeout");
|
|
12735
12735
|
}, connectChallengeTimeoutMs);
|
|
@@ -12771,7 +12771,7 @@ var GatewayClient = class {
|
|
|
12771
12771
|
return null;
|
|
12772
12772
|
}
|
|
12773
12773
|
async request(method, params, opts) {
|
|
12774
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
12774
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
12775
12775
|
const id = randomUUID();
|
|
12776
12776
|
const frame = {
|
|
12777
12777
|
type: "req",
|
|
@@ -26027,27 +26027,27 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
26027
26027
|
function createDefaultDeps() {
|
|
26028
26028
|
return {
|
|
26029
26029
|
sendMessageWhatsApp: async (...args) => {
|
|
26030
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
26030
|
+
const { sendMessageWhatsApp } = await import("./web-vR-oNiBv.js");
|
|
26031
26031
|
return await sendMessageWhatsApp(...args);
|
|
26032
26032
|
},
|
|
26033
26033
|
sendMessageTelegram: async (...args) => {
|
|
26034
|
-
const { sendMessageTelegram } = await import("./send-
|
|
26034
|
+
const { sendMessageTelegram } = await import("./send-DT2egZNK.js").then((n) => n.c);
|
|
26035
26035
|
return await sendMessageTelegram(...args);
|
|
26036
26036
|
},
|
|
26037
26037
|
sendMessageDiscord: async (...args) => {
|
|
26038
|
-
const { sendMessageDiscord } = await import("./send-
|
|
26038
|
+
const { sendMessageDiscord } = await import("./send-C3QWSYLR.js").then((n) => n.t);
|
|
26039
26039
|
return await sendMessageDiscord(...args);
|
|
26040
26040
|
},
|
|
26041
26041
|
sendMessageSlack: async (...args) => {
|
|
26042
|
-
const { sendMessageSlack } = await import("./send-
|
|
26042
|
+
const { sendMessageSlack } = await import("./send-DgzZUx2i.js").then((n) => n.n);
|
|
26043
26043
|
return await sendMessageSlack(...args);
|
|
26044
26044
|
},
|
|
26045
26045
|
sendMessageSignal: async (...args) => {
|
|
26046
|
-
const { sendMessageSignal } = await import("./send-
|
|
26046
|
+
const { sendMessageSignal } = await import("./send-BGDGzxUu.js").then((n) => n.i);
|
|
26047
26047
|
return await sendMessageSignal(...args);
|
|
26048
26048
|
},
|
|
26049
26049
|
sendMessageIMessage: async (...args) => {
|
|
26050
|
-
const { sendMessageIMessage } = await import("./send-
|
|
26050
|
+
const { sendMessageIMessage } = await import("./send-KJy3ajA3.js").then((n) => n.n);
|
|
26051
26051
|
return await sendMessageIMessage(...args);
|
|
26052
26052
|
}
|
|
26053
26053
|
};
|
|
@@ -28195,7 +28195,7 @@ const log$17 = createSubsystemLogger("model-catalog");
|
|
|
28195
28195
|
let modelCatalogPromise = null;
|
|
28196
28196
|
let hasLoggedModelCatalogError = false;
|
|
28197
28197
|
let hasLoggedProviderCatalogError = false;
|
|
28198
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
28198
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DkIdlJvJ.js").then((n) => n.a);
|
|
28199
28199
|
let importPiSdk = defaultImportPiSdk;
|
|
28200
28200
|
const CODEX_PROVIDER = "openai-codex";
|
|
28201
28201
|
const OPENAI_PROVIDER = "openai";
|
|
@@ -33963,7 +33963,7 @@ function isModuleNotFoundError(err) {
|
|
|
33963
33963
|
}
|
|
33964
33964
|
async function loadPwAiModule(mode) {
|
|
33965
33965
|
try {
|
|
33966
|
-
return await import("./pw-ai-
|
|
33966
|
+
return await import("./pw-ai-Dxd87W3J.js");
|
|
33967
33967
|
} catch (err) {
|
|
33968
33968
|
if (mode === "soft") return null;
|
|
33969
33969
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -34357,11 +34357,11 @@ function createProfileContext(opts, profile) {
|
|
|
34357
34357
|
const userDataDir = resolveFasedAgentUserDataDir(profile.name);
|
|
34358
34358
|
const profileState = getProfileState();
|
|
34359
34359
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
34360
|
-
await (await import("./pw-ai-
|
|
34360
|
+
await (await import("./pw-ai-Dxd87W3J.js")).closePlaywrightBrowserConnection();
|
|
34361
34361
|
} catch {}
|
|
34362
34362
|
if (profileState.running) await stopRunningBrowser();
|
|
34363
34363
|
try {
|
|
34364
|
-
await (await import("./pw-ai-
|
|
34364
|
+
await (await import("./pw-ai-Dxd87W3J.js")).closePlaywrightBrowserConnection();
|
|
34365
34365
|
} catch {}
|
|
34366
34366
|
if (!fs.existsSync(userDataDir)) return {
|
|
34367
34367
|
moved: false,
|
|
@@ -84548,7 +84548,7 @@ const handleSessionCommand = async (params, allowTextCommands) => {
|
|
|
84548
84548
|
reply: { text: resolveSessionCommandUsage() }
|
|
84549
84549
|
};
|
|
84550
84550
|
}
|
|
84551
|
-
const { setThreadBindingIdleTimeoutBySessionKey, setThreadBindingMaxAgeBySessionKey } = await import("./thread-bindings.lifecycle-
|
|
84551
|
+
const { setThreadBindingIdleTimeoutBySessionKey, setThreadBindingMaxAgeBySessionKey } = await import("./thread-bindings.lifecycle-CYH69SIw.js").then((n) => n.i);
|
|
84552
84552
|
const updatedBindings = action === SESSION_ACTION_IDLE ? setThreadBindingIdleTimeoutBySessionKey({
|
|
84553
84553
|
targetSessionKey: binding.targetSessionKey,
|
|
84554
84554
|
accountId,
|
|
@@ -85763,7 +85763,7 @@ async function createModelSelectionState(params) {
|
|
|
85763
85763
|
}
|
|
85764
85764
|
}
|
|
85765
85765
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
85766
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
85766
|
+
const { ensureAuthProfileStore } = await import("./config-DrhYEiCM.js").then((n) => n.bn);
|
|
85767
85767
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
85768
85768
|
const providerKey = normalizeProviderId$1(provider);
|
|
85769
85769
|
if (!profile || normalizeProviderId$1(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -93834,7 +93834,7 @@ const discordMessageActions = {
|
|
|
93834
93834
|
return null;
|
|
93835
93835
|
},
|
|
93836
93836
|
handleAction: async ({ action, params, cfg, accountId, requesterSenderId, toolContext, mediaLocalRoots }) => {
|
|
93837
|
-
const { handleDiscordMessageAction } = await import("./handle-action-
|
|
93837
|
+
const { handleDiscordMessageAction } = await import("./handle-action-5dhYpMbP.js");
|
|
93838
93838
|
return await handleDiscordMessageAction({
|
|
93839
93839
|
action,
|
|
93840
93840
|
params,
|
|
@@ -94071,7 +94071,7 @@ const signalMessageActions = {
|
|
|
94071
94071
|
//#region src/channels/plugins/actions/telegram.ts
|
|
94072
94072
|
const providerId = "telegram";
|
|
94073
94073
|
async function loadTelegramActionHandler() {
|
|
94074
|
-
const { handleTelegramAction } = await import("./telegram-actions-
|
|
94074
|
+
const { handleTelegramAction } = await import("./telegram-actions-Cx_HWVht.js");
|
|
94075
94075
|
return handleTelegramAction;
|
|
94076
94076
|
}
|
|
94077
94077
|
function readTelegramSendParams(params) {
|
|
@@ -94241,7 +94241,7 @@ function createWhatsAppLoginTool() {
|
|
|
94241
94241
|
force: Type.Optional(Type.Boolean())
|
|
94242
94242
|
}),
|
|
94243
94243
|
execute: async (_toolCallId, args) => {
|
|
94244
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
94244
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DJJ0svux.js");
|
|
94245
94245
|
if ((args?.action ?? "start") === "wait") {
|
|
94246
94246
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
94247
94247
|
return {
|
|
@@ -96481,7 +96481,7 @@ function buildPairingReply(params) {
|
|
|
96481
96481
|
|
|
96482
96482
|
//#endregion
|
|
96483
96483
|
//#region src/brand.ts
|
|
96484
|
-
const FASED_PRODUCT_VERSION = "0.1.
|
|
96484
|
+
const FASED_PRODUCT_VERSION = "0.1.58";
|
|
96485
96485
|
const FASED_DISPLAY_VERSION = `v${FASED_PRODUCT_VERSION}`;
|
|
96486
96486
|
|
|
96487
96487
|
//#endregion
|
|
@@ -100360,7 +100360,7 @@ const handleWhatsAppActionLazy = async (...args) => {
|
|
|
100360
100360
|
return handleWhatsAppAction(...args);
|
|
100361
100361
|
};
|
|
100362
100362
|
const auditDiscordChannelPermissionsLazy = async (...args) => {
|
|
100363
|
-
const { auditDiscordChannelPermissions } = await import("./audit-
|
|
100363
|
+
const { auditDiscordChannelPermissions } = await import("./audit-CVWH4BVP.js").then((n) => n.t);
|
|
100364
100364
|
return auditDiscordChannelPermissions(...args);
|
|
100365
100365
|
};
|
|
100366
100366
|
const listDiscordDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -100384,15 +100384,15 @@ const resolveDiscordUserAllowlistLazy = async (...args) => {
|
|
|
100384
100384
|
return resolveDiscordUserAllowlist(...args);
|
|
100385
100385
|
};
|
|
100386
100386
|
const sendMessageDiscordLazy = async (...args) => {
|
|
100387
|
-
const { sendMessageDiscord } = await import("./send-
|
|
100387
|
+
const { sendMessageDiscord } = await import("./send-C3QWSYLR.js").then((n) => n.t);
|
|
100388
100388
|
return sendMessageDiscord(...args);
|
|
100389
100389
|
};
|
|
100390
100390
|
const sendPollDiscordLazy = async (...args) => {
|
|
100391
|
-
const { sendPollDiscord } = await import("./send-
|
|
100391
|
+
const { sendPollDiscord } = await import("./send-C3QWSYLR.js").then((n) => n.t);
|
|
100392
100392
|
return sendPollDiscord(...args);
|
|
100393
100393
|
};
|
|
100394
100394
|
const monitorDiscordProviderLazy = async (...args) => {
|
|
100395
|
-
const { monitorDiscordProvider } = await import("./monitor-
|
|
100395
|
+
const { monitorDiscordProvider } = await import("./monitor-D-giXewh.js");
|
|
100396
100396
|
return monitorDiscordProvider(...args);
|
|
100397
100397
|
};
|
|
100398
100398
|
const listSlackDirectoryGroupsLiveLazy = async (...args) => {
|
|
@@ -100416,15 +100416,15 @@ const resolveSlackUserAllowlistLazy = async (...args) => {
|
|
|
100416
100416
|
return resolveSlackUserAllowlist(...args);
|
|
100417
100417
|
};
|
|
100418
100418
|
const sendMessageSlackLazy = async (...args) => {
|
|
100419
|
-
const { sendMessageSlack } = await import("./send-
|
|
100419
|
+
const { sendMessageSlack } = await import("./send-DgzZUx2i.js").then((n) => n.n);
|
|
100420
100420
|
return sendMessageSlack(...args);
|
|
100421
100421
|
};
|
|
100422
100422
|
const monitorSlackProviderLazy = async (...args) => {
|
|
100423
|
-
const { monitorSlackProvider } = await import("./slack-
|
|
100423
|
+
const { monitorSlackProvider } = await import("./slack-DjKNh2uh.js");
|
|
100424
100424
|
return monitorSlackProvider(...args);
|
|
100425
100425
|
};
|
|
100426
100426
|
const handleSlackActionLazy = async (...args) => {
|
|
100427
|
-
const { handleSlackAction } = await import("./slack-actions-
|
|
100427
|
+
const { handleSlackAction } = await import("./slack-actions-CeM9LWDp.js");
|
|
100428
100428
|
return handleSlackAction(...args);
|
|
100429
100429
|
};
|
|
100430
100430
|
const probeTelegramLazy = async (...args) => {
|
|
@@ -100432,15 +100432,15 @@ const probeTelegramLazy = async (...args) => {
|
|
|
100432
100432
|
return probeTelegram(...args);
|
|
100433
100433
|
};
|
|
100434
100434
|
const sendMessageTelegramLazy = async (...args) => {
|
|
100435
|
-
const { sendMessageTelegram } = await import("./send-
|
|
100435
|
+
const { sendMessageTelegram } = await import("./send-DT2egZNK.js").then((n) => n.c);
|
|
100436
100436
|
return sendMessageTelegram(...args);
|
|
100437
100437
|
};
|
|
100438
100438
|
const sendPollTelegramLazy = async (...args) => {
|
|
100439
|
-
const { sendPollTelegram } = await import("./send-
|
|
100439
|
+
const { sendPollTelegram } = await import("./send-DT2egZNK.js").then((n) => n.c);
|
|
100440
100440
|
return sendPollTelegram(...args);
|
|
100441
100441
|
};
|
|
100442
100442
|
const monitorTelegramProviderLazy = async (...args) => {
|
|
100443
|
-
const { monitorTelegramProvider } = await import("./monitor-
|
|
100443
|
+
const { monitorTelegramProvider } = await import("./monitor-CNSGw4uQ.js");
|
|
100444
100444
|
return monitorTelegramProvider(...args);
|
|
100445
100445
|
};
|
|
100446
100446
|
let webOutboundPromise = null;
|
|
@@ -100449,23 +100449,23 @@ let webLoginQrPromise = null;
|
|
|
100449
100449
|
let webChannelPromise = null;
|
|
100450
100450
|
let whatsappActionsPromise = null;
|
|
100451
100451
|
function loadWebOutbound() {
|
|
100452
|
-
webOutboundPromise ??= import("./outbound-
|
|
100452
|
+
webOutboundPromise ??= import("./outbound-DhGrjRft.js").then((n) => n.t);
|
|
100453
100453
|
return webOutboundPromise;
|
|
100454
100454
|
}
|
|
100455
100455
|
function loadWebLogin() {
|
|
100456
|
-
webLoginPromise ??= import("./login-
|
|
100456
|
+
webLoginPromise ??= import("./login-hql0fNuL.js").then((n) => n.n);
|
|
100457
100457
|
return webLoginPromise;
|
|
100458
100458
|
}
|
|
100459
100459
|
function loadWebLoginQr() {
|
|
100460
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
100460
|
+
webLoginQrPromise ??= import("./login-qr-DJJ0svux.js");
|
|
100461
100461
|
return webLoginQrPromise;
|
|
100462
100462
|
}
|
|
100463
100463
|
function loadWebChannel() {
|
|
100464
|
-
webChannelPromise ??= import("./web-
|
|
100464
|
+
webChannelPromise ??= import("./web-vR-oNiBv.js");
|
|
100465
100465
|
return webChannelPromise;
|
|
100466
100466
|
}
|
|
100467
100467
|
function loadWhatsAppActions() {
|
|
100468
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
100468
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-BYNf8ceY.js");
|
|
100469
100469
|
return whatsappActionsPromise;
|
|
100470
100470
|
}
|
|
100471
100471
|
function createPluginRuntime(options = {}) {
|
|
@@ -107162,7 +107162,7 @@ function createOpenAIReasoningEffortWrapper(baseStreamFn, reasoningEffort) {
|
|
|
107162
107162
|
function createCodexDefaultTransportWrapper(baseStreamFn) {
|
|
107163
107163
|
const underlying = baseStreamFn ?? streamSimple;
|
|
107164
107164
|
return (model, context, options) => {
|
|
107165
|
-
if (typeof process !== "undefined" && process.versions?.node) globalThis.WebSocket = WebSocket
|
|
107165
|
+
if (typeof process !== "undefined" && process.versions?.node) globalThis.WebSocket = WebSocket;
|
|
107166
107166
|
return underlying(model, context, {
|
|
107167
107167
|
...options,
|
|
107168
107168
|
transport: options?.transport ?? "auto"
|
|
@@ -110617,32 +110617,19 @@ function clearActiveEmbeddedRun(sessionId, handle, sessionKey) {
|
|
|
110617
110617
|
//#endregion
|
|
110618
110618
|
//#region src/agents/pi-embedded-runner/session-manager-init.ts
|
|
110619
110619
|
/**
|
|
110620
|
-
*
|
|
110621
|
-
*
|
|
110622
|
-
*
|
|
110623
|
-
*
|
|
110624
|
-
*
|
|
110625
|
-
*
|
|
110626
|
-
* This normalizes the file/session state so the first user prompt is persisted before the first
|
|
110627
|
-
* assistant entry, even for pre-created session files.
|
|
110620
|
+
* Keep Fased's requested identity for new transcripts while leaving existing
|
|
110621
|
+
* transcripts under SessionManager's append lifecycle. In particular, an
|
|
110622
|
+
* existing header-only file is already marked flushed by SessionManager and
|
|
110623
|
+
* must not be truncated or reset to unflushed: its next assistant write uses
|
|
110624
|
+
* exclusive creation and would fail with EEXIST.
|
|
110628
110625
|
*/
|
|
110629
110626
|
async function prepareSessionManagerForRun(params) {
|
|
110630
110627
|
const sm = params.sessionManager;
|
|
110631
110628
|
const header = sm.fileEntries.find((e) => e.type === "session");
|
|
110632
|
-
const hasAssistant = sm.fileEntries.some((e) => e.type === "message" && e.message?.role === "assistant");
|
|
110633
110629
|
if (!params.hadSessionFile && header) {
|
|
110634
110630
|
header.id = params.sessionId;
|
|
110635
110631
|
header.cwd = params.cwd;
|
|
110636
110632
|
sm.sessionId = params.sessionId;
|
|
110637
|
-
return;
|
|
110638
|
-
}
|
|
110639
|
-
if (params.hadSessionFile && header && !hasAssistant) {
|
|
110640
|
-
await fs$1.writeFile(params.sessionFile, "", "utf-8");
|
|
110641
|
-
sm.fileEntries = [header];
|
|
110642
|
-
sm.byId?.clear?.();
|
|
110643
|
-
sm.labelsById?.clear?.();
|
|
110644
|
-
sm.leafId = null;
|
|
110645
|
-
sm.flushed = false;
|
|
110646
110633
|
}
|
|
110647
110634
|
}
|
|
110648
110635
|
|
|
@@ -114784,8 +114771,8 @@ const FASED_PROVIDER_EXTENSION_CATALOG_MANIFEST = [
|
|
|
114784
114771
|
upstreamProviderId: "kimi-coding",
|
|
114785
114772
|
upstreamCatalogPaths: ["extensions/kimi-coding/provider-catalog.ts"],
|
|
114786
114773
|
status: "mapped",
|
|
114787
|
-
fasedProviderIds: ["kimi"],
|
|
114788
|
-
fasedProviderAliases: ["kimi
|
|
114774
|
+
fasedProviderIds: ["kimi-coding"],
|
|
114775
|
+
fasedProviderAliases: ["kimi", "kimi-code"],
|
|
114789
114776
|
docsPath: "docs/providers/moonshot.md",
|
|
114790
114777
|
authSurface: "api-key",
|
|
114791
114778
|
authChoiceIds: ["kimi-code-api-key"]
|
|
@@ -115065,7 +115052,11 @@ function buildModelCatalogStatus(params) {
|
|
|
115065
115052
|
})).toSorted((left, right) => left.provider.localeCompare(right.provider));
|
|
115066
115053
|
const manifestEntries = listProviderExtensionCatalogManifestEntries();
|
|
115067
115054
|
const mappedManifestProviderIds = [...new Set(manifestEntries.flatMap((entry) => entry.status === "mapped" ? entry.fasedProviderIds.map(normalizeProviderId$2) : []))].filter(Boolean).toSorted((left, right) => left.localeCompare(right));
|
|
115068
|
-
const catalogProviderIds = new Set(
|
|
115055
|
+
const catalogProviderIds = new Set([
|
|
115056
|
+
...listCurrentModelCatalogProviderIds(),
|
|
115057
|
+
...providerRows.map((provider) => provider.provider),
|
|
115058
|
+
...Object.keys(params.providerExtensionCatalog?.providers ?? {}).map(normalizeProviderId$2)
|
|
115059
|
+
]);
|
|
115069
115060
|
const deferredProviderIds = manifestEntries.filter((entry) => entry.status === "deferred").map((entry) => normalizeProviderId$2(entry.upstreamProviderId)).filter(Boolean).toSorted((left, right) => left.localeCompare(right));
|
|
115070
115061
|
const providerExtensionEntries = (params.providerExtensionCatalog?.entries ?? []).map((entry) => ({
|
|
115071
115062
|
id: entry.id,
|
|
@@ -4,7 +4,7 @@ import { Bt as resolveDefaultGroupPolicy, Cn as readStringParam, Gt as listSlack
|
|
|
4
4
|
import { D as normalizeE164 } from "./types-dWZFX1fk.js";
|
|
5
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-C403mq4K.js";
|
|
6
6
|
import { _ as buildTokenChannelStatusSummary, i as resolveDiscordGroupToolPolicy, r as resolveDiscordGroupRequireMention } from "./group-mentions-BHRff6j8.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,46 +1,46 @@
|
|
|
1
|
-
import { Ht as resolveDiscordGroupRequireMention, Nn as getChatChannelMeta, Ut as resolveDiscordGroupToolPolicy, _t as listWhatsAppDirectoryPeersFromConfig, dt as listDiscordDirectoryPeersFromConfig, ft as listSlackDirectoryGroupsFromConfig, gt as listWhatsAppDirectoryGroupsFromConfig, ht as listTelegramDirectoryPeersFromConfig, mt as listTelegramDirectoryGroupsFromConfig, pt as listSlackDirectoryPeersFromConfig, ut as listDiscordDirectoryGroupsFromConfig } from "./runtime-
|
|
1
|
+
import { Ht as resolveDiscordGroupRequireMention, Nn as getChatChannelMeta, Ut as resolveDiscordGroupToolPolicy, _t as listWhatsAppDirectoryPeersFromConfig, dt as listDiscordDirectoryPeersFromConfig, ft as listSlackDirectoryGroupsFromConfig, gt as listWhatsAppDirectoryGroupsFromConfig, ht as listTelegramDirectoryPeersFromConfig, mt as listTelegramDirectoryGroupsFromConfig, pt as listSlackDirectoryPeersFromConfig, ut as listDiscordDirectoryGroupsFromConfig } from "./runtime-BVkIrYLQ.js";
|
|
2
2
|
import "./subsystem-DBPNbQDQ.js";
|
|
3
3
|
import "./globals-B_jjtAje.js";
|
|
4
4
|
import "./paths-BEmvSyOV.js";
|
|
5
5
|
import { c as isRecord, d as normalizeE164 } from "./utils-CYk9EKoq.js";
|
|
6
|
-
import { u as DiscordConfigSchema } from "./config-
|
|
6
|
+
import { u as DiscordConfigSchema } from "./config-DrhYEiCM.js";
|
|
7
7
|
import "./agent-scope-CCjfjKoO.js";
|
|
8
8
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-HSJ2KQTc.js";
|
|
9
9
|
import { a as resolveDiscordAccount, i as resolveDefaultDiscordAccountId, n as listDiscordAccountIds } from "./accounts-RHZyaB73.js";
|
|
10
10
|
import "./accounts-CuqIKU8X.js";
|
|
11
11
|
import "./logger-BbFvCoKk.js";
|
|
12
12
|
import "./exec-DQ8j4Fm3.js";
|
|
13
|
-
import "./accounts-
|
|
13
|
+
import "./accounts-BJuN64m-.js";
|
|
14
14
|
import { i as normalizeDiscordSlug } from "./allow-list-DyAxs4yw.js";
|
|
15
15
|
import "./redact-Bm8vu_ju.js";
|
|
16
16
|
import "./github-copilot-token-CUK__1s1.js";
|
|
17
17
|
import "./retry-DstNBhDW.js";
|
|
18
18
|
import "./paths-CTZ2RS_E.js";
|
|
19
|
-
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-
|
|
19
|
+
import { a as deleteAccountFromConfigSection, c as formatPairingApproveHint, n as applyAccountNameToChannelSection, o as setAccountEnabledInConfigSection, r as migrateBaseNameToDefaultAccount, s as buildChannelConfigSchema, t as PAIRING_APPROVED_MESSAGE, u as emptyPluginConfigSchema } from "./pairing-message-BsJVvXkb.js";
|
|
20
20
|
import "./ssrf-fG4UHKBw.js";
|
|
21
21
|
import "./fetch-guard-CeG6u6ld.js";
|
|
22
|
-
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, _ as setAccountGroupPolicyForChannel, a as noteChannelLookupFailure, b as setOnboardingChannelEnabled, d as promptLegacyChannelAllowFrom, g as resolveOnboardingAccountId, h as resolveAccountIdForConfigure, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, l as patchChannelConfigForAccount, m as promptSingleChannelToken, n as applySingleTokenPromptResult, o as noteChannelLookupSummary, s as parseMentionOrPrefixedId, w as buildTokenChannelStatusSummary, y as setLegacyChannelDmPolicyWithAllowFrom } from "./helpers-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./optional-runtime-dependency-
|
|
25
|
-
import "./image-ops-
|
|
26
|
-
import { d as readStringParam, n as createActionGate } from "./common-
|
|
22
|
+
import { A as resolveDefaultGroupPolicy, D as formatDocsLink, _ as setAccountGroupPolicyForChannel, a as noteChannelLookupFailure, b as setOnboardingChannelEnabled, d as promptLegacyChannelAllowFrom, g as resolveOnboardingAccountId, h as resolveAccountIdForConfigure, j as resolveOpenProviderRuntimeGroupPolicy, k as resolveAllowlistProviderRuntimeGroupPolicy, l as patchChannelConfigForAccount, m as promptSingleChannelToken, n as applySingleTokenPromptResult, o as noteChannelLookupSummary, s as parseMentionOrPrefixedId, w as buildTokenChannelStatusSummary, y as setLegacyChannelDmPolicyWithAllowFrom } from "./helpers-E9aafRzA.js";
|
|
23
|
+
import "./chunk-01oBnQjh.js";
|
|
24
|
+
import "./optional-runtime-dependency-CKsJL1PD.js";
|
|
25
|
+
import "./image-ops-D2U9ctmu.js";
|
|
26
|
+
import { d as readStringParam, n as createActionGate } from "./common-zHvdO8ly.js";
|
|
27
27
|
import "./path-alias-guards-DjgDArrp.js";
|
|
28
28
|
import "./fs-safe-g4g7GT02.js";
|
|
29
|
-
import "./markdown-tables-
|
|
30
|
-
import "./media-
|
|
29
|
+
import "./markdown-tables-BKxbua_h.js";
|
|
30
|
+
import "./media-DUIZ6x9H.js";
|
|
31
31
|
import "./fetch-BtmoPIlf.js";
|
|
32
|
-
import "./thread-bindings.state-
|
|
32
|
+
import "./thread-bindings.state-BN6461WG.js";
|
|
33
33
|
import "./directory-live-CSuYxdwk.js";
|
|
34
|
-
import { t as parseDiscordTarget } from "./targets-
|
|
34
|
+
import { t as parseDiscordTarget } from "./targets-BPket0SF.js";
|
|
35
35
|
import "./render-e7fENCYH.js";
|
|
36
|
-
import "./tables-
|
|
36
|
+
import "./tables-B2iehyjG.js";
|
|
37
37
|
import { i as resolveEnabledConfiguredAccountId, n as asString, t as appendMatchMetadata } from "./shared-CBgp_GBw.js";
|
|
38
38
|
import "./channel-core-CFRs8LPy.js";
|
|
39
|
-
import "./send-
|
|
40
|
-
import "./retry-policy-
|
|
41
|
-
import { n as collectDiscordAuditChannelIds } from "./audit-
|
|
42
|
-
import { t as configureChannelAccessWithAllowlist } from "./channel-access-configure-
|
|
43
|
-
import { a as unbindThreadBindingsBySessionKey, n as listThreadBindingsBySessionKey, t as autoBindSpawnedDiscordSubagent } from "./thread-bindings.lifecycle-
|
|
39
|
+
import "./send-C3QWSYLR.js";
|
|
40
|
+
import "./retry-policy-HTrC4zfC.js";
|
|
41
|
+
import { n as collectDiscordAuditChannelIds } from "./audit-CVWH4BVP.js";
|
|
42
|
+
import { t as configureChannelAccessWithAllowlist } from "./channel-access-configure-CI0je66H.js";
|
|
43
|
+
import { a as unbindThreadBindingsBySessionKey, n as listThreadBindingsBySessionKey, t as autoBindSpawnedDiscordSubagent } from "./thread-bindings.lifecycle-CYH69SIw.js";
|
|
44
44
|
|
|
45
45
|
//#region src/channels/plugins/normalize/discord.ts
|
|
46
46
|
function normalizeDiscordMessagingTarget(raw) {
|