summaryrefslogtreecommitdiff
path: root/libpanto-lua/build.zig.zon
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-10 10:06:07 -0600
committert <t@tjp.lol>2026-06-10 12:17:27 -0600
commitbb85e867bc938138f29fb45230169af1ba60761c (patch)
tree5ad1cf50274c61ccfffab7048b4a4e28003d82b5 /libpanto-lua/build.zig.zon
parentd26890bbc52e9f0050db40f208763a7f2b714ddd (diff)
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.
Diffstat (limited to 'libpanto-lua/build.zig.zon')
-rw-r--r--libpanto-lua/build.zig.zon26
1 files changed, 26 insertions, 0 deletions
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",
+ },
+}