@lmzhen/dsh-evolution-replay 0.3.51 → 0.3.53
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 +7 -0
- package/lib/types/index.d.ts +7 -0
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -109,6 +109,13 @@ var EvolutionReplayDriver = class {
|
|
|
109
109
|
});
|
|
110
110
|
if (this.plans.length > this.maxPlans) this.plans.shift();
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* F-11: test-support API — no production consumer reads the raw
|
|
114
|
+
* plan list (the leaderboard path goes through `compare()`); tests use this
|
|
115
|
+
* as a read/inspection window. Kept by declaration (same posture as the
|
|
116
|
+
* skill-usage `invalidate()` V6-44 declaration), so it is documented intent
|
|
117
|
+
* rather than undeclared dead code.
|
|
118
|
+
*/
|
|
112
119
|
plansSnapshot() {
|
|
113
120
|
return [...this.plans];
|
|
114
121
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -64,6 +64,13 @@ export declare class EvolutionReplayDriver {
|
|
|
64
64
|
private readonly weights;
|
|
65
65
|
constructor(config?: Config, warn?: (message: string) => void);
|
|
66
66
|
record(plan: EvolutionPlanAppliedEvent): void;
|
|
67
|
+
/**
|
|
68
|
+
* F-11: test-support API — no production consumer reads the raw
|
|
69
|
+
* plan list (the leaderboard path goes through `compare()`); tests use this
|
|
70
|
+
* as a read/inspection window. Kept by declaration (same posture as the
|
|
71
|
+
* skill-usage `invalidate()` V6-44 declaration), so it is documented intent
|
|
72
|
+
* rather than undeclared dead code.
|
|
73
|
+
*/
|
|
67
74
|
plansSnapshot(): ReplayPlan[];
|
|
68
75
|
compare(weights?: ReplayWeights): ReplayResult;
|
|
69
76
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-replay",
|
|
3
3
|
"description": "Replay/A-B evaluation primitives for evolution plans (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.53",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/lmzhen/dsh-evolution.git",
|
|
11
|
-
"directory": "packages/
|
|
11
|
+
"directory": "packages/evolution-replay"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "lib/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
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.53"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
42
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
42
|
+
"@lmzhen/dsh-evolution-core": "^0.3.53"
|
|
43
43
|
}
|
|
44
44
|
}
|