dsh-perm-gate 0.2.1-beta.4 → 1.0.0

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,7 +5,7 @@ All notable changes to this project will be 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
- ## [0.2.1-beta.4] - 2026-09-11
8
+ ## [Unreleased]
9
9
 
10
10
  ### Added
11
11
 
@@ -41,13 +41,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
41
 
42
42
  - DSH compatibility now ships as **two long-lived branches**, each with its own version series,
43
43
  `engines.dsh`, and npm dist-tag: `main` / `0.2.x` / `>=0.1.2-alpha.1 <0.2.0-0` / `latest`, and
44
- `legacy` / `1.x` / `>=0.1.0-rc.7 <0.1.2-alpha.1` / `legacy`. This branch is `main`. See
45
- `RELEASING.md` for the branch layout and the cherry-pick flow.
46
- - On this line `ctx.slots` is declared by `@deepseek-ai/dsh-client-ui-renderer/client` — from
47
- `0.1.2-alpha.1` on, `@deepseek-ai/dsh-client-runtime` is gone — so the client entry imports it.
48
- - Client devDependency floors raised from `^0.1.0-rc.7` to `^0.1.5-rc.2`, and
49
- `@deepseek-ai/dsh-client-ui-renderer` added. The old floor meant the build could only ever
50
- resolve the 0.1.0-rc.8 package set, so this line was never compiled against.
44
+ `legacy` / `1.x` / `>=0.1.0-rc.7 <0.1.2-alpha.1` / `legacy`. **This branch is `legacy`**; the
45
+ `1.x` series starts here. See `RELEASING.md` for the branch layout and the cherry-pick flow.
46
+ - On this line `@deepseek-ai/dsh-client-runtime` still ships and carries `ctx.slots` onto
47
+ `Context`, so the client entry's `@deepseek-ai/dsh-client-ui-renderer/client` import declares
48
+ nothing new here — it exists so one source serves both lines.
49
+ - Client devDependencies floor at `^0.1.1-rc.2`, the newest release of this line.
51
50
  - `npm run verify:line` (`scripts/verify-line.mjs`) installs this branch's line packages with
52
51
  `npm install --no-save` and runs typecheck + tests + build against them, so a build always
53
52
  compiles against the packages the branch ships for. `npm run verify:lines` is an opt-in drift
package/INSTALL.ja.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- `dsh-perm-gate` バージョン **0.2.1-beta.3**。判定チェーン、ルールファイル形式、Permissive
15
+ `dsh-perm-gate` バージョン **1.0.0**。判定チェーン、ルールファイル形式、Permissive
16
16
  ティアについては [日本語 README](./README.ja.md) を参照してください。
17
17
 
18
18
  ## 必要条件
package/INSTALL.ko.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- `dsh-perm-gate` 버전 **0.2.1-beta.3**. 결정 체인, 규칙 파일 형식, Permissive 티어는
15
+ `dsh-perm-gate` 버전 **1.0.0**. 결정 체인, 규칙 파일 형식, Permissive 티어는
16
16
  [한국어 README](./README.ko.md)를 참고하세요.
17
17
 
18
18
  ## 요구 사항
package/INSTALL.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- `dsh-perm-gate` version **0.2.1-beta.3**. Continue with the [README](./README.md) for the
15
+ `dsh-perm-gate` version **1.0.0**. Continue with the [README](./README.md) for the
16
16
  decision chain, the rules file format and the Permissive tier.
17
17
 
18
18
  ## Requirements
package/INSTALL.zh.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- `dsh-perm-gate` 版本 **0.2.1-beta.3**。裁决链、规则文件格式与 Permissive 档位请见
15
+ `dsh-perm-gate` 版本 **1.0.0**。裁决链、规则文件格式与 Permissive 档位请见
16
16
  [中文 README](./README.zh.md)。
17
17
 
18
18
  ## 前置条件
package/README.ja.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- > **互換性に関する注記:** v0.2.1-beta.3 は `ja` / `ko` 辞書を同梱しますが、公式 DSH の
15
+ > **互換性に関する注記:** v1.0.0 は `ja` / `ko` 辞書を同梱しますが、公式 DSH の
16
16
  > `LocaleRuntime` が公開するのは `zh` / `en` のみです(`LOCALE_IDS = ["zh", "en"]`)。
17
17
  > 素の DSH で `ja` / `ko` を選択すると `locale "<id>" is not registered` になります。
18
18
  > `LOCALE_IDS`(locale-settings.ts)と `LOCALES` ラベル(client/index.ts)を更新した
@@ -40,7 +40,7 @@
40
40
  > メソッドであるため、`typeof` プロブで読み取り、欠落時やエラー時には「ポリシー
41
41
  > 不明」にフォールバックします。
42
42
 
43
- バージョン **0.2.1-beta.3** — 変更履歴は [日本語 changelog](./CHANGELOG.ja.md) を参照。
43
+ バージョン **1.0.0** — 変更履歴は [日本語 changelog](./CHANGELOG.ja.md) を参照。
44
44
 
45
45
  DeepSeek Harness 向けの、単一・自己完結・決定論優先・fail-closed な権限ゲートです。
46
46
 
package/README.ko.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- > **호환성 안내:** v0.2.1-beta.3은 `ja` / `ko` 사전을 포함하지만, 공식 DSH의 `LocaleRuntime`은
15
+ > **호환성 안내:** v1.0.0은 `ja` / `ko` 사전을 포함하지만, 공식 DSH의 `LocaleRuntime`은
16
16
  > `zh` / `en`만 노출합니다(`LOCALE_IDS = ["zh", "en"]`). 기본 DSH에서 `ja` / `ko`를
