summaryrefslogtreecommitdiff
path: root/agent
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-07-07 11:29:23 -0600
committert <t@tjp.lol>2026-07-07 12:15:28 -0600
commit621d7fee0ace729f8d44126032d2c6e13f72ee7f (patch)
treea2938b0a9e5c0930e8644721abbe94875df9ff08 /agent
parent0fa6d4209ff9b4a95e7d1955887aa4c73ee3423c (diff)
Move libpanto projects to libpantograph dependencyHEADmain
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.
Diffstat (limited to 'agent')
-rw-r--r--agent/tools/read.lua2
1 files changed, 1 insertions, 1 deletions
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