Expand description
Lua sandbox — embedded Lua 5.4 runtime for skill execution and RLM REPL.
Provides a sandboxed Lua VM that removes dangerous modules (io, os, debug, require, loadfile, dofile, load) while exposing controlled functions for HTTP, JSON, and context manipulation.
Modules§
- crypto
- Crypto, encoding, and utility functions for the Lua sandbox.
- functions
- Registered Lua functions for skill execution and RLM REPL.
Structs§
- LlmQuery
Channel - Channel pair for synchronous LLM sub-queries from Lua code.
- LuaSandbox
- A sandboxed Lua 5.4 VM.
Enums§
- LlmSub
Request - A sub-LLM query request from Lua code.
Functions§
- extract_
lua_ blocks - Extract
```lua ```code blocks from text. - json_
to_ lua - Convert a serde_json::Value to a mlua::Value.
- lua_
to_ json - Convert a mlua::Value to a serde_json::Value.