DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-plugin-canvas-pro

l

dsh-plugin-canvas-pro

Manifest valid

Adds a Canvas drawer and eight model tools to create, patch, version, and export HTML, Markdown, Mermaid, SVG, and React artifacts.

UI (client)hasBundlePatch

dsh-plugin-canvas-pro

Canvas-Pro for DeepSeek Harness: a Web drawer plus eight model tools for creating, patching, versioning, and exporting canvas artifacts.

What it does

After install, the Web session header gets a Canvas button. The agent can create HTML, Markdown, Mermaid, SVG, or React artifacts; the drawer previews them in a sandboxed iframe.

Model tools:

ToolPurpose
create_canvas_artifactCreate an artifact
update_canvas_artifactPatch by selection, line range, or overwrite
get_canvas_selectionRead the latest preview selection
get_canvas_artifactRead current content
list_canvas_versionsList snapshots
revert_canvas_artifactRestore a previous snapshot as a new version
diff_canvas_artifactUnified or split diff between versions
export_canvas_artifactExport markdown, html, svg, png data URL, or json

Selecting text in the preview opens Explain / Refactor / Fix / custom prompt actions and submits them into the current chat.

Compared with open-source DSH plugins

Sources are the plugins' own listings on awesome-dsh-plugin. This table only covers claims that those listings make and that this repo implements.

dsh-live-canvasdsh-canvas-previewdsh-generative-uiCanvas-Pro
What it isLive sandbox for HTML / React / Vue / SVG / Mermaid / MarkdownConversation tab that previews workspace HTMLStreaming TSX UI inline or in a side canvasArtifact workspace: drawer + eight model tools
Agent toolsPreview-orientedcanvas_preview-style HTML previewAgent writes TSX; cards can run bash / curl / model / filescreate / update / get / get_selection / list_versions / revert / diff / export
Partial editNot the product focusTypically whole HTMLNew TSX framesreplace_selection, replace_range, full_overwrite
Selection → next turnDOM click inspectorNot listedClick on a card drives the next chat turnExplain / Refactor / Fix / custom prompt from a text selection
VersionsSide-by-side visual diffNot listedState kept across stream framesSnapshot history, revert as a new version, unified and split line diff
ExportVite ZIPLocal PNG / JPG / SVGNot listedMarkdown, standalone HTML, SVG, PNG rasterization (SVG fallback), JSON archive
PersistenceSession / HMRWorkspace HTML filesIn-memory UI state$DSH_HOME/storages/canvas-pro/artifacts.json
DrawerPreview surfaceConversation tabInline + side canvasResizable overlay; chat turns do not force it open

Same-name plugins that are not competitors here:

Where the others are stronger:

  • live-canvas: real React / Vue / Mermaid runtimes, SSE hot reload, device matrix, Vite ZIP.
  • canvas-preview: first-class PNG / JPG export from workspace HTML.
  • generative-ui: streaming TSX compile, no extra tool schema, clicks inside a card start the next turn.

Where Canvas-Pro is stronger for DSH artifact work:

  1. Patch instead of regenerate. The agent can replace a selected span or a line range. Preview plugins usually take a new full document.
  2. Text selection is a first-class agent input. The drawer posts the span into the current composer; the host can also read it via get_canvas_selection.
  3. Version time machine. Each patch is a snapshot; the agent can list, diff, and revert without rewriting the file from scratch.
  4. Export is a model tool, not only a UI button: markdown / html / svg / png / json from export_canvas_artifact.
  5. Local artifact store survives Web restarts under $DSH_HOME.

Not claimed: richer live React/Mermaid than live-canvas; streaming TSX than generative-ui; raster PNG/JPG reliability than canvas-preview.

Install

dsh plugin --profile web add github:lokih1028/dsh-plugin-canvas-pro

Restart the Web profile, then refresh the GUI.

Config

- id: canvas-pro
  name: dsh-plugin-canvas-pro
  config:
    maxHistoryPerArtifact: 50
    enableReactPreview: true

Artifacts are stored under $DSH_HOME/storages/canvas-pro/artifacts.json when DSH_HOME is set.

Limits

  • React artifacts currently show source in the preview sandbox; they are not executed as a live React tree.
  • Mermaid artifacts show source unless you convert them to HTML.
  • PNG export tries a browser rasterization of the SVG preview; if that fails it falls back to SVG.
  • Selection line numbers come from the rendered preview, not always from source lines. Prefer replace_selection over replace_range when the two disagree.

License

MIT

Comments

Loading…

Similar plugins

dsh-canvas-preview

by jiuyuechuwuhao

🎨 DeepSeek Harness 的画板预览插件 — AI 生成的网页产物实时预览 · PNG/JPG/SVG 一键导出(对标 Gemini Canvas 体验)

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 4

↓ 205/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-canvas-preview

by zoahdev

Render Markdown + JSON into self-contained HTML documents, cards, dashboards, and galleries (CLI + artifact_render tool).

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

↓ 266/wk

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-artifacts

by zerob13

DeepSeek Harness Web plugin powered by markstream-react for resilient streaming Markdown, Mermaid diagrams, KaTeX math, and safe renderer fallback.

UI & ExperienceManifest valid

★ 22

↓ 75/wk

MIT

TypeScript

Aug 17, 2026

dsh plugin --profile web add dsh-better-markdown

by Tabbyaccessorial446

Render HTML design prototypes directly in DeepSeek Harness with a canvas tab for visual review, annotation, and sandboxed previews.

Manifest valid

★ 0

MIT

JavaScript

Oct 12, 2026

dsh plugin --profile web add @deepseek-ai/dsh-plugin-canvas

by hanzhangzzz

Turn DeepSeek Harness articles into editable Excalidraw canvases — live diagrams, not disposable Mermaid output.

Tools & CapabilitiesManifest valid

★ 19

↓ 394/wk

MIT

TypeScript

Sep 28, 2026

dsh plugin --profile web add dsh-diagram

by aa2246740

DeepSeek Harness plugin: local-first visual React/Tailwind designer with a jailed tool surface.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add dsh-opendesigner