dsh-all-search

by realalexandreai

1 工具与能力github收录于 08-23

dsh search:DeepSeek Harness(ctx.web)的 AnySearch 网页搜索 provider

dsh search: AnySearch web search provider for DeepSeek Harness (ctx.web)

安装

dsh plugin --profile web add github:realalexandreai/dsh-all-search

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

给 DeepSeek Harness 加一个 AnySearch 搜索 provider,注册进 ctx.web。AnySearch 是单 MCP 网关,一把 API key 聚合 exa / tavily / firecrawl / context7 等多家搜索。

由 pi-all-search 移植。

English · 中文

为什么需要它

dsh 自带 Exa / Perplexity / DeepSeek 搜索。本插件补 AnySearch:一把 key 多个后端,不用为每家单独配凭据。

快速开始

dsh plugin --profile web add dsh-all-search

provider 以 anysearch 注册到 ctx.web,内置的 web_search 工具会自动识别,与自带 provider 并存。

- id: all-search
  name: dsh-all-search
  config:
    api_key: <你的 anysearch key>
键 必填 说明
api_key ✅ 你的 AnySearch key
base_url – MCP 端点覆盖

* 两个 key 键填其一。没有 key 时 provider available() = false,seam 自动跳过。

隐私

  • key 只存在于你的配置文件——不写日志
  • 只向 AnySearch 网关发送查询词和结果数量

开发

npm install
npm run typecheck
npm test          # 结果解析 / maxResults / HTTP 错误
npm run build

真实搜索测试:

node --import tsx tests/real/real-search.mjs

License

MIT

原始 README: https://github.com/RealAlexandreAI/dsh-all-search/blob/main/README.zh.md ↗