dsh-gpt-web-search: Performing DSH web_search using GPT subscription

Preface

When developing agents in DeepSeek Harness (DSH), a stable web_search tool is a common requirement: models need to query real-time web pages rather than relying solely on training data. If you wish to route online retrieval through your local, already-logged-in GPT subscription capabilities instead of integrating other search APIs yourself, you need to replace or take over the execution path of web_search within DSH.

Below is an introduction to the community plugin dsh-gpt-web-search (Maintainer: vb2250158, Category: Web Tools). It modifies the stable web_search tool to perform online retrieval via GPT subscription models. It is suitable for developers already using the DSH 0.2 environment and logged into GPT accounts via Subscriptions.

What is this

dsh-gpt-web-search is an open-source DSH plugin. Repository: github.com/vb2250158/dsh-gpt-web-search. The display name in the plugin list switches according to the DSH interface language: English GPT web search, Chinese GPT 联网搜索 (see locale/en.json and locale/zh.json in the repository).

This release requires DSH 0.2.1-alpha.1 or a version compatible with 0.2; for details, see the repository documentation docs/dsh-0.2-compatibility.md. The current package version is 0.1.5, licensed under MIT.

Core Functions

The capabilities verifiable via the README and package declarations are as follows:

  1. Take over web_search: Enables the stable web_search tool in DSH to perform online retrieval via GPT subscription models, rather than the default implementation path.
  2. Configuration layer injection: The package declares dsh.bundle. Upon installation, it merges the plugin’s built-in configuration layer into the used profile (the patch file is cordis.patch.yml).
  3. Subscription accounts: The subscription login required for networking comes from the local Subscriptions login storage; it supports legacy single accounts, version 2 account lists, and multi-account storage. You can select a default account from the enabled accounts; if the default is unavailable, it falls back according to account order. Login credentials are not written to the plugin’s synced repository.
  4. Display resources: Exports the icon icon.svg and Chinese/English locales for display in the DSH plugin list.

Installation and Enablement

Before installation, please lock a specific commit from the public repository, then install via the official DSH entry (command from the repository README; replace <commit> with the actual commit SHA):

pnpm dsh plugin --profile web add github:vb2250158/dsh-gpt-web-search#<commit>

Notes:

  • --profile web indicates installation to a profile named web; if you use a different profile name, it must match your local DSH configuration.
  • After installation, the plugin configuration will appear in cordis.patch.yml of that profile. If you use Git or other methods to sync the DSH configuration repository across multiple computers, usually only the repository address, fixed commit, enable/disable status, and configuration items are saved; the plugin source code is not saved.

On the subscription side, please complete the Subscriptions login on your local machine and select the account to use; the plugin will not write credentials into the plugin repository.

Typical Usage and Verification

The plugin targets the DSH runtime: after enabling and configuring the profile and subscription account, agent calls to web_search should proceed via the GPT subscription-side online retrieval. Specific session examples depend on your local DSH and agent configuration; the repository does not provide separate conversational demo commands.

The maintainer provides the following self-check steps in the repository (execute in the plugin source directory, used for checks before development or packaging):

npm test
npm pack --dry-run

Applicable Scenarios and Notes

Who it is for: Teams or individuals developing agents on DSH 0.2.x (including the 0.2.1-alpha.1 requirement), who want web_search to uniformly route online connectivity through GPT subscription, and are willing to manage plugin configuration using profiles + cordis.patch.yml.

Important Notes:

  1. Permissions: The plugin runs with the current dsh process and possesses the same local access capabilities as that process. You should read the source code and the MIT license before installation to ensure compliance with your security policy.
  2. Dependencies: Peer dependencies include @deepseek-ai/dsh-home-paths, @deepseek-ai/dsh-settings (before the release of 0.2.1-alpha.1 to 0.3.0), @deepseek-ai/schemastery, etc., which must match the local DSH version.
  3. Ecosystem: The DSH community plugin directory is hosted on an independent site (such as the entry on SkillHub) and has no official affiliation with DeepSeek / High-Flyer. The installation source is based on the pnpm dsh plugin ... command in the README; do not construct commands not appearing in the documentation based solely on the plugin name.

Conclusion

The value of dsh-gpt-web-search lies in connecting the stable web_search to local GPT subscription networking capabilities within the DSH 0.2 series with minimal configuration cost, and integrating the display name, icon, and profile patches into the DSH plugin mechanism.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye