a179-sanae/dsh-code-check ↗★ 1
@a179-sanae/dsh-code-check
Auto type-check and lint diagnostics for DeepSeek Harness: after the model edits code, tsc runs in the background and a code_check tool reports what broke
AI 分析
核心用途是自动检测模型修改代码后引入的错误。适合使用 DSH 进行代码编写与重构的开发者,能及时发现类型或语法中断。依赖本地 tsc 环境。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:a179-sanae/dsh-code-checkドキュメント
README 全文を読む ↗配置
全部可选,默认值如下:
| Key | 默认值 | 含义 |
|---|---|---|
enabled | true | 后台监听总开关。 |
debounceMs | 800 | 最后一次编辑后的防抖窗口(毫秒)。 |
triggerTools | ['edit', 'write'] | 触发检查的工具 actor 名单。 |
includeExtensions | ['.ts', '.tsx', '.mts', '.cts'] | 触发检查的文件扩展名。 |
maxDiagnostics | 120 | 单份报告最多展示的诊断数。 |
tscTimeoutMs | 60000 | 单次 tsc 超时。 |
extraArgs | ['--incremental'] | tsc --noEmit -p 之后的附加参数。 |
cacheCap | 200 | 缓存项目上限(最久未检查的先淘汰)。 |
通过 profile patch 层覆盖,例如: