mindcarver/dsh-codex-canvas

DeepSeek Harness plugin: image_gen tool backed by Codex CLI (gpt-image-2)

Renders Codex canvas artifacts inside the DeepSeek Harness Web UI. A host (node) half plus a browser half pair with the codex CLI (installed separately, npm i -g @openai/codex) so the agent can produce visual canvas output that appears as a card in the session; the README's troubleshooting section covers cases where the browser half did not load (text-only card) and where codex is missing or its install is broken (failed to spawn code-mode-host).

Coding & Development ★ 0 updated 2026-08-15 ✅ runtime-tested
View on GitHub ↗

Install

npx @deepseek-ai/dsh plugin --profile web add github:mindcarver/dsh-codex-canvas#<sha>

README install block quoted verbatim — replace <sha> with a pinned commit. The README notes git installs run the prepare build script, so pnpm ≥10 asks you to authorise it (copy the package key it prints into the profile's pnpm-workspace.yaml, then re-run the add), and that the alternative is the prebuilt tarball npx @deepseek-ai/dsh plugin --profile web add ./dsh-codex-canvas-0.1.0.tgz. The plugin's codex dependency is separate: npm i -g @openai/codex. Registry check 2026-09-13: dsh-codex-canvas returns 404, so the GitHub or tarball form is the documented install.

Compatibility

Installs into a DSH Web profile. The README notes the browser half needs the profile composition to include the web layer and lib/client.js to ship with the installed package (a git install requires the build to succeed). Its types/.d.ts hold compile-time shims for @deepseek-ai/ packages whose published tarballs pull unpublished dependency closures; the node half keeps every @deepseek-ai/* import external so the profile parent-walk resolves them to the running dsh installation.

Details

Recent updates

The README documents the install forms, the build-authorisation flow and a troubleshooting table rather than a release-by-release changelog; the tarball is at 0.1.0. Verify the current commit before pinning.

FAQ

How do I install dsh-codex-canvas?
The README's command is npx @deepseek-ai/dsh plugin --profile web add github:mindcarver/dsh-codex-canvas#<sha>; pin a commit, or install the prebuilt dsh-codex-canvas-0.1.0.tgz to skip the build authorisation.
Why does pnpm ask to authorise a build?
The README says git installs run the package's prepare build script, which pnpm ≥10 requires you to allow explicitly — it prints the package key to add to the profile's pnpm-workspace.yaml.
The card shows text but no image — why?
The README's troubleshooting says the browser half did not load: check the profile includes the web layer, that lib/client.js shipped with the installed package, and that the call is new (old calls carry no artifact descriptor).

Alternatives

liuup/dsh-latex-tools · Jinsong-Zhou/dsh-html-canvas · Devin-AXIS/deepseek-design#deepseek-idesign

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins