Skip to content

[codex] Add unified search controls#3

Merged
MyPrototypeWhat merged 13 commits into
mainfrom
m13t/search-controls
Jun 25, 2026
Merged

[codex] Add unified search controls#3
MyPrototypeWhat merged 13 commits into
mainfrom
m13t/search-controls

Conversation

@MyPrototypeWhat

Copy link
Copy Markdown
Owner

Summary

Adds the unified search controls layer that was planned for search_references and provider-backed retrieval:

  • adds SDK/core support for controls, provider capability declarations, applied/ignored controls metadata, and a core dedupe hook
  • extends MCP search_references input/output schemas with controls, explain/meta information, provider status, filter compatibility, and readable failure feedback
  • maps the unified controls into the existing provider packages while preserving legacy filters fallback behavior
  • documents the SDK/MCP dual path, unified controls, provider capabilities, and search metadata

Impact

Callers get one stable control contract instead of needing to know each provider native parameter names. Provider packages remain responsible for translating supported controls into provider-specific query parameters, and unsupported controls are surfaced in metadata instead of silently pretending they applied.

Validation

  • pnpm typecheck
  • pnpm test:run
  • pnpm build
  • git diff --check

A local re-review found no Critical or Important blocking issues; only follow-up polish was noted for skipped-provider control metadata wording and Brave moderate safety mapping.

@MyPrototypeWhat MyPrototypeWhat marked this pull request as ready for review June 25, 2026 12:07
@MyPrototypeWhat MyPrototypeWhat merged commit 5eea0dc into main Jun 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant