jingchangzhao-gif/dsh-errkb ↗★ 1
dsh-errkb
用于复用历史报错诊断与修复方案的知识库设计原型 面向希望沉淀报错与修复经验的开发者;官方标注工具尚未实现,当前仅供评估设计。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jingchangzhao-gif/dsh-errkb說明文件
閱讀完整 README ↗Usage
Not implemented. There is no tool to call yet. The shapes below are the specified interface, shown so the design can be judged, not because they run.
Ask the agent about a failure, or call a tool directly:
{
"query": "EPERM: operation not permitted, rename",
"full": false
}
That block in Injection is the entire product. It replaces a diagnosis that would otherwise cost 800–3000 tokens.
Parameters
| Tool | Parameters | Defaults / notes | Returns |
|---|---|---|---|
err_lookup | query (raw text, a signature, or an ID), full? | full: false returns the entry without the raw sample | The matching entry; on a miss, null plus the three closest |
err_record | id?, message?, fix?, status?, note?, category? | id and message — one of the two; status is fixed/wontfix/open | The ID and whether it was newly created |
err_list | cat?, status?, limit? | limit defaults to 20 | ID, title and hit count — no bodies |
err_forget | id, reason? | Moves the entry to ERRORS.archive.md for the record; nothing is really deleted | Whether the entry was archived |
err_stats | scope? | scope is session or all | Entry count, hit rate, estimated tokens saved, resolved path |
All five declare their output through output.schema + render, so what reaches the model is controlled plain text.
Configuration
Where these settings go
Settings live in the profile patch, not in a separate config file: