diff options
| author | T <t@tjp.lol> | 2026-05-26 20:14:37 -0600 |
|---|---|---|
| committer | T <t@tjp.lol> | 2026-05-27 06:26:36 -0600 |
| commit | 1f0915edbe0213e8bc134922f10933468d35a172 (patch) | |
| tree | 11834769555c7037f3393ef8d98bf5841846144a /libpanto/src/root.zig | |
| parent | b788eb05c6d194b91fdc141b6655e61ccaa76ddb (diff) | |
finish lua runtime makeover
- new multi-tool registration via ToolSource
- thread per source-or-standalone-tool
- switched to zig 0.16 Io threading interface
- cli: include `luv` package and run concurrent lua tools via libuv
- one single long-lived lua_State for the whole cli program
Diffstat (limited to 'libpanto/src/root.zig')
| -rw-r--r-- | libpanto/src/root.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpanto/src/root.zig b/libpanto/src/root.zig index bfc814b..5dacfef 100644 --- a/libpanto/src/root.zig +++ b/libpanto/src/root.zig @@ -4,10 +4,15 @@ pub const agent = @import("agent.zig"); pub const config = @import("config.zig"); pub const sse = @import("sse.zig"); pub const tool = @import("tool.zig"); +pub const tool_source = @import("tool_source.zig"); pub const tool_registry = @import("tool_registry.zig"); // Re-exports for ergonomic embedder use. pub const Tool = tool.Tool; +pub const ToolSource = tool_source.ToolSource; +pub const ToolDecl = tool_source.ToolDecl; +pub const ToolCall = tool_source.Call; +pub const ToolCallResult = tool_source.CallResult; pub const ToolRegistry = tool_registry.ToolRegistry; // Internal modules. Not part of the public API — callers construct providers |
