dsh-ota-review-check 0.2.3 → 0.2.9

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
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.9] - 2026-10-18
4
+
5
+ ### Changed
6
+
7
+ - Move the Install section to the first screen in all five READMEs.
8
+
9
+ ## [0.2.8] - 2026-10-18
10
+
11
+ ### Fixed
12
+
13
+ - **OT-003’s title and README row no longer claim a reply-status condition the check does not have.** The check compares the review date with the recorded reply deadline on every row; the copy now says that. `OT-002/004/005` notes now say `info` instead of the stale “封顶 warn”.
14
+
15
+ ## [0.2.7] - 2026-10-18
16
+
17
+ ### Changed
18
+
19
+ - Add a 1280×720 hero and a 960×540, 4-second terminal GIF rendered from the checker’s own output; `screenshots.json` is an object array and `capture.json` records the storyboard.
20
+
21
+ ## 0.2.6 - 2026-10-18
22
+
23
+ - Fix: a rule that executed and found no difference is no longer placed in `skipped`. The report view labels only genuinely unexecuted rules as “未执行的检查”; `skippedCount` no longer counts executed-clean rules.
24
+
25
+
26
+ ## 0.2.5 - 2026-10-17
27
+
28
+ - Compatibility: declare `engines.dsh` `>=0.2.1-0 <0.3.0`; move `@deepseek-ai/dsh-*` devDependencies to `0.2.1-rc.2`; add `@deepseek-ai/dsh-working-directory`.
29
+ - Docs: the compatibility table no longer claims `engines.dsh` is undeclared; drop the retired `both` tool mode.
30
+
31
+
32
+ ## 0.2.4
33
+
34
+ - Add a demo card to the README: one terminal shot of this plugin's real output
35
+ over its own test fixture, plus the DSH Market badge.
36
+
37
+ The card is generated by running this repository's check core over a committed
38
+ fixture and rendering the report it returned, so the findings, rule ids, cited
39
+ documents and "not obtained" notes are the plugin's own output rather than an
40
+ artist's impression. In a family whose claim is that it never fabricates a
41
+ citation, a hand-drawn screenshot would undercut the thing being demonstrated.
42
+
43
+ Added to all five READMEs together, which `check:readmes` requires.
44
+
45
+
3
46
  ## 0.2.3
4
47
 
5
48
  - Correct the severity and basis-kind cells in `## What it does` so they
@@ -42,3 +85,5 @@
42
85
  - Five-language READMEs hold the same section count and the same configuration keys.
43
86
  - Rule pack: 7 rules across OT-001..OT-007.
44
87
  - Licensed Apache-2.0.
88
+
89
+
package/README-es.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-ota-review-check — Verificación del registro de respuestas a reseñas en línea
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-ota-review-check` lee un registro de reseñas en línea con sus respuestas —la cabecera del establecimiento más una fila por reseña— y comprueba la completitud y el cierre de ese mismo registro: que cada reseña registre su contenido o una puntuación, que una reseña respondida lleve fecha de respuesta y autor de la respuesta, que la respuesta no sea anterior a la reseña, que una reseña sin responder quede dentro del plazo que el propio registro declara, que el tipo de problema proceda del vocabulario de su institución y que los números de reseña sean únicos.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-ota-review-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
12
+ ```
13
+
14
+ ## Cómo se ve la salida
15
+
16
+ ![Terminal demo of dsh-ota-review-check: real output over its OT-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-ota-review-check](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-demo.gif)
19
+
20
+ Salida real de este plugin sobre su propio fixture de prueba `OT-001` — no es un montaje. El paquete de reglas no inventa citas, así que cada hallazgo nombra la cláusula aplicada y advierte que su texto no se obtuvo.
21
+
5
22
  ## Qué responde
6
23
 
7
24
  | Usted pregunta | Qué responde |
@@ -58,22 +75,15 @@ whether service quality is acceptable.
58
75
 
59
76
  | Superficie | Estado |
60
77
  |---|---|
