dsh-power-ticket-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,40 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.9] - 2026-10-18
4
+
5
+ ### Changed
6
+
7
+ - Move `tsdown` and `typescript` from runtime dependencies to devDependencies; a published checker no longer pulls a build chain into the profile. Same rollout as the 0.2.11 pilot.
8
+
9
+ ## [0.2.8] - 2026-10-18
10
+
11
+ ### Changed
12
+
13
+ - Move the Install section to the first screen in all five READMEs.
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
+ ### Fixed
24
+
25
+ - **`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.
26
+
27
+ ## 0.2.5 - 2026-10-18
28
+
29
+ - 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.
30
+
31
+
32
+ ## 0.2.4 - 2026-10-17
33
+
34
+ - 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`.
35
+ - Docs: the compatibility table no longer claims `engines.dsh` is undeclared; drop the retired `both` tool mode.
36
+
37
+
3
38
  ## 0.2.3
4
39
 
5
40
  - Add a demo card to the README: one terminal shot of this plugin's real output
@@ -49,3 +84,5 @@
49
84
  - Five-language READMEs hold the same section count and the same configuration keys.
50
85
  - Rule pack: 7 rules across PT-001..PT-007.
51
86
  - Licensed Apache-2.0.
87
+
88
+
package/README-es.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # dsh-power-ticket-check — Verificación de la completitud del permiso de trabajo eléctrico y del orden de emisión, autorización y cierre
2
2
 
3
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
+
5
+ ```sh
6
+ dsh plugin --profile <name> add dsh-power-ticket-check
7
+ ```
8
+
9
+
3
10
  [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
11
 
5
12
  `dsh-power-ticket-check` lee un **电力工作票** como un mapa plano de los nombres de columna del propio formulario a sus valores, junto con los roles que figuran en él, y comprueba lo que puede exigirse a un formulario: que estén rellenas todas las columnas de su `requiredFields` configurado, que el 工作票种类 figure entre los que declara su implantación, que 签发时间 → 许可时间 → 终结时间 formen una secuencia físicamente posible, que un 延期时间 desplace el final hacia adelante y no sea anterior a la autorización, que los roles configurados como exclusivos los desempeñen personas distintas, y que el texto de medidas de seguridad y de autorización contenga los cinco términos de 安全技术措施 y los tres de 许可手续 que el paquete busca. Las comprobaciones que no pudieron ejecutarse se listan en `skipped` con su motivo, en lugar de pasar en silencio.
6
13
 
14
+ ## Install
15
+
16
+ ```sh
17
+ dsh plugin --profile <name> add dsh-power-ticket-check
18
+ dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
19
+ ```
20
+
7
21
  ## Cómo se ve la salida
8
22
 
9
- ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.png)
23
+ ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-hero.png)
24
+
25
+ ![Animated terminal demo of dsh-power-ticket-check](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.gif)
10
26
 
11
27
  Salida real de este plugin sobre su propio fixture de prueba `PT-003` — 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.
12
28
 
@@ -61,22 +77,15 @@ kind of ticket a job needs, and **does not** verify that anyone's qualification
61
77
 
62
78
  | Superficie | Estado |
63
79
  |---|---|
64
- | 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 |
80
+ | 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 |
65
81
  | Node | `^22.19.0 || >=24.0.0` |
66
82
  | Plataformas | Todas (ESM puro; sin código nativo, sin red, sin llamada al modelo) |
67
- | Modo de herramienta | Funciona en `native`, `ptc` y `both`; para un directorio completo use `ptc` |
83
+ | Modo de herramienta | Funciona en `native` y `ptc`; para un directorio completo use `ptc` |
68
84
 
69
85
  ## What it does
70
86
 
71
87
  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.
72
88
 
73
- ## Install
74
-
75
- ```sh
76
- dsh plugin --profile <name> add dsh-power-ticket-check
77
- dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
78
- ```
79
-
80
89
  ## Configuration
81
90
 
82
91
  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,12 +1,23 @@
1
1
  # dsh-power-ticket-check — विद्युत कार्य-अनुज्ञप्ति की पूर्णता तथा निर्गमन, अनुमति और समापन के क्रम की जाँच
2
2
 
