fix(secrets): add legacy x_search secret target

This commit is contained in:
Vincent Koc
2026-04-02 22:23:20 +09:00
parent 3528e15817
commit ec6a07ef05

View File

@@ -714,6 +714,17 @@ const SECRET_TARGET_REGISTRY: SecretTargetRegistryEntry[] = [
includeInConfigure: true,
includeInAudit: true,
},
{
id: "tools.web.x_search.apiKey",
targetType: "tools.web.x_search.apiKey",
configFile: "openclaw.json",
pathPattern: "tools.web.x_search.apiKey",
secretShape: SECRET_INPUT_SHAPE,
expectedResolvedValue: "string",
includeInPlan: true,
includeInConfigure: true,
includeInAudit: true,
},
{
id: "plugins.entries.brave.config.webSearch.apiKey",
targetType: "plugins.entries.brave.config.webSearch.apiKey",