Nrxous/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).
이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.
업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.
dsh-context7
Up-to-date library documentation for DeepSeek Harness, powered by Context7.
This host-only plugin connects DSH to the official Context7 Public API v2, so your agent can always fetch current, version-pinned documentation and code examples for software libraries. It registers two model tools:
| Tool | Purpose |
|---|---|
context7_search | Search libraries by name (optionally with a natural-language question for LLM ranking). Returns matches with their Context7 library IDs (e.g. /vercel/next.js). |
context7_get_docs | Fetch LLM-reranked documentation for one library by ID (or bare name, auto-resolved) plus a natural-language question: code snippets, doc snippets, library rules and source URLs. Supports version pinning (e.g. v15.1.8) and a fast low-latency mode. |
No API key is required — Context7 allows keyless access with low rate limits. For higher limits, get a ctx7sk-prefixed key from the Context7 dashboard.
Installing
From npm (published):
dsh plugin --profile web add dsh-context7
From GitHub:
dsh plugin --profile web add github:Nrxous/dsh-context7
Restart DSH after installing. The tools are called automatically whenever the model needs current library docs, or you can trigger them by asking directly.
Configuring the API key (optional)
Set config.apiKey in your profile patch layer — ~/.dsh/profiles/<name>/cordis.patch.yml — which is applied after every bundle layer and survives plugin updates:
- id: dsh-context7
config:
apiKey: ctx7sk_your-key-here
Save and restart DSH. With a key set, requests carry an Authorization: Bearer header for higher rate limits. Without one, the plugin keeps working at keyless limits.
Development
Pure JS plugin, no build step — main: src/index.js, runtime dependency @deepseek-ai/schemastery (provided by the host).
# Hot-mount into the web profile (no restart)
dev_install_package <this-directory>
# or inside the injector environment
dev_inject_plugin <this-directory>
License
Apache-2.0
보안 및 설치 증거
이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.
공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.
저장소가 Apache-2.0 라이선스를 선언했습니다.
최근 180일 내 코드 업데이트가 있습니다.
재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.
검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.