Expand description
Plugin manifest (.progit-plugin.json) — typed mirror.
[ARCH] Plugins ship a manifest next to their entry point. The manifest is the trusted declaration — the Lua/Wasm code must match it. The host cross-checks at load time. If the Lua side declares hooks that aren’t in the manifest, that is a packaging bug.
§Why a typed manifest matters
sdk_versionlets the SDK refuse plugins built against an incompatible major API version (forward-proofing).capabilitiesis the security surface for the runtime sandbox — without it we cannot promise Doctrine 4 (“Sandboxed plugins”).config_schemais JSON Schema and lets the host validate user config in.project/config.kdlbefore the plugin runs.
Structs§
- Capabilities
- What the plugin is allowed to touch at runtime.
- Plugin
Manifest - Plugin manifest — the on-disk
.progit-plugin.json. - SdkVersion
- Lightweight
major.minorSDK version handle.
Enums§
- Manifest
Error - Errors raised by manifest parsing and compatibility checks.
Type Aliases§
- Manifest
Result - Result alias for manifest operations.