返回目录

dsh-openpencil

编辑精选维护状态: 活跃

zseven-w/dsh-openpencil

连接 DeepSeek Harness 与 OpenPencil,让智能体创建、编辑、预览和验证可交互的多页面设计画布。

前往 GitHub项目主页
$ dsh plugin --profile web add @zseven-w/dsh-openpencil@latest

168

星标

6

Fork

TypeScript

语言

MIT

许可证

2026-08-12

创建于

2026-08-29

最近推送

把 DeepSeek Harness 接入 OpenPencil 的原生 DSH 插件:智能体通过五个事务化工具创建、编辑并预览真实的 .op 设计画布。通过 `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest` 安装。精确渲染需要 OpenPencil 二进制。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-08-23

许可证

MIT

01它能帮你完成什么?

  • Let the agent create, edit and preview real OpenPencil .op design documents inside a DeepSeek Harness conversation

    Exact multi-frame previews, an interactive read-only canvas, and a managed editor driven by five tools (openpencil_new/create/edit/render/selection) via transactional batch_design programs

    DeepSeek Harness users who design with OpenPencil and want the agent to drive a real, editable canvas instead of returning a generated image

02如何接入 DeepSeek Harness?

前置条件

  • DeepSeek Harness installed (`npm install -g @deepseek-ai/dsh@0.1.1-rc.1`)
  • OpenPencil desktop app or binary discoverable on the system (or the Jian fallback)

安装步骤

  1. 01

    Run `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest`

    $ dsh plugin --profile web add @zseven-w/dsh-openpencil@latest

  2. 02

    Start the web app with `dsh web`; the plugin serves client.js and stages the OpenPencil ESM SDK / WASM / CanvasKit via `pnpm run sync:viewer-assets`

    $ dsh web

验证接入成功

作者未说明

回滚

  • The README documents the dev build/verify flow but no explicit uninstall command. Use the standard `dsh plugin remove` flow.

03DSH 适配与能力边界

DSH 适配原生运行时

Native DSH plugin (@zseven-w/dsh-openpencil): connects DeepSeek Harness to OpenPencil so the agent edits a real, interactive .op design canvas.

  • Exact multi-frame previews

    A .op documentFirst top-level frame as a replay-safe PNG plus a scrollable thumbnail rail with prev/next navigation

    Viewer assets are lazy-loaded only after the user opens the canvas; if absent, PNG preview stays available and no canvas button is advertised
  • Five agent design tools

    Transactional batch_design programsopenpencil_new/create/edit/render/selection let the agent create, modify and read a real canvas atomically through DSH's sandboxed filesystem

    A new document is published only after the whole batch succeeds; the tool never overwrites an existing path and a failed batch leaves no empty file
  • Capability-gated grants

    Image/document grantsSigned, hash-bound capabilities; browser metadata never exposes an arbitrary host path, and signed preview/editor capabilities never enter the canonical tool result or model context

    Editor grants are issued only for recent, trusted live results; durable history can restore read-only previews

04适合谁?何时不该用?

适合

  • DeepSeek Harness users who design with OpenPencil and want the agent to drive a real, editable canvas instead of returning a generated image

不适合

  • Rendering needs the exact OpenPencil binary (discovered via DSH_OPENPENCIL_BINARY, the .app path, or PATH). If it is genuinely unavailable, only a clearly-labelled Jian runtime-preview fallback is produced; exact renderer failures do not silently fall back.

05兼容性、维护与安全提示

  • Rendering needs the exact OpenPencil binary (discovered via DSH_OPENPENCIL_BINARY, the .app path, or PATH). If it is genuinely unavailable, only a clearly-labelled Jian runtime-preview fallback is produced; exact renderer failures do not silently fall back.
  • The lightweight Web SDK canvas is read-only; full editing uses the separate managed editor surface. On DSH 0.1.1-rc.1 the plugin uses the resizable right workbench with a full-screen option.
  • Follow-up edits to an existing canvas require an already-open managed editor, and changes stay unsaved until the user invokes the editor's Save action; the plugin reports a conflict instead of overwriting if the source changes outside the editor.
2026-08-122026-08-21v0.1.0-rc.2

MIT · 由 facts pack 抓取(README 分支 main)

06常见问题

怎么安装 DSH OpenPencil?

执行 `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest`,然后 `dsh web`。插件提供 client.js,并通过 `pnpm run sync:viewer-assets` 暂存 OpenPencil 的 ESM SDK、WASM 与 CanvasKit。

智能体实际能做什么?

五个工具——openpencil_new、openpencil_create、openpencil_edit、openpencil_render、openpencil_selection——通过事务化 batch_design 程序创建、修改并读取真实画布,提供精确多帧预览与只读交互画布。

我的数据安全吗?

图片与文档授权为签名且哈希绑定的能力。浏览器元数据不会暴露任意主机路径,签名后的预览 / 编辑器能力也不会进入规范工具结果或模型上下文。

没装 OpenPencil 会怎样?

精确渲染需要真实的 OpenPencil 二进制(通过 DSH_OPENPENCIL_BINARY、.app 路径或 PATH 发现)。若确实不可用,插件只产生明确标注的 Jian 运行时预览回退;精确渲染失败不会静默回退。

modlens

作者 liustack

The first vision plugin for DeepSeek Harness, and the vision bridge for every text-only coding agent. Paste an image, get structured JSON evidence (OCR, layout, semantics). | 全网最强 DeepSeek Harness 外挂视觉插件,为 DeepSeek、GLM 等纯文本模型外挂视觉能力,粘贴图片即得结构化 JSON 证据(OCR、版面、语义)。

精选设计、媒体与视觉TypeScript
3,917116

agent-vision-toolkit

作者 anionex

为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

设计、媒体与视觉Python
1,18745

dsh-vision-router

作者 ysr666

为纯文本 DeepSeek Harness 智能体提供「视觉」能力,内置免密钥视觉链路与像素级视觉工具,一条命令安装,无需 Python。

精选设计、媒体与视觉JavaScript
1,09046

dsh-vision-toolkit

作者 anionex

[dsh]为纯文本模型设计更强大的视觉工具箱:一行安装使用、粘贴图片直接识别、多张图片问答、截图到前端UI 还原等|DeepSeek Harness-native integration for agent-vision-toolkit: image Q&A, long-screenshot OCR, UI restoration, grounding, pixel diff, Artifacts, and Web UI.

精选设计、媒体与视觉TypeScript
86145

08数据与来源

  • 作者声明github.come3eb3bfdb526…

    The DeepSeek Harness plugin for OpenPencil — preview, inspect, and edit real <code>.op</code> documents inside a convers…

  • 作者声明github.come3eb3bfdb526…

    dsh plugin --profile web add @zseven-w/dsh-openpencil@latest

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-23。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。