dsh-permission-rules 0.5.2 → 0.5.3

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to dsh-permission-rules are recorded here, newest first.
4
4
 
5
+ ## v0.5.3 — 2026-08-21
6
+
7
+ ### DeepSeek Harness rc.8 compatibility
8
+
9
+ - The dsh peer family moves to `0.1.0-rc.8`: devDependencies pin the exact rc.8 line, peerDependencies widen to `>=0.1.0-rc.8 <0.2.0`, the workshop compatibility manifest adds rc.8, and the five-language Harness compatibility row declares it. The rc.8 `commands.execute` signature gained the `images` parameter, so the `/rules` specs and the Loader composition runner pass an empty attachment array; the composition suite proves the built entry loads and serves `/rules` on the rc.8 peers.
10
+ - The rc.8 `dsh-session` stamps the envelope's `ignorable` marker, so the audit-capability degradation tests now simulate the pre-marker line through the runtime's `peerVersion` seam instead of claiming the released peers are unmarked; `isUnmarkedHostVersion`'s contract and the test-harness notes document the marker-aware rc.8 line.
11
+
5
12
  ## v0.5.2 — 2026-08-19
6
13
 
7
14
  ### Fixed
package/README.es.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Surface | Status |
26
26
  |---|---|
27
- | Harness | DeepSeek Harness `0.1.0-rc.5`–`0.1.0-rc.6` |
27
+ | Harness | DeepSeek Harness `0.1.0-rc.8` |
28
28
  | Node | `^22.19.0 || >=24.0.0` |
29
29
  | Platforms | Todas (host + cliente web de settings) |
30
30
  | Model | Cualquiera (las razones deny/ask se muestran a través de los resultados de herramienta) |
package/README.hi.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Surface | Status |
26
26
  |---|---|
27
- | Harness | DeepSeek Harness `0.1.0-rc.5`–`0.1.0-rc.6` |
27
+ | Harness | DeepSeek Harness `0.1.0-rc.8` |
28
28
  | Node | `^22.19.0 || >=24.0.0` |
29
29
  | Platforms | सभी (host + वेब settings क्लाइंट) |
30
30
  | Model | कोई भी (deny/ask कारण टूल परिणामों के माध्यम से दिखते हैं) |
package/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Surface | Status |
26
26
  |---|---|
27
- | Harness | DeepSeek Harness `0.1.0-rc.5`–`0.1.0-rc.6` |
27
+ | Harness | DeepSeek Harness `0.1.0-rc.8` |
28
28
  | Node | `^22.19.0 || >=24.0.0` |
29
29
  | Platforms | All (host + web settings client) |
30
30
  | Model | Any (deny/ask reasons surface through tool results) |
package/README.pt.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Surface | Status |
26
26
  |---|---|
27
- | Harness | DeepSeek Harness `0.1.0-rc.5`–`0.1.0-rc.6` |
27
+ | Harness | DeepSeek Harness `0.1.0-rc.8` |
28
28
  | Node | `^22.19.0 || >=24.0.0` |
29
29
  | Platforms | Todas (host + cliente web de settings) |
30
30
  | Model | Qualquer (razões deny/ask aparecem pelos resultados de ferramenta) |
package/README.zh.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  | Surface | Status |
26
26
  |---|---|
27
- | Harness | DeepSeek Harness `0.1.0-rc.5`–`0.1.0-rc.6` |
27
+ | Harness | DeepSeek Harness `0.1.0-rc.8` |
28
28
  | Node | `^22.19.0 || >=24.0.0` |
29
29
  | Platforms | 全部(host + Web 设置客户端) |
30
30
  | Model | 任意(deny/ask 原因经工具结果呈现) |
package/lib/index.js CHANGED
@@ -3280,14 +3280,13 @@ async function apply(ctx, config) {
3280
3280
  }
