dsh-code-check
自动类型检查诊断:模型编辑/创建 TS 文件后后台防抖运行 `tsc --noEmit`,经 `code_check` 工具按文件分组汇报错误(行列号 + 严重级别 + TS 错误码),形成「改 → 查 → 修」闭环。
Automatic type-check diagnostics: after the model edits or creates TS files, runs `tsc --noEmit` in the background (debounced per project) and reports errors via the `code_check` tool — grouped by file with line/column, severity and TS error codes, closing the "edit → check → fix" loop.
怎么安装
dsh plugin add github:a179-sanae/dsh-code-check 简介
dsh-code-check DeepSeek Harness(DSH)的自动类型检查诊断插件。 模型编辑或创建代码文件后,本插件在后台(按项目、防抖)自动运行 tsc --noEmit,并通过 code_check 工具汇报哪里改坏了——按文件分组,带 行列号、严重级别和 TS 错误码。模型看到报告后可以自己修复,形成 "改 → 查 → 修"闭环。Claude Code 有官方 LSP 插件,pi 有 pi-lens,现在 DSH 也有了 dsh-code-check。 特性 监听 harness 的 fs/observed 变更事件(与内置 skill 文件系统同一条缝),零核心改动。 800ms 防抖,连续编辑合并为每个项目一次检查。 按被编辑文件向上找最近的 tsconfig.json,只检查对应项目;node_modules 内部的文件不会被依赖自带的 tsconfig.json 劫持。 直接以 node typescript/bin/tsc 方式启动:不经过 shell / npx / .cmd,Windows 与 POSIX 行为完全一致;命令行固定 --pretty false,解析器同时兼容 ANSI 颜色码与 --pretty 的 file:line:col - error TSxxxx 格式。 code_check 工具返回缓存报告,传 run: true 强…
推荐参考
信息
- 协议
- BSD-3-Clause
- 语言
- TypeScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-08-14
- 创建于
- 2026-08-13
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- cordis, deepseek, deepseek-harness, dsh, dsh-plugin
同类推荐
langfuse
langfuse/langfuse
🪢 开源AI工程平台:LLM评估、可观测性、指标、提示管理、游乐场、数据集。与OpenTelemetry、LangChain、OpenAI SDK、LiteLLM等集成。🍊YC W23