@lmzhen/dsh-evolution-approval 0.3.24 → 0.3.25
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 +8 -8
package/lib/index.js
CHANGED
|
@@ -238,7 +238,10 @@ function normalizeSummary(input) {
|
|
|
238
238
|
const trimmed = input.summary.length > 120 ? `${input.summary.slice(0, 117)}...` : input.summary;
|
|
239
239
|
if (input.kind === "memory") {
|
|
240
240
|
const candidate = input.args;
|
|
241
|
-
if (Array.isArray(candidate?.operations) && candidate.operations.length > 1)
|
|
241
|
+
if (Array.isArray(candidate?.operations) && candidate.operations.length > 1) {
|
|
242
|
+
const targetLabel = candidate.target ?? "memory";
|
|
243
|
+
return `memory ${targetLabel === "memory" ? "" : `${targetLabel} `}batch of ${candidate.operations.length} operations`;
|
|
244
|
+
}
|
|
242
245
|
}
|
|
243
246
|
if (input.kind === "skill" && /^skill delete /.test(trimmed)) return `${trimmed} (warning: archive)`;
|
|
244
247
|
return trimmed;
|
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.25",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
38
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.3.
|
|
39
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
38
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.3.25",
|
|
39
|
+
"@lmzhen/dsh-evolution-state": "^0.3.25"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
43
|
-
"@lmzhen/dsh-evolution-state-storage": "^0.3.
|
|
44
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
45
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
46
|
-
"@lmzhen/dsh-evolution-io-node": "^0.3.
|
|
47
|
-
"@lmzhen/dsh-evolution-state-json": "^0.3.
|
|
43
|
+
"@lmzhen/dsh-evolution-state-storage": "^0.3.25",
|
|
44
|
+
"@lmzhen/dsh-evolution-state": "^0.3.25",
|
|
45
|
+
"@lmzhen/dsh-evolution-io": "^0.3.25",
|
|
46
|
+
"@lmzhen/dsh-evolution-io-node": "^0.3.25",
|
|
47
|
+
"@lmzhen/dsh-evolution-state-json": "^0.3.25"
|
|
48
48
|
}
|
|
49
49
|
}
|