dsh-score 0.2.10 → 0.2.11

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/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.11] - 2026-09-12
9
+
10
+ ### Fixed
11
+
12
+ - The documentation dimension counted the four translations through lowercase dotted literals (`readme.zh.md`, …) compared against the lowercased file list. The family-wide rename to `README-<lang>.md` is case-sensitive text substitution, so it rewrote the test fixture and the docs while leaving this line alone: every migrated repository silently lost the 40 language points and fell from `pass` to `warn`. The dimension now checks `readme-<lang>.md`, which is what `tests/dimensions.spec.ts` asserts.
13
+
14
+ ### Changed
15
+
16
+ - Rename the four translated READMEs to `README-<lang>.md`. npm selects the package-page readme as the first markdown file matching its `{README,README.*}` glob (`@npmcli/package-json`, publish path), and that glob order puts `README.<lang>.md` ahead of `README.md` — so npm was serving the Simplified-Chinese file for this package too (measured on 15/15 sampled packages of the family). The new names sit outside the glob, so the English source is served again. No content changed apart from the language-switcher link each translation holds to its siblings, and the repo readme gate still passes. Takes effect with the next release; an already-published version cannot gain a corrected readme retroactively.
17
+ - Pin the `@deepseek-ai/dsh-*` dev/test dependencies to the published `0.1.5-rc.2` line and record `0.1.5-rc.2` in `dshWorkshop.compatibility.dshVersions`; the monthly Compat workflow now runs against `0.1.5-rc.2`. The peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` is unchanged, so no supported host line is dropped.
18
+
8
19
  ## [0.2.10] - 2026-09-10
9
20
 
10
21
  ### Changed
@@ -16,7 +16,7 @@
16
16
  [![npm version](https://img.shields.io/npm/v/dsh-score)](https://www.npmjs.com/package/dsh-score)
17
17
  [![npm downloads](https://img.shields.io/npm/dm/dsh-score)](https://www.npmjs.com/package/dsh-score)
18
18
 
19
- [English](README.md) · [简体中文](README.zh.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
19
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
20
20
 
21
21
  </div>
22
22
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  | Componente | Versión |
28
28
  |---|---|
29
- | DeepSeek Harness | **`dsh-v0.1.5-rc.1`** (etiqueta de GitHub; verificado el 2026-09-10: puertas de tipos, suites unitarias/de ensamblaje, build de artefactos). Línea npm publicada `0.1.5-rc.1` (el `latest`/`next` de npm ya son `0.1.5-rc.1`; dependencias entre pares `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`). |
29
+ | DeepSeek Harness | **`dsh-v0.1.5-rc.2`** (etiqueta de GitHub; verificado el 2026-09-11: puertas de tipos, suites unitarias/de ensamblaje, build de artefactos). Línea npm publicada `0.1.5-rc.2` (el `latest`/`next` de npm ya son `0.1.5-rc.2`; dependencias entre pares `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`). |
30
30
  | Node.js | `^22.19.0 \|\| >=24.0.0` |
31
31
  | Gestor de paquetes | `pnpm@11.7.0` |
32
32
  | Plataforma | Windows / macOS / Linux (plugin solo host) |
@@ -16,7 +16,7 @@
16
16
  [![npm version](https://img.shields.io/npm/v/dsh-score)](https://www.npmjs.com/package/dsh-score)
17
17
  [![npm downloads](https://img.shields.io/npm/dm/dsh-score)](https://www.npmjs.com/package/dsh-score)
18
18
 
19
- [English](README.md) · [简体中文](README.zh.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
19
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
20
20
 
21
21
  </div>
22
22
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  | घटक | संस्करण |
28
28
  |---|---|
29
- | DeepSeek Harness | **`dsh-v0.1.5-rc.1`** (GitHub tag; 2026-09-10 को सत्यापित: टाइप गेट, यूनिट/असेंबली सूट, आर्टिफ़ैक्ट बिल्ड)। प्रकाशित npm लाइन `0.1.5-rc.1` (npm `latest`/`next` अब `0.1.5-rc.1` हैं; peer निर्भरताएँ `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`)。 |
29
+ | DeepSeek Harness | **`dsh-v0.1.5-rc.2`** (GitHub tag; 2026-09-11 को सत्यापित: टाइप गेट, यूनिट/असेंबली सूट, आर्टिफ़ैक्ट बिल्ड)। प्रकाशित npm लाइन `0.1.5-rc.2` (npm `latest`/`next` अब `0.1.5-rc.2` हैं; peer निर्भरताएँ `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`)。 |
30
30
  | Node.js | `^22.19.0 \|\| >=24.0.0` |
31
31
  | पैकेज प्रबंधक | `pnpm@11.7.0` |
32
32
  | प्लेटफ़ॉर्म | Windows / macOS / Linux (केवल-होस्ट प्लगइन) |
@@ -16,7 +16,7 @@
16
16
  [![npm version](https://img.shields.io/npm/v/dsh-score)](https://www.npmjs.com/package/dsh-score)
17
17
  [![npm downloads](https://img.shields.io/npm/dm/dsh-score)](https://www.npmjs.com/package/dsh-score)
18
18
 
19
- [English](README.md) · [简体中文](README.zh.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
19
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
20
20
 
21
21
  </div>
22
22
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  | Componente | Versão |
28
28
  |---|---|
29
- | DeepSeek Harness | **`dsh-v0.1.5-rc.1`** (tag do GitHub; verificado em 2026-09-10: portas de tipos, suítes unitárias/de montagem, build de artefatos). Linha npm publicada `0.1.5-rc.1` (o `latest`/`next` do npm agora são `0.1.5-rc.1`; dependências de pares `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`). |
29
+ | DeepSeek Harness | **`dsh-v0.1.5-rc.2`** (tag do GitHub; verificado em 2026-09-11: portas de tipos, suítes unitárias/de montagem, build de artefatos). Linha npm publicada `0.1.5-rc.2` (o `latest`/`next` do npm agora são `0.1.5-rc.2`; dependências de pares `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`). |
30
30
  | Node.js | `^22.19.0 \|\| >=24.0.0` |
31
31
  | Gerenciador de pacotes | `pnpm@11.7.0` |
32
32
  | Plataforma | Windows / macOS / Linux (plugin somente host) |
@@ -16,7 +16,7 @@
16
16
  [![npm version](https://img.shields.io/npm/v/dsh-score)](https://www.npmjs.com/package/dsh-score)
17
17
  [![npm downloads](https://img.shields.io/npm/dm/dsh-score)](https://www.npmjs.com/package/dsh-score)
18
18
 
19
- [English](README.md) · [简体中文](README.zh.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
19
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
20
20
 
21
21
  </div>
22
22
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  | 组件 | 版本 |
28
28
  |---|---|
29
- | DeepSeek Harness | **`dsh-v0.1.5-rc.1`**(GitHub tag;2026-09-10 已核验:类型门 + 单元/装配测试 + 制品构建)。已发布 npm 线 `0.1.5-rc.1`(npm `latest`/`next` 已是 `0.1.5-rc.1`;peer 依赖 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`)。 |
29
+ | DeepSeek Harness | **`dsh-v0.1.5-rc.2`**(GitHub tag;2026-09-11 已核验:类型门 + 单元/装配测试 + 制品构建)。已发布 npm 线 `0.1.5-rc.2`(npm `latest`/`next` 已是 `0.1.5-rc.2`;peer 依赖 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`)。 |
30
30
  | Node.js | `^22.19.0 \|\| >=24.0.0` |
31
31
  | 包管理器 | `pnpm@11.7.0` |
32
32
  | 平台 | Windows / macOS / Linux(纯 host 插件) |
@@ -194,7 +194,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test
194
194
  pnpm run build && pnpm run verify:self-contained && pnpm run verify:artifacts && pnpm pack
195
195
  ```
196
196
 
197
- - `typecheck` 经本地 harness checkout 解析 `@deepseek-ai/*`;`typecheck:ci` 对照已发布的 `0.1.5-rc.1` 类型。
197
+ - `typecheck` 经本地 harness checkout 解析 `@deepseek-ai/*`;`typecheck:ci` 对照已发布的 `0.1.5-rc.2` 类型。
198
198
  - 测试使用真实 `Context`/`Session`/`ToolRuntime`/`LocalJobRegistry`/存储栈,子进程 provider 为脚本化实现。
199
199
  - 真实 CLI 评分(需 PATH 有 `gh`/`npm`,`gh` 已认证):在已挂载 profile 中调用 `score`。
200
200
  - 发布:`node scripts/release.mjs <x.y.z>`(升版本、盖 CHANGELOG、重跑门禁、提交 + tag;绝不 push)。
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
  [![npm version](https://img.shields.io/npm/v/dsh-score)](https://www.npmjs.com/package/dsh-score)
18
18
  [![npm downloads](https://img.shields.io/npm/dm/dsh-score)](https://www.npmjs.com/package/dsh-score)
19
19
 
20
- [English](README.md) · [简体中文](README.zh.md) · [Español](README.es.md) · [Português](README.pt.md) · [हिन्दी](README.hi.md)
20
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
21
21
 
22
22
  </div>
23
23
 
@@ -27,7 +27,7 @@
27
27
 
28
28
  | Component | Version |
29
29
  |---|---|
30
- | DeepSeek Harness | **`dsh-v0.1.5-rc.1`** (GitHub tag; verified 2026-09-10: type gates, unit/assembly suites, artifact build). Published npm line `0.1.5-rc.1` (npm `latest`/`next` are `0.1.5-rc.1`; peer dependencies `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`) |
30
+ | DeepSeek Harness | **`dsh-v0.1.5-rc.2`** (GitHub tag; verified 2026-09-11: type gates, unit/assembly suites, artifact build). Published npm line `0.1.5-rc.2` (npm `latest`/`next` are `0.1.5-rc.2`; peer dependencies `>=0.1.2-rc.1 <0.2.0 \|\| >=0.1.5-alpha.1 <0.2.0`) |
31
31
  | Node.js | `^22.19.0 \|\| >=24.0.0` |
32
32
  | Package manager | `pnpm@11.7.0` |
33
33
  | Platform | Windows / macOS / Linux (host-only plugin) |
@@ -218,7 +218,7 @@ pnpm run typecheck && pnpm run typecheck:ci && pnpm test
218
218
  pnpm run build && pnpm run verify:self-contained && pnpm run verify:artifacts && pnpm pack
219
219
  ```
220
220
 
221
- - `typecheck` resolves `@deepseek-ai/*` through the local harness checkout; `typecheck:ci` checks against the published `0.1.5-rc.1` types.
221
+ - `typecheck` resolves `@deepseek-ai/*` through the local harness checkout; `typecheck:ci` checks against the published `0.1.5-rc.2` types.
222
222
  - Tests use the real `Context`/`Session`/`ToolRuntime`/`LocalJobRegistry`/storage stack with a scripted subprocess provider.
223
223
  - Real-CLI scoring (requires `gh`/`npm` on PATH, `gh` authenticated): invoke `score` from a mounted profile.
224
224
  - Release: `node scripts/release.mjs <x.y.z>` (bumps, stamps CHANGELOG, re-runs the gate, commits + tags; never pushes).
package/lib/index.js CHANGED
@@ -520,10 +520,10 @@ function evaluateDocumentation(input) {
520
520
  const has = (name) => files.includes(name);
521
521
  const readme = has("readme.md");
522
522
  const languages = [
523
- "readme.zh.md",
524
- "readme.es.md",
525
- "readme.pt.md",
526
- "readme.hi.md"
523
+ "readme-zh.md",
524
+ "readme-es.md",
525
+ "readme-pt.md",
526
+ "readme-hi.md"
527
527
  ].filter(has).length;
528
528
  const changelog = has("changelog.md");
529
529
  const security = has("security.md");
@@ -1001,7 +1001,7 @@ var ProbeDriver = class {
1001
1001
  * The structured score records it as `score.pluginVersion`.
1002
1002
  * @module dsh-score/version
1003
1003
  */
1004
- const VERSION = "0.2.10";
1004
+ const VERSION = "0.2.11";
1005
1005
  //#endregion
1006
1006
  //#region src/score.ts
1007
1007
  /**
@@ -4,5 +4,5 @@
4
4
  * The structured score records it as `score.pluginVersion`.
5
5
  * @module dsh-score/version
6
6
  */
7
- export declare const VERSION = "0.2.10";
7
+ export declare const VERSION = "0.2.11";
8
8
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-score",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Multi-dimensional quality scoring for DeepSeek Harness plugins: scores one repo or npm package across install success (consuming dsh-test-drive results), maintenance activity, documentation completeness, security scan, and protocol compliance — every conclusion backed by real CLI evidence with audit timestamps — and produces a JSON/Markdown leaderboard report",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,10 +29,10 @@
29
29
  "THIRD_PARTY_NOTICES.md",
30
30
  "SECURITY.md",
31
31
  "README.md",
32
- "README.zh.md",
33
- "README.es.md",
34
- "README.pt.md",
35
- "README.hi.md",
32
+ "README-zh.md",
33
+ "README-es.md",
34
+ "README-pt.md",
35
+ "README-hi.md",
36
36
  "LICENSE"
37
37
  ],
38
38
  "dsh": {
@@ -67,7 +67,7 @@
67
67
  "compatibility": {
68
68
  "dshVersions": [
69
69
  "0.1.2-rc.1",
70
- "0.1.5-rc.1"
70
+ "0.1.5-rc.2"
71
71
  ]
72
72
  },
73
73
  "capability": {
@@ -116,18 +116,18 @@
116
116
  "@deepseek-ai/cordis": "^4.0.2",
117
117
  "@deepseek-ai/cordis-plugin-include": "^1.0.7",
118
118
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
119
- "@deepseek-ai/dsh-agent": "0.1.5-rc.1",
120
- "@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
121
- "@deepseek-ai/dsh-commands": "0.1.5-rc.1",
122
- "@deepseek-ai/dsh-jobs": "0.1.5-rc.1",
123
- "@deepseek-ai/dsh-jobs-local": "0.1.5-rc.1",
124
- "@deepseek-ai/dsh-llm": "0.1.5-rc.1",
125
- "@deepseek-ai/dsh-session": "0.1.5-rc.1",
126
- "@deepseek-ai/dsh-storage": "0.1.5-rc.1",
127
- "@deepseek-ai/dsh-storage-domain": "0.1.5-rc.1",
128
- "@deepseek-ai/dsh-subprocess": "0.1.5-rc.1",
129
- "@deepseek-ai/dsh-subprocess-local": "0.1.5-rc.1",
130
- "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
119
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.2",
120
+ "@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
121
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.2",
122
+ "@deepseek-ai/dsh-jobs": "0.1.5-rc.2",
123
+ "@deepseek-ai/dsh-jobs-local": "0.1.5-rc.2",
124
+ "@deepseek-ai/dsh-llm": "0.1.5-rc.2",
125
+ "@deepseek-ai/dsh-session": "0.1.5-rc.2",
126
+ "@deepseek-ai/dsh-storage": "0.1.5-rc.2",
127
+ "@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2",
128
+ "@deepseek-ai/dsh-subprocess": "0.1.5-rc.2",
129
+ "@deepseek-ai/dsh-subprocess-local": "0.1.5-rc.2",
130
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.2",
131
131
  "@deepseek-ai/schemastery": "^3.18.2",
132
132
  "@types/node": "^22.19.0",
133
133
  "@vitest/coverage-v8": "3.2.7",