dsh-gui-handoff

DSH PLUGIN文档与办公

仓库 xxszyh/dsh-gui-handoff · npm dsh-gui-handoff

文档与办公 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

为 DeepSeek Harness 提供 gui-handoff 技能:让 Agent 亲自驱动一次图形界面并截图验证,把命令行验证过的操作整理成用户可复现的图文教程。

验证等级 L5 L5 · 运行验证通过
GitHub 星标 1 复刻 0 · 未关闭 issue 1
最近更新 2026-10-08 创建于 2026-10-06
README 8.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:xxszyh/dsh-gui-handoff
兼容 DSH 版本0.2.0-rc.2版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名dsh-gui-handoff可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-gui-handoff:把命令行验证过的操作交接成 DeepSeek Harness 的 GUI 图文教程

  • 驱动 GUI 并真实截图
  • 五阶段交接流程
  • 以产物与退出码为准
  • 30+ 条实战硬约束
  • 注册最低优先级技能

适用场景

终端命令内容创作

上游标签

computer-usedeepseek-harnessdshdsh-plugingui-automationskill

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-09): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

仓库档案

文档与办公
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方xxszyh仓库 dsh-gui-handoff · 默认分支 main
分类文档与办公creator
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言Python仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 0 / 1收录时的数值,非实时
创建 / 更新2026-10-06 · 2026-10-08最后推送 2026-10-08
本站收录2026-10-06首次进入本站目录的时间

README 全文

8.0 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-gui-handoff

A DeepSeek Harness skill that hands a command-line-verified operation over to your GUI.

把命令行验证过的操作,交接给你的图形界面。

English · 中文


English

The problem

There is a gap nobody names: an agent can do something perfectly in a terminal,
and the user still cannot reproduce it by hand — because nobody ever walked the
GUI path and nobody wrote down what to click.

Telling the user "just run this script" is not a fix. It leaves them with a black
box they cannot learn from, that breaks on another machine, and that does not
cover the GUI operations which have no config file at all.

What this skill does

Two paths, path B by default:

Path B (default) Path A (fallback)
Approach The agent actually drives the GUI once Freeze the steps into config files
Output A tutorial with real screenshots A config file + one keystroke
User learns it Yes No
Survives a new machine Yes No

Path B runs a five-stage chain — drive → observe → capture → reconstruct →
annotate
— and insists on two things that are easy to skip:

  • Ground truth, not vibes. Whether a build succeeded is decided by the
    artifact's existence and timestamp. Whether the program ran is decided by its
    output or the debugger's exit code. Screenshots are for the human, never the
    verdict.
  • Verify the user can reproduce it. "The machine ran it" is not "the user ran
    it". The tutorial must list its own preconditions, the user must walk it, and
    the scene must be reset afterwards so the user can tell their own success from
    pre-existing state.

The part that is actually valuable

skills/gui-handoff/SKILL.md carries 30+ hard constraints, nearly all of them
paid for with real debugging time:

  • Chinese/UTF-8 path failures in linkers and debuggers — and the trap that
    a command line can succeed while the GUI fails, because the shell silently
    re-encodes arguments into the encoding the tool happened to want
  • Chinese IME corrupting injected keystrokes (by → 不要)
  • Why matching a window by title substring is dangerous (three separate
    incidents), and what to do instead
  • Why Chromium/Electron needs scancodes, and why focus can silently stay on
    another window
  • Why reading fine text from a screenshot needs crop-and-upscale first
  • How a hand-written PNG encoder produced three horizontally-squashed copies
    of every screenshot — and why that made a vision model look like a liar when it
    was telling the truth

Plus seven working disciplines, every one of them written down after being
violated. The most important:

> Check the criterion itself before accepting a verification.
> A tutorial once said "if you see the artifact, it worked". The user followed it,
> reported success, and the agent declared the acceptance test passed — but that
> criterion only covered building, not running. When the criterion is wrong,
> passing is worthless.

Install

dsh plugin --profile  add dsh-gui-handoff

Or from a checkout:

dsh plugin --profile  add /path/to/dsh-gui-handoff

The plugin registers one skill (gui-handoff, rank 600 — lowest priority, so a
locally edited copy in your project or user skills directory always wins).

What ships

lib/index.js                     skill provider (no runtime dependencies)
cordis.patch.yml                 bundle manifest
skills/gui-handoff/SKILL.md      the skill itself
tools/gui-control/server.py      reference GUI-control MCP server (Windows)
tools/notify-takeover.ps1        countdown notice shown before taking the mouse

The tools/ directory is a reference implementation for Windows, not a
requirement. The portable part is the workflow and the constraints; Linux and
macOS need their own equivalents.

Requirements

  • DeepSeek Harness >= 0.1.5-rc.1
  • Path B's driver stage needs some way to drive the target OS's GUI. This repo
    ships one for Windows; without one, the skill degrades to B2–B4
    (user drives while the agent observes) rather than failing.

