mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 05:39:57 -05:00
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:
parent
61f2cb20ee
commit
faa3a03b37
6 changed files with 504 additions and 3 deletions
|
|
@ -60,6 +60,10 @@ MODES = {
|
|||
'get_inventory',
|
||||
'list_files',
|
||||
'read_file',
|
||||
'list_tags',
|
||||
'search_suggestions',
|
||||
'get_map_overview',
|
||||
'search_places',
|
||||
),
|
||||
),
|
||||
'system': dict(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue