Expand description
Sandboxed Lua execution and code-mode integration for Everruns agents.
Scripts run in a fresh vendored Lua 5.4 VM with bounded memory, instructions, time, output, and standard-library access. Filesystem and tool calls cross host-provided contracts rather than reaching the machine.
It is part of the Everruns ecosystem and is an
opt-in high-risk integration for everruns-host.
§Example
use everruns_core::Capability;
use everruns_integrations_lua::LuaCapability;
assert_eq!(LuaCapability.id(), "lua");Structs§
- LuaCapability
- Lua execution capability — sandboxed scripting over the session VFS.
- LuaCode
Mode Capability - Capability that routes non-essential tool calls through the Lua sandbox.
- LuaLimits
- Resource limits enforced by the engine (TM-LUA-002/003/008).
- LuaOutcome
- Result of one script execution.
- LuaTool
- Tool to execute a Lua script in the sandbox.
- LuaVfs
- Bridges the Lua
fstable toSessionFileSystem, scoped to one session. - VfsEntry
- Entry returned by
fs.list/fs.stat. - VfsGrep
Hit - A grep hit returned by
fs.grep.
Constants§
Functions§
- is_
code_ mode_ eligible - Whether a tool is eligible to be driven through Lua “code mode” (the
tools.<name>table) rather than called directly.