dsh-permission-rules 0.7.15 → 0.7.18
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 +24 -0
- package/README-es.md +3 -3
- package/README-hi.md +3 -3
- package/README-pt.md +3 -3
- package/README-zh.md +3 -3
- package/README.md +3 -3
- package/docs/assets/dsh-permission-rules-demo.gif +0 -0
- package/docs/assets/dsh-permission-rules-hero.png +0 -0
- package/lib/client.js +11 -0
- package/lib/client.js.map +1 -1
- package/lib/index.js +2 -1
- package/lib/typert.host.js +5 -0
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/locales.d.ts.map +1 -1
- package/lib/types/client/remote.d.ts +1 -0
- package/lib/types/client/remote.d.ts.map +1 -1
- package/lib/types/client/section.d.ts.map +1 -1
- package/lib/types/runtime.d.ts +1 -0
- package/lib/types/runtime.d.ts.map +1 -1
- package/lib/types/typert.host.d.ts +1 -0
- package/lib/types/typert.host.d.ts.map +1 -1
- package/lib/types/wire.d.ts +5 -0
- package/lib/types/wire.d.ts.map +1 -1
- package/package.json +29 -21
- package/src/client/locales.ts +3 -0
- package/src/client/section.ts +3 -0
- package/src/runtime.ts +2 -0
- package/src/wire.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## v0.7.18 - 2026-10-18
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- Compatibility: devDependencies to `0.2.1-rc.2`; add `@deepseek-ai/dsh-working-directory`; `dshVersions` includes `0.2.1-rc.2`; test harness drops the removed `localAgent` field.
|
|
6
|
+
|
|
1
7
|
## v0.7.15 - 2026-10-10
|
|
2
8
|
|
|
3
9
|
### Changed
|
|
@@ -286,6 +292,24 @@
|
|
|
286
292
|
|
|
287
293
|
# Changelog
|
|
288
294
|
|
|
295
|
+
## [0.7.18] - 2026-10-18
|
|
296
|
+
|
|
297
|
+
### Changed
|
|
298
|
+
|
|
299
|
+
- Compatibility: devDependencies to `0.2.1-rc.2`; add `@deepseek-ai/dsh-working-directory`; `dshVersions` includes `0.2.1-rc.2`; test harness drops the removed `localAgent` field from `SubagentRun`.
|
|
300
|
+
|
|
301
|
+
## [0.7.17] - 2026-10-18
|
|
302
|
+
|
|
303
|
+
### Changed
|
|
304
|
+
|
|
305
|
+
- Add a 1280×720 hero and a 960×540, 4-second terminal GIF rendered from the build output; `screenshots.json` and `capture.json` describe it.
|
|
306
|
+
|
|
307
|
+
## [0.7.16] - 2026-10-18
|
|
308
|
+
|
|
309
|
+
### Added
|
|
310
|
+
|
|
311
|
+
- **The settings page states when session-log audit is disabled.** `permissionRules/networkStatus` now carries `auditSupport`; an unsupported host line renders a red status line instead of leaving `/rules decisions` empty without explanation (C3).
|
|
312
|
+
|
|
289
313
|
All notable changes to dsh-permission-rules are recorded here, newest first.
|
|
290
314
|
|
|
291
315
|
## v0.6.6 - 2026-09-02
|
package/README-es.md
CHANGED
|
@@ -40,7 +40,7 @@ Reglas de permisos declarativas estilo Claude Code para DeepSeek Harness.
|
|
|
40
40
|
|
|
41
41
|
Las reglas deciden lo conocido. Un modelo revisor decide lo que no lo es.
|
|
42
42
|
|
|
43
|
-

|
|
44
44
|
|
|
45
45
|

