sobermh/tokens_DshWebSearch_code0

tokens-dsh-web-search

Locally maintained web search plugin for DeepSeek Harness with free and API-backed providers.

包名
tokens-dsh-web-search
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sobermh/tokens_DshWebSearch_code

tokens_DshWebSearch_code

本项目是本地维护的 DeepSeek Harness 联网搜索插件,npm 包名为 tokens-dsh-web-search

功能

  • 为原生 web_search 提供 Bing、DuckDuckGo、AnySearch 和 SearXNG 等搜索来源。
  • 支持 Exa、Tavily、Keenable、Perplexity 和 DeepSeek API 搜索。
  • 支持时间范围过滤、平台搜索、网页抓取、结果缓存和设置页切换。
  • 不包含远程版本检查或一键升级逻辑,代码更新完全由本仓库维护。

本地安装

在项目目录外执行:

dsh plugin --profile desktop add file:C:\path\to\tokens_DshWebSearch_code

插件变更后需要重启 DSH Desktop。默认情况下,补丁会把 web.searchProvider 设置为 ddg,实际搜索引擎可在插件设置中选择。

开发

pnpm install
node --check lib/index.js
node --check lib/client.js

核心文件:

  • lib/index.js:搜索 provider、搜索工具、设置桥接和引擎实现。
  • lib/client.js:DSH 设置页面。
  • cordis.patch.yml:DSH bundle 注入配置。

许可

本项目沿用 MIT License。依据许可证要求,原始版权声明与许可文本保留在 LICENSE 中。