AI Agent Hub
Back to plugins
🧰

dsh-web-search-opencode-go

Web Tools Updated 2026.09.11

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