Chuyển đến nội dung chính

dsh-web-search-brave

Đã xác minh

dsh-web-search-brave · v0.2.4 · MIT

Brave Search-backed WebSearchProvider for the DeepSeek Harness web seam (ctx.web)

Cài đặt

dsh plugin add dsh-web-search-brave

Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.

Mã nguồn

Thẻ

Tác giả

Readme

dsh-web-search-brave

npm version npm downloads GitHub stars License

English | 中文

基于 Brave Search 的 DeepSeek Harness 搜索 Provider,让内置的 web_search 工具走 Brave 搜索 Web API(ctx.web 能力接缝)。

DSH 兼容性: 已按 0.2.0-rc.2 验证。

特性

  • 干净的摘要:text_decorations 默认关闭,避免摘要中出现 <b> 高亮标记。
  • 日期映射:page_age(ISO 8601)映射到 publishedAt;人类可读的 age 会被忽略。
  • 仅密钥模式:Brave 无 keyless,免费档每月 2,000 次查询(api.search.brave.com)。

安装

dsh plugin --profile web add dsh-web-search-brave

设置 API key:

# ~/.dsh/.credentials.yaml
BRAVE_API_KEY: BSA...

切换 Provider(bundle 补丁会自动完成;手动切换方式):

# 你的 profile 的 cordis.patch.yml
- id: web
  name: '@deepseek-ai/dsh-web'
  config:
    searchProvider: brave

License

MIT