import { E as ChannelOutboundSessionRoute, N as ChannelSetupInput, T as ChannelMeta, m as ChannelGroupContext, r as ChannelAccountSnapshot, t as BaseProbeResult, u as ChannelDirectoryEntry, w as ChannelMessagingAdapter, y as ChannelMessageActionContext } from "./types.core-B63_cnnX.js";
import { t as ChatType } from "./chat-type-B6XXSSnm.js";
import { i as OpenClawConfig } from "./types.openclaw-DQo3tlMn.js";
import { S as isSecretRef } from "./types.secrets-C15Z_eLX.js";
import { t as HistoryEntry } from "./history.types-Bc8mCALh.js";
import { n as PollInput } from "./polls-CfHkU59X.js";
import { d as UnifiedModelCatalogEntry, f as UnifiedModelCatalogKind, p as UnifiedModelCatalogSource } from "./manifest-registry-DpBX4rfo.js";
import { r as ChannelConfigUiHint } from "./types.config-D1pSqbn8.js";
import { n as ChannelOutboundAdapter, u as OutboundIdentity } from "./outbound.types-C5n9G0Km.js";
import { i as WizardPrompter } from "./prompts-DgKIGa-v.js";
import { t as ChannelPlugin } from "./types.plugin-Dkr6gXlk.js";
import { t as ChannelMessageActionName } from "./types.public-BbU-TuTv.js";
import { n as resolveGatewayPort } from "./paths-BexfDoH4.js";
import { s as resolveThreadSessionKeys } from "./session-key-fJM_U9Lv.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./account-id-Dh6XMgGH.js";
import { t as resolveConfiguredAcpBindingRecord } from "./persistent-bindings.resolve-83dyK286.js";
import { at as PluginHookReplyDispatchResult, ct as PluginHookReplyPayloadSendingEvent, it as PluginHookReplyDispatchEvent, lt as PluginHookReplyPayloadSendingResult, ot as PluginHookReplyPayload, rt as PluginHookReplyDispatchContext, st as PluginHookReplyPayloadSendingContext } from "./hook-types-tBFJfhte.js";
import { $n as PluginRuntime, Ds as OpenClawPluginToolFactory, Es as OpenClawPluginToolContext, Io as RuntimeLogger, Ql as ProviderRuntimeModel, ws as OpenClawPluginActiveModelContext } from "./types-CJ7Fizdo.js";
import { n as UsageProviderId, r as UsageWindow, t as ProviderUsageSnapshot } from "./provider-usage.types-BxukMSHd.js";
import { D as readStringParam, S as readNumberParam, T as readStringArrayParam, d as createActionGate, g as jsonResult, w as readReactionParams } from "./common-CUdWNBYA.js";
import { n as createSubsystemLogger } from "./subsystem-Boo2DQIV.js";
import { r as GatewayRequestHandlerOptions } from "./types-Dy9QeL1X.js";
import { r as ReplyPayload } from "./reply-payload-DNDiz8F5.js";
import { c as MemoryPluginPublicArtifact, l as MemoryPluginPublicArtifactsProvider, s as MemoryPluginCapability } from "./memory-state-4midGvQO.js";
import { i as buildAgentSessionKey, n as RoutePeer, r as RoutePeerKind } from "./resolve-route-BEV4hDqA.js";
import { n as channelTargetsSchema, o as optionalStringEnum, s as stringEnum, t as channelTargetSchema } from "./typebox-WKHUFEwH.js";
import { t as AllowlistMatch } from "./allowlist-match-Bmdv70ad.js";
import { i as buildJsonChannelConfigSchema, o as emptyChannelConfigSchema, r as buildChannelConfigSchema } from "./config-schema-CIXTfG6L.js";
import { n as formatPairingApproveHint, r as parseOptionalDelimitedEntries } from "./helpers-CIn5GJeb.js";
import { n as buildPluginConfigSchema, r as emptyPluginConfigSchema, t as buildJsonPluginConfigSchema } from "./config-schema-CmJ6zKGB.js";
import { $ as PluginSessionAttachmentParams, $t as ProviderThinkingProfile, B as PluginHeartbeatPromptContributionEvent, Bt as ProviderReasoningOutputModeContext, Ct as ProviderCatalogResult, Et as ProviderDiscoveryContext, F as PluginAgentTurnPrepareEvent, Ft as ProviderPrepareDynamicModelContext, G as PluginNextTurnInjectionEnqueueResult, H as PluginJsonValue, Ht as ProviderReplayPolicyContext, I as PluginAgentTurnPrepareResult, It as ProviderPrepareExtraParamsContext, J as PluginRunContextPatch, Jt as ProviderResolveUsageAuthContext, K as PluginNextTurnInjectionRecord, Kt as ProviderResolveDynamicModelContext, L as PluginCommandContext, Lt as ProviderPrepareRuntimeAuthContext, M as PluginAgentEventEmitParams, Mt as ProviderNormalizeResolvedModelContext, N as PluginAgentEventEmitResult, Nt as ProviderNormalizeToolSchemasContext, O as OpenClawPluginService, Ot as ProviderFetchUsageSnapshotContext, P as PluginAgentEventSubscriptionRegistration, Q as PluginSessionActionResult, Qt as ProviderThinkingPolicyContext, R as PluginCommandResult, Rt as ProviderPreparedRuntimeAuth, St as ProviderCatalogContext, U as PluginLogger, Ut as ProviderReplaySessionEntry, V as PluginHeartbeatPromptContributionResult, Vt as ProviderReplayPolicy, W as PluginNextTurnInjection, Wt as ProviderReplaySessionState, X as PluginSessionActionContext, Xt as ProviderResolvedUsageAuth, Y as PluginRuntimeLifecycleRegistration, Yt as ProviderResolveWebSocketSessionPolicyContext, Z as PluginSessionActionRegistration, Zt as ProviderSanitizeReplayHistoryContext, _ as OpenClawPluginCommandDefinition, _t as ProviderBuildMissingAuthMessageContext, a as AnyAgentTool, an as ProviderWrapStreamFnContext, at as PluginSessionTurnScheduleParams, bt as ProviderBuiltInModelSuppressionResult, ct as PluginToolMetadataRegistration, dn as definePluginEntry, dt as ProviderAugmentModelCatalogContext, en as ProviderToolSchemaDiagnostic, et as PluginSessionAttachmentResult, ft as ProviderAuthContext, g as OpenClawPluginApi, gt as ProviderAuthResult, ht as ProviderAuthMethodNonInteractiveContext, i as AgentPromptSurfaceKind, in as ProviderWebSocketSessionPolicy, it as PluginSessionSchedulerJobRegistration, k as OpenClawPluginServiceContext, kt as ProviderModernModelPolicyContext, ln as UnifiedModelCatalogProviderContext, lt as PluginTrustedToolPolicyRegistration, mt as ProviderAuthMethod, n as AgentPromptGuidance, nn as ProviderUsageAuthToken, nt as PluginSessionExtensionRegistration, o as MediaUnderstandingProviderPlugin, on as RealtimeTranscriptionProviderPlugin, ot as PluginSessionTurnUnscheduleByTagParams, pt as ProviderAuthDoctorHintContext, q as PluginRunContextGetParams, qt as ProviderResolveTransportTurnStateContext, r as AgentPromptGuidanceEntry, rn as ProviderValidateReplayTurnsContext, rt as PluginSessionSchedulerJobHandle, sn as SpeechProviderPlugin, st as PluginSessionTurnUnscheduleByTagResult, t as AgentHarness, tn as ProviderTransportTurnState, tt as PluginSessionExtensionProjection, un as UnifiedModelCatalogProviderPlugin, v as OpenClawPluginConfigSchema, vt as ProviderBuildUnknownModelHintContext, wt as ProviderDefaultThinkingPolicyContext, xt as ProviderCacheTtlEligibilityContext, y as OpenClawPluginDefinition, yt as ProviderBuiltInModelSuppressionContext, z as PluginControlUiDescriptor, zt as ProviderReasoningOutputMode } from "./plugin-entry-D_9zdzTW.js";
import { n as NormalizedLocation } from "./location-Nlme7YFG.js";
import { r as enqueueKeyedTask, t as KeyedAsyncQueue } from "./keyed-async-queue-DiOi96se.js";
import { i as resolveGlobalDedupeCache, r as createDedupeCache } from "./dedupe-D3F9WT__.js";
import { a as generateSecureUuid, i as generateSecureToken } from "./secure-random-BTcaoAnv.js";
import { n as delegateCompactionToRuntime, t as buildMemorySystemPromptAddition } from "./delegate-7TS6K32j.js";
import { s as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-BHn9WUJP.js";
import { n as deleteAccountFromConfigSection, r as setAccountEnabledInConfigSection, t as clearAccountEntryFields } from "./config-helpers-C1jBLtPr.js";
import { a as SecretFileReadResult, c as tryReadSecretFileSync, i as SecretFileReadOptions, o as loadSecretFileSync, s as readSecretFileSync, t as DEFAULT_SECRET_FILE_MAX_BYTES } from "./secret-file-CjbjgOXf.js";
import { _ as resolveTailnetHostWithRunner, a as buildThreadAwareOutboundSessionRoute, c as defineChannelPluginEntry, d as getChatChannelMeta, f as recoverCurrentThreadSessionId, g as TailscaleStatusCommandRunner, h as TailscaleStatusCommandResult, i as buildChannelOutboundSessionRoute, l as defineSetupPluginEntry, m as stripTargetKindPrefix, n as ThreadAwareOutboundSessionRouteRecoveryContext, o as createChannelPluginBase, p as stripChannelTargetPrefix, r as ThreadAwareOutboundSessionRouteThreadSource, s as createChatChannelPlugin, t as ChannelOutboundSessionRouteParams, u as ensureConfiguredAcpBindingReady, v as GatewayBindUrlResult, y as resolveGatewayBindUrl } from "./core-KYuKMFHH.js";
import { i as normalizeHyphenSlug, n as normalizeAtHashSlug } from "./string-normalization-BUWquf-_.js";
import { y as parseStrictPositiveInteger } from "./number-coercion-Ds_8dOjj.js";
import { i as resolveClientIp, r as isTrustedProxyAddress } from "./net-F7HGAsK5.js";
import { n as formatZonedTimestamp } from "./format-datetime-D-Jf_Pqu.js";
export { type AgentHarness, type AgentPromptGuidance, type AgentPromptGuidanceEntry, type AgentPromptSurfaceKind, type AllowlistMatch, type AnyAgentTool, type BaseProbeResult, type ChannelAccountSnapshot, type ChannelConfigUiHint, type ChannelDirectoryEntry, type ChannelGroupContext, type ChannelMessageActionContext, type ChannelMessageActionName, type ChannelMessagingAdapter, type ChannelMeta, type ChannelOutboundAdapter, type ChannelOutboundSessionRoute, ChannelOutboundSessionRouteParams, type ChannelPlugin, type ChannelSetupInput, type ChatType, DEFAULT_ACCOUNT_ID, DEFAULT_SECRET_FILE_MAX_BYTES, type GatewayBindUrlResult, type GatewayRequestHandlerOptions, type HistoryEntry, KeyedAsyncQueue, type MediaUnderstandingProviderPlugin, type MemoryPluginCapability, type MemoryPluginPublicArtifact, type MemoryPluginPublicArtifactsProvider, type NormalizedLocation, type OpenClawConfig, type OpenClawPluginActiveModelContext, type OpenClawPluginApi, type OpenClawPluginCommandDefinition, type OpenClawPluginConfigSchema, type OpenClawPluginDefinition, type OpenClawPluginService, type OpenClawPluginServiceContext, type OpenClawPluginToolContext, type OpenClawPluginToolFactory, type OutboundIdentity, type PluginAgentEventEmitParams, type PluginAgentEventEmitResult, type PluginAgentEventSubscriptionRegistration, type PluginAgentTurnPrepareEvent, type PluginAgentTurnPrepareResult, type PluginCommandContext, type PluginCommandResult, type PluginControlUiDescriptor, type PluginHeartbeatPromptContributionEvent, type PluginHeartbeatPromptContributionResult, type PluginHookReplyDispatchContext, type PluginHookReplyDispatchEvent, type PluginHookReplyDispatchResult, type PluginHookReplyPayload, type PluginHookReplyPayloadSendingContext, type PluginHookReplyPayloadSendingEvent, type PluginHookReplyPayloadSendingResult, type PluginJsonValue, type PluginLogger, type PluginNextTurnInjection, type PluginNextTurnInjectionEnqueueResult, type PluginNextTurnInjectionRecord, type PluginRunContextGetParams, type PluginRunContextPatch, type PluginRuntime, type PluginRuntimeLifecycleRegistration, type PluginSessionActionContext, type PluginSessionActionRegistration, type PluginSessionActionResult, type PluginSessionAttachmentParams, type PluginSessionAttachmentResult, type PluginSessionExtensionProjection, type PluginSessionExtensionRegistration, type PluginSessionSchedulerJobHandle, type PluginSessionSchedulerJobRegistration, type PluginSessionTurnScheduleParams, type PluginSessionTurnUnscheduleByTagParams, type PluginSessionTurnUnscheduleByTagResult, type PluginToolMetadataRegistration, type PluginTrustedToolPolicyRegistration, type PollInput, type ProviderAugmentModelCatalogContext, type ProviderAuthContext, type ProviderAuthDoctorHintContext, type ProviderAuthMethod, type ProviderAuthMethodNonInteractiveContext, type ProviderAuthResult, type ProviderBuildMissingAuthMessageContext, type ProviderBuildUnknownModelHintContext, type ProviderBuiltInModelSuppressionContext, type ProviderBuiltInModelSuppressionResult, type ProviderCacheTtlEligibilityContext, type ProviderCatalogContext, type ProviderCatalogResult, type ProviderDefaultThinkingPolicyContext, type ProviderDiscoveryContext, type ProviderFetchUsageSnapshotContext, type ProviderModernModelPolicyContext, type ProviderNormalizeResolvedModelContext, type ProviderNormalizeToolSchemasContext, type ProviderPrepareDynamicModelContext, type ProviderPrepareExtraParamsContext, type ProviderPrepareRuntimeAuthContext, type ProviderPreparedRuntimeAuth, type ProviderReasoningOutputMode, type ProviderReasoningOutputModeContext, type ProviderReplayPolicy, type ProviderReplayPolicyContext, type ProviderReplaySessionEntry, type ProviderReplaySessionState, type ProviderResolveDynamicModelContext, type ProviderResolveTransportTurnStateContext, type ProviderResolveUsageAuthContext, type ProviderResolveWebSocketSessionPolicyContext, type ProviderResolvedUsageAuth, type ProviderRuntimeModel, type ProviderSanitizeReplayHistoryContext, type ProviderThinkingPolicyContext, type ProviderThinkingProfile, type ProviderToolSchemaDiagnostic, type ProviderTransportTurnState, type ProviderUsageAuthToken, type ProviderUsageSnapshot, type ProviderValidateReplayTurnsContext, type ProviderWebSocketSessionPolicy, type ProviderWrapStreamFnContext, type RealtimeTranscriptionProviderPlugin, type ReplyPayload, type RoutePeer, type RoutePeerKind, type RuntimeLogger, type SecretFileReadOptions, type SecretFileReadResult, type SpeechProviderPlugin, type TailscaleStatusCommandResult, type TailscaleStatusCommandRunner, ThreadAwareOutboundSessionRouteRecoveryContext, ThreadAwareOutboundSessionRouteThreadSource, type UnifiedModelCatalogEntry, type UnifiedModelCatalogKind, type UnifiedModelCatalogProviderContext, type UnifiedModelCatalogProviderPlugin, type UnifiedModelCatalogSource, type UsageProviderId, type UsageWindow, type WizardPrompter, applyAccountNameToChannelSection, buildAgentSessionKey, buildChannelConfigSchema, buildChannelOutboundSessionRoute, buildJsonChannelConfigSchema, buildJsonPluginConfigSchema, buildMemorySystemPromptAddition, buildPluginConfigSchema, buildThreadAwareOutboundSessionRoute, channelTargetSchema, channelTargetsSchema, clearAccountEntryFields, createActionGate, createChannelPluginBase, createChatChannelPlugin, createDedupeCache, createSubsystemLogger, defineChannelPluginEntry, definePluginEntry, defineSetupPluginEntry, delegateCompactionToRuntime, deleteAccountFromConfigSection, emptyChannelConfigSchema, emptyPluginConfigSchema, enqueueKeyedTask, ensureConfiguredAcpBindingReady, formatPairingApproveHint, formatZonedTimestamp, generateSecureToken, generateSecureUuid, getChatChannelMeta, isSecretRef, isTrustedProxyAddress, jsonResult, loadSecretFileSync, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeAtHashSlug, normalizeHyphenSlug, optionalStringEnum, parseOptionalDelimitedEntries, parseStrictPositiveInteger, readNumberParam, readReactionParams, readSecretFileSync, readStringArrayParam, readStringParam, recoverCurrentThreadSessionId, resolveClientIp, resolveConfiguredAcpBindingRecord, resolveGatewayBindUrl, resolveGatewayPort, resolveGlobalDedupeCache, resolveTailnetHostWithRunner, resolveThreadSessionKeys, setAccountEnabledInConfigSection, stringEnum, stripChannelTargetPrefix, stripTargetKindPrefix, tryReadSecretFileSync };