@lmzhen/dsh-evolution-review 0.3.1 → 0.3.2

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 CHANGED
@@ -20,7 +20,7 @@ const Config = z.object({
20
20
  executionTimeoutMs: z.number().default(3e4),
21
21
  reviewContextMessages: z.number().default(60),
22
22
  reviewMessageChars: z.number().default(2e3),
23
- reviewMaxDepth: z.number().default(0),
23
+ reviewMaxDepth: z.number().default(1),
24
24
  reviewProvider: z.string(),
25
25
  skillReviewTrigger: z.string().default(DEFAULT_SKILL_REVIEW_TRIGGER),
26
26
  skillReviewCompletionMinToolCalls: z.number().default(DEFAULT_SKILL_REVIEW_COMPLETION_MIN_TOOL_CALLS)
@@ -21,6 +21,10 @@ export interface Config {
21
21
  executionTimeoutMs?: number;
22
22
  reviewContextMessages?: number;
23
23
  reviewMessageChars?: number;
24
+ /** ABSOLUTE cap of the review subagent's own delegation depth (platform
25
+ * resolveChildDepth: childDepth = parentDepth+1 must be <= maxDepth).
26
+ * 1 permits the subagent itself and denies nesting (2 > 1); 0 rejects the
27
+ * spawn outright (SubagentDepthError on any real run — the 0.3.1 defect). */
24
28
  reviewMaxDepth?: number;
25
29
  /** LLM provider for review subagents. Omit to inherit the deployment default route. */
26
30
  reviewProvider?: string;
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.3.1",
4
+ "version": "0.3.2",
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.3.1",
37
- "@lmzhen/dsh-evolution-plan-validator": "^0.3.1"
36
+ "@lmzhen/dsh-evolution-core": "^0.3.2",
37
+ "@lmzhen/dsh-evolution-plan-validator": "^0.3.2"
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.1-rc.2",
44
44
  "@deepseek-ai/dsh-session": "^0.1.1-rc.2",
45
45
  "@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
46
- "@lmzhen/dsh-evolution-state": "^0.3.1"
46
+ "@lmzhen/dsh-evolution-state": "^0.3.2"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@deepseek-ai/dsh-agent": "^0.1.1-rc.2",
@@ -54,8 +54,8 @@
54
54
  "@deepseek-ai/dsh-session-persistence": "^0.1.1-rc.2",
55
55
  "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.1-rc.2",
56
56
  "@deepseek-ai/dsh-tools": "^0.1.1-rc.2",
57
- "@lmzhen/dsh-evolution-core": "^0.3.1",
58
- "@lmzhen/dsh-evolution-plan-validator": "^0.3.1",
59
- "@lmzhen/dsh-evolution-state": "^0.3.1"
57
+ "@lmzhen/dsh-evolution-core": "^0.3.2",
58
+ "@lmzhen/dsh-evolution-plan-validator": "^0.3.2",
59
+ "@lmzhen/dsh-evolution-state": "^0.3.2"
60
60
  }
61
61
  }