@a9i5k4/dsh-auto-memory 0.1.30 → 0.1.31

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.
@@ -5,7 +5,7 @@
5
5
  * surface=systemPrompt.context(user-role 快照追加历史尾部);pre-step/user-message patch
6
6
  * 不存在 → capability='dynamic-context';连 context 都没有 → 'none'(降级 Shadow,不标 delivered)。
7
7
  * - pre-step 时序(§8):bumpStep→setCursor→claim(四重门);claimed packet 缓存于 runtime 态。
8
- * - 渲染即投递:专用 context 组件 'dsh:m6-reference-tail-pre' 的 text() 重渲染并校验 exactDigest,
8
+ * - 渲染即投递:专用 context 组件 'dsh:m6-reference-tail' 的 text() 重渲染并校验 exactDigest,
9
9
  * 一致则返回尾注文本(=已实际进入 messages)并 markDelivered + 异步创建 seen evidence;
10
10
  * systemPrompt.section 永不承载动态 tail。
11
11
  * 默认关闭(associativeMemoryEnabled ∧ activationInboxEnabled 双门);activationSource='fake' 为
@@ -314,7 +314,7 @@ export function createActivationHost(opts = {}) {
314
314
  }
315
315
 
316
316
  /**
317
- * 专用渲染面(dsh:m6-reference-tail-pre 的 text()):重渲染 claimed packet 并校验 exactDigest,
317
+ * 专用渲染面(dsh:m6-reference-tail 的 text()):重渲染 claimed packet 并校验 exactDigest,
318
318
  * 一致 → 返回尾注文本 + markDelivered + 异步 seen;不一致/未声明 → 返回空串(零注入)。
319
319
  */
320
320
  function renderTailFor(agent) {
package/lib/index.js CHANGED
@@ -4582,7 +4582,7 @@ export function apply(ctx, config) {
4582
4582
  // 仅渲染已 claimed 的 packet;返回非空=实际进入下一请求 messages → 同步 markDelivered + seen。
4583
4583
  // systemPrompt.section 永不承载该动态内容。
4584
4584
  const disposeTailSurface = ctx.systemPrompt.context({
4585
- name: 'dsh:m6-reference-tail-pre',
4585
+ name: 'dsh:m6-reference-tail',
4586
4586
  order: SECTION_ORDER + 1,
4587
4587
  text: (context) => {
4588
4588
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@a9i5k4/dsh-auto-memory",
3
3
  "description": "主动联想记忆插件:记忆不靠模型调用,自己被唤回——Host 观察情境,NLP+向量化双轨检索,固定边界注入不破坏前缀缓存。三层记忆自动沉淀、欢迎向导、唤起回顾、无人值守、AI 问候与反思、日历、跨工具记忆继承。Proactive associative memory for DSH: zero-call recall, three-layer auto-consolidation, welcome tour, unattended mode.",
4
- "version": "0.1.30",
4
+ "version": "0.1.31",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {