Repository navigation
Releases
Releases · a903067276-rgb/dsh-simple-memory
v0.9.0
Changed
- The cross-session search tool is now
memory_session_search(previouslysession_search). A third-party plugin should not own the official tool name: the host's own experimental session-search bundle registerssession_search, and two plugins declaring the same tool name is ambiguous. Behavior is unchanged under the new name — same parameters, same output shape. - README (English and 简体中文) updated accordingly.
Compatibility matrix
dsh.compatibility.dshReleasesnow also records"0.2.1-rc.1": "compatible"and"0.2.1-rc.2": "compatible".
Version compatibility
- DSH 0.1.7 and later, including 0.2.x — this release (
v0.9.0): peer range^0.1.7-rc.1 || ^0.2.0-rc.1. - DSH 0.1.5-rc.1: load-verified on that line. Conservative fallbacks for older hosts are documented in the README (0.1.0-rc.7/rc.8 →
v0.2.5; 0.1.0-rc.6 → frozenrc6-compattag). - Maintenance policy: best-effort; the plugin follows the latest DSH releases.
中文说明
- 跨会话检索工具改名为
memory_session_search(原session_search)。第三方插件不该占用官方的工具名:宿主自带的实验性 session-search 会注册session_search,两个插件声明同名工具会产生歧义。行为不变(参数与输出结构完全一致)。 - README(中英双语)已同步更新。
- 兼容矩阵补录
"0.2.1-rc.1"/"0.2.1-rc.2"= compatible。
版本兼容
- DSH 0.1.7 及以后(含 0.2.x)—— 本版(
v0.9.0):peer 范围^0.1.7-rc.1 || ^0.2.0-rc.1。 - DSH 0.1.5-rc.1:该线已做过加载验证;更老宿主的回退版本见 README(0.1.0-rc.7/rc.8 →
v0.2.5;0.1.0-rc.6 → 冻结的rc6-compat标签)。 - 维护策略:尽力而为,跟随 DSH 最新版本演进。
Simple Memory v0.8.0 — 记忆自动化(免问新增 / 自动进度 / 自动做梦)
Features
- Recording rhythm (decided with the user). Brand-new memories no longer need per-turn approval: the model writes what it judges worth keeping and shows the conclusion for review. Merging/overwriting an existing memory, archiving, and promoting
staging → commonstill ask first. - Automatic progress note. While a session is active the plugin refreshes the trailing
(自动记录:…)line ofprogress/<project>.mdwith the current time — zero tokens, 5-minute throttle, and only when the file already exists (never creates one). - Automatic dream. When the dream interval is due the plugin itself runs a batch through
ctx.llm.streamon a cheap model (dreamModel, defaultdeepseek-flash); the output only lands indreams.mdtagged[自动][待确认], and promotion into real memory still needs your approval. Toggle withdreamAutoRun, both exposed in the Settings card. - Leaner index injection. Project docs are no longer listed by name, and other projects no longer carry headline excerpts — details go through
memory_searchinstead.
Version compatibility
- DSH 0.1.7 and later (including 0.2.0-rc.2) — this release (
v0.8.0): peer range^0.1.7-rc.1 || ^0.2.0-rc.1;dsh.compatibility.dshReleasesmarks0.1.7-rc.1/0.1.7-rc.2/0.2.0-rc.1/0.2.0-rc.2ascompatible. - DSH 0.1.5 and older — previous tag
v0.3.8(dsh plugin add github:a903067276-rgb/dsh-simple-memory#v0.3.8): keeps the old behavior and uses no 0.1.7-only API. - Compatibility with older DSH versions is best-effort only; this plugin tracks the latest DSH releases.
中文说明
- 记录节奏(与用户共同定)。 全新记忆不再需要每轮征求同意:模型自己判断该记就直接落盘,写完把结论贴出来核对;合并/覆盖已有记忆、归档、以及 staging→common 升格仍然先问。
- 进度自动记录。 会话活跃期间,插件把
progress/<项目>.md末尾的「(自动记录:…)」行刷新成当前时间——零 token、5 分钟节流,且只在文件已存在时更新(不会凭空建档)。 - 自动做梦。 到点后由插件自己经
ctx.llm.stream用便宜模型(dreamModel,默认deepseek-flash)跑一批;产出只进dreams.md并标[自动][待确认],升格进正式记忆仍需你确认。设置页可开关(dreamAutoRun)与换模型。 - 索引注入瘦身。 项目 docs 不再逐个列名、其他项目不再带摘要行,细节改走
memory_search。
版本兼容
- DSH 0.1.7 及以后(含 0.2.0-rc.2)—— 装本版(
v0.8.0):peer 范围^0.1.7-rc.1 || ^0.2.0-rc.1;矩阵中0.1.7-rc.1/0.1.7-rc.2/0.2.0-rc.1/0.2.0-rc.2均为compatible。 - DSH 0.1.5 及更早 —— 装上一版 tag
v0.3.8:保持旧行为,不含 0.1.7 专用 API。 - 旧版 DSH 兼容为 best-effort(尽力而为、不保证);本插件跟随 DSH 最新版本演进。
v0.7.1
Fix
- DSH 0.2 support. Since 0.2 the host gates profile bundles on peer compatibility: a plugin whose declared peer range misses the running host is skipped entirely (
skipping profile bundle), which silently removes its tools and routes. The@deepseek-ai/dshpeer is now^0.1.7-rc.1 || ^0.2.0-rc.1, and the@deepseek-ai/dsh-toolspeer appends|| ^0.2.0-rc.1, anddsh.compatibility.dshReleasesdeclares"0.2.0-rc.1": "compatible"after verification on a real 0.2.0-rc.1 host and a shadow instance. - Removed a dead
settings.plugin.itemclient registration (no shipped host declares that slot — the live entries are thesettings.sectionpage and the Plugins page'splugins.bundle.config), together with the component that only it used.
Version compatibility
- DSH 0.1.7 and later (including 0.2.0-rc.1) — this release (
v0.7.1): peer range^0.1.7-rc.1 || ^0.2.0-rc.1;dsh.compatibility.dshReleasesmarks0.1.7-rc.1/0.1.7-rc.2/0.2.0-rc.1ascompatible. - DSH 0.1.5 and older — previous tag
v0.3.8(dsh plugin add github:a903067276-rgb/dsh-simple-memory#v0.3.8): keeps the old behavior and uses no 0.1.7-only API. - Compatibility with older DSH versions is best-effort only; this plugin tracks the latest DSH releases.
中文说明
- 兼容 DSH 0.2。 0.2 起宿主按 peer 范围门禁 profile bundle:范围不覆盖当前运行时的插件会被整包跳过(日志
skipping profile bundle),插件工具与路由会一起静默消失。现将@deepseek-ai/dshpeer 改为^0.1.7-rc.1 || ^0.2.0-rc.1;@deepseek-ai/dsh-tools的 peer 也追加|| ^0.2.0-rc.1,并在dsh.compatibility.dshReleases声明"0.2.0-rc.1": "compatible"(已在 0.2.0-rc.1 真机与影子实例上验证)。 - 删掉无效的
settings.plugin.item客户端注册(官方两版都没有这个插槽;真正生效的是settings.section页面与插件页的plugins.bundle.config)及其专属组件。
版本兼容
- DSH 0.1.7 及以后(含 0.2.0-rc.1)—— 装本版(
v0.7.1):peer 范围^0.1.7-rc.1 || ^0.2.0-rc.1;矩阵中0.1.7-rc.1/0.1.7-rc.2/0.2.0-rc.1均为compatible。 - DSH 0.1.5 及更早 —— 装上一版 tag
v0.3.8:保持旧行为,不含 0.1.7 专用 API。 - 旧版 DSH 兼容为 best-effort(尽力而为、不保证);本插件跟随 DSH 最新版本演进。
v0.7.0 — 设置页可改(自动提交开关 / 做梦频率)
autoCommit、dreamEveryDays、dreamBatch 现在能在设置卡片里改,保存即时生效;/config 路由改成 patch 语义并加范围校验。
v0.6.1 — 自动提交失败不再静默 + 自检路由
- 修:官方 shell 的 result() 对非零退出不抛错,v0.6.0 只看 try/catch → 提交失败也报成功。现在检查 exitCode,失败时把退出码与 stderr 摘要带回工具结果
- 工具结果直说「(已自动提交)」/「(⚠ 自动提交失败:…)」
- 新增只读自检路由 GET /api/dsh-simple-memory/selftest(不带策略 / 带会话策略两组对照)
v0.6.0 — 项目根解析修复 + 写入即自动提交 + 定期做梦
- 修 bug:工作区不在 git 仓里时项目名算成空串 → 进度注入报「progress/.md 未建立」(实际 progress/<项目>.md 早就在)、本项目记忆计数恒为 0、自己被列进「其他项目」。现在找不到 .git 就回落到工作区目录本身
- 修 bug:记忆根没有 common/ 时,scope=global 的 memory-write 直接 ENOENT
- 新增 autoCommit(默认开):memory-write / memory-progress 写入成功后插件自己 git add -A && git commit(mem: <操作> <对象>),不再依赖模型「顺手 commit」
- 新增 dreamEveryDays(默认 7)/ dreamBatch(默认 2):到期在当次会话首步注入里点名做几个梦,产出进 dreams.md 标 [自动][待确认],后台不发 LLM 请求
Simple Memory v0.5.1 — 点进插件就能看到设置
DSH 0.1.7+.
Fixed
- The settings card is now also rendered on the package page (one click into the plugin), not only on the component row page: registered through the keyed slot (key = package name).
中文
- 设置卡现在点进插件的第一级(包详情页)就能看到,不必再钻到组件行:走 keyed 槽 (键 = 包名)。原来只挂了组件行那级,观感像点进去没有详细设置。
Simple Memory v0.5.0 — 设置卡进官方插件区
DSH 0.1.7+. On DSH ≤ 0.1.5 install the previous tag.
Added
- The full settings card now also renders inside the official Plugins page: Plugins → Simple Memory → component row → Configure. Registered through the keyed
plugins.row.configslot (keydsh-simple-memory#<entry>), reusing the same card component as the Settings page (inCard).
中文
- 完整设置卡现同时在官方插件区渲染:插件 → Simple Memory → 组件行 → Configure;走 keyed 槽
plugins.row.config(键 = 包名#条目id),与设置页共用同一组件。
v0.4.1 — 图标优化
图标重画:小尺寸可读性 + 与同类插件区分(详见提交信息)。DSH 0.1.7+;≤0.1.5 请装旧 tag。
Simple Memory v0.4.0 — DSH 0.1.7 ready
DSH 0.1.7+ only. This release declares peerDependencies: {"@deepseek-ai/dsh": ">=0.1.7-rc.1 <0.2.0"} — a mismatched host refuses to load it with an explicit reason instead of failing quietly.
On DSH ≤ 0.1.5 install v0.3.8 instead (unchanged behavior, no 0.1.7-only API).
What changed
- Injected memory-index message now uses a producer-owned source kind (
plugin:<name>): session format V4 rejects the retired{kind:"plugin", plugin}wrapper — measured on 0.1.7 the first turn of every session failed outright. - Memory root is read live (
Config+.volatile()), so changing it no longer needs a restart. - Shell API adapter for the skeleton
git init; metadata + peer range.
Verification
- Tested in a shadow instance (DSH 0.1.7-rc.1 + all seven plugins): load, settings cards, live config writes, disable/enable, real turn.
mainis intentionally not merged yet; that happens after the host upgrade (install from this tag, or frommainonce it is merged).
仅支持 DSH 0.1.7 及以上:本版声明 peerDependencies: {"@deepseek-ai/dsh": ">=0.1.7-rc.1 <0.2.0"},宿主不匹配会明确拒绝加载并说明原因,不再静默出错。
DSH ≤ 0.1.5 请装 v0.3.8(行为不变,不含 0.1.7 专用 API)。
- 注入的记忆索引消息改用生产者自有 source kind(
plugin:<名字>):会话格式 V4 拒收已退役的{kind:"plugin", plugin}包装——实测 0.1.7 上每个会话的首轮会直接失败。 - 记忆根目录改活读(
Config+.volatile()),改完不用重启。 - 骨架
git init适配 shell 新接口;补元数据与 peer 声明。
已在影子实例(0.1.7-rc.1 + 七个插件)实测:加载、设置卡、免重启改配置、停用/启用、真实回合。
main暂不合并,等正本升级后再合。