Plugin API
Extensible Plugin System for Trinity.
Module: src/vibeec/plugin/
Plugin Types​
| Type | Loading | Use Case |
|---|---|---|
comptime_import | @import | Core |
wasm_runtime | WASM | Community |
native_ffi | .so/.dylib | Performance |
Creating a Plugin​
- Create
plugin.vibeespecification - Implement required exports
- Build to WASM
Loading Plugins​
var loader = PluginLoader.init(allocator, ®istry, .{});
const result = try loader.loadFromPath("plugin.wasm");
CLI Commands​
vibee plugin list # List installed
vibee plugin install <url> # Install
vibee plugin init <name> # Create new