Expand description
Lua Stdlib Bridge — injects all *.* global APIs into the Lua VM.
Each submodule registers one namespace:
| Module | Lua namespace | Purpose |
|---|---|---|
mesh | mesh.* | Agent-to-agent mesh communication |
mcp | mcp.* | MCP server management |
sh | sh.* | Shell command execution |
tool | tool.* | Tool registry (define and call tools from Lua) |
http | http.* | Async HTTP client |
log | log.*, env.* | Logging and environment access |
ts | std.ts.* | SQLite-backed time-series primitive (in-tree) |
Modules§
- bus
bus.*— EventBus Lua bridge.- config
- Config resolution for
std.kv/std.sql/std.tsstorage backends. - http
- http.* — Async HTTP client bridge.
- kv
std.kvthin adapter.- llm
- llm.* — LLM response extraction bridge.
- log
- log.* — Logging via tracing.
- mcp
- mcp.* — MCP server client bridge (async).
- mesh
- mesh.* — Agent mesh communication bridge (async).
- obs
- sh
- sh.* — Shell command execution.
- sql
std.sqlthin adapter.- task
std.taskthin adapter.- tool
- tool.* — Lua-side tool registry for LLM function calling.
- ts
std.ts.*— SQLite-backed time-series primitive.
Functions§
- json_
to_ lua - Convert a serde_json::Value to a Lua value.
- lua_
to_ json - Convert a Lua value to a serde_json::Value.
- register_
all - Register all bridge APIs into the Lua state (main Isle).
- register_
all_ handler_ side - Register bridge APIs for the handler Isle.