dsh-nurse-record-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
+ ### Changed
12
+
13
+ - 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.
14
+
15
+ ## [0.2.7] - 2026-10-18
16
+
17
+ ### Fixed
18
+
19
+ - **`check:citations` checks every `excerpt`, including `alsoBasis`.** The gate read only the first excerpt per rule; this pack had additional `alsoBasis` quotations that were never checked. It now reports the complete segment count.
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
  - Rework the README first screen. The H1 now names what the plugin checks rather
@@ -44,3 +87,5 @@
44
87
  - Five-language READMEs hold the same section count and the same configuration keys.
45
88
  - Rule pack: 0 rules across XX-001..XX-000.
46
89
  - Licensed Apache-2.0.
90
+
91
+
package/README-es.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-nurse-record-check — Verificación de plazos, firmas y formularios de evaluación en el registro de enfermería
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-nurse-record-check` lee una exportación legible por máquina de un episodio de hospitalización —registros de enfermería, órdenes médicas y formularios de evaluación completados— y comprueba los plazos, las firmas y la conservación de formularios de esa documentación de enfermería (护理记录), informando de las diferencias literales frente a las cláusulas citadas: que cada registro de enfermería deje un responsable y una hora trazables, que toda fecha y hora esté escrita en formato de 24 horas y se pueda leer, que la hora de un registro de reanimación sea precisa al minuto y su nota se escriba dentro de las 6 horas siguientes al final de la reanimación, que una orden temporal lleve hora de ejecución y la firma de la enfermera que la ejecutó y que una orden anulada registre su anulación, que la primera evaluación de enfermería y la frecuencia de documentación cumplan los umbrales que configure la institución, que los formularios de riesgo de caídas y de lesión por presión estén archivados, y que el intervalo entre rondas de vigilancia corresponda a la guía de cuidados graduados del nivel de cuidados que el registro indica. Una comprobación que no puede ejecutarse se lista en `skipped` en lugar de pasar.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-nurse-record-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
12
+ ```
13
+
14
+ ## Cómo se ve la salida
15
+
16
+ ![Terminal demo of dsh-nurse-record-check: real output over its NR-007 fixture](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-nurse-record-check](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-demo.gif)
19
+
20
+ Salida real de este plugin sobre su propio fixture de prueba `NR-007` — 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 |
@@ -36,22 +53,15 @@ mismatches against cited clauses; it never decides whether an episode of care wa
36
53
 
37
54
  | Superficie | Estado |
38
55
  |---|---|
39
- | 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 |
56
+ | 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 |
40
57
  | Node | `^22.19.0 || >=24.0.0` |
41
58
  | Plataformas | Todas (ESM puro; sin código nativo, sin red, sin llamada al modelo) |
42
- | Modo de herramienta | Funciona en `native`, `ptc` y `both`; para un directorio completo use `ptc` |
59
+ | Modo de herramienta | Funciona en `native` y `ptc`; para un directorio completo use `ptc` |
43
60
 
44
61
  ## What it does
45
62
 
46
63
  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.
47
64
 
48
- ## Install
49
-
50
- ```sh
51
- dsh plugin --profile <name> add dsh-nurse-record-check
52
- dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
53
- ```
54
-
55
65
  ## Configuration
56
66
 
57
67
  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-nurse-record-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-nurse-record-check` एक भर्ती प्रकरण (inpatient episode) के मशीन-पठनीय निर्यात को पढ़ता है — नर्सिंग प्रविष्टियाँ, चिकित्सकीय आदेश और भरे गए मूल्यांकन प्रपत्र — और उस नर्सिंग दस्तावेज़ (护理记录) की समय-सीमा, हस्ताक्षर और मूल्यांकन-प्रपत्र की जाँच करता है, तथा उद्धृत धाराओं के विरुद्ध शाब्दिक अंतर दर्ज करता है: कि हर नर्सिंग प्रविष्टि में पता लगाने योग्य रिकॉर्डर और समय हो, कि हर दिनांक और समय 24-घंटे के प्रारूप में लिखा हो और पढ़ा जा सके, कि पुनर्जीवन (rescue) रिकॉर्ड का समय मिनट तक सटीक हो और उसका नोट पुनर्जीवन समाप्त होने के 6 घंटे के भीतर लिखा गया हो, कि अस्थायी आदेश (temporary order) में निष्पादन समय और निष्पादन करने वाली नर्स का हस्ताक्षर हो तथा रद्द किए गए आदेश में रद्दीकरण दर्ज हो, कि प्रथम नर्सिंग मूल्यांकन और दस्तावेज़ीकरण की आवृत्ति संस्थान द्वारा कॉन्फ़िगर की गई सीमाओं के अनुरूप हो, कि गिरने के जोखिम और दबाव-घाव (pressure injury) के मूल्यांकन प्रपत्र अभिलेख में उपलब्ध हों, और यह कि गश्त (rounds) का अंतराल रिकॉर्ड में दर्ज देखभाल-स्तर के श्रेणीबद्ध नर्सिंग मार्गदर्शन से मेल खाता हो। जो जाँच चल न सके वह पास होने के बजाय `skipped` में दर्ज की जाती है।
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-nurse-record-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
12
+ ```
13
+
14
+ ## आउटपुट कैसा दिखता है
15
+
16
+ ![Terminal demo of dsh-nurse-record-check: real output over its NR-007 fixture](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-nurse-record-check](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-demo.gif)
19
+
20
+ इस प्लगइन का अपने ही `NR-007` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
21
+
5
22
  ## यह किन सवालों का जवाब देता है
