Skip to main content

Module artifact

Module artifact 

Source

Functions§

check_root_wasm
The refusals extract_root_wasm makes before it inflates anything, with the same errors: the archive opens, and its entries name exactly one root wasm.
extract_declared_env_allow
The capabilities.env.allow a packed manifest declares, read on its own.
extract_declared_spawn_allow
The capabilities.spawn.allow a packed manifest declares, read on its own.
extract_declared_workdir_max_bytes
The capabilities.resources.workdir_max_bytes a packed manifest declares, read on its own: None when it declares none, which is crate::resources::DEFAULT_WORKDIR_MAX_BYTES.
extract_manifest_yaml
extract_root_wasm
The root wasm of a .mur.zip: capsule.wasm, or its one root *.wasm, inflated under the artifact decompression ceiling.
extract_skill_files
The files of a skill artifact’s .mur.zip that install under tools/<name>/: each as its /-separated path inside the archive and its bytes, SKILL.md first.

Type Aliases§

SkillFiles
One skill’s installable files: each as its /-separated path under tools/<name>/ and its bytes, SKILL.md first.