@lmzhen/dsh-evolution-core 0.1.0-rc.24 → 0.1.0-rc.25
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 +5 -2
- package/lib/types/curator.d.ts +3 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -263,7 +263,8 @@ function buildCuratorRunReport(input) {
|
|
|
263
263
|
archiveCandidates: [...input.archiveCandidates],
|
|
264
264
|
archived: [...input.archived],
|
|
265
265
|
failed: [...input.failed],
|
|
266
|
-
...input.snapshotPath === void 0 ? {} : { snapshotPath: input.snapshotPath }
|
|
266
|
+
...input.snapshotPath === void 0 ? {} : { snapshotPath: input.snapshotPath },
|
|
267
|
+
...input.llmReviewEnabled === void 0 ? {} : { llmReviewEnabled: input.llmReviewEnabled }
|
|
267
268
|
};
|
|
268
269
|
}
|
|
269
270
|
const NOMINATION_NAME_RE = /^[a-z0-9][a-z0-9-]*$/;
|
|
@@ -1222,7 +1223,9 @@ var MemoryStore = class {
|
|
|
1222
1223
|
if (await this.oversizedFile(target)) return true;
|
|
1223
1224
|
const raw = await this.io.readText(fileFor(this.root, target));
|
|
1224
1225
|
if (raw === null) return false;
|
|
1225
|
-
|
|
1226
|
+
const entries = normalizeEntries(raw);
|
|
1227
|
+
if (entries.some((entry) => entry.length > this.limitFor(target))) return true;
|
|
1228
|
+
return render(entries) !== raw;
|
|
1226
1229
|
}
|
|
1227
1230
|
};
|
|
1228
1231
|
//#endregion
|
package/lib/types/curator.d.ts
CHANGED
|
@@ -55,6 +55,8 @@ export interface CuratorRunReport {
|
|
|
55
55
|
archived: CuratorArchivedSkill[];
|
|
56
56
|
failed: CuratorFailedSkill[];
|
|
57
57
|
snapshotPath?: string;
|
|
58
|
+
/** Whether the LLM nomination pass was enabled for this run (decision visibility). */
|
|
59
|
+
llmReviewEnabled?: boolean;
|
|
58
60
|
}
|
|
59
61
|
export interface CuratorReportInput {
|
|
60
62
|
runId: string;
|
|
@@ -66,6 +68,7 @@ export interface CuratorReportInput {
|
|
|
66
68
|
archived: readonly CuratorArchivedSkill[];
|
|
67
69
|
failed: readonly CuratorFailedSkill[];
|
|
68
70
|
snapshotPath?: string;
|
|
71
|
+
llmReviewEnabled?: boolean;
|
|
69
72
|
}
|
|
70
73
|
export declare function buildCuratorRunReport(input: CuratorReportInput): CuratorRunReport;
|
|
71
74
|
/** One LLM-nominated consolidation: `from` merges into the umbrella `into`. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-core",
|
|
3
3
|
"description": "Shared stores, prompts, signals and lifecycle logic for the dsh-evolution plugin family (community build)",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.25",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|