dsh-web-search-opencode-go
Run the following command in DeepSeek Harness:
dsh plugin install leeyoung1/dsh-web-search-opencode-go
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install leeyoung1/dsh-web-search-opencode-go in your terminal to install this plugin in DeepSeek Harness (source: https://github.com/leeyoung1/dsh-web-search-opencode-go).
About this plugin
If you point DSH's built-in web_search at OpenCode Go or OpenCode Zen, the upstream gateway rejects every request that lacks the x-opencode-session routing header, returning HTTP 400 with a MissingSessionID error. The official @deepseek-ai/dsh-web-search-deepseek provider sends only standard x-api-key and authorization headers, so the search tool stops working entirely.
This plugin is a drop-in patched fork of that official provider whose sole change is to auto-inject x-opencode-session (resolved from the current DSH agent session ID or a configurable fallback) and x-opencode-client: dsh on every outbound request. Your existing web-search-deepseek settings, provider ID, and settings.yaml all stay untouched, and no new command, tool, or prompt is introduced. Installation works through either the DSH bundle loader or an offline file-copy path, supports macOS, Linux, and Windows, and never modifies the official package directory. Uninstalling with a single command restores the original package.
If you run DSH with OpenCode Go or Zen as your search backend and are stuck on MissingSessionID errors, this patch is written for you: install it, restart dsh web, and ask your agent to search the web in natural language as usual.
Use Cases
- Hitting MissingSessionID HTTP 400 when routing DSH web_search through OpenCode Go or Zen
- Fixing the routing header at the DSH profile layer without touching the official installation directory
- Deploying DSH web search across macOS, Linux, and Windows in environments without pnpm
Best For
- Developers who use OpenCode Go or OpenCode Zen as the DSH web_search gateway
- Ops engineers deploying DSH plugins in offline or no-package-manager environments
- Users who want to fix web_search routing without modifying the official web-search-deepseek package
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.