import { $i as PluginSessionActionContext$1, $o as OpenClawPluginToolContext$1, $r as TranscriptSourceProvider$1, A as OpenClawPluginSecurityAuditCollector$1, B as AgentPromptSurfaceKind$1, Bc as ProviderToolSchemaDiagnostic$1, Bi as OpenClawPluginNodeHostCommandAvailabilityContext$1, Bn as MigrationItem$1, C as OpenClawPluginHttpRouteHandler$1, Cc as ProviderAppGuidedSetupCandidate$1, D as OpenClawPluginNodeInvokePolicyContext$1, Dc as ProviderAuthMethodNonInteractiveContext$1, E as OpenClawPluginNodeInvokePolicy$1, Ec as ProviderAuthMethod$1, Fc as ProviderReplayPolicy$1, Gi as PluginLogger$1, H as PluginCommandContext$1, Hi as ProviderApplyConfigDefaultsContext$1, Hn as MigrationProviderContext$1, I as OpenClawPluginGatewayEventScope$1, Ic as ProviderReplayPolicyContext$1, Ji as PluginAgentEventSubscriptionRegistration$1, Jr as MediaUnderstandingProviderPlugin$1, Ki as PluginAgentEventEmitParams$1, L as OpenClawPluginGatewayEvents$1, Lc as ProviderReplaySessionEntry$1, M as OpenClawPluginService$1, Mc as ProviderNormalizeToolSchemasContext$1, N as OpenClawPluginServiceContext$1, Nc as ProviderReasoningOutputMode$1, O as OpenClawPluginNodeInvokePolicyResult$1, Oc as ProviderAuthResult$1, Pc as ProviderReasoningOutputModeContext$1, Qi as PluginRuntimeLifecycleRegistration$1, Qr as SpeechProviderPlugin$1, R as AgentPromptGuidance$1, Rc as ProviderReplaySessionState$1, Rn as MigrationApplyResult$1, Sc as ProviderAppGuidedSetup$1, Ta as AgentHarness$1, Tc as ProviderAuthContext$1, U as PluginCommandResult$1, Ui as ProviderNormalizeConfigContext$1, Un as MigrationProviderPlugin$1, V as OpenClawPluginCommandDefinition$1, Vc as ProviderValidateReplayTurnsContext$1, Vn as MigrationPlan$1, Wi as ProviderResolveConfigApiKeyContext$1, Wn as MigrationSummary$1, Xi as PluginRunContextGetParams$1, Xr as RealtimeTranscriptionProviderPlugin$1, Yi as PluginControlUiDescriptor$1, Zi as PluginRunContextPatch$1, _ as OpenClawGatewayDiscoveryService$1, _c as ProviderPreparedRuntimeAuth$1, a as ProviderPlugin$1, aa as PluginSessionExtensionRegistration$1, ac as ProviderResolveWebSocketSessionPolicyContext$1, bc as ProviderResolvedUsageAuth$1, c as ProviderBuiltInModelSuppressionResult$1, ca as PluginSessionTurnScheduleParams$1, cc as ProviderWrapStreamFnContext$1, ci as WorkerSshIdentityRequest$1, d as ProviderDiscoveryContext$1, da as PluginToolMetadataRegistration$1, dc as ProviderNormalizeModelIdContext$1, ea as PluginSessionActionRegistration$1, ec as ProviderBuildMissingAuthMessageContext$1, es as OpenClawPluginToolFactory$1, f as ProviderModernModelPolicyContext$1, fa as PluginTrustedToolPolicyRegistration$1, fc as ProviderNormalizeResolvedModelContext$1, g as OpenClawGatewayDiscoveryAdvertiseContext$1, gc as ProviderPrepareRuntimeAuthContext$1, h as UnifiedModelCatalogProviderPlugin$1, hc as ProviderPrepareExtraParamsContext$1, ia as PluginSessionExtensionProjection$1, ic as ProviderResolveTransportTurnStateContext$1, ii as WorkerProvider$1, j as OpenClawPluginSecurityAuditContext$1, k as OpenClawPluginReloadRegistration$1, kc as ProviderDeferSyntheticProfileAuthContext$1, l as ProviderCatalogContext$1, la as PluginSessionTurnUnscheduleByTagParams$1, lc as ProviderAuthDoctorHintContext$1, m as UnifiedModelCatalogProviderContext$1, mc as ProviderPrepareDynamicModelContext$1, n as OpenClawPluginConfigSchema$1, na as PluginSessionAttachmentParams$1, nc as ProviderCacheTtlEligibilityContext$1, ni as WorkerLeaseStatus$1, o as ProviderAugmentModelCatalogContext$1, oa as PluginSessionSchedulerJobHandle$1, oc as ProviderTransportTurnState$1, oi as WorkerSshEndpoint$1, pc as ProviderNormalizeTransportContext$1, qi as PluginAgentEventEmitResult$1, r as OpenClawPluginApi$1, ra as PluginSessionAttachmentResult$1, rc as ProviderFailoverErrorContext$1, ri as WorkerProfile$1, s as ProviderBuiltInModelSuppressionContext$1, sa as PluginSessionSchedulerJobRegistration$1, sc as ProviderWebSocketSessionPolicy$1, si as WorkerSshIdentity$1, t as OpenClawPluginDefinition$1, ta as PluginSessionActionResult$1, tc as ProviderBuildUnknownModelHintContext$1, ti as WorkerLease$1, u as ProviderCatalogResult$1, ua as PluginSessionTurnUnscheduleByTagResult$1, uc as ProviderFetchUsageSnapshotContext$1, vc as ProviderResolveDynamicModelContext$1, wc as ProviderAppGuidedSetupContext$1, xc as ProviderUsageAuthToken$1, yc as ProviderResolveUsageAuthContext$1, z as AgentPromptGuidanceEntry$1, zc as ProviderSanitizeReplayHistoryContext$1, zi as OpenClawPluginNodeHostCommand$1, zn as MigrationDetection$1 } from "./types-CaqpvD9U.js";
import { ct as PluginAgentTurnPrepareEvent$1, dt as PluginHeartbeatPromptContributionResult$1, ft as PluginNextTurnInjection$1, ht as PluginJsonValue$1, lt as PluginAgentTurnPrepareResult$1, mt as PluginNextTurnInjectionRecord$1, pt as PluginNextTurnInjectionEnqueueResult$1, ut as PluginHeartbeatPromptContributionEvent$1 } from "./hook-types-CgaAUu5D.js";
import { n as AnyAgentTool$1 } from "./common-D0LCF97L.js";
import { n as ProviderThinkingPolicyContext$1, r as ProviderThinkingProfile$1, t as ProviderDefaultThinkingPolicyContext$1 } from "./provider-thinking.types-DhIiOz1Q.js";

//#region src/plugin-sdk/plugin-entry.d.ts
type AgentHarness = AgentHarness$1;
type AgentPromptGuidance = AgentPromptGuidance$1;
type AgentPromptGuidanceEntry = AgentPromptGuidanceEntry$1;
type AgentPromptSurfaceKind = AgentPromptSurfaceKind$1;
type AnyAgentTool = AnyAgentTool$1;
type MediaUnderstandingProviderPlugin = MediaUnderstandingProviderPlugin$1;
type MigrationApplyResult = MigrationApplyResult$1;
type MigrationDetection = MigrationDetection$1;
type MigrationItem = MigrationItem$1;
type MigrationPlan = MigrationPlan$1;
type MigrationProviderContext = MigrationProviderContext$1;
type MigrationProviderPlugin = MigrationProviderPlugin$1;
type ProviderPlugin = ProviderPlugin$1;
type MigrationSummary = MigrationSummary$1;
type OpenClawGatewayDiscoveryAdvertiseContext = OpenClawGatewayDiscoveryAdvertiseContext$1;
type OpenClawGatewayDiscoveryService = OpenClawGatewayDiscoveryService$1;
type OpenClawPluginApi = OpenClawPluginApi$1;
type OpenClawPluginCommandDefinition = OpenClawPluginCommandDefinition$1;
type OpenClawPluginConfigSchema = OpenClawPluginConfigSchema$1;
type OpenClawPluginDefinition = OpenClawPluginDefinition$1;
type OpenClawPluginHttpRouteHandler = OpenClawPluginHttpRouteHandler$1;
type OpenClawPluginNodeHostCommand = OpenClawPluginNodeHostCommand$1;
type OpenClawPluginNodeHostCommandAvailabilityContext = OpenClawPluginNodeHostCommandAvailabilityContext$1;
type OpenClawPluginNodeInvokePolicy = OpenClawPluginNodeInvokePolicy$1;
type OpenClawPluginNodeInvokePolicyContext = OpenClawPluginNodeInvokePolicyContext$1;
type OpenClawPluginNodeInvokePolicyResult = OpenClawPluginNodeInvokePolicyResult$1;
type OpenClawPluginReloadRegistration = OpenClawPluginReloadRegistration$1;
type OpenClawPluginSecurityAuditCollector = OpenClawPluginSecurityAuditCollector$1;
type OpenClawPluginSecurityAuditContext = OpenClawPluginSecurityAuditContext$1;
type OpenClawPluginService = OpenClawPluginService$1;
type OpenClawPluginServiceContext = OpenClawPluginServiceContext$1;
type OpenClawPluginToolContext = OpenClawPluginToolContext$1;
type OpenClawPluginToolFactory = OpenClawPluginToolFactory$1;
type PluginAgentEventEmitParams = PluginAgentEventEmitParams$1;
type PluginAgentEventEmitResult = PluginAgentEventEmitResult$1;
type PluginAgentEventSubscriptionRegistration = PluginAgentEventSubscriptionRegistration$1;
type PluginAgentTurnPrepareEvent = PluginAgentTurnPrepareEvent$1;
type PluginAgentTurnPrepareResult = PluginAgentTurnPrepareResult$1;
type PluginCommandContext = PluginCommandContext$1;
type PluginCommandResult = PluginCommandResult$1;
type PluginControlUiDescriptor = PluginControlUiDescriptor$1;
type PluginHeartbeatPromptContributionEvent = PluginHeartbeatPromptContributionEvent$1;
type PluginHeartbeatPromptContributionResult = PluginHeartbeatPromptContributionResult$1;
type PluginJsonValue = PluginJsonValue$1;
type PluginLogger = PluginLogger$1;
type PluginNextTurnInjection = PluginNextTurnInjection$1;
type PluginNextTurnInjectionEnqueueResult = PluginNextTurnInjectionEnqueueResult$1;
type PluginNextTurnInjectionRecord = PluginNextTurnInjectionRecord$1;
type PluginRunContextGetParams = PluginRunContextGetParams$1;
type PluginRunContextPatch = PluginRunContextPatch$1;
type PluginRuntimeLifecycleRegistration = PluginRuntimeLifecycleRegistration$1;
type PluginSessionActionContext = PluginSessionActionContext$1;
type PluginSessionActionRegistration = PluginSessionActionRegistration$1;
type PluginSessionActionResult = PluginSessionActionResult$1;
type PluginSessionAttachmentParams = PluginSessionAttachmentParams$1;
type PluginSessionAttachmentResult = PluginSessionAttachmentResult$1;
type PluginSessionExtensionProjection = PluginSessionExtensionProjection$1;
type PluginSessionExtensionRegistration = PluginSessionExtensionRegistration$1;
type PluginSessionSchedulerJobHandle = PluginSessionSchedulerJobHandle$1;
type PluginSessionSchedulerJobRegistration = PluginSessionSchedulerJobRegistration$1;
type PluginSessionTurnScheduleParams = PluginSessionTurnScheduleParams$1;
type PluginSessionTurnUnscheduleByTagParams = PluginSessionTurnUnscheduleByTagParams$1;
type PluginSessionTurnUnscheduleByTagResult = PluginSessionTurnUnscheduleByTagResult$1;
type PluginToolMetadataRegistration = PluginToolMetadataRegistration$1;
type PluginTrustedToolPolicyRegistration = PluginTrustedToolPolicyRegistration$1;
type ProviderApplyConfigDefaultsContext = ProviderApplyConfigDefaultsContext$1;
type ProviderAugmentModelCatalogContext = ProviderAugmentModelCatalogContext$1;
type ProviderAuthContext = ProviderAuthContext$1;
type ProviderAuthDoctorHintContext = ProviderAuthDoctorHintContext$1;
type ProviderAuthMethod = ProviderAuthMethod$1;
type ProviderAuthMethodNonInteractiveContext = ProviderAuthMethodNonInteractiveContext$1;
type ProviderAppGuidedSetup = ProviderAppGuidedSetup$1;
type ProviderAppGuidedSetupCandidate = ProviderAppGuidedSetupCandidate$1;
type ProviderAppGuidedSetupContext = ProviderAppGuidedSetupContext$1;
type ProviderAuthResult = ProviderAuthResult$1;
type ProviderBuildMissingAuthMessageContext = ProviderBuildMissingAuthMessageContext$1;
type ProviderBuildUnknownModelHintContext = ProviderBuildUnknownModelHintContext$1;
type ProviderBuiltInModelSuppressionContext = ProviderBuiltInModelSuppressionContext$1;
type ProviderBuiltInModelSuppressionResult = ProviderBuiltInModelSuppressionResult$1;
type ProviderCacheTtlEligibilityContext = ProviderCacheTtlEligibilityContext$1;
type ProviderCatalogContext = ProviderCatalogContext$1;
type ProviderCatalogResult = ProviderCatalogResult$1;
type ProviderDefaultThinkingPolicyContext = ProviderDefaultThinkingPolicyContext$1;
type ProviderDeferSyntheticProfileAuthContext = ProviderDeferSyntheticProfileAuthContext$1;
type ProviderDiscoveryContext = ProviderDiscoveryContext$1;
type ProviderFailoverErrorContext = ProviderFailoverErrorContext$1;
type ProviderFetchUsageSnapshotContext = ProviderFetchUsageSnapshotContext$1;
type ProviderModernModelPolicyContext = ProviderModernModelPolicyContext$1;
type ProviderNormalizeConfigContext = ProviderNormalizeConfigContext$1;
type ProviderNormalizeModelIdContext = ProviderNormalizeModelIdContext$1;
type ProviderNormalizeResolvedModelContext = ProviderNormalizeResolvedModelContext$1;
type ProviderNormalizeToolSchemasContext = ProviderNormalizeToolSchemasContext$1;
type ProviderNormalizeTransportContext = ProviderNormalizeTransportContext$1;
type ProviderPrepareDynamicModelContext = ProviderPrepareDynamicModelContext$1;
type ProviderPrepareExtraParamsContext = ProviderPrepareExtraParamsContext$1;
type ProviderPrepareRuntimeAuthContext = ProviderPrepareRuntimeAuthContext$1;
type ProviderPreparedRuntimeAuth = ProviderPreparedRuntimeAuth$1;
type ProviderReasoningOutputMode = ProviderReasoningOutputMode$1;
type ProviderReasoningOutputModeContext = ProviderReasoningOutputModeContext$1;
type ProviderReplayPolicy = ProviderReplayPolicy$1;
type ProviderReplayPolicyContext = ProviderReplayPolicyContext$1;
type ProviderReplaySessionEntry = ProviderReplaySessionEntry$1;
type ProviderReplaySessionState = ProviderReplaySessionState$1;
type ProviderResolveConfigApiKeyContext = ProviderResolveConfigApiKeyContext$1;
type ProviderResolveDynamicModelContext = ProviderResolveDynamicModelContext$1;
type ProviderResolveTransportTurnStateContext = ProviderResolveTransportTurnStateContext$1;
type ProviderResolveUsageAuthContext = ProviderResolveUsageAuthContext$1;
type ProviderResolveWebSocketSessionPolicyContext = ProviderResolveWebSocketSessionPolicyContext$1;
type ProviderResolvedUsageAuth = ProviderResolvedUsageAuth$1;
type ProviderSanitizeReplayHistoryContext = ProviderSanitizeReplayHistoryContext$1;
type ProviderThinkingPolicyContext = ProviderThinkingPolicyContext$1;
type ProviderThinkingProfile = ProviderThinkingProfile$1;
type ProviderToolSchemaDiagnostic = ProviderToolSchemaDiagnostic$1;
type ProviderTransportTurnState = ProviderTransportTurnState$1;
type ProviderUsageAuthToken = ProviderUsageAuthToken$1;
type ProviderValidateReplayTurnsContext = ProviderValidateReplayTurnsContext$1;
type ProviderWebSocketSessionPolicy = ProviderWebSocketSessionPolicy$1;
type ProviderWrapStreamFnContext = ProviderWrapStreamFnContext$1;
type RealtimeTranscriptionProviderPlugin = RealtimeTranscriptionProviderPlugin$1;
type SpeechProviderPlugin = SpeechProviderPlugin$1;
type TranscriptSourceProvider = TranscriptSourceProvider$1;
type UnifiedModelCatalogProviderContext = UnifiedModelCatalogProviderContext$1;
type UnifiedModelCatalogProviderPlugin = UnifiedModelCatalogProviderPlugin$1;
type WorkerLease = WorkerLease$1;
type WorkerLeaseStatus = WorkerLeaseStatus$1;
type WorkerProfile = WorkerProfile$1;
type WorkerProvider = WorkerProvider$1;
type WorkerSshEndpoint = WorkerSshEndpoint$1;
type WorkerSshIdentity = WorkerSshIdentity$1;
type WorkerSshIdentityRequest = WorkerSshIdentityRequest$1;
type OpenClawPluginGatewayEventScope = OpenClawPluginGatewayEventScope$1;
type OpenClawPluginGatewayEvents = OpenClawPluginGatewayEvents$1;
/** Options for a plugin entry that registers providers, tools, commands, or services. */
type DefinePluginEntryOptions = {
  id: string;
  name: string;
  description: string;
  /**
   * @deprecated Declare exclusive plugin kind in `openclaw.plugin.json` via
   * manifest `kind`. Runtime-entry `kind` remains only as a compatibility
   * fallback for older plugins.
   */
  kind?: OpenClawPluginDefinition["kind"];
  configSchema?: OpenClawPluginConfigSchema | (() => OpenClawPluginConfigSchema);
  reload?: OpenClawPluginDefinition["reload"];
  nodeHostCommands?: OpenClawPluginDefinition["nodeHostCommands"];
  securityAuditCollectors?: OpenClawPluginDefinition["securityAuditCollectors"];
  register: (api: OpenClawPluginApi) => void;
};
/** Normalized object shape that OpenClaw loads from a plugin entry module. */
type DefinedPluginEntry = {
  id: string;
  name: string;
  description: string;
  configSchema: OpenClawPluginConfigSchema;
  register: NonNullable<OpenClawPluginDefinition["register"]>;
} & Pick<OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
/**
 * Canonical entry helper for non-channel plugins.
 *
 * Use this for provider, tool, command, service, memory, and context-engine
 * plugins. Channel plugins should use `defineChannelPluginEntry(...)` from
 * `openclaw/plugin-sdk/core` so they inherit the channel capability wiring.
 */
