summaryrefslogtreecommitdiff
path: root/_usage_footer.lua
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-12-04 15:30:05 -0700
committert <t@tjp.lol>2026-12-04 15:31:08 -0700
commit48b14add01cb106217832e036e3569e494f1d65c (patch)
treebe561d29fa32d393c8d91d1e01eedfab9d5ffc86 /_usage_footer.lua
parent835b962682c13a16696dd3f4fe1428dbab9141b5 (diff)
Send dropped images as native ACP prompt content blocksHEADmain
Panto expands a pasted image into a multi-block user message (text, [Image-N] path text, base64 media). The adapter only accepted a single text block, so any image drop failed with 'No matching Antigravity tool handoff or text prompt'. Translate text and image/* media blocks into ACP ContentBlocks for new turns, warm follow-ups, boundary steering and transcript reseeds, gated on the agent's advertised promptCapabilities.image. Image data rides outside agy's ~191 KB user-text cap, so only text bytes count toward message_bytes; reseeds prefix the leading text block and reserve room for the path context block. Non-image attachments (PDFs) are refused before launch because agy's ACP inlineMedia accepts image/* only. The offline check now drops a real PNG via bracketed paste across a warm turn, /tree reseed and cold resume, and asserts PDF rejection.
Diffstat (limited to '_usage_footer.lua')
0 files changed, 0 insertions, 0 deletions