Skip to content
dsh-market Browse plugins GitHub 中文

All3nCN/dsh-qa-suite-N23

Quality suite: background tsc --noEmit diagnostics fed back after the agent edits TypeScript, plus a /code-review command running five parallel review lenses with confidence scoring; absorbs dsh-code-check and dsh-command-code-review.

Stars ★ 0 Category Development & Runtime Listed 2026-09-01

Install

Inside DeepSeek Harness, with dsh-market

dsh plugin --profile web add dshmarket

Or from the command line

dsh plugin --profile web add github:All3nCN/dsh-qa-suite-N23

Installing runs third-party code with your own permissions — it can read your files, use your credentials and reach the network. Review the source first, and pin a commit (github:owner/repo#sha) when you can.

README

Quality suite plugin for DSH (host side, no UI half). One package merging two upstream capabilities:

English | 中文

Features

1. code_check tool (automatic type checking)

Absorbed from a179-sanae/dsh-code-check (BSD-3-Clause).

  • Listens to fs/observed events: triggers after the model modifies .ts / .tsx / .mts / .cts files via the edit / write tools.
  • Runs node <tsc> --noEmit -p <tsconfig> --pretty false in the background, debounced per project (default 800ms): spawned in array form with no shell involved, explicit timeout (default 60s) + abort.
  • Automatic project discovery: walks upward from the changed file to the nearest tsconfig.json (skipping node_modules); scans the caller's workspace on first use.
  • Diagnostics are cached in memory (LRU, capacity cacheCap); the model can call the code_check tool at any time to read the report; supports paths relative-path filtering and run: true to force a re-run.

2. /code-review command (multi-lens local code review)

Absorbed from JasonFreeLab/dsh-command-code-review (MIT). The PR / gh comment modes were removed; only the local review mode is kept.

  • /code-review [review request] [--out <dir>]: five lenses (dsh.md compliance / bug correctness / historical context / security / comment compliance) review in parallel, then a single agent scores each deduplicated issue with confidence (0-100) and severity (blocker/major/minor/nit); findings below the threshold (default 80) are filtered out of the report.
  • Reports are written to outDir (default reports/code-review): a Markdown report plus a JSON sidecar.
  • Empty input = review the current uncommitted changes (git diff + git diff --cached).

Configuration (cordis.patch.yml)

Key Default Description
debounceMs 800 Debounce window between the last edit and the tsc launch (ms)
triggerTools ['edit','write'] Tool actor names that trigger a check
tscTimeoutMs 60000 Per-run tsc timeout (ms)
autoLenses false Adaptive lenses (auto-add perf/security by scope keywords)
outDir reports/code-review Review report output directory

Also supported (via resolveConfig defaults): enabled, includeExtensions, maxDiagnostics, extraArgs, cacheCap, threshold, lenses.

Compatibility

Validated against DSH (DeepSeek Harness) 0.1.1-rc.2; peer dependencies are declared as @deepseek-ai/* >= 0.1.0-rc.6 < 0.2.0. Requires Node.js >= 20.3.

Install

Prerequisite: a working DSH installation (dsh web runs) with the @deepseek-ai peer packages (dsh-tools, dsh-llm, dsh-commands, cordis) resolvable in the profile.

dsh plugin --profile web add @all3cn/dsh-qa-suite-n23

The package declares a dsh.bundle.patch (cordis.patch.yml); the CLI bundle reconciliation adds it to the profile bundle stack automatically — no profile file edits. The layer id stays the stable qa-suite, so you can disable or override it in your own cordis.patch.yml.

Tests

node --test tests/

Attribution

This plugin is a merged absorption of two upstream projects. Licenses and copyright notices: UPSTREAM.md, LICENSE, THIRD-PARTY-NOTICES.md.

Content from the project README on GitHub ↗

Comments

Comments live in GitHub Discussions. Sign in with GitHub to post or react.