declare function definePluginEntry({
  id,
  name,
  description,
  kind,
  configSchema,
  reload,
  nodeHostCommands,
  securityAuditCollectors,
  register
}: DefinePluginEntryOptions): DefinedPluginEntry;
//#endregion
export { PluginSessionActionContext as $, ProviderResolveDynamicModelContext as $t, OpenClawPluginSecurityAuditContext as A, ProviderDefaultThinkingPolicyContext as At, PluginCommandContext as B, ProviderNormalizeTransportContext as Bt, OpenClawPluginNodeHostCommand as C, WorkerSshIdentity as Cn, ProviderBuildMissingAuthMessageContext as Ct, OpenClawPluginNodeInvokePolicyResult as D, ProviderCacheTtlEligibilityContext as Dt, OpenClawPluginNodeInvokePolicyContext as E, ProviderBuiltInModelSuppressionResult as Et, PluginAgentEventEmitParams as F, ProviderModernModelPolicyContext as Ft, PluginJsonValue as G, ProviderPreparedRuntimeAuth as Gt, PluginControlUiDescriptor as H, ProviderPrepareDynamicModelContext as Ht, PluginAgentEventEmitResult as I, ProviderNormalizeConfigContext as It, PluginNextTurnInjectionEnqueueResult as J, ProviderReplayPolicy as Jt, PluginLogger as K, ProviderReasoningOutputMode as Kt, PluginAgentEventSubscriptionRegistration as L, ProviderNormalizeModelIdContext as Lt, OpenClawPluginServiceContext as M, ProviderDiscoveryContext as Mt, OpenClawPluginToolContext as N, ProviderFailoverErrorContext as Nt, OpenClawPluginReloadRegistration as O, ProviderCatalogContext as Ot, OpenClawPluginToolFactory as P, ProviderFetchUsageSnapshotContext as Pt, PluginRuntimeLifecycleRegistration as Q, ProviderResolveConfigApiKeyContext as Qt, PluginAgentTurnPrepareEvent as R, ProviderNormalizeResolvedModelContext as Rt, OpenClawPluginHttpRouteHandler as S, WorkerSshEndpoint as Sn, ProviderAuthResult as St, OpenClawPluginNodeInvokePolicy as T, definePluginEntry as Tn, ProviderBuiltInModelSuppressionContext as Tt, PluginHeartbeatPromptContributionEvent as U, ProviderPrepareExtraParamsContext as Ut, PluginCommandResult as V, ProviderPlugin as Vt, PluginHeartbeatPromptContributionResult as W, ProviderPrepareRuntimeAuthContext as Wt, PluginRunContextGetParams as X, ProviderReplaySessionEntry as Xt, PluginNextTurnInjectionRecord as Y, ProviderReplayPolicyContext as Yt, PluginRunContextPatch as Z, ProviderReplaySessionState as Zt, OpenClawPluginCommandDefinition as _, UnifiedModelCatalogProviderPlugin as _n, ProviderAugmentModelCatalogContext as _t, AnyAgentTool as a, ProviderThinkingPolicyContext as an, PluginSessionExtensionRegistration as at, OpenClawPluginGatewayEventScope as b, WorkerProfile as bn, ProviderAuthMethod as bt, MigrationDetection as c, ProviderTransportTurnState as cn, PluginSessionTurnScheduleParams as ct, MigrationProviderContext as d, ProviderWebSocketSessionPolicy as dn, PluginToolMetadataRegistration as dt, ProviderResolveTransportTurnStateContext as en, PluginSessionActionRegistration as et, MigrationProviderPlugin as f, ProviderWrapStreamFnContext as fn, PluginTrustedToolPolicyRegistration as ft, OpenClawPluginApi as g, UnifiedModelCatalogProviderContext as gn, ProviderApplyConfigDefaultsContext as gt, OpenClawGatewayDiscoveryService as h, TranscriptSourceProvider as hn, ProviderAppGuidedSetupContext as ht, AgentPromptSurfaceKind as i, ProviderSanitizeReplayHistoryContext as in, PluginSessionExtensionProjection as it, OpenClawPluginService as j, ProviderDeferSyntheticProfileAuthContext as jt, OpenClawPluginSecurityAuditCollector as k, ProviderCatalogResult as kt, MigrationItem as l, ProviderUsageAuthToken as ln, PluginSessionTurnUnscheduleByTagParams as lt, OpenClawGatewayDiscoveryAdvertiseContext as m, SpeechProviderPlugin as mn, ProviderAppGuidedSetupCandidate as mt, AgentPromptGuidance as n, ProviderResolveWebSocketSessionPolicyContext as nn, PluginSessionAttachmentParams as nt, MediaUnderstandingProviderPlugin as o, ProviderThinkingProfile as on, PluginSessionSchedulerJobHandle as ot, MigrationSummary as p, RealtimeTranscriptionProviderPlugin as pn, ProviderAppGuidedSetup as pt, PluginNextTurnInjection as q, ProviderReasoningOutputModeContext as qt, AgentPromptGuidanceEntry as r, ProviderResolvedUsageAuth as rn, PluginSessionAttachmentResult as rt, MigrationApplyResult as s, ProviderToolSchemaDiagnostic as sn, PluginSessionSchedulerJobRegistration as st, AgentHarness as t, ProviderResolveUsageAuthContext as tn, PluginSessionActionResult as tt, MigrationPlan as u, ProviderValidateReplayTurnsContext as un, PluginSessionTurnUnscheduleByTagResult as ut, OpenClawPluginConfigSchema as v, WorkerLease as vn, ProviderAuthContext as vt, OpenClawPluginNodeHostCommandAvailabilityContext as w, WorkerSshIdentityRequest as wn, ProviderBuildUnknownModelHintContext as wt, OpenClawPluginGatewayEvents as x, WorkerProvider as xn, ProviderAuthMethodNonInteractiveContext as xt, OpenClawPluginDefinition as y, WorkerLeaseStatus as yn, ProviderAuthDoctorHintContext as yt, PluginAgentTurnPrepareResult as z, ProviderNormalizeToolSchemasContext as zt };