@lmzhen/dsh-tool-memory 0.3.19 → 0.3.20
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/lib/index.js +2 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -2839,6 +2839,7 @@ async function apply(ctx, rawConfig) {
|
|
|
2839
2839
|
summary: `memory ${target} ${Array.isArray(args.operations) ? `${args.operations.length} ops` : args.action ?? "add"}`,
|
|
2840
2840
|
args: normalized,
|
|
2841
2841
|
origin,
|
|
2842
|
+
...exec.agent?.session.id ? { sessionId: exec.agent.session.id } : {},
|
|
2842
2843
|
...sessionPolicy !== void 0 ? { sessionPolicy } : {}
|
|
2843
2844
|
});
|
|
2844
2845
|
if (decision.action === "staged") return {
|
|
@@ -2847,7 +2848,7 @@ async function apply(ctx, rawConfig) {
|
|
|
2847
2848
|
entries: [],
|
|
2848
2849
|
chars: 0,
|
|
2849
2850
|
limit: 0,
|
|
2850
|
-
pending_id: decision.pendingId
|
|
2851
|
+
...decision.pendingId !== void 0 ? { pending_id: decision.pendingId } : {}
|
|
2851
2852
|
};
|
|
2852
2853
|
}
|
|
2853
2854
|
return await executeCore(normalized);
|
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.3.
|
|
4
|
+
"version": "0.3.20",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
36
|
-
"@lmzhen/dsh-evolution-approval": "^0.3.
|
|
36
|
+
"@lmzhen/dsh-evolution-approval": "^0.3.20"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
41
41
|
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
42
42
|
"@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
|
|
43
|
-
"@lmzhen/dsh-memory": "^0.3.
|
|
44
|
-
"@lmzhen/dsh-memory-files": "^0.3.
|
|
43
|
+
"@lmzhen/dsh-memory": "^0.3.20",
|
|
44
|
+
"@lmzhen/dsh-memory-files": "^0.3.20"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
48
48
|
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
49
49
|
"@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
|
|
50
50
|
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.1-rc.2",
|
|
51
|
-
"@lmzhen/dsh-memory": "^0.3.
|
|
52
|
-
"@lmzhen/dsh-memory-files": "^0.3.
|
|
51
|
+
"@lmzhen/dsh-memory": "^0.3.20",
|
|
52
|
+
"@lmzhen/dsh-memory-files": "^0.3.20"
|
|
53
53
|
}
|
|
54
54
|
}
|