From 1f0915edbe0213e8bc134922f10933468d35a172 Mon Sep 17 00:00:00 2001 From: T Date: Tue, 26 May 2026 20:14:37 -0600 Subject: 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 --- src/ping_tool.zig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ping_tool.zig') diff --git a/src/ping_tool.zig b/src/ping_tool.zig index eb212af..d18bc02 100644 --- a/src/ping_tool.zig +++ b/src/ping_tool.zig @@ -35,9 +35,11 @@ const SCHEMA_JSON = /// nothing dereferences it. pub fn tool() panto.Tool { return .{ - .name = NAME, - .description = DESCRIPTION, - .schema_json = SCHEMA_JSON, + .decl = .{ + .name = NAME, + .description = DESCRIPTION, + .schema_json = SCHEMA_JSON, + }, .ctx = &ctx_sentinel, .vtable = &vtable, }; -- cgit v1.3