Expand description
WASM-based extension system powered by Extism.
Loads .wasm extension files from ~/.oxi/extensions/ and project-local
.oxi/extensions/. Each extension exports well-known functions (init,
register_tools, execute_tool) called via Extism’s JSON-in/JSON-out
protocol. Extensions run inside a WASM sandbox with zero host access by
default — HTTP access is granted via the oxi_http_request host function.
Structs§
- Extension
Info - Metadata returned by an extension’s
init()function. - Loaded
Wasm Extension - Result of loading a WASM extension.
- Wasm
Command Def - A command definition returned by
register_commands(). - Wasm
Extension Manager - Manages WASM extensions: discovery, loading, and tool execution.
- Wasm
Tool Def - A tool definition returned by
register_tools().