DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

All3nCN /

All3nCN/dsh-qa-suite-N23

Verified

DSH quality suite plugin: automatic tsc --noEmit diagnostics (code_check tool) + multi-lens /code-review command. Merged absorption of dsh-code-check (BSD-3) and dsh-command-code-review (MIT).

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@8f473567

@all3cn/dsh-qa-suite-n23

DSH 质量套件插件(host 侧,无 UI 半区)。一个包合并两份上游能力:

能力

1. code_check 工具(自动类型检查)

吸收自 a179-sanae/dsh-code-check(BSD-3-Clause)。

  • 监听 fs/observed 事件:模型经 edit / write 工具改动 .ts / .tsx / .mts / .cts 文件后触发。
  • 按项目防抖(默认 800ms)后台运行 node <tsc> --noEmit -p <tsconfig> --pretty false: spawn 数组形态、无 shell 参与、显式超时(默认 60s)+ abort。
  • 项目自动发现:自改动文件向上找最近的 tsconfig.json(跳过 node_modules); 首次使用时按调用方工作区扫描。
  • 诊断缓存在内存(LRU,容量 cacheCap),模型随时调用 code_check 工具读取报告; 支持 paths 相对路径过滤与 run: true 强制重跑。

2. /code-review 命令(多镜头本地代码审查)

吸收自 JasonFreeLab/dsh-command-code-review(MIT),PR / gh 回评模式已删除, 仅保留本地审查模式。

  • /code-review [审查请求] [--out <dir>]:五镜头(dsh.md 合规 / bug 正确性 / 历史上下文 / 安全 / 注释合规)并行审查,去重后单代理打置信度(0-100)与 严重度(blocker/major/minor/nit),按阈值(默认 80)过滤后汇报。
  • 报告落盘 outDir(默认 reports/code-review):Markdown 报告 + JSON sidecar。
  • 空输入 = 审查当前未提交变更(git diff + git diff --cached)。

配置(cordis.patch.yml)

键 默认 说明
debounceMs 800 最后一次编辑后到 tsc 启动的防抖窗口(ms)
triggerTools ['edit','write'] 触发检查的工具 actor 名
tscTimeoutMs 60000 单次 tsc 超时(ms)
autoLenses false 自适应镜头(按范围关键词自动加开 perf/security)
outDir reports/code-review 审查报告输出目录

另支持(经 resolveConfig 默认值):enabled、includeExtensions、maxDiagnostics、 extraArgs、cacheCap、threshold、lenses。

测试

node --test tests/

归属

本插件吸收合并了两个上游项目,许可证与版权声明见 UPSTREAM.md、LICENSE、 THIRD-PARTY-NOTICES.md。

—/ 5

No ratings yet

Verified DSH bundle

Commit 8f4735671669

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout