DeepSeek Harness plugin

dsh-decision-split

决策分屏:agent 输出含「决策摘要」段的方案时,主窗口显示摘要与决策编辑框,右侧详情栏独立展示完整 markdown,决策一键发回 agent。

Jump to install

Source facts

Repository
yuanbaoerer/dsh-decision-split
Latest update
Aug 22, 2026
Category
Workflow & Automation
GitHub stars
2
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/yuanbaoerer/dsh-decision-split
Plugin: dsh-decision-split
Author: yuanbaoerer

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-decision-split

决策分屏插件 —— DeepSeek Harness Web UI 的决策工作台。

解决什么痛点:agent 输出长方案时,单一的滚动窗口让「通读全文」和「逐条拍板」互相干扰——看完后面忘了前面,对照多个决策点要反复上下滚动,决策只能靠脑子硬记。本插件把两者拆开:右侧详情栏独立滚动展示完整方案,主窗口固定显示决策摘要与决策输入框,边看全文边写决策、一键回传 agent。

当 agent 输出包含「决策摘要」段(任意标题层级,如 ## 决策摘要### 决策要点)的方案时:

  • 主窗口:消息下方自动出现「决策摘要」卡片 —— 摘要内容 + 决策输入框 + 「侧栏查看全文」「发送决策」两个按钮;
  • 右侧详情栏:独立滚动展示该方案的完整 markdown,侧栏标题自动取方案首个标题;
  • 发送决策:决策以 【决策】… 前缀作为一条消息回传给 agent,让它基于你的决策继续推进。

视觉完全对齐 DSH Web UI 原生设计变量(--dsw-* tokens、MarkdownText 字体规范、原生按钮样式)。

效果图

!dsh-decision-split 效果图

主窗口的「决策摘要」卡片(摘要 + 决策输入框 + 操作按钮),以及右侧详情栏的完整方案展示。

安装

从 npm 安装(推荐):

dsh plugin --profile web add dsh-decision-split

或从 GitHub release 安装(资产名中的版本号跟随最新 release):

dsh plugin --profile web add https://github.com/yuanbaoerer/dsh-decision-split/releases/latest/download/dsh-decision-split-0.1.6.tgz

安装后重启 dsh web 生效。

使用方式

装上即用,无需额外配置:

  • 自动触发(host 注入提示词):插件会在系统提示中告知 agent——当回复包含需要你拍板的决策点、或给出多个方案让你选择时,自动在回复末尾追加 ## 决策摘要 段。agent 据此按需输出决策段,决策卡随之出现。
  • 长方案兜底(客户端自动识别):即使 agent 没写决策标题,只要回复含 markdown 表格、或较长且含多个标题(≥800 字且 ≥2 个标题),决策分屏卡片也会自动出现——摘要区显示方案目录、右侧栏展示全文。
  • 标题触发:回复中出现以下任一标题(任意层级 #######、忽略大小写、允许结尾冒号)即触发:

决策摘要 · 决策要点 · 待决策清单 · 决策清单 · 决策事项 · 方案对比 · 方案选择 · 需要决策 · 待决策 · 待确认 · 待拍板 · 请你决定 · 请拍板 · 决策项 · 决策点 · Decision Summary · Decision Points · Decision Required · Decision Needed · Please Decide · Please Choose · Need Your Decision · Options · Choices

> 也可在对话里给 agent 补一句「输出方案时若需我拍板,请在最后用 ## 决策摘要 段列出决策点」——手动约定与自动注入效果相同,属可选的加强。

License

MIT

---

> 开发与发布说明见 [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md)。