ai: tags, downloads, map, and search-preview tools

Five new read-only /api/ai endpoints, each with a matching wrolpi_mcp
proxy tool: list_tags (tags with what they are applied to, plus recent
names), search_suggestions (matching channels/domains/authors/subjects
and file/Zim result estimates), list_downloads (queue summary and lean
recurring/one-time entries with relative destinations; status filter;
errors keep their tail, which holds the exception message),
get_map_overview (map files, search-index state, subscriptions, pins
with map links), and search_places (place search with map links and
optional proximity ranking).

Research mode allowlists the library-facing four.  Nothing here can
start, stop, or retry a download.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-09-10 15:48:11 -06:00
parent 61f2cb20ee
commit faa3a03b37
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
6 changed files with 504 additions and 3 deletions

View file

@ -60,6 +60,10 @@ MODES = {
'get_inventory',
'list_files',
'read_file',
'list_tags',
'search_suggestions',
'get_map_overview',
'search_places',
),
),
'system': dict(