@lmzhen/dsh-evolution-feedback 0.3.34 → 0.3.35
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.
- package/lib/index.js +1 -4
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -412,7 +412,7 @@ function apply(ctx, rawConfig = {}) {
|
|
|
412
412
|
const configuredThreshold = rawConfig.qualityWarnThreshold ?? -.25;
|
|
413
413
|
const qualityWarnThreshold = resolveQualityWarnThreshold(rawConfig);
|
|
414
414
|
if (qualityWarnThreshold !== configuredThreshold) ctx.logger.warn(`evolution-feedback: qualityWarnThreshold=${String(configuredThreshold)} is invalid; falling back to the default -0.25`);
|
|
415
|
-
const feedback = new EvolutionFeedback(void 0, evolutionRoot(), rawConfig.path || void 0, (message) => {
|
|
415
|
+
const feedback = new EvolutionFeedback(void 0, evolutionRoot(), (rawConfig.path ?? "").trim() || void 0, (message) => {
|
|
416
416
|
ctx.logger.warn(message);
|
|
417
417
|
});
|
|
418
418
|
ctx.provide("evolutionFeedback", feedback);
|
|
@@ -425,10 +425,7 @@ function apply(ctx, rawConfig = {}) {
|
|
|
425
425
|
});
|
|
426
426
|
});
|
|
427
427
|
const baseRecord = feedback.record.bind(feedback);
|
|
428
|
-
let qualityWired = false;
|
|
429
428
|
ctx.inject(["skillUsage"], (skillCtx) => {
|
|
430
|
-
if (qualityWired) return;
|
|
431
|
-
qualityWired = true;
|
|
432
429
|
const skillUsage = skillCtx.skillUsage;
|
|
433
430
|
const pushQuality = (target, kind) => {
|
|
434
431
|
if (kind !== "skill") 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.3.
|
|
4
|
+
"version": "0.3.35",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
34
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
34
|
+
"@lmzhen/dsh-evolution-core": "^0.3.35"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
38
38
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
39
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
40
|
-
"@lmzhen/dsh-skill-usage": "^0.3.
|
|
39
|
+
"@lmzhen/dsh-evolution-io": "^0.3.35",
|
|
40
|
+
"@lmzhen/dsh-skill-usage": "^0.3.35"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
44
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
45
|
-
"@lmzhen/dsh-evolution-io-node": "^0.3.
|
|
46
|
-
"@lmzhen/dsh-skill-usage": "^0.3.
|
|
44
|
+
"@lmzhen/dsh-evolution-io": "^0.3.35",
|
|
45
|
+
"@lmzhen/dsh-evolution-io-node": "^0.3.35",
|
|
46
|
+
"@lmzhen/dsh-skill-usage": "^0.3.35"
|
|
47
47
|
}
|
|
48
48
|
}
|