cnChenKai/dsh-web-search-brave
基于Brave Search的WebSearchProvider,适用于DeepSeek Harness(ctx.web)
项目介绍Project Overview
dsh-web-search-brave 是 DeepSeek Harness 插件,将内置 web_search 工具的搜索后端切换为 Brave Search API。它通过 ctx.web 接入,支持 page_age 映射为 publishedAt 字段,关闭文本装饰以保持摘要干净。需要 Brave API 密钥,免费额度每月 2000 次查询。注意:配额受限,密钥必须配置到 DSH 凭据存储或环境变量。
dsh-web-search-brave is a DeepSeek Harness plugin that replaces the built-in web_search tool's backend with the Brave Search API. It hooks into the ctx.web seam, maps page_age to publishedAt as an ISO 8601 string, and keeps snippets clean by disabling text decorations. Use it when Brave's index or quota fits your workflow. Note that a Brave API key is required, with the free tier limited to 2,000 queries per month.
请帮我了解并安装插件:【dsh-web-search-brave】【https://github.com/cnChenKai/dsh-web-search-brave】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add dsh-web-search-brave
把 cnChenKai/dsh-web-search-brave 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-web-search-brave
A Brave Search-backed search provider for the DeepSeek Harness web capability seam (ctx.web): it makes the built-in web_search tool run on Brave's Search Web API instead of the shipped DeepSeek route.
Features
- Clean snippets -
text_decorationsdefaults to false so snippets stay free of<b>highlight markers. - Dates -
page_age(ISO 8601) maps to the seam'spublishedAt; human-readableageis ignored. - Keyed only - Brave has no keyless mode; free tier: 2,000 queries/month at api.search.brave.com.
Install
dsh plugin --profile web add dsh-web-search-brave
Set your API key in DSH's credential store (recommended) or export it in the environment that starts dsh web:
# ~/.dsh/.credentials.yaml
BRAVE_API_KEY: BSA...
Select the provider (the bundle patch does this automatically; to switch manually):
# your profile's cordis.patch.yml
- id: web
name: '@deepseek-ai/dsh-web'
config:
searchProvider: brave
License
MIT
ruvnet/ruflo
amruthpillai/reactive-resume
volcengine/OpenViking
Molunerfinn/PicGo
titanwings/colleague-skill
nocobase/nocobase
Tencent/WeKnora