返回目录

dsh-auto-memory

编辑精选维护状态: 活跃

asktheway/dsh-auto-memory

为 DeepSeek Harness/dsh 提供类似 Claude Code 的自动记忆,使用类型化记忆文件和 MEMORY.md 索引自动注入系统提示词。仅依赖本地文件,不需要外部服务。

前往 GitHub
$ dsh plugin --profile demo add dsh-auto-memory

37

星标

3

Fork

TypeScript

语言

MIT

许可证

2026-09-22

创建于

2026-09-28

最近推送

面向 DSH 的纯文件持久记忆层,可在不同会话间保留带类型的上下文。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-09-29

许可证

MIT

01它能帮你完成什么?

  • Retain durable user, project, feedback, and reference context across DSH sessions

    Typed Markdown memory files and an automatically injected persistent-memory index

    DSH users who want file-based recall without external services

02如何接入 DeepSeek Harness?

前置条件

  • `@deepseek-ai/dsh >= 0.1.5-rc.2` and Node `^22.19 || >=24`

安装步骤

  1. 01

    Run `dsh plugin --profile demo add dsh-auto-memory`.

    $ dsh plugin --profile demo add dsh-auto-memory

  2. 02

    Restart the profile with `dsh --profile demo`.

    $ dsh --profile demo

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配原生运行时

Native persistent-memory plugin that injects a typed Markdown memory index into DSH system prompts.

  • Typed memory tools

    Model memory requests→`memory_write`, `memory_read`, `memory_list`, `memory_delete`, `memory_prune`, and `memory_delete_all`

    Memory files are stored under `$DSH_HOME/memory/`.
  • Automatic consolidation

    A completed root session when `autoSummarize: true` is enabled→A background pass that extracts durable facts and files them as memories

04适合谁?何时不该用?

适合

  • DSH users who want file-based recall without external services

不适合

  • The README requires DSH `>= 0.1.5-rc.2` and Node `^22.19 || >=24`.

05兼容性、维护与安全提示

  • The README requires DSH `>= 0.1.5-rc.2` and Node `^22.19 || >=24`.
  • Budget truncation is positional rather than relevance-ranked; the README presents full relevance ranking as future work.
2026-09-222026-09-28作者未说明

MIT repository; facts captured from the README.

06常见问题

dsh-auto-memory 会保存什么?

它把带类型的记忆保存为 `$DSH_HOME/memory/` 下的普通 Markdown 文件,并将索引注入 DSH 系统提示词。

如何安装?

运行 `dsh plugin --profile demo add dsh-auto-memory`,随后用 `dsh --profile demo` 重启 profile。

需要外部数据库或向量服务吗?

不需要。README 将其描述为纯文件方案,不依赖外部服务、数据库或 embedding。

08数据与来源

  • 作者声明github.comc9cdc3d4d68f…

    `dsh-auto-memory` closes that gap natively:

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-29。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。