import { D as ChannelOutboundSessionRoute, E as ChannelMeta, P as ChannelSetupInput, T as ChannelMessagingAdapter, b as ChannelMessageActionContext, m as ChannelGroupContext, r as ChannelAccountSnapshot, t as BaseProbeResult, u as ChannelDirectoryEntry } from "./types.core-BGERAsyQ.js";
import { i as OpenClawConfig } from "./types.openclaw-DmcB4-gw.js";
import { t as ChatType } from "./chat-type-B6XXSSnm.js";
import { x as isSecretRef } from "./types.secrets-rAcqRhcN.js";
import { t as HistoryEntry } from "./history.types-D_WxL2c8.js";
import { n as PollInput } from "./polls-CfHkU59X.js";
import { d as UnifiedModelCatalogEntry, f as UnifiedModelCatalogKind, p as UnifiedModelCatalogSource } from "./manifest-registry-DuXlHP4W.js";
import { r as ChannelConfigUiHint } from "./types.config-D1pSqbn8.js";
import { n as ChannelOutboundAdapter, u as OutboundIdentity } from "./outbound.types-BSZ4XmbC.js";
import { i as WizardPrompter } from "./prompts-DgKIGa-v.js";
import { n as ChannelPlugin, t as ChannelMessageActionName } from "./types.public-BOog3iP2.js";
import { n as resolveGatewayPort } from "./paths-DgZmXj4J.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-CkhzdI_U.js";
import { $ as OpenClawPluginService, $n as PluginRuntime, A as OpenClawPluginDefinition, Bc as ProviderDefaultThinkingPolicyContext, Bn as ProviderTransportTurnState, Bt as ProviderCatalogResult, C as OpenClawPluginApi, Co as OpenClawPluginToolFactory, Cr as PluginSessionTurnUnscheduleByTagParams, Er as PluginTrustedToolPolicyRegistration, Et as ProviderAuthDoctorHintContext, Ft as ProviderBuiltInModelSuppressionResult, Gn as RealtimeTranscriptionProviderPlugin, Hc as ProviderThinkingProfile, Hn as ProviderValidateReplayTurnsContext, In as ProviderSanitizeReplayHistoryContext, It as ProviderCacheTtlEligibilityContext, Ma as RuntimeLogger, Mn as ProviderResolveUsageAuthContext, Mt as ProviderBuildMissingAuthMessageContext, Nn as ProviderResolveWebSocketSessionPolicyContext, Nt as ProviderBuildUnknownModelHintContext, O as OpenClawPluginCommandDefinition, On as ProviderResolveDynamicModelContext, Ot as ProviderAuthMethod, Pn as ProviderResolvedUsageAuth, Pt as ProviderBuiltInModelSuppressionContext, Rn as ProviderToolSchemaDiagnostic, Rt as ProviderCatalogContext, Sn as ProviderReplayPolicyContext, So as OpenClawPluginToolContext, Sr as PluginSessionTurnScheduleParams, Ti as AgentHarness, Tn as ProviderReplaySessionState, Tr as PluginToolMetadataRegistration, Tt as ProviderAuthContext, Uc as ProviderRuntimeModel, Un as ProviderWebSocketSessionPolicy, Vc as ProviderThinkingPolicyContext, Vn as ProviderUsageAuthToken, Wn as ProviderWrapStreamFnContext, Wt as ProviderDiscoveryContext, Xn as UnifiedModelCatalogProviderPlugin, Xt as ProviderFetchUsageSnapshotContext, Yn as UnifiedModelCatalogProviderContext, _n as ProviderPrepareRuntimeAuthContext, _r as PluginSessionAttachmentResult, an as ProviderNormalizeToolSchemasContext, at as PluginCommandContext, bn as ProviderReasoningOutputModeContext, bo as OpenClawPluginActiveModelContext, br as PluginSessionSchedulerJobHandle, cr as PluginAgentEventSubscriptionRegistration, ct as PluginCommandResult, dr as PluginRunContextPatch, en as ProviderModernModelPolicyContext, et as OpenClawPluginServiceContext, fr as PluginRuntimeLifecycleRegistration, gn as ProviderPrepareExtraParamsContext, gr as PluginSessionAttachmentParams, hn as ProviderPrepareDynamicModelContext, hr as PluginSessionActionResult, ht as PluginLogger, i as AgentPromptSurfaceKind, in as ProviderNormalizeResolvedModelContext, jn as ProviderResolveTransportTurnStateContext, jt as ProviderAuthResult, k as OpenClawPluginConfigSchema, kt as ProviderAuthMethodNonInteractiveContext, lr as PluginControlUiDescriptor, mr as PluginSessionActionRegistration, n as AgentPromptGuidance, o as MediaUnderstandingProviderPlugin, or as PluginAgentEventEmitParams, pr as PluginSessionActionContext, qn as SpeechProviderPlugin, r as AgentPromptGuidanceEntry, sr as PluginAgentEventEmitResult, ur as PluginRunContextGetParams, vn as ProviderPreparedRuntimeAuth, vr as PluginSessionExtensionProjection, wn as ProviderReplaySessionEntry, wr as PluginSessionTurnUnscheduleByTagResult, wt as ProviderAugmentModelCatalogContext, xn as ProviderReplayPolicy, xr as PluginSessionSchedulerJobRegistration, yn as ProviderReasoningOutputMode, yr as PluginSessionExtensionRegistration } from "./types-B26yIFhw.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, r as AnyAgentTool, w as readReactionParams } from "./common-BEiq2hZg.js";
import { n as createSubsystemLogger } from "./subsystem-n4Y4vCcQ.js";
import { r as GatewayRequestHandlerOptions } from "./types-CO8ac8z4.js";
import { r as ReplyPayload } from "./reply-payload-Bz_57wB-.js";
import { c as MemoryPluginPublicArtifact, l as MemoryPluginPublicArtifactsProvider, s as MemoryPluginCapability } from "./memory-state-rmK1_XC8.js";
import { Gt as PluginHeartbeatPromptContributionResult, Ht as PluginAgentTurnPrepareEvent, Jt as PluginNextTurnInjectionRecord, Kt as PluginNextTurnInjection, Ut as PluginAgentTurnPrepareResult, Wt as PluginHeartbeatPromptContributionEvent, Yt as PluginJsonValue, ct as PluginHookReplyDispatchResult, dt as PluginHookReplyPayloadSendingEvent, ft as PluginHookReplyPayloadSendingResult, lt as PluginHookReplyPayload, ot as PluginHookReplyDispatchContext, qt as PluginNextTurnInjectionEnqueueResult, st as PluginHookReplyDispatchEvent, ut as PluginHookReplyPayloadSendingContext } from "./hook-types-BT3jxGoN.js";
import { i as buildAgentSessionKey, n as RoutePeer, r as RoutePeerKind } from "./resolve-route-Bv9LCkch.js";
import { n as channelTargetsSchema, o as optionalStringEnum, s as stringEnum, t as channelTargetSchema } from "./typebox-DYcWd2Ud.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-Xnv_osNp.js";
import { n as buildPluginConfigSchema, r as emptyPluginConfigSchema, t as buildJsonPluginConfigSchema } from "./config-schema-BIMzRm1B.js";
import { t as definePluginEntry } from "./plugin-entry-De5cvZUK.js";
import { n as NormalizedLocation } from "./location-Nlme7YFG.js";
import { r as enqueueKeyedTask, t as KeyedAsyncQueue } from "./keyed-async-queue-DgXrABQM.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-BKo0XolE.js";
import { s as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-BpuyzD5u.js";
import { n as deleteAccountFromConfigSection, r as setAccountEnabledInConfigSection, t as clearAccountEntryFields } from "./config-helpers-Cda1VOpf.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-BmVMUX6k.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 };