Skip to main content

Module script

Module script 

Source
Expand description

Scripted plugin host (script).

Runs user-provided scripts as graph nodes behind the same Plugin trait as native plugins. Scripts are parsed and validated once at policy-compile time (in from_config), not per request; script failures surface as PluginExecutionError exactly like native failures, routing through the node’s error port.

Modules§

lua_runtime
Lua scripting runtime for the script plugin, built on mlua’s Luau VM.

Structs§

ScriptPlugin
Executes a scripted plugin as a graph node.

Enums§

ScriptRuntime 🔒
Dispatch over the available scripting runtimes (only Lua today; Python is planned but not implemented).