@lmzhen/dsh-evolution-plan-validator 0.3.48 → 0.3.49
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 +4 -1
- package/package.json +2 -3
package/lib/index.js
CHANGED
|
@@ -111,7 +111,10 @@ function validateEvolutionPlan(plan, context) {
|
|
|
111
111
|
kind: "memory",
|
|
112
112
|
reason
|
|
113
113
|
});
|
|
114
|
-
else memoryOps.push(op
|
|
114
|
+
else memoryOps.push(op.action === void 0 ? {
|
|
115
|
+
...op,
|
|
116
|
+
action: "add"
|
|
117
|
+
} : op);
|
|
115
118
|
}
|
|
116
119
|
for (const [index, rawOp] of (rawSkillOps ?? []).entries()) {
|
|
117
120
|
if (rawOp === null || typeof rawOp !== "object" || Array.isArray(rawOp)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-plan-validator",
|
|
3
3
|
"description": "Deterministic validator for model-produced evolution plans (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.49",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@
|
|
34
|
-
"@lmzhen/dsh-evolution-core": "^0.3.48"
|
|
33
|
+
"@lmzhen/dsh-evolution-core": "^0.3.49"
|
|
35
34
|
},
|
|
36
35
|
"peerDependencies": {
|
|
37
36
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|