dsh-openpencil:DeepSeek Harness 的 OpenPencil 设计画布插件
zseven-w/dsh-openpencil
DSH plugin 在对话中预览、检查并编辑真实 .op 设计文档,提供交互式画布与托管编辑器。
让 DeepSeek Harness 的 Agent 在对话中直接预览、检查和编辑真实的 .op 设计文档,而不是只返回图片。
dsh plugin --profile web add github:zseven-w/dsh-openpencil- 分类
- 工具与能力
- 平台
- DSH-Plugin
- 作者
- zseven-w
- 分发方式
- 插件
dsh-openpencil 核心特性
dsh-openpencil 仓库信息

dsh-openpencil 仓库简介
dsh-openpencil 是 DeepSeek Harness(DSH)的 OpenPencil 插件(DSH plugin),它把 DSH 与 OpenPencil 连接起来,让 Agent 在对话中直接驱动真实、可编辑、可交互的设计画布,而不是只返回一张生成图。它解决的是设计文档预览与编辑的痛点:以往 Agent 只能输出图片,无法对真实文档进行查看和修改。该插件提供精确的多帧预览、交互式画布、受管编辑器以及 Agent 原生设计工具,由 ZSeven-W 维护,采用 MIT 协议,最近更新于 2026-08。
dsh-openpencil 这个 DSH plugin 支持哪些核心特性?
dsh-openpencil 提供五大核心能力:精确多帧预览(Exact Multi-Frame Previews)通过无头导出器渲染设计保真的预览,包括首帧大图、横向缩略图栏、点击选择和前后导航;交互式画布(Interactive Canvas)懒加载只读的 OpenPencil Web SDK,支持平移、缩放和适配,可在对话中检查任意页面或嵌套节点;受管编辑器(Managed Editor)在 editable: true 时打开可调整大小的右侧工作台,提供选择、图层、属性、绘图工具、撤销/重做和显式保存;Agent 原生设计工具(Agent-Native Design Tools)包含五个工具:openpencil_new、openpencil_create、openpencil_edit、openpencil_render、openpencil_selection,通过事务性 batch_design 程序创建、修改和读取真实画布;能力门控授权(Capability-Gated Grants)确保安全。
dsh-openpencil 怎么安装?
安装 dsh-openpencil 只需一条命令,在 DSH 环境中执行:
dsh plugin --profile web add github:zseven-w/dsh-openpencil
安装后,插件会自动注册相关工具和界面,无需额外配置即可在对话中使用。
dsh-openpencil 兼容哪些 DeepSeek Harness 版本和平台?
该插件当前版本为 0.1.0-rc.1,已在 DSH 0.1.0-rc.6 上测试通过。它依赖多个 DSH 官方包,如 @deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-host-webserver 等,确保与 DSH 生态深度集成。插件以 TypeScript 编写,支持通过 npm 安装(@zseven-w/dsh-openpencil),适用于 DSH 的 web 配置文件。
dsh-openpencil 的许可证和社区支持如何?
dsh-openpencil 采用 MIT 许可证,允许自由使用和修改。项目由 ZSeven-W 维护,官网为 https://op.zseven.tech,目前拥有 93 个 Star 和 3 个 Fork,社区活跃。如果你在使用中遇到问题,可以查看 GitHub 仓库的 Issues 或加入 Discord 社区获取帮助。