跳过主要内容
Y

dsh-plugins (dsh-web-search)

yugasun/dsh-plugins/packages/dsh-web-search

向 ctx.web 注册百度、豆包、Tavily、Exa 后端供官方 web_search 使用,并在 Tavily 或 Exa 生效时将 web_fetch 转到对应提取接口。

安装

dsh plugin --profile web add github:yugasun/dsh-plugins

该插件位于仓库的 packages/dsh-web-search 子路径下。

README

dsh-plugins

Independently installable DeepSeek Harness plugins.

Each directory under packages/ is its own dsh.bundle. The repository root is not a plugin. npm packages use the @yugasun scope.

Compatible with DeepSeek Harness 0.1.0-rc.7.

中文文档

Plugins

PackagenpmInstall
dsh-web-search@yugasun/dsh-web-searchdsh plugin --profile web add @yugasun/dsh-web-search

dsh-web-search — multi-provider web search for ctx.web: Baidu, Doubao, Tavily, Exa. web_fetch can use Tavily Extract, Exa Contents, or DSH built-in HTTP independently of the search backend.

Installing a plugin runs third-party code in the harness process with your permissions. Review the source before you install.

Develop

Requires Node.js 22+ and pnpm 10.

pnpm install
pnpm test
pnpm typecheck
pnpm build

Load a local checkout into the web profile (needs the pnpm install above; a link: install resolves host packages from this tree):

dsh plugin --profile web add "$PWD/packages/dsh-web-search"
dsh --profile web --dump-config | grep dsh-web-search

From Git (subdirectory):

dsh plugin --profile web add github:yugasun/dsh-plugins#path:packages/dsh-web-search

pnpm ≥10 may ask you to allow the package prepare script (allowBuilds) the first time you install from Git.

Publish

After npm login:

pnpm --filter @yugasun/dsh-web-search publish

See CONTRIBUTING.md for version bumps and dry-runs.

License

MIT

相关插件