stratagate-dsh 0.3.0 → 0.3.1
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 +6 -1
- package/README.md +36 -8
- package/README.zh-CN.md +36 -9
- package/dist/client.js +1 -1
- package/dist/plugin.js +49 -6
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.3.
|
|
3
|
+
## 0.3.1 - Unreleased
|
|
4
|
+
|
|
5
|
+
- 修复 #113:明确 Graph canonical name 的来源是 Event ID 字符串数组,aliases/tags 才使用 `{ value, sourceEventIds }[]`。严格 schema 校验前,仅将 value 与实际 node.name 完全一致、字段与来源类型合法的对象数组归一为 name 来源;不匹配或异常结构仍拒绝,重试提示指出具体字段,原有 supplied Event 边界不变。
|
|
6
|
+
- 升级后首次配置 Graph projector 的 writer 打开命名空间时,仅为匹配旧 name schema 错误完整签名、来源均可暴露的终态失败 Graph jobs 排队一次有限重试周期;复用原 job 和后台 worker,持久化恢复标记,重启不反复清零。已完成、无关失败、遗忘/归档来源的 jobs 不自动恢复;无需手改 SQLite,原有人工 retry 入口保留。
|
|
7
|
+
|
|
8
|
+
## 0.3.0 - 2026-10-06
|
|
4
9
|
|
|
5
10
|
- 将同名总览归为同一节:`.0` 保留各段独立来源的总览,`.1~N` 按来源去重并集分页;节身份不随新段落变化,浏览不写库、不增加模型调用。
|
|
6
11
|
- 小节按来源在章节成员中的最早位置排序,同位置由稳定节身份决定;模型把新总览放在前面时,已有小节编号仍保留,新事件形成的节追加。
|
package/README.md
CHANGED
|
@@ -8,14 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
StrataGate is a cross-session memory plugin for DeepSeek Harness. Recent conversations stay detailed, older conversations become concise, and original records remain available when needed. Important decisions, preferences, and plans become long-term memories for future sessions.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[](https://awesome-dsh-plugin.com)
|
|
18
|
-
[](CONTRIBUTING.md)
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/diqierjia/StrataGate-AgentMemory/actions/workflows/ci.yml"><img src="https://github.com/diqierjia/StrataGate-AgentMemory/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/npm/v/stratagate-dsh.svg" alt="npm version" /></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a>
|
|
15
|
+
<a href="https://github.com/diqierjia/StrataGate-AgentMemory/stargazers"><img src="https://img.shields.io/github/stars/diqierjia/StrataGate-AgentMemory?style=social&label=Stars" alt="GitHub stars" /></a>
|
|
16
|
+
</p>
|
|
19
17
|
|
|
20
18
|
[中文说明](README.zh-CN.md) · [DeepSeek Harness guide](docs/DSH.md) · [Architecture](docs/ARCHITECTURE.md) · [Full evaluation](docs/EVALUATION.md)
|
|
21
19
|
|
|
@@ -23,6 +21,36 @@ StrataGate is a cross-session memory plugin for DeepSeek Harness. Recent convers
|
|
|
23
21
|
|
|
24
22
|
</div>
|
|
25
23
|
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
<div align="center">
|
|
27
|
+
|
|
28
|
+
<h3 align="center">Community & downloads</h3>
|
|
29
|
+
|
|
30
|
+
<table align="center">
|
|
31
|
+
<tr>
|
|
32
|
+
<td align="center">
|
|
33
|
+
<a href="https://dshfind.com/en/plugins/diqierjia/StrataGate-AgentMemory?ref=badge">
|
|
34
|
+
<img src="https://dshfind.com/api/card/diqierjia/StrataGate-AgentMemory?lang=en" alt="StrataGate on dshfind: rating and cumulative downloads" width="350" />
|
|
35
|
+
</a>
|
|
36
|
+
</td>
|
|
37
|
+
<td align="center">
|
|
38
|
+
<strong>npm downloads</strong><br /><br />
|
|
39
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/npm/dt/stratagate-dsh.svg?label=total%20downloads" alt="Total npm downloads" /></a><br />
|
|
40
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.npmjs.org%2Fdownloads%2Fpoint%2Flast-month%2Fstratagate-dsh&query=%24.downloads&label=last%2030%20days&color=brightgreen" alt="npm downloads in the last 30 days" /></a>
|
|
41
|
+
</td>
|
|
42
|
+
</tr>
|
|
43
|
+
</table>
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<a href="https://awesome-dsh-plugin.com"><img src="https://awesome-dsh-plugin.com/badge.svg" alt="Awesome DSH Plugin" /></a>
|
|
47
|
+
<a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg" alt="Contributions welcome" /></a>
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
26
54
|
## Why StrataGate?
|
|
27
55
|
|
|
28
56
|
1. **Short-term memory: details fade as the conversation progresses and expand when needed.**
|
package/README.zh-CN.md
CHANGED
|
@@ -8,15 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
StrataGate 是 DeepSeek Harness 的跨会话记忆插件。近期对话保留细节,较早对话逐渐简化,需要时可以找回原文;重要决定、偏好和计划会整理为长期记忆,供后续会话使用。
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[](CONTRIBUTING.zh-CN.md)
|
|
18
|
-
|
|
19
|
-
[](https://dshfind.com/zh/plugins/diqierjia/StrataGate-AgentMemory?ref=badge)
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/diqierjia/StrataGate-AgentMemory/actions/workflows/ci.yml"><img src="https://github.com/diqierjia/StrataGate-AgentMemory/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/npm/v/stratagate-dsh.svg" alt="npm version" /></a>
|
|
14
|
+
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a>
|
|
15
|
+
<a href="https://github.com/diqierjia/StrataGate-AgentMemory/stargazers"><img src="https://img.shields.io/github/stars/diqierjia/StrataGate-AgentMemory?style=social&label=Stars" alt="GitHub stars" /></a>
|
|
16
|
+
</p>
|
|
20
17
|
|
|
21
18
|
[English](README.md) · [DeepSeek Harness 插件说明](docs/DSH.zh-CN.md) · [架构说明](docs/ARCHITECTURE.md) · [完整评测](docs/EVALUATION.md)
|
|
22
19
|
|
|
@@ -24,6 +21,36 @@ StrataGate 是 DeepSeek Harness 的跨会话记忆插件。近期对话保留细
|
|
|
24
21
|
|
|
25
22
|
</div>
|
|
26
23
|
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
<div align="center">
|
|
27
|
+
|
|
28
|
+
<h3 align="center">社区与下载</h3>
|
|
29
|
+
|
|
30
|
+
<table align="center">
|
|
31
|
+
<tr>
|
|
32
|
+
<td align="center">
|
|
33
|
+
<a href="https://dshfind.com/zh/plugins/diqierjia/StrataGate-AgentMemory?ref=badge">
|
|
34
|
+
<img src="https://dshfind.com/api/card/diqierjia/StrataGate-AgentMemory?lang=zh" alt="StrataGate 的 dshfind 收录、评分与累计下载" width="350" />
|
|
35
|
+
</a>
|
|
36
|
+
</td>
|
|
37
|
+
<td align="center">
|
|
38
|
+
<strong>npm 下载统计</strong><br /><br />
|
|
39
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/npm/dt/stratagate-dsh.svg?label=%E7%B4%AF%E8%AE%A1%E4%B8%8B%E8%BD%BD" alt="npm 累计下载量" /></a><br />
|
|
40
|
+
<a href="https://www.npmjs.com/package/stratagate-dsh"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.npmjs.org%2Fdownloads%2Fpoint%2Flast-month%2Fstratagate-dsh&query=%24.downloads&label=%E8%BF%91%2030%20%E5%A4%A9&color=brightgreen" alt="npm 近 30 天下载量" /></a>
|
|
41
|
+
</td>
|
|
42
|
+
</tr>
|
|
43
|
+
</table>
|
|
44
|
+
|
|
45
|
+
<p align="center">
|
|
46
|
+
<a href="https://awesome-dsh-plugin.com"><img src="https://awesome-dsh-plugin.com/badge.svg" alt="Awesome DSH Plugin" /></a>
|
|
47
|
+
<a href="CONTRIBUTING.zh-CN.md"><img src="https://img.shields.io/badge/%E6%AC%A2%E8%BF%8E%E8%B4%A1%E7%8C%AE-brightgreen.svg" alt="欢迎贡献" /></a>
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
27
54
|
## 为什么选择 StrataGate?
|
|
28
55
|
|
|
29
56
|
1. **短期记忆:随对话推进逐渐模糊,需要时重新展开。**
|