dsh-mask 0.2.22 → 0.2.24

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.md CHANGED
@@ -22,6 +22,11 @@
22
22
 
23
23
  [English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
24
24
 
25
+ ```sh
26
+ dsh plugin --profile <name> add dsh-mask
27
+ ```
28
+
29
+
25
30
  </div>
26
31
 
27
32
  ---
@@ -29,11 +34,20 @@
29
34
  **📖 Ecosystem knowledge base** — measured data, not marketing: [plugin development guide · plugin-selection data · maintenance criteria](https://perrylink.github.io/dsh-plugin-guide/).
30
35
 
31
36
  <!-- star-cta -->
37
+ ## Install & uninstall
38
+
39
+ - **git channel** (latest `main`): `dsh plugin --profile web add github:PerryLink/dsh-mask` (equivalent to installing from `git+https://github.com/PerryLink/dsh-mask.git`). No build step — `index.mjs` and `lib/` are the shipped artifacts.
40
+ - **npm channel** (published releases): `dsh plugin --profile web add dsh-mask`.
41
+ - **tarball channel**: `pnpm pack` in this repo, then `dsh plugin --profile web add ./dsh-mask-<version>.tgz`.
42
+ - **uninstall**: `dsh plugin --profile web remove dsh-mask` (or remove the row from the profile patch).
43
+
44
+ `dsh-mask` no longer bundles the storage stack. Profiles that already compose it (the `web` profile does, via `@deepseek-ai/dsh-web-app`) provide `storageDomain`, so persistence works out of the box. On a bare profile without storage the plugin still mounts and masks, but the restore table is memory-only (lost on restart) — compose the storage stack in your profile patch, or set `persistRestoreTable: false`.
45
+
32
46
  ## ⭐ 如果它帮到了你
33
47
 
34
- 这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
48
+ 这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(95 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
35
49
 
36
- *English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
50
+ *English:* part of a 95 plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
37
51
 
38
52
 
39
53
  ## What is dsh-mask?
@@ -42,11 +56,11 @@ PII masking middleware for DeepSeek Harness — anonymize personal data before i
42
56
 
43
57
  Phones, emails, ID cards, bank cards, keys, and more become placeholders at the model boundary; the plaintext never enters your session log.
44
58
 
45
- ![Terminal demo of dsh-mask: dsh-mask — PII becomes placeholders before the model sees it](https://raw.githubusercontent.com/PerryLink/dsh-mask/main/docs/assets/dsh-mask-hero.png)
59
+ ![Workflow diagram for dsh-mask: call → plugin → result.](docs/assets/dsh-mask-flow.svg)
60
+
61
+ *Workflow overview: call → plugin → result. The examples below use the real command surface.*
46
62
 
47
- ![Animated terminal demo of dsh-mask](https://raw.githubusercontent.com/PerryLink/dsh-mask/main/docs/assets/dsh-mask-demo.gif)
48
63
 
49
- *The same run, animated.*
50
64
 
51
65
  ## Comparison
52
66
 
@@ -113,14 +127,54 @@ mask: restored 1 placeholder(s): <PHONE_1>
113
127
  file: /tmp/dsh-mask-restore/restore-1f0c….txt (mode 0600, one file per session)
114
128
  ```
115
129
 
116
- ## Install & uninstall
130
+ ### Examples
117
131
 
118
- - **git channel** (latest `main`): `dsh plugin --profile web add github:PerryLink/dsh-mask` (equivalent to installing from `git+https://github.com/PerryLink/dsh-mask.git`). No build step — `index.mjs` and `lib/` are the shipped artifacts.
119
- - **npm channel** (published releases): `dsh plugin --profile web add dsh-mask`.
120
- - **tarball channel**: `pnpm pack` in this repo, then `dsh plugin --profile web add ./dsh-mask-<version>.tgz`.
121
- - **uninstall**: `dsh plugin --profile web remove dsh-mask` (or remove the row from the profile patch).
132
+ These are the plugin's real entry points; install once, then call one.
122
133
 
123
- `dsh-mask` no longer bundles the storage stack. Profiles that already compose it (the `web` profile does, via `@deepseek-ai/dsh-web-app`) provide `storageDomain`, so persistence works out of the box. On a bare profile without storage the plugin still mounts and masks, but the restore table is memory-only (lost on restart) — compose the storage stack in your profile patch, or set `persistRestoreTable: false`.
134
+ #### Detailed example
135
+
136
+ **Command**
137
+
138
+ ~~~sh
139
+ mask_test
140
+ ~~~
141
+
142
+ **Input**
143
+
144
+ ~~~json
145
+ {"text":"电话 13812345678"}
146
+ ~~~
147
+
148
+ **Output**
149
+
150
+ ~~~text
151
+ mask_test: replaced 1 PII value(s) (PHONE=1)
152
+ masked:
153
+ 电话 <PHONE_1>
154
+ ~~~
155
+
156
+ *Observed from `plugins/dsh-mask/index.mjs:243-250; test/index.test.mjs:306-315`*
157
+
158
+ #### Failure branch
159
+
160
+ **Input**
161
+
162
+ ~~~text
163
+ /mask restore <PHONE_1> with restoreDir=/tmp/dsh-mask-probe-not-a-dir (a regular file)
164
+ ~~~
165
+
166
+ **Output**
167
+
168
+ ~~~text
169
+ mask: restore failed: EEXIST: file already exists, mkdir '/tmp/dsh-mask-probe-not-a-dir'
170
+ ~~~
171
+
172
+ *Observed from `plugins/dsh-mask/index.mjs:501-506; plugins/dsh-mask/lib/deliver.mjs:89-97; plugins/dsh-mask/test/index.test.mjs:278-290`*
173
+
174
+ #### Brief examples
175
+
176
+ - `mask_test`
177
+ - `/mask restore <text>`
124
178
 
125
179
  ## Configuration
126
180
 
@@ -232,59 +286,110 @@ Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on
232
286
 
233
287
  ## PerryLink DSH Plugin Family
234
288
 
235
- This project is one of the **34 actively maintained** DeepSeek Harness plugins from [PerryLink](https://github.com/PerryLink) — the roster is **42**, of which **5** are frozen and **3** retired; every one keeps its row below, with the reason in the Status column. If this one helps you, the others likely will too:
289
+ 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.
236
290
 
237
- | Plugin | One-liner | Status |
238
- |---|---|---|
239
- | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
240
- | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
241
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **RETIRED** — see the note above |
242
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | 🧊 FROZEN — see the repo README |
243
- | **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
244
- | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
245
- | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
246
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | 🧊 FROZEN — see the repo README |
247
- | **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
248
- | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
249
- | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
250
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | 🧊 FROZEN — see the repo README |
251
- | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
252
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | 🧊 FROZEN — see the repo README |
253
- | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
254
- | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
255
- | **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
256
- | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | Industry research orchestration that seals its deliverables through this plugin's `ctx.researchReport.assemble` | |
257
- | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | Laya typed decisions (`noul`/`choice`/`score`) as a first-class Cordis service and model-visible tools | |
258
- | **[dsh-library](https://github.com/PerryLink/dsh-library)** | Local document knowledge base for DeepSeek Harness. | |
259
- | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | Local-model (Ollama) integration for DeepSeek Harness. | |
260
- | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
261
- | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
262
- | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
263
- | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
264
- | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
265
- | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
266
- | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
267
- | **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
268
- | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
269
- | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
270
- | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
271
- | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
272
- | **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | 🚫 RETIRED — corridors carried by `dsh-plugin-upgrade` |
273
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | 🧊 FROZEN — see the repo README |
274
- | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
275
- | **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
276
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **RETIRED** — see the note above |
277
- | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
278
- | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
279
- | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
280
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **RETIRED** — see the note above |
281
- | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
282
- | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
283
- | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
284
-
285
- ### Install from the DSH Desktop Market
286
-
287
- All PerryLink plugins are browsable in the built-in DSH Desktop Market: **Market → Sources → add source → paste** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ select it**. Installation still goes through the Market's npm-identity verification and your confirmation.
291
+ <details>
292
+ <summary>Expand all plugins</summary>
293
+
294
+ | Plugin | Status |
295
+ |---|---|
296
+ | **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
297
+ | **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
298
+ | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
299
+ | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 FROZEN — see the repo README |
300
+ | **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
301
+ | **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
302
+ | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 FROZEN — see the repo README |
303
+ | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
304
+ | **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
305
+ | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
306
+ | **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
307
+ | **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
308
+ | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
309
+ | **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
310
+ | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
311
+ | **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
312
+ | **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
313
+ | **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
314
+ | **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
315
+ | **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
316
+ | **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
317
+ | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
318
+ | **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
319
+ | **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
320
+ | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
321
+ | **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
322
+ | **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
323
+ | **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
324
+ | **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
325
+ | **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
326
+ | **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
327
+ | **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
328
+ | **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
329
+ | **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
330
+ | **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
331
+ | **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
332
+ | **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
333
+ | **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
334
+ | **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
335
+ | **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
336
+ | **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
337
+ | **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
338
+ | **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
339
+ | **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
340
+ | **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
341
+ | **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
342
+ | **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
343
+ | **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
344
+ | **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
345
+ | **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
346
+ | **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
347
+ | **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
348
+ | **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
349
+ | **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
350
+ | **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
351
+ | **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
352
+ | **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
353
+ | **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
354
+ | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
355
+ | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
356
+ | **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
357
+ | **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
358
+ | **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
359
+ | **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
360
+ | **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
361
+ | **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
362
+ | **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
363
+ | **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
364
+ | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
365
+ | **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
366
+ | **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
367
+ | **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
368
+ | **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
369
+ | **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
370
+ | **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
371
+ | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
372
+ | **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
373
+ | **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
374
+ | **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
375
+ | **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
376
+ | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
377
+ | **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
378
+ | **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
379
+ | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
380
+ | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
381
+ | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
382
+ | **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
383
+ | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 FROZEN — see the repo README |
384
+ | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 FROZEN — see the repo README |
385
+ | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 FROZEN — see the repo README |
386
+ | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 FROZEN — see the repo README |
387
+ | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 FROZEN — see the repo README |
388
+ | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRED — see the repo README |
389
+ | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
390
+ | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
391
+
392
+ </details>
288
393
 
289
394
  ## License
290
395
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-mask",
3
3
  "description": "PII masking middleware for DeepSeek Harness: regex-detect and replace phones, emails, ID cards, bank cards, keys, and (opt-in) IPs with placeholders before they reach the model, keep the restore table host-side (memory plus a controlled storage domain, never the session log) with the /mask restore command and the exported RestoreStore seam, and expose /mask status and the mask_test tool. Name and address recognition needs an external NER recognizer, which this pure-host form does not bundle: mode \"regex+ner\" and the person/address entities fail loudly at load. The phone and ID-card detectors match mainland-China formats only.",
4
- "version": "0.2.22",
4
+ "version": "0.2.24",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/PerryLink/dsh-mask.git"
@@ -95,36 +95,36 @@
95
95
  }
96
96
  },
97
97
  "peerDependencies": {
98
- "@deepseek-ai/cordis": "^4.0.5-alpha.1",
99
- "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
100
- "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
101
- "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
102
- "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
103
- "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
104
- "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
105
- "@deepseek-ai/schemastery": "^3.18.5-alpha.1"
98
+ "@deepseek-ai/cordis": "^4.0.5",
99
+ "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
100
+ "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
101
+ "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
102
+ "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
103
+ "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
104
+ "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
105
+ "@deepseek-ai/schemastery": "^3.18.5"
106
106
  },
107
107
  "dependencies": {
108
- "zod": "^4.4.3"
108
+ "zod": "4.4.3"
109
109
  },
110
110
  "devDependencies": {
111
- "@deepseek-ai/dsh-attachment": "0.2.1-rc.2",
112
- "@deepseek-ai/cordis": "^4.0.5-alpha.1",
113
- "@deepseek-ai/cordis-plugin-include": "^1.0.10-alpha.1",
114
- "@deepseek-ai/cordis-plugin-loader": "^1.0.6-alpha.1",
115
- "@deepseek-ai/dsh-agent": "0.2.1-rc.2",
116
- "@deepseek-ai/dsh-commands": "0.2.1-rc.2",
117
- "@deepseek-ai/dsh-session": "0.2.1-rc.2",
118
- "@deepseek-ai/dsh-storage": "0.2.1-rc.2",
119
- "@deepseek-ai/dsh-storage-domain": "0.2.1-rc.2",
120
- "@deepseek-ai/dsh-storage-json": "0.2.1-rc.2",
121
- "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.2",
122
- "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
123
- "@deepseek-ai/schemastery": "^3.18.5-alpha.1",
124
- "@types/node": "^22.19.0",
111
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
112
+ "@deepseek-ai/cordis": "^4.1.0",
113
+ "@deepseek-ai/cordis-plugin-include": "^1.1.0",
114
+ "@deepseek-ai/cordis-plugin-loader": "^1.1.0",
115
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
116
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
117
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
118
+ "@deepseek-ai/dsh-storage": "0.2.2-rc.1",
119
+ "@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
120
+ "@deepseek-ai/dsh-storage-json": "0.2.2-rc.1",
121
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
122
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
123
+ "@deepseek-ai/schemastery": "~3.19.0",
124
+ "@types/node": "^22.20.5",
125
125
  "oxlint": "0.18.1",
126
126
  "typescript": "^5.9.0",
127
- "@deepseek-ai/dsh-working-directory": "0.2.1-rc.2"
127
+ "@deepseek-ai/dsh-working-directory": "0.2.2-rc.1"
128
128
  },
129
129
  "scripts": {
130
130
  "typecheck": "tsc -p tsconfig.check.json",
@@ -150,8 +150,8 @@
150
150
  "security"
151
151
  ],
152
152
  "engines": {
153
- "node": "^22.19.0 || >=24.0.0",
154
- "dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0"
153
+ "node": "^22.19.0 || >=24.9.0",
154
+ "dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0"
155
155
  },
156
156
  "packageManager": "pnpm@11.7.0",
157
157
  "publishConfig": {