3281
3281
  /**
3282
3282
  * Whether a `@deepseek-ai/dsh-session` version line predates the
3283
- * `ignorable` envelope-marker surface: every released rc line through
3284
- * `0.1.0-rc.7` silently drops the marker from `Session.append` options
3285
- * (the stamping fix exists on harness master only — no release carries it
3286
- * yet), so audit events written by those builds land unmarked and break
3287
- * resume on stricter hosts. Extend the bound when a new rc line ships that
3288
- * still drops the marker. Non-matching (later rc, stable, or unresolvable)
3289
- * versions are treated as possibly-marker-aware and verified by the
3290
- * append probe.
3283
+ * `ignorable` envelope-marker surface: the released `0.1.0-rc.1`–`0.1.0-rc.7`
3284
+ * lines silently drop the marker from `Session.append` options, so audit
3285
+ * events written by those builds land unmarked and break resume on
3286
+ * stricter hosts. `0.1.0-rc.8` and later stamp the marker. Extend the
3287
+ * bound if a future rc line regresses. Non-matching (later rc, stable, or
3288
+ * unresolvable) versions are treated as possibly-marker-aware and verified
3289
+ * by the append probe.
3291
3290
  * @param version - the installed peer version string.
3292
3291
  * @returns true for the known-unmarked rc.1–rc.7 lines.
3293
3292
  */
@@ -381,14 +381,13 @@ export declare class PermissionRulesRuntime {
381
381
  export declare function apply(ctx: Context, config: Config): Promise<void>;
382
382
  /**
383
383
  * Whether a `@deepseek-ai/dsh-session` version line predates the
384
- * `ignorable` envelope-marker surface: every released rc line through
385
- * `0.1.0-rc.7` silently drops the marker from `Session.append` options
386
- * (the stamping fix exists on harness master only — no release carries it
387
- * yet), so audit events written by those builds land unmarked and break
388
- * resume on stricter hosts. Extend the bound when a new rc line ships that
389
- * still drops the marker. Non-matching (later rc, stable, or unresolvable)
390
- * versions are treated as possibly-marker-aware and verified by the
391
- * append probe.
384
+ * `ignorable` envelope-marker surface: the released `0.1.0-rc.1`–`0.1.0-rc.7`
385
+ * lines silently drop the marker from `Session.append` options, so audit
386
+ * events written by those builds land unmarked and break resume on
387
+ * stricter hosts. `0.1.0-rc.8` and later stamp the marker. Extend the
388
+ * bound if a future rc line regresses. Non-matching (later rc, stable, or
389
+ * unresolvable) versions are treated as possibly-marker-aware and verified
390
+ * by the append probe.
392
391
  * @param version - the installed peer version string.
393
392
  * @returns true for the known-unmarked rc.1–rc.7 lines.
394
393
  */
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB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I;IAa/B,0EAA0E;IAC1E,OAAO,CAAC,iBAAiB;IAUzB,+EAA+E;IAC/E,OAAO,CAAC,WAAW;IAmCnB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,cAAc;IAetB;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAOxB;;;;;;;OAOG;IACH,OAAO,CAAC,oBAAoB;IAyC5B,qHAAqH;IACrH,OAAO,CAAC,kBAAkB;IAU1B,8FAA8F;IAC9F,OAAO,CAAC,aAAa;IAarB;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAYnB,4DAA4D;IAC5D,kBAAkB,IAAI,MAAM;IAI5B,sEAAsE;IACtE,kBAAkB,IAAI,MAAM;IAI5B;;;;;OAKG;IACH,OAAO,CAAC,cAAc;CAevB;AAED;;;;;GAKG;AACH,wBAAsB,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA4BvE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAI9D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-permission-rules",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
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",
@@ -78,7 +78,8 @@
78
78
  "dshVersions": [
79
79
  "0.1.0-rc.5",
80
80
  "0.1.0-rc.7",
81
- "0.1.0-rc.7"
81
+ "0.1.0-rc.7",
82
+ "0.1.0-rc.8"
82
83
  ]
83
84
  },
84
85
  "capability": {
@@ -121,12 +122,12 @@
121
122
  },
122
123
  "peerDependencies": {
123
124
  "@deepseek-ai/cordis": "^4.0.1",
124
- "@deepseek-ai/dsh-agent": "0.1.0-rc.7",
125
- "@deepseek-ai/dsh-commands": "0.1.0-rc.7",
126
- "@deepseek-ai/dsh-llm": "0.1.0-rc.7",
127
- "@deepseek-ai/dsh-session": "0.1.0-rc.7",
128
- "@deepseek-ai/dsh-tools": "0.1.0-rc.7",
129
- "@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.7",
125
+ "@deepseek-ai/dsh-agent": ">=0.1.0-rc.8 <0.2.0",
126
+ "@deepseek-ai/dsh-commands": ">=0.1.0-rc.8 <0.2.0",
127
+ "@deepseek-ai/dsh-llm": ">=0.1.0-rc.8 <0.2.0",
128
+ "@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
129
+ "@deepseek-ai/dsh-tools": ">=0.1.0-rc.8 <0.2.0",
130
+ "@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.8 <0.2.0",
130
131
  "@deepseek-ai/schemastery": "^3.18.0",
131
132
  "react": "^18.2.0"
132
133
  },
