A native DSH plugin linking DeepSeek Harness to OpenPencil: the agent creates, edits and previews real .op design canvases via five transactional tools. Install via `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest`. Needs the OpenPencil binary for exact rendering.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-08-23
License
MIT
01What can it help you accomplish?
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
02How to install into DeepSeek Harness
Prerequisites
- 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)
Installation steps
- 01
Run `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest`
$ dsh plugin --profile web add @zseven-w/dsh-openpencil@latest
- 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
Verify the integration
Not specified by the author
Rollback
- The README documents the dev build/verify flow but no explicit uninstall command. Use the standard `dsh plugin remove` flow.
03DSH integration and capability boundaries
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 document→First 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 advertisedFive agent design tools
Transactional batch_design programs→openpencil_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 fileCapability-gated grants
Image/document grants→Signed, 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
04Who is it for? When not to use it?
Good for
- DeepSeek Harness users who design with OpenPencil and want the agent to drive a real, editable canvas instead of returning a generated image
Not for
- 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.
05Compatibility, maintenance and safety notes
- 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.
MIT · 由 facts pack 抓取(README 分支 main)
06Frequently asked questions
How do I install DSH OpenPencil?
Run `dsh plugin --profile web add @zseven-w/dsh-openpencil@latest`, then `dsh web`. The plugin serves client.js and stages the OpenPencil ESM SDK, WASM and CanvasKit via `pnpm run sync:viewer-assets`.
What can the agent actually do?
Five tools — openpencil_new, openpencil_create, openpencil_edit, openpencil_render, openpencil_selection — let it create, modify and read a real canvas through transactional batch_design programs, with exact multi-frame previews and a read-only interactive canvas.
Is my data safe?
Image and document grants are signed, 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.
What if OpenPencil isn't installed?
Rendering needs the exact OpenPencil binary (found via DSH_OPENPENCIL_BINARY, the .app path, or PATH). If it is genuinely unavailable, the plugin produces only a clearly-labelled Jian runtime-preview fallback; exact renderer failures do not silently fall back.
07Related DSH workflows
dsh-image-gen
by shanliuling
Adds in-chat multimodal image generation via a `generate_image` tool with multi-provider support (Gemini/OpenAI/Seedream), interactive preview, copy/download, and session-attached results.
dsh-vision-router
by ysr666
Eyes for text-only DeepSeek Harness agents: built-in free vision chain (no key) + pixel-level vision tools (Q&A, grounding, crop, pixel diff, colors, OCR, SVG trace, cutout, screenshots). One-command install, no Python, image turns work like ordinary tool-calling turns.
dsh-vision-toolkit
by anionex
为纯文本 DSH Agent 提供 10 个结构化视觉工具:意图感知图片问答、长截图 OCR、原始像素 grounding、UI 还原、像素 diff 等
dsh-see-now
by saos-3624
Captures screen, OBS, or webcam frames, filters by visual change, packs them into image sheets, and delivers them to DSH sessions.
08Data and sources
The DeepSeek Harness plugin for OpenPencil — preview, inspect, and edit real <code>.op</code> documents inside a convers…
dsh plugin --profile web add @zseven-w/dsh-openpencil@latest
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-08-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
