import { i as NodmixConfig } from "./types.nodmix-B9QJSty6.js";
import { y as coerceSecretRef } from "./types.secrets-BKPYDrKY.js";
import { S as MarkdownTableMode, T as ReplyToMode, _ as GroupPolicy, d as ContextVisibilityMode, h as DmPolicy, r as BlockStreamingCoalesceConfig, x as MarkdownConfig } from "./types.base-BhpfV4ef.js";
import { a as GroupToolPolicyBySenderConfig, o as GroupToolPolicyConfig } from "./types.tools-CW8RpDYx.js";
import { A as DmConfig, G as TtsModelOverrideConfig, H as TtsAutoMode, J as TtsPersonaPromptConfig, K as TtsPersonaConfig, U as TtsConfig, V as ResolvedTtsPersona, W as TtsMode, Y as TtsProvider, d as SlackSlashCommandConfig, i as SlackChannelConfig, q as TtsPersonaFallbackPolicy, t as SlackAccountConfig, u as SlackReactionNotificationMode } from "./types.slack-BJW0swrN.js";
import { B as SignalReactionNotificationMode, D as TelegramGroupConfig, K as MSTeamsTeamConfig, O as TelegramInlineButtonsScope, P as TelegramTopicConfig, S as TelegramDirectConfig, T as TelegramExecApprovalConfig, U as MSTeamsConfig, V as MSTeamsChannelConfig, W as MSTeamsReplyStyle, _ as TelegramAccountConfig, at as DiscordAccountConfig, ct as DiscordAutoPresenceConfig, et as GoogleChatAccountConfig, ft as DiscordExecApprovalConfig, ht as DiscordIntentsConfig, k as TelegramNetworkConfig, mt as DiscordGuildEntry, nt as GoogleChatConfig, ot as DiscordActionConfig, pt as DiscordGuildChannelConfig, ut as DiscordConfig, v as TelegramActionConfig, yt as DiscordSlashCommandConfig } from "./types.channels-5Ga9JDQN.js";
import { a as getRuntimeConfigSnapshot, c as setRuntimeConfigSnapshot, i as clearRuntimeConfigSnapshot, o as getRuntimeConfigSourceSnapshot, t as ConfigWriteAfterWrite } from "./runtime-snapshot-bTyXYijz.js";
import { a as loadConfig, c as writeConfigFile, i as getRuntimeConfig, r as clearConfigCache, s as readConfigFileSnapshotForWrite } from "./io-Cm5ML3bH.js";
import { i as replaceConfigFile, r as mutateConfigFile } from "./config-1jNpRBlU.js";
import { c as SessionScope } from "./types-DT1z1ByP.js";
import { n as resolveCronStorePath, r as saveCronStore, t as loadCronStore } from "./store-B_fjddgo.js";
import { F as resolveDefaultAgentId } from "./agent-scope-BDK4-ykR.js";
import { S as resolveStorePath, a as resolveGroupSessionKey, c as patchSessionEntry, d as saveSessionStore, f as updateLastRoute, g as resolveSessionStoreEntry, h as upsertSessionEntry, i as canonicalizeMainSessionAlias, l as readSessionUpdatedAt, m as updateSessionStoreEntry, o as getSessionEntry, p as updateSessionStore, r as resolveSessionKey, s as listSessionEntries, u as recordSessionMetaFromInbound, v as clearSessionStoreCacheForTest } from "./session-file-C4Sxw-jz.js";
import { a as evaluateSessionFreshness, i as SessionResetMode, n as resolveSessionResetType, o as resolveSessionResetPolicy, r as resolveThreadFlag, t as resolveChannelResetConfig } from "./reset-C_RNz-iz.js";
import { a as resolveToolsBySender, n as resolveChannelGroupPolicy, r as resolveChannelGroupRequireMention, t as ChannelGroupPolicy } from "./group-policy-CLaZtZqz.js";
import { n as resolveLivePluginConfigObject, r as resolvePluginConfigObject, t as requireRuntimeConfig } from "./plugin-config-runtime-DvM0OY3L.js";
import { n as logConfigUpdated, t as updateConfig } from "./shared-BN5x88Hg.js";
import { n as resolveAgentMaxConcurrent, r as resolveChannelModelOverride, t as applyModelOverrideToSessionEntry } from "./model-overrides-DprQwXrf.js";
import { a as filterSupplementalContextItems, i as evaluateSupplementalContextVisibility } from "./context-visibility-DP6aEGRu.js";
import { n as resolveDefaultContextVisibility, t as resolveChannelContextVisibilityMode } from "./context-visibility-TqeXasOu.js";
import { t as resolveMarkdownTableMode } from "./markdown-tables-BUFlcR46.js";
import { a as warnMissingProviderGroupPolicyFallbackOnce, i as resolveOpenProviderRuntimeGroupPolicy, n as resolveAllowlistProviderRuntimeGroupPolicy, r as resolveDefaultGroupPolicy, t as GROUP_POLICY_BLOCKED_LABEL } from "./runtime-group-policy-xIHo58w6.js";
import { n as resolveNativeCommandsEnabled, r as resolveNativeSkillsEnabled, t as isNativeCommandsExplicitlyDisabled } from "./commands-Bnf1YxTZ.js";
import { o as normalizeTelegramCommandName, s as resolveTelegramCustomCommands, t as TELEGRAM_COMMAND_NAME_PATTERN } from "./telegram-command-config-RdANWm5T.js";
import { t as resolveActiveTalkProviderConfig } from "./talk-DF0XJ_la.js";
import { n as resolveConfiguredSecretInputWithFallback, r as resolveRequiredConfiguredSecretRefInputString, t as resolveConfiguredSecretInputString } from "./resolve-configured-secret-input-string-CyXKf_Yb.js";
import { n as isDangerousNameMatchingEnabled, r as resolveDangerousNameMatchingEnabled } from "./dangerous-name-matching-ZZvnoUr-.js";
import { t as loadSessionStore } from "./config-runtime-Dd915Ll9.js";
export { type BlockStreamingCoalesceConfig, type ChannelGroupPolicy, type ConfigWriteAfterWrite, type ContextVisibilityMode, type DiscordAccountConfig, type DiscordActionConfig, type DiscordAutoPresenceConfig, type DiscordConfig, type DiscordExecApprovalConfig, type DiscordGuildChannelConfig, type DiscordGuildEntry, type DiscordIntentsConfig, type DiscordSlashCommandConfig, type DmConfig, type DmPolicy, GROUP_POLICY_BLOCKED_LABEL, type GoogleChatAccountConfig, type GoogleChatConfig, type GroupPolicy, type GroupToolPolicyBySenderConfig, type GroupToolPolicyConfig, type MSTeamsChannelConfig, type MSTeamsConfig, type MSTeamsReplyStyle, type MSTeamsTeamConfig, type MarkdownConfig, type MarkdownTableMode, type NodmixConfig, type ReplyToMode, type ResolvedTtsPersona, type SessionResetMode, type SessionScope, type SignalReactionNotificationMode, type SlackAccountConfig, type SlackChannelConfig, type SlackReactionNotificationMode, type SlackSlashCommandConfig, TELEGRAM_COMMAND_NAME_PATTERN, type TelegramAccountConfig, type TelegramActionConfig, type TelegramDirectConfig, type TelegramExecApprovalConfig, type TelegramGroupConfig, type TelegramInlineButtonsScope, type TelegramNetworkConfig, type TelegramTopicConfig, type TtsAutoMode, type TtsConfig, type TtsMode, type TtsModelOverrideConfig, type TtsPersonaConfig, type TtsPersonaFallbackPolicy, type TtsPersonaPromptConfig, type TtsProvider, applyModelOverrideToSessionEntry, canonicalizeMainSessionAlias, clearConfigCache, clearRuntimeConfigSnapshot, clearSessionStoreCacheForTest, coerceSecretRef, evaluateSessionFreshness, evaluateSupplementalContextVisibility, filterSupplementalContextItems, getRuntimeConfig, getRuntimeConfigSnapshot, getRuntimeConfigSourceSnapshot, getSessionEntry, isDangerousNameMatchingEnabled, isNativeCommandsExplicitlyDisabled, listSessionEntries, loadConfig, loadCronStore, loadSessionStore, logConfigUpdated, mutateConfigFile, normalizeTelegramCommandName, patchSessionEntry, readConfigFileSnapshotForWrite, readSessionUpdatedAt, recordSessionMetaFromInbound, replaceConfigFile, requireRuntimeConfig, resolveActiveTalkProviderConfig, resolveAgentMaxConcurrent, resolveAllowlistProviderRuntimeGroupPolicy, resolveChannelContextVisibilityMode, resolveChannelGroupPolicy, resolveChannelGroupRequireMention, resolveChannelModelOverride, resolveChannelResetConfig, resolveConfiguredSecretInputString, resolveConfiguredSecretInputWithFallback, resolveCronStorePath, resolveDangerousNameMatchingEnabled, resolveDefaultAgentId, resolveDefaultContextVisibility, resolveDefaultGroupPolicy, resolveGroupSessionKey, resolveLivePluginConfigObject, resolveMarkdownTableMode, resolveNativeCommandsEnabled, resolveNativeSkillsEnabled, resolveOpenProviderRuntimeGroupPolicy, resolvePluginConfigObject, resolveRequiredConfiguredSecretRefInputString, resolveSessionKey, resolveSessionResetPolicy, resolveSessionResetType, resolveSessionStoreEntry, resolveStorePath, resolveTelegramCustomCommands, resolveThreadFlag, resolveToolsBySender, saveCronStore, saveSessionStore, setRuntimeConfigSnapshot, updateConfig, updateLastRoute, updateSessionStore, updateSessionStoreEntry, upsertSessionEntry, warnMissingProviderGroupPolicyFallbackOnce, writeConfigFile };