@lmzhen/dsh-evolution-commands 0.3.60 → 0.3.62

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 +3 -3
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -138,7 +138,7 @@ const COMMAND_ENTRIES = [
138
138
  summary: "restore skills from the latest snapshot"
139
139
  },
140
140
  {
141
- usage: "consolidate <target> <sources...>",
141
+ usage: "consolidate <target> <sources...> [--plan <runId>]",
142
142
  summary: "merge source skills into a target umbrella skill"
143
143
  },
144
144
  {
@@ -166,7 +166,7 @@ const COMMAND_ENTRIES = [
166
166
  summary: "generate the Evolution agent preset into the user root"
167
167
  },
168
168
  {
169
- usage: "restructure <name> \"<heading>\" <to_file>",
169
+ usage: "restructure <name> \"<heading>\" <to_file> [--plan <runId>]",
170
170
  summary: "move a body section into a references/ file"
171
171
  },
172
172
  {
@@ -402,7 +402,7 @@ function apply(ctx, rawConfig = {}) {
402
402
  if (maintainInFlightSince > 0) return err(`Maintenance scan is already running (since ~${Math.max(1, Math.round((Date.now() - maintainInFlightSince) / 1e3))}s ago) — re-submitting now would cancel it. Wait for it to settle; the result appears when it finishes.`);
403
403
  const cooldownMs = clampedNumber(config.maintainCooldownMs, 3e4, { min: 0 });
404
404
  const sinceLast = Date.now() - lastMaintainAt;
405
- if (cooldownMs > 0 && sinceLast < cooldownMs) return err(`Maintenance cooldown active (${Math.ceil((cooldownMs - sinceLast) / 1e3)}s) — latest scan ${lastMaintainRunId}; re-running now would spend another model call.`);
405
+ if (cooldownMs > 0 && sinceLast < cooldownMs) return err(`Maintenance cooldown active (${Math.ceil((cooldownMs - sinceLast) / 1e3)}s)${lastMaintainRunId === "" ? "" : ` — latest scan ${lastMaintainRunId}`}; re-running now would spend another model call.`);
406
406
  const ioRegistry = ctx.get("evolutionIo");
407
407
  const subagents = ctx.get("subagents");
408
408
  if (!ioRegistry) return err("Evolution IO registry not mounted — maintenance scan unavailable.");
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.60",
4
+ "version": "0.3.62",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -31,12 +31,12 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
33
  "@deepseek-ai/schemastery": "^3.18.1",
34
- "@lmzhen/dsh-evolution-approval": "^0.3.60",
35
- "@lmzhen/dsh-evolution-core": "^0.3.60",
36
- "@lmzhen/dsh-evolution-maintenance": "^0.3.60"
34
+ "@lmzhen/dsh-evolution-approval": "^0.3.62",
35
+ "@lmzhen/dsh-evolution-core": "^0.3.62",
36
+ "@lmzhen/dsh-evolution-maintenance": "^0.3.62"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@lmzhen/dsh-evolution-agent-preset": "^0.3.60"
39
+ "@lmzhen/dsh-evolution-agent-preset": "^0.3.62"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@deepseek-ai/cordis": "^4.0.1",