DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-response-letter

d

dsh-response-letter

Identified

Reviewer-response workflow for DeepSeek Harness: parse reviewer comments with locators, check point-by-point coverage by response number, and export a Markdown response letter with a coverage table; p

dsh-response-letter: a review of four comments from Reviewer 1 and Reviewer 2 checked against three numbered responses — #1 answered, #3 empty at six characters, #4 missing — with the coverage counts and the REP evidence record on the right

dsh-response-letter

当前版本 0.1.4。

Every reviewer comment answered — and provably so, by number.

Parses reviewer comments (Reviewer/Referee/审稿人 headers, numbered or paragraph mode), checks the point-by-point letter by response number (missing, too short, extra, duplicates), and exports a Markdown letter with a coverage table.

简体中文 · Español · Português · हिन्दी

License Node


What it does

  • letter_parse — recognizes Reviewer 1, Referee #2, 审稿人 2, R1 headers and numbered markers (1., 2), Comment 3:, Q4:), assigning a global number to every comment (the number a response must cite), a reviewer label and a character locator. Falls back to paragraphs with an explicit warning.
  • letter_check — matches response numbers to comment numbers and reports: missing numbers, answers shorter than 20 characters, duplicate response numbers, and responses citing a number that no comment has.
  • letter_export — a Markdown table (#, reviewer, comment, response) with unanswered points in bold, plus the coverage table. Markdown is the deliverable; nothing is emailed or uploaded.
dsh-response-letter structure: reviewer comments are parsed into globally numbered comments 1..N, the point-by-point letter is matched by response number (missing, shorter than 20 characters, extra, duplicates), and the result is a coverage count plus a Markdown letter; the tokens in the diagram are the real tool, marker and output names, so all five languages use the same picture

Structure: parse → check → export; coverage and findings[] are the two check outputs, and letter_export renders Markdown only. The token labels inside the diagram are the real tool, marker and field names, so the same picture serves all five languages.

What it does not do

  • No adequacy judgement. Coverage counts numbered answers; it does not say whether an answer is convincing, polite or evidence-based.
  • No reviewer text editing. Comments are reproduced verbatim; the author writes the responses.
  • No DOCX/PDF. Convert to .md/.txt (PDF text: dsh-doc-anchor).
  • No submission. It does not touch the journal system.
  • No AI-generated rebuttals. The plugin parses and checks; the words stay the author's.

How numbering works

Comments are numbered 1..N in document order across reviewers (not per reviewer). The response letter must cite the same global numbers. If the letter uses its own per-reviewer numbering, the numbers will not match and the check says so rather than guessing.

Tools

letter_parse

{ text? | path?, persist? } → { ok, parse: {comments, reviewers, mode, warnings}, evidenceId?, recordPath? }.

letter_check

{ comments? | reviewText? | reviewPath?, letterText? | letterPath? } → { ok, coverage, comments, responses, warnings }.

letter_export

{ comments, responses? | letterText?, title? } → { ok, markdown, coverage }.

Error codes

INVALID_INPUT · NOT_FOUND · PATH_ESCAPE · NOT_A_FILE · TOO_LARGE · UNSUPPORTED_FILE · STORE_ERROR

Compatibility & install

DeepSeek Harnessdsh-v0.2.3-alpha.1 (verified 2026-11-22); peer >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0
Node^22.19.0 || >=24.9.0 (tested 24.22.1), ESM only
Peers@perrylink/dsh-research-core ^0.1.0, @deepseek-ai/cordis ^4.0.5-alpha.1, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery ^3.18.5-alpha.1
Runtime dependencieszero
dsh plugin --profile <name> add @perrylink/dsh-research-core dsh-response-letter
dsh --profile <name> --dump-config | grep dsh-response-letter

Configuration

KeyDefaultMeaning
enabledtruefalse mounts nothing
root.response-letterstore/record root
workspaceRootprocess.cwd()paths must resolve inside it
maxChars1000000character cap (fails, never truncates)
persisttruestore parsed reviews as REP evidence + record

Security boundaries

  • Read-only on review and letter files; writes only under root.
  • realpath containment rejects symlink escapes.
  • Character cap fails loudly; DOCX/PDF rejected with a conversion hint.
  • Comments are treated as data; any instruction-like text in them is never executed (the plugin has no executor).

Evaluation

dsh-response-letter evaluation: the real test suite in this checkout — 22 tests in 4 files pass across parsing, coverage, runtime, tools and the plugin/package contract

Animated: the real pnpm exec vitest run --reporter=verbose output and the package gate (re-run 2026-11-21; the suite has 22 tests today). Parsing and coverage are checked against explicit fixtures; nothing here touches the network.

22 tests: numbered parsing with reviewer headers (including R1) and CRLF text, paragraph fallback with warning, empty-text rejection, response extraction, full/partial coverage (missing, short, extra), duplicate numbers and duplicate-export consistency, runtime (valid REP record, file and text paths, traversal/symlink/DOCX/oversize rejection, malformed JSON payloads), tools (schemas, parse→check→export end-to-end, failure branch), plugin contract, package contract.

No benchmark is claimed: correctness here is parsing behavior on explicit formats, checked with fixtures; there is no labelled corpus of real review letters.

Known limitations (v0.1)

  • The parser expects one comment per numbered line/block; a comment spanning several unnumbered paragraphs is split.
  • Per-reviewer numbering is not auto-remapped; the check reports the mismatch instead.
  • Response quality (tone, evidence) is out of scope.
  • English/Chinese markers only; other languages need new patterns.

License

Apache-2.0. No third-party runtime code.

Comments

Loading…

Similar plugins

dsh-doc-review

Review DeepSeek Harness responses with inline annotations, document reading, comment threads, and text revisions, then bring a reading summary back to the main conversation.

UI & ExperienceTerminal & ClientsManifest valid

★ 0

dsh plugin --profile web add dsh-markup

by The-Data-Galaxy

A versioned DPIA workbench for DeepSeek Harness: trace facts, resolve gaps, reassess risks, and produce reviewable reports.

Workflow & AutomationTools & CapabilitiesManifest valid

★ 4

Apache-2.0

Python

Oct 25, 2026

dsh plugin --profile web add dsh-dpia-workbench

by LeslieWylie

A structured multi-panelist review workflow for the DeepSeek Harness: N panelists score in isolated subagents, blind to each other; a chair reconciles disagreement by anchor match then Δ-level adjudic

Workflow & AutomationTools & CapabilitiesManifest valid

★ 3

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add review-workflow

by caihua8669

Document review workbench: select text in a Markdown file, leave comments saved as MRSF sidecar files next to it, and let the agent read them with doc_review_* tools and propose edits you accept or re

Development & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add @caihua/dsh-doc-review

by j7708git

OpenChamber-style handoff review for DeepSeek Harness: linked read-only review sessions, round by round.

Manifest valid

★ 0

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-handoff-review

Turns DSH conversations into reviewable community feedback and, after confirmation, submits it to the official DeepSeek Harness Discussions.

Workflow & AutomationManifest valid

★ 0

dsh plugin --profile web add dsh-feedback-bridge