61
- | Harness | Rango de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificado para aceptar tanto `0.2.0-rc.2` como `0.2.1-alpha.1`. **No se declara `engines.dsh`**: no tiene lector y no puede rechazar ningún host |
78
+ | Harness | Rango de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificado para aceptar tanto `0.2.0-rc.2` como `0.2.1-rc.2`. **`engines.dsh` se declara como `>=0.2.1-0 <0.3.0`** y el host lo aplica desde 0.2.1 |
62
79
  | Node | `^22.19.0 || >=24.0.0` |
63
80
  | Plataformas | Todas (ESM puro; sin código nativo, sin red, sin llamada al modelo) |
64
- | Modo de herramienta | Funciona en `native`, `ptc` y `both`; para un directorio completo use `ptc` |
81
+ | Modo de herramienta | Funciona en `native` y `ptc`; para un directorio completo use `ptc` |
65
82
 
66
83
  ## What it does
67
84
 
68
85
  La tabla de reglas, los campos y el comportamiento detallado están en [README.md](README.md#what-it-does) (versión principal en inglés). El plugin sólo enumera divergencias literales frente a las cláusulas citadas e indica en `skipped` cada comprobación que no pudo ejecutarse.
69
86
 
70
- ## Install
71
-
72
- ```sh
73
- dsh plugin --profile <name> add dsh-ota-review-check
74
- dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
75
- ```
76
-
77
87
  ## Configuration
78
88
 
79
89
  Todos los parámetros ajustables viven en el esquema Schemastery de `src/config.ts`, por lo que se cambian desde `cordis.yml` sin tocar el código; los umbrales por regla están en el paquete de reglas bajo `rules/`.
package/README-hi.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-ota-review-check — ऑनलाइन समीक्षा उत्तर रजिस्टर की जाँच
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-ota-review-check` ऑनलाइन समीक्षा और उत्तर का एक रजिस्टर पढ़ता है — प्रॉपर्टी हेडर और प्रत्येक समीक्षा की एक पंक्ति — और उसी रजिस्टर की पूर्णता तथा बंद-लूप (closed loop) की जाँच करता है: क्या प्रत्येक समीक्षा में उसका विवरण या स्कोर दर्ज है, क्या उत्तर दी गई समीक्षा में उत्तर की तिथि और उत्तर देने वाले का नाम दर्ज है, क्या उत्तर समीक्षा से पहले नहीं है, क्या बिना उत्तर वाली समीक्षा रजिस्टर में लिखी समय-सीमा के भीतर है, क्या समस्या-प्रकार आपकी संस्था की अपनी शब्दावली से लिया गया है, और क्या समीक्षा क्रमांक अद्वितीय हैं।
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-ota-review-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
12
+ ```
13
+
14
+ ## आउटपुट कैसा दिखता है
15
+
16
+ ![Terminal demo of dsh-ota-review-check: real output over its OT-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-ota-review-check](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-demo.gif)
19
+
20
+ इस प्लगइन का अपने ही `OT-001` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
21
+
5
22
  ## यह किन सवालों का जवाब देता है
6
23
 
7
24
  | आपका सवाल | इसका जवाब |
@@ -58,22 +75,15 @@ whether service quality is acceptable.
58
75
 
59
76
  | सतह | स्थिति |
60
77
  |---|---|
61
- | Harness | peer रेंज `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — `0.2.0-rc.2` और `0.2.1-alpha.1` दोनों को स्वीकार करने के लिए सत्यापित। **`engines.dsh` जानबूझकर घोषित नहीं**: इसका कोई पाठक नहीं और यह किसी होस्ट को अस्वीकार नहीं कर सकता |
78
+ | Harness | peer रेंज `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — `0.2.0-rc.2` और `0.2.1-rc.2` दोनों को स्वीकार करने के लिए सत्यापित। **`engines.dsh` `>=0.2.1-0 <0.3.0` के रूप में घोषित है** और 0.2.1 से होस्ट इसे लागू करता है |
62
79
  | Node | `^22.19.0 || >=24.0.0` |
63
80
  | प्लेटफ़ॉर्म | सभी (शुद्ध ESM; कोई नेटिव कोड नहीं, कोई नेटवर्क नहीं, कोई मॉडल कॉल नहीं) |
64
- | टूल मोड | `native`, `ptc` और `both` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
81
+ | टूल मोड | `native` और `ptc` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
65
82
 
66
83
  ## What it does
67
84
 
68
85
  नियम-सूची, फ़ील्ड और विस्तृत व्यवहार [README.md](README.md#what-it-does) (अंग्रेज़ी मुख्य संस्करण) में हैं। यह प्लगइन केवल उद्धृत धाराओं के सामने शाब्दिक अंतर सूचीबद्ध करता है और हर न चल पाई जाँच को `skipped` में बताता है।
69
86
 
70
- ## Install
71
-
72
- ```sh
73
- dsh plugin --profile <name> add dsh-ota-review-check
74
- dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
75
- ```
76
-
77
87
  ## Configuration
78
88
 
79
89
  सभी समायोज्य पैरामीटर `src/config.ts` की Schemastery स्कीमा में हैं, इसलिए कोड बदले बिना `cordis.yml` से बदले जा सकते हैं; प्रति-नियम सीमाएँ `rules/` के नियम-पैक में हैं।
package/README-pt.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-ota-review-check — Verificação do registo de respostas a avaliações em linha
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-ota-review-check` lê um registo de avaliações em linha com as respetivas respostas —o cabeçalho do estabelecimento mais uma linha por avaliação— e verifica a completude e o fecho desse próprio registo: se cada avaliação regista o seu conteúdo ou uma pontuação, se uma avaliação respondida traz data de resposta e autor da resposta, se a resposta não é anterior à avaliação, se uma avaliação sem resposta cai dentro do prazo que o próprio registo declara, se o tipo de problema vem do vocabulário da sua instituição e se os números de avaliação são únicos.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-ota-review-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
12
+ ```
13
+
14
+ ## Como é a saída
15
+
16
+ ![Terminal demo of dsh-ota-review-check: real output over its OT-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-ota-review-check](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-demo.gif)
19
+
20
+ Saída real deste plugin sobre o seu próprio fixture de teste `OT-001` — não é uma simulação. O pacote de regras não inventa citações, por isso cada achado nomeia a cláusula aplicada e avisa que o seu texto não foi obtido.
21
+
5
22
  ## O que ele responde
6
23
 
7
24
  | Você pergunta | O que ele responde |
@@ -58,22 +75,15 @@ whether service quality is acceptable.
58
75
 
59
76
  | Superfície | Estado |
60
77
  |---|---|
61
- | Harness | Faixa de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificada para aceitar tanto `0.2.0-rc.2` quanto `0.2.1-alpha.1`. **`engines.dsh` não é declarado**: não tem leitor e não pode recusar nenhum host |
78
+ | Harness | Faixa de peers `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verificada para aceitar tanto `0.2.0-rc.2` quanto `0.2.1-rc.2`. **`engines.dsh` é declarado como `>=0.2.1-0 <0.3.0`** e o host o aplica desde 0.2.1 |
62
79
  | Node | `^22.19.0 || >=24.0.0` |
63
80
  | Plataformas | Todas (ESM puro; sem código nativo, sem rede, sem chamada ao modelo) |
64
- | Modo de ferramenta | Funciona em `native`, `ptc` e `both`; para um diretório inteiro use `ptc` |
81
+ | Modo de ferramenta | Funciona em `native` e `ptc`; para um diretório inteiro use `ptc` |
65
82
 
66
83
  ## What it does
67
84
 
68
85
  A tabela de regras, os campos e o comportamento detalhado estão em [README.md](README.md#what-it-does) (versão principal em inglês). O plugin apenas lista divergências literais frente às cláusulas citadas e indica em `skipped` cada verificação que não pôde ser executada.
69
86
 
70
- ## Install
71
-
72
- ```sh
73
- dsh plugin --profile <name> add dsh-ota-review-check
74
- dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
75
- ```
76
-
77
87
  ## Configuration
78
88
 
79
89
  Todos os parâmetros ajustáveis ficam no esquema Schemastery de `src/config.ts`, portanto mudam pelo `cordis.yml` sem editar código; os limites por regra ficam no pacote de regras sob `rules/`.
package/README-zh.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-ota-review-check — 在线点评回复台账核对
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-ota-review-check` 读取一份在线点评回复台账——门店表头加每条点评一行——核对这份台账自身的齐备与闭环:每条点评是否记录了内容或评分、已回复的点评是否记录了回复日期与回复人、回复是否早于点评、未回复的点评是否落在台账自己写明的回复期限之内、问题类型是否取自本机构自己的分类口径、点评编号是否唯一。
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-ota-review-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
12
+ ```
13
+
14
+ ## 实际输出长什么样
15
+
16
+ ![Terminal demo of dsh-ota-review-check: real output over its OT-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-ota-review-check](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-demo.gif)
19
+
20
+ 本插件对自己 `OT-001` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
21
+
5
22
  ## 它回答什么问题
6
23
 
7
24
  | 你会问 | 它怎么答 |
@@ -58,22 +75,15 @@ whether service quality is acceptable.
58
75
 
59
76
  | 项目 | 状态 |
60
77
  |---|---|
61
- | Harness | 对等版本范围 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` —— 已实测同时接受 `0.2.0-rc.2` 与 `0.2.1-alpha.1`。**刻意不声明 `engines.dsh`**:它没有任何读取者,也无法拒装任何宿主 |
78
+ | Harness | 对等版本范围 `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` —— 已实测同时接受 `0.2.0-rc.2` 与 `0.2.1-rc.2`。**已声明 `engines.dsh`**:0.2.1 起由宿主单独裁决,范围为 `>=0.2.1-0 <0.3.0` |
62
79
  | Node | `^22.19.0 || >=24.0.0` |
63
80
  | 平台 | 全平台(纯 ESM;无原生代码、无联网、不调用模型) |
64
- | 工具模式 | `native` / `ptc` / `both` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
81
+ | 工具模式 | `native` / `ptc` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
65
82
 
66
83
  ## What it does
67
84
 
68
85
  规则表、字段说明与行为细节见 [README.md](README.md#what-it-does)(英文主版本)。本插件只列出材料与所引条款之间的字面差异,并对无法执行的检查在 `skipped` 中逐项说明。
69
86
 
70
- ## Install
71
-
72
- ```sh
73
- dsh plugin --profile <name> add dsh-ota-review-check
74
- dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
75
- ```
76
-
77
87
  ## Configuration
78
88
 
79
89
  全部可调参数都在 `src/config.ts` 的 Schemastery schema 中,只改 `cordis.yml` 即可生效,无需改代码;逐条阈值在 `rules/` 下的规则库文件里。
package/README.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-ota-review-check — Online review and reply register check
2
2
 
3
+ [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
+
3
5
  `dsh-ota-review-check` reads one online review-and-reply register — the property header plus one row per review — and checks that register's own completeness and closed loop: that each review records its content or a score, that a replied review carries a reply date and a reply author, that the reply does not precede the review, that an unreplied review falls inside the deadline the register itself states, that the problem category comes from your institution's own vocabulary, and that review numbers are unique.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-ota-review-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
12
+ ```
13
+
14
+ ## What it looks like
15
+
16
+ ![Terminal demo of dsh-ota-review-check: real output over its OT-001 fixture](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-ota-review-check](https://raw.githubusercontent.com/PerryLink/dsh-ota-review-check/main/docs/assets/dsh-ota-review-check-demo.gif)
19
+
20
+ Real output from this plugin over its own `OT-001` test fixture — not a mock-up. The rule pack ships no invented quotations, so a finding names both the clause it applied and the fact that the clause text was not obtained.
21
+
5
22
  ## What it answers
6
23
 
7
24
  | You ask | What it answers |
@@ -58,10 +75,10 @@ whether service quality is acceptable.
58
75
 
59
76
  | Surface | Status |
60
77
  |---|---|
61
- | Harness | Peer range `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verified to accept both `0.2.0-rc.2` and `0.2.1-alpha.1`. `engines.dsh` is deliberately not declared: it has no reader and cannot reject a host |
78
+ | Harness | Peer range `>=0.1.2-rc.1 <0.2.0 \|\| >=0.2.0-0 <0.3.0` — verified to accept both `0.2.0-rc.2` and `0.2.1-rc.2`. `engines.dsh` is declared as `>=0.2.1-0 <0.3.0` and is enforced by the host since 0.2.1 |
62
79
  | Node | `^22.19.0 || >=24.0.0` |
63
80
  | Platforms | All (plain ESM; no native code, no network, no model call) |
64
- | Tool mode | Works in `native`, `ptc` and `both`; for a month of reviews use `ptc` |
81
+ | Tool mode | Works in `native` and `ptc`; for a month of reviews use `ptc` |
65
82
 
66
83
  ## What it does
67
84
 
@@ -72,18 +89,11 @@ per review — applies a versioned rule pack, and returns a report.
72
89
  |---|---|---|---|
73
90
  | `OT-001` | the review records content or a score | warn | principle |
74
91
  | `OT-002` | a replied review carries a reply date | info | local |
75
- | `OT-003` | an unreplied review falls inside the recorded deadline | info | local |
92
+ | `OT-003` | the recorded reply deadline does not contradict the review date | info | local |
76
93
  | `OT-004` | the reply does not precede the review | info | local |
77
94
  | `OT-005` | a replied review names the replier | info | local |
78
95
  | `OT-006` | the problem category comes from your vocabulary (off by default) | info | local |
79
96
  | `OT-007` | review numbers are unique | warn | principle |
80
- ## Install
81
-
82
- ```sh
83
- dsh plugin --profile <name> add dsh-ota-review-check
84
- dsh --profile <name> --dump-config | grep 'dsh-ota-review-check'
85
- ```
86
-
87
97
  ## Configuration
88
98
 
89
99
  | Key | Type | Default | Description |
package/lib/index.mjs CHANGED
@@ -2188,14 +2188,6 @@ function runTableCheck(input, ruleset, options) {
2188
2188
  });
2189
2189
  already.add(ruleId);
2190
2190
  }
2191
- for (const rule of ruleset.rules) {
2192
- if (disabled.has(rule.id) || fired.has(rule.id) || already.has(rule.id)) continue;
2193
- if (only.size > 0 && !only.has(rule.id)) continue;
2194
- skipped.push({
2195
- rule: rule.id,
2196
- reason: withNote("材料满足该检查的前置条件且未发现差异条目")
2197
- });
2198
- }
2199
2191
  if (only.size > 0) {
2200
2192
  const notSelected = ruleset.rules.filter((rule) => !only.has(rule.id) && !disabled.has(rule.id));
2201
2193
  if (notSelected.length > 0) skipped.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-ota-review-check",
3
- "version": "0.2.3",
3
+ "version": "0.2.9",
4
4
  "description": "在线点评回复台账核对(按回复时限、问题分类与整改状态核对台账闭环,仅提示差异,不作出定性结论)",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "engines": {
71
71
  "node": "^22.19.0 || >=24.0.0",
72
- "dsh": ">=0.2.1-alpha.1"
72
+ "dsh": ">=0.2.1-0 <0.3.0"
73
73
  },
74
74
  "packageManager": "pnpm@11.7.0",
75
75
  "peerDependencies": {
@@ -79,11 +79,12 @@
79
79
  },
80
80
  "devDependencies": {
81
81
  "@deepseek-ai/cordis": "4.0.5-alpha.1",
82
- "@deepseek-ai/dsh-package-manifest": "0.2.1-alpha.1",
83
- "@deepseek-ai/dsh-tools": "0.2.1-alpha.1",
82
+ "@deepseek-ai/dsh-package-manifest": "0.2.1-rc.2",
83
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
84
84
  "@deepseek-ai/schemastery": "3.18.5-alpha.1",
85
85
  "@types/node": "^22.20.1",
86
- "vitest": "^3.2.7"
86
+ "vitest": "^3.2.7",
87
+ "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2"
87
88
  },
88
89
  "dependencies": {
89
90
  "tsdown": "^0.22.14",
@@ -23,7 +23,7 @@
23
23
  # 不是法律义务**;规则库与 README 都不把"回复点评"说成法律要求。
24
24
  # 该法**第十七条**禁止"编造用户评价"作虚假宣传、**第二十条**要求按承诺交付 ——
25
25
  # 这两条与"回复"无关,本插件**不引用**(引用会张冠李戴)。
26
- # **各平台服务规则本次未取得逐字条文**,故每条 excerpt 如实写明,kind 降为 derived-from-principle(封顶 warn)。
26
+ # **各平台服务规则本次未取得逐字条文**,故每条 excerpt 如实写明,kind 降为 derived-from-principle(severity 封顶 info)。
27
27
  #
28
28
  # ⚠️⚠️ 另一条**必须保留**的边界:**本插件绝不判定回复是否恰当、
29
29
  # 点评是否应当申诉删除、差评是否属于恶意评价、门店服务质量是否合格**。
@@ -54,7 +54,7 @@ rules:
54
54
  fix: 补填点评内容与评分;本条只核对是否记录,不判断点评内容是否属实
55
55
  note: >-
56
56
  回复台账若无点评内容或评分,"回复了什么"就无从追溯,也无法按评分分层处理。
57
- 本次未取得明文条号,故封顶 warn。
57
+ 本次未取得明文条号,故 severity 封顶 info。
58
58
  本条只核对"至少填了一个",**不判断点评内容是否属实、是否属于恶意评价**。
59
59
 
60
60
  - id: OT-002
@@ -81,12 +81,12 @@ rules:
81
81
  ⇒ 它是**本机构为了使回复可按时限考核而设的台账要求**,属本机构配置。
82
82
  ⚠️ **降级不是弱化而是如实**:把它留在 `warn` 会赋予所引法律条文并不承载的分量。
83
83
  标了"已回复"却不记回复日期,就无法判断是否在平台时限内完成,
84
- 也无法在申诉或考核时举证。本次未取得明文条号,故封顶 warn。
84
+ 也无法在申诉或考核时举证。本次未取得明文条号,故 severity 封顶 info。
85
85
  判定"已回复"的取值由 conditionValues 配置。本条只核对日期栏是否填写,
86
86
  **不判断回复是否及时、是否恰当**。
87
87
 
88
88
  - id: OT-003
89
- title: 未回复的点评应在配置的时限内
89
+ title: 台账的回复期限与点评日期不一致
90
90
  severity: info
91
91
  basis:
92
92
  document: 各在线旅游平台服务规则(本机构配置)
@@ -130,7 +130,7 @@ rules:
130
130
  **"先点评、后回复"是流程的时间前提,不是法律原则的推论** ——
131
131
  **《电子商务法》未规定这一先后关系**。⇒ 属本机构配置。
132
132
  "先点评、后回复"是流程的**时间前提**;日期可解析是台账能被程序处理的前提。
133
- 本次未取得明文条号,故封顶 warn。
133
+ 本次未取得明文条号,故 severity 封顶 info。
134
134
  本条只比较两个日期(同一天视为不晚于),**不判断回复是否及时**。
135
135
  日期无法解析时会单独报出,**不会静默跳过**。
136
136
 
@@ -155,7 +155,7 @@ rules:
155
155
  **《电子商务法》通篇没有"回复人"这一记录要求** ——
156
156
  "回复人决定责任落点"是**本机构的责任管理需要**,不是所引条文的推论。
157
157
  回复人决定了责任落点:出现不当回复时,要能追到具体处理人。
158
- 本次未取得明文条号,故封顶 warn。
158
+ 本次未取得明文条号,故 severity 封顶 info。
159
159
  本条只核对回复人栏是否填写,**不判断该回复是否恰当、是否符合平台规则**。
160
160
 
161
161
  - id: OT-006
@@ -195,6 +195,6 @@ rules:
195
195
  field: reviewNo
196
196
  note: >-
197
197
  点评编号唯一是"每条点评只被登记一次"的**前提条件**:编号重复会让人无法准确指认待回复的点评,
198
- 回复率统计也会失真。本次未取得明文条号,故封顶 warn。比较时忽略空白字符。
198
+ 回复率统计也会失真。本次未取得明文条号,故 severity 封顶 info。比较时忽略空白字符。
199
199
 
200
200
  disabled: []