본문으로 건너뛰기
Y

dsh-plugins (dsh-web-search)

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

Baidu, Doubao, Tavily, Exa 백엔드를 ctx.web에 등록하여 공식 web_search가 이를 사용할 수 있게 하며, 해당 백엔드가 활성화되어 있을 때 web_fetch를 Tavily Extract 또는 Exa Contents를 통해 라우팅합니다.

설치

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, Serper. 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.11.0 || ^24.0.0 || >=26.0.0 and pnpm 10.

pnpm install
pnpm test
pnpm typecheck
pnpm build

Load a local checkout into a profile (relative paths resolve against the profile directory, not cwd):

dsh plugin --profile web add "$PWD/packages/dsh-web-search"
dsh plugin --profile desktop 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.

Release

Versions and npm publication for every public package under packages/ are managed by Changesets and GitHub Actions.

For a package change, run pnpm changeset, choose the affected packages and semantic version bump, and commit the generated .changeset/*.md file. Use pnpm changeset:status to inspect pending releases; PR checks run pnpm changeset:check, and pnpm check runs the full local validation.

After the PR merges to main, GitHub Actions creates or updates the Version Packages PR. Merging that PR versions and publishes all pending packages through npm Trusted Publishing/OIDC. Normal releases need no local npm authentication, token, or 2FA.

See CONTRIBUTING.md for the complete release flow.

License

MIT

관련 플러그인