DeepSeek Harness Hub
← 全部攻略

dsh-memento 怎么用?安装、配置与常见问题(DSH 插件教程)

它解决什么问题

Bounded, layered, approval-gated, auditable cross-session memory for DeepSeek Harness (capability seam: ctx.memory + SQLite provider + memory tool + frozen snapshot injection)

核心功能

  • 1024 商店渠道:先执行一次 npm i -g dsh1024,然后执行 dsh1024 plugin --profile web add dsh-memento(计入 deepseek1024.com 安装排名)。
  • 模型可见 ⟺ 已记录。 注入的快照原样落入 system/message;每一次写入都可以从 approval/asked + approval/decided + 插件自身的审计表重建。
  • 有界且诚实。 每条轨道/每层都有硬性字符预算(默认 user 2000 / agent 4000)。存储写满时会以结构化错误(用量 + 上限)失败——绝不截断,绝不自动压缩。
  • git 渠道(最新 main):dsh plugin --profile web add git+https://github.com/PerryLink/dsh-memento.git。
  • npm 渠道(已发布版本):dsh plugin --profile web add dsh-memento。
  • tarball 渠道:在本仓库中执行 npm pack,然后 dsh plugin --profile web add ./dsh-memento-.tgz。
  • 卸载:dsh plugin --profile web remove dsh-memento(记忆数据库和会话日志会保留)。
  • 条目规范 —— 两条轨道 × 两个层 × 每代理键,外加短 tags(≤16 × ≤32 字符)以及每次 replace 时递增的每条目 version。

安装


npx @deepseek-ai/dsh plugin add PerryLink/dsh-memento

插件 README 中出现的其它命令:


npm i -g dsh1024,然后执行 dsh1024 plugin --profile web add dsh-memento(计入 deepseek1024.com 安装排名)。

DSH plugin

dsh plugin --profile web add "github:PerryLink/dsh-memento#main"

dsh plugin --profile web add dsh-memento

现状数据

  • 周下载量:776
  • GitHub Stars:81
  • 中文说明:已汉化

适合谁用

正在用 DeepSeek Harness(dsh)做开发、希望扩展其能力的人。装之前建议先看周下载量与 Star 数判断活跃度。

常见问题

装不上怎么办? 先确认 dsh 版本最新,再重试安装命令;仍失败可到插件页查看「安装兼容性检查」。

装了不生效? 部分插件需重启 dsh 会话或重新加载配置才生效。

> 本文依据插件官方 README 自动整理,具体用法以插件最新版本为准。

查看 dsh-memento 插件详情
安装命令 · 中文 README · 兼容性报告
前往插件页 →
订阅周报,不错过新攻略
每周一封 · 插件 + 福利

💬 加入 DPharness 群聊

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

点击加入 QQ 群
DPharness 群聊二维码,手机 QQ 扫码进群
扫码进群