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.
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
| ID | Availability | Purpose |
|---|---|---|
fs.read | Available | Read files in this workspace |
fs.write | Available | Write files in this workspace |
net.http | Available | Make outbound HTTP requests |
secrets.get | Not available to plugins yet | Read secrets scoped to this workspace |
pipe.open | Available | Open data pipes to other panes |
spawn.plugin | WebAssembly plugins only, not yet Python plugins | Launch another plugin in a new pane |
audio.record | Not available to plugins yet | Capture microphone audio |
audio.playback | Available | Play audio |
gpu.render | Available | Render through the WASM GPU surface |
video.playback | Not available to plugins yet | Decode and display video |
timer | Available | Schedule timers |
ai.query | WebAssembly plugins only, not yet Python plugins | Make AI calls through the Plexi broker |
midi.in | Not available to plugins yet | Receive input from MIDI devices |
midi.out | Not available to plugins yet | Send output to MIDI devices |
terminal.bindings | Not available to plugins yet | Drive a linked terminal pane |
fs.pick | Available | Show a native file picker |
panes.spawn | Not available to plugins yet | Open new panes in your workspace |
panes.read | Not available to plugins yet | See your open panes and read plugin or terminal pane state |
panes.control | Not available to plugins yet | Control your panes: focus, close, send input, and drive plugins |
permissions.manage | Not available to plugins yet | See and change what other plugins are allowed to do |
logs.read | Available | Read the Plexi host log |
mcp.client | Available | Talk to the MCP servers you have configured |
cli.operations | Available | Ask to run the approved command-line operations it declares |
usage.read | Reserved | No host projection serves this ID yet. |
usage.refresh | Reserved | No 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"