@lmzhen/dsh-evolution-maintenance 0.3.2 → 0.3.4
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 +3 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -438,9 +438,11 @@ async function runMaintain(runtime, options = {}) {
|
|
|
438
438
|
text: formatPlan(validated, runId)
|
|
439
439
|
};
|
|
440
440
|
} catch (error) {
|
|
441
|
+
const name = typeof error === "object" && error !== null ? error.name : void 0;
|
|
442
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
441
443
|
return {
|
|
442
444
|
ok: false,
|
|
443
|
-
error:
|
|
445
|
+
error: name === "AbortError" ? "Maintenance scan was aborted (subagent timeout or cancellation) before a plan was produced — retry, or raise the timeout (evolution-commands maintainTimeoutMs) on a slow/large library." : `Maintenance scan failed: ${message}`
|
|
444
446
|
};
|
|
445
447
|
}
|
|
446
448
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-maintenance",
|
|
3
3
|
"description": "Deterministic maintenance-scan surface: skill-library snapshot assembly, drift signals and mechanical-facts rendering (design 011) (community build)",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
37
|
+
"@lmzhen/dsh-evolution-core": "^0.3.4"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|