dsh-web-search-all-modes: Presetting the web_search Tool for dsh Agent Recovery

Preface

The DSH (DeepSeek Harness) ecosystem emphasizes “everything is a plugin.” In actual deployments, the tool sets provided by different agent presets may vary. The minimal mode defaults to only bash and str_replace_editor. If you need to use web_search in the session tool directory, you must separately re-enable the host-side tool-web line.

Below we introduce dsh-web-search-all-modes, maintained by Enter3211. It solves a specific problem: enabling all dsh agent presets that do not natively include the web_search tool to also invoke it.

What This Is

dsh-web-search-all-modes is a DeepSeek Harness plugin (bundle) that restores the web_search tool to all dsh agent presets that lack it natively, by re-enabling the host’s tool-web line.

  • Presets that already include web_search are unaffected.
  • Registrations within scope override global registrations without duplication.
  • Licensed under MIT.

Core Features

This plugin provides the following verified capabilities:

  • Restores the web_search tool to all dsh agent presets that do not natively include it.
  • Minimal mode defaults to only bash and str_replace_editor; after installation, web_search appears in the tool directory.
  • A web search triggers an independent model request.
  • Base behavior allocates a 60-second budget per search, with fetch: false by default and web_fetch remaining disabled.

Installation and Enablement

Before installation, verify the environmental requirements:

  • The profile must be composed based on @deepseek-ai/dsh-base; all official profiles satisfy this.
  • The same search credential DEEPSEEK_API_KEY as in standard mode is required, resolved by the host’s web-search-deepseek provider.
  • The plugin runs within the current dsh process permissions. Review the source code and MIT license before installation.

Local source installation:

dsh plugin --profile web add ./dsh-web-search-all-modes

Install from GitHub without the pnpm build authorization prompt:

dsh plugin --profile web add github:Enter3211/dsh-web-search-all-modes

Restart the Web process after installation.

Typical Usage

After restarting the Web process, create a new session in minimal mode or any mode, and web_search will appear in the tool directory.

Note: The minimal preset fixes the persona to a full system prompt, so the tool guidance prompt section remains hidden in that mode; however, the web_search tool schema will still appear in the directory and function properly.

Applicable Scenarios and Notes

Suitable for the following cases:

  • You use a dsh profile based on @deepseek-ai/dsh-base.
  • You want web search available in minimal mode or other presets that do not natively include web_search.
  • You have configured DEEPSEEK_API_KEY and confirmed that the host web-search-deepseek provider is operational.

Important considerations:

  • The patch locates the tool-web line by ID.
  • If the line does not exist in the composition (non-base deployment), the loader records a skip warning, and the plugin becomes a no-op overall.
  • web_search triggers an independent model request.
  • The base budget per search is 60 seconds.
  • Default fetch: false, with web_fetch remaining disabled.

The community directory referenced in this article is an independent site and should not be interpreted as an official app store of DeepSeek or High-Flyer.

  • Plugin directory page: https://www.skillhub.cn/plugins/Enter3211/dsh-web-search-all-modes
  • GitHub: https://github.com/Enter3211/dsh-web-search-all-modes
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye