@lmzhen/dsh-evolution-review 0.1.0-rc.47 → 0.1.0-rc.48

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.
Files changed (2) hide show
  1. package/lib/index.js +7 -1
  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)) return await runnerDirect(kind, runnerArgs);
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,
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.47",
4
+ "version": "0.1.0-rc.48",
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.47",
37
- "@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.47"
36
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.48",
37
+ "@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.48"
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.47"
46
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.48"
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.47",
58
- "@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.47",
59
- "@lmzhen/dsh-evolution-state": "^0.1.0-rc.47"
57
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.48",
58
+ "@lmzhen/dsh-evolution-plan-validator": "^0.1.0-rc.48",
59
+ "@lmzhen/dsh-evolution-state": "^0.1.0-rc.48"
60
60
  }
61
61
  }