Skip to main content

Crate everruns_integrations_lua

Crate everruns_integrations_lua 

Source
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.
LuaCodeModeCapability
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 fs table to SessionFileSystem, scoped to one session.
VfsEntry
Entry returned by fs.list / fs.stat.
VfsGrepHit
A grep hit returned by fs.grep.

Constants§

LUA_CAPABILITY_ID
LUA_CODE_MODE_CAPABILITY_ID

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.