sysevol-ai/CodeNib--plugins-dsh ↗★ 94

dsh-plugin-codenib

CodeNib for DeepSeek Harness: ranked, source-linked search and compiler-indexed calls and references for the checkout you open, over MCP.

套件
dsh-plugin-codenib
相容性
待驗證
版本
0.1.0
授權
Apache-2.0
最近更新
2026年11月10日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add 'github:sysevol-ai/CodeNib#18b04bae1849219e01fdde40b41b5a3a15d3faa8&path:plugins/dsh'

CodeNib for DeepSeek Harness

Ask about your repository and get answers tied to the exact lines. This bundle connects DeepSeek Harness to CodeNib, which ranks source for a question and follows the calls and references that compiler-grade indexers recorded between files.

dsh plugin add "git+https://github.com/sysevol-ai/CodeNib.git#main&path:/plugins/dsh"

Replace main with a commit to pin what runs. CodeNib itself is a Python package (3.10 or later). Install it once, or let the bundle run it through uvx if you have uv:

uv tool install "codenib[graph,mcp]"     # or: pipx install "codenib[graph,mcp]"

What it adds

The bundle adds one MCP server, codenib. Its explore_context tool returns ranked, verified source windows for a question, plus recorded references once the code graph is ready; the model sees it as mcp__codenib__explore_context.

What happens when it starts

Start dsh inside a Git checkout. The server first builds or refreshes CodeNib's search index for that checkout, then starts. Indexes are stored under ~/.codenib; nothing is written into the checkout. For Python, the code graph is prepared in the background as soon as the server starts; for other languages, on the first question that needs references. Run codenib index . --preset graph in the checkout to build the graph ahead of time. Outside a Git checkout, the server does not start and dsh runs without it.

The server and its index run locally and call no model. Running CodeNib through uvx downloads it from PyPI.

The server is started with sh, so the bundle loads on macOS and Linux; Windows hosts skip it. See the CodeGraph guide for the tools, their limits, and troubleshooting.