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.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:All3nCN/dsh-qa-suite-N23
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
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/observedevents: triggers after the model modifies.ts/.tsx/.mts/.ctsfiles via theedit/writetools. - Runs
node <tsc> --noEmit -p <tsconfig> --pretty falsein 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 thecode_checktool at any time to read the report; supportspathsrelative-path filtering andrun: trueto 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(defaultreports/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.
Links
More in this category
yjh051108/dsh-routing-suite★ 6997
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3696
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1344
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
hust-open-atom-club/oh-dsh★ 322
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 217
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
Fishquito7/dsh-skill-mcp-panel★ 207
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.