17
17
  > 선택하면 `locale "<id>" is not registered` 오류가 발생합니다. `LOCALE_IDS`
18
18
  > (locale-settings.ts)와 `LOCALES` 라벨(client/index.ts)을 갱신한 DSH fork를 사용해
@@ -38,7 +38,7 @@
38
38
  > 모두에서 user-approval 서비스의 **개인** 메소드이므로 `typeof` 프로브를 통해
39
39
  > 읽으며, 누락되거나 예외 발생 시 "정책_unknown"으로 후퇴합니다.
40
40
 
41
- 버전 **0.2.1-beta.3** — 변경 내역은 [한국어 changelog](./CHANGELOG.ko.md)를 참고하세요.
41
+ 버전 **1.0.0** — 변경 내역은 [한국어 changelog](./CHANGELOG.ko.md)를 참고하세요.
42
42
 
43
43
  DeepSeek Harness용 단일·자족적·결정론 우선·fail-closed 권한 게이트입니다.
44
44
 
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- > **Compatibility note:** v0.2.1-beta.3 ships `ja` / `ko` dictionaries, but official DSH exposes
15
+ > **Compatibility note:** v1.0.0 ships `ja` / `ko` dictionaries, but official DSH exposes
16
16
  > only `zh` / `en` through `LocaleRuntime` (`LOCALE_IDS = ["zh", "en"]`). On stock DSH,
17
17
  > selecting `ja` / `ko` fails with `locale "<id>" is not registered`. Use a DSH fork that
18
18
  > updates `LOCALE_IDS` (locale-settings.ts) and `LOCALES` labels (client/index.ts), then
@@ -37,7 +37,7 @@
37
37
  > **private** method of the user-approval service on both, so it is read behind a
38
38
  > `typeof` probe and degrades to “policy unknown” when absent or throwing.
39
39
 
40
- Version **0.2.1-beta.3** — see the [Changelog](./CHANGELOG.md).
40
+ Version **1.0.0** — see the [Changelog](./CHANGELOG.md).
41
41
 
42
42
  A single, self-sufficient, deterministic-first, fail-closed permission gate for DeepSeek Harness.
43
43
 
package/README.zh.md CHANGED
@@ -12,7 +12,7 @@
12
12
  - [日本語 changelog](./CHANGELOG.ja.md)
13
13
  - [한국어 changelog](./CHANGELOG.ko.md)
14
14
 
15
- > **兼容性说明:** v0.2.1-beta.3 自带 `ja` / `ko` 字典,但官方 DSH 的 `LocaleRuntime`
15
+ > **兼容性说明:** v1.0.0 自带 `ja` / `ko` 字典,但官方 DSH 的 `LocaleRuntime`
16
16
  > 只暴露 `zh` / `en`(`LOCALE_IDS = ["zh", "en"]`)。在原版 DSH 上选择 `ja` / `ko`
17
17
  > 会报 `locale "<id>" is not registered`。请使用更新了 `LOCALE_IDS`
18
18
  > (locale-settings.ts)与 `LOCALES` 标签(client/index.ts)的 DSH fork 并重新构建。
@@ -35,7 +35,7 @@
35
35
  > 线上都是 user-approval 服务的**私有**方法,因此通过 `typeof` 探测读取,缺失
36
36
  > 或抛错时降级为「策略未知」。
37
37
 
38
- 版本 **0.2.1-beta.3** —— 变更见 [Changelog](./CHANGELOG.md)。
38
+ 版本 **1.0.0** —— 变更见 [Changelog](./CHANGELOG.md)。
39
39
 
40
40
  一个**单一自足、确定性优先、fail-closed** 的 DeepSeek Harness 权限门插件。
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-perm-gate",
3
- "version": "0.2.1-beta.4",
3
+ "version": "1.0.0",
4
4
  "description": "DSH permission-gate: a single self-sufficient, deterministic-first, fail-closed gate covering P0 hard-deny -> P1 session grant -> P2 static rule (allow/deny) chain -> P3 optional LLM semantic classifier -> P4 ask, with command whitelist/blacklist.",
5
5
  "type": "module",
6
6
  "files": [
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=20",
61
- "dsh": ">=0.1.2-alpha.1 <0.2.0-0"
61
+ "dsh": ">=0.1.0-rc.7 <0.1.2-alpha.1"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@deepseek-ai/cordis": "^4.0.1"
@@ -69,10 +69,10 @@
69
69
  },
70
70
  "devDependencies": {
71
71
  "@deepseek-ai/cordis": "^4.0.1",
72
- "@deepseek-ai/dsh-client-locale": "^0.1.5-rc.2",
73
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2",
74
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2",
75
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2",
72
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
73
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.1-rc.2",
74
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2",
75
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2",
76
76
  "@eslint/js": "^10.0.1",
77
77
  "@types/node": "^22.0.0",
78
78
  "@types/react": "~18.3.1",
@@ -89,7 +89,7 @@
89
89
  "typecheck": "tsc --noEmit && tsc -p tsconfig.client.json --noEmit",
90
90
  "lint": "eslint src test scripts tsdown.config.ts eslint.config.mjs",
91
91
  "test": "vitest run",
92
- "verify:line": "node scripts/verify-line.mjs new",
92
+ "verify:line": "node scripts/verify-line.mjs legacy",
93
93
  "verify:lines": "node scripts/verify-line.mjs both",
94
94
  "release:latest": "npm publish --tag latest",
95
95
  "release:legacy": "npm publish --tag legacy"