Back to directory

dsh-openpencil

Curated pickMaintenance: Active

zseven-w/dsh-openpencil

The DeepSeek Harness plugin for OpenPencil — preview, inspect, and edit real .op documents inside a conversation.

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

168

stars

6

forks

TypeScript

Language

MIT

License

2026-08-12

Created

2026-08-29

Last push

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

  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

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

DSH integrationNative runtime

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

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.
2026-08-122026-08-21v0.1.0-rc.2

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.

08Data and sources

  • Author-claimedgithub.come3eb3bfdb526…

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

  • Author-claimedgithub.come3eb3bfdb526…

    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.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.