npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-web-search-brave

v0.2.5

Published

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

Readme

dsh-web-search-brave

English | 中文

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

DSH 兼容性: 0.2.5 版已在本地使用 0.2.2-rc.1 测试。

特性

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

安装

将 npm 包安装到目标 DSH profile(需要时将 web 替换为目标 profile):

dsh plugin --profile web add [email protected]

通过 credentials 服务保存 API key,或在启动 dsh 的环境中导出 BRAVE_API_KEY。当前凭据文件使用 refs 映射;手动编辑时保留已有条目:

# $DSH_HOME/.credentials.yaml(默认 ~/.dsh/.credentials.yaml)
version: 1
refs:
  BRAVE_API_KEY: <your-key>
records: {}

Bundle 只挂载 provider,不会自动选中它。默认 web profile 固定使用 deepseek-official;请在 profile 补丁中选择 Brave,并保留原先使用的 fetch provider(默认值为 http):

# $DSH_HOME/profiles/web/cordis.patch.yml
- id: web
  config:
    searchProvider: brave
    fetchProvider: http

补丁会替换整个 web 配置,请同时保留其他需要的设置。修改 profile 补丁后重启 DSH。

License

MIT