dsh-canteen-retention-check 0.2.0 → 0.2.2

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/README-es.md CHANGED
@@ -79,110 +79,7 @@ node ../scripts/sync-shared.mjs dsh-canteen-retention-check
79
79
 
80
80
  ## PerryLink DSH Plugin Family
81
81
 
82
- This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
83
-
84
- <details>
85
- <summary>Expand all plugins</summary>
86
-
87
- | Plugin | Status |
88
- |---|---|
89
- | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
90
- | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
91
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
92
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
93
- | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
94
- | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
95
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
96
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
97
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
98
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
99
- | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
100
- | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
101
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
102
- | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
103
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
104
- | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
105
- | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
106
- | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
107
- | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
108
- | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
109
- | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
110
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
111
- | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
112
- | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
113
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
114
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
115
- | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
116
- | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
117
- | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
118
- | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
119
- | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
120
- | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
121
- | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
122
- | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
123
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
124
- | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
125
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
126
- | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
127
- | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
128
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
129
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
130
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
131
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
132
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
133
- | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
134
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
135
- | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
136
- | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
137
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
138
- | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
139
- | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
140
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
141
- | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
142
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
143
- | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
144
- | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
145
- | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
146
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
147
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
148
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
149
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
150
- | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
151
- | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
152
- | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
153
- | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
154
- | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
155
- | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
156
- | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
157
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
158
- | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
159
- | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
160
- | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
161
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
162
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
163
- | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
164
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
165
- | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
166
- | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
167
- | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
168
- | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
169
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
170
- | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
171
- | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
172
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
173
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
174
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
175
- | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
176
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
177
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
178
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
179
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
180
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
181
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
182
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
183
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
184
-
185
- </details>
82
+ Full family index: [choose a checker by material](https://perrylink.github.io/zh/checkers/choose/) and [all plugins](https://github.com/PerryLink). This repository is one of them.
186
83
 
187
84
  ## License
188
85
 
package/README-hi.md CHANGED
@@ -79,110 +79,7 @@ node ../scripts/sync-shared.mjs dsh-canteen-retention-check
79
79
 
80
80
  ## PerryLink DSH Plugin Family
81
81
 
82
- This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
83
-
84
- <details>
85
- <summary>Expand all plugins</summary>
86
-
87
- | Plugin | Status |
88
- |---|---|
89
- | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
90
- | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
91
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
92
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
93
- | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
94
- | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
95
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
96
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
97
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
98
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
99
- | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
100
- | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
101
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
102
- | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
103
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
104
- | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
105
- | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
106
- | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
107
- | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
108
- | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
109
- | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
110
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
111
- | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
112
- | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
113
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
114
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
115
- | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
116
- | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
117
- | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
118
- | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
119
- | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
120
- | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
121
- | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
122
- | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
123
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
124
- | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
125
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
126
- | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
127
- | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
128
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
129
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
130
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
131
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
132
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
133
- | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
134
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
135
- | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
136
- | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
137
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
138
- | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
139
- | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
140
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
141
- | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
142
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
143
- | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
144
- | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
145
- | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
146
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
147
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
148
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
149
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
150
- | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
151
- | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
152
- | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
153
- | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
154
- | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
155
- | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
156
- | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
157
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
158
- | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
159
- | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
160
- | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
161
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
162
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
163
- | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
164
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
165
- | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
166
- | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
167
- | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
168
- | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
169
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
170
- | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
171
- | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
172
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
173
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
174
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
175
- | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
176
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
177
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
178
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
179
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
180
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
181
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
182
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
183
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
184
-
185
- </details>
82
+ Full family index: [choose a checker by material](https://perrylink.github.io/zh/checkers/choose/) and [all plugins](https://github.com/PerryLink). This repository is one of them.
186
83
 
187
84
  ## License
188
85
 
package/README-pt.md CHANGED
@@ -79,110 +79,7 @@ node ../scripts/sync-shared.mjs dsh-canteen-retention-check
79
79
 
80
80
  ## PerryLink DSH Plugin Family
81
81
 
82
- This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
83
-
84
- <details>
85
- <summary>Expand all plugins</summary>
86
-
87
- | Plugin | Status |
88
- |---|---|
89
- | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
90
- | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
91
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
92
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
93
- | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
94
- | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
95
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
96
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
97
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
98
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
99
- | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
100
- | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
101
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
102
- | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
103
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
104
- | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
105
- | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
106
- | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
107
- | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
108
- | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
109
- | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
110
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
111
- | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
112
- | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
113
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
114
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
115
- | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
116
- | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
117
- | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
118
- | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
119
- | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
120
- | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
121
- | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
122
- | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
123
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
124
- | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
125
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
126
- | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
127
- | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
128
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
129
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
130
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
131
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
132
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
133
- | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
134
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
135
- | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
136
- | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
137
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
138
- | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
139
- | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
140
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
141
- | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
142
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
143
- | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
144
- | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
145
- | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
146
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
147
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
148
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
149
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
150
- | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
151
- | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
152
- | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
153
- | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
154
- | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
155
- | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
156
- | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
157
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
158
- | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
159
- | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
160
- | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
161
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
162
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
163
- | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
164
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
165
- | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
166
- | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
167
- | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
168
- | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
169
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
170
- | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
171
- | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
172
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
173
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
174
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
175
- | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
176
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
177
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
178
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
179
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
180
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
181
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
182
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
183
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
184
-
185
- </details>
82
+ Full family index: [choose a checker by material](https://perrylink.github.io/zh/checkers/choose/) and [all plugins](https://github.com/PerryLink). This repository is one of them.
186
83
 
187
84
  ## License
188
85
 
package/README-zh.md CHANGED
@@ -1,7 +1,25 @@
1
- # dsh-canteen-retention-check — Canteen retention check (简体中文)
1
+ # dsh-canteen-retention-check — 食堂留样台账核对
2
+
3
+ ### 快速试跑(1 分钟)
4
+
5
+ ```bash
6
+ node samples/quickstart/run.mjs --check
7
+ ```
8
+
9
+ 样例在 `samples/quickstart/input/`,期望输出在 `samples/quickstart/expected/result.json`;截图见 `docs/assets/quickstart.png`。
10
+
2
11
 
3
12
  [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
13
 
14
+ <!-- topblock:v1 -->
15
+ > **这是什么** 核对食堂留样台账:四要素、留样量、冷藏时长、模板占位符。
16
+ > **给谁用** 食堂管理员、食品安全员;不用懂命令行。
17
+ > **你交什么** 这项核对用到的原始材料(表格、清单或文书);不改原件。Excel 可先转成 JSON/YAML,对话里也能代转。
18
+ > **它不做什么** 不判合规、不认定责任、不替代审核人;只列材料内部能逐条指认的差异。
19
+ > **怎么开始** 在 WorkBuddy / 扣子搜「安全合规核对包」(本检查是其中一项;上架以商城为准);或命令行:
20
+ > `dsh plugin --profile <name> add dsh-canteen-retention-check`
21
+ <!-- /topblock:v1 -->
22
+
5
23
  [![dshfind](https://dshfind.com/api/badge/PerryLink/dsh-canteen-retention-check?metric=downloads)](https://dshfind.com/en/plugins/PerryLink/dsh-canteen-retention-check?ref=badge)
6
24
 
7
25
  `dsh-canteen-retention-check` 核对食堂留样台账:规章要求的四要素(品名、留样量、留样时间、留样人员)、125 克下限、48 小时冷藏期,以及单元格里残留的模板占位符。
@@ -83,110 +101,7 @@ node ../scripts/sync-shared.mjs dsh-canteen-retention-check
83
101
 
84
102
  ## PerryLink DSH Plugin Family
85
103
 
86
- This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
87
-
88
- <details>
89
- <summary>Expand all plugins</summary>
90
-
91
- | Plugin | Status |
92
- |---|---|
93
- | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
94
- | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
95
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
96
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
97
- | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
98
- | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
99
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
100
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
101
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
102
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
103
- | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
104
- | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
105
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
106
- | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
107
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
108
- | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
109
- | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
110
- | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
111
- | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
112
- | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
113
- | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
114
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
115
- | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
116
- | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
117
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
118
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
119
- | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
120
- | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
121
- | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
122
- | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
123
- | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
124
- | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
125
- | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
126
- | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
127
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
128
- | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
129
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
130
- | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
131
- | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
132
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
133
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
134
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
135
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
136
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
137
- | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
138
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
139
- | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
140
- | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
141
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
142
- | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
143
- | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
144
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
145
- | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
146
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
147
- | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
148
- | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
149
- | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
150
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
151
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
152
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
153
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
154
- | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
155
- | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
156
- | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
157
- | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
158
- | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
159
- | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
160
- | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
161
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
162
- | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
163
- | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
164
- | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
165
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
166
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
167
- | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
168
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
169
- | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
170
- | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
171
- | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
172
- | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
173
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
174
- | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
175
- | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
176
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
177
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
178
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
179
- | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
180
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
181
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
182
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
183
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
184
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
185
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
186
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
187
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
188
-
189
- </details>
104
+ 完整清单(62 个核查器 + 通用插件)见 [按材料选核查器](https://perrylink.github.io/zh/checkers/choose/);本仓只是其中一个。
190
105
 
191
106
  ## License
192
107
 
package/README.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
4
4
 
5
+ <!-- topblock:v1 -->
6
+ > **What it is** — Checks a canteen retention ledger for the four required elements, sample weight, refrigeration time and leftover placeholders.
7
+ > **Who it is for** — canteen managers and food-safety officers; no command line required.
8
+ > **What you give it** — the source material the check works on (a table, register or document); the original is never modified. Excel can be converted to JSON/YAML first, in chat if the platform supports it.
9
+ > **What it does not do** — no compliance verdict, no liability finding, no replacement for the reviewer; differences only.
10
+ > **How to start** — search "Safety Compliance Suite" in WorkBuddy / Coze (this check is one part of it; availability as listed); or:
11
+ > `dsh plugin --profile <name> add dsh-canteen-retention-check`
12
+ <!-- /topblock:v1 -->
13
+
5
14
  [![dshfind](https://dshfind.com/api/badge/PerryLink/dsh-canteen-retention-check?metric=downloads)](https://dshfind.com/en/plugins/PerryLink/dsh-canteen-retention-check?ref=badge)
6
15
 
7
16
  `dsh-canteen-retention-check` checks a canteen food-retention ledger for the four record elements the regulation requires (dish name, weight, time, person), the 125-gram minimum, the 48-hour cold-storage window, and template placeholders left in a cell.
@@ -113,110 +122,7 @@ node ../scripts/sync-shared.mjs dsh-canteen-retention-check
113
122
 
114
123
  ## PerryLink DSH Plugin Family
115
124
 
116
- This project is part of the DeepSeek Harness plugin family from [PerryLink](https://github.com/PerryLink). The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.
117
-
118
- <details>
119
- <summary>Expand all plugins</summary>
120
-
121
- | Plugin | Status |
122
- |---|---|
123
- | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
124
- | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
125
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
126
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
127
- | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
128
- | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
129
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
130
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
131
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
132
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
133
- | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
134
- | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
135
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
136
- | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
137
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
138
- | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
139
- | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
140
- | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
141
- | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
142
- | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
143
- | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
144
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
145
- | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
146
- | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
147
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
148
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
149
- | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
150
- | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
151
- | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
152
- | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
153
- | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
154
- | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
155
- | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
156
- | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
157
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
158
- | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
159
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
160
- | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
161
- | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
162
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
163
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
164
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
165
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
166
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
167
- | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
168
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
169
- | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
170
- | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
171
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
172
- | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
173
- | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
174
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
175
- | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
176
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
177
- | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
178
- | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
179
- | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
180
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
181
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
182
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
183
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
184
- | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
185
- | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
186
- | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
187
- | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
188
- | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
189
- | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
190
- | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
191
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
192
- | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
193
- | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
194
- | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
195
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
196
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
197
- | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
198
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
199
- | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
200
- | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
201
- | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
202
- | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
203
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
204
- | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
205
- | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
206
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
207
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
208
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
209
- | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
210
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
211
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
212
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
213
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
214
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
215
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
216
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
217
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
218
-
219
- </details>
125
+ Full family index: [choose a checker by material](https://perrylink.github.io/zh/checkers/choose/) and [all plugins](https://github.com/PerryLink). This repository is one of them.
220
126
 
221
127
  ## License
222
128
 
@@ -0,0 +1,34 @@
1
+ # Troubleshooting `dsh-canteen-retention-check`
2
+
3
+ ## The package is not found or refuses to install
4
+
5
+ - This checker targets DSH `>=0.2.1-0 <0.3.0` and Node `^22.19.0 || >=24.0.0`.
6
+ - Install it through the profile closure: `dsh plugin --profile <name> add dsh-canteen-retention-check`.
7
+ - If npm reports a peer conflict, check the host line first; do not force-install an older DSH core.
8
+
9
+ ## It installs, but I see no findings
10
+
11
+ - The checker only reports what it can decide from the document you pass to its tool.
12
+ - Confirm the tool ran and returned a result; an empty result is not the same as a skipped run.
13
+ - Check the document's required columns/fields against the checker's README table. Missing input is usually reported as `skipped`, not as a guessed finding.
14
+
15
+ ## A finding says the clause text was not obtained
16
+
17
+ - The rule pack follows a citation gate: it never invents clause text.
18
+ - When the exact text is unavailable, the finding stays at `warn`/`info` and says so in its `excerpt`.
19
+ - Treat that as a verification gap, not as proof that the document is compliant.
20
+
21
+ ## Everything is `warn` or `info`
22
+
23
+ - By design, this checker does not make a legal, medical, customs, or safety determination.
24
+ - It reports differences and gaps; a human owner decides what to do with them.
25
+
26
+ ## Reporting a bug
27
+
28
+ Open an issue at `https://github.com/PerryLink/dsh-canteen-retention-check/issues` with:
29
+
30
+ - the checker version and DSH host version;
31
+ - the command or tool call you used;
32
+ - a minimal, redacted input and the actual vs expected result.
33
+
34
+ Never paste credentials, tokens, personal data, or sealed evidence bytes into an issue.
@@ -0,0 +1,19 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-label="dsh-canteen-retention-check workflow">
2
+ <title>dsh-canteen-retention-check workflow</title>
3
+ <rect width="1200" height="360" rx="18" fill="#0d1117"/>
4
+ <text x="60" y="58" fill="#f0f6fc" font-family="ui-sans-serif,system-ui,sans-serif" font-size="30" font-weight="700">dsh-canteen-retention-check</text>
5
+ <text x="60" y="92" fill="#8b949e" font-family="ui-monospace,monospace" font-size="16">DeepSeek Harness plugin</text>
6
+ <line x1="60" y1="118" x2="1140" y2="118" stroke="#30363d"/>
7
+ <rect x="120" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#2563eb" stroke-width="2"/>
8
+ <rect x="213" y="185" width="54" height="66" rx="8" fill="none" stroke="#2563eb" stroke-width="3"/><path d="M226 205h28M226 217h28M226 229h18" stroke="#2563eb" stroke-width="3" stroke-linecap="round"/>
9
+ <circle cx="330" cy="270" r="13" fill="#2563eb"/><text x="330" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">1</text>
10
+ <path d="M368 220h64" stroke="#2563eb" stroke-width="3"/><path d="M422 213l10 7-10 7" fill="none" stroke="#2563eb" stroke-width="3" stroke-linecap="round"/>
11
+ <rect x="480" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#2563eb" stroke-width="2"/>
12
+ <path d="M577 203h46M577 219h46M577 235h46" stroke="#2563eb" stroke-width="3" stroke-linecap="round"/><circle cx="591" cy="203" r="6" fill="#2563eb"/><circle cx="611" cy="219" r="6" fill="#2563eb"/><circle cx="597" cy="235" r="6" fill="#2563eb"/>
13
+ <circle cx="690" cy="270" r="13" fill="#2563eb"/><text x="690" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">2</text>
14
+ <path d="M728 220h64" stroke="#2563eb" stroke-width="3"/><path d="M782 213l10 7-10 7" fill="none" stroke="#2563eb" stroke-width="3" stroke-linecap="round"/>
15
+ <rect x="840" y="150" width="240" height="140" rx="14" fill="#161b22" stroke="#2563eb" stroke-width="2"/>
16
+ <circle cx="960" cy="218" r="28" fill="none" stroke="#2563eb" stroke-width="3"/><path d="M947 219l9 9 18-20" fill="none" stroke="#2563eb" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
17
+ <circle cx="1050" cy="270" r="13" fill="#2563eb"/><text x="1050" y="276" fill="#0d1117" text-anchor="middle" font-family="ui-monospace,monospace" font-size="14" font-weight="700">3</text>
18
+ <text x="60" y="332" fill="#8b949e" font-family="ui-monospace,monospace" font-size="14">PerryLink DSH plugin family · Apache-2.0</text>
19
+ </svg>
@@ -0,0 +1,3 @@
1
+ $ node samples/quickstart/run.mjs
2
+ canteen_retention_check: 1 issue(s) — error 1, warn 0, info 0
3
+ skipped: 1
Binary file
package/lib/index.d.mts CHANGED
@@ -1,11 +1,12 @@
1
1
  import Schema from "@deepseek-ai/schemastery";
2
2
  import { Context } from "@deepseek-ai/cordis";
3
+ //#region src/config.d.ts
3
4
  /**
4
5
  * Every tunable lives here so an operator can change behaviour from
5
6
  * `cordis.yml` without editing code (the family's "no hard-coded tunables"
6
7
  * redline). The rule pack itself is data as well and can be pointed elsewhere.
7
8
  */
8
- interface Config {
9
+ export interface Config {
9
10
  /** Rule-pack path relative to the plugin package root. */
10
11
  rulesFile: string;
11
12
  /** Rule ids disabled for this deployment. */
@@ -17,11 +18,13 @@ interface Config {
17
18
  /** Tool timeout budget in milliseconds. */
18
19
  timeoutMs: number;
19
20
  }
20
- declare const Config: Schema<Config>;
21
- declare const name = "dsh-canteen-retention-check";
22
- declare const inject: string[];
21
+ export declare const Config: Schema<Config>;
22
+ //#endregion
23
+ //#region src/index.d.ts
24
+ export declare const name = "dsh-canteen-retention-check";
25
+ export declare const inject: string[];
23
26
  /** Tool id exposed to the model, and the row id in `cordis.patch.yml`. */
24
- declare const TOOL_NAME = "canteen_retention_check";
27
+ export declare const TOOL_NAME = "canteen_retention_check";
25
28
  /**
26
29
  * Locate a package-owned file such as the rule pack.
27
30
  *
@@ -33,7 +36,7 @@ declare const TOOL_NAME = "canteen_retention_check";
33
36
  * @returns the resolved absolute path.
34
37
  * @throws Error naming every location tried, when the file is absent.
35
38
  */
36
- declare function resolvePackageFile(relative: string): string;
39
+ export declare function resolvePackageFile(relative: string): string;
37
40
  /**
38
41
  * Register the checker tool.
39
42
  *
@@ -44,5 +47,5 @@ declare function resolvePackageFile(relative: string): string;
44
47
  * @param ctx - plugin context, with `tools` already available.
45
48
  * @param config - validated configuration.
46
49
  */
47
- declare function apply(ctx: Context, config: Config): () => void;
48
- export { Config, TOOL_NAME, apply, inject, name, resolvePackageFile };
50
+ export declare function apply(ctx: Context, config: Config): () => void;
51
+ //#endregion
package/lib/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
3
3
  import { dirname, isAbsolute, resolve } from "node:path";
4
4
  import { defineTool } from "@deepseek-ai/dsh-tools";
5
5
  import Schema from "@deepseek-ai/schemastery";
6
- // src/config.ts
6
+ //#region src/config.ts
7
7
  const Config = Schema.object({
8
8
  rulesFile: Schema.string().default("rules/canteen-retention.yaml").description("规则库文件路径(相对插件包根目录)。替换该文件即可切换规则集版本。"),
9
9
  disabledRules: Schema.array(Schema.string()).default([]).description("要停用的规则 id 列表;停用的规则会出现在报告的 skipped 中。"),
@@ -11,7 +11,8 @@ const Config = Schema.object({
11
11
  skipNotes: Schema.string().default("").description("附加到每条 skipped 说明后的备注,例如标注本机构实施细则。"),
12
12
  timeoutMs: Schema.number().default(12e4).description("工具协作式超时预算(毫秒)。")
13
13
  });
14
- // src/shared/yaml.ts
14
+ //#endregion
15
+ //#region src/shared/yaml.ts
15
16
  /**
16
17
  * Minimal, dependency-free YAML reader for rule packs and check material.
17
18
  *
@@ -447,7 +448,8 @@ function requireString(source, key, where) {
447
448
  if (typeof value !== "string" || value.trim() === "") throw new YamlSubsetError(`${where}: missing required string field "${key}"`);
448
449
  return value;
449
450
  }
450
- // src/shared/table.ts
451
+ //#endregion
452
+ //#region src/shared/table.ts
451
453
  /**
452
454
  * Generic reader for table-shaped check plugins.
453
455
  *
@@ -611,7 +613,8 @@ function canonicaliseRow(row, spec) {
611
613
  }
612
614
  return row;
613
615
  }
614
- // src/shared/datetime.ts
616
+ //#endregion
617
+ //#region src/shared/datetime.ts
615
618
  const DATE_PATTERN = /^(\d{4})[-/.](\d{1,2})[-/.](\d{1,2})$/;
616
619
  const TIME_PATTERN = /^(\d{1,2}):(\d{2})(?::(\d{2}))?$/;
617
620
  function pad(value, width = 2) {
@@ -679,7 +682,8 @@ function instant(wall) {
679
682
  function diffMinutes(from, to) {
680
683
  return instant(to) - instant(from);
681
684
  }
682
- // src/shared/report.ts
685
+ //#endregion
686
+ //#region src/shared/report.ts
683
687
  /** Locator fields that participate in the stable issue id, in fixed order. */
684
688
  const LOCATOR_ID_KEYS = [
685
689
  "file",
@@ -724,7 +728,8 @@ function sortValue(value) {
724
728
  }
725
729
  return target;
726
730
  }
727
- // src/shared/rules.ts
731
+ //#endregion
732
+ //#region src/shared/rules.ts
728
733
  /**
729
734
  * Compose the one-line `basis` string rendered into reports.
730
735
  * @param basis - the rule's normative basis.
@@ -740,7 +745,8 @@ function formatBasis(basis, alsoBasis = []) {
740
745
  const parts = [render(basis), ...alsoBasis.map(render)];
741
746
  return parts.length === 1 ? parts[0] : `${parts[0]};另见 ${parts.slice(1).join(";另见 ")}`;
742
747
  }
743
- // src/shared/rows.ts
748
+ //#endregion
749
+ //#region src/shared/rows.ts
744
750
  /**
745
751
  * The generic table-check engine.
746
752
  *
@@ -2332,10 +2338,12 @@ function parseMaterial(source, target) {
2332
2338
  function runCheck(input, ruleset, options) {
2333
2339
  return runTableCheck(input, ruleset, options);
2334
2340
  }
2335
- // src/shared/wording.ts
2341
+ //#endregion
2342
+ //#region src/shared/wording.ts
2336
2343
  /** Footer appended to every rendered report. */
2337
2344
  const DISCLAIMER = "免责声明:本报告由程序按声明的规则集自动生成,仅列出与所引条款之间的字面差异,供人工复核线索使用;不构成对任何事实、行为或文件的定性意见,也不替代主管人员、评审专家或监管机构的判断。规则集的时效性与适用范围以引用文件的最新有效版本为准。";
2338
- // src/view.ts
2345
+ //#endregion
2346
+ //#region src/view.ts
2339
2347
  /**
2340
2348
  * Model-facing projection of a {@link Report}.
2341
2349
  *
@@ -2415,7 +2423,8 @@ function buildView(report) {
2415
2423
  reportJson: canonicalJson(report)
2416
2424
  };
2417
2425
  }
2418
- // src/shared/ruleset.ts
2426
+ //#endregion
2427
+ //#region src/shared/ruleset.ts
2419
2428
  /**
2420
2429
  * Rule-pack loading and validation.
2421
2430
  *
@@ -2525,7 +2534,8 @@ function loadRuleset(source) {
2525
2534
  disabled
2526
2535
  };
2527
2536
  }
2528
- // src/shared/memo.ts
2537
+ //#endregion
2538
+ //#region src/shared/memo.ts
2529
2539
  /**
2530
2540
  * Memoized loading of package-owned rule packs.
2531
2541
  *
@@ -2548,7 +2558,8 @@ function loadRulesetFile(path) {
2548
2558
  pending.catch(() => cache.delete(path));
2549
2559
  return pending;
2550
2560
  }
2551
- // src/index.ts
2561
+ //#endregion
2562
+ //#region src/index.ts
2552
2563
  const name = "dsh-canteen-retention-check";
2553
2564
  const inject = ["tools"];
2554
2565
  /** Tool id exposed to the model, and the row id in `cordis.patch.yml`. */
@@ -2692,4 +2703,5 @@ function apply(ctx, config) {
2692
2703
  }
2693
2704
  }));
2694
2705
  }
2706
+ //#endregion
2695
2707
  export { Config, TOOL_NAME, apply, inject, name, resolvePackageFile };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-canteen-retention-check",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "核对食堂留样台账:四要素是否齐全、留样量是否达 125 克、是否冷藏满 48 小时、是否残留模板占位符。",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",
@@ -25,7 +25,11 @@
25
25
  "icon.svg",
26
26
  "rules",
27
27
  "CHANGELOG.md",
28
- "SECURITY.md"
28
+ "SECURITY.md",
29
+ "docs/assets/*",
30
+ "samples",
31
+ "TROUBLESHOOTING.md",
32
+ "screenshots.json"
29
33
  ],
30
34
  "scripts": {
31
35
  "build": "tsdown",
@@ -42,7 +46,23 @@
42
46
  "manifestVersion": 1,
43
47
  "bundle": {
44
48
  "patch": "./cordis.patch.yml"
45
- }
49
+ },
50
+ "demo": {
51
+ "sample": "samples/quickstart/input/CF-001-unsafe.yaml",
52
+ "prompt": "用自带样例跑一次这项检查,告诉我发现了几条问题、分别是什么级别。",
53
+ "expect": "samples/quickstart/expected/result.json",
54
+ "screenshot": "docs/assets/quickstart.png",
55
+ "reads": [
56
+ "用户指定的材料文件"
57
+ ],
58
+ "writes": [],
59
+ "network": false,
60
+ "external": []
61
+ },
62
+ "capabilities": [
63
+ "tools:register"
64
+ ],
65
+ "labels": []
46
66
  },
47
67
  "keywords": [
48
68
  "deepseek-harness",
@@ -79,14 +99,14 @@
79
99
  "@deepseek-ai/schemastery": "^3.18.2"
80
100
  },
81
101
  "devDependencies": {
82
- "@deepseek-ai/cordis": "4.0.5-alpha.1",
102
+ "@deepseek-ai/cordis": "4.0.5",
83
103
  "@deepseek-ai/dsh-package-manifest": "0.2.1-rc.2",
84
104
  "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
85
- "@deepseek-ai/schemastery": "3.18.5-alpha.1",
105
+ "@deepseek-ai/schemastery": "3.18.5",
86
106
  "@types/node": "^22.20.1",
87
107
  "vitest": "^3.2.7",
88
108
  "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2",
89
- "tsdown": "^0.22.14",
109
+ "tsdown": "^0.23.1",
90
110
  "typescript": "^5.9.3"
91
111
  },
92
112
  "dependencies": {}
@@ -0,0 +1,10 @@
1
+ {
2
+ "tool": "canteen_retention_check",
3
+ "issueCount": 1,
4
+ "summary": {
5
+ "error": 1,
6
+ "warn": 0,
7
+ "info": 0
8
+ },
9
+ "skippedCount": 1
10
+ }
@@ -0,0 +1,8 @@
1
+ target: 食堂留样台账(差异样本:留样食品名称为空)
2
+ rows:
3
+ - 餐次: 午餐
4
+ 留样食品名称: ''
5
+ 留样量: 125
6
+ 留样时间: 2026-03-04 11:40
7
+ 出柜时间: 2026-03-06 11:40
8
+ 留样人员: 张三
@@ -0,0 +1,27 @@
1
+ import { readFile } from 'node:fs/promises'
2
+ import { dirname, join } from 'node:path'
3
+ import { fileURLToPath } from 'node:url'
4
+ import * as plugin from '../../lib/index.mjs'
5
+
6
+ const here = dirname(fileURLToPath(import.meta.url))
7
+ const material = await readFile(join(here, 'input', "CF-001-unsafe.yaml"), 'utf8')
8
+
9
+ const registered = []
10
+ const ctx = { tools: { register: (tool) => { registered.push(tool); return () => {} } } }
11
+ plugin.apply(ctx, plugin.Config ? plugin.Config({}) : {})
12
+ const tool = registered.find((t) => t.name === plugin.TOOL_NAME)
13
+ if (!tool) throw new Error('tool not registered: ' + plugin.TOOL_NAME)
14
+
15
+ const result = await tool.execute({ material }, { signal: new AbortController().signal })
16
+ const summary = {
17
+ tool: tool.name,
18
+ issueCount: result.issueCount,
19
+ summary: result.summary,
20
+ skippedCount: result.skippedCount,
21
+ }
22
+ if (process.argv.includes('--json')) console.log(JSON.stringify(summary, null, 2))
23
+ else {
24
+ console.log('$ node samples/quickstart/run.mjs')
25
+ console.log(tool.name + ': ' + summary.issueCount + ' issue(s) — error ' + summary.summary.error + ', warn ' + summary.summary.warn + ', info ' + summary.summary.info)
26
+ console.log('skipped: ' + summary.skippedCount)
27
+ }
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "path": "docs/assets/dsh-canteen-retention-check-hero.png",
4
+ "kind": "hero",
5
+ "alt": "dsh-canteen-retention-check terminal output",
6
+ "caption": "Real `pnpm test` run: 44/44 tests passed (3 test files)."
7
+ },
8
+ {
9
+ "path": "docs/assets/dsh-canteen-retention-check-demo.gif",
10
+ "kind": "demo",
11
+ "alt": "Animated dsh-canteen-retention-check terminal session",
12
+ "caption": "The same `pnpm test` run — 44/44 tests passed — assembled line by line."
13
+ }
14
+ ]