titanwings/dsh-plannotator
DSH 计划批注插件:选中计划原文、逐条批注,并把结构化反馈送回 Agent。 / A DSH plan-review plugin for anchored annotations and structured Agent feedback.
已收录
7
Workflow
Bundle 已验证
功能介绍
计划批注:选中计划原文逐条批注,结构化反馈送回 Agent。
适合
- 需要在实施前进行精确审查的架构、迁移、API、安全或发布计划。
- 希望把多条评论锚定到具体原文并一次性提交完整反馈的审阅者。
- 希望通过 DSH 现有响应流程和 Session Log 记录计划反馈的团队。
不适合
- 没有活跃 DSH Plan Review 请求的普通对话或实施工作。
- 直接批准或拒绝已经足够精确的简单计划。
- 需要外部审阅服务、遥测或独立持久化后端的流程;插件仅使用 DSH 现有响应通道和浏览器本地草稿存储。
README
📝 dsh-plannotator
Review the plan before your coding agent writes the code.
|
① The plan sounds plausible, but one sentence hides a migration risk? ② You found several independent problems, but the only choices are Approve or Reject? ③ You want every comment to stay attached to the exact text the agent must revise? |
✨ Turn a binary plan gate into a precise, multi-comment review.
Select exact plan text, collect precise comments, and return one structured review—without leaving DeepSeek Harness.
Why it exists · Features · Install · How it works
English · 简体中文


“Change the third step” is vague. A comment attached to the exact sentence preserves the context the agent needs to revise the plan correctly.
Select exact text → comment on several risks → send one review → approve when ready.
🎯 Why dsh-plannotator
Coding agents are good at producing plans, but a binary Approve / Reject decision is too coarse for serious work. Architecture migrations, API changes, security fixes, and rollout plans often need several independent corrections before implementation begins.
dsh-plannotator turns DSH’s native Plan Review into a compact gate plus a
responsive companion panel. On a wide screen, the conversation and review
occupy separate columns, so opening the panel never covers chat text. Collapse
it to a slim edge rail and reopen it without settling the request. Your comments
still travel through DSH’s existing response flow as structured Markdown, so the
agent can revise the proposal in plan mode and ask for review again.
This is an unofficial integration inspired by Plannotator.
🧰 Features
Comment on the exact claim—not “somewhere in the plan”
Drag over text for a precise annotation, or double-click a paragraph, list item, heading, bold phrase, or code fragment. The review keeps the quote and comment together within the current plan revision.

Review the whole plan in one pass
Collect multiple comments across compatibility, security, rollback, and tests; add overall feedback; click an annotation in the review panel to return to its source; then send one coherent review. This keeps the review compact and less ambiguous than a sequence of detached chat messages.

Collapse the review without losing your place
The review panel can shrink to a blue edge rail while the compact composer gate remains visible. Reopen either control to continue with the same comments and overall feedback.

Return actionable feedback to the agent
Send feedback answers the real exit_plan_mode interaction. DSH records the
quoted plan text, each requested change, and the overall feedback in the tool
result and Session Log. The agent remains in plan mode and can immediately
produce a revised proposal.
Protect unfinished reviews
Unsent comments are saved locally in the browser, isolated by Session, pending request, and plan revision. If you try to approve while feedback is still pending, the plugin requires an explicit second confirmation instead of silently discarding your work.

| Capability | What you get |
|---|---|
| Precise annotations | Text selection plus a reliable double-click block fallback |
| Multi-comment review | Anchored comments, source navigation, deletion, and overall feedback |
| Responsive review column | Side-by-side on wide screens, an on-demand drawer on narrower desktops, and a bottom sheet on phones |
| DSH response loop | Approve, request changes, or return to chat through the existing pending interaction |
| Draft recovery | Best-effort local recovery without a plugin server or third-party service |
| Review safeguards | Stale-plan draft rejection and explicit confirmation before discarding feedback |
| UI fit | English and Chinese copy, keyboard shortcuts, responsive layout, and DSH theme tokens |
📦 Install
Install the GitHub bundle into the DSH Web profile, then restart dsh web:
dsh plugin --profile web add github:titanwings/dsh-plannotator#v0.1.3
The repository ships its built Host and Web bundles, so installation runs no
package build script and needs no allowBuilds entry. Pin a reviewed commit SHA
instead of the release tag when you need an exact source revision.
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:titanwings/dsh-plannotator。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。