dsh-mask 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,29 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [Unreleased]
9
+
10
+ ## [0.2.8] - 2026-09-10
11
+
12
+ ### Changed
13
+
14
+ - Pin the `@deepseek-ai/dsh-*` dev/test dependencies to the published `0.1.5-rc.1` line and record `0.1.5-rc.1` in `dshWorkshop.compatibility.dshVersions`; the monthly Compat workflow now runs against `0.1.5-rc.1`. The peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` is unchanged, so no supported host line is dropped.
15
+
16
+ ### Docs
17
+
18
+ - Refresh the five-language README compatibility baseline to `dsh-v0.1.5-rc.1` (verified 2026-09-10).
19
+
20
+ ## [0.2.7] - 2026-09-09
21
+
22
+ ### Changed
23
+
24
+ - Align the `@deepseek-ai/dsh-*` peer ranges to `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` and pin the dev/test dependencies to the published `0.1.5-alpha.1` line: adaptation to DeepSeek Harness `dsh-v0.1.5-alpha.1` (session format V3, `ctx.agent` removal, `Inbox` type-only interface); runtime behavior is unchanged for every supported host line.
25
+ - Record `0.1.5-alpha.1` in `dshWorkshop.compatibility.dshVersions`.
26
+
27
+ ### Docs
28
+
29
+ - Refresh the five-language README compatibility baseline to `dsh-v0.1.5-alpha.1` (verified 2026-09-09).
30
+
8
31
  ## [0.2.6] - 2026-09-08
9
32
 
10
33
  ### Docs
package/README.es.md CHANGED
@@ -9,6 +9,7 @@
9
9
 
10
10
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
11
11
  [![DSH plugin](https://img.shields.io/badge/dsh--plugin-✅-green)](https://github.com/topics/dsh-plugin)
12
+ [![dsh-doctor](https://raw.githubusercontent.com/PerryLink/dsh-plugin-doctor/main/badges/PerryLink__dsh-mask.svg)](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
12
13
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-brightgreen.svg)](#)
13
14
  [![CI](https://img.shields.io/github/actions/workflow/status/PerryLink/dsh-mask/ci.yml?branch=main&label=CI)](https://github.com/PerryLink/dsh-mask/actions)
14
15
  [![Version](https://img.shields.io/github/v/tag/PerryLink/dsh-mask?label=version)](https://github.com/PerryLink/dsh-mask/releases)
@@ -25,7 +26,7 @@
25
26
 
26
27
  | Superficie | Estado |
27
28
  |---|---|
28
- | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1` (adaptado el 2026-09-02): 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-09-06 contra el checkout master `dsh-v0.1.3-alpha.1` (cadena completa de puertas + smoke de instalación de perfil). |
29
+ | Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (adaptado el 2026-09-09): 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-09-10 contra el checkout master `dsh-v0.1.5-rc.1` (cadena completa de puertas + smoke de instalación de perfil). |
29
30
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
31
  | Plataformas | Donde corra DSH (host puro, regex sin dependencias; sin mitad de navegador) |
31
32
  | Modelo | Modelos de texto totalmente soportados |
package/README.hi.md CHANGED
@@ -9,6 +9,7 @@
9
9
 
