stratagate-dsh 0.2.38 → 0.2.40
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 +15 -1
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/client.js +5 -5
- package/dist/index.js +731 -59
- package/dist/index.js.map +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/DSH.md +1 -1
- package/docs/DSH.zh-CN.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.2.
|
|
3
|
+
## 0.2.40 - 2026-08-31
|
|
4
|
+
|
|
5
|
+
- Make Knowledge Graph limits explicit, render the top 100 nodes by default, and let users reveal 100 more at a time.
|
|
6
|
+
- Add total-aware pagination for Events and Blocks in 40-item pages and usage audits in 100-item pages.
|
|
7
|
+
|
|
8
|
+
## 0.2.39 - 2026-08-31
|
|
9
|
+
|
|
10
|
+
- Preview external-memory imports without writes, skip exact duplicates deterministically, and ask the configured model to adjudicate Top-K local matches.
|
|
11
|
+
- Apply high-confidence decisions automatically while requiring confirmation only for low-confidence candidates.
|
|
12
|
+
- Commit imports atomically and support undoing a committed import batch, including affected Event relationships and derived projections.
|
|
13
|
+
- Keep model adjudication outside storage revision ownership, then reload and retry only the short idempotent commit so concurrent writes cannot fail a running import.
|
|
14
|
+
- Persist external-memory analysis jobs with per-candidate progress, recover malformed exports through a model fallback, and resume progress plus low-confidence review after reopening the import page.
|
|
15
|
+
- Keep import status polling alive across transient network failures, reload stale active namespaces before retry, and resume background adjudication from the latest SQLite revision after concurrent memory writes.
|
|
16
|
+
|
|
17
|
+
## 0.2.37 - 2026-08-29
|
|
4
18
|
|
|
5
19
|
- Seal each completed Block immediately with deterministic L3-L4 and permanent L5, while keeping model-pending Blocks out of decay and native-surface replacement until L0-L2 and Event processing both complete.
|
|
6
20
|
- Add persisted summary jobs, bounded exponential retries, and SQLite schema v9 migration so derivation failures cannot lose turns, receipts, or block later sealing.
|
package/README.md
CHANGED
|
@@ -215,7 +215,7 @@ A new event can supersede an old one, while the old event and its source remain
|
|
|
215
215
|
|
|
216
216
|
The exported prompt and parser use the `stratagate.external-memory.v2` format. Unknown dates remain unknown: the importer preserves the original temporal wording instead of guessing from the current date or message order. See [`docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md`](docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md) for the current integration guide.
|
|
217
217
|
|
|
218
|
-
The DeepSeek Harness UI
|
|
218
|
+
The DeepSeek Harness UI previews every import, skips exact duplicates deterministically, and asks the configured model to choose add, merge, supersede, conflict, or ignore against Top-K local matches. High-confidence decisions are applied automatically; only low-confidence decisions require confirmation. Each committed batch can be undone from the result screen.
|
|
219
219
|
|
|
220
220
|
## A real retrieval path
|
|
221
221
|
|
package/README.zh-CN.md
CHANGED
|
@@ -222,7 +222,7 @@ await memory.recordMemoryUse({ eventIds, elementIds });
|
|
|
222
222
|
|
|
223
223
|
库导出 `EXTERNAL_MEMORY_EXPORT_PROMPT_ZH_CN`、`EXTERNAL_MEMORY_DECIDER_PROMPT_ZH_CN` 和 `externalMemoryJsonExtractor`,可让外部 AI 输出可校验的 `stratagate.external-memory.v2` JSON,再由本地模型从五种处理方式中选择。v2 将记忆性质与内容分类分开;时间字段严格区分“被提及时间”和“实际发生时间”。日期不确定时,系统会省略日期并保留原始说法,不会根据当前日期或聊天顺序猜测。
|
|
224
224
|
|
|
225
|
-
完整接入示例和提示词说明见 [`docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md`](docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md)。DeepSeek Harness
|
|
225
|
+
完整接入示例和提示词说明见 [`docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md`](docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md)。DeepSeek Harness 管理界面会先预览导入,JSON 不合格时使用模型兜底恢复,确定性忽略完全重复项,并让当前模型结合 Top-K 本地匹配选择新增、合并、取代、冲突或忽略。导入分析及逐条进度会持久化,关闭后重新打开页面可继续查看;高置信度判断自动采用,低置信度项可人工选择具体动作;提交后可按批次撤销。
|
|
226
226
|
|
|
227
227
|
新事件可以取代旧事件,但旧事件及其来源仍然保留。遗忘可以让事件退出搜索,同时不破坏来源链路。
|
|
228
228
|
|