dsh-mask 0.2.25 → 0.2.26
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 +2 -0
- package/LICENSE +0 -0
- package/README.en.md +1 -1
- package/README.es.md +1 -1
- package/README.hi.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- 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 +0 -0
- package/lib/sanitize.mjs +0 -0
- package/lib/store.mjs +0 -0
- package/lib/strip.mjs +0 -0
- package/package.json +11 -32
- package/types.d.ts +0 -0
package/ARCHITECTURE.md
CHANGED
|
File without changes
|
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
File without changes
|
package/README.en.md
CHANGED
|
@@ -286,7 +286,7 @@ Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on
|
|
|
286
286
|
|
|
287
287
|
| Surface | Status |
|
|
288
288
|
|---|---|
|
|
289
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
289
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adapted 2026-11-18): the session envelope keeps its ignorable field for stored-log read compatibility only - Session.append still cannot stamp it, so audit-gate behavior is unchanged. Verified 2026-11-18 against the dsh-v0.1.7-alpha.1 master checkout (full gate chain + profile install smoke). |
|
|
290
290
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
291
291
|
| Platforms | Anywhere DSH runs (pure host, zero-dependency regex; no browser half) |
|
|
292
292
|
| Model | Text models fully supported; no extra model capability required |
|
package/README.es.md
CHANGED
|
@@ -286,7 +286,7 @@ Evidencia estática: `dsh-plugin-doctor` K10–K13 dan `pass` en todas las compr
|
|
|
286
286
|
|
|
287
287
|
| Superficie | Estado |
|
|
288
288
|
|---|---|
|
|
289
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
289
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado el 2026-11-18): el sobre de sesión conserva su campo ignorable solo para compatibilidad de lectura de logs almacenados - Session.append aún no puede estamparlo, por lo que el comportamiento de la puerta no cambia. Verificado el 2026-11-18 contra el checkout master `dsh-v0.1.7-alpha.1` (cadena completa de puertas + smoke de instalación de perfil). |
|
|
290
290
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
291
291
|
| Plataformas | Donde corra DSH (host puro, regex sin dependencias; sin mitad de navegador) |
|
|
292
292
|
| Modelo | Modelos de texto totalmente soportados; no requiere capacidades extra del modelo |
|
package/README.hi.md
CHANGED
|
@@ -286,7 +286,7 @@ mask: restore failed: EEXIST: file already exists, mkdir '/tmp/dsh-mask-probe-no
|
|
|
286
286
|
|
|
287
287
|
| सतह | स्थिति |
|
|
288
288
|
|---|---|
|
|
289
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
289
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (2026-11-18 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-11-18 को `dsh-v0.1.7-alpha.1` master checkout के विरुद्ध सत्यापित (पूर्ण गेट शृंखला + profile इंस्टॉल स्मोक)। |
|
|
290
290
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
291
291
|
| प्लेटफ़ॉर्म | जहाँ DSH चले (शुद्ध host, शून्य-निर्भरता regex; कोई ब्राउज़र आधा नहीं) |
|
|
292
292
|
| मॉडल | टेक्स्ट मॉडल पूर्ण रूप से समर्थित; कोई अतिरिक्त मॉडल क्षमता आवश्यक नहीं |
|
package/README.md
CHANGED
|
@@ -286,7 +286,7 @@ profile patch 覆盖示例:
|
|
|
286
286
|
|
|
287
287
|
| 维度 | 状态 |
|
|
288
288
|
|---|---|
|
|
289
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
289
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4`(2026-11-18 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。已于 2026-11-18 针对 `dsh-v0.1.7-alpha.1` master checkout 核验(全量门禁链 + profile 安装冒烟测试)。 |
|
|
290
290
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
291
291
|
| 平台 | 任何 DSH 可运行处(纯 host、零依赖正则;无浏览器半) |
|
|
292
292
|
| 模型 | 文本模型完全支持;无需额外模型能力 |
|
package/README.pt.md
CHANGED
|
@@ -286,7 +286,7 @@ Evidência estática: o `dsh-plugin-doctor` K10–K13 reporta `pass` em todas as
|
|
|
286
286
|
|
|
287
287
|
| Superfície | Estado |
|
|
288
288
|
|---|---|
|
|
289
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
289
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado em 2026-11-18): o envelope de sessão mantém seu campo ignorable apenas para compatibilidade de leitura de logs armazenados - o Session.append ainda não consegue estampá-lo, então o comportamento da porta de auditoria não muda. Verificado em 2026-11-18 contra o checkout master dsh-v0.1.7-alpha.1 (cadeia completa de portas + smoke de instalação de perfil). |
|
|
290
290
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
291
291
|
| Plataformas | Onde o DSH rodar (host puro, regex sem dependências; sem metade de navegador) |
|
|
292
292
|
| Modelo | Modelos de texto totalmente suportados; nenhuma capacidade extra de modelo é exigida |
|
package/SECURITY.md
CHANGED
|
File without changes
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
package/index.mjs
CHANGED
|
File without changes
|
package/lib/constants.mjs
CHANGED
|
File without changes
|
package/lib/deliver.mjs
CHANGED
|
File without changes
|
package/lib/domain.mjs
CHANGED
|
File without changes
|
package/lib/errors.mjs
CHANGED
|
File without changes
|
package/lib/gate.mjs
CHANGED
|
File without changes
|
package/lib/mask.mjs
CHANGED
|
File without changes
|
package/lib/sanitize.mjs
CHANGED
|
File without changes
|
package/lib/store.mjs
CHANGED
|
File without changes
|
package/lib/strip.mjs
CHANGED
|
File without changes
|
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.
|
|
4
|
+
"version": "0.2.26",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/PerryLink/dsh-mask.git"
|
|
@@ -42,27 +42,6 @@
|
|
|
42
42
|
"manifestVersion": 1,
|
|
43
43
|
"bundle": {
|
|
44
44
|
"patch": "./cordis.patch.yml"
|
|
45
|
-
},
|
|
46
|
-
"capabilities": [
|
|
47
|
-
"fs:write",
|
|
48
|
-
"sessions:write",
|
|
49
|
-
"tools:register"
|
|
50
|
-
],
|
|
51
|
-
"labels": [],
|
|
52
|
-
"standards": {
|
|
53
|
-
"schema": "dsh-levels/1",
|
|
54
|
-
"entry": {
|
|
55
|
-
"status": "not-run",
|
|
56
|
-
"evidence": null
|
|
57
|
-
},
|
|
58
|
-
"flow": {
|
|
59
|
-
"status": "not-run",
|
|
60
|
-
"evidence": null
|
|
61
|
-
},
|
|
62
|
-
"boost": {
|
|
63
|
-
"status": "not-measured",
|
|
64
|
-
"evidence": null
|
|
65
|
-
}
|
|
66
45
|
}
|
|
67
46
|
},
|
|
68
47
|
"dshWorkshop": {
|
|
@@ -129,23 +108,23 @@
|
|
|
129
108
|
"zod": "4.6.6"
|
|
130
109
|
},
|
|
131
110
|
"devDependencies": {
|
|
132
|
-
"@deepseek-ai/dsh-attachment": "0.2.2-rc.
|
|
111
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.4",
|
|
133
112
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
134
113
|
"@deepseek-ai/cordis-plugin-include": "^1.1.0",
|
|
135
114
|
"@deepseek-ai/cordis-plugin-loader": "^1.1.0",
|
|
136
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.
|
|
137
|
-
"@deepseek-ai/dsh-commands": "0.2.2-rc.
|
|
138
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.
|
|
139
|
-
"@deepseek-ai/dsh-storage": "0.2.2-rc.
|
|
140
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.
|
|
141
|
-
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.
|
|
142
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.
|
|
143
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.
|
|
115
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.4",
|
|
116
|
+
"@deepseek-ai/dsh-commands": "0.2.2-rc.4",
|
|
117
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.4",
|
|
118
|
+
"@deepseek-ai/dsh-storage": "0.2.2-rc.4",
|
|
119
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.4",
|
|
120
|
+
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.4",
|
|
121
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.4",
|
|
122
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.4",
|
|
144
123
|
"@deepseek-ai/schemastery": "~3.19.0",
|
|
145
124
|
"@types/node": "^22.20.5",
|
|
146
125
|
"oxlint": "0.18.1",
|
|
147
126
|
"typescript": "^5.9.0",
|
|
148
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.
|
|
127
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.4"
|
|
149
128
|
},
|
|
150
129
|
"scripts": {
|
|
151
130
|
"typecheck": "tsc -p tsconfig.check.json",
|
package/types.d.ts
CHANGED
|
File without changes
|