@lmzhen/dsh-evolution-commands 0.54.0 → 0.55.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/lib/index.js +5 -3
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -30,8 +30,8 @@ import { assertSkillsRootAliasRetired, elapsedSince, newSkillLibrary, partitionV
|
|
|
30
30
|
*/
|
|
31
31
|
const COMMAND_FALLBACKS = {
|
|
32
32
|
approval: { command: "/evolution pending … /evolution approve <id> … /evolution reject <id> … /evolution release <id>" },
|
|
33
|
-
"skill-history": { command: "/evolution skill undo <name> [--to v<N>]
|
|
34
|
-
"skill-health": { command: "/evolution skills refresh
|
|
33
|
+
"skill-history": { command: "/evolution skill undo <name> [--to v<N>] / /evolution skill history <name>" },
|
|
34
|
+
"skill-health": { command: "/evolution skills refresh / /evolution doctor" },
|
|
35
35
|
merge: { command: "/evolution merge status / pending / approve <id> / report" },
|
|
36
36
|
diagnostics: {
|
|
37
37
|
command: "/evolution doctor",
|
|
@@ -3294,8 +3294,10 @@ function memoryBudgetIssues(ctx) {
|
|
|
3294
3294
|
const policy = ctx.get("evolutionPolicy")?.get?.();
|
|
3295
3295
|
if (budget === void 0 || policy === void 0) return [];
|
|
3296
3296
|
const issues = [];
|
|
3297
|
-
if (budget.memoryChars !== void 0 && policy.memoryChars !== void 0 && budget.memoryChars !== policy.memoryChars) issues.push(`store enforces memoryChars=${budget.memoryChars} (source: ${budget.memorySource ?? "unknown"}) while evolution-policy declares memoryChars=${policy.memoryChars} —
|
|
3297
|
+
if (budget.memoryChars !== void 0 && policy.memoryChars !== void 0 && budget.memoryChars !== policy.memoryChars) issues.push(`store enforces memoryChars=${budget.memoryChars} (source: ${budget.memorySource ?? "unknown"}) while evolution-policy declares memoryChars=${policy.memoryChars} — keep one character budget, or the effective legacy limit is ambiguous`);
|
|
3298
3298
|
if (budget.userChars !== void 0 && policy.userChars !== void 0 && budget.userChars !== policy.userChars) issues.push(`store enforces userChars=${budget.userChars} (source: ${budget.userSource ?? "unknown"}) while evolution-policy declares userChars=${policy.userChars} — same divergence as the memory limit`);
|
|
3299
|
+
if (budget.memoryTokens !== void 0 && budget.policyMemoryTokens !== void 0 && budget.memoryTokens !== budget.policyMemoryTokens) issues.push(`store enforces memoryTokens=${budget.memoryTokens} while evolution-policy declares memoryTokens=${budget.policyMemoryTokens} — align the row and policy token budgets`);
|
|
3300
|
+
if (budget.userTokens !== void 0 && budget.policyUserTokens !== void 0 && budget.userTokens !== budget.policyUserTokens) issues.push(`store enforces userTokens=${budget.userTokens} while evolution-policy declares userTokens=${budget.policyUserTokens} — same divergence as the memory budget`);
|
|
3299
3301
|
return issues;
|
|
3300
3302
|
}
|
|
3301
3303
|
/** S0-4 (v43 G-1 / J-1): the scoped-row reconciliation line. The verdict is the
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-commands",
|
|
3
3
|
"description": "Human commands for the evolution family (/evolution pending|curator|maintain|doctor) (community build)",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.55.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@deepseek-ai/schemastery": "^3.18.5",
|
|
32
|
-
"@lmzhen/dsh-evolution-approval": "0.
|
|
33
|
-
"@lmzhen/dsh-evolution-core": "0.
|
|
34
|
-
"@lmzhen/dsh-evolution-maintenance": "0.
|
|
35
|
-
"@lmzhen/dsh-evolution-state": "0.
|
|
32
|
+
"@lmzhen/dsh-evolution-approval": "0.55.0",
|
|
33
|
+
"@lmzhen/dsh-evolution-core": "0.55.0",
|
|
34
|
+
"@lmzhen/dsh-evolution-maintenance": "0.55.0",
|
|
35
|
+
"@lmzhen/dsh-evolution-state": "0.55.0"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@lmzhen/dsh-evolution-agent-preset": "0.
|
|
38
|
+
"@lmzhen/dsh-evolution-agent-preset": "0.55.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@deepseek-ai/cordis": "^4.0.5",
|