6
23
 
7
24
  | आपका सवाल | इसका जवाब |
@@ -36,22 +53,15 @@ mismatches against cited clauses; it never decides whether an episode of care wa
36
53
 
37
54
  | सतह | स्थिति |
38
55
  |---|---|
39
- | 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` जानबूझकर घोषित नहीं**: इसका कोई पाठक नहीं और यह किसी होस्ट को अस्वीकार नहीं कर सकता |
56
+ | 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 से होस्ट इसे लागू करता है |
40
57
  | Node | `^22.19.0 || >=24.0.0` |
41
58
  | प्लेटफ़ॉर्म | सभी (शुद्ध ESM; कोई नेटिव कोड नहीं, कोई नेटवर्क नहीं, कोई मॉडल कॉल नहीं) |
42
- | टूल मोड | `native`, `ptc` और `both` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
59
+ | टूल मोड | `native` और `ptc` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
43
60
 
44
61
  ## What it does
45
62
 
46
63
  नियम-सूची, फ़ील्ड और विस्तृत व्यवहार [README.md](README.md#what-it-does) (अंग्रेज़ी मुख्य संस्करण) में हैं। यह प्लगइन केवल उद्धृत धाराओं के सामने शाब्दिक अंतर सूचीबद्ध करता है और हर न चल पाई जाँच को `skipped` में बताता है।
47
64
 
48
- ## Install
49
-
50
- ```sh
51
- dsh plugin --profile <name> add dsh-nurse-record-check
52
- dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
53
- ```
54
-
55
65
  ## Configuration
56
66
 
57
67
  सभी समायोज्य पैरामीटर `src/config.ts` की Schemastery स्कीमा में हैं, इसलिए कोड बदले बिना `cordis.yml` से बदले जा सकते हैं; प्रति-नियम सीमाएँ `rules/` के नियम-पैक में हैं।
package/README-pt.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-nurse-record-check — Verificação de prazos, assinaturas e formulários de avaliação no registo de enfermagem
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-nurse-record-check` lê uma exportação legível por máquina de um episódio de internamento —registos de enfermagem, ordens médicas e formulários de avaliação preenchidos— e verifica os prazos, as assinaturas e a conservação de formulários dessa documentação de enfermagem (护理记录), assinalando as diferenças literais face às cláusulas citadas: que cada registo de enfermagem deixe um responsável e uma hora rastreáveis, que toda a data e hora esteja escrita em formato de 24 horas e possa ser lida, que a hora de um registo de reanimação seja precisa ao minuto e a sua nota seja escrita nas 6 horas seguintes ao fim da reanimação, que uma ordem temporária traga hora de execução e a assinatura da enfermeira que a executou e que uma ordem anulada registe o seu cancelamento, que a primeira avaliação de enfermagem e a frequência de documentação cumpram os limiares que a instituição configurar, que os formulários de risco de queda e de lesão por pressão estejam arquivados, e que o intervalo entre rondas de vigilância corresponda à orientação de cuidados graduados do nível de cuidados indicado no registo. Uma verificação que não pode ser executada é listada em `skipped` em vez de passar.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-nurse-record-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
12
+ ```
13
+
14
+ ## Como é a saída
15
+
16
+ ![Terminal demo of dsh-nurse-record-check: real output over its NR-007 fixture](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-nurse-record-check](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-demo.gif)
19
+
20
+ Saída real deste plugin sobre o seu próprio fixture de teste `NR-007` — 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 |
@@ -36,22 +53,15 @@ mismatches against cited clauses; it never decides whether an episode of care wa
36
53
 
37
54
  | Superfície | Estado |
38
55
  |---|---|
39
- | 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 |
56
+ | 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 |
40
57
  | Node | `^22.19.0 || >=24.0.0` |
41
58
  | Plataformas | Todas (ESM puro; sem código nativo, sem rede, sem chamada ao modelo) |
42
- | Modo de ferramenta | Funciona em `native`, `ptc` e `both`; para um diretório inteiro use `ptc` |
59
+ | Modo de ferramenta | Funciona em `native` e `ptc`; para um diretório inteiro use `ptc` |
43
60
 
44
61
  ## What it does
45
62
 
46
63
  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.
47
64
 
48
- ## Install
49
-
50
- ```sh
51
- dsh plugin --profile <name> add dsh-nurse-record-check
52
- dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
53
- ```
54
-
55
65
  ## Configuration
56
66
 
57
67
  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-nurse-record-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-nurse-record-check` 读取一次住院过程的机器可读导出材料——护理记录、医嘱与已完成的评估表——核对这份护理记录的时限、签名与评估表留存,逐条报出与所引条款的字面差异:每条护理记录是否留下可追溯的记录人与时间、日期与时间是否按 24 小时制书写且可解析、抢救记录的时间是否精确到分钟且是否在抢救结束后 6 小时内补记、临时医嘱是否记录执行时间与执行护士签名、取消的医嘱是否记录取消信息、首次护理评估与护理记录书写频次是否满足本机构配置的阈值、跌倒与压力性损伤风险评估表是否留存、巡视间隔是否与该记录所载护理级别对应的分级护理指导原则相符。无法执行的检查计入 `skipped`,不会静默通过。
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-nurse-record-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
12
+ ```
13
+
14
+ ## 实际输出长什么样
15
+
16
+ ![Terminal demo of dsh-nurse-record-check: real output over its NR-007 fixture](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-nurse-record-check](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-demo.gif)
19
+
20
+ 本插件对自己 `NR-007` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
21
+
5
22
  ## 它回答什么问题
6
23
 
7
24
  | 你会问 | 它怎么答 |
@@ -36,22 +53,15 @@ mismatches against cited clauses; it never decides whether an episode of care wa
36
53
 
37
54
  | 项目 | 状态 |
38
55
  |---|---|
39
- | 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`**:它没有任何读取者,也无法拒装任何宿主 |
56
+ | 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` |
40
57
  | Node | `^22.19.0 || >=24.0.0` |
41
58
  | 平台 | 全平台(纯 ESM;无原生代码、无联网、不调用模型) |
42
- | 工具模式 | `native` / `ptc` / `both` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
59
+ | 工具模式 | `native` / `ptc` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
43
60
 
44
61
  ## What it does
45
62
 
46
63
  规则表、字段说明与行为细节见 [README.md](README.md#what-it-does)(英文主版本)。本插件只列出材料与所引条款之间的字面差异,并对无法执行的检查在 `skipped` 中逐项说明。
47
64
 
48
- ## Install
49
-
50
- ```sh
51
- dsh plugin --profile <name> add dsh-nurse-record-check
52
- dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
53
- ```
54
-
55
65
  ## Configuration
56
66
 
57
67
  全部可调参数都在 `src/config.ts` 的 Schemastery schema 中,只改 `cordis.yml` 即可生效,无需改代码;逐条阈值在 `rules/` 下的规则库文件里。
package/README.md CHANGED
@@ -1,7 +1,24 @@
1
1
  # dsh-nurse-record-check — Nursing record timeliness, sign-off and assessment-form completeness 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-nurse-record-check` reads a machine-readable export of one inpatient episode — nursing entries, medical orders and completed assessment forms — and checks the timeliness, sign-off and assessment-form record of that nursing documentation (护理记录), reporting literal mismatches against cited clauses: that every nursing entry leaves a traceable recorder and a time, that every date and time is written in 24-hour form and can be read, that a rescue record's time is precise to the minute and its note is written up within 6 hours of the rescue ending, that a temporary order carries an execution time and the executing nurse's signature and that a cancelled order records its cancellation, that the first nursing assessment and the documentation frequency meet the thresholds the institution configures, that fall-risk and pressure-injury assessment forms are on file, and that the rounds interval matches the graded-nursing guidance for the care level the record states. A check that cannot run is listed in `skipped` instead of passing.
