import { $n as ensureConfiguredAcpBindingReady, $o as ProviderBuildMissingAuthMessageContext, $s as AgentPromptGuidance, Al as OpenClawPluginSessionsChangedEvent, As as ProviderReplaySessionState, Au as PluginAgentEventEmitResult, Bs as ProviderAuthResult, Bu as PluginSessionAttachmentResult, Cu as ProviderRuntimeModel, Ds as ProviderReplayPolicy, Es as ProviderReasoningOutputModeContext, Fs as ProviderAppGuidedSetupCandidate, Fu as PluginRuntimeLifecycleRegistration, Gn as ThreadAwareOutboundSessionRouteRecoveryContext, Gs as UsageWindow, Gu as PluginSessionTurnScheduleParams, Hl as RealtimeTranscriptionProviderPlugin, Hu as PluginSessionExtensionRegistration, Is as ProviderAppGuidedSetupContext, Iu as PluginSessionActionContext, Jn as buildThreadAwareOutboundSessionRoute, Js as ProviderCatalogContext, Ju as PluginToolMetadataRegistration, Kn as ThreadAwareOutboundSessionRouteThreadSource, Ks as ProviderAugmentModelCatalogContext, Ku as PluginSessionTurnUnscheduleByTagParams, Ls as ProviderAuthContext, Lu as PluginSessionActionRegistration, Ml as buildPluginConfigSchema, Ms as ProviderToolSchemaDiagnostic, Mu as PluginControlUiDescriptor, Nl as emptyPluginConfigSchema, Ns as ProviderValidateReplayTurnsContext, Nu as PluginRunContextGetParams, Ol as OpenClawPluginGatewayEventScope, Os as ProviderReplayPolicyContext, Ou as PluginLogger, Ps as ProviderAppGuidedSetup, Pu as PluginRunContextPatch, Qn as defineSetupPluginEntry, Qs as UnifiedModelCatalogProviderPlugin, Rs as ProviderAuthMethod, Ru as PluginSessionActionResult, Su as OpenClawPluginToolFactory, Tl as OpenClawPluginServiceContext, Ts as ProviderReasoningOutputMode, Us as ProviderUsageSnapshot, Uu as PluginSessionSchedulerJobHandle, Vl as MediaUnderstandingProviderPlugin, Vu as PluginSessionExtensionProjection, Wl as SpeechProviderPlugin, Wn as ChannelOutboundSessionRouteParams, Ws as UsageProviderId, Wu as PluginSessionSchedulerJobRegistration, Xn as createChatChannelPlugin, Xo as OpenClawPluginConfigSchema, Xs as ProviderModernModelPolicyContext, Yn as createChannelPluginBase, Yo as OpenClawPluginDefinition, Ys as ProviderCatalogResult, Yu as PluginTrustedToolPolicyRegistration, Zn as defineChannelPluginEntry, Zo as OpenClawPluginApi, Zs as UnifiedModelCatalogProviderContext, _r as enqueueKeyedTask, _s as ProviderResolveDynamicModelContext, ac as MemoryPluginCapability, ar as formatZonedTimestamp, as as ProviderTransportTurnState, bi as AgentHarness, br as PluginRuntime, bs as ProviderUsageAuthToken, bu as OpenClawPluginActiveModelContext, cr as buildMemorySystemPromptAddition, cs as ProviderAuthDoctorHintContext, dr as TailscaleStatusCommandResult, ds as ProviderNormalizeResolvedModelContext, ec as AgentPromptGuidanceEntry, el as GatewayRequestHandlerOptions, er as getChatChannelMetaForSdk, es as ProviderBuildUnknownModelHintContext, fr as TailscaleStatusCommandRunner, ga as RuntimeLogger, gr as KeyedAsyncQueue, gs as ProviderPreparedRuntimeAuth, ha as ContextEngineSessionTarget, hr as resolveTailscaleServeGatewayUrlsWithRunner, hs as ProviderPrepareRuntimeAuthContext, ic as PluginCommandResult, ir as resolveConfiguredAcpBindingRecord, is as ProviderResolveWebSocketSessionPolicyContext, jl as buildJsonPluginConfigSchema, js as ProviderSanitizeReplayHistoryContext, ju as PluginAgentEventSubscriptionRegistration, kl as OpenClawPluginGatewayEvents, ks as ProviderReplaySessionEntry, ku as PluginAgentEventEmitParams, lr as delegateCompactionToRuntime, ls as ProviderFetchUsageSnapshotContext, mr as resolveTailscalePublishedHost, ms as ProviderPrepareExtraParamsContext, nc as OpenClawPluginCommandDefinition, nd as ProviderThinkingPolicyContext, nr as stripChannelTargetPrefix, oc as MemoryPluginPublicArtifact, or as GatewayBindUrlResult, os as ProviderWebSocketSessionPolicy, pr as resolveTailnetHostWithRunner, ps as ProviderPrepareDynamicModelContext, qn as buildChannelOutboundSessionRoute, qs as ProviderBuiltInModelSuppressionResult, qu as PluginSessionTurnUnscheduleByTagResult, rc as PluginCommandContext, rd as ProviderThinkingProfile, rr as stripTargetKindPrefix, rs as ProviderResolveTransportTurnStateContext, sc as MemoryPluginPublicArtifactsProvider, sr as resolveGatewayBindUrl, ss as ProviderWrapStreamFnContext, tc as AgentPromptSurfaceKind, td as ProviderDefaultThinkingPolicyContext, tr as recoverCurrentThreadSessionId, ts as ProviderCacheTtlEligibilityContext, ur as prepareMemorySystemPromptAddition, vr as ProviderBuiltInModelSuppressionContext, vs as ProviderResolveUsageAuthContext, wl as OpenClawPluginService, ws as ProviderNormalizeToolSchemasContext, xu as OpenClawPluginToolContext, yr as definePluginEntry, ys as ProviderResolvedUsageAuth, zs as ProviderAuthMethodNonInteractiveContext, zu as PluginSessionAttachmentParams } from "../agent-harness-runtime-Dve5eW1E.js";
import { r as OpenClawConfig } from "../types.openclaw-Cv-8Xdxq.js";
import { N as ChatType } from "../types.base-nhGY37Gp.js";
import { d as isSecretRef } from "../types.secrets-BrR1WS-r.js";
import { D as UnifiedModelCatalogEntry, O as UnifiedModelCatalogKind, d as ChannelSetupInput, k as UnifiedModelCatalogSource } from "../manifest-registry.types-BQI4C7qk.js";
import { r as ChannelConfigUiHint } from "../types.config-CGDAHrEQ.js";
import { n as resolveGatewayPort } from "../paths-BMaD1Oiv.js";
import { o as resolveThreadSessionKeys } from "../session-key--0Qf5CR-.js";
import { S as ChannelOutboundSessionRoute, b as ChannelMessagingAdapter, d as ChannelGroupContext, g as ChannelMessageActionContext, l as ChannelDirectoryEntry, r as ChannelAccountSnapshot, t as BaseProbeResult, x as ChannelMeta } from "../types.core-Cfy7zcbX.js";
import { h as OutboundLocation, m as NormalizedLocation } from "../reply-payload-D57UlCOu.js";
import { t as HistoryEntry } from "../history.types-iIF09aVV.js";
import { t as PollInput } from "../polls-sXqxREW1.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../account-id-Dh6XMgGH.js";
import { a as buildAgentSessionKey, i as RoutePeerKind, r as RoutePeer } from "../resolve-route-DA6R5TZp.js";
import { n as ChannelOutboundAdapter, o as OutboundIdentity } from "../outbound.types-D9ZmsvQS.js";
import { p as WizardPrompter } from "../setup-wizard-types-Y4dT4vId.js";
import { t as ChannelPlugin } from "../types.plugin-JXSukMIu.js";
import { t as ChannelMessageActionName } from "../types.public-BIALqs4r.js";
import { A as PluginAgentTurnPrepareEvent, C as PluginHookReplyPayloadSendingEvent, F as PluginNextTurnInjectionEnqueueResult, I as PluginNextTurnInjectionRecord, L as PluginJsonValue, M as PluginHeartbeatPromptContributionEvent, N as PluginHeartbeatPromptContributionResult, P as PluginNextTurnInjection, S as PluginHookReplyPayloadSendingContext, b as PluginHookReplyDispatchResult, j as PluginAgentTurnPrepareResult, v as PluginHookReplyDispatchContext, w as PluginHookReplyPayloadSendingResult, x as PluginHookReplyPayload, y as PluginHookReplyDispatchEvent } from "../hook-runner-global-CM7gDpaY.js";
import { n as createSubsystemLogger } from "../subsystem-RmDRaRJV.js";
import { i as ReplyPayload } from "../reply-payload-B9oJxz4R.js";
import { c as readNumberParam, d as readStringArrayParam, n as AnyAgentTool, p as readToolStringParam, r as createActionGate, u as readReactionParams } from "../common-D8e0NYr2.js";
import { t as jsonResult } from "../tool-results-9WvdSsoM.js";
import { i as buildChannelConfigSchema, l as emptyChannelConfigSchema, o as buildJsonChannelConfigSchema } from "../config-schema-CMJDJcYm.js";
import { a as generateSecureUuid, c as createDedupeCache, i as generateSecureToken, l as resolveGlobalDedupeCache } from "../secure-random-DZvuanS3.js";
import { t as AllowlistMatch } from "../allowlist-match-Bmdv70ad.js";
import { m as parseStrictPositiveInteger } from "../number-coercion-DLWcU7C1.js";
import { o as migrateBaseNameToDefaultAccount, t as applyAccountNameToChannelSection } from "../setup-helpers-ZW9A4_0R.js";
import { i as setAccountEnabledInConfigSection, r as deleteAccountFromConfigSection, t as clearAccountEntryFields } from "../config-helpers-fMvbKZGg.js";
import { n as formatPairingApproveHint, r as parseOptionalDelimitedEntries } from "../helpers-BuTJOJz0.js";
import { n as channelTargetsSchema, o as optionalStringEnum, s as stringEnum, t as channelTargetSchema } from "../typebox-CG2pB18W.js";
import { i as DEFAULT_SECRET_FILE_MAX_BYTES, l as readSecretFileSync, n as loadSecretFileSync, r as tryReadSecretFileSync, s as SecretFileReadOptions, t as SecretFileReadResult } from "../secret-file-CP3QFrME.js";
import { n as normalizeAtHashSlug, r as normalizeHyphenSlug } from "../string-normalization-XhixubOJ.js";
import { i as resolveClientIp, r as isTrustedProxyAddress } from "../net-C6Td5n3t.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, type ContextEngineSessionTarget, 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 OpenClawPluginGatewayEventScope, type OpenClawPluginGatewayEvents, type OpenClawPluginService, type OpenClawPluginServiceContext, type OpenClawPluginSessionsChangedEvent, type OpenClawPluginToolContext, type OpenClawPluginToolFactory, type OutboundIdentity, type OutboundLocation, 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 ProviderAppGuidedSetup, type ProviderAppGuidedSetupCandidate, type ProviderAppGuidedSetupContext, 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 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, getChatChannelMetaForSdk as getChatChannelMeta, isSecretRef, isTrustedProxyAddress, jsonResult, loadSecretFileSync, migrateBaseNameToDefaultAccount, normalizeAccountId, normalizeAtHashSlug, normalizeHyphenSlug, optionalStringEnum, parseOptionalDelimitedEntries, parseStrictPositiveInteger, prepareMemorySystemPromptAddition, readNumberParam, readReactionParams, readSecretFileSync, readStringArrayParam, readToolStringParam as readStringParam, recoverCurrentThreadSessionId, resolveClientIp, resolveConfiguredAcpBindingRecord, resolveGatewayBindUrl, resolveGatewayPort, resolveGlobalDedupeCache, resolveTailnetHostWithRunner, resolveTailscalePublishedHost, resolveTailscaleServeGatewayUrlsWithRunner, resolveThreadSessionKeys, setAccountEnabledInConfigSection, stringEnum, stripChannelTargetPrefix, stripTargetKindPrefix, tryReadSecretFileSync };