@lmzhen/dsh-evolution-approval 0.3.24 → 0.3.26

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -1
  2. 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) return `memory ${candidate.target ?? "memory"} batch of ${candidate.operations.length} operations`;
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.24",
4
+ "version": "0.3.26",
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.24",
39
- "@lmzhen/dsh-evolution-state": "^0.3.24"
38
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.26",
39
+ "@lmzhen/dsh-evolution-state": "^0.3.26"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
43
- "@lmzhen/dsh-evolution-state-storage": "^0.3.24",
44
- "@lmzhen/dsh-evolution-state": "^0.3.24",
45
- "@lmzhen/dsh-evolution-io": "^0.3.24",
46
- "@lmzhen/dsh-evolution-io-node": "^0.3.24",
47
- "@lmzhen/dsh-evolution-state-json": "^0.3.24"
43
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.26",
44
+ "@lmzhen/dsh-evolution-state": "^0.3.26",
45
+ "@lmzhen/dsh-evolution-io": "^0.3.26",
46
+ "@lmzhen/dsh-evolution-io-node": "^0.3.26",
47
+ "@lmzhen/dsh-evolution-state-json": "^0.3.26"
48
48
  }
49
49
  }