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许可开源,完全免费使用,无网络遥测和凭据收集,不依赖额外外部服务。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-simple-wiki-memory(rainow/dsh-simple-wiki-memory)
仓库:https://github.com/rainow/dsh-simple-wiki-memory
本站详情页:https://www.yhbd.top/plugins/rainow-dsh-simple-wiki-memory/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-11 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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.2prepend、patchinsert、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 →
Awesome-AI-Pedia/Awesome-AI-Pedia
yannicksong0106/dsh-550c-boot
hr98w/dsh-memory
omdsh-dev/dsh-advisor
shuguang1994/project-blueprint
SummerSec/AI-Inner-Os