Zum Hauptinhalt springen

Variable: PluginRuntimeBrokerRevokeBodySchema

const PluginRuntimeBrokerRevokeBodySchema: TObject<{ name: TOptional<TString>; pluginId: TString; reason: TOptional<TString>; }>

Defined in: packages/contracts/src/pluginRuntime.ts:1062

BROKER_REVOKE control payload (host → runtime, §10.2). The host owns the decision (ADR-0027); this command tells the runtime to reject new calls for the plugin/capability and abort matching in-flight ones so worker-side pending promises fail fast with CAPABILITY_REVOKED.