@lmzhen/dsh-evolution-approval 0.3.82 → 0.3.83
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 +2 -2
- package/lib/index.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @lmzhen/dsh-evolution-approval
|
|
2
2
|
|
|
3
3
|
Stage/pending approval service for Hermes-style self-evolution writes.
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ node node_modules/vitest/vitest.mjs run packages/evolution/evolution-approval/te
|
|
|
22
22
|
|
|
23
23
|
#### What the model sees
|
|
24
24
|
|
|
25
|
-
`@
|
|
25
|
+
`@lmzhen/dsh-evolution-approval` registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.
|
|
26
26
|
|
|
27
27
|
#### Token effect
|
|
28
28
|
|
package/lib/index.js
CHANGED
|
@@ -307,7 +307,7 @@ var EvolutionApproval = class extends Service {
|
|
|
307
307
|
await this.state().releasePendingClaim(id, claimId);
|
|
308
308
|
return {
|
|
309
309
|
ok: false,
|
|
310
|
-
message: /changed since this plan|no entry matching|not found|no longer exists/i.test(result.message) ? `${result.message} — a sibling write from the same plan may have already changed this target, so repeated approves will keep failing. Reject this record unless the target changed again.` : result.message
|
|
310
|
+
message: /changed since this plan|no entry matching|not found|no longer exists|path traversal/i.test(result.message) ? `${result.message} — a sibling write from the same plan may have already changed this target, so repeated approves will keep failing. Reject this record unless the target changed again.` : result.message
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
313
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-approval",
|
|
3
3
|
"description": "Stage/pending approval service for Hermes-style self-evolution writes (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.83",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.3.83"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
34
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.3.
|
|
35
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
34
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.3.83",
|
|
35
|
+
"@lmzhen/dsh-evolution-state": "^0.3.83"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
39
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.3.
|
|
40
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
38
|
+
"@lmzhen/dsh-evolution-core": "^0.3.83",
|
|
39
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.3.83",
|
|
40
|
+
"@lmzhen/dsh-evolution-state": "^0.3.83"
|
|
41
41
|
}
|
|
42
42
|
}
|