Expand description
WebAssembly Component Model runtime for kind = Wasm skills.
Loads .wasm (JIT-compiled by Cranelift at load time) or .cwasm
(AOT-precompiled via wasmtime compile) components targeting the
uar:skill@0.1.0 WIT world and dispatches
the run(input: string) -> result<string, string> export.
Behind the existing wasm-runtime Cargo feature.
Structs§
- Wasm
Host State - Host state for a wasm skill instance.
- Wasm
Skill Runtime
Functions§
- builtin_
wasm_ dir - Returns the resolved built-in WASM skill dir. Honours
UAR_SKILLS_WASM_BUILTIN_DIR; falls back tocrates/prometheus-skill-system/skills(anyskill.wasmdiscovered alongside aSKILL.md). - discover_
and_ load - Scan both directories for
.wasm/.cwasmfiles and register each intoruntime. Returns a vector ofSkillrecords (one per loaded component) suitable forSkillService::register_builtins. - user_
wasm_ dir