vox-plugin-runtime-wasm API Reference (generated)
vox-plugin-runtime-wasm
Section titled “vox-plugin-runtime-wasm”Crate: vox-plugin-runtime-wasm · Version: 0.6.0 · Target: Library (lib.rs)
Skill-runtime plugin: wasmtime-based WASI sandbox (default for pure-compute skills)
Crate Overview
Section titled “Crate Overview”vox-plugin-runtime-wasm
Section titled “vox-plugin-runtime-wasm”Skill-runtime plugin: wasmtime-based WASI sandbox.
This is the default sandbox for pure-compute skills (no subprocess, no GPU).
Implements [vox_skill_runtime::SkillRuntime] via a wasmtime engine.
Why WASM?
Section titled “Why WASM?”- Cold start: ~µs (vs seconds for Docker)
- Footprint: ~5MB embedded (vs 200MB+ Docker daemon)
- No external daemon required
- Pure-Rust (wasmtime, Bytecode Alliance)
- Capability-bound by default (WASI preopens, no ambient authority)
Status: SCAFFOLD
Section titled “Status: SCAFFOLD”The engine and module loading work. Full WASI preopen plumbing, fuel-based timeout enforcement, and wasi-http are TODO. See runtime.rs for details.
Install: vox plugin install runtime-wasm
Workspace Dependencies
Section titled “Workspace Dependencies”| Dependency | Kind |
|---|---|
vox-plugin-api | Normal |
vox-skill-runtime | Normal |
vox-wasm-engine | Normal |
Public API Surface
Section titled “Public API Surface”Modules
Section titled “Modules”| Module | Description |
|---|---|
runtime | — |