DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Drawio — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

@zhang-guo-wen/dsh-drawio

Drawio

Standalone DeepSeek Harness plugin: preview .drawio (mxGraph XML) diagrams in the Web Sidebar

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:zhang-guo-wen/dsh-drawio#e5d8b820a0172747928d40a800bb3ba73e0e42df
READMECompatibilityVersions

Compatibility and provenance

Drawio is published as @zhang-guo-wen/dsh-drawio and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/14/2026

Versions

0.1.0stable
9/14/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
Apache-2.0
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/14/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

dsh-drawio

English | 中文

A standalone plugin for DeepSeek Harness (DSH) that previews .drawio files as diagrams in the Web Sidebar.

Open a .drawio file from the Sidebar's file tree and it renders as the diagram you drew, instead of opening as mxGraph XML source.

A .drawio file rendered as a diagram

What it does

  • Read-only and inert. The file is decoded and laid out offscreen; the pane receives an SVG data: URL and never an engine instance or a live DOM. The markup never enters the application DOM, so a diagram's content cannot script the page.
  • Both draw.io save formats. Plain mxGraph XML, and draw.io's compressed body (base64 + raw DEFLATE + percent escape). A multi-page <mxfile> renders its first page.
  • No file leaves your machine. Rendering is fully local. Unlike a hosted viewer, nothing is uploaded anywhere.
  • draw.io's styling, not the engine's. The renderer applies a stylesheet matching draw.io's defaults, so a cell whose style string omits a color does not inherit the storage engine's own palette. A cell's own style still wins.

Install

The built lib/ is committed, so the repository installs and runs directly — no build step on your machine.

# over HTTPS
npx @deepseek-ai/dsh plugin --profile web add git+https://github.com/zhang-guo-wen/dsh-drawio.git

# or over SSH
npx @deepseek-ai/dsh plugin --profile web add git+ssh://git@github.com/zhang-guo-wen/dsh-drawio.git

To develop against a local checkout, install the directory. pnpm creates a symlink, so a rebuilt lib/ reaches the host on the next start with no reinstall:

npx @deepseek-ai/dsh plugin --profile web add /absolute/path/to/dsh-drawio

Then restart the host:

npx @deepseek-ai/dsh web

You do not edit the profile manifest by hand: dsh plugin add adds both the dependency and the bundle entry. Remove it, dependency and layer together, with dsh plugin --profile web remove @zhang-guo-wen/dsh-drawio.

The profile must already compose @deepseek-ai/dsh-client-ui-sidebar-documentpreview, which owns the registry this plugin contributes to. Every shipped web profile does.

Known limitations

Edge routing and edge-label placement do not match draw.io. A .drawio file stores an edge's endpoints and its edgeStyle name, but not the path between them:

<mxCell id="e4" style="edgeStyle=orthogonalEdgeStyle;…" edge="1" source="n4" target="n5">
  <mxGeometry relative="1" as="geometry" />   <!-- no points, no label offset -->
</mxCell>

Both viewers therefore compute the bend points and the label position at render time, from the same inputs, using different code. draw.io's editor adds its own routing and label-avoidance behaviour on top of the shared engine, and this plugin's engine does not carry that code, so the two can differ: an edge may take a different route, and a label may land on a node label when the gap between two nodes is narrower than the label.

The second is geometric, not cosmetic: when two nodes are 50px apart and the label is 66px wide, it cannot be placed outside both boxes without moving a node. Giving the label an opaque background only paints a box over the text it covers, which reads worse, so the renderer does not do it.

Workaround. In draw.io, drag the edge label where you want it: the editor then writes an explicit <mxPoint as="offset"> into the file, and every viewer — including this one — honours it. Widening the gap between the two nodes works equally well. Both fix the diagram at its source rather than in one viewer.

Shapes outside the engine's set are drawn as rectangles. draw.io ships several hundred stencil shapes; the bundled engine carries its own smaller set, so a shape it does not know is rendered as a plain rectangle rather than omitted.

Development

The repository root is the plugin package: its root package.json is @zhang-guo-wen/dsh-drawio. npm install <git-url> and dsh plugin add both package the repository root, so a plugin under packages/* would install as the wrong thing.

npm install
npm run build      # host half via tsdown; browser half via build-client.mjs
npm run typecheck  # tsc against the PUBLISHED @deepseek-ai/* packages
npm test           # loads the built bundle the way the browser does

lib/ is committed — that is what lets someone install this repository with no build on their side. Re-run npm run build and commit lib/ whenever you change src/.

Why the browser half has its own bundler

The harness monorepo builds its client bundles with a script it does not publish, so this repository bundles the browser half itself. Two details are load-bearing:

  1. platform: 'browser' is set explicitly. Under the bundler's node platform every dependency resolves through its node export condition, so a library whose exports lists a platform condition before import gets its server entry inlined — and those entries can call createRequire('module') at module scope, producing a require("module") the browser module table cannot answer.
  2. Only react and the DSH client packages stay external. Implementation libraries are inlined, so the deployed artifact has no install-time dependency.

npm test verifies both: it loads the built bundle with a module table containing nothing but those externals, and fails if the bundle asks for anything else.

License

Apache License 2.0 — see LICENSE. Bundled third-party code is attributed in NOTICE. "draw.io" is a trademark of its owner; this package is not affiliated with or endorsed by draw.io.