ai: add the /api/ai blueprint, the read-only LLM tool catalog

Lean, flat, LLM-shaped read-only endpoints over the library: global,
video, archive, and doc search; paged captions, archive text, and zim
entries; collections, inventories, and a media-directory text reader.
Links are server-computed; big content is paged, never truncated.
This ports the formatting layer from wrolpi_mcp (untouched for now)
into tested code.  First phase of ai.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-08-25 21:03:11 -06:00
parent bcd12c9b96
commit 06dae71ad0
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
10 changed files with 1046 additions and 0 deletions

View file

@ -1,3 +1,4 @@
from modules.ai.conftest import * # noqa
from modules.archive.conftest import * # noqa
from modules.inventory.conftest import * # noqa
from modules.videos.conftest import * # noqa