stratagate-dsh 0.3.53 → 0.3.55

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.55
4
+
5
+ - 修复主题目录整理因概要挂到空小节而整批失败的问题。有效的事件归类会照常保存,升级后会自动重排这类已停止的任务。
6
+ - Dreaming 搬空小节后,目录会清理空节及其残留概要。同一次整理可以将仍有用的概要移到目标小节。
7
+
8
+ ## 0.3.54 - 2026-11-18
9
+
10
+ - Dreaming 可根据跨会话的新记忆和变更自动整理 Event、目录、经验与每日笔记。整理在独立的 DSH 会话中运行,暂停后可以从保存的进度继续。
11
+ - 「高级设置」新增 Dreaming「立即整理」入口,可查看进度、暂停、继续或打开整理会话。
12
+ - 经验可以在普通会话中检索。Event 修正后的相关经验会进入复核,自动去重合并会将引用迁到保留的 Event。
13
+
3
14
  ## 0.3.53 - 2026-11-17
4
15
 
5
16
  - 调整记忆总览的字体、记忆柱、统计数字与留白;根据侧栏和面板可用宽度统一缩放,修复应用缩放后标题换行、统计说明挤压及内容过大的问题。
package/README.md CHANGED
@@ -69,7 +69,7 @@ StrataGate is a cross-session memory plugin for DeepSeek Harness. Daily notes he
69
69
 
