@lmzhen/dsh-evolution-curator 0.3.31 → 0.3.32
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 +14 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -563,7 +563,20 @@ var EvolutionCurator = class extends Service {
|
|
|
563
563
|
record.archived_at = record.archived_at ?? (/* @__PURE__ */ new Date()).toISOString();
|
|
564
564
|
stateOwned.add(name);
|
|
565
565
|
}
|
|
566
|
-
|
|
566
|
+
let wasBundled = false;
|
|
567
|
+
try {
|
|
568
|
+
wasBundled = await this.io.exists(join(this.skills.root, ".archive", name, markerEntryName("bundled")));
|
|
569
|
+
if (!wasBundled) {
|
|
570
|
+
const archiveEntries = await this.io.list(join(this.skills.root, ".archive")).catch(() => []);
|
|
571
|
+
for (const entry of archiveEntries) if (entry.startsWith(`${name}-`)) {
|
|
572
|
+
wasBundled = await this.io.exists(join(this.skills.root, ".archive", entry, markerEntryName("bundled")));
|
|
573
|
+
if (wasBundled) break;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
} catch (probeError) {
|
|
577
|
+
this.ctx.logger.warn(`evolution-curator: bundled marker probe for "${name}" failed: ${probeError instanceof Error ? probeError.message : String(probeError)}`);
|
|
578
|
+
}
|
|
579
|
+
if (wasBundled) {
|
|
567
580
|
suppressedNames.add(name);
|
|
568
581
|
suppressedAdded.add(name);
|
|
569
582
|
suppressedChanged = true;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-curator",
|
|
3
3
|
"description": "Deterministic skill lifecycle and recovery (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.32",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,20 +31,20 @@
|
|
|
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.32"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
38
38
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
39
39
|
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
40
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
41
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
40
|
+
"@lmzhen/dsh-evolution-io": "^0.3.32",
|
|
41
|
+
"@lmzhen/dsh-evolution-state": "^0.3.32"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
45
45
|
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2",
|
|
46
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
47
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
48
|
-
"@lmzhen/dsh-evolution-state": "^0.3.
|
|
46
|
+
"@lmzhen/dsh-evolution-core": "^0.3.32",
|
|
47
|
+
"@lmzhen/dsh-evolution-io": "^0.3.32",
|
|
48
|
+
"@lmzhen/dsh-evolution-state": "^0.3.32"
|
|
49
49
|
}
|
|
50
50
|
}
|