dsh-mask 0.2.23 → 0.2.25
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/ARCHITECTURE.md +0 -0
- package/CHANGELOG.md +10 -0
- package/LICENSE +0 -0
- package/README.en.md +433 -0
- package/README.es.md +433 -0
- package/README.hi.md +433 -0
- package/README.md +243 -206
- package/README.pt.md +433 -0
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/index.mjs +0 -0
- package/lib/constants.mjs +0 -0
- package/lib/deliver.mjs +0 -0
- package/lib/domain.mjs +0 -0
- package/lib/errors.mjs +0 -0
- package/lib/gate.mjs +0 -0
- package/lib/mask.mjs +14 -5
- package/lib/sanitize.mjs +0 -0
- package/lib/store.mjs +0 -0
- package/lib/strip.mjs +0 -0
- package/package.json +51 -30
- package/types.d.ts +0 -0
- package/README-es.md +0 -380
- package/README-hi.md +0 -380
- package/README-pt.md +0 -380
- package/README-zh.md +0 -398
package/README-hi.md
DELETED
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
# dsh-mask
|
|
4
|
-
- **1024 स्टोर चैनल**: एक बार `npm i -g dsh1024`, फिर `dsh1024 plugin --profile web add dsh-mask` ([deepseek1024.com](https://deepseek1024.com) इंस्टॉल रैंकिंग में गिना जाता है)।
|
|
5
|
-
|
|
6
|
-
**DeepSeek Harness के लिए PII मास्किंग मिडलवेयर — मॉडल तक पहुँचने से पहले व्यक्तिगत डेटा को अनाम करें, डिस्प्ले लेयर पर उसे वापस लाएँ।**
|
|
7
|
-
|
|
8
|
-
*फ़ोन, ईमेल, आईडी कार्ड, बैंक कार्ड, कुंजियाँ आदि मॉडल सीमा पर प्लेसहोल्डर बन जाते हैं; मूल पाठ आपके सत्र लॉग में कभी नहीं जाता।*
|
|
9
|
-
|
|
10
|
-
[](LICENSE)
|
|
11
|
-
[](https://gitee.com/perrylink/dsh-mask)
|
|
12
|
-
[](https://github.com/topics/dsh-plugin)
|
|
13
|
-
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
14
|
-
[](https://dsh.market/)
|
|
15
|
-
[](#)
|
|
16
|
-
[](https://github.com/PerryLink/dsh-mask/actions)
|
|
17
|
-
[](https://github.com/PerryLink/dsh-mask/releases)
|
|
18
|
-
[](https://www.npmjs.com/package/dsh-mask)
|
|
19
|
-
[](https://www.npmjs.com/package/dsh-mask)
|
|
20
|
-
[](https://dshfind.com/hi/plugins/PerryLink/dsh-mask?ref=badge)
|
|
21
|
-
|
|
22
|
-
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
23
|
-
|
|
24
|
-
```sh
|
|
25
|
-
dsh plugin --profile <name> add dsh-mask
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
**📖 इकोसिस्टम नॉलेज बेस** — मापे गए आँकड़े, मार्केटिंग नहीं: [डेवलपमेंट गाइड · चयन डेटा · रखरखाव मानदंड](https://perrylink.github.io/dsh-plugin-guide/)।
|
|
35
|
-
|
|
36
|
-
<!-- star-cta -->
|
|
37
|
-
## Install & uninstall
|
|
38
|
-
|
|
39
|
-
- **git चैनल**: `dsh plugin --profile web add github:PerryLink/dsh-mask` (`git+https://github.com/PerryLink/dsh-mask.git` के बराबर)। कोई build चरण नहीं।
|
|
40
|
-
- **npm चैनल**: `dsh plugin --profile web add dsh-mask`।
|
|
41
|
-
- **tarball चैनल**: `pnpm pack` फिर `dsh plugin --profile web add ./dsh-mask-<version>.tgz`।
|
|
42
|
-
- **अनइंस्टॉल**: `dsh plugin --profile web remove dsh-mask`।
|
|
43
|
-
|
|
44
|
-
`dsh-mask` अब storage स्टैक बंडल नहीं करता। जो प्रोफ़ाइल इसे पहले से रचते हैं (`web` प्रोफ़ाइल `@deepseek-ai/dsh-web-app` के ज़रिए करती है) वे `storageDomain` देते हैं, इसलिए persistence तुरंत काम करता है। बिना storage वाले bare प्रोफ़ाइल में प्लगइन फिर भी माउंट होता है और मास्क करता है, पर restore तालिका केवल मेमोरी में रहती है (रीस्टार्ट पर खो जाती है): अपने प्रोफ़ाइल पैच में storage स्टैक रचें, या `persistRestoreTable: false` करें।
|
|
45
|
-
|
|
46
|
-
## ⭐ 如果它帮到了你
|
|
47
|
-
|
|
48
|
-
यह प्लगइन [DSH प्लगइन परिवार](https://github.com/PerryLink) का हिस्सा है (95 प्लगइन, सभी Apache-2.0)। अगर यह उपयोगी लगे, तो **एक स्टार दें** — इससे कोई सुविधा अनलॉक नहीं होती, पर अगला व्यक्ति इसे खोज में आसानी से पा लेता है।
|
|
49
|
-
|
|
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.
|
|
51
|
-
|
|
52
|
-
## What is dsh-mask?
|
|
53
|
-
|
|
54
|
-
DeepSeek Harness के लिए PII मास्किंग मिडलवेयर — मॉडल तक पहुँचने से पहले व्यक्तिगत डेटा को अनाम करें, डिस्प्ले लेयर पर उसे वापस लाएँ।
|
|
55
|
-
|
|
56
|
-
फ़ोन, ईमेल, आईडी कार्ड, बैंक कार्ड, कुंजियाँ आदि मॉडल सीमा पर प्लेसहोल्डर बन जाते हैं; मूल पाठ आपके सत्र लॉग में कभी नहीं जाता।
|
|
57
|
-
|
|
58
|
-

|
|
59
|
-
|
|
60
|
-
*कार्यप्रवाह: कॉल → प्लगइन → परिणाम। नीचे के उदाहरण वास्तविक कमांड सतह का उपयोग करते हैं।*
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
*वही रन, एनिमेटेड।*
|
|
64
|
-
|
|
65
|
-
## Comparison
|
|
66
|
-
|
|
67
|
-

|
|
68
|
-
|
|
69
|
-
108 synthetic samples (60 positive, 48 negative) · from benchmark/RESULTS.md
|
|
70
|
-
|
|
71
|
-
## Compatibility
|
|
72
|
-
|
|
73
|
-
| सतह | स्थिति |
|
|
74
|
-
|---|---|
|
|
75
|
-
| Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (2026-09-18 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-18 को `dsh-v0.1.7-alpha.1` master checkout के विरुद्ध सत्यापित (पूर्ण गेट शृंखला + profile इंस्टॉल स्मोक)। |
|
|
76
|
-
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
77
|
-
| प्लेटफ़ॉर्म | जहाँ DSH चले (शुद्ध host, शून्य-निर्भरता regex; कोई ब्राउज़र आधा नहीं) |
|
|
78
|
-
| मॉडल | टेक्स्ट मॉडल पूर्ण रूप से समर्थित |
|
|
79
|
-
|
|
80
|
-
## What you get
|
|
81
|
-
|
|
82
|
-
`dsh-mask` व्यक्तिगत डेटा को **मॉडल सीमा पर** अनाम करता है और पुनर्स्थापना तालिका रखता है:
|
|
83
|
-
|
|
84
|
-
- **अनुरोध से पहले मास्किंग** — `agent/pre-step` संदेशों को फिर से लिखता है ताकि फ़ोन, ईमेल, आईडी कार्ड, बैंक कार्ड, कुंजियाँ और IP (opt-in) `<PHONE_1>` जैसे प्लेसहोल्डर बन जाएँ। मास्क किया हुआ पाठ ही लॉग होता है और मॉडल को जाता है।
|
|
85
|
-
- **पुनर्स्थापना तालिका** — `प्लेसहोल्डर → मूल` नक्शा केवल मेमोरी और नियंत्रित स्टोरेज डोमेन (`dsh_mask`) में रहता है; मूल पाठ सत्र लॉग में कभी नहीं जाता।
|
|
86
|
-
- **बिना मूल पाठ की ऑडिट** — `mask/applied` इवेंट केवल «N मान बदले + प्रकार-वितरण» दर्ज करता है।
|
|
87
|
-
- **`/mask` कमांड** — `status`, `on`/`off`, `restore <text>` (प्लेसहोल्डर वापस मूल में बदलकर मूल पाठ को फ़ाइल के रूप में सौंपता है, लॉग होने योग्य पाठ के रूप में कभी नहीं), `help`।
|
|
88
|
-
- **`mask_test` टूल** — एक अंश चलाकर प्लेसहोल्डर परिणाम देखें; मूल मान कभी नहीं दिखाता।
|
|
89
|
-
|
|
90
|
-
```text
|
|
91
|
-
उपयोगकर्ता संदेश ──agent/pre-step──▶ प्लेसहोल्डर ──मॉडल──▶ प्लेसहोल्डर ──restore──▶ नियंत्रित फ़ाइल
|
|
92
|
-
▲ │
|
|
93
|
-
└──── पुनर्स्थापना तालिका (मेमोरी + dsh_mask) ────────┘
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
## Quick start
|
|
97
|
-
|
|
98
|
-
```sh
|
|
99
|
-
dsh plugin --profile web add github:PerryLink/dsh-mask
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
```sh
|
|
103
|
-
dsh plugin --profile web add github:PerryLink/dsh-mask
|
|
104
|
-
# या npm से
|
|
105
|
-
dsh plugin --profile web add dsh-mask
|
|
106
|
-
dsh --profile web --dump-config | grep -A2 'id: mask'
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
```yaml
|
|
110
|
-
- insert:
|
|
111
|
-
- id: mask
|
|
112
|
-
name: dsh-mask
|
|
113
|
-
config:
|
|
114
|
-
entities: [phone, email, id-card, bank-card, key]
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
```
|
|
118
|
-
> /mask status
|
|
119
|
-
> /mask restore <PHONE_1>
|
|
120
|
-
mask: restored 1 placeholder(s): <PHONE_1>
|
|
121
|
-
file: /tmp/dsh-mask-restore/restore-1f0c….txt (mode 0600, one file per session)
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### उदाहरण
|
|
125
|
-
|
|
126
|
-
ये वास्तविक प्रवेश बिंदु हैं; इंस्टॉल के बाद एक चलाएँ।
|
|
127
|
-
|
|
128
|
-
#### विस्तृत उदाहरण
|
|
129
|
-
|
|
130
|
-
**कमांड**
|
|
131
|
-
|
|
132
|
-
~~~sh
|
|
133
|
-
mask_test
|
|
134
|
-
~~~
|
|
135
|
-
|
|
136
|
-
**इनपुट**
|
|
137
|
-
|
|
138
|
-
~~~json
|
|
139
|
-
{"text":"电话 13812345678"}
|
|
140
|
-
~~~
|
|
141
|
-
|
|
142
|
-
**आउटपुट**
|
|
143
|
-
|
|
144
|
-
~~~text
|
|
145
|
-
mask_test: replaced 1 PII value(s) (PHONE=1)
|
|
146
|
-
masked:
|
|
147
|
-
电话 <PHONE_1>
|
|
148
|
-
~~~
|
|
149
|
-
|
|
150
|
-
*स्रोत `plugins/dsh-mask/index.mjs:243-250; test/index.test.mjs:306-315`*
|
|
151
|
-
|
|
152
|
-
#### विफलता शाखा
|
|
153
|
-
|
|
154
|
-
**इनपुट**
|
|
155
|
-
|
|
156
|
-
~~~text
|
|
157
|
-
/mask restore <PHONE_1> with restoreDir=/tmp/dsh-mask-probe-not-a-dir (a regular file)
|
|
158
|
-
~~~
|
|
159
|
-
|
|
160
|
-
**आउटपुट**
|
|
161
|
-
|
|
162
|
-
~~~text
|
|
163
|
-
mask: restore failed: EEXIST: file already exists, mkdir '/tmp/dsh-mask-probe-not-a-dir'
|
|
164
|
-
~~~
|
|
165
|
-
|
|
166
|
-
*स्रोत `plugins/dsh-mask/index.mjs:501-506; plugins/dsh-mask/lib/deliver.mjs:89-97; plugins/dsh-mask/test/index.test.mjs:278-290`*
|
|
167
|
-
|
|
168
|
-
#### संक्षिप्त उदाहरण
|
|
169
|
-
|
|
170
|
-
- `mask_test`
|
|
171
|
-
- `/mask restore <text>`
|
|
172
|
-
|
|
173
|
-
## Configuration
|
|
174
|
-
|
|
175
|
-
सभी विकल्प Schemastery `Config` फ़ील्ड हैं (cordis.yml से बदले जा सकते हैं)। `cordis.patch.yml` हर कुंजी का दस्तावेज़ देता है।
|
|
176
|
-
|
|
177
|
-
| कुंजी | डिफ़ॉल्ट | अर्थ |
|
|
178
|
-
|---|---|---|
|
|
179
|
-
| `enabled` | `true` | मुख्य स्विच |
|
|
180
|
-
| `mode` | `regex` | केवल `regex` लागू (`regex+ner` आरक्षित) |
|
|
181
|
-
| `entities` | `[phone, email, id-card, bank-card, key]` | PII प्रकार; `ip` opt-in, `person`/`address` को NER चाहिए |
|
|
182
|
-
| `scope` | `[messages]` | सतहें: `messages` (agent/pre-step संदेश) और `tools` (टूल परिणाम पाठ)। स्ट्रिंग या array स्वीकार करता है, जैसे `[messages, tools]` |
|
|
183
|
-
| `registerCommand` | `true` | `/mask` कमांड पंजीकृत करें |
|
|
184
|
-
| `registerTools` | `true` | `mask_test` टूल पंजीकृत करें |
|
|
185
|
-
| `persistRestoreTable` | `true` | तालिका को `dsh_mask` डोमेन में सहेजें |
|
|
186
|
-
| `maxRestoreEntriesPerSession` | `500` | प्रति सत्र प्रविष्टि सीमा |
|
|
187
|
-
| `maxSessions` | `1000` | मेमोरी में सत्र सीमा |
|
|
188
|
-
| `restoreDir` | `''` | `/mask restore` मूल पाठ कहाँ सौंपता है। खाली = `os.tmpdir()/dsh-mask-restore`; सापेक्ष मान host प्रक्रिया के cwd के सापेक्ष हल होता है। डायरेक्टरी `0700` पर बनती है और फ़ाइल `0600` पर लिखी जाती है, प्रति सत्र एक |
|
|
189
|
-
|
|
190
|
-
## Tools & surfaces
|
|
191
|
-
|
|
192
|
-
| सतह | मूल पाठ दिखाता है | नोट्स |
|
|
193
|
-
|---|---|---|
|
|
194
|
-
| `agent/pre-step` मास्किंग | कभी नहीं | संदेशों को प्लेसहोल्डर में बदलता है |
|
|
195
|
-
| `/mask status` | कभी नहीं | स्थिति, कुल बदले, वितरण |
|
|
196
|
-
| `/mask on` / `/mask off` | कभी नहीं | रनटाइम टॉगल |
|
|
197
|
-
| `/mask restore <text>` | हाँ (स्पष्ट) | प्लेसहोल्डर को इस सत्र के मानों में बदलकर नियंत्रित फ़ाइल में लिखता है (प्रति सत्र एक, mode `0600`); परिणाम पाठ और सत्र लॉग में केवल वह पथ और प्लेसहोल्डर नाम जाते हैं |
|
|
198
|
-
| `mask_test` | कभी नहीं | अंश को मास्क कर परिणाम देता है |
|
|
199
|
-
|
|
200
|
-
## Permissions & data
|
|
201
|
-
|
|
202
|
-
- **अनुमतियाँ**: कोई नेटवर्क नहीं, कोई क्रेडेंशियल नहीं (`network:none`, `credentials:none`)। manifest `/mask restore` की डिलीवरी फ़ाइल के लिए `filesystem:write` घोषित करता है।
|
|
203
|
-
- **डेटा**: `प्लेसहोल्डर → मूल` तालिका मेमोरी में और, `persistRestoreTable: true` होने पर, `dsh_mask` डोमेन में रहती है; सत्र लॉग में कभी नहीं। एकमात्र अन्य मूल-पाठ प्रति वह डिलीवरी फ़ाइल है जो स्पष्ट `/mask restore` लिखता है (`restoreDir`, mode `0600`, प्रति सत्र एक, अगली पुनर्स्थापना उसे ओवरराइट करती है); कोई भी पथ चुपचाप मूल पाठ डिस्क पर नहीं लिखता।
|
|
204
|
-
- **सत्र लॉग**: `mask/applied` `types.d.ts` में घोषित है और केवल तब जोड़ा जाता है जब host प्रकार दर्ज करे।
|
|
205
|
-
|
|
206
|
-
## Security boundaries
|
|
207
|
-
|
|
208
|
-
- **मूल पाठ सत्र लॉग में कभी नहीं जाता।** लॉग और मॉडल को मास्क रूप ही जाता है; मूल तालिका में रहते हैं। यही नियम प्रकटीकरण पर भी लागू है: host कमांड के परिणाम पाठ को **शब्दशः** लॉग करता है और उसी इवेंट से दृश्य आउटपुट बनाता है, इसलिए `/mask restore` मूल पाठ को नियंत्रित फ़ाइल में लिखता है और केवल पथ लौटाता है।
|
|
209
|
-
- **दिखाने/लॉग से पहले सैनिटाइज़।** `lib/sanitize.mjs` PII, रहस्य और URL क्रेडेंशियल हटाता है; `mask_test`, `/mask status` और `/mask` के सभी त्रुटि पथ मूल कभी नहीं दिखाते।
|
|
210
|
-
- **नियंत्रित पुनर्स्थापना।** `/mask restore` एकमात्र स्पष्ट प्रकटीकरण सतह है। डिलीवरी विफल हो तो फेल क्लोज़्ड: त्रुटि, मूल पाठ दिखाने वाला fallback कभी नहीं।
|
|
211
|
-
- **फेल क्लोज़्ड।** अलागू `mode`/`scope`/इकाइयाँ और सीमा से बाहर संख्याएँ लोड पर विफल होती हैं।
|
|
212
|
-
- **पंजीकरण प्रभाव हैं।** listener, कमांड, टूल और डोमेन-बंद सभी Cordis effects हैं।
|
|
213
|
-
|
|
214
|
-
## Known limitations
|
|
215
|
-
|
|
216
|
-
- **केवल regex।** `person` और `address` को बाहरी NER पहचानकर्ता चाहिए; लोड पर विफल। बॉक्स में: फ़ोन, ईमेल, आईडी कार्ड, बैंक कार्ड, कुंजी और IP (opt-in)।
|
|
217
|
-
- **क्षेत्र-विशिष्ट पैटर्न।** `phone` और `id-card` डिटेक्टर केवल मुख्य भूमि चीन के प्रारूप पहचानते हैं: `phone` = `1[3-9]` के बाद नौ अंक, और `id-card` = 18 वर्णों वाला चीनी निवासी आईडी (17 अंक और एक अंक या `X`)। अन्य देशों के फ़ोन नंबर और राष्ट्रीय पहचान पत्र नहीं पकड़े जाते। `email`, `ip` और `key` क्षेत्र-निरपेक्ष हैं; `bank-card` किसी भी 16-19 अंकों की श्रृंखला को कम विश्वास के साथ स्वीकार करता है।
|
|
218
|
-
- **डिस्प्ले-लेयर पुनर्स्थापना को क्लाइंट आधा चाहिए।** मास्किंग host-side है; UI बुलबुलों को खोलना एक ब्राउज़र-आधा सुविधा है जो यह शुद्ध-host रूप नहीं देता। host तालिका और निर्यातित `RestoreStore` seam रखता है (उसके मेथड को session id चाहिए), इसलिए भविष्य का क्लाइंट आधा उन्हें host remote से लेगा, सीधे नहीं; आज अनमास्किंग का सतह `/mask restore <text>` कमांड है, जो मूल पाठ फ़ाइल के रूप में सौंपता है क्योंकि कमांड परिणाम शब्दशः लॉग होता है, और `maskClientEnabled` कुंजी schema में घोषित व मान्य होती है पर अभी कोई रनटाइम कोड उसे नहीं पढ़ता।
|
|
219
|
-
- **बिना आर्ग्युमेंट `/mask restore` नहीं है।** अंतिम assistant संदेश के *सभी* प्लेसहोल्डर वापस लाना उपलब्ध नहीं है, और बिना पाठ के चलाने पर कमांड यह बता देता है। दो host तथ्य इसे रोकते हैं: पुनर्स्थापना तालिका प्रति सत्र सपाट `{प्लेसहोल्डर: मूल}` नक्शा है, जिसमें **संदेश-वार सूचकांक नहीं** है, इसलिए वह संदेश सत्र इवेंट लॉग में खोजना पड़ता है; और host ने `Session.snapshotEvents()` / `eventAt()` / `ownEvents()` को deprecated कर दिया है और नए कॉलर के लिए मना किया है, जबकि उसका एकमात्र स्वीकृत विकल्प (इवेंट से इंक्रीमेंटल प्रोजेक्शन) इस प्लगइन के घोषित host corridor (`>=0.1.2-rc.1`) पर भरोसेमंद नहीं है। प्लेसहोल्डर एक-एक करके वापस लाए जा सकते हैं: `/mask restore <PHONE_1>`।
|
|
220
|
-
- **`0.1.7-rc.2` पर इवेंट।** host 59 सत्र-इवेंट प्रकार दर्ज करता है और उनमें `mask/*` नहीं है; उसका `Session.append` `ignorable` लिफ़ाफ़ा भी नहीं लगा सकता, इसलिए ऑडिट appends छोड़े जाते हैं (सत्र लोड होते रहते हैं)। गेट मौन नहीं है: प्रत्येक सत्र की पहली अस्वीकृति पर छोड़े गए प्रकार और इस प्रलेखित सीमा के साथ एक दृश्य चेतावनी दर्ज होती है। जब host प्रकार दर्ज करे या `ignorable` लिफ़ाफ़ा स्वीकार करे, append स्वतः सक्षम हो जाता है।
|
|
221
|
-
|
|
222
|
-
## Development
|
|
223
|
-
|
|
224
|
-
```sh
|
|
225
|
-
pnpm install
|
|
226
|
-
pnpm run typecheck && pnpm run typecheck:ci
|
|
227
|
-
pnpm test
|
|
228
|
-
pnpm run verify:self-contained
|
|
229
|
-
pnpm run verify:artifacts
|
|
230
|
-
pnpm run check:readmes
|
|
231
|
-
pnpm pack
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
कोई build चरण नहीं: शुद्ध ESM, `index.mjs` और `lib/` ही भेजे गए आर्टिफ़ैक्ट हैं।
|
|
235
|
-
|
|
236
|
-
### Benchmark
|
|
237
|
-
|
|
238
|
-
PII बेंचमार्क (108 सिंथेटिक नमूनों पर प्रति-प्रकार P/R/F1) [`benchmark/RESULTS.md`](benchmark/RESULTS.md) में है; `node benchmark/run.mjs` से दोबारा बनाएँ (कोई build नहीं, कोई नई निर्भरता नहीं)।
|
|
239
|
-
|
|
240
|
-
## Interoperability with other DSH plugins
|
|
241
|
-
|
|
242
|
-
**DSH `0.2.0-rc.2`** (वह रनटाइम जिसके लिए यह README प्रकाशित है) और 2026-10-05 को सर्वे किए गए उच्च-स्टार प्लगइन सेट के विरुद्ध सत्यापित।
|
|
243
|
-
|
|
244
|
-
यह प्लगइन अन्य प्लगइनों में **हस्तक्षेप नहीं करता**, उन उच्च-स्टार प्लगइनों सहित जो व्यापक रूप से इंस्टॉल हैं:
|
|
245
|
-
|
|
246
|
-
- **कोई टूल-नाम टकराव नहीं।** सभी टूल नेमस्पेस युक्त हैं; कोई भी ऐसा नंगा नाम नहीं लेता जो पहले से किसी अंतर्निहित टूल या अन्य प्लगइन का हो।
|
|
247
|
-
- **कोई सर्विस-की टकराव नहीं।** यह कोई सर्विस key प्रदान नहीं करता, इसलिए टकराव संभव नहीं।
|
|
248
|
-
- **कोई स्लॉट टकराव नहीं।** यह कोई क्लाइंट slot key पंजीकृत नहीं करता, इसलिए `shadows-shipped-ui` सीट के लिए प्रतिस्पर्धा नहीं करता।
|
|
249
|
-
- **कोई HTTP रूट टकराव नहीं।** यह कोई `webServer` प्रीफ़िक्स पंजीकृत नहीं करता।
|
|
250
|
-
- **कोई patch-लेयर टकराव नहीं।** बंडल patch केवल अपनी पंक्ति `insert` करता है; कभी किसी अंतर्निहित पंक्ति का `config` ओवरराइड नहीं करता।
|
|
251
|
-
- **कोई वैश्विक परिवर्तन नहीं।** यह प्रोटोटाइप नहीं बदलता, `process.env` नहीं लिखता, और वैश्विक fetch dispatcher प्रतिस्थापित नहीं करता।
|
|
252
|
-
|
|
253
|
-
**साझा ईवेंट लिसनर रचना से ही अहस्तक्षेपी हैं।** यह क्रम-संवेदनशील ईवेंट `agent/pre-step`, `tools/post-execute` को `ctx.on()` से देखता है — Cordis का **ब्रॉडकास्ट** पंजीकरण, जहाँ हर लिसनर चलता है और कोई किसी दूसरे को वंचित नहीं कर सकता। **यहाँ प्रत्येक लिसनर `next()` से डेलिगेट करता है**, इसलिए श्रृंखला कभी शॉर्ट-सर्किट नहीं होती:
|
|
254
|
-
- `agent/pre-step` — also used by `dsh-routing-suite` (7000★, 7 listeners), `modlens` (4122★), `dsh-purge` (3317★), `dsh-agent-teams` (1923★), `dsh-context` (1849★).
|
|
255
|
-
- `tools/post-execute` — also used by `cc-safety-net` (1576★).
|
|
256
|
-
|
|
257
|
-
स्थैतिक प्रमाण: इस रिपॉज़िटरी पर `dsh-plugin-doctor` के K10–K13 सभी `pass` हैं।
|
|
258
|
-
|
|
259
|
-
## Topics
|
|
260
|
-
|
|
261
|
-
`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `pii`, `mask`, `privacy`, `anonymization`, `security`
|
|
262
|
-
|
|
263
|
-
## Contributors
|
|
264
|
-
|
|
265
|
-
- [@PerryLink](https://github.com/PerryLink) — निर्माता और अनुरक्षक।
|
|
266
|
-
|
|
267
|
-
## PerryLink DSH Plugin Family
|
|
268
|
-
|
|
269
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है। पूरी सूची नीचे संक्षिप्त रखी गई है ताकि हर README की पहली स्क्रीन छोटी रहे; हर पंक्ति और उसकी स्थिति देखने के लिए इसे खोलें।
|
|
270
|
-
|
|
271
|
-
<details>
|
|
272
|
-
<summary>सभी प्लगइन खोलें</summary>
|
|
273
|
-
|
|
274
|
-
| प्लगइन | स्थिति |
|
|
275
|
-
|---|---|
|
|
276
|
-
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
277
|
-
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
278
|
-
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
279
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
280
|
-
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
281
|
-
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
282
|
-
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
283
|
-
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
284
|
-
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
285
|
-
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
286
|
-
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
287
|
-
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
288
|
-
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
289
|
-
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
290
|
-
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
291
|
-
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
292
|
-
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
293
|
-
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
294
|
-
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
295
|
-
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
296
|
-
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
297
|
-
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
298
|
-
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
299
|
-
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
300
|
-
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
301
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
302
|
-
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
303
|
-
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
304
|
-
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
305
|
-
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
306
|
-
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
307
|
-
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
308
|
-
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
309
|
-
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
310
|
-
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
311
|
-
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
312
|
-
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
313
|
-
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
314
|
-
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
315
|
-
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
316
|
-
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
317
|
-
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
318
|
-
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
319
|
-
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
320
|
-
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
321
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
322
|
-
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
323
|
-
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
324
|
-
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
325
|
-
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
326
|
-
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
327
|
-
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
328
|
-
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
329
|
-
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
330
|
-
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
331
|
-
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
332
|
-
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
333
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
334
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
335
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
336
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
337
|
-
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
338
|
-
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
339
|
-
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
340
|
-
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
341
|
-
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
342
|
-
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
343
|
-
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
344
|
-
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
345
|
-
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
346
|
-
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
347
|
-
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
348
|
-
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
349
|
-
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
350
|
-
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
351
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
352
|
-
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
353
|
-
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
354
|
-
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
355
|
-
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
356
|
-
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
357
|
-
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
358
|
-
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
359
|
-
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
360
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
361
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
362
|
-
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
363
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
364
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
365
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
366
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
367
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
368
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
369
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
370
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
371
|
-
|
|
372
|
-
</details>
|
|
373
|
-
|
|
374
|
-
## License
|
|
375
|
-
|
|
376
|
-
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-mask contributors
|
|
377
|
-
|
|
378
|
-
### DSH Desktop मार्केट से इंस्टॉल करें
|
|
379
|
-
|
|
380
|
-
सभी PerryLink प्लगइन DSH Desktop के बिल्ट-इन मार्केट में देखे जा सकते हैं: **Market → Sources → add source → पेस्ट करें** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ चुनें**। इंस्टॉलेशन मार्केट के npm-identity सत्यापन और आपकी पुष्टि से ही होता है।
|