-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: infer web search rejects installed Exa plugin SecretRef target as unknown #104320
Copy link
Copy link
Closed
Closed
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automationExclude from stale automation
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automationExclude from stale automation
Type
Fields
Priority
None yet
Summary
The command SecretRef fix from #82621 appears to have regressed in OpenClaw 2026.6.11 after the web provider was split into its installed plugin package. The CLI discovers the concrete Exa credential target, but the gateway rejects that target id as unknown, so local fallback reaches the provider with an unresolved SecretRef.
Live reproduction on macOS 26.5.0, with CLI and gateway both
2026.6.11:tools.web.search.providerisexa.plugins.entries.exa.config.webSearch.apiKeyis an exec SecretRef.openclaw plugins list --jsonreports@openclaw/exa-plugin2026.6.11 loaded, enabled, and advertisingwebSearchProviderIds: ["exa"].openclaw secrets audit --allow-exec --jsonreportsunresolvedRefCount: 0,skippedExecRefs: 0, andresolvabilityComplete: true.openclaw infer web search --provider exa --query 'site:openclaw.ai OpenClaw' --limit 1 --jsonfails before provider I/O withUnresolvedSecretInputErrorforplugins.entries.exa.config.webSearch.apiKey.The gateway-side failure is more specific. This redacted probe:
returns:
{ "ok": false, "error": { "code": "INVALID_REQUEST", "message": "invalid secrets.resolve params: unknown target id \"plugins.entries.exa.config.webSearch.apiKey\"" } }No credential value was printed or included in this report. The same Keychain-backed credential succeeds in a direct, no-output Exa API probe, so this is command target registration/resolution rather than provider authentication.
Expected
infer web searchshould resolve the selected installed plugin's credential from the active gateway snapshot and reach Exa provider I/O, as #82798 intended.Actual
The gateway rejects the installed plugin target id as unknown; the command then fails with an unresolved SecretRef before provider I/O.
Likely seam
The CLI discovers the concrete Exa plugin credential target, while the gateway's
isKnownSecretTargetIdregistry does not know the installed plugin-provided target id.Related