@lmzhen/dsh-evolution-review 0.44.0 → 0.45.0

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/README.md CHANGED
@@ -23,8 +23,7 @@ Subagent-origin, background-visibility, and review-child sessions are excluded.
23
23
 
24
24
  The package emits `evolution/review-scheduled`, `evolution/review-completed`, `evolution/review-error`, and an aux `evolution/plan-applied` ledger entry. `reviewTimeoutMs` bounds the aux loop. Review cadence state is persisted when `evolution-state` is available; without it, cadence can reset between turns.
25
25
 
26
- **Unimplemented metadata:** `reviewProvider`, `reviewContextMessages`, `reviewMessageChars`, `reviewMaxDepth`, and `reviewToolAllow` may still appear in generated parameter/bundle metadata, but this plugin does not read them. Do not rely on them for provider selection, context limits, delegation depth, or tool restrictions. `reviewTimeoutMs` is implemented.
27
-
26
+ **Removed metadata:** `reviewProvider`, `reviewContextMessages`, `reviewMessageChars`, `reviewMaxDepth` and `reviewToolAllow` were declared but never read, so they are gone from the registry and the bundles. Provider/model come from the parent session header; the tool allowlist is the parent's tools intersected with the family allowlist.
28
27
  `memoryInterval` and `skillInterval` remain readable deprecated aliases of `reviewMemoryInterval` and `reviewSkillInterval`; writes to the old names are refused (G0/S0.3).
29
28
 
30
29
 
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import z from "@deepseek-ai/schemastery";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import { BlockAssembler, SessionId, createToolResultMessage, createUserMessage } from "@lmzhen/dsh-evolution-core/platform";
4
- import { DEFAULT_REVIEW_MEMORY_INTERVAL, DEFAULT_REVIEW_SKILL_INTERVAL, DEFAULT_REVIEW_TIMEOUT_MS, DEFAULT_SKILL_REVIEW_COMPLETION_MIN_TOOL_CALLS, DEFAULT_SKILL_REVIEW_TRIGGER, DEFAULT_SUBSTANTIVE_MIN_AGENT_CHARS, DEFAULT_SUBSTANTIVE_MIN_TOOL_CALLS, DEFAULT_SUBSTANTIVE_MIN_USER_CHARS, INJECT_COMPLETION_SKILL_REVIEW_PROMPT, MAX_TIMER_DELAY_MS, PROMPT_BUNDLE, advanceReview, clampOnce, classifySessionEvent, clearReviewChannel, liveBool, markReviewChannel, paramRowId, pickWithPolicy, readDispatchSignal, registerOwnerSettings, reviewPrompt, sessionAudited, sessionTurnSignals, sweepReviewChannelSessions, unwrapLive, userSetKeys, verifyPromptBundle, withReviewContext } from "@lmzhen/dsh-evolution-core";
4
+ import { DEFAULT_REVIEW_MEMORY_INTERVAL, DEFAULT_REVIEW_SKILL_INTERVAL, DEFAULT_REVIEW_TIMEOUT_MS, DEFAULT_SKILL_REVIEW_COMPLETION_MIN_TOOL_CALLS, DEFAULT_SKILL_REVIEW_TRIGGER, DEFAULT_SUBSTANTIVE_MIN_AGENT_CHARS, DEFAULT_SUBSTANTIVE_MIN_TOOL_CALLS, DEFAULT_SUBSTANTIVE_MIN_USER_CHARS, INJECT_COMPLETION_SKILL_REVIEW_PROMPT, MAX_TIMER_DELAY_MS, PROMPT_BUNDLE, advanceReview, clampOnce, classifySessionEvent, clearReviewChannel, liveBool, markReviewChannel, paramRowId, pickWithPolicy, readDispatchSignal, reviewPrompt, sessionAudited, sessionTurnSignals, sweepReviewChannelSessions, unwrapLive, userSetKeys, verifyPromptBundle, withReviewContext } from "@lmzhen/dsh-evolution-core";
5
5
  import { assertSkillsRootAliasRetired, filterUnreadSkillOps } from "@lmzhen/dsh-evolution-core/skills";
6
6
  //#region lib/types/review-executor.js
7
7
  /**
@@ -381,7 +381,6 @@ function resolveReviewRowSettings(rawConfig, warn) {
381
381
  };
382
382
  }
383
383
  function apply(ctx, rawConfig = {}) {
384
- registerOwnerSettings(ctx, "evolution-review", Config);
385
384
  ctx.inject(["settings"], (injected) => {
386
385
  const settings = injected.settings;
387
386
  if (typeof settings?.configure !== "function") return;
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.44.0",
4
+ "version": "0.45.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -29,22 +29,21 @@
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
31
  "@deepseek-ai/schemastery": "^3.18.5",
32
- "@lmzhen/dsh-evolution-core": "^0.44.0"
32
+ "@lmzhen/dsh-evolution-core": "^0.45.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@deepseek-ai/cordis": "^4.0.5",
36
36
  "@deepseek-ai/dsh-agent": "^0.2.2-rc.0",
37
37
  "@deepseek-ai/dsh-llm": "^0.2.2-rc.0",
38
38
  "@deepseek-ai/dsh-session": "^0.2.2-rc.0",
39
- "@lmzhen/dsh-evolution-policy": "^0.44.0",
40
- "@lmzhen/dsh-evolution-state": "^0.44.0"
39
+ "@lmzhen/dsh-evolution-state": "^0.45.0"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@deepseek-ai/dsh-agent": "^0.2.2-rc.0",
44
43
  "@deepseek-ai/dsh-llm": "^0.2.2-rc.0",
45
44
  "@deepseek-ai/dsh-session": "^0.2.2-rc.0",
46
- "@lmzhen/dsh-evolution-core": "^0.44.0",
47
- "@lmzhen/dsh-evolution-state": "^0.44.0"
45
+ "@lmzhen/dsh-evolution-core": "^0.45.0",
46
+ "@lmzhen/dsh-evolution-state": "^0.45.0"
48
47
  },
49
48
  "engines": {
50
49
  "dsh": ">=0.2.2-rc.0 <0.2.3-0"