sumarilkkxx/dsh-artifact 预览 preview

sumarilkkxx/dsh-artifact

Plugin插件 Native原生 ⭐ 20 MIT Data & Analysis数据与分析

DeepSeek Harness 的内联 ECharts 渲染插件

Project Overview项目介绍

dsh-artifact is a native visualization renderer plugin built exclusively for DeepSeek Harness. It takes natural language requests from users and converts them directly into interactive ECharts and Mermaid visualizations that render within the DSH conversation interface. To install the plugin, you first need to install the DSH CLI globally via npm, then initialize your DSH web profile once by running dsh web. After stopping the initial DSH process, you can install the plugin directly from the GitHub repository using the dsh plugin add command, then restart dsh web and hard-refresh your browser to get started.

This plugin is designed for users who want to generate data visualizations and diagrams without leaving their DeepSeek Harness conversation workflow. Users simply describe what kind of chart or diagram they need, along with any style or data requirements in plain natural language, and the plugin handles all the processing and rendering automatically. The resulting visualization is an interactive canvas that supports zooming, panning, exporting as PNG or SVG, and users can tweak the appearance, theme, and size directly within the canvas. This all-in-workflow design means you never have to switch to external tools to create or edit your visualizations.

dsh-artifact is released under the permissive open-source MIT license. All rendering engine assets are bundled locally with the plugin, so there is no dependency on external content delivery networks. To maintain security, the plugin only accepts valid JSON declarative payloads, rejects JavaScript functions, and any custom HTML runs in a CSP-restricted sandbox iframe that blocks external network requests. You must have pnpm installed and available on your system PATH for the DSH plugin installation command to work correctly.

dsh-artifact 是专为 DeepSeek Harness(DSH)开发的原生可视化渲染插件,可以将用户的自然语言描述直接转换为交互式的 ECharts 和 Mermaid 图表,渲染结果直接展示在 DSH 的对话界面中。和模板化的可视化方案不同,它使用原生的 ECharts 6、ECharts-GL 和 Mermaid 11 渲染引擎,支持这些引擎所能实现的几乎所有图表和图示类型。安装该插件需要先安装 DSH CLI,之后可通过 DSH 插件命令直接从 GitHub 拉取安装。

它面向需要在 DSH 对话中快速生成数据可视化图表和流程图的用户,用户只需要用自然语言描述需要的图表类型、数据内容和样式要求,插件就会自动处理请求,选择合适的引擎完成渲染,最终生成支持缩放、平移、下载等操作的交互式画布。整个流程都在 DSH 对话内完成,不需要跳转到外部工具,用户还可以直接调整画布的主题、配色和显示大小。

本插件采用 MIT 许可开源,所有渲染资源都打包在插件本地,不依赖外部 CDN。为了保证安全,插件仅接受纯 JSON 格式的声明式配置,不允许传入 JavaScript 回调,自定义 HTML 代码运行在受 CSP 限制的沙箱 iframe 中,不会产生网络请求风险。使用前需要确保系统中安装了 pnpm 包管理器,否则 DSH 的插件命令无法正常工作。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 20 stars - an early-stage project星标 20,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:sumarilkkxx/dsh-artifact

把 sumarilkkxx/dsh-artifact 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-artifact logo

Turn natural-language requests into native, interactive ECharts and Mermaid visualizations inside DeepSeek Harness.

MIT license DeepSeek Harness ECharts and Mermaid Pure JSON payloads

简体中文

dsh-artifact turns natural-language requests into native ECharts and Mermaid visualizations inside DeepSeek Harness

What it is

dsh-artifact is a visualization renderer for DeepSeek Harness. Ask for a chart or diagram in ordinary language; the model understands the intent, chooses the appropriate native engine, emits a declarative payload, and the result appears directly in the conversation as an interactive canvas.

It is built for a near-native ECharts and Mermaid authoring experience—not a small set of hand-drawn chart templates. The browser receives a real ECharts option or Mermaid source and renders it with the real engine.

Your request  →  model understands the intent  →  ECharts option / Mermaid code  →  interactive canvas

Highlights

From a request to a native canvas

Describe the visualization you need in ordinary language. dsh-artifact keeps the complete workflow inside the conversation: the model reasons about the request, prepares a native engine payload, and renders the result as an interactive canvas with appearance controls and PNG export.

A natural-language request becoming a native GitHub-style calendar heatmap inside DeepSeek Harness

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-console 下一个 Next dsh-obsidian →