From b0400039058a7f7bf9fc951060727d9c52910526 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 11 Nov 2026 12:05:28 +0100 Subject: docs: barcode tool live check Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 86c0d94..b8bb2a4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -329,6 +329,24 @@ file's path, images included. Spec: - The model calls the found items "the 2 items you provided": they were its own. +### Barcode tool, live check (2026-11-11) + +`barcode` (`examples/tools/barcode.toml`): `ZXingReader -1 {path}` +(zxing-cpp, already installed), no wrapper. Images only, no PDFs. +`cloud = ["hetzner"]` like `redact`. + +- Output is one line per code: file, format, quoted text. Nothing found + prints `None`; an unreadable file prints nothing (error on stderr, + exit 0), which the description explains. +- Before it, the model said it could not decode a barcode it saw. +- Through a second daemon on a scratch socket and data dir, made-up + images, Gemma: a QR inside a larger picture, an EAN-13, a Code 128 + rotated 90°, a WiFi QR ("what's the password?"), it and en: right + tool and right answer 4/4; an image with no code got "no QR code + was found"; a question about the image's colours called no tool. + Tool call at 7-13 s (23 s for the WiFi one, longer reasoning), reply + 1.7-3.3 s after it. + ### Cloud models, live check (2026-10-23) Hetzner's inference API (`https://inference.hetzner.com/api/v1`, -- cgit v1.2.3