Commit graph

11 commits

Author SHA1 Message Date
ada788a236 Skip MCP era probe for Bailian-compatible connect.
Omit Client versionNegotiation so the SDK stays on legacy initialize; Bailian answers the 2026 server/discover probe with HTTP 500 and never reaches search.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 15:10:46 +08:00
4b4a1e4460 Fallback to env proxy when dsh-http-proxy cannot resolve on link installs.
Use process HTTP_PROXY/HTTPS_PROXY and undici global dispatcher when the policy module import fails, so symlinked desktop plugins still egress through the corporate proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 14:24:33 +08:00
26a8c2ecee Inherit DSH process proxy for search-mcp HTTP egress.
Use proxyRouteFor when a policy is installed so HTTPS_PROXY/system proxy is not bypassed by the DNS-pinned Agent; keep the pinned direct path otherwise.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 12:04:38 +08:00
229a36d5f3 Migrate search-mcp to @modelcontextprotocol/client for Desktop 0.2.
Replace the removed monolith SDK import so link/Desktop hosts can resolve MCP from the 0.2 package graph instead of failing import with MODULE_NOT_FOUND.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 11:54:54 +08:00
23685cd545 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>
2026-10-10 09:05:00 +08:00
d729b03f70 Restore Desktop Search MCP settings form with Bailian defaults.
Keep boot safe on DSH 0.2 while registering a distinct settings section,
lazy remote.credentials wiring, and credential badge state that survives
describe redaction after Save.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 04:24:13 +08:00
8fdb55b025 Fix compatibility test for settings.plugin.item comment mentions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 01:44:36 +08:00
1d9a8e75c9 Remove settings.plugin.item inject that crashes Desktop 0.2 boot.
Align with dsh-im-ops: settings.section only, plus optional plugins.item after configForms (0.2.5).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 01:44:24 +08:00
ae0353dd12 Fix Desktop boot failure from unconditional settings.plugin.item inject.
Always register settings.section; mount the Web plugins card only after configForms attaches. Harden snapshot store init (0.2.4).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 01:37:47 +08:00
c1fed965b1 Restore Search MCP settings on Desktop via Settings sidebar.
Mark Config volatile, always register settings.section with a deferred form scope, and keep the Web plugins card (0.2.3).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-10 01:31:46 +08:00
d5c4d2006c Publish dsh-search-mcp fork for newer DSH and Bailian WebSearch MCP.
Based on gxpppp/dsh-search-mcp; includes DSH web settings fixes, Clash fake-IP URL policy, and Bailian default server patch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:51:32 +08:00