4
6
 
7
+ ## Install
8
+
9
+ ```sh
10
+ dsh plugin --profile <name> add dsh-nurse-record-check
11
+ dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
12
+ ```
13
+
14
+ ## What it looks like
15
+
16
+ ![Terminal demo of dsh-nurse-record-check: real output over its NR-007 fixture](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-hero.png)
17
+
18
+ ![Animated terminal demo of dsh-nurse-record-check](https://raw.githubusercontent.com/PerryLink/dsh-nurse-record-check/main/docs/assets/dsh-nurse-record-check-demo.gif)
19
+
20
+ Real output from this plugin over its own `NR-007` 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 |
@@ -36,10 +53,10 @@ mismatches against cited clauses; it never decides whether an episode of care wa
36
53
 
37
54
  | Surface | Status |
38
55
  |---|---|
39
- | 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 |
56
+ | 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 |
40
57
  | Node | `^22.19.0 || >=24.0.0` |
41
58
  | Platforms | All (plain ESM; no native code, no network, no model call) |
42
- | Tool mode | Works in `native`, `ptc` and `both`; for a directory of episodes use `ptc` to pay schema cost once |
59
+ | Tool mode | Works in `native` and `ptc`; for a directory of episodes use `ptc` to pay schema cost once |
43
60
 
44
61
  ## What it does
45
62
 
@@ -65,13 +82,6 @@ finding names the clause it came from.
65
82
  Two rules ship unconfigured on purpose, because no national threshold exists for them. They report
66
83
  themselves in `skipped` and never silently pass.
67
84
 
68
- ## Install
69
-
70
- ```sh
71
- dsh plugin --profile <name> add dsh-nurse-record-check
72
- dsh --profile <name> --dump-config | grep 'dsh-nurse-record-check'
73
- ```
74
-
75
85
  ## Configuration
76
86
 
77
87
  Every tunable lives in the Schemastery schema in `src/config.ts`, so it can be changed from
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-nurse-record-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",