DeepSeek Harness plugin

dsh-function-plot

2D teaching plots and standalone SVG cards for DeepSeek Harness

Jump to install

Source facts

Repository
kirineko/dsh-function-plot
Latest update
Aug 18, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/kirineko/dsh-function-plot
Plugin: dsh-function-plot
Author: kirineko

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-function-plot

DeepSeek Harness 插件:让对话支持函数图像绘制,以及把工作区里的 SVG 显示到 Web 页面。

  • 画函数:激活函数、分布、课堂曲线;卡片可切换远景 / 近景 / 对照,查看函数信息,下载 SVG
  • 显示 SVG:单独把已有图片渲染到对话里,不必经过函数绘图

![plot_function](docs/preview.webp)

安装

npm(推荐)

dsh plugin --profile web add dsh-function-plot
dsh web

源码

git clone https://github.com/kirineko/dsh-function-plot.git
cd dsh-function-plot
pnpm install
pnpm build
dsh plugin --profile web add "$(pwd)"

pnpm ≥10add 失败,写入 ~/.dsh/profiles/web/pnpm-workspace.yaml 后重试:

allowBuilds:
  dsh-function-plot: true

使用

目的说法
画函数画 sigmoid;对比 ReLU 和 GELU;画 y = x^2 / 2
显示已有 SVGfigures/arch.svg 显示在对话里
  • 标准模式:独立卡片
  • PTC:run_code 下的嵌套卡片
  • 文件:.dsh-plots/*.svg

卸载

dsh plugin --profile web remove dsh-function-plot

配置(可选)

默认即可使用,一般不用改。只有要换输出目录、采样数、画布或主题时,才编辑 ~/.dsh/profiles/web/cordis.patch.yml

- id: function-plot
  name: dsh-function-plot
  config:
    outputDir: .dsh-plots
    samples: 400
    width: 960
    height: 540
    theme: light