10
10
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
11
11
  [![DSH plugin](https://img.shields.io/badge/dsh--plugin-✅-green)](https://github.com/topics/dsh-plugin)
12
+ [![dsh-doctor](https://raw.githubusercontent.com/PerryLink/dsh-plugin-doctor/main/badges/PerryLink__dsh-mask.svg)](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
12
13
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-brightgreen.svg)](#)
13
14
  [![CI](https://img.shields.io/github/actions/workflow/status/PerryLink/dsh-mask/ci.yml?branch=main&label=CI)](https://github.com/PerryLink/dsh-mask/actions)
14
15
  [![Version](https://img.shields.io/github/v/tag/PerryLink/dsh-mask?label=version)](https://github.com/PerryLink/dsh-mask/releases)
@@ -25,7 +26,7 @@
25
26
 
26
27
  | सतह | स्थिति |
27
28
  |---|---|
28
- | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1` (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-06 को `dsh-v0.1.3-alpha.1` master checkout के विरुद्ध सत्यापित (पूर्ण गेट शृंखला + profile इंस्टॉल स्मोक)। |
29
+ | Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (2026-09-09 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-10 को `dsh-v0.1.5-rc.1` master checkout के विरुद्ध सत्यापित (पूर्ण गेट शृंखला + profile इंस्टॉल स्मोक)। |
29
30
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
31
  | प्लेटफ़ॉर्म | जहाँ DSH चले (शुद्ध host, शून्य-निर्भरता regex; कोई ब्राउज़र आधा नहीं) |
31
32
  | मॉडल | टेक्स्ट मॉडल पूर्ण रूप से समर्थित |
package/README.md CHANGED
@@ -10,6 +10,7 @@
10
10
 
11
11
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
12
12
  [![DSH plugin](https://img.shields.io/badge/dsh--plugin-✅-green)](https://github.com/topics/dsh-plugin)
13
+ [![dsh-doctor](https://raw.githubusercontent.com/PerryLink/dsh-plugin-doctor/main/badges/PerryLink__dsh-mask.svg)](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
13
14
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-brightgreen.svg)](#)
14
15
  [![CI](https://img.shields.io/github/actions/workflow/status/PerryLink/dsh-mask/ci.yml?branch=main&label=CI)](https://github.com/PerryLink/dsh-mask/actions)
15
16
  [![Version](https://img.shields.io/github/v/tag/PerryLink/dsh-mask?label=version)](https://github.com/PerryLink/dsh-mask/releases)
@@ -26,7 +27,7 @@
26
27
 
27
28
  | Surface | Status |
28
29
  |---|---|
29
- | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1` (adapted 2026-09-02): 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-09-06 against the dsh-v0.1.3-alpha.1 master checkout (full gate chain + profile install smoke). |
30
+ | Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (adapted 2026-09-09): 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-09-10 against the dsh-v0.1.5-rc.1 master checkout (full gate chain + profile install smoke). |
30
31
  | Node | `^22.19.0 \|\| >=24.0.0` |
31
32
  | Platforms | Anywhere DSH runs (pure host, zero-dependency regex; no browser half) |
32
33
  | Model | Text models fully supported; no extra model capability required |
@@ -148,7 +149,7 @@ Example override in your profile patch:
148
149
 
149
150
  ```sh
150
151
  pnpm install # node ^22.19 || >=24
151
- pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs against the published 0.1.2-rc.1 peers
152
+ pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs against the published 0.1.5-rc.1 peers
152
153
  pnpm test # node --test
153
154
  pnpm run verify:self-contained # dependency specs resolve from the registry
154
155
  pnpm run verify:artifacts # shipped files present + index.mjs importable
package/README.pt.md CHANGED
@@ -9,6 +9,7 @@
9
9
 
10
10
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
11
11
  [![DSH plugin](https://img.shields.io/badge/dsh--plugin-✅-green)](https://github.com/topics/dsh-plugin)
12
+ [![dsh-doctor](https://raw.githubusercontent.com/PerryLink/dsh-plugin-doctor/main/badges/PerryLink__dsh-mask.svg)](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
12
13
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-brightgreen.svg)](#)
13
14
  [![CI](https://img.shields.io/github/actions/workflow/status/PerryLink/dsh-mask/ci.yml?branch=main&label=CI)](https://github.com/PerryLink/dsh-mask/actions)
14
15
  [![Version](https://img.shields.io/github/v/tag/PerryLink/dsh-mask?label=version)](https://github.com/PerryLink/dsh-mask/releases)
@@ -25,7 +26,7 @@
25
26
 
26
27
  | Superfície | Estado |
27
28
  |---|---|
28
- | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1` (adaptado em 2026-09-02): 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 não muda. Verificado em 2026-09-06 contra o checkout master `dsh-v0.1.3-alpha.1` (cadeia completa de portas + smoke de instalação de perfil). |
29
+ | Harness | DeepSeek Harness `dsh-v0.1.5-rc.1` (adaptado em 2026-09-09): 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 não muda. Verificado em 2026-09-10 contra o checkout master `dsh-v0.1.5-rc.1` (cadeia completa de portas + smoke de instalação de perfil). |
29
30
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
31
  | Plataformas | Onde o DSH rodar (host puro, regex sem dependências; sem metade de navegador) |
31
32
  | Modelo | Modelos de texto totalmente suportados |
package/README.zh.md CHANGED
@@ -9,6 +9,7 @@
9
9
 
10
10
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
11
11
  [![DSH plugin](https://img.shields.io/badge/dsh--plugin-✅-green)](https://github.com/topics/dsh-plugin)
12
+ [![dsh-doctor](https://raw.githubusercontent.com/PerryLink/dsh-plugin-doctor/main/badges/PerryLink__dsh-mask.svg)](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
12
13
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-brightgreen.svg)](#)
13
14
  [![CI](https://img.shields.io/github/actions/workflow/status/PerryLink/dsh-mask/ci.yml?branch=main&label=CI)](https://github.com/PerryLink/dsh-mask/actions)
14
15
  [![Version](https://img.shields.io/github/v/tag/PerryLink/dsh-mask?label=version)](https://github.com/PerryLink/dsh-mask/releases)
@@ -25,7 +26,7 @@
25
26
 
26
27
  | 维度 | 状态 |
27
28
  |---|---|
28
- | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1`(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。已于 2026-09-06 针对 `dsh-v0.1.3-alpha.1` master checkout 核验(全量门禁链 + profile 安装冒烟测试)。 |
29
+ | Harness | DeepSeek Harness `dsh-v0.1.5-rc.1`(2026-09-09 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。已于 2026-09-10 针对 `dsh-v0.1.5-rc.1` master checkout 核验(全量门禁链 + profile 安装冒烟测试)。 |
29
30
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
31
  | 平台 | 任何 DSH 可运行处(纯 host、零依赖正则;无浏览器半) |
31
32
  | 模型 | 文本模型完全支持;无需额外模型能力 |
@@ -145,7 +146,7 @@ profile patch 覆盖示例:
145
146
 
146
147
  ```sh
147
148
  pnpm install # node ^22.19 || >=24
148
- pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs(对照 0.1.2-rc.1 peers)
149
+ pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs(对照 0.1.5-rc.1 peers)
149
150
  pnpm test # node --test
150
151
  pnpm run verify:self-contained # 依赖 spec 均来自 registry
151
152
  pnpm run verify:artifacts # 发布文件齐全 + index.mjs 可 import
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-mask",
3
3
  "description": "PII masking middleware for DeepSeek Harness: anonymize names, phones, emails, ID cards, bank cards, keys, and addresses to placeholders before they reach the model, restore them at the display layer, keep the restore table only in memory and a controlled storage domain, never log plaintext, and expose /mask and the mask_test tool",
4
- "version": "0.2.6",
4
+ "version": "0.2.8",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/PerryLink/dsh-mask.git"
@@ -69,9 +69,7 @@
69
69
  "network:none"
70
70
  ],
71
71
  "compatibility": {
72
- "dshVersions": [
73
- "0.1.2-rc.1"
74
- ]
72
+ "dshVersions": ["0.1.2-rc.1","0.1.5-rc.1"]
75
73
  },
76
74
  "capability": {
77
75
  "id": "mask",
@@ -88,30 +86,30 @@
88
86
  },
89
87
  "peerDependencies": {
90
88
  "@deepseek-ai/cordis": "^4.0.2",
91
- "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0",
92
- "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0",
93
- "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0",
94
- "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0",
95
- "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0",
96
- "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0",
89
+ "@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
90
+ "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
91
+ "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
92
+ "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
93
+ "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
94
+ "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
97
95
  "@deepseek-ai/schemastery": "^3.18.2"
98
96
  },
99
97
  "dependencies": {
100
98
  "zod": "^4.4.3"
101
99
  },
102
100
  "devDependencies": {
103
- "@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
101
+ "@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
104
102
  "@deepseek-ai/cordis": "^4.0.2",
105
103
  "@deepseek-ai/cordis-plugin-include": "^1.0.7",
106
104
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
107
- "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
108
- "@deepseek-ai/dsh-commands": "0.1.2-rc.1",
109
- "@deepseek-ai/dsh-session": "0.1.2-rc.1",
110
- "@deepseek-ai/dsh-storage": "0.1.2-rc.1",
111
- "@deepseek-ai/dsh-storage-domain": "0.1.2-rc.1",
112
- "@deepseek-ai/dsh-storage-json": "0.1.2-rc.1",
113
- "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
114
- "@deepseek-ai/dsh-tools": "0.1.2-rc.1",
105
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.1",
106
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.1",
107
+ "@deepseek-ai/dsh-session": "0.1.5-rc.1",
108
+ "@deepseek-ai/dsh-storage": "0.1.5-rc.1",
109
+ "@deepseek-ai/dsh-storage-domain": "0.1.5-rc.1",
110
+ "@deepseek-ai/dsh-storage-json": "0.1.5-rc.1",
111
+ "@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
112
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
115
113
  "@deepseek-ai/schemastery": "^3.18.2",
116
114
  "@types/node": "^22.19.0",
117
115
  "oxlint": "0.18.1",