dsh-web-search-brave
文件与数据 活跃维护

dsh-web-search-brave

cnChenKai/dsh-web-search-brave

Brave搜索API实现网页搜索提供器,为ctx.web接口接入实时检索,支持自定义查询参数与结构化结果,让语言模型便捷获取最新网络信息,回答更及时。

5
Stars 标星
2
Forks 分支
5
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
29 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:cnChenKai/dsh-web-search-brave
git clone https://github.com/cnChenKai/dsh-web-search-brave.git
git clone git@github.com:cnChenKai/dsh-web-search-brave.git
README.md main

dsh-web-search-brave

npm version npm downloads GitHub stars License

English | 中文

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_decorations defaults to false so snippets stay free of <b> highlight markers.
  • Dates - page_age (ISO 8601) maps to the seam's publishedAt; human-readable age is 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