rainow/dsh-simple-wiki-memory 预览 preview

rainow/dsh-simple-wiki-memory

DSH的简化版LLM-Wiki记忆插件,纯MD文档。一个面向DeepSeek工具的轻量级长期记忆框架,简化版LLM-Wiki。无RAG,无向量数据库,运行时无LLM调用。仅依赖Markdown和git。

Project Overview项目介绍

This is a native DSH plugin built exclusively for DeepSeek Harness that provides a simple lightweight wiki-based persistent memory system. It leverages DSH’s built-in dsh-agent-instructions mechanism to inject memory indexes automatically at the start of each session. Instead of relying on heavy RAG pipelines or vector databases, it uses plain Markdown files and Git for versioning and backup. You can install it via the DSH CLI with one of three methods: npm install, source install from GitHub, or ask your DSH agent to handle the installation for you. On first run it automatically creates the required directory structure and initializes Git.

The core design goal of this plugin is to reduce token usage by only loading the memory index by default, instead of loading every full memory entry into the context window for every chat. Topic memory files are only loaded when the current task requires them, which cuts down on unnecessary token consumption and reduces API costs for users. It organizes memory into three folders: pending for unconfirmed drafts, reference for confirmed memory entries, and archive for outdated entries that need to be kept but not searched. Every change to memory is automatically committed to Git for backup and version control, so you can roll back changes at any time if needed.

The plugin is compatible with all tested DSH versions from 0.1.0-rc.7 up to 0.1.5-rc.2, and it is released under the open source MIT license so you can modify it freely to fit your own needs. It does not collect any telemetry data, does not require any network access outside of what DSH already uses, and does not store any credentials. It is designed to play nicely with existing DSH configurations and will never overwrite your existing AGENTS.md file when you install or update it, only merging its rules into your existing file. Uninstalling the plugin removes the runtime hooks but keeps all your memory data intact.

这是专门为DeepSeek Harness(DSH)开发的原生简易Wiki记忆插件,基于DSH原生的dsh-agent-instructions机制实现自维护持久记忆系统。它采用纯Markdown文件加Git的方案,不依赖RAG、向量库或运行时LLM调用,轻量无负担,安装卸载方便,用户可自由修改记忆内容,避免将所有记忆一次性塞上下文浪费token。

插件默认仅加载记忆索引到会话上下文,主题文件按需读取,可大幅节省token消耗。它将记忆分为pending、reference、archive三个分区,附带操作审计日志和Git自动备份,支持会话结束自动提交记忆变更,卸载插件时也会保留所有用户记忆数据。适合需要长期维护开发记忆又不想使用重型工具的DSH用户。

插件兼容DSH从0.1.0-rc.7到0.1.5-rc.2的所有测试版本,可通过npm、GitHub源码或让DSH代理自动安装三种方式安装,首次启动会自动创建目录结构并初始化Git仓库,不会覆盖用户已有AGENTS.md内容。插件采用MIT许可开源,完全免费使用,无网络遥测和凭据收集,不依赖额外外部服务。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-simple-wiki-memory

把 rainow/dsh-simple-wiki-memory 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSWM — DeepSeek Harness 简易 Wiki 记忆插件

超级简化版 llm-wiki 记忆插件:一个索引文档(自动加载)+ 每个 topic 一个单独 md 文件(需要时才 read),避免啥都往上下文里面塞浪费 token。简单轻量,安装卸载都没有压力,想怎么改就怎么改。

基于 DeepSeek Harness(DSH)原生 dsh-agent-instructions(AGENTS.md)机制的自维护持久记忆系统。无 RAG、无向量库、无运行时 LLM 调用——纯 Markdown + git。

English: README.en.md.

更新记录

v0.1.3(2026-09-10)— 兼容 DSH 0.1.5-rc(含 0.1.3)

  • 适配 DSH 0.1.5-rc.2 / 0.1.5-rc.1 / 0.1.5-alpha.x / 0.1.3-alpha.x:peerDependencies 扩展为 ^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.1 || ^0.1.3-alpha.1 || ^0.1.5-alpha.1,覆盖五条发布线(老版本用户不受影响);
  • 逐项对照 dsh-v0.1.5-rc.2 源码验证:session/event + turn/end、agent/pre-step(agent 注入与决策形状不变)、createUserMessage、cordis 4.0.2 prepend、patch insert、dsh.bundle.patch —— 全部兼容;
  • 已确认 DSWM 不受 0.1.3/0.1.5 的破坏性变更影响:0.1.3 的 Session persistence SessionHandle 重构、0.1.5 的「移除 ctx.agent」与 Web 插件面板 Slot 迁移,DSWM 均未使用(只用 session/event 与 agent/pre-step 两个钩子);
  • 安装/升级:dsh plugin --profile web add dsh-simple-wiki-memory。

v0.1.2(2026-08-28)— 兼容 DSH 0.1.2-alpha

  • 适配 DSH 0.1.2-alpha.1 / 0.1.2-alpha.2:peerDependencies 扩展为 ^0.1.0-rc.7 || ^0.1.1-rc.2 || ^0.1.2-alpha.1,覆盖 0.1.0-rc.7+ / 0.1.1-rc.2+ / 0.1.2-alpha.1+ 三条发布线;
  • 运行时 API(session/event、agent/pre-step、消息构造、cordis patch 等)已对照 dsh-v0.1.2-alpha.2 源码逐项验证,无破坏性变更;
  • 安装/升级:dsh plugin --profile web add dsh-simple-wiki-memory(npm 源自动取最新版)。

v0.1.1(2026-08-25)— 首个 npm 发布

  • 发布到 npm(dsh-simple-wiki-memory),支持 dsh-market 版本显示与自动更新;新增 GitHub Actions 自动发布(打 v* tag 即发布);
  • 适配 DSH 0.1.1-rc.2:peerDependencies 覆盖 0.1.0-rc.7+ 与 0.1.1-rc.2+;
  • README 补充与 liangshen / Anchored Standard 锚定模式的兼容性说明。

v0.1.0(2026-08-18)— 初始版本

  • 六分支记忆规则系统:索引自动注入 + 每主题一个 md 按需读取;pending → reference → archive 三区 + memory-log 审计 + git 自动备份;
  • 运行时钩子:回合结束自动 commit、会话开始 pending 汇报;
  • AGENTS.md 只合并不覆盖,卸载保留全部数据。

简介 — 解决什么问题?

长期记忆多但不费 token。 如果把所有记忆一股脑塞进提示词,记忆越多每个会话烧的 token 越贵。DSWM 默认只加载索引(小、每个会话自动注入),主题文件在任务需要时按需读取。

轻量,不上重型机制。 LLM-Wiki 那套系统功能强但重、维护困难,对大多数用户没必要。DSWM 的所有记忆就是简单的 .md 文件——手动改、或让 agent 改都行,所见即所得。

记忆跨 harness 共享。 长期记忆应该属于你,而不是属于某一个 harness。DSWM 的纯 md 记忆文件随时可以共享给其他 harness 使用——只需要把对应 harness 的 AGENTS.md(或等效文件)指向它即可。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-headroom 下一个 Next dsh-desk-pet →