@lmzhen/dsh-evolution-review 0.43.2-rc.1 → 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/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Review",
4
+ "description": "Prüft die Arbeit des Agenten im Hintergrund und hält fest, was dabei auffällt."
5
+ }
6
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Review",
4
+ "description": "Checks the agent's work in the background and records what it finds."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Revisión",
4
+ "description": "Revisa el trabajo del agente en segundo plano y apunta lo que encuentra."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Revue",
4
+ "description": "Contrôle le travail de l’agent en arrière-plan et note ce qu’il trouve."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "レビュー",
4
+ "description": "エージェントの仕事をバックグラウンドで点検し、見つけたことを記録する。"
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Revisão",
4
+ "description": "Confere o trabalho do agente em segundo plano e anota o que encontra."
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Обзор работы",
4
+ "description": "В фоне проверяет работу агента и записывает, что нашёл."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "审查",
4
+ "description": "在后台检查智能体干的活,查到的都记下来。"
5
+ }
6
+ }
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.43.2-rc.1",
4
+ "version": "0.45.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,31 +18,32 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./package.json": "./package.json"
21
+ "./package.json": "./package.json",
22
+ "./locale/*.json": "./locale/*.json"
22
23
  },
23
24
  "files": [
25
+ "locale/*.json",
24
26
  "lib/*.js",
25
27
  "lib/types/**/*.d.ts"
26
28
  ],
27
29
  "license": "MIT",
28
30
  "dependencies": {
29
31
  "@deepseek-ai/schemastery": "^3.18.5",
30
- "@lmzhen/dsh-evolution-core": "^0.43.2-rc.1"
32
+ "@lmzhen/dsh-evolution-core": "^0.45.0"
31
33
  },
32
34
  "peerDependencies": {
33
35
  "@deepseek-ai/cordis": "^4.0.5",
34
36
  "@deepseek-ai/dsh-agent": "^0.2.2-rc.0",
35
37
  "@deepseek-ai/dsh-llm": "^0.2.2-rc.0",
36
38
  "@deepseek-ai/dsh-session": "^0.2.2-rc.0",
37
- "@lmzhen/dsh-evolution-policy": "^0.43.2-rc.1",
38
- "@lmzhen/dsh-evolution-state": "^0.43.2-rc.1"
39
+ "@lmzhen/dsh-evolution-state": "^0.45.0"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@deepseek-ai/dsh-agent": "^0.2.2-rc.0",
42
43
  "@deepseek-ai/dsh-llm": "^0.2.2-rc.0",
43
44
  "@deepseek-ai/dsh-session": "^0.2.2-rc.0",
44
- "@lmzhen/dsh-evolution-core": "^0.43.2-rc.1",
45
- "@lmzhen/dsh-evolution-state": "^0.43.2-rc.1"
45
+ "@lmzhen/dsh-evolution-core": "^0.45.0",
46
+ "@lmzhen/dsh-evolution-state": "^0.45.0"
46
47
  },
47
48
  "engines": {
48
49
  "dsh": ">=0.2.2-rc.0 <0.2.3-0"