dsh-manim-card
Manifest validAdds a manim_card tool that renders Manim Python into a playable animation card in the chat stream; code runs in the browser via a bundled runtime, so no local Python is needed.
dsh-manim-card
给 DeepSeek Harness 加一个能力:AI 在聊天里直接写 Manim 代码,当场在聊天流里出现一张可播放的动画卡片——能播放、能查看代码。
代码在浏览器内执行,运行资源随插件分发,本机不需要安装 Python,也不依赖任何外部服务。

线上文档(安装 / 在聊天里用 / 设置面板,中英双语):https://snowowowo.github.io/dsh-manim-card/
特点
- 卡片就长在聊天流里:一行标题、一块画布,右侧两个按钮——播放 / 查看代码。播放完停在终态画面,不会自己重来。
- 先预检,再呈现:代码返回前先在真解释器里跑一遍,语法错与不支持的写法当场回给模型、同一回合修正,聊天里不会留下空白或残缺的卡片。
- 不要求本机 Python:执行在浏览器内完成,运行资源随插件分发。
- 播放有分寸:只有刚生成的那张卡真播一遍;重新挂载与旧会话里的卡一律直接落终态。手动播放一键压过全部自动规则。
安装
在宿主的插件管理里:
dsh plugin add github:snowowowo/dsh-manim-card
装完刷新宿主页面,设置里出现「Manim卡片」一节。首次渲染需要取一次运行资源(约 13 MB),之后离线可用。
用起来
在会话里说一句「用 Manim 画一个单位圆」,卡片随即出现在聊天流中。更多细节见文档站的在聊天里用。
开发
技术栈、目录结构、开发流程与测试分工见文档站的开发与调试。
pnpm install
pnpm build # 产出 client.js
pnpm test # 单测(不联网那一档)
pnpm docs # 本地起文档站
许可
本项目依 MIT 授权,全文见 LICENSE。
随包分发的运行资源与构建产物内联的第三方组件,各依其自身许可——清单见 THIRD-PARTY.md。
Comments
Loading…
Similar plugins
Generates 3Blue1Brown-style Manim animations to explain answers, with a right-column gallery and inline multi-modal file publishing.
★ 0
dsh plugin --profile web add dshpluginA terminal workbench for dsh with streaming chat, tool execution, session management, provider management, and image input.
★ 0
dsh plugin --profile web add makima-tuiRenders mermaid code blocks in the chat as diagrams in place (flowchart, sequence, class, state, ER, gantt, pie), with zoom, source toggle, copy PNG and SVG download.
★ 0
dsh plugin --profile web add @dsh-local/dsh-diagramby kira905
DSH plugin: self-maintained task board for the DSH web GUI (fork of upstream 0.3.4, detached). A card is a real DSH session, and a human confirms completion rather than the runner. | DSH 插件:自维护任务看板——一
★ 0
Apache-2.0
TypeScript
Sep 28, 2026
dsh plugin --profile web add dsh-task-board-localby liceses
DSH 角色扮演插件:角色卡(系统提示词注入 + 用户提示词改写)、可分享的单文件卡包、复刻原版 UI 的角色页签与首轮选角 chip
★ 4
↓ 592/wk
NOASSERTION
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-cosplayby onenameneo
Loom Chat is a DSH Web client plugin that turns linear ordinary sessions into a pannable, zoomable Loom-style canvas for parallel exploration.
★ 5
↓ 74/wk
MIT
TypeScript
Sep 17, 2026
dsh plugin --profile web add dsh-loom-chat