Skip to content

Commit ba08957

Browse files
release: v0.7.25 工具兼容性加固 + memory_get/render 内容预览 + 巩固模型引导
- 新增 memory_get 工具 + memory_search/list render 内容预览(模型可读命中条目标题/元数据/正文) - 修复 memory_get execute 嵌套 output 的崩溃(userExecute is not a function) - 工具重复注册去重(live patch reload)、Standalone API 端口冲突重试、client inject 声明对齐、better-sidebar 集成加固 - config/README 巩固模型分类声明引导 - 718 测试全绿 Co-Authored-By: Anans-Ivresse <[email protected]>
1 parent f88b6cc commit ba08957

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

‎dsh-mneme/CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## [0.7.25] - 2026-09-09
4+
5+
## 🆕 新增
6+
7+
- **`memory_get` 工具(第 8 个模型工具)**:按 id 读取单条记忆完整正文,用于 memory_search / memory_list 命中后读取全文。
8+
- **`memory_search` / `memory_list` 输出内容预览**:render 现在嵌入命中条目标题、ID/type/importance 元数据与正文预览(不再只输出「命中 N 条」计数)——宿主只透传 render 文本时,模型也能直接读到记忆内容。
9+
- **记忆巩固模型选型引导**:config 注释与 README 增加巩固模型分类声明(非思考模型 / 思考模型差异与建议),设置面板换巩固模型有据可依。
10+
11+
## 🐛 修复
12+
13+
- **`memory_get` 执行崩溃:`userExecute is not a function`**:memory_get 的 execute 被误嵌套进 output 属性内(defineTool 拿不到 options.execute),模型调用必报错;此前测试只数工具名未执行该工具,714 全绿掩盖。已移回 defineTool 顶层 + 补回归测试。
14+
- **工具重复注册(DSH live patch reload)**:热补丁重载同一 registry 时 `tool "memory_search" is already registered`——新增按 registry 的 WeakMap 工具名去重,重复跳过并告警。
15+
- **Standalone API 端口冲突(EADDRINUSE)**:多 DSH profile / 实例共用默认端口时 API 永久不可用——新增 listenWithRetry(最多 20 次递增 + 最终落 OS 分配端口 0),实际绑定端口回传调用方。
16+
- **client inject 声明与实际消费不一致**:声明 `["slots","locale","layout","connection"]`,实际只消费 slots/locale——对齐为 `["slots","locale"]`。
17+
- **better-sidebar 集成加固**:peer 依赖 `*` → `^0.18.0`(仍可选);registerTab 前 getTab 查重跳过重复 tab;注册失败告警并降级回原生侧边栏入口,不再直接报错。
18+
19+
## 🏗️ 工程
20+
21+
- 718 测试全绿(+4 回归测试:memory_get 执行 / 缺失 id、memory_search / memory_list render 内容嵌入)。
22+
323
## [0.7.24] - 2026-09-09
424

525
## 🐛 修复

‎dsh-mneme/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dsh-mneme/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@modusensus/dsh-mneme",
33
"description": "Cross-session memory plugin for DeepSeek Harness with autoDream consolidation: SQLite store, Markdown mirrors, 7 model tools, automatic injection, session summarization, user profile/rules, custom slash commands, vector (semantic) search, and a Web GUI panel",
4-
"version": "0.7.24",
4+
"version": "0.7.25",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)