WASI sandbox
The proxy runs wasm32-wasip1 in isolation. A plugin that hangs is cut short; the editor and the other plugins keep going.
Extensibility
A plugin is a WASI module. The proxy runs it in a sandbox, held to the permissions in its volt.toml. Most start a language server; the editor does the rest.
Writing a plugin →In the registry
volt.toml
api = "1.2"
name = "graphoos-rust"
[permissions]
processes = ["rust-analyzer", "codelldb", "which"]
network = ["github.com", "*.githubusercontent.com"]
The proxy runs wasm32-wasip1 in isolation. A plugin that hangs is cut short; the editor and the other plugins keep going.
The plugin says how to start the LSP. GraphoOS does the traffic, the diagnostics, the symbols and the completions.
processes and network by name. Anything not written there is refused.
Open by design
The host speaks Plugin API 1.2. The guest is wasm32-wasip1. Anything not in volt.toml is refused.