fix(web): expose the image-recognition-http settings namespace to config clients

The RPC settings.describe only serves namespaces on the WEB_SETTINGS_NAMESPACES
and PRODUCT_SETTINGS_NAMESPACES allowlists; a namespace absent from both answers
settings-not-exposed even when its owner registered it. image-recognition-http
was missing, so the plugin-config card's scope stayed unavailable and the card
rendered nothing. Add it to the web allowlist beside web-search-deepseek.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Pine
2026-08-14 13:32:59 +08:00
parent f0500eea3d
commit 79c0d49a08
+1
View File
@@ -125,6 +125,7 @@ const DEFAULT_MAX_MESSAGES = 50
*/
const WEB_SETTINGS_NAMESPACES = [
'agent-loop', 'shell', 'locale', 'permission', 'ui-conversation', 'ui-theme', 'web-search-deepseek',
'image-recognition-http',
] as const
/** Provider work budget: at most 100 calls and 2,000 inspected hits. */