From 621d7fee0ace729f8d44126032d2c6e13f72ee7f Mon Sep 17 00:00:00 2001 From: t Date: Tue, 7 Jul 2026 11:29:23 -0600 Subject: Move libpanto projects to libpantograph dependency Remove the in-repo libpanto sources and binding projects from pantograph. Consume libpantograph through the Zig package URL at code.tjp.lol/libpantograph.git, including the Lua module artifact used by CLI extensions. --- agent/tools/read.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent/tools') diff --git a/agent/tools/read.lua b/agent/tools/read.lua index cd7f26b..ba4fa64 100644 --- a/agent/tools/read.lua +++ b/agent/tools/read.lua @@ -32,7 +32,7 @@ local tool = { -- Minimal magic-byte sniff: binary attachment (image/PDF) vs. text. -- We only decide *whether* the bytes are an attachment; libpanto does the -- precise type detection, resizing, and encoding from the raw bytes. Keep --- this in lockstep with `libpanto/src/image.zig`'s `detectCodec`. +-- this in lockstep with `code.tjp.lol/libpantograph.git/src/image.zig`'s `detectCodec`. local function is_attachment(head) local b = { head:byte(1, 12) } -- PNG: 89 50 4E 47 0D 0A 1A 0A -- cgit v1.3