guobinmengxiang-rgb / dsh-memory-canvas

목록에 있음

DSH plugin: offload bulky tool logs to refs/*.md, keep a Mermaid canvas, recall by node_id. Zero daemon. Don't pip the wrong dsh.

main도구세션 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:guobinmengxiang-rgb/dsh-memory-canvas

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 a11f501동기화 2026. 8. 17.

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.

License

MIT (c) 2026 国彬 张

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 17. AM 6:41

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.