3
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
+
3
5
  [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
6
 
5
7
  `dsh-power-ticket-check` एक **电力工作票** को उसके अपने कॉलम नामों से मानों तक के सपाट मैपिंग के रूप में पढ़ता है — साथ में उस पर अंकित भूमिकाएँ — और उस अनुज्ञप्ति की वह जाँच करता है जो एक फ़ॉर्म से अपेक्षित की जा सकती है: आपके कॉन्फ़िगर किए गए `requiredFields` के हर कॉलम में मान भरा हो, 工作票种类 आपकी संस्था द्वारा सूचीबद्ध किस्मों में से हो, 签发时间 → 许可时间 → 终结时间 का क्रम भौतिक रूप से संभव हो, 延期时间 अंत को आगे बढ़ाए और अनुमति से पहले न हो, जिन भूमिकाओं को आपने अलग-अलग रखने के लिए कॉन्फ़िगर किया है वे अलग-अलग व्यक्तियों के हों, तथा सुरक्षा-उपाय और अनुमति के पाठ में नियम-पैक द्वारा खोजे जाने वाले 安全技术措施 के पाँच और 许可手续 के तीन शब्द मौजूद हों। जो जाँचें चल नहीं सकीं, वे चुपचाप पास होने के बजाय कारण के साथ `skipped` में दर्ज होती हैं।
6
8
 
9
+ ## Install
10
+
11
+ ```sh
12
+ dsh plugin --profile <name> add dsh-power-ticket-check
13
+ dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
14
+ ```
15
+
7
16
  ## आउटपुट कैसा दिखता है
8
17
 
9
- ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.png)
18
+ ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-hero.png)
19
+
20
+ ![Animated terminal demo of dsh-power-ticket-check](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.gif)
10
21
 
11
22
  इस प्लगइन का अपने ही `PT-003` टेस्ट फ़िक्स्चर पर वास्तविक आउटपुट — कोई नकली चित्र नहीं। नियम-पैक उद्धरण नहीं गढ़ता, इसलिए हर निष्कर्ष लागू किए गए खंड का नाम और यह भी बताता है कि उसका मूल पाठ इस बार प्राप्त नहीं हुआ।
12
23
 
@@ -61,22 +72,15 @@ kind of ticket a job needs, and **does not** verify that anyone's qualification
61
72
 
62
73
  | सतह | स्थिति |
63
74
  |---|---|
