* test(ui): cover saving MCP tool search settings end to end
Adds Playwright coverage for the Tool Search tab on the MCP Servers page:
the exact PATCH body a prefilled edit sends and the values shown after a
reload, Top K clamping to the largest value the proxy accepts, and a failed
save that keeps the edits and succeeds on retry.
* refactor(ui): move MCP tool search settings onto the form kit
The Tool Search form on the MCP Servers page now uses useZodForm with a zod
schema beside it. The schema accepts every value the fields can hold, so the
form rejects nothing it accepted before. The existing helpers move unchanged
from toolSearchForm.ts to mapper.ts, and its unit test moves with them.
* test(ui): wait for the clamped Top K save to finish before cleanup
The clamp test returned as soon as it had checked the request body, so the
afterEach reset could land before the UI's save and leave top_k at 100 for
the rest of the suite. It now waits for the success toast.
* test(ui): cover web search and semantic filter settings
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* test(ui): wait for the restored web search provider
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* test(ui): isolate settings fixture readiness
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* refactor(ui): move semantic filter and web search settings onto the form kit
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>