License

MIT.


中文

它解决什么

有一个没人命名的落差:agent 能在终端里把事情做对,用户却无法用手复现 ——
因为没人走过图形界面那条路,也没人写下来该点哪里。

告诉用户"你跑一下这个脚本"不是解法。它留下的是一个学不会的黑盒、
换台机器就废,而且根本覆盖不了那些没有配置文件的图形界面操作。

这个 skill 做什么

两条路,默认走 B:

路径 B(默认) 路径 A(降级)
做法 agent 真的操作 GUI 走一遍 把步骤固化成配置文件
产出 带真截图的教程 配置文件 + 一键操作
用户学到 是 否
换机器可用 是 否

路径 B 跑一条五环链 —— 驱动 → 观察 → 记录 → 还原 → 标注 —— 并坚持两件
最容易被跳过的事:

  • 用地面真值,不用感觉。 构建是否成功,看产物是否存在 + 时间戳;
    程序是否真的运行了,看程序输出或调试器退出码。截图是给人看的,
    永远不作判据。
  • 验证用户能复现。「机器跑通」不等于「用户跑通」。教程必须列出自己的前提,
    用户必须实走一遍,跑完还要重置现场 —— 否则用户分不清产物是自己跑出来的
    还是早就有的。

真正值钱的部分

skills/gui-handoff/SKILL.md 里是 30 多条硬约束,几乎每一条都是拿真实的
调试时间换来的:

  • 链接器与调试器的中文/UTF-8 路径失败 —— 以及那个陷阱:
    命令行能过、图形界面却挂,因为 shell 会悄悄把参数重新编码成工具恰好想要的编码
  • 中文输入法污染注入的按键(by → 不要)
  • 为什么按标题子串匹配窗口极其危险(三次独立事故),以及该怎么做
  • 为什么 Chromium/Electron 需要扫描码,为什么焦点可能悄悄留在另一个窗口
  • 为什么从截图里读小字必须先裁剪放大
  • 一个手写 PNG 编码器如何把每张截图变成三份横向压扁的副本 ——
    以及它如何让一个视觉模型背了"胡说"的黑锅,而它说的全是真的

外加七条工作纪律,每一条都是先违反、才写下的。最重要的那条:

> 验收之前,先检查判据本身。
> 有一份教程写着「看到产物就是成功」。用户照着做了、报告成功,agent 也据此
> 宣布验收通过 —— 但那个判据只覆盖构建,不覆盖运行。
> 判据错了,通过就是假的。

安装

dsh plugin --profile <你的 profile> add dsh-gui-handoff

或从本地目录安装:

dsh plugin --profile <你的 profile> add /path/to/dsh-gui-handoff

插件注册一个 skill(gui-handoff,rank 600 —— 最低优先级,因此你在项目或用户
技能目录里本地改过的同名副本总是优先)。

目录

lib/index.js                     skill provider(无运行时依赖)
cordis.patch.yml                 bundle 清单
skills/gui-handoff/SKILL.md      skill 本体
tools/gui-control/server.py      参考用的 GUI 控制 MCP server(Windows)
tools/notify-takeover.ps1        抢鼠标前的倒计时提示

tools/ 是面向 Windows 的参考实现,不是必需项。可移植的是流程与约束;
Linux / macOS 需要各自的对等物。

依赖

  • DeepSeek Harness >= 0.1.5-rc.1
  • 路径 B 的驱动环节需要某种驱动目标系统图形界面的手段。本仓库提供一个
    Windows 实现;没有它时,skill 会降级到 B2–B4(用户操作、agent 观察),
    而不是直接失败。

许可

MIT。

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-gui-handoff 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:xxszyh/dsh-gui-handoff` 即可。对应的 npm 包名是 `dsh-gui-handoff`。

dsh-gui-handoff 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-gui-handoff 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-gui-handoff 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.0-rc.2。

dsh-gui-handoff 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-gui-handoff 有哪些功能?

驱动 GUI 并真实截图、五阶段交接流程、以产物与退出码为准、30+ 条实战硬约束、注册最低优先级技能。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

文档与办公
按星标排序,可作替代方案

last30days-skill-cn

last30days-skill-cn

last30days-cn 是一个 AI Agent 技能(Skill),能够自动搜索中国互联网 8 大主流平台最近 30 天的内容,综合分

L4 · 沙盒安装通过 1,880 星

openwrite

Openwrite

为 DeepSeek Harness 提供长篇小说创作能力:统一创作 Agent、90 个小说工具与原生工作台,覆盖规划、写章、审稿与导出。

L5 · 运行验证通过 811 星

dsh-desktop

dsh-desktop

L4 · 沙盒安装通过 592 星

dsh-oil-creator

dsh-oil-creator

DSH plugin 本地内容工作台,将一条视频的选题、脚本、字幕、封面与发布状态统一到一个文件夹,AI 辅助推进创作全流程。

L4 · 沙盒安装通过 198 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-09。