dsh-context7
Context7 up-to-date library documentation for DSH: context7_search / context7_get_docs model tools backed by the Context7 Public API v2 (context7.com).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nrxous/dsh-context7说明文档
阅读完整 README ↗配置 API key(可选)
在插件自身目录的 cordis.patch.yml(安装后位于 ~/.dsh/profiles/web/node_modules/dsh-context7/cordis.patch.yml)里给插件行填 config.apiKey:
- insert:
- id: dsh-context7
name: dsh-context7
config:
apiKey: "ctx7sk-..."
保存后重启 DSH 生效。填了 key 后请求会带 Authorization: Bearer 头,获得更高限额。
⚠️ 注意:
node_modules内是 pnpm 安装副本,执行dsh plugin --profile web update dsh-context7会覆盖此文件、丢失 key 配置;如需不被更新覆盖,可将同样的config.apiKey覆盖写到 profile 层~/.dsh/profiles/web/cordis.patch.yml。