@lmzhen/dsh-evolution-feedback 0.26.15 → 0.26.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 +1 -2
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { EVENT_LOG_VERSION, appendEvolutionEvent, clampedNumber, eventsFile, evolutionEventPayloadIssue, evolutionIoAdapter, evolutionRoot, isPresent, isRecord, isUnknown, listEventArchives, parseEvolutionEvents, probeText, readEvolutionTimeline, transactIo } from "@lmzhen/dsh-evolution-core";
2
2
  import z from "@deepseek-ai/schemastery";
3
- import { preferProvider } from "@lmzhen/dsh-evolution-io";
4
3
  import { join } from "node:path";
5
4
  //#region lib/types/index.js
6
5
  /**
@@ -649,7 +648,7 @@ function apply(ctx, rawConfig = {}) {
649
648
  ctx.provide("evolutionFeedback", feedback);
650
649
  ctx.inject(["evolutionIo"], (ioCtx) => {
651
650
  const ioRegistry = ioCtx.evolutionIo;
652
- const io = evolutionIoAdapter(() => preferProvider(ioRegistry, ["fs"]));
651
+ const io = evolutionIoAdapter(() => ioRegistry.provider());
653
652
  feedback.attachIo(io);
654
653
  feedback.restore(io).catch((error) => {
655
654
  ioCtx.logger.warn(error);
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.26.15",
4
+ "version": "0.26.26",
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.4",
30
- "@lmzhen/dsh-evolution-core": "^0.26.15"
30
+ "@lmzhen/dsh-evolution-core": "^0.26.26"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.1",
34
- "@lmzhen/dsh-evolution-io": "^0.26.15",
35
- "@lmzhen/dsh-skill-usage": "^0.26.15"
34
+ "@lmzhen/dsh-evolution-io": "^0.26.26",
35
+ "@lmzhen/dsh-skill-usage": "^0.26.26"
36
36
  },
37
37
  "devDependencies": {
38
- "@lmzhen/dsh-evolution-io": "^0.26.15",
39
- "@lmzhen/dsh-evolution-io-node": "^0.26.15",
40
- "@lmzhen/dsh-skill-usage": "^0.26.15"
38
+ "@lmzhen/dsh-evolution-io": "^0.26.26",
39
+ "@lmzhen/dsh-evolution-io-node": "^0.26.26",
40
+ "@lmzhen/dsh-skill-usage": "^0.26.26"
41
41
  }
42
42
  }