@lmzhen/dsh-evolution-commands 0.3.56 → 0.3.57

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 +2 -2
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -60,7 +60,7 @@ async function diagnose(ctx, options = {}) {
60
60
  if (host && preset) conflicts.push("evolution-host and evolution-preset are installed together — the infra rows double-mount. Keep ONE.");
61
61
  if (full && layered) conflicts.push("evolution-all and the layered Evolution preset are both present — the model rows double-mount. Keep ONE (use layered without all, or drop the preset).");
62
62
  const services = {
63
- review: has("evolutionReview"),
63
+ review: full || host || preset,
64
64
  curator: has("evolutionCurator"),
65
65
  approval: has("evolutionApproval"),
66
66
  skillUsage: has("skillUsage"),
@@ -306,7 +306,7 @@ function apply(ctx, rawConfig = {}) {
306
306
  `failed=${reportAny.failed.map((item) => `${nameOf(item)}: ${reasonOf(item)}`).join(", ") || "(none)"}`
307
307
  ].join("\n"));
308
308
  }
309
- if (input.startsWith("restore ")) {
309
+ if (input === "restore" || input.startsWith("restore ")) {
310
310
  const curator = ctx.get("evolutionCurator");
311
311
  const result = curator ? await curator.restoreSnapshot() : {
312
312
  ok: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-commands",
3
3
  "description": "Human commands for the evolution family (/evolution pending|curator|maintain|doctor) (community build)",
4
- "version": "0.3.56",
4
+ "version": "0.3.57",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -30,12 +30,12 @@
30
30
  ],
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@lmzhen/dsh-evolution-approval": "^0.3.56",
34
- "@lmzhen/dsh-evolution-core": "^0.3.56",
35
- "@lmzhen/dsh-evolution-maintenance": "^0.3.56"
33
+ "@lmzhen/dsh-evolution-approval": "^0.3.57",
34
+ "@lmzhen/dsh-evolution-core": "^0.3.57",
35
+ "@lmzhen/dsh-evolution-maintenance": "^0.3.57"
36
36
  },
37
37
  "optionalDependencies": {
38
- "@lmzhen/dsh-evolution-agent-preset": "^0.3.56"
38
+ "@lmzhen/dsh-evolution-agent-preset": "^0.3.57"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@deepseek-ai/cordis": "^4.0.1",