把 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)
安裝步驟
- 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
驗證整合成功
作者未說明
復原
- The README documents the dev build/verify flow but no explicit uninstall command. Use the standard `dsh plugin remove` flow.
03DSH 整合程度與能力邊界
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
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.
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 執行時預覽回退;精確渲染失敗不會靜默回退。
07相關的 DSH 工作流程
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、版面、語義)。
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
dsh-vision-router
作者 ysr666
為純文本 DeepSeek Harness 智慧體提供「視覺」能力,內建免金鑰視覺鏈路與畫素級視覺工具,一條命令安裝,無需 Python。
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.
08資料與來源
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
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-23。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
