From bb85e867bc938138f29fb45230169af1ba60761c Mon Sep 17 00:00:00 2001 From: t Date: Wed, 10 Jun 2026 10:06:07 -0600 Subject: Add addUserText helper; update all call sites Conversation.addUserMessage now takes a []ContentBlock (symmetric with addAssistantMessage). Introduce a thin addUserText wrapper in agent.zig for the plain-text case and update every call site in agent.zig and anthropic_messages_json.zig accordingly. --- libpanto-lua/build.zig.zon | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 libpanto-lua/build.zig.zon (limited to 'libpanto-lua/build.zig.zon') diff --git a/libpanto-lua/build.zig.zon b/libpanto-lua/build.zig.zon new file mode 100644 index 0000000..d685c13 --- /dev/null +++ b/libpanto-lua/build.zig.zon @@ -0,0 +1,26 @@ +.{ + .fingerprint = 0xe0ed1e60c285f54f, + .name = .panto_lua, + .version = "0.0.0", + .dependencies = .{ + .panto = .{ + .path = "../libpanto", + }, + // Lua 5.4 source — used only for its headers (`lua.h`, + // `lauxlib.h`, `lualib.h`) at `@cImport` time. A Lua C-module + // does NOT link the Lua library: the host interpreter provides + // every `lua_*`/`luaL_*` symbol at `dlopen` time, resolved via + // dynamic lookup. We pin the same tarball the CLI uses so the + // standalone module and the embedded VM build against identical + // 5.4 headers. + .lua_src = .{ + .url = "https://www.lua.org/ftp/lua-5.4.7.tar.gz", + .hash = "N-V-__8AAIMvFABt-Qcpk24RD10ldEN743D8Q2e19Er8x3dJ", + }, + }, + .paths = .{ + "build.zig", + "build.zig.zon", + "src", + }, +} -- cgit v1.3