Documentation
¶
Overview ¶
Package scriptruntime executes sandboxed embedded scripts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLua ¶
ValidateLua parses a Lua script without executing it.
Types ¶
type Environment ¶
Environment exposes runtime context to embedded scripts.
type Options ¶
type Options struct {
ToolClient agent.ToolClient
Environment Environment
Logf func(format string, args ...any)
}
Options configures a sandboxed Lua script execution.