@lmzhen/dsh-evolution-commands 0.1.0-rc.44 → 0.1.0-rc.45

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 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -60,10 +60,11 @@ function apply(ctx) {
60
60
  if (!curator) return err("Curator service not mounted.");
61
61
  const state = await curator.status();
62
62
  if (!state) return ok("No curator state yet: the first automatic pass is deferred until the interval elapses.");
63
+ const lastRun = typeof state.lastRunAt === "number" && Number.isFinite(state.lastRunAt) && state.lastRunAt > 0 ? new Date(state.lastRunAt).toISOString() : "unknown";
63
64
  return ok([
64
65
  `paused=${state.paused}`,
65
66
  `runs=${state.runCount}`,
66
- `lastRun=${new Date(state.lastRunAt).toISOString()}`,
67
+ `lastRun=${lastRun}`,
67
68
  `summary=${state.lastSummary}`
68
69
  ].join("\n"));
69
70
  }
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 (community build)",
4
- "version": "0.1.0-rc.44",
4
+ "version": "0.1.0-rc.45",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,7 +33,7 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "@deepseek-ai/schemastery": "^3.18.1",
36
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.44"
36
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.45"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",