dsh-permission-rules 0.5.2 → 0.5.4
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 +16 -0
- package/README.es.md +1 -1
- package/README.hi.md +1 -1
- package/README.md +2 -1
- package/README.pt.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +17 -17
- package/lib/client.js.map +1 -1
- package/lib/index.js +7 -8
- package/lib/typert.host.js +17 -17
- package/lib/types/runtime.d.ts +7 -8
- package/lib/types/runtime.d.ts.map +1 -1
- package/package.json +26 -24
- package/src/runtime.ts +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to dsh-permission-rules are recorded here, newest first.
|
|
4
4
|
|
|
5
|
+
## v0.5.4 — 2026-08-22
|
|
6
|
+
|
|
7
|
+
### DeepSeek Harness rc.2 compatibility
|
|
8
|
+
|
|
9
|
+
- The dsh peer family moves to `0.1.1-rc.2`: devDependencies pin the exact rc.2 line, peerDependencies keep the `>=0.1.0-rc.8 <0.2.0` range (which already covers `0.1.1-rc.2`), and the workshop compatibility manifest lists `0.1.1-rc.2`. The five-language Harness compatibility row declares the rc.2 line.
|
|
10
|
+
- The sibling `dsh-auto-review` integration tarball is repacked to `vendor/dsh-auto-review-0.5.4.tgz` and the `file:` devDependency updated to match.
|
|
11
|
+
- `pnpm-workspace.yaml` now excludes the whole `@deepseek-ai/*` scope from `minimumReleaseAge`; the compat workflow pins the rc.2 CLI and `dsh-base`/`dsh-headless` bundles.
|
|
12
|
+
- The rc.2 `@deepseek-ai/dsh-*` prereleases resolve from `next` (their `latest` tags are stale), so the fresh transitive peers cannot be hoisted. The workspace drops `nodeLinker: hoisted` (the default isolated linker skips unresolvable peers, as the sibling repo does), and the load-bearing peers are pinned explicitly as devDependencies: `dsh-brand`, `dsh-invariants`, `dsh-session-projection` (sibling tarball peers) and `cordis-plugin-include` (the Loader composition runner).
|
|
13
|
+
|
|
14
|
+
## v0.5.3 — 2026-08-21
|
|
15
|
+
|
|
16
|
+
### DeepSeek Harness rc.8 compatibility
|
|
17
|
+
|
|
18
|
+
- 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.
|
|
19
|
+
- 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.
|
|
20
|
+
|
|
5
21
|
## v0.5.2 — 2026-08-19
|
|
6
22
|
|
|
7
23
|
### Fixed
|
package/README.es.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Surface | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
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.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
29
29
|
| Platforms | सभी (host + वेब settings क्लाइंट) |
|
|
30
30
|
| Model | कोई भी (deny/ask कारण टूल परिणामों के माध्यम से दिखते हैं) |
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 🛡️ dsh-permission-rules
|
|
4
|
+
[](https://gitee.com/perrylink/dsh-permission-rules)
|
|
4
5
|
|
|
5
6
|
**Claude Code-style declarative permission rules for DeepSeek Harness.**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| Surface | Status |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
29
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
29
30
|
| Platforms | All (host + web settings client) |
|
|
30
31
|
| 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.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
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.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
28
|
| Node | `^22.19.0 || >=24.0.0` |
|
|
29
29
|
| Platforms | 全部(host + Web 设置客户端) |
|
|
30
30
|
| Model | 任意(deny/ask 原因经工具结果呈现) |
|
package/lib/client.js
CHANGED
|
@@ -28,7 +28,7 @@ window.__ModuleLoader__.load({
|
|
|
28
28
|
//#endregion
|
|
29
29
|
let react = require("react");
|
|
30
30
|
react = __toESM(react, 1);
|
|
31
|
-
//#region node_modules/zod/v4/core/core.js
|
|
31
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
32
32
|
var _a$1;
|
|
33
33
|
function $constructor(name, initializer, params) {
|
|
34
34
|
function init(inst, def) {
|
|
@@ -87,7 +87,7 @@ window.__ModuleLoader__.load({
|
|
|
87
87
|
return globalConfig;
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
|
-
//#region node_modules/zod/v4/core/util.js
|
|
90
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
91
91
|
function getEnumValues(entries) {
|
|
92
92
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
93
93
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -401,7 +401,7 @@ window.__ModuleLoader__.load({
|
|
|
401
401
|
return { ...iss };
|
|
402
402
|
}
|
|
403
403
|
//#endregion
|
|
404
|
-
//#region node_modules/zod/v4/core/errors.js
|
|
404
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
405
405
|
const initializer$1 = (inst, def) => {
|
|
406
406
|
inst.name = "$ZodError";
|
|
407
407
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -461,7 +461,7 @@ window.__ModuleLoader__.load({
|
|
|
461
461
|
return fieldErrors;
|
|
462
462
|
}
|
|
463
463
|
//#endregion
|
|
464
|
-
//#region node_modules/zod/v4/core/parse.js
|
|
464
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
465
465
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
466
466
|
const ctx = _ctx ? {
|
|
467
467
|
..._ctx,
|
|
@@ -575,7 +575,7 @@ window.__ModuleLoader__.load({
|
|
|
575
575
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
576
576
|
};
|
|
577
577
|
//#endregion
|
|
578
|
-
//#region node_modules/zod/v4/core/regexes.js
|
|
578
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
579
579
|
/**
|
|
580
580
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
581
581
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -640,7 +640,7 @@ window.__ModuleLoader__.load({
|
|
|
640
640
|
const lowercase = /^[^A-Z]*$/;
|
|
641
641
|
const uppercase = /^[^a-z]*$/;
|
|
642
642
|
//#endregion
|
|
643
|
-
//#region node_modules/zod/v4/core/checks.js
|
|
643
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
644
644
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
645
645
|
var _a;
|
|
646
646
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1002,7 +1002,7 @@ window.__ModuleLoader__.load({
|
|
|
1002
1002
|
};
|
|
1003
1003
|
});
|
|
1004
1004
|
//#endregion
|
|
1005
|
-
//#region node_modules/zod/v4/core/doc.js
|
|
1005
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
1006
1006
|
var Doc = class {
|
|
1007
1007
|
constructor(args = []) {
|
|
1008
1008
|
this.content = [];
|
|
@@ -1033,14 +1033,14 @@ window.__ModuleLoader__.load({
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
//#endregion
|
|
1036
|
-
//#region node_modules/zod/v4/core/versions.js
|
|
1036
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
1037
1037
|
const version = {
|
|
1038
1038
|
major: 4,
|
|
1039
1039
|
minor: 4,
|
|
1040
1040
|
patch: 3
|
|
1041
1041
|
};
|
|
1042
1042
|
//#endregion
|
|
1043
|
-
//#region node_modules/zod/v4/core/schemas.js
|
|
1043
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
1044
1044
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1045
1045
|
var _a;
|
|
1046
1046
|
inst ?? (inst = {});
|
|
@@ -2177,7 +2177,7 @@ window.__ModuleLoader__.load({
|
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
//#endregion
|
|
2180
|
-
//#region node_modules/zod/v4/core/registries.js
|
|
2180
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
2181
2181
|
var _a;
|
|
2182
2182
|
var $ZodRegistry = class {
|
|
2183
2183
|
constructor() {
|
|
@@ -2224,7 +2224,7 @@ window.__ModuleLoader__.load({
|
|
|
2224
2224
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2225
2225
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2226
2226
|
//#endregion
|
|
2227
|
-
//#region node_modules/zod/v4/core/api.js
|
|
2227
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
2228
2228
|
// @__NO_SIDE_EFFECTS__
|
|
2229
2229
|
function _string(Class, params) {
|
|
2230
2230
|
return new Class({
|
|
@@ -2736,7 +2736,7 @@ window.__ModuleLoader__.load({
|
|
|
2736
2736
|
return ch;
|
|
2737
2737
|
}
|
|
2738
2738
|
//#endregion
|
|
2739
|
-
//#region node_modules/zod/v4/core/to-json-schema.js
|
|
2739
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
2740
2740
|
function initializeContext(params) {
|
|
2741
2741
|
let target = params?.target ?? "draft-2020-12";
|
|
2742
2742
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3031,7 +3031,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3031
3031
|
return finalize(ctx, schema);
|
|
3032
3032
|
};
|
|
3033
3033
|
//#endregion
|
|
3034
|
-
//#region node_modules/zod/v4/core/json-schema-processors.js
|
|
3034
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
3035
3035
|
const formatMap = {
|
|
3036
3036
|
guid: "uuid",
|
|
3037
3037
|
url: "uri",
|
|
@@ -3270,7 +3270,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3270
3270
|
seen.ref = def.innerType;
|
|
3271
3271
|
};
|
|
3272
3272
|
//#endregion
|
|
3273
|
-
//#region node_modules/zod/v4/classic/iso.js
|
|
3273
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
3274
3274
|
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
3275
3275
|
$ZodISODateTime.init(inst, def);
|
|
3276
3276
|
ZodStringFormat.init(inst, def);
|
|
@@ -3300,7 +3300,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3300
3300
|
return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
|
|
3301
3301
|
}
|
|
3302
3302
|
//#endregion
|
|
3303
|
-
//#region node_modules/zod/v4/classic/errors.js
|
|
3303
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
3304
3304
|
const initializer = (inst, issues) => {
|
|
3305
3305
|
$ZodError.init(inst, issues);
|
|
3306
3306
|
inst.name = "ZodError";
|
|
@@ -3322,7 +3322,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3322
3322
|
};
|
|
3323
3323
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, { Parent: Error });
|
|
3324
3324
|
//#endregion
|
|
3325
|
-
//#region node_modules/zod/v4/classic/parse.js
|
|
3325
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
3326
3326
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
3327
3327
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
3328
3328
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -3336,7 +3336,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3336
3336
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3337
3337
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3338
3338
|
//#endregion
|
|
3339
|
-
//#region node_modules/zod/v4/classic/schemas.js
|
|
3339
|
+
//#region node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
3340
3340
|
const _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
3341
3341
|
function _installLazyMethods(inst, group, methods) {
|
|
3342
3342
|
const proto = Object.getPrototypeOf(inst);
|