64
- | 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` जानबूझकर घोषित नहीं**: इसका कोई पाठक नहीं और यह किसी होस्ट को अस्वीकार नहीं कर सकता |
75
+ | 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 से होस्ट इसे लागू करता है |
65
76
  | Node | `^22.19.0 || >=24.0.0` |
66
77
  | प्लेटफ़ॉर्म | सभी (शुद्ध ESM; कोई नेटिव कोड नहीं, कोई नेटवर्क नहीं, कोई मॉडल कॉल नहीं) |
67
- | टूल मोड | `native`, `ptc` और `both` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
78
+ | टूल मोड | `native` और `ptc` में काम करता है; पूरे फ़ोल्डर के लिए `ptc` चुनें |
68
79
 
69
80
  ## What it does
70
81
 
71
82
  नियम-सूची, फ़ील्ड और विस्तृत व्यवहार [README.md](README.md#what-it-does) (अंग्रेज़ी मुख्य संस्करण) में हैं। यह प्लगइन केवल उद्धृत धाराओं के सामने शाब्दिक अंतर सूचीबद्ध करता है और हर न चल पाई जाँच को `skipped` में बताता है।
72
83
 
73
- ## Install
74
-
75
- ```sh
76
- dsh plugin --profile <name> add dsh-power-ticket-check
77
- dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
78
- ```
79
-
80
84
  ## Configuration
81
85
 
82
86
  सभी समायोज्य पैरामीटर `src/config.ts` की Schemastery स्कीमा में हैं, इसलिए कोड बदले बिना `cordis.yml` से बदले जा सकते हैं; प्रति-नियम सीमाएँ `rules/` के नियम-पैक में हैं।
package/README-pt.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # dsh-power-ticket-check — Verificação da completude do permiso de trabalho elétrico e da ordem de emissão, autorização e encerramento
2
2
 
3
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
+
5
+ ```sh
6
+ dsh plugin --profile <name> add dsh-power-ticket-check
7
+ ```
8
+
9
+
3
10
  [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
11
 
5
12
  `dsh-power-ticket-check` lê um **电力工作票** como um mapa plano dos nomes das colunas do próprio formulário para os respetivos valores, em conjunto com os papéis nele indicados, e verifica o que se pode exigir a um formulário: que todas as colunas do seu `requiredFields` configurado estejam preenchidas, que o 工作票种类 conste dos que a sua implantação declara, que 签发时间 → 许可时间 → 终结时间 formem uma sequência fisicamente possível, que um 延期时间 empurre o fim para a frente e não seja anterior à autorização, que os papéis configurados como exclusivos sejam desempenhados por pessoas diferentes, e que o texto das medidas de segurança e da autorização contenha os cinco termos de 安全技术措施 e os três de 许可手续 que o pacote procura. As verificações que não puderam ser executadas são listadas em `skipped` com o respetivo motivo, em vez de passarem em silêncio.
6
13
 
14
+ ## Install
15
+
16
+ ```sh
17
+ dsh plugin --profile <name> add dsh-power-ticket-check
18
+ dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
19
+ ```
20
+
7
21
  ## Como é a saída
8
22
 
9
- ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.png)
23
+ ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-hero.png)
24
+
25
+ ![Animated terminal demo of dsh-power-ticket-check](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.gif)
10
26
 
11
27
  Saída real deste plugin sobre o seu próprio fixture de teste `PT-003` — 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.
12
28
 
@@ -61,22 +77,15 @@ kind of ticket a job needs, and **does not** verify that anyone's qualification
61
77
 
62
78
  | Superfície | Estado |
63
79
  |---|---|
64
- | 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 |
80
+ | 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 |
65
81
  | Node | `^22.19.0 || >=24.0.0` |
66
82
  | Plataformas | Todas (ESM puro; sem código nativo, sem rede, sem chamada ao modelo) |
67
- | Modo de ferramenta | Funciona em `native`, `ptc` e `both`; para um diretório inteiro use `ptc` |
83
+ | Modo de ferramenta | Funciona em `native` e `ptc`; para um diretório inteiro use `ptc` |
68
84
 
69
85
  ## What it does
70
86
 
71
87
  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.
72
88
 
73
- ## Install
74
-
75
- ```sh
76
- dsh plugin --profile <name> add dsh-power-ticket-check
77
- dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
78
- ```
79
-
80
89
  ## Configuration
81
90
 
82
91
  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,12 +1,23 @@
1
1
  # dsh-power-ticket-check — 电力工作票要素齐备性与签发许可终结顺序核对
2
2
 
3
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
+
3
5
  [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
6
 
5
7
  `dsh-power-ticket-check` 读取一份 **电力工作票**——以票面栏目名为键、栏目取值为值的平铺映射,外加票上列出的人员角色——按一张票面能被要求到的范围核对:本机构配置的 `requiredFields` 各栏是否都已填写、工作票种类是否在本机构列出的票种之内、签发时间 → 许可时间 → 终结时间 的顺序是否物理上成立、延期时间是否把结束时间向后推且不早于许可时间、本机构配置为须分设的角色是否由不同人员担任,以及安全措施与许可文本中是否出现规则库要求核对的安全技术措施五项与许可手续三项关键词。未能执行的检查逐条列在 `skipped` 并写明原因,而不是静默通过。
6
8
 
9
+ ## Install
10
+
11
+ ```sh
12
+ dsh plugin --profile <name> add dsh-power-ticket-check
13
+ dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
14
+ ```
15
+
7
16
  ## 实际输出长什么样
8
17
 
9
- ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.png)
18
+ ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-hero.png)
19
+
20
+ ![Animated terminal demo of dsh-power-ticket-check](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.gif)
10
21
 
11
22
  本插件对自己 `PT-003` 测试夹具的**真实输出**,不是示意图。规则库不伪造引文,因此每条发现都会同时写明所引条款,以及该条款原文本次未取得。
12
23
 
@@ -61,22 +72,15 @@ kind of ticket a job needs, and **does not** verify that anyone's qualification
61
72
 
62
73
  | 项目 | 状态 |
63
74
  |---|---|
64
- | 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`**:它没有任何读取者,也无法拒装任何宿主 |
75
+ | 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` |
65
76
  | Node | `^22.19.0 || >=24.0.0` |
66
77
  | 平台 | 全平台(纯 ESM;无原生代码、无联网、不调用模型) |
67
- | 工具模式 | `native` / `ptc` / `both` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
78
+ | 工具模式 | `native` / `ptc` 均可;批量校验整个目录时建议 `ptc`,schema 成本只付一次 |
68
79
 
69
80
  ## What it does
70
81
 
71
82
  规则表、字段说明与行为细节见 [README.md](README.md#what-it-does)(英文主版本)。本插件只列出材料与所引条款之间的字面差异,并对无法执行的检查在 `skipped` 中逐项说明。
72
83
 
73
- ## Install
74
-
75
- ```sh
76
- dsh plugin --profile <name> add dsh-power-ticket-check
77
- dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
78
- ```
79
-
80
84
  ## Configuration
81
85
 
82
86
  全部可调参数都在 `src/config.ts` 的 Schemastery schema 中,只改 `cordis.yml` 即可生效,无需改代码;逐条阈值在 `rules/` 下的规则库文件里。
package/README.md CHANGED
@@ -1,12 +1,23 @@
1
1
  # dsh-power-ticket-check — Power work-ticket completeness and issue-permit-termination order check
2
2
 
3
+ [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
+
3
5
  [![DSH Market](https://raw.githubusercontent.com/2BingLing/dsh-market/master/assets/readme/badge-listed-en.svg)](https://dsh.market/)
4
6
 
5
7
  `dsh-power-ticket-check` reads one **电力工作票** as a flat mapping of the ticket's own column names to their values, together with the roles named on it, and checks that ticket for what a form can be held to: that every column in your configured `requiredFields` is filled, that the 工作票种类 is one your deployment lists, that 签发时间 → 许可时间 → 终结时间 form a sequence that is physically possible, that a 延期时间 pushes the end forward and does not precede the permit, that roles you configured as exclusive are held by different people, and that the safety-measure and permit text carries the five 安全技术措施 terms and the three 许可手续 terms the pack looks for. Checks that could not run are listed in `skipped` with their reason rather than passing silently.
6
8
 
9
+ ## Install
10
+
11
+ ```sh
12
+ dsh plugin --profile <name> add dsh-power-ticket-check
13
+ dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
14
+ ```
15
+
7
16
  ## What it looks like
8
17
 
9
- ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.png)
18
+ ![Terminal demo of dsh-power-ticket-check: real output over its PT-003 fixture](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-hero.png)
19
+
20
+ ![Animated terminal demo of dsh-power-ticket-check](https://raw.githubusercontent.com/PerryLink/dsh-power-ticket-check/main/docs/assets/dsh-power-ticket-check-demo.gif)
10
21
 
11
22
  Real output from this plugin over its own `PT-003` 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.
12
23
 
@@ -61,10 +72,10 @@ kind of ticket a job needs, and **does not** verify that anyone's qualification
61
72
 
62
73
  | Surface | Status |
63
74
  |---|---|
64
- | 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 |
75
+ | 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 |
65
76
  | Node | `^22.19.0 || >=24.0.0` |
66
77
  | Platforms | All (plain ESM; no native code, no network, no model call) |
67
- | Tool mode | Works in `native`, `ptc` and `both`; for a month of tickets use `ptc` |
78
+ | Tool mode | Works in `native` and `ptc`; for a month of tickets use `ptc` |
68
79
 
69
80
  ## What it does
70
81
 
@@ -81,13 +92,6 @@ names to their values, applies a versioned rule pack, and returns a report.
81
92
  | `PT-006` | the five safety technical measures are written on the ticket | error | direct |
82
93
  | `PT-007` | the permit formalities (site re-check, live parts pointed out, both signatures) | warn | direct |
83
94
 
84
- ## Install
85
-
86
- ```sh
87
- dsh plugin --profile <name> add dsh-power-ticket-check
88
- dsh --profile <name> --dump-config | grep 'dsh-power-ticket-check'
89
- ```
90
-
91
95
  ## Configuration
92
96
 
93
97
  | Key | Type | Default | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-power-ticket-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,14 +79,14 @@
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"
87
- },
88
- "dependencies": {
86
+ "vitest": "^3.2.7",
87
+ "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2",
89
88
  "tsdown": "^0.22.14",
90
89
  "typescript": "^5.9.3"
91
- }
90
+ },
91
+ "dependencies": {}
92
92
  }