dsh-permission-rules 0.7.0 → 0.7.1
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
|
@@ -424,6 +424,13 @@ All notable changes to dsh-permission-rules are recorded here, newest first.
|
|
|
424
424
|
- Per-workspace rule discovery (`<cwd>/.dsh/rules.yaml`), `fallbackPath`, Chokidar HMR with debounce, `/rules` session command.
|
|
425
425
|
- Fail-loud loading: invalid YAML, unknown fields/actions, bad globs/regexes, and rule counts over `maxRules` fail the load.
|
|
426
426
|
|
|
427
|
+
## v0.7.1 - 2026-09-12
|
|
428
|
+
|
|
429
|
+
### Changed
|
|
430
|
+
|
|
431
|
+
- Rename the four translated READMEs to `README-<lang>.md`. npm selects the package-page readme as the first markdown file matching its `{README,README.*}` glob (`@npmcli/package-json`, publish path), and that glob order puts `README.<lang>.md` ahead of `README.md` — so npm was serving the Simplified-Chinese file for this package too (measured on 15/15 sampled packages of the family). The new names sit outside the glob, so the English source is served again. No content changed apart from the language-switcher link each translation holds to its siblings, and the repo readme gate still passes. Takes effect with the next release; an already-published version cannot gain a corrected readme retroactively.
|
|
432
|
+
- Pin the `@deepseek-ai/dsh-*` dev/test dependencies to the published `0.1.5-rc.2` line and record `0.1.5-rc.2` in `dshWorkshop.compatibility.dshVersions`; the monthly Compat workflow now runs against `0.1.5-rc.2`. 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.
|
|
433
|
+
|
|
427
434
|
## [0.6.13] - 2026-09-09
|
|
428
435
|
|
|
429
436
|
### Changed
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (adaptado el 2026-09-09, cadena completa de gates + smoke de instalación de profile): su `Session.append` todavía no puede estampar el marcador `ignorable` —verificado en el paquete publicado `0.1.5-rc.2`, donde el tercer argumento se descarta silenciosamente y el campo del sobre solo sobrevive para la lectura de logs almacenados—, así que toda la línea `0.1.5-alpha` se preverifica como no marcada y la auditoría del registro de sesión queda desactivada por defecto. La línea `0.1.3-alpha` mantiene la misma firma de append surface-only. Las migraciones de log de ambas líneas rechazan eventos de plugin sin clasificar incluso marcados: aplica `strip` a las filas de auditoría v1 antes de que un host `0.1.3-alpha` abra el log y a las v2 antes de que un host `0.1.5-alpha` lo migre (los logs v3 nativos solo necesitan `repair`). |
|
|
30
30
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
31
31
|
| Platforms | Todas (host + cliente web de settings) |
|
|
32
32
|
| Model | Cualquiera (las razones deny/ask se muestran a través de los resultados de herramienta) |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (2026-09-09 को अनुकूलित, पूर्ण gates शृंखला + profile इंस्टॉल smoke): इसका `Session.append` अभी भी `ignorable` मार्कर स्टैम्प नहीं कर सकता — प्रकाशित `0.1.5-rc.2` पैकेज पर सत्यापित, जहाँ तीसरा आर्ग्युमेंट चुपचाप छोड़ दिया जाता है और लिफ़ाफ़ा फ़ील्ड केवल संग्रहीत-लॉग पठन के लिए बचता है — इसलिए पूरी `0.1.5-alpha` पंक्ति पहले append से पहले ही अनमार्क्ड के रूप में पूर्व-जाँची जाती है और सत्र-लॉग ऑडिट डिफ़ॉल्ट रूप से बंद रहता है। `0.1.3-alpha` पंक्ति वही surface-only append हस्ताक्षर रखती है। दोनों पंक्तियों का लॉग प्रवासन चिह्नित अन-क्लासिफ़ाइड प्लगइन घटनाओं को भी अस्वीकारता है: `0.1.3-alpha` host के लॉग खोलने से पहले v1 ऑडिट पंक्तियाँ और `0.1.5-alpha` host के प्रवासन से पहले v2 पंक्तियाँ `strip` करें (v3 मूल लॉग के लिए केवल `repair` चाहिए)। |
|
|
30
30
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
31
31
|
| Platforms | सभी (host + वेब settings क्लाइंट) |
|
|
32
32
|
| Model | कोई भी (deny/ask कारण टूल परिणामों के माध्यम से दिखते हैं) |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (adaptado em 2026-09-09, cadeia completa de gates + smoke de instalação de profile): o `Session.append` ainda não consegue estampar o marcador `ignorable` — verificado no pacote publicado `0.1.5-rc.2`, onde o terceiro argumento é descartado silenciosamente e o campo do envelope só sobrevive para a leitura de logs armazenados —, então toda a linha `0.1.5-alpha` é pré-verificada como não marcada e a auditoria do log de sessão fica desativada por padrão. A linha `0.1.3-alpha` mantém a mesma assinatura de append surface-only. As migrações de log de ambas as linhas recusam eventos de plugin não classificados mesmo marcados: aplique `strip` nas linhas de auditoria v1 antes de um host `0.1.3-alpha` abrir o log e nas v2 antes de um host `0.1.5-alpha` migrá-lo (logs v3 nativos só precisam de `repair`). |
|
|
30
30
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
31
31
|
| Platforms | Todas (host + cliente web de settings) |
|
|
32
32
|
| Model | Qualquer (razões deny/ask aparecem pelos resultados de ferramenta) |
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2`(2026-09-09 已适配,完整门禁链 + profile 安装冒烟):其 `Session.append` 仍无法盖章 `ignorable` 标记——已在已发布的 `0.1.5-rc.2` 包上实测,第三参数被静默丢弃,信封字段仅用于存量日志读取——故整条 `0.1.5-alpha` 线在首次追加前即被预检为未盖章,会话日志审计默认停用。`0.1.3-alpha` 线同样沿用 surface-only 追加签名。两条线的日志迁移连已标记的未分类插件事件也拒绝:在 `0.1.3-alpha` 宿主打开日志前 `strip` 掉 v1 审计行,在 `0.1.5-alpha` 宿主迁移前 `strip` 掉 v2 审计行(v3 原生日志只需 `repair`)。 |
|
|
30
30
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
31
31
|
| Platforms | 全部(host + Web 设置客户端) |
|
|
32
32
|
| Model | 任意(deny/ask 原因经工具结果呈现) |
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
18
18
|
[](https://www.npmjs.com/package/dsh-permission-rules)
|
|
19
19
|
|
|
20
|
-
[English](README.md) · [简体中文](README
|
|
20
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
21
21
|
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
| Surface | Status |
|
|
29
29
|
|---|---|
|
|
30
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
30
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (adapted 2026-09-09, full gate chain + profile install smoke): its `Session.append` still cannot stamp the `ignorable` marker — verified on the published `0.1.5-rc.2` package, where the third argument is silently dropped and the envelope field survives for stored-log reads only — so the whole `0.1.5-alpha` line is pre-checked as unmarked and session-log audit stays disabled by default. The `0.1.3-alpha` line keeps the same surface-only append signature. Both lines' log migrations refuse unclassified plugin events even when marked, so `strip` v1 audit rows before a `0.1.3-alpha` host opens the log and v2 audit rows before a `0.1.5-alpha` host migrates it (native v3 logs only need `repair`). |
|
|
31
31
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
32
32
|
| Platforms | All (host + web settings client) |
|
|
33
33
|
| Model | Any (deny/ask reasons surface through tool results) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-permission-rules",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Declarative Claude Code-style permission rules plus a Codex-style process-level network policy for DeepSeek Harness: ordered allow/deny/ask rules with tool-name, argument (glob/regex), workspace-path, and network-target (domain/ip/port/scheme) matching on the tools/pre-execute waterfall, a built-in local HTTP/CONNECT proxy governing shell subprocess traffic, three network modes mapped onto the official sandbox presets, full session-log audit, HMR rule reload, and a settings page with a rule editor, block counters, and recent interception lists.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"docs",
|
|
30
30
|
"scripts/repair-session-logs.mjs",
|
|
31
31
|
"README.md",
|
|
32
|
-
"README
|
|
33
|
-
"README
|
|
34
|
-
"README
|
|
35
|
-
"README
|
|
32
|
+
"README-zh.md",
|
|
33
|
+
"README-es.md",
|
|
34
|
+
"README-pt.md",
|
|
35
|
+
"README-hi.md",
|
|
36
36
|
"CHANGELOG.md",
|
|
37
37
|
"LICENSE"
|
|
38
38
|
],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"network:outbound"
|
|
77
77
|
],
|
|
78
78
|
"compatibility": {
|
|
79
|
-
"dshVersions": ["0.1.2-rc.1","0.1.5-rc.
|
|
79
|
+
"dshVersions": ["0.1.2-rc.1","0.1.5-rc.2"]
|
|
80
80
|
},
|
|
81
81
|
"capability": {
|
|
82
82
|
"id": "rules",
|
|
@@ -154,26 +154,26 @@
|
|
|
154
154
|
"zod": "^4.4.3"
|
|
155
155
|
},
|
|
156
156
|
"devDependencies": {
|
|
157
|
-
"@deepseek-ai/dsh-attachment": "0.1.5-rc.
|
|
157
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
|
|
158
158
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
159
159
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
160
160
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
161
|
-
"@deepseek-ai/dsh-agent": "0.1.5-rc.
|
|
162
|
-
"@deepseek-ai/dsh-brand": "0.1.5-rc.
|
|
163
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.
|
|
164
|
-
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.
|
|
165
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.
|
|
166
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.
|
|
167
|
-
"@deepseek-ai/dsh-client-web": "0.1.5-rc.
|
|
168
|
-
"@deepseek-ai/dsh-commands": "0.1.5-rc.
|
|
169
|
-
"@deepseek-ai/dsh-invariants": "0.1.5-rc.
|
|
170
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.
|
|
171
|
-
"@deepseek-ai/dsh-session": "0.1.5-rc.
|
|
172
|
-
"@deepseek-ai/dsh-session-projection": "0.1.5-rc.
|
|
173
|
-
"@deepseek-ai/dsh-subagent": "0.1.5-rc.
|
|
174
|
-
"@deepseek-ai/dsh-tools": "0.1.5-rc.
|
|
175
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.
|
|
176
|
-
"@deepseek-ai/dsh-user-approval": "0.1.5-rc.
|
|
161
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.2",
|
|
162
|
+
"@deepseek-ai/dsh-brand": "0.1.5-rc.2",
|
|
163
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2",
|
|
164
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2",
|
|
165
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-client-web": "0.1.5-rc.2",
|
|
168
|
+
"@deepseek-ai/dsh-commands": "0.1.5-rc.2",
|
|
169
|
+
"@deepseek-ai/dsh-invariants": "0.1.5-rc.2",
|
|
170
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2",
|
|
171
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2",
|
|
172
|
+
"@deepseek-ai/dsh-session-projection": "0.1.5-rc.2",
|
|
173
|
+
"@deepseek-ai/dsh-subagent": "0.1.5-rc.2",
|
|
174
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.2",
|
|
175
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
|
|
176
|
+
"@deepseek-ai/dsh-user-approval": "0.1.5-rc.2",
|
|
177
177
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
178
178
|
"@eslint/js": "^10.0.1",
|
|
179
179
|
"@types/node": "^22.19.0",
|