@lmzhen/dsh-tool-memory 0.3.41 → 0.3.43
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 +7 -0
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -173,6 +173,13 @@ async function apply(ctx, rawConfig) {
|
|
|
173
173
|
chars: 0,
|
|
174
174
|
limit: 0
|
|
175
175
|
};
|
|
176
|
+
if (Array.isArray(args.operations) && args.operations.length === 0) return {
|
|
177
|
+
ok: false,
|
|
178
|
+
message: "No operations provided (the operations array is empty).",
|
|
179
|
+
entries: [],
|
|
180
|
+
chars: 0,
|
|
181
|
+
limit: 0
|
|
182
|
+
};
|
|
176
183
|
const target = args.target === "user" ? "user" : "memory";
|
|
177
184
|
const normalized = Array.isArray(args.operations) ? {
|
|
178
185
|
target,
|
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.43",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
34
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
35
|
-
"@lmzhen/dsh-evolution-approval": "^0.3.
|
|
34
|
+
"@lmzhen/dsh-evolution-core": "^0.3.43",
|
|
35
|
+
"@lmzhen/dsh-evolution-approval": "^0.3.43"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
39
39
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
40
40
|
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
41
41
|
"@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
|
|
42
|
-
"@lmzhen/dsh-memory": "^0.3.
|
|
42
|
+
"@lmzhen/dsh-memory": "^0.3.43"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
46
46
|
"@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
|
|
47
47
|
"@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
|
|
48
48
|
"@deepseek-ai/dsh-agent-loop-testkit": "^0.1.1-rc.2",
|
|
49
|
-
"@lmzhen/dsh-memory": "^0.3.
|
|
50
|
-
"@lmzhen/dsh-memory-files": "^0.3.
|
|
49
|
+
"@lmzhen/dsh-memory": "^0.3.43",
|
|
50
|
+
"@lmzhen/dsh-memory-files": "^0.3.43"
|
|
51
51
|
}
|
|
52
52
|
}
|