dsh-perm-gate 0.2.1-beta.5 → 2.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.ja.md +10 -1
- package/CHANGELOG.ko.md +9 -1
- package/CHANGELOG.md +10 -1
- package/INSTALL.ja.md +1 -1
- package/INSTALL.ko.md +1 -1
- package/INSTALL.md +1 -1
- package/INSTALL.zh.md +1 -1
- package/README.ja.md +9 -4
- package/README.ko.md +9 -4
- package/README.md +9 -4
- package/README.zh.md +8 -4
- package/package.json +3 -2
package/CHANGELOG.ja.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
形式は [Keep a Changelog](https://keepachangelog.com/ja/1.1.0/) に従い、
|
|
6
6
|
このプロジェクトは [Semantic Versioning](https://semver.org/spec/v2.0.0.html) に準拠します。
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [2.0.0] - 2026-09-11
|
|
9
9
|
|
|
10
10
|
### 修正
|
|
11
11
|
|
|
@@ -24,6 +24,15 @@
|
|
|
24
24
|
|
|
25
25
|
### 変更
|
|
26
26
|
|
|
27
|
+
- **`main` ラインのバージョン系列を `2.x` に変更し、対応する DSH ラインを表すようにしました。**
|
|
28
|
+
`1.x` は DSH `<= 0.1.1` ライン、`2.x` は DSH `0.1.2+` ラインであり、プラグインのバージョンが
|
|
29
|
+
どの DSH 向けかを示します。`2.0.0` が新系列の最初のリリースで、`0.2.x`
|
|
30
|
+
(`0.2.0`、`0.2.1-beta.2`…`beta.5`)はこれに置き換わります。メジャー同士は互いを遮断するため
|
|
31
|
+
(`^1.0.0` は `2.0.0` を解決せず、`^2.0.0` は `1.0.0` を解決しません)、既存の
|
|
32
|
+
`^0.2.1-beta.4` インストール(これも `2.0.0` を解決しません)は明示的に更新する必要があります。
|
|
33
|
+
`engines.dsh` も同じ分界を述べています(こちらは `>=0.1.2-alpha.1 <0.2.0-0`、`legacy` は
|
|
34
|
+
`>=0.1.0-rc.7 <0.1.2-alpha.1`)が、DSH は決して読まないため、古い DSH を `1.x` に留めるのは
|
|
35
|
+
バージョン範囲と dist-tag です。
|
|
27
36
|
- **権限ティアの表示名を全サーフェスで「自动审查」に統一し、アイコンを廃止しました。**
|
|
28
37
|
`cordis.patch.yml` の preset `name:` が中国語の製品名になり、一般設定の既定行・入力欄のピッカー・
|
|
29
38
|
プラグイン設定タブのすべてで同じ表示になります。DSH 0.1.2 はプラグイン提供ティアの `name:` をそのまま
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)을 따르며,
|
|
6
6
|
이 프로젝트는 [Semantic Versioning](https://semver.org/spec/v2.0.0.html)을 준수합니다.
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [2.0.0] - 2026-09-11
|
|
9
9
|
|
|
10
10
|
### 수정
|
|
11
11
|
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
|
|
25
25
|
### 변경
|
|
26
26
|
|
|
27
|
+
- **`main` 라인의 버전 계열을 `2.x`로 바꿔 대응하는 DSH 라인을 나타냅니다.** `1.x`는 DSH
|
|
28
|
+
`<= 0.1.1` 라인, `2.x`는 DSH `0.1.2+` 라인이라 플러그인 버전만 보고 어느 DSH용인지 알 수
|
|
29
|
+
있습니다. `2.0.0`이 새 계열의 첫 릴리스이며 `0.2.x`(`0.2.0`, `0.2.1-beta.2`…`beta.5`)는
|
|
30
|
+
이것으로 대체됩니다. 메이저가 서로를 차단하므로(`^1.0.0`은 `2.0.0`을, `^2.0.0`은 `1.0.0`을
|
|
31
|
+
해석하지 않습니다) 기존 `^0.2.1-beta.4` 설치(역시 `2.0.0`을 해석하지 않습니다)는 명시적으로
|
|
32
|
+
올려야 합니다. `engines.dsh`도 같은 경계를 적어 두지만(여기는
|
|
33
|
+
`>=0.1.2-alpha.1 <0.2.0-0`, `legacy`는 `>=0.1.0-rc.7 <0.1.2-alpha.1`) DSH는 이를 읽지 않으므로
|
|
34
|
+
구버전 DSH를 `1.x`에 묶어 두는 것은 버전 범위와 dist-tag입니다.
|
|
27
35
|
- **권한 티어의 표시 이름을 모든 화면에서 「自动审查」로 통일하고 아이콘을 제거했습니다.**
|
|
28
36
|
`cordis.patch.yml`의 preset `name:`이 중국어 제품명이 되어 일반 설정 기본 행, 입력창 선택기,
|
|
29
37
|
플러그인 설정 탭이 모두 같은 이름을 표시합니다. DSH 0.1.2는 플러그인 티어의 `name:`을 그대로
|
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
|
-
## [
|
|
8
|
+
## [2.0.0] - 2026-09-11
|
|
9
9
|
|
|
10
10
|
### Fixed
|
|
11
11
|
|
|
@@ -25,6 +25,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
25
25
|
|
|
26
26
|
### Changed
|
|
27
27
|
|
|
28
|
+
- **The `main` line's version series is now `2.x`, tracking the DSH line it serves.** `1.x`
|
|
29
|
+
is the DSH `<= 0.1.1` line and `2.x` is the DSH `0.1.2+` line, so a plugin version says
|
|
30
|
+
which DSH it was built for; `2.0.0` is the first release of the new series and the
|
|
31
|
+
`0.2.x` releases (`0.2.0`, `0.2.1-beta.2`…`beta.5`) are superseded by it. The majors
|
|
32
|
+
fence each other — `^1.0.0` does not resolve `2.0.0` and `^2.0.0` does not resolve
|
|
33
|
+
`1.0.0` — so an existing `^0.2.1-beta.4` install (which also does not resolve `2.0.0`)
|
|
34
|
+
must be bumped deliberately. `engines.dsh` states the same split
|
|
35
|
+
(`>=0.1.2-alpha.1 <0.2.0-0` here, `>=0.1.0-rc.7 <0.1.2-alpha.1` on `legacy`), but DSH
|
|
36
|
+
never reads it: the version ranges and dist-tags are what keep an old DSH on `1.x`.
|
|
28
37
|
- **The permission tier is labelled 自动审查 on every surface, with no icon.** The preset's
|
|
29
38
|
`name:` in `cordis.patch.yml` is now the Chinese product string, and the General-settings default
|
|
30
39
|
row, the composer picker, and the plugin's settings tab all show it. DSH 0.1.2 renders a
|
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` バージョン **
|
|
15
|
+
`dsh-perm-gate` バージョン **2.0.0**。判定チェーン、ルールファイル形式、自动审查
|
|
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` 버전 **
|
|
15
|
+
`dsh-perm-gate` 버전 **2.0.0**. 결정 체인, 규칙 파일 형식, 自动审查 티어는
|
|
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 **
|
|
15
|
+
`dsh-perm-gate` version **2.0.0**. Continue with the [README](./README.md) for the
|
|
16
16
|
decision chain, the rules file format and the 自动审查 tier.
|
|
17
17
|
|
|
18
18
|
## Requirements
|
package/INSTALL.zh.md
CHANGED
package/README.ja.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
13
13
|
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
14
14
|
|
|
15
|
-
> **互換性に関する注記:**
|
|
15
|
+
> **互換性に関する注記:** v2.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)を更新した
|
|
@@ -26,8 +26,13 @@
|
|
|
26
26
|
>
|
|
27
27
|
> | DSH バージョン | ブランチ | バージョン | npm タグ |
|
|
28
28
|
> | --- | --- | --- | --- |
|
|
29
|
-
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` |
|
|
30
|
-
> | 0.1.2-alpha.1+(0.1.5-rc.2を含む) | `main` | `
|
|
29
|
+
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` / `@dsh-0.1.1` |
|
|
30
|
+
> | 0.1.2-alpha.1+(0.1.5-rc.2を含む) | `main` | `2.x` | `@latest` / `@2.x` / `@dsh-0.1.2` |
|
|
31
|
+
>
|
|
32
|
+
> バージョン系列は **DSH ライン**を追います(`1.x` = DSH ≤ 0.1.1、`2.x` = DSH 0.1.2+)。
|
|
33
|
+
> メジャー同士が互いを遮断するため、`^1.x` のインストールが `2.x` を解決することは
|
|
34
|
+
> なく、その逆もありません。`engines.dsh` も同じ境界を述べていますが DSH は決して
|
|
35
|
+
> 読まないため、古い DSH を `1.x` に留めるのはバージョン範囲と dist-tag です。
|
|
31
36
|
>
|
|
32
37
|
> `@deepseek-ai/dsh-client-runtime` は `0.1.2-alpha.1` で**削除**されました ——
|
|
33
38
|
> 単なる移動ではありません。`legacy` ラインは引き続きこれを通じて
|
|
@@ -40,7 +45,7 @@
|
|
|
40
45
|
> メソッドであるため、`typeof` プロブで読み取り、欠落時やエラー時には「ポリシー
|
|
41
46
|
> 不明」にフォールバックします。
|
|
42
47
|
|
|
43
|
-
バージョン **
|
|
48
|
+
バージョン **2.0.0** — 変更履歴は [日本語 changelog](./CHANGELOG.ja.md) を参照。
|
|
44
49
|
|
|
45
50
|
DeepSeek Harness 向けの、単一・自己完結・決定論優先・fail-closed な権限ゲートです。
|
|
46
51
|
|
package/README.ko.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
13
13
|
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
14
14
|
|
|
15
|
-
> **호환성 안내:**
|
|
15
|
+
> **호환성 안내:** v2.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를 사용해
|
|
@@ -26,8 +26,13 @@
|
|
|
26
26
|
>
|
|
27
27
|
> | DSH 버전 | 브랜치 | 버전 | npm 태그 |
|
|
28
28
|
> | --- | --- | --- | --- |
|
|
29
|
-
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` |
|
|
30
|
-
> | 0.1.2-alpha.1+ (0.1.5-rc.2 포함) | `main` | `
|
|
29
|
+
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` / `@dsh-0.1.1` |
|
|
30
|
+
> | 0.1.2-alpha.1+ (0.1.5-rc.2 포함) | `main` | `2.x` | `@latest` / `@2.x` / `@dsh-0.1.2` |
|
|
31
|
+
>
|
|
32
|
+
> 버전 계열은 **DSH 라인**을 따릅니다(`1.x` = DSH ≤ 0.1.1, `2.x` = DSH 0.1.2+). 메이저
|
|
33
|
+
> 버전이 서로를 차단하므로 `^1.x` 설치가 `2.x`를 해석하는 일은 없고 그 반대도
|
|
34
|
+
> 마찬가지입니다. `engines.dsh`도 같은 경계를 적어 두지만 DSH는 이를 읽지 않으므로,
|
|
35
|
+
> 구버전 DSH를 `1.x`에 묶어 두는 것은 버전 범위와 dist-tag입니다.
|
|
31
36
|
>
|
|
32
37
|
> `@deepseek-ai/dsh-client-runtime`은 `0.1.2-alpha.1`에서 **제거**되었습니다 —
|
|
33
38
|
> 단순히 이동한 것이 아닙니다. `legacy` 라인은 여전히 이를 통해 `ctx.slots`에
|
|
@@ -38,7 +43,7 @@
|
|
|
38
43
|
> 모두에서 user-approval 서비스의 **개인** 메소드이므로 `typeof` 프로브를 통해
|
|
39
44
|
> 읽으며, 누락되거나 예외 발생 시 "정책_unknown"으로 후퇴합니다.
|
|
40
45
|
|
|
41
|
-
버전 **
|
|
46
|
+
버전 **2.0.0** — 변경 내역은 [한국어 changelog](./CHANGELOG.ko.md)를 참고하세요.
|
|
42
47
|
|
|
43
48
|
DeepSeek Harness용 단일·자족적·결정론 우선·fail-closed 권한 게이트입니다.
|
|
44
49
|
|
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:**
|
|
15
|
+
> **Compatibility note:** v2.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
|
|
@@ -25,8 +25,13 @@
|
|
|
25
25
|
>
|
|
26
26
|
> | DSH version | Branch | Version | npm tag |
|
|
27
27
|
> | --- | --- | --- | --- |
|
|
28
|
-
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` |
|
|
29
|
-
> | 0.1.2-alpha.1+ (incl. 0.1.5-rc.2) | `main` | `
|
|
28
|
+
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` / `@dsh-0.1.1` |
|
|
29
|
+
> | 0.1.2-alpha.1+ (incl. 0.1.5-rc.2) | `main` | `2.x` | `@latest` / `@2.x` / `@dsh-0.1.2` |
|
|
30
|
+
>
|
|
31
|
+
> The series number tracks the **DSH line** (`1.x` = DSH ≤ 0.1.1, `2.x` = DSH 0.1.2+),
|
|
32
|
+
> and the majors fence each other: a `^1.x` install never resolves a `2.x` release and
|
|
33
|
+
> vice versa. `engines.dsh` states the same split but DSH never reads it — the ranges
|
|
34
|
+
> and dist-tags are what hold an old DSH on `1.x`.
|
|
30
35
|
>
|
|
31
36
|
> `@deepseek-ai/dsh-client-runtime` was **removed** at `0.1.2-alpha.1` — it did not
|
|
32
37
|
> merely move. The `legacy` line still reaches `ctx.slots` through it; `main` gets
|
|
@@ -37,7 +42,7 @@
|
|
|
37
42
|
> **private** method of the user-approval service on both, so it is read behind a
|
|
38
43
|
> `typeof` probe and degrades to “policy unknown” when absent or throwing.
|
|
39
44
|
|
|
40
|
-
Version **
|
|
45
|
+
Version **2.0.0** — see the [Changelog](./CHANGELOG.md).
|
|
41
46
|
|
|
42
47
|
A single, self-sufficient, deterministic-first, fail-closed permission gate for DeepSeek Harness.
|
|
43
48
|
|
package/README.zh.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
13
13
|
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
14
14
|
|
|
15
|
-
> **兼容性说明:**
|
|
15
|
+
> **兼容性说明:** v2.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 并重新构建。
|
|
@@ -24,8 +24,12 @@
|
|
|
24
24
|
>
|
|
25
25
|
> | DSH 版本 | 分支 | 版本号 | npm 标签 |
|
|
26
26
|
> | --- | --- | --- | --- |
|
|
27
|
-
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` |
|
|
28
|
-
> | 0.1.2-alpha.1+(含 0.1.5-rc.2) | `main` | `
|
|
27
|
+
> | 0.1.0-rc.7 ~ 0.1.1-rc.x | `legacy` | `1.x` | `@legacy` / `@dsh-0.1.1` |
|
|
28
|
+
> | 0.1.2-alpha.1+(含 0.1.5-rc.2) | `main` | `2.x` | `@latest` / `@2.x` / `@dsh-0.1.2` |
|
|
29
|
+
>
|
|
30
|
+
> 版本序列号跟的是 **DSH 线**(`1.x` = DSH ≤ 0.1.1,`2.x` = DSH 0.1.2+),两条大版本互
|
|
31
|
+
> 相隔离:锁在 `^1.x` 的安装绝不会解析到 `2.x`,反之亦然。`engines.dsh` 表达同样的
|
|
32
|
+
> 分界,但 DSH 从不读取它——真正把旧 DSH 钉在 `1.x` 上的是版本范围与 dist-tag。
|
|
29
33
|
>
|
|
30
34
|
> `@deepseek-ai/dsh-client-runtime` 在 `0.1.2-alpha.1` 中已被**移除**——不仅仅是更名。
|
|
31
35
|
> `legacy` 线仍通过它访问 `ctx.slots`;`main` 从
|
|
@@ -35,7 +39,7 @@
|
|
|
35
39
|
> 线上都是 user-approval 服务的**私有**方法,因此通过 `typeof` 探测读取,缺失
|
|
36
40
|
> 或抛错时降级为「策略未知」。
|
|
37
41
|
|
|
38
|
-
版本 **
|
|
42
|
+
版本 **2.0.0** —— 变更见 [Changelog](./CHANGELOG.md)。
|
|
39
43
|
|
|
40
44
|
一个**单一自足、确定性优先、fail-closed** 的 DeepSeek Harness 权限门插件。
|
|
41
45
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-perm-gate",
|
|
3
|
-
"version": "
|
|
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.",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "DSH permission-gate for the DeepSeek Harness 0.1.2+ line: 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": [
|
|
7
7
|
"lib",
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
"verify:line": "node scripts/verify-line.mjs new",
|
|
93
93
|
"verify:lines": "node scripts/verify-line.mjs both",
|
|
94
94
|
"release:latest": "npm publish --tag latest",
|
|
95
|
+
"release:2x": "npm publish --tag 2.x",
|
|
95
96
|
"release:legacy": "npm publish --tag legacy"
|
|
96
97
|
},
|
|
97
98
|
"license": "MIT",
|