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 --- docs/phase-3.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/phase-3.md b/docs/phase-3.md index aeac7fb..5ff052c 100644 --- a/docs/phase-3.md +++ b/docs/phase-3.md @@ -1,5 +1,12 @@ # Phase 3: Extension System +> **Status:** The Lua runtime described in this doc has been **superseded +> by [`LUA_MAKEOVER.md`](../LUA_MAKEOVER.md)**. The current `panto` CLI +> uses a long-lived `lua_State` exposed to libpanto as a single +> `ToolSource`; the per-call `LuaStatePool` / `LuaTool` design described +> below no longer exists. The **native extension contract (`Tool`) is +> unchanged** — the rest of this document remains accurate for that path. + ## Goal Introduce a native-code tool extension API on `libpanto` and a Lua extension runtime in the `panto` CLI. Together these transform `pantograph` from a chat client into an agent that can act on the world. The extension system is the primary mechanism for adding capability — tools are extensions, not built-ins. -- cgit v1.3