Fix Desktop search-mcp takeover so web_search uses Bailian.

Drop nested Config.volatile that left the fiber inactive, unwrap the cordis
web proxy to pin/wrap search at runtime, and restore deepseek on disable.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 09:05:00 +08:00
parent d729b03f70
commit 23685cd545
8 changed files with 343 additions and 72 deletions

View file

@ -5,9 +5,9 @@
# load-order deadlock (web waits for search-mcp, search-mcp waits for web)
# and freezes the UI on "Loading plugins…".
#
# The host `apply` registers the provider and then soft-switches the web
# row via settings when available. Removing this package restores the
# previous composition (no searchProvider pin left behind by this file).
# The host `apply` registers the provider and then live-pins
# `ctx.web.searchProviderId = search-mcp` (no settings mutate / no patch pin).
# Removing this package restores the previous composition.
- insert:
- id: search-mcp