a179-sanae/dsh-code-check1

@a179-sanae/dsh-code-check

DeepSeek Harness 自动类型检查与 Linter 诊断插件:在模型编辑代码后,后台运行 tsc 并通过工具报告错误。

AI 分析

核心用途是自动检测模型修改代码后引入的错误。适合使用 DSH 进行代码编写与重构的开发者,能及时发现类型或语法中断。依赖本地 tsc 环境。

套件
@a179-sanae/dsh-code-check
版本
0.1.0
授權
BSD-3-Clause
最近更新
2026年8月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:a179-sanae/dsh-code-check

配置

全部可选,默认值如下:

Key默认值含义
enabledtrue后台监听总开关。
debounceMs800最后一次编辑后的防抖窗口(毫秒)。
triggerTools['edit', 'write']触发检查的工具 actor 名单。
includeExtensions['.ts', '.tsx', '.mts', '.cts']触发检查的文件扩展名。
maxDiagnostics120单份报告最多展示的诊断数。
tscTimeoutMs60000单次 tsc 超时。
extraArgs['--incremental']tsc --noEmit -p 之后的附加参数。
cacheCap200缓存项目上限(最久未检查的先淘汰)。

通过 profile patch 层覆盖,例如: