Interface: WasmPluginManifest
@kortexya/reasoninglayer / WasmPluginManifest
Interface: WasmPluginManifest
Section titled “Interface: WasmPluginManifest”Defined in: src/types/plugins.ts:86
The publisher-authored manifest describing a plugin.
Example
Section titled “Example”const manifest: WasmPluginManifest = { name: 'geo', version: '1.0.0', capabilities: ['eval_function'], functions: [{ name: 'haversine', arity: 4 }], abiVersion: 1,};Properties
Section titled “Properties”abiVersion
Section titled “abiVersion”abiVersion:
number
Defined in: src/types/plugins.ts:100
Guest ABI version; must be 1.
allowHttp?
Section titled “allowHttp?”
optionalallowHttp?:string[]
Defined in: src/types/plugins.ts:96
Allowed outbound-HTTP URL prefixes. Omit (or leave empty) for no network capability.
capabilities
Section titled “capabilities”capabilities:
WasmCapability[]
Defined in: src/types/plugins.ts:92
Declared capabilities; at least one.
description?
Section titled “description?”
optionaldescription?:string
Defined in: src/types/plugins.ts:102
Human-readable description.
functions?
Section titled “functions?”
optionalfunctions?:WasmFunctionDecl[]
Defined in: src/types/plugins.ts:94
Declared eval functions. Omit (or leave empty) for a plugin with no eval capability.
limits?
Section titled “limits?”
optionallimits?:WasmLimits
Defined in: src/types/plugins.ts:98
Per-plugin resource clamps.
name:
string
Defined in: src/types/plugins.ts:88
Plugin name; must match ^[a-z][a-z0-9_-]{1,63}$.
version
Section titled “version”version:
string
Defined in: src/types/plugins.ts:90
Strict semver version.