|
|
46
46
|
|
|
@@ -283,7 +283,7 @@ Evidencia estática: `dsh-plugin-doctor` K10–K13 dan `pass` en todas las compr
|
|
|
283
283
|
|
|
284
284
|
## PerryLink DSH Plugin Family
|
|
285
285
|
|
|
286
|
-
Este proyecto es uno de los **
|
|
286
|
+
Este proyecto es uno de los **34 plugins activamente mantenidos** de DeepSeek Harness de [PerryLink](https://github.com/PerryLink): el registro tiene **42**, de los cuales **5** están congelados y **3** retirados; cada uno conserva su fila abajo, con el motivo en la columna Estado. Si este te ayuda, probablemente los demás también:
|
|
287
287
|
|
|
288
288
|
| Plugin | En una línea | Estado |
|
|
289
289
|
|---|---|---|
|
|
@@ -311,7 +311,7 @@ Este proyecto es uno de los **33 plugins activamente mantenidos** de DeepSeek Ha
|
|
|
311
311
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
312
312
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
313
313
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
314
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
314
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
315
315
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
316
316
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
317
317
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
package/README-hi.md
CHANGED
|
@@ -40,7 +40,7 @@ DeepSeek Harness के लिए Claude Code-शैली की घोषण
|
|
|
40
40
|
|
|
41
41
|
नियम ज्ञात को तय करते हैं। एक समीक्षक मॉडल अज्ञात को तय करता है।
|
|
42
42
|
|
|
43
|
-

|
|
44
44
|
|
|
45
45
|

|
|
46
46
|
|
|
@@ -285,7 +285,7 @@ node scripts/check-readme-sync.mjs # five-language README sync gate (also in C
|
|
|
285
285
|
|
|
286
286
|
## PerryLink DSH Plugin Family
|
|
287
287
|
|
|
288
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है — **
|
|
288
|
+
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है — **34 सक्रिय रूप से अनुरक्षित**, कुल सूची **42** है जिसमें **5 फ़्रोज़न** और **3 सेवानिवृत्त** हैं; हर एक की पंक्ति नीचे बनी रहती है, कारण “स्थिति” कॉलम में है। अगर यह उपयोगी लगे, तो अन्य भी मददगार होंगे:
|
|
289
289
|
|
|
290
290
|
| Plugin | एक पंक्ति में | स्थिति |
|
|
291
291
|
|---|---|---|
|
|
@@ -313,7 +313,7 @@ node scripts/check-readme-sync.mjs # five-language README sync gate (also in C
|
|
|
313
313
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
314
314
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
315
315
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
316
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
316
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
317
317
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
318
318
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
319
319
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
package/README-pt.md
CHANGED
|
@@ -40,7 +40,7 @@ Regras de permissão declarativas estilo Claude Code para o DeepSeek Harness.
|
|
|
40
40
|
|
|
41
41
|
Regras decidem o conhecido. Um modelo revisor decide o que não é.
|
|
42
42
|
|
|
43
|
-

|
|
44
44
|
|
|
45
45
|

|
|
46
46
|
|
|
@@ -283,7 +283,7 @@ Evidência estática: `dsh-plugin-doctor` K10–K13 retornam `pass` em todas as
|
|
|
283
283
|
|
|
284
284
|
## PerryLink DSH Plugin Family
|
|
285
285
|
|
|
286
|
-
Este projeto é um dos **
|
|
286
|
+
Este projeto é um dos **34 plugins ativamente mantidos** do DeepSeek Harness da [PerryLink](https://github.com/PerryLink): o registro tem **42**, dos quais **5** estão congelados e **3** aposentados; cada um mantém sua linha abaixo, com o motivo na coluna Status. Se este ajudou você, provavelmente os outros também ajudarão:
|
|
287
287
|
|
|
288
288
|
| Plugin | Em uma linha | Status |
|
|
289
289
|
|---|---|---|
|
|
@@ -311,7 +311,7 @@ Este projeto é um dos **33 plugins ativamente mantidos** do DeepSeek Harness da
|
|
|
311
311
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
312
312
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
313
313
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
314
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
314
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
315
315
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
316
316
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
317
317
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
package/README-zh.md
CHANGED
|
@@ -40,7 +40,7 @@ DeepSeek Harness 的 Claude Code 风格声明式权限规则。
|
|
|
40
40
|
|
|
41
41
|
规则裁决已知的。评审模型裁决未知的。
|
|
42
42
|
|
|
43
|
-

|
|
44
44
|
|
|
45
45
|

|
|
46
46
|
|
|
@@ -283,7 +283,7 @@ node scripts/check-readme-sync.mjs # five-language README sync gate (also in C
|
|
|
283
283
|
|
|
284
284
|
## PerryLink DSH Plugin Family
|
|
285
285
|
|
|
286
|
-
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员:**
|
|
286
|
+
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员:**34 个活跃维护**,名册共 **42** 个,其中 **5 个已冻结**、**3 个已退役**——每一个都在下表保留自己的行,原因见「状态」列。如果它能帮到你,其他的也会:
|
|
287
287
|
|
|
288
288
|
| Plugin | 一句话 | 状态 |
|
|
289
289
|
|---|---|---|
|
|
@@ -311,7 +311,7 @@ node scripts/check-readme-sync.mjs # five-language README sync gate (also in C
|
|
|
311
311
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
312
312
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
313
313
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
314
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
314
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
315
315
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
316
316
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
317
317
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Claude Code-style declarative permission rules for DeepSeek Harness.
|
|
|
42
42
|
|
|
43
43
|
Rules decide what is known. A reviewer model decides what is not.
|
|
44
44
|
|
|
45
|
-

|
|
46
46
|
|
|
47
47
|

|
|
48
48
|
|
|
@@ -285,7 +285,7 @@ Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on
|
|
|
285
285
|
|
|
286
286
|
## PerryLink DSH Plugin Family
|
|
287
287
|
|
|
288
|
-
This project is one of the **
|
|
288
|
+
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
289
|
|
|
290
290
|
| Plugin | One-liner | Status |
|
|
291
291
|
|---|---|---|
|
|
@@ -313,7 +313,7 @@ This project is one of the **33 actively maintained** DeepSeek Harness plugins f
|
|
|
313
313
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
314
314
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
315
315
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
316
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
316
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
317
317
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
318
318
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
319
319
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
Binary file
|
|
Binary file
|
package/lib/client.js
CHANGED
|
@@ -4191,6 +4191,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4191
4191
|
cwd: string().nullable()
|
|
4192
4192
|
})),
|
|
4193
4193
|
allowHostAction: boolean(),
|
|
4194
|
+
auditSupport: union([
|
|
4195
|
+
literal("unknown"),
|
|
4196
|
+
literal("supported"),
|
|
4197
|
+
literal("unsupported")
|
|
4198
|
+
]).optional(),
|
|
4194
4199
|
upstream: object({
|
|
4195
4200
|
mode: union([
|
|
4196
4201
|
literal("off"),
|
|
@@ -4646,6 +4651,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4646
4651
|
key: "counters",
|
|
4647
4652
|
style: ROW
|
|
4648
4653
|
}, react.createElement("span", { style: LABEL }, t("counters")), react.createElement("span", { style: VALUE }, `${snapshot.denied} ${t("denied")} · ${snapshot.askBlocked} ${t("askBlocked")}`)));
|
|
4654
|
+
if (snapshot.auditSupport === "unsupported") children.push(react.createElement("div", {
|
|
4655
|
+
key: "audit-disabled",
|
|
4656
|
+
style: NOTICE_ERR
|
|
4657
|
+
}, t("auditDisabled")));
|
|
4649
4658
|
}
|
|
4650
4659
|
children.push(react.createElement("div", {
|
|
4651
4660
|
key: "recent-title",
|
|
@@ -4763,6 +4772,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4763
4772
|
upstreamInactive: "inactive",
|
|
4764
4773
|
upstreamChained: "{count} chained",
|
|
4765
4774
|
counters: "Blocks",
|
|
4775
|
+
auditDisabled: "Session-log audit is disabled on this host line (it cannot stamp the ignorable marker).",
|
|
4766
4776
|
denied: "denied",
|
|
4767
4777
|
askBlocked: "ask-blocked",
|
|
4768
4778
|
recentTitle: "Recent blocks",
|
|
@@ -4804,6 +4814,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4804
4814
|
upstreamInactive: "未生效",
|
|
4805
4815
|
upstreamChained: "已链式 {count} 条",
|
|
4806
4816
|
counters: "拦截",
|
|
4817
|
+
auditDisabled: "本宿主线上会话日志审计已停用(无法打 ignorable 标记)。",
|
|
4807
4818
|
denied: "拒绝",
|
|
4808
4819
|
askBlocked: "待审批阻断",
|
|
4809
4820
|
recentTitle: "近期拦截",
|