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>
This commit is contained in:
oliver 2026-10-10 12:04:38 +08:00
parent 229a36d5f3
commit 26a8c2ecee
5 changed files with 93 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{
"name": "dsh-search-mcp",
"version": "0.2.39",
"version": "0.2.40",
"description": "Replace dsh's built-in web search with search MCP servers (Tavily / Brave / Exa / Perplexity / DuckDuckGo / custom), configured from the web Settings page. When this plugin is enabled the built-in DeepSeek search provider is disabled.",
"type": "module",
"main": "lib/index.js",
@ -55,6 +55,7 @@
"peerDependencies": {
"@deepseek-ai/dsh-api-remotes": "*",
"@deepseek-ai/dsh-credentials": "*",
"@deepseek-ai/dsh-http-proxy": "*",
"@deepseek-ai/dsh-launch-environment": "*",
"@deepseek-ai/dsh-settings": "*",
"@deepseek-ai/dsh-web": "*",
@ -64,6 +65,9 @@
"undici": "*"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-http-proxy": {
"optional": true
},
"@modelcontextprotocol/client": {
"optional": true
},