pub(crate) fn register_all_host_apis(
lua: &Lua,
script_name: &str,
sandbox_root: &Path,
) -> LuaResult<()>Expand description
Register all standard host APIs on a Lua VM instance.
This is the single entry-point used by both connector and tool runtimes. It sandboxes the globals and registers every host module.
ยงArguments
luaโ the Lua VM instance to configure.script_nameโ logical name used for log prefixes (e.g."script:jira").sandbox_rootโ directory thatfs.read/fs.listare confined to.