@lmzhen/dsh-evolution-feedback 0.4.0 → 0.5.0

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 +1 -0
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -323,6 +323,7 @@ var EvolutionFeedback = class EvolutionFeedback {
323
323
  if (!path || !eventsPath || !recordIo) return;
324
324
  try {
325
325
  const { events, malformed } = await readEvolutionTimeline(recordIo, eventsPath);
326
+ if (events.length > 0 && await recordIo.readText(eventsPath).catch(() => null) === null) return;
326
327
  if (malformed) {
327
328
  this.warnOnce(TRUNCATED_TIMELINE_WARN);
328
329
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-feedback",
3
3
  "description": "Feedback-to-quality scoring for self-evolution (community build)",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,16 +27,16 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-core": "^0.4.0"
30
+ "@lmzhen/dsh-evolution-core": "^0.5.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.1",
34
- "@lmzhen/dsh-evolution-io": "^0.4.0",
35
- "@lmzhen/dsh-skill-usage": "^0.4.0"
34
+ "@lmzhen/dsh-evolution-io": "^0.5.0",
35
+ "@lmzhen/dsh-skill-usage": "^0.5.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@lmzhen/dsh-evolution-io": "^0.4.0",
39
- "@lmzhen/dsh-evolution-io-node": "^0.4.0",
40
- "@lmzhen/dsh-skill-usage": "^0.4.0"
38
+ "@lmzhen/dsh-evolution-io": "^0.5.0",
39
+ "@lmzhen/dsh-evolution-io-node": "^0.5.0",
40
+ "@lmzhen/dsh-skill-usage": "^0.5.0"
41
41
  }
42
42
  }