@lmzhen/dsh-tool-memory 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 -11
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
# @lmzhen/dsh-tool-memory
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
guidance section and the runtime snapshot of the current memory entries. It owns no store —
|
|
5
|
-
the memory files and their provider do.
|
|
3
|
+
> Agent 写记忆的工具。
|
|
6
4
|
|
|
7
|
-
##
|
|
5
|
+
## 你会看到
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
- **Prompt prefix / KV cache:** guidance text is prefix-stable; the runtime snapshot is replaced after successful memory writes and is otherwise unchanged between requests; family rules: `packages/README.md` §"Model-visible prompt prefix and the KV cache".
|
|
11
|
-
- **Mount it?** yes — the `tool-memory` row, carried by the `evolution-all` and one-click `evolution-preset` bundles and by the Evolution agent preset delta.
|
|
7
|
+
你对 Agent 说“记住…”,它写入项目记忆/用户画像。
|
|
12
8
|
|
|
13
|
-
##
|
|
9
|
+
## 什么时候会用到
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
- The pre-approval required-field pre-check and the store's own rejection text are hand-copied twins: the check runs on BOTH paths (every `operations[]` element and the normalized single operation) BEFORE the approval gate, so an approval-enabled deployment never stages a write the approved replay must then fail. Keeping the two texts in step is still manual; unifying them is deferred.
|
|
11
|
+
你想让 Agent 跨会话记住事实/偏好时。
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
## 默认 / 前提
|
|
14
|
+
|
|
15
|
+
all/分层预设才有;host 没有。
|
|
16
|
+
|
|
17
|
+
## 边界
|
|
18
|
+
|
|
19
|
+
审批开启时会先进入待批。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-tool-memory",
|
|
3
3
|
"description": "Model-facing memory tool and prompt context (community build)",
|
|
4
|
-
"version": "0.32.
|
|
4
|
+
"version": "0.32.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,22 +27,22 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
30
|
-
"@lmzhen/dsh-evolution-approval": "^0.32.
|
|
31
|
-
"@lmzhen/dsh-evolution-core": "^0.32.
|
|
30
|
+
"@lmzhen/dsh-evolution-approval": "^0.32.5",
|
|
31
|
+
"@lmzhen/dsh-evolution-core": "^0.32.5"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@deepseek-ai/cordis": "^4.0.5",
|
|
35
35
|
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2",
|
|
36
36
|
"@deepseek-ai/dsh-system-prompt": "^0.2.1-rc.2",
|
|
37
|
-
"@lmzhen/dsh-memory": "^0.32.
|
|
37
|
+
"@lmzhen/dsh-memory": "^0.32.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@deepseek-ai/dsh-tools": "^0.2.1-rc.2",
|
|
41
41
|
"@deepseek-ai/dsh-system-prompt": "^0.2.1-rc.2",
|
|
42
42
|
"@deepseek-ai/dsh-agent-loop-testkit": "^0.2.1-rc.2",
|
|
43
|
-
"@lmzhen/dsh-evolution-approval": "^0.32.
|
|
44
|
-
"@lmzhen/dsh-memory": "^0.32.
|
|
45
|
-
"@lmzhen/dsh-memory-files": "^0.32.
|
|
43
|
+
"@lmzhen/dsh-evolution-approval": "^0.32.5",
|
|
44
|
+
"@lmzhen/dsh-memory": "^0.32.5",
|
|
45
|
+
"@lmzhen/dsh-memory-files": "^0.32.5"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|