@moonquake2004/dsh-doctor 0.4.16 → 0.4.17
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/dsh-doctor.mjs +5 -3
- package/package.json +1 -1
package/dsh-doctor.mjs
CHANGED
|
@@ -240,7 +240,9 @@ function resolveProfile(name) {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
/* ================= env ================= */
|
|
243
|
-
/** v1 词汇表 r5(#1719)node 语义:pass = 满足 ^22.19.0 || >=24.0.0
|
|
243
|
+
/** v1 词汇表 r5(#1719/#2259)node 语义:pass = 满足 ^22.19.0 || >=24.0.0,其余 warn——无民间 fail 阈值。
|
|
244
|
+
* 注(2026-09 更正):该范围来自 v1 词汇表对齐,**不是**从某个 package.json 读来的;
|
|
245
|
+
* 已发布的 `@deepseek-ai/dsh@0.1.5-rc.1` **不含 engines 字段**,此前文案写"root package.json engines"属出处误引。 */
|
|
244
246
|
function nodeInSupportedRange(v) {
|
|
245
247
|
const m = /^v?(\d+)\.(\d+)\.(\d+)/.exec(String(v));
|
|
246
248
|
if (!m) return false;
|
|
@@ -264,8 +266,8 @@ function checkEnv() {
|
|
|
264
266
|
const version = String(nv.stdout).trim();
|
|
265
267
|
const supported = nodeInSupportedRange(version);
|
|
266
268
|
report('env', 'E3-node', supported,
|
|
267
|
-
supported ? `node ${version}(满足 ^22.19.0 || >=24.0.0
|
|
268
|
-
supported ? undefined : '升级 node 到 ^22.19.0 或 >=24.0.0(
|
|
269
|
+
supported ? `node ${version}(满足 v1 词汇表支持范围 ^22.19.0 || >=24.0.0;该版本未发布 engines 字段,#2259)` : `node ${version} 不在支持范围(^22.19.0 || >=24.0.0,v1 词汇表)——会话日志读取等能力受限`,
|
|
270
|
+
supported ? undefined : '升级 node 到 ^22.19.0 或 >=24.0.0(v1 词汇表范围,见 #2259)');
|
|
269
271
|
}
|
|
270
272
|
|
|
271
273
|
// E12:运行时 zstd 稳定性(#6651 的运行时线索)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonquake2004/dsh-doctor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "Offline diagnostic for DeepSeek Harness — 28 built-in + 5 catalog checks across env/profile/session (Layer A checks-as-data), self-update (Layer B), and a semi-automatic LLM observer (Layer C, --observe); Doctor panel in web UI settings.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|