@@ -141,24 +142,24 @@
141
142
  "devDependencies": {
142
143
  "@deepseek-ai/cordis": "^4.0.1",
143
144
  "@deepseek-ai/cordis-plugin-loader": "1.0.2",
144
- "@deepseek-ai/dsh-agent": "0.1.0-rc.7",
145
- "@deepseek-ai/dsh-client-connection": "0.1.0-rc.7",
146
- "@deepseek-ai/dsh-client-locale": "0.1.0-rc.7",
147
- "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.7",
148
- "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.7",
149
- "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.7",
150
- "@deepseek-ai/dsh-commands": "0.1.0-rc.7",
151
- "@deepseek-ai/dsh-llm": "0.1.0-rc.7",
152
- "@deepseek-ai/dsh-session": "0.1.0-rc.7",
153
- "@deepseek-ai/dsh-subagent": "0.1.0-rc.7",
154
- "@deepseek-ai/dsh-tools": "0.1.0-rc.7",
155
- "@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.7",
156
- "@deepseek-ai/dsh-user-approval": "0.1.0-rc.7",
145
+ "@deepseek-ai/dsh-agent": "0.1.0-rc.8",
146
+ "@deepseek-ai/dsh-client-connection": "0.1.0-rc.8",
147
+ "@deepseek-ai/dsh-client-locale": "0.1.0-rc.8",
148
+ "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.8",
149
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.8",
150
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.8",
151
+ "@deepseek-ai/dsh-commands": "0.1.0-rc.8",
152
+ "@deepseek-ai/dsh-llm": "0.1.0-rc.8",
153
+ "@deepseek-ai/dsh-session": "0.1.0-rc.8",
154
+ "@deepseek-ai/dsh-subagent": "0.1.0-rc.8",
155
+ "@deepseek-ai/dsh-tools": "0.1.0-rc.8",
156
+ "@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.8",
157
+ "@deepseek-ai/dsh-user-approval": "0.1.0-rc.8",
157
158
  "@deepseek-ai/schemastery": "^3.18.0",
158
159
  "@eslint/js": "^10.0.1",
159
160
  "@types/node": "^22.19.0",
160
161
  "@vitest/coverage-v8": "^3.2.0",
161
- "dsh-auto-review": "file:vendor/dsh-auto-review-0.5.1.tgz",
162
+ "dsh-auto-review": "file:vendor/dsh-auto-review-0.5.2.tgz",
162
163
  "eslint": "^10.8.1",
163
164
  "globals": "^17.11.0",
164
165
  "react": "18.3.1",
package/src/runtime.ts CHANGED
@@ -1173,14 +1173,13 @@ export async function apply(ctx: Context, config: Config): Promise<void> {
1173
1173
 
1174
1174
  /**
1175
1175
  * Whether a `@deepseek-ai/dsh-session` version line predates the
1176
- * `ignorable` envelope-marker surface: every released rc line through
1177
- * `0.1.0-rc.7` silently drops the marker from `Session.append` options
1178
- * (the stamping fix exists on harness master only — no release carries it
1179
- * yet), so audit events written by those builds land unmarked and break
1180
- * resume on stricter hosts. Extend the bound when a new rc line ships that
1181
- * still drops the marker. Non-matching (later rc, stable, or unresolvable)
1182
- * versions are treated as possibly-marker-aware and verified by the
1183
- * append probe.
1176
+ * `ignorable` envelope-marker surface: the released `0.1.0-rc.1`–`0.1.0-rc.7`
1177
+ * lines silently drop the marker from `Session.append` options, so audit
1178
+ * events written by those builds land unmarked and break resume on
1179
+ * stricter hosts. `0.1.0-rc.8` and later stamp the marker. Extend the
1180
+ * bound if a future rc line regresses. Non-matching (later rc, stable, or
1181
+ * unresolvable) versions are treated as possibly-marker-aware and verified
1182
+ * by the append probe.
1184
1183
  * @param version - the installed peer version string.
1185
1184
  * @returns true for the known-unmarked rc.1–rc.7 lines.
1186
1185
  */