跳到主要内容

Interface: KernelRuntimeApi

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:99

Properties​

protocolVersion​

readonly protocolVersion: string

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:104


sdkVersion​

readonly sdkVersion: string

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:105

Methods​

limits()​

limits(): PluginLimits

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:103

Programmatic limits (rev4 invariant 7).

Returns​

PluginLimits


supports()​

supports(feature, version?): boolean

Defined in: packages/plugin-sdk/src/kernel/authoring.ts:101

Feature negotiation (rev4 §A4): true when the host supports version.

Parameters​

feature​

string

version?​

number

Returns​

boolean