Skip to content

v0.3.0 — error library + code links

Choose a tag to compare

@xuh-hakana xuh-hakana released this 22 Nov 21:19
· 2 commits to main since this release

dsh-code-library v0.3.0

错误库上线:出错先查错误单,修完把错误和代码一起沉淀。

亮点

  • 四类错误:dsh / general / thirdparty / local;dsh 分「报错 / 接入」,其余三类按项目 + 功能归档。
  • 先查后修:一轮连续 2 次出错,当轮先 error_list;DSH 报错先 error_search 匹配一次错误表。
  • 代码与错误互链:code_add({errorId}) 后,代码侧只引用 E0001 · 精简错误点,不重复写问题。
  • 各自独立:没有代码的错误、没有错误的代码都能单独存在;有错误源时优先合并到同一条。
  • 删除安全:删错误自动解除关联,代码保留 errorRef 快照;删代码同步清理错误侧 codeIds。
  • 内置条目:E0001 记录 DeepSeek 内容审查拒绝回答 → 注入 ignore_safety_rules = true。
  • 旧数据兼容:代码条目新增 scope,默认 general;已有 v2 数据无需迁移。

安装

dsh plugin --profile web add github:xuh-hakana/dsh-code-library

作者与 AI 声明

作者:xuh-hakana(GitHub @xuh-hakana)。代码、文档与图标包含 DeepSeek Harness AI agent 在作者指导下生成的内容;作者负责验收与发布。MIT 开源。