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 /docs | |
| 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 'docs')
| -rw-r--r-- | docs/phase-3.md | 7 |
1 files changed, 7 insertions, 0 deletions
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. |
