@lmzhen/dsh-evolution-review 0.1.0-rc.47 → 0.1.0-rc.49
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 +10 -2
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -265,7 +265,13 @@ function apply(ctx, rawConfig) {
|
|
|
265
265
|
return actions;
|
|
266
266
|
async function runApproved(kind, summary, stored, runnerArgs) {
|
|
267
267
|
if (!approval) return void 0;
|
|
268
|
-
if (approval.isEnabled === true && !approval.hasRunner(kind))
|
|
268
|
+
if (approval.isEnabled === true && !approval.hasRunner(kind)) {
|
|
269
|
+
ctx.logger.warn(`dsh-evolution-review: approval enabled but no replay runner registered for kind "${kind}" - skipping write (${summary})`);
|
|
270
|
+
return {
|
|
271
|
+
ok: false,
|
|
272
|
+
message: `Approval is enabled but no replay runner is registered for kind "${kind}"; write skipped (mount the tool that provides it, or disable approval).`
|
|
273
|
+
};
|
|
274
|
+
}
|
|
269
275
|
const decision = await approval.request({
|
|
270
276
|
kind,
|
|
271
277
|
summary,
|
|
@@ -308,7 +314,9 @@ function apply(ctx, rawConfig) {
|
|
|
308
314
|
ok: false,
|
|
309
315
|
message: "evolution-io service not mounted"
|
|
310
316
|
};
|
|
311
|
-
const library = new SkillLibrary(void 0, evolutionIoAdapter(() => io.provider()))
|
|
317
|
+
const library = new SkillLibrary(void 0, evolutionIoAdapter(() => io.provider()), void 0, (event) => {
|
|
318
|
+
ctx.emit("evolution/skill-mutated", event);
|
|
319
|
+
});
|
|
312
320
|
const op = skillArgs;
|
|
313
321
|
const name = op.name ?? "";
|
|
314
322
|
const origin = origins.library;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-review",
|
|
3
3
|
"description": "Background review orchestration (community build)",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.49",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
36
|
-
"@lmzhen/dsh-evolution-core": "^0.1.0-rc.
|
|
37
|
-
"@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.
|
|
36
|
+
"@lmzhen/dsh-evolution-core": "^0.1.0-rc.49",
|
|
37
|
+
"@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.49"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
44
44
|
"@deepseek-ai/dsh-session": "^0.1.0-rc.6",
|
|
45
45
|
"@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
|
|
46
|
-
"@lmzhen/dsh-evolution-state": "^0.1.0-rc.
|
|
46
|
+
"@lmzhen/dsh-evolution-state": "^0.1.0-rc.49"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@deepseek-ai/dsh-agent": "^0.1.0-rc.6",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@deepseek-ai/dsh-session-persistence": "^0.1.0-rc.6",
|
|
55
55
|
"@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.0-rc.6",
|
|
56
56
|
"@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
|
|
57
|
-
"@lmzhen/dsh-evolution-core": "^0.1.0-rc.
|
|
58
|
-
"@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.
|
|
59
|
-
"@lmzhen/dsh-evolution-state": "^0.1.0-rc.
|
|
57
|
+
"@lmzhen/dsh-evolution-core": "^0.1.0-rc.49",
|
|
58
|
+
"@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.49",
|
|
59
|
+
"@lmzhen/dsh-evolution-state": "^0.1.0-rc.49"
|
|
60
60
|
}
|
|
61
61
|
}
|