Expand description
Runtime module export bindings for Shape extensions.
This module defines the in-process representation used by VM/LSP/CLI after a plugin has been loaded through the ABI capability interfaces.
Structs§
- Frame
Info - Information about a single VM call frame, captured at a point in time.
- Module
Artifact - Bundled module artifact from an extension.
- Module
Context - Execution context available to module functions during a VM call.
- Module
Export Registry - Registry of all extension modules.
- Module
Exports - A Rust-implemented module exposed via
<name>. - Module
Function - Schema for a module function — describes parameters and return type. Used by LSP for completions, hover, and signature help.
- Module
Param - Schema for a single parameter of a module function. Used by LSP for completions and by validation for type checking.
- RawCallable
Invoker - Raw callable invoker as a function pointer + opaque context.
Enums§
- Module
Export Visibility - Visibility policy for one extension export.
Traits§
- VmState
Accessor - Trait providing read access to VM state for state module functions.
Functions§
- check_
permission - Check whether the current execution context has a required permission.
Type Aliases§
- Async
Module Fn - An async module function callable from Shape.
- Module
Fn - A module function callable from Shape (synchronous).