DeepSeek Harness 插件

dsh-memory-canvas

DSH plugin: offload bulky tool logs to refs/*.md and keep a Mermaid canvas. Don't pip the wrong dsh.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
guobinmengxiang-rgb/dsh-memory-canvas
最近更新
2026年8月17日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/guobinmengxiang-rgb/dsh-memory-canvas
插件名:dsh-memory-canvas
作者:guobinmengxiang-rgb

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.md来源说明 · 只读预览
README 语言

dsh-memory-canvas

DeepSeek Harness plugin. Offload bulky tool logs to refs/*.md. Keep a Mermaid canvas in context. Recall by node_id. Zero daemon.

CAUTION: don't pip the wrong dsh. Official CLI: npx @deepseek-ai/dsh web. The PyPI package deepseek-harness-cli is a different tool (dsh doctor / dsh chat).

GitHub topic: dsh-plugin. Chinese: README.zh.md

Demo (no dsh)

node demo.mjs

Writes .dsh-memory/refs/{id}.md, prints the canvas, recalls by id, and asserts the body matches.

Install into a profile

This package is plain JavaScript. There is no prepare or build step, so a git install does not need allowBuilds.

dsh plugin --profile web add github:guobinmengxiang-rgb/dsh-memory-canvas

Check the composed layer without booting:

dsh --profile web --dump-config

You should see a dsh-memory-canvas layer. Then start the profile as usual.

Official CLI is @deepseek-ai/dsh (today 0.1.0-rc.6).

Tools

The agent must call these tools. This plugin does not auto-intercept tool logs.

ToolParamsResult
memory_offloadtitle, body (required)short id, path, canvas updated
memory_recallid (required)stored body (truncated at 8k with a note)
memory_canvasnoneMermaid markdown of the task canvas

Storage (default): <cwd>/.dsh-memory/canvas.md and <cwd>/.dsh-memory/refs/{id}.md. Override root with DSH_MEMORY_DIR.

Canvas nodes use a 24-character title. Full text lives in refs/.

What this is not

Inspired by Tencent's short-term symbolic memory (MIT idea, our code): refs + Mermaid canvas + node_id.

Honest limits

  • DeepSeek Harness is a developer preview: THERE WILL BE COMPATIBILITY-BREAKING CHANGES.
  • The plugin runs on your machine.
  • This bundle cordis.patch.yml uses the package name dsh-memory-canvas, not a filesystem path.

Official docs and related

  • Your first plugin: https://deepseek-harness.github.io/deepseek-harness/en/develop/basic/
  • Package and install a plugin: https://deepseek-harness.github.io/deepseek-harness/en/develop/basic/publish
  • Cordis: https://github.com/cordiverse/cordis
  • Sister plugin: https://github.com/guobinmengxiang-rgb/dsh-xhs-note
  • Course: https://github.com/guobinmengxiang-rgb/dsh-getting-started
  • Awesome list: https://github.com/guobinmengxiang-rgb/awesome-dsh

License

MIT (c) 2026 国彬 张