dsh-search-mcp/cordis.patch.yml
oliver 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

31 lines
1,001 B
YAML

# dsh-search-mcp bundle layer (Desktop 0.2 boot-safe).
#
# IMPORTANT: Do NOT set `web.searchProvider: search-mcp` or disable
# `web-search-deepseek` in this patch. On Desktop 0.2 that creates a
# 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).
- insert:
- id: search-mcp
name: 'dsh-search-mcp'
config:
defaultServer: bailian
maxResults: 8
searchTimeoutMs: 30000
servers:
- id: bailian
kind: bailian
apiKeyEnv: DASHSCOPE_API_KEY
# Raise tool-web caps so search-mcp maxResults can take effect.
- id: tool-web
disabled: false
config:
fetch: false
searchTimeoutMs: 60000
searchMaxResults: 50
searchMaxQueries: 4