70
70
  (1) **Events record what happened.** Important decisions, preferences, requirements, and changes become Events with scope, time, and source references. AI evaluates potential duplicates; uncertain cases can be reviewed by the user, and the processing history remains traceable. → [Event memory](#event-cards)
71
71
 
72
- (2) **The topic directory shows what has been remembered.** Related Events form chapters, sections, and source-linked overviews. The agent can browse topics before retrieving specific Events. Users can also start Dreaming, a dedicated agent that reviews and organizes the existing directory. → [Topic directory](#memory-topics)
72
+ (2) **The topic directory shows what has been remembered.** Related Events form chapters, sections, and source-linked overviews. The agent can browse topics before retrieving specific Events. Users can also start Dreaming, a dedicated agent that reviews and organizes historical memory. → [Topic directory](#memory-topics)
73
73
 
74
74
  (3) **The optional knowledge graph organizes current state.** When enabled, it derives current information and relationships about people, projects, tools, and other entities from Events, retaining their sources. The graph is off by default; Event cards, topics, and ordinary retrieval work independently. → [Current-state graph](#current-state-graph)
75
75
 
@@ -293,9 +293,9 @@ A Topic represents a lasting subject such as “Project X,” with sections for
293
293
 
294
294
  For “Where did we leave the project's technical plan?”, the agent can find the topic, read its overview, then retrieve specific Events to verify agreed choices and outstanding decisions.
295
295
 
296
- **Dreaming helps organize an existing directory.** Users can start a dedicated agent from the directory page to review existing Events and overviews and adjust chapters, sections, Event membership, and overview content. Its progress can be viewed, paused, resumed, or terminated; saved changes remain preserved.
296
+ **Dreaming reviews historical memory.** Start it from the directory even when there are no unassigned Events. Its dedicated agent can inspect conversations across sessions, correct missing or erroneous Events, consolidate duplicates, update daily notes, and maintain the directory and reusable experiences. It also starts automatically when new material exists, the main agent has been idle for about 30 minutes, and at least 24 hours have passed since the last automatic start. You can view, pause, resume, or stop a run; saved changes are kept.
297
297
 
298
- Dreaming organizes the directory and overviews without rewriting original Event facts or reinforcing memory through organization or reading. **The directory helps locate information; specific facts still need checking against their sources.**
298
+ Dreaming can remove incorrect or redundant derived Events. It keeps original conversations, earlier facts that were true at the time, and Profile settings. Later sessions can look up reusable methods with `memory_search_experiences`. **The directory helps locate information; specific facts still need checking against their sources.**
299
299
 
300
300
  <a id="persistent-profile"></a>
301
301
 
@@ -523,7 +523,7 @@ npm run build
523
523
  | [DeepSeek Harness guide](docs/DSH.md) | Installation, configuration, UI, memory tools, and recovery |
524
524
  | [Memory directory and topic overviews (Chinese)](docs/MEMORY_TOPICS.zh-CN.md) | Chapters and sections, source tracing, background organization, budgets, and recovery |
525
525
  | [Event extraction rules (Chinese)](docs/event-extractor.md) | Extraction decisions, scope, duplicates and historical relationships, and compatibility |
526
- | [Dreaming directory organization (Chinese)](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/dreaming-agent.md) | Organization scope, run controls, source protection, and recovery |
526
+ | [Dreaming memory maintenance (Chinese)](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/dreaming-agent.md) | Scope, triggers, deletion, and recovery |
527
527
  | [Optional knowledge graph (Chinese)](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/knowledge-graph.md) | Defaults, enabling, pausing, disabling, and historical backfill |
528
528
  | [Manual level selection (Chinese)](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/user-operation-priority.md) | Content preview, application, insufficient capacity, and recovery |
529
529
  | [Architecture](docs/ARCHITECTURE.md) | Layering, Events and graph, retrieval, evidence gate, weights, storage, and core APIs |
package/README.zh-CN.md CHANGED
@@ -69,7 +69,7 @@ StrataGate 是 DeepSeek Harness 的跨会话记忆插件。每日笔记帮助接
69
69
 
70
70
  (1) **事件记录“发生过什么”。** 重要决定、偏好、要求和变化会被整理为 Event,保留适用范围、时间和来源。重复候选由 AI 判断,难以确定的内容可交给用户复核,处理历史可以追溯。→ [事件记忆](#event-cards)
71
71
 
72
- (2) **主题目录说明“记过哪些内容”。** 相关事件整理为章节、小节和带来源的概览。Agent 可以先浏览主题,再查找具体事件;用户也可以启动 Dreaming,让专门的 Agent 检查和整理已有目录。→ [主题目录](#memory-topics)
72
+ (2) **主题目录说明“记过哪些内容”。** 相关事件整理为章节、小节和带来源的概览。Agent 可以先浏览主题,再查找具体事件;用户也可以启动 Dreaming,让独立 Agent 整理历史记忆。→ [主题目录](#memory-topics)
73
73
 
74
74
  (3) **知识图谱按需整理当前状态。** 开启后,图谱根据事件整理人物、项目、工具等实体的当前信息与关系,并保留来源。图谱默认关闭,不影响事件卡、主题目录和普通检索的使用。→ [当前状态图谱](#current-state-graph)
75
75
 
@@ -293,9 +293,9 @@ Block 的展示变化由指数衰减控制:
293
293
 
294
294
  例如,用户问“之前项目技术方案讨论到哪了”,Agent 可以先找到主题、查看概览,再查找具体事件,核对已确定的方案和待决定的问题。
295
295
 
296
- **Dreaming 帮助整理已有目录。** 用户可以从目录页启动专门的 Agent,让它检查已有事件和概览,调整章节、小节、事件归属及概览内容。运行过程可以查看、暂停、继续或终止;已经保存的修改保留。
296
+ **Dreaming 整理历史记忆。** 从目录页点「整理记忆」,独立 Agent 按需查阅跨会话的原文、Event 和笔记,补记遗漏、修正错误、合并重复内容,并整理目录和可复用经验。主 Agent 空闲约 30 分钟、有新增或更新内容,且距上次自动运行至少 24 小时时,也会自动启动。运行可查看、暂停、继续或终止,已保存的修改会保留。
297
297
 
298
- Dreaming 整理的是目录与概览,不改写原始 Event 事实,也不因整理或读取而强化记忆。**目录帮助定位,具体事实仍需沿来源查证。**
298
+ 重复或确认错误的派生 Event 可以实际删除,真实变化仍保留前后记录。原始对话和 Profile 保持原样,读取不强化记忆。后续会话可以用 `memory_search_experiences` 查找适用的历史经验。**目录帮助定位,具体事实仍需沿来源查证。**
299
299
 
300
300
  <a id="persistent-profile"></a>
301
301
 
@@ -525,7 +525,7 @@ npm run build
525
525
  | [DeepSeek Harness 使用说明](docs/DSH.zh-CN.md) | 安装、配置、界面、记忆工具和恢复机制 |
526
526
  | [记忆目录与主题概览](docs/MEMORY_TOPICS.zh-CN.md) | 章节与小节、来源追溯、后台整理、预算和恢复 |
527
527
  | [事件提取规则](docs/event-extractor.md) | 提取判断、适用范围、重复与历史关系,以及兼容边界 |
528
- | [Dreaming 目录整理](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/dreaming-agent.md) | 目录整理范围、运行控制、来源保护与恢复 |
528
+ | [Dreaming 记忆整理](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/dreaming-agent.md) | 整理范围、启动条件、删除语义和恢复 |
529
529
  | [可选知识图谱](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/knowledge-graph.md) | 默认状态、开启、暂停、关闭及历史补建 |
530
530
  | [手动层级选择](https://github.com/diqierjia/StrataGate-AgentMemory/blob/main/docs/user-operation-priority.md) | 内容预览、实际应用、容量不足与恢复操作 |
531
531
  | [架构文档](docs/ARCHITECTURE.md) | 分层规则、事件与图谱、检索、证据门、权重、存储和核心 API |