Plugin manifest

Every manifest field and the capability registry.

Generated Tracks the alpha branch, so it can be ahead of the release you have installed.

On this page

Schema-2 manifests declare plugin identity, runtime, views and command metadata. Package install, discovery and plugin check use the same admission contract. A rejection names the plugin, field and reason, and emits an info log.

Capabilities

[plugin.capabilities].capabilities is a list of capability IDs. The registry below owns the accepted IDs. Unknown IDs fail before activation. Reserved IDs parse as known reservations but fail with “reserved, not yet available” while no host projection serves them. A declaration requests access; it grants none. An ID the registry marks as not available, or limited to one runtime, passes validation, but a plugin outside that runtime gets nothing from declaring it.

Commands

Each [[contributes.commands]] table requires id and handler strings. id begins with the complete plugin ID followed by a dot and a nonempty suffix. Dot-separated segments contain ASCII letters, digits, underscores or dashes. IDs are unique within the manifest. Core CLI namespaces, including hidden commands and aliases, are reserved even when an experiment is disabled. The first installed plugin owns a command ID; a different plugin cannot take it during install. Updating the same owner retains its claim. Discovery also refuses conflicting contributions across plugin scopes.

handler starts with an ASCII letter or underscore and continues with ASCII letters, digits, underscores or dashes. It identifies a host-dispatched typed handler. Shell expressions, executable paths and arguments are rejected. Declarations are retained by install and reported by plugin check; dispatch and CLI namespace consent are unavailable in this schema reservation.

Later contributions

Contributions other than views and commands, including panels, settings, subscriptions, undo, themes, agents, skills and file handlers, fail with a named “not yet supported” error before activation. Unknown fields inside a view or command declaration also fail validation.

Capability registry

IDAvailabilityPurpose
fs.readAvailableRead files in this workspace
fs.writeAvailableWrite files in this workspace
net.httpAvailableMake outbound HTTP requests
secrets.getNot available to plugins yetRead secrets scoped to this workspace
pipe.openAvailableOpen data pipes to other panes
spawn.pluginWebAssembly plugins only, not yet Python pluginsLaunch another plugin in a new pane
audio.recordNot available to plugins yetCapture microphone audio
audio.playbackAvailablePlay audio
gpu.renderAvailableRender through the WASM GPU surface
video.playbackNot available to plugins yetDecode and display video
timerAvailableSchedule timers
ai.queryWebAssembly plugins only, not yet Python pluginsMake AI calls through the Plexi broker
midi.inNot available to plugins yetReceive input from MIDI devices
midi.outNot available to plugins yetSend output to MIDI devices
terminal.bindingsNot available to plugins yetDrive a linked terminal pane
fs.pickAvailableShow a native file picker
panes.spawnNot available to plugins yetOpen new panes in your workspace
panes.readNot available to plugins yetSee your open panes and read plugin or terminal pane state
panes.controlNot available to plugins yetControl your panes: focus, close, send input, and drive plugins
permissions.manageNot available to plugins yetSee and change what other plugins are allowed to do
logs.readAvailableRead the Plexi host log
mcp.clientAvailableTalk to the MCP servers you have configured
cli.operationsAvailableAsk to run the approved command-line operations it declares
usage.readReservedNo host projection serves this ID yet.
usage.refreshReservedNo host projection serves this ID yet.

Manifest fixture

This WASM fixture declares a view and a command. Its entry file is main.wasm.

schema_version = 2
[plugin]
id = "sample"
name = "Schema contract fixture"
version = "1.0.0"
[plugin.capabilities]
capabilities = []
[runtime]
kind = "wasm"
entry = "main.wasm"
[[contributes.views]]
id = "sample.main"

[[contributes.commands]]
id = "sample.open"
handler = "open_picker"