diff --git a/CHANGELOG.md b/CHANGELOG.md index b5c8195..74cbbfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,40 @@ --- +## [0.1.4] - 2026-04-10 + +### 🚀 Features + +- *(auto-recall)* Add recall hint text before memories + +## [0.1.3] - 2026-04-09 + +### 🚀 功能 + +- *(memory-tdai)* 用 reporter 抽象替换 emitMetric +- *(L3)* L3 使用读写工具,防止模型输出 CoT +- *(memory)* 添加 embedding 截断、召回超时,以及从 L0 捕获中剔除代码块 +- *(config)* Embedding 超时支持配置 +- *(report)* 在 schema 中暴露 report 配置项,默认值改为 false + +### 🐛 修复 + +- *(capture)* 跳过心跳/定时任务/自动化/调度类消息 +- *(recall)* 召回完成时清除超时定时器,避免误报超时警告 + +### 💼 Other + +- 重命名包名为 memory-tencentdb +- *(deps)* 将 node-llama-cpp 改为可选依赖 + +### ⚡ 性能 + +- *(auto-capture)* 将 L0 向量嵌入移至后台以降低延迟 + +### 📚 文档 + +- 添加 allowPromptInjection 配置警告说明 + ## [0.1.2] — 2026-03-26 ### 更新内容 diff --git a/package.json b/package.json index ad39271..ba22a31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tencentdb-agent-memory/memory-tencentdb", - "version": "0.1.1", + "version": "0.1.4", "description": "Four-layer local memory system plugin for OpenClaw — auto-captures, structures, and profiles conversational knowledge using local LLM + SQLite vector search (L0→L1→L2→L3 pipeline)", "type": "module", "main": "index.ts", diff --git a/src/hooks/auto-recall.ts b/src/hooks/auto-recall.ts index f36222d..045c8d1 100644 --- a/src/hooks/auto-recall.ts +++ b/src/hooks/auto-recall.ts @@ -199,7 +199,9 @@ async function performAutoRecallInner(params: { systemParts.push(`\n${sceneNavigation}\n\n${pathHint}\n`); } if (memoryLines.length > 0) { - systemParts.push(`\n${memoryLines.join("\n")}\n`); + systemParts.push( + `\n以下是当前对话召回的相关记忆,不代表当前任务进程,仅作为参考:\n\n${memoryLines.join("\n")}\n` + ); } // Append memory tools usage guide so the agent knows how to actively