a179-sanae/dsh-code-check1

@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 环境。

パッケージ
@a179-sanae/dsh-code-check
バージョン
0.1.0
ライセンス
BSD-3-Clause
最終更新
2026/08/13

インストール

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

ドキュメント

README 全文を読む ↗

配置

全部可选,默认值如下:

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

通过 profile patch 层覆盖,例如: