@lmzhen/dsh-memory-files 0.32.4 → 0.32.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/README.md +12 -22
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,33 +1,23 @@
|
|
|
1
1
|
# @lmzhen/dsh-memory-files
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 内部组件,把记忆存到 `MEMORY.md`/`USER.md`。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 你会看到
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- **Prompt prefix / KV cache:** unchanged by this package: family-level rules single-sourced in `packages/README.md` §"Model-visible prompt prefix and the KV cache".
|
|
9
|
-
- **Mount it?** yes — the `memory-files` provider row, in `evolution-host`/`evolution-all`/one-click `evolution-preset`.
|
|
7
|
+
用户看到的是记忆被记住/自动带回来。
|
|
10
8
|
|
|
11
|
-
##
|
|
9
|
+
## 什么时候会用到
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
- `memoryCharLimit` / `userCharLimit` (`2200` / `1375`) the budget the STORE enforces per target.
|
|
15
|
-
Deprecated names (G0/S0.3): the canonical ids are the policy row's `memoryChars` /
|
|
16
|
-
`userChars` (what the review planner reads). The two sides are not
|
|
17
|
-
auto-synchronised — `/evolution doctor` reports the divergence (`budgetIssues`).
|
|
18
|
-
Reading the legacy names still works; writing them is refused. Removal was planned for 0.7.0 and is deferred:
|
|
19
|
-
both aliases still ship, so no later version is claimed here.
|
|
20
|
-
- `root`: directory override; `''` means `$DSH_HOME/memories`.
|
|
21
|
-
- `addDatePrefix` / `maxConsolidationFailures` (`false` / `3`) date prefixes on entries; consolidation failures one turn tolerates.
|
|
22
|
-
- `threatExemptLabels` (default `[]`): benign threat labels for the MEMORY store (per-site rule in `evolution-threat`).
|
|
11
|
+
每次写记忆、新会话注入时。
|
|
23
12
|
|
|
24
|
-
##
|
|
13
|
+
## 默认 / 前提
|
|
25
14
|
|
|
26
|
-
|
|
27
|
-
- Nothing selects this provider implicitly: with `memory.provider` empty the FIRST registered provider serves every read/write: set the pin or row order decides.
|
|
15
|
+
随记忆功能自动工作。
|
|
28
16
|
|
|
29
|
-
|
|
17
|
+
## 边界
|
|
30
18
|
|
|
31
|
-
|
|
19
|
+
预算写满会拒绝,不会静默截断。
|
|
32
20
|
|
|
33
|
-
|
|
21
|
+
## 维护者参考:参数别名(G0/S0.3)
|
|
22
|
+
|
|
23
|
+
`memoryCharLimit` → `memoryChars`;`userCharLimit` → `userChars`。旧名仍可读,写入会拒绝。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-memory-files",
|
|
3
3
|
"description": "Local layered memory provider (community build)",
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.32.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.32.5"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
34
|
-
"@lmzhen/dsh-evolution-io": "^0.32.
|
|
35
|
-
"@lmzhen/dsh-memory": "^0.32.
|
|
34
|
+
"@lmzhen/dsh-evolution-io": "^0.32.5",
|
|
35
|
+
"@lmzhen/dsh-memory": "^0.32.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lmzhen/dsh-evolution-core": "^0.32.
|
|
39
|
-
"@lmzhen/dsh-evolution-io": "^0.32.
|
|
40
|
-
"@lmzhen/dsh-memory": "^0.32.
|
|
38
|
+
"@lmzhen/dsh-evolution-core": "^0.32.5",
|
|
39
|
+
"@lmzhen/dsh-evolution-io": "^0.32.5",
|
|
40
|
+
"@lmzhen/dsh-memory": "^0.32.5"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|