memory-eternal 0.3.3 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -273,12 +273,12 @@ export function apply(ctx, config) {
273
273
  }
274
274
  if (!cfg || cfg.enabled === false || cfg.autoRecall !== true) return
275
275
  const text = [
276
- '你拥有一个本地「记忆核心」(Markdown 知识库,位于 ' + vaultDir() + ')。',
276
+ '你拥有一个本地「记忆核心」(SQLite 知识库,位于 ' + vaultDir() + ')。',
277
277
  '规则:',
278
278
  '1. 每轮对话结束后,值得长期复用的内容会被自动沉淀成知识卡,你无需询问用户、也无需手动保存。',
279
279
  '2. 当任务需要项目背景、历史决策、之前讨论过的方案或领域知识时,先调用 memory_recall 检索相关卡片,再作答。',
280
280
  '3. 若检索结果为空,就诚实说明当前记忆库没有相关内容,不要编造。',
281
- '4. 知识卡是普通 Markdown 文件,你可以用文件工具直接读写它。',
281
+ '4. 知识卡存储在 SQLite 数据库中(memory-eternal.db),**禁止**用文件工具直接读写 vault 目录下的任何文件。沉淀记忆必须通过 memory_recall 工具或 /memory-eternal/api/write API。',
282
282
  ].join('\n')
283
283
  disposeSection = ctx.systemPrompt.section({
284
284
  name: 'memory-eternal: auto-recall',