feat(admin): show the MCP tools a plugin will advertise

The manifest declaration only becomes an admin-visible control if the
admin can actually read it. Nothing rendered capabilities.mcpTools, so
approving mcp:tools meant approving text you would first meet inside a
chat.

The pre-install dialog now lists the tool names and descriptions, beside
the existing access and egress sections, and the grant gets an
at-a-glance chip like every other capability.

Desktop and mobile both, since the panels are parallel copies.
This commit is contained in:
Renzo Beux
2026-08-28 14:08:19 -03:00
committed by Maurice
parent 957cdffa7b
commit eb7d595203
25 changed files with 129 additions and 4 deletions
+3
View File
@@ -327,6 +327,9 @@ const admin: TranslationStrings = {
'Dołączanie wpisów czasowych do planu dnia (postoje na ładowanie, bufory czasowe)',
'admin.plugins.perm.hook:day-tint-provider':
'Oznaczanie dni w planie dnia kolorami (na przykład do którego etapu podróży należy dany dzień)',
'admin.plugins.cap.mcpTools': 'Publikuje narzędzia AI',
'admin.plugins.mcpToolsTitle': 'Publikowane narzędzia AI',
'admin.plugins.mcpToolsHint': 'Asystent może je uruchomić w imieniu użytkownika. Każde działa z uprawnieniami nadanymi powyżej.',
'admin.plugins.perm.mcp:tools':
'Publikowanie narzędzi, które asystent AI może uruchomić w Twoim imieniu (działa z uprawnieniami nadanymi tutaj wtyczce, nie z własnymi)',
'admin.plugins.perm.geolocation:read':