dsh-visualize: An Interactive Visualization Card Renderer for DeepSeek Harness
nagi-ovo/dsh-visualize
dsh-visualize renders interactive visualization cards inside DSH conversations via the visualize tool, supporting simulators, charts, and UI mockups with theme integration and sandboxed security.
dsh-visualize is a DSH plugin for DeepSeek Harness that lets the model generate interactive visualization cards directly in conversations, solving the pain point of plain text output for complex data. It supports simulators, charts, comparison panels, and UI mockups, with cards automatically adapting to DSH's light/dark theme and whale-blue color scheme, running in a secure sandbox. During session replay, cards are restored from persisted tool results, not relying on original files. Maintained by Nagi-ovo under the BSD-3-Clause license, it suits developers who need to present data intuitively in DSH conversations.
How to Install
dsh plugin --profile web add github:nagi-ovo/dsh-visualizeReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- UI & Experience
- Platform
- DSH Plugin
- Author
- nagi-ovo
- Distribution
- Plugin
dsh-visualize Key Features
dsh-visualize Repo Summary
What Does It Do?
dsh-visualize is a DSH plugin for DeepSeek Harness that renders interactive visualization cards inside DSH conversations. It solves the problem of DSH only outputting plain text, letting the model call a visualize tool to display simulators, charts, comparison panels, or UI mockups directly in the Web UI. Maintained by Nagi-ovo under the BSD-3-Clause license, it was last updated in August 2026.
Core Features
- Interactive card rendering: after the model calls visualize, an interactive card appears in the conversation, supporting simulators, charts, and more.
- Theme adaptation: cards automatically follow DSH's light/dark theme and whale-blue color scheme.
- Session replay recovery: pages restore cards from persisted tool results, not relying on original fragment files.
- Secure sandbox: cards run in a sandboxed iframe; CSP blocks network requests and form submissions, only allowing static resources from a fixed CDN.
- Adjustable size limit: the default per-fragment limit is 1,000,000 bytes, configurable via maxFragmentBytes.
How to Use This Plugin?
After enabling it in DSH, just tell the model what you want to see, e.g., "make a sorting algorithm visualization with adjustable parameters." The model writes an HTML fragment and calls visualize(path, title?, mode?) to place it in the conversation; for side-by-side comparisons, use mode: "wide". Currently, interactive cards render only in the Web UI; TUI and headless clients show plain tool results.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: nagi-ovo/dsh-visualize. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
