dsh-thinking-levels 3.4.1 → 4.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 +22 -0
- package/CHANGELOG.ko.md +22 -0
- package/CHANGELOG.md +22 -0
- package/INSTALL.ja.md +176 -164
- package/INSTALL.ko.md +176 -164
- package/INSTALL.md +8 -7
- package/INSTALL.zh.md +177 -176
- package/LICENSE +21 -21
- package/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +5 -4
- package/README.zh.md +2 -2
- package/cordis.patch.yml +3 -3
- package/dsh.plugin.json +2 -2
- package/lib/client.js +254 -138
- package/lib/client.js.map +1 -1
- package/package.json +132 -131
package/CHANGELOG.ja.md
CHANGED
|
@@ -8,6 +8,28 @@
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [4.0.0] — 2026-09-29
|
|
12
|
+
|
|
13
|
+
### 変更 — DSH 0.2.0-rc 互換
|
|
14
|
+
|
|
15
|
+
- **peer ゲートを 0.2.0-rc セグメントに再設定。** 7 件すべての `@deepseek-ai/dsh-*` peer 宣言と
|
|
16
|
+
`engines.dsh` を `>=0.2.0-rc.1 <0.2.1-0` に変更(旧 `>=0.1.7-rc.1 <0.1.8-0` から)。0.1.7-rc.1〜
|
|
17
|
+
<0.2.0 のホストは 3.x ライン(npm dist-tag `dsh-0.1.7`、3.4.3)を、0.1.7-rc.1 未満のホストは
|
|
18
|
+
3.0.2 を使用してください。
|
|
19
|
+
- **devDependencies を 0.2.0 ラインへ移行** — `dsh-client-locale` / `dsh-client-ui-renderer` /
|
|
20
|
+
`dsh-client-ui-settings` / `dsh-client-ui-slots` / `dsh-client-store` → `0.2.0-rc.1`、および
|
|
21
|
+
`@deepseek-ai/cordis` → `^4.0.4`(0.2.0-rc.1 クライアントパッケージの `~4.0.4` peer 要件)——
|
|
22
|
+
これにより typecheck / テスト / ビルドが実際の 0.2.0-rc.1 型に対して実行されます。
|
|
23
|
+
- **メタデータ整合:** `dsh.plugin.json` の version と `engines.dsh` を 4.0.0 と 0.2.0-rc セグメントに
|
|
24
|
+
同期;`publishConfig.tag` → `dsh-0.2.0` と新規 `release:4x` スクリプトで、公開が `dsh-0.1.7` /
|
|
25
|
+
`latest` タグを上書きしないことを保証;両 lockfile(`package-lock.json` / `pnpm-lock.yaml`)を
|
|
26
|
+
0.2.0 依存ツリーに対して再生成。
|
|
27
|
+
- **host 側・client 側ともコード変更なし。** 本プラグインが import するパッケージ
|
|
28
|
+
(`dsh-client-locale`、`dsh-client-store`、`dsh-client-ui-renderer`、`dsh-client-ui-settings`、
|
|
29
|
+
`dsh-client-ui-slots`)は 0.1.7-rc.2 → 0.2.0-rc.1 間でパッケージバージョンのみ変動;
|
|
30
|
+
`settings` / `llm` サービス面と `llm-pi-ai` アダプタも未変更。全スイート
|
|
31
|
+
(lint / typecheck / 71 テスト / ビルド)が 0.2.0-rc.1 に対して無変更で通過。
|
|
32
|
+
|
|
11
33
|
### 修正 — プラグイン設定の二重表示 — 2.0.0-beta.4
|
|
12
34
|
|
|
13
35
|
- **`settings.plugins.tab` 登録を削除。** 0.1.5 互換作業では DSH 0.1.5 が `settings.plugin.item` スロットを廃止したと想定していましたが、リリース済みの 0.1.5-rc.2(および 0.1.6-alpha.1)の `ui-settings-plugins` は内蔵の設定タブの子として同スロットを維持しています。両スロットが宣言されているため 2 つの登録が同時に発火し、設定 → プラグインに項目カードと専用タブの 2 つが表示されていました。項目カードだけで全サポート線をカバーできるため、タブ登録(および `ctx.locale.bind` のラベル thunk)を削除しました。
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -8,6 +8,28 @@
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [4.0.0] — 2026-09-29
|
|
12
|
+
|
|
13
|
+
### 변경 — DSH 0.2.0-rc 호환
|
|
14
|
+
|
|
15
|
+
- **peer 게이트를 0.2.0-rc 세그먼트로 재설정.** 7개 모든 `@deepseek-ai/dsh-*` peer 선언과
|
|
16
|
+
`engines.dsh`를 `>=0.2.0-rc.1 <0.2.1-0`으로 변경(기존 `>=0.1.7-rc.1 <0.1.8-0`에서). 0.1.7-rc.1~
|
|
17
|
+
<0.2.0 호스트는 3.x 라인(npm dist-tag `dsh-0.1.7`, 3.4.3)을, 0.1.7-rc.1 미만 호스트는 3.0.2를
|
|
18
|
+
사용하세요.
|
|
19
|
+
- **devDependencies를 0.2.0 라인으로 이동** — `dsh-client-locale` / `dsh-client-ui-renderer` /
|
|
20
|
+
`dsh-client-ui-settings` / `dsh-client-ui-slots` / `dsh-client-store` → `0.2.0-rc.1`, 그리고
|
|
21
|
+
`@deepseek-ai/cordis` → `^4.0.4`(0.2.0-rc.1 클라이언트 패키지의 `~4.0.4` peer 요구)——이로써
|
|
22
|
+
typecheck / 테스트 / 빌드가 실제 0.2.0-rc.1 타입으로 실행됩니다.
|
|
23
|
+
- **메타데이터 정합성:** `dsh.plugin.json`의 version과 `engines.dsh`를 4.0.0 및 0.2.0-rc 세그먼트로
|
|
24
|
+
동기화; `publishConfig.tag` → `dsh-0.2.0` 및 신규 `release:4x` 스크립트로 게시가 `dsh-0.1.7` /
|
|
25
|
+
`latest` 태그를 덮어쓰지 않음을 보장; 두 lockfile(`package-lock.json` / `pnpm-lock.yaml`)을
|
|
26
|
+
0.2.0 의존성 트리로 재생성.
|
|
27
|
+
- **host 측·client 측 코드 변경 없음.** 본 플러그인이 import하는 패키지(`dsh-client-locale`,
|
|
28
|
+
`dsh-client-store`, `dsh-client-ui-renderer`, `dsh-client-ui-settings`, `dsh-client-ui-slots`)는
|
|
29
|
+
0.1.7-rc.2 → 0.2.0-rc.1 사이에서 패키지 버전만 변동; `settings` / `llm` 서비스 면과 `llm-pi-ai`
|
|
30
|
+
어댑터도 미변경. 전체 스위트(lint / typecheck / 71 테스트 / 빌드)가 0.2.0-rc.1 대상으로 무변경
|
|
31
|
+
통과.
|
|
32
|
+
|
|
11
33
|
### 수정 — 플러그인 설정 중복 표시 — 2.0.0-beta.4
|
|
12
34
|
|
|
13
35
|
- **`settings.plugins.tab` 등록 제거.** 0.1.5 호환 작업에서 DSH 0.1.5가 `settings.plugin.item` 슬롯을 폐지했다고 가정했지만, 릴리스된 0.1.5-rc.2(및 0.1.6-alpha.1)의 `ui-settings-plugins`는 내장 구성 탭의 자식으로 해당 슬롯을 유지합니다. 두 슬롯이 모두 선언되어 두 등록이 동시에 발화했고, 설정 → 플러그인에 항목 카드와 전용 탭이 함께 표시되었습니다. 항목 카드만으로 전체 지원 라인을 커버할 수 있으므로 탭 등록(및 `ctx.locale.bind` 라벨 thunk)을 제거했습니다.
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,28 @@ All notable changes to `dsh-thinking-levels` are documented here.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [4.0.0] — 2026-09-29
|
|
12
|
+
|
|
13
|
+
### Changed — DSH 0.2.0-rc compatibility
|
|
14
|
+
|
|
15
|
+
- **Peer gate retargeted to the 0.2.0-rc segment.** All seven `@deepseek-ai/dsh-*` peer
|
|
16
|
+
declarations and `engines.dsh` now read `>=0.2.0-rc.1 <0.2.1-0` (replacing
|
|
17
|
+
`>=0.1.7-rc.1 <0.1.8-0`). Hosts on 0.1.7-rc.1 to < 0.2.0 stay on the 3.x line
|
|
18
|
+
(npm dist-tag `dsh-0.1.7`, 3.4.3); hosts below 0.1.7-rc.1 stay on 3.0.2.
|
|
19
|
+
- **devDependencies moved to the 0.2.0 line** — `dsh-client-locale` / `dsh-client-ui-renderer` /
|
|
20
|
+
`dsh-client-ui-settings` / `dsh-client-ui-slots` / `dsh-client-store` → `0.2.0-rc.1`, and
|
|
21
|
+
`@deepseek-ai/cordis` → `^4.0.4` (required by the 0.2.0-rc.1 client packages' `~4.0.4` peer) —
|
|
22
|
+
so typecheck / tests / build run against the real 0.2.0-rc.1 types.
|
|
23
|
+
- **Metadata hygiene:** `dsh.plugin.json` version and `engines.dsh` synced to 4.0.0 and the
|
|
24
|
+
0.2.0-rc segment; `publishConfig.tag` → `dsh-0.2.0` with a new `release:4x` script so a
|
|
25
|
+
publish can never overwrite the `dsh-0.1.7` / `latest` tags; both lockfiles
|
|
26
|
+
(`package-lock.json` / `pnpm-lock.yaml`) regenerated against the 0.2.0 dependency tree.
|
|
27
|
+
- **No host-half or client-half code changes.** The packages this plugin imports
|
|
28
|
+
(`dsh-client-locale`, `dsh-client-store`, `dsh-client-ui-renderer`, `dsh-client-ui-settings`,
|
|
29
|
+
`dsh-client-ui-slots`) change only their package version between 0.1.7-rc.2 and 0.2.0-rc.1;
|
|
30
|
+
the `settings` / `llm` service faces and the `llm-pi-ai` adapter are unchanged too. The full
|
|
31
|
+
suite (lint / typecheck / 71 tests / build) passes unchanged against 0.2.0-rc.1.
|
|
32
|
+
|
|
11
33
|
### Fixed — duplicate Plugins settings entry — 2.0.0-beta.4
|
|
12
34
|
|
|
13
35
|
- **Removed the `settings.plugins.tab` registration.** The 0.1.5 compat work assumed DSH 0.1.5
|
package/INSTALL.ja.md
CHANGED
|
@@ -1,164 +1,176 @@
|
|
|
1
|
-
# インストールガイド(公式 DSH CLI)
|
|
2
|
-
|
|
3
|
-
このガイドは公式 `dsh plugin` コマンドのみを使用します。このコマンドは依存関係を profile にインストールし、`dsh.profile.bundles` を同期します。普通の `npm install`、profile での直接 `pnpm add`、profile マニフェストの手動編集で代用しないでください。
|
|
4
|
-
|
|
5
|
-
- [日本語インストールガイド](./INSTALL.ja.md)
|
|
6
|
-
- [English installation guide](./INSTALL.md)
|
|
7
|
-
- [中文安装指南](./INSTALL.zh.md)
|
|
8
|
-
- [한국어 설치 안내](./INSTALL.ko.md)
|
|
9
|
-
- [日本語 README](./README.ja.md)
|
|
10
|
-
- [English README](./README.md)
|
|
11
|
-
- [中文 README](./README.zh.md)
|
|
12
|
-
- [한국어 README](./README.ko.md)
|
|
13
|
-
- [Changelog](./CHANGELOG.md)
|
|
14
|
-
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
15
|
-
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
16
|
-
|
|
17
|
-
このガイドのプレースホルダー:
|
|
18
|
-
|
|
19
|
-
- `<profile>`:変更する DSH profile。通常は `web`;
|
|
20
|
-
- `dsh-thinking-levels`:npm パッケージ名とランタイムプラグイン ID;
|
|
21
|
-
- `thinking-levels`:Cordis 構成エントリと設定 Slot ID。
|
|
22
|
-
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
dsh
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
##
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
1
|
+
# インストールガイド(公式 DSH CLI)
|
|
2
|
+
|
|
3
|
+
このガイドは公式 `dsh plugin` コマンドのみを使用します。このコマンドは依存関係を profile にインストールし、`dsh.profile.bundles` を同期します。普通の `npm install`、profile での直接 `pnpm add`、profile マニフェストの手動編集で代用しないでください。
|
|
4
|
+
|
|
5
|
+
- [日本語インストールガイド](./INSTALL.ja.md)
|
|
6
|
+
- [English installation guide](./INSTALL.md)
|
|
7
|
+
- [中文安装指南](./INSTALL.zh.md)
|
|
8
|
+
- [한국어 설치 안내](./INSTALL.ko.md)
|
|
9
|
+
- [日本語 README](./README.ja.md)
|
|
10
|
+
- [English README](./README.md)
|
|
11
|
+
- [中文 README](./README.zh.md)
|
|
12
|
+
- [한국어 README](./README.ko.md)
|
|
13
|
+
- [Changelog](./CHANGELOG.md)
|
|
14
|
+
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
15
|
+
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
16
|
+
|
|
17
|
+
このガイドのプレースホルダー:
|
|
18
|
+
|
|
19
|
+
- `<profile>`:変更する DSH profile。通常は `web`;
|
|
20
|
+
- `dsh-thinking-levels`:npm パッケージ名とランタイムプラグイン ID;
|
|
21
|
+
- `thinking-levels`:Cordis 構成エントリと設定 Slot ID。
|
|
22
|
+
|
|
23
|
+
> **バージョン要件 —— DSH v0.2.0-rc.1 以降のみ対応。**
|
|
24
|
+
>
|
|
25
|
+
> インストール前にバージョンを確認してください(`dsh --version`)。
|
|
26
|
+
>
|
|
27
|
+
> | DSH バージョン | 操作 |
|
|
28
|
+
> | --- | --- |
|
|
29
|
+
> | ≥ 0.2.0-rc.1 | 本リリース(4.0.x)をインストール。 |
|
|
30
|
+
> | ≥ 0.1.7-rc.1 〜 < 0.2.0 | 3.x ラインをインストール:`dsh plugin --profile <profile> add dsh-thinking-levels@dsh-0.1.7 -w`(3.4.3)。 |
|
|
31
|
+
> | < 0.1.7-rc.1 | 旧プラグインライン(3.0.2)を使用。**DSH 0.1.7+ で旧プラグインビルドを実行しないでください——プラグインをアップグレードしてください。** |
|
|
32
|
+
>
|
|
33
|
+
> 境界は `0.1.7-rc.1` です:このバージョンで命令的な設定登録(`settings.register` / `installSettingsSection`)とクライアント `settingsScope` サービスが削除されました。以降、3.x ライン(0.1.7 ホスト)も本リリース(0.2.0-rc ホスト)も同一の宣言的設定表面(`.volatile()` スキーマフィールド + `configForms`)を対象とします。
|
|
34
|
+
|
|
35
|
+
> 旧い DSH は npm の dist-tag で対応ラインをインストールします:`dsh plugin add dsh-thinking-levels@dsh-0.1.7`(DSH 0.1.7–0.1.x、プラグイン 3.4.3)、`...@dsh-0.1.5`(DSH 0.1.5)、`...@dsh-0.1.2`(DSH 0.1.2)、`...@compat`(DSH 0.1.0–0.1.1)。≤ 0.6.0 の旧 0.x 版は dsh peer 宣言を持たないためインストールしないでください。
|
|
36
|
+
|
|
37
|
+
## 0. 前提と profile の確認
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
echo "DSH_HOME=${DSH_HOME:-$HOME/.dsh}"
|
|
41
|
+
dsh --version
|
|
42
|
+
ls "${DSH_HOME:-$HOME/.dsh}/profiles"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
実行中の DSH プロセスが使う profile を使用してください。`web` が一般的ですが、実際の `--profile` 引数が優先されます。
|
|
46
|
+
|
|
47
|
+
## 1. 公式インストール
|
|
48
|
+
|
|
49
|
+
最新版をインストール:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
dsh plugin --profile <profile> add dsh-thinking-levels -w
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
(profile が pnpm workspace root の場合は `-w` が必要です。`web` はそうです。)
|
|
56
|
+
|
|
57
|
+
現在のリリースを明示的にインストール:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
dsh plugin --profile <profile> add dsh-thinking-levels@4.0.0 -w
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
公式 CLI は profile の依存関係、ロックファイル、`dsh.profile.bundles` を自動更新します。手動で YAML を追加しないでください。
|
|
64
|
+
|
|
65
|
+
### サプライチェーン冷却期間
|
|
66
|
+
|
|
67
|
+
dsh ランタイムは pnpm 11 を使用し、`minimumReleaseAge` ポリシーが新規公開版を
|
|
68
|
+
`ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION` でブロックすることがあります。`~/.dsh/profiles/web/pnpm-workspace.yaml` の
|
|
69
|
+
`minimumReleaseAgeExclude` にバージョンを追加してください:
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
minimumReleaseAgeExclude:
|
|
73
|
+
- dsh-thinking-levels@4.0.0
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## 2. アップグレード
|
|
77
|
+
|
|
78
|
+
registry の最新版へアップグレード:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
dsh plugin --profile <profile> update dsh-thinking-levels -w
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
ホスト側の変更は DSH を再起動、ブラウザ側は Web ページをリフレッシュしてください。
|
|
85
|
+
|
|
86
|
+
## 3. ローカルパス / link: 登録(代替)
|
|
87
|
+
|
|
88
|
+
開発用やオフラインインストールでは、ローカルチェックアウトから登録できます:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# ~/.dsh/profiles/web/package.json dependencies:
|
|
92
|
+
# "dsh-thinking-levels": "link:<dsh-thinking-levels の絶対パス>"
|
|
93
|
+
# ~/.dsh/profiles/web/cordis.patch.yml:
|
|
94
|
+
# - insert:
|
|
95
|
+
# - id: thinking-levels
|
|
96
|
+
# name: dsh-thinking-levels
|
|
97
|
+
cd ~/.dsh/profiles/web && pnpm install && dsh web
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
または公式 CLI でローカルパスを追加(ネットワーク不要):
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
dsh plugin --profile <profile> add /dsh-thinking-levels の絶対パス/ -w
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## 4. インストールの検証
|
|
107
|
+
|
|
108
|
+
依存関係とインストール済みバージョンを確認:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
grep -n "dsh-thinking-levels" \
|
|
112
|
+
"${DSH_HOME:-$HOME/.dsh}/profiles/<profile>/package.json"
|
|
113
|
+
node -p "require('${DSH_HOME:-$HOME/.dsh}/profiles/<profile>/node_modules/dsh-thinking-levels/package.json').version"
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
このリリースではバージョンは `4.0.0` でなければなりません。
|
|
117
|
+
|
|
118
|
+
公式構成を確認:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
dsh --profile <profile> --dump-default-config
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
以下が含まれている必要があります:
|
|
125
|
+
|
|
126
|
+
```yaml
|
|
127
|
+
- id: thinking-levels
|
|
128
|
+
name: dsh-thinking-levels
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## 5. 設定フォームの検証
|
|
132
|
+
|
|
133
|
+
DSH を再起動し、Web ページをリフレッシュしてください。「設定 → プラグイン」を開き、**dsh-thinking-levels** のエントリを探します——DSH 0.1.7 からフォームはホストがプラグイン宣言の `.volatile()` スキーマフィールドから自動生成します(カスタムクライアントカードはもうありません)。
|
|
134
|
+
|
|
135
|
+
1. フォームには有効トグル、レベルセレクター(8 つの標準レベル + `auto`)、スケジューラートグル(`allowDowngrade` / `allowUpgrade`)が表示されます。
|
|
136
|
+
2. 確定した変更は次のモデルリクエストから有効、再起動不要(ライブ volatile 設定)。
|
|
137
|
+
3. モデル別能力エディター(ゲートウェイ送信値、llm-pi-ai)は廃止されたカードとともに削除されました——llm-pi-ai のモデル能力は公式の「モデル」設定面から編集してください。
|
|
138
|
+
|
|
139
|
+
## 日本語と韓国語のサポート状況
|
|
140
|
+
|
|
141
|
+
プラグインには `ja` と `ko` の辞書が含まれていますが、現在の公式 DSH リリースは `LocaleRuntime` 経由で `zh` と `en` のみを提供します。純正 DSH で日本語または韓国語を選択すると `locale "<id>" is not registered` で失敗します。
|
|
142
|
+
|
|
143
|
+
公式サポートが来る前に使うには、DSH フォークを保守して更新してください:
|
|
144
|
+
|
|
145
|
+
- `packages/client/locale/src/locale-settings.ts`:`LOCALE_IDS` に `ja` と `ko` を追加(Host プリファレンススキーマはこのリストから派生)。
|
|
146
|
+
- `packages/client/locale/src/client/index.ts`:`LOCALES` に `{ id: 'ja', label: '日本語' }` と `{ id: 'ko', label: '한국어' }` を追加。
|
|
147
|
+
- 対応するコア辞書とテストを追加し、フォーク版を再ビルドして実行。
|
|
148
|
+
|
|
149
|
+
プラグイン単体では DSH のグローバル locale 一覧を拡張できません。フォークのドキュメントにあるビルドと公式 profile コマンドを使用してください。profile マニフェストの手動編集はしないでください。
|
|
150
|
+
|
|
151
|
+
## 6. トラブルシューティング
|
|
152
|
+
|
|
153
|
+
| 症状 | 対処 |
|
|
154
|
+
| --- | --- |
|
|
155
|
+
| `dsh` が見つからない | 公式 DSH CLI をインストール/有効化。普通の npm/pnpm コマンドで profile インストールを再現しないでください。 |
|
|
156
|
+
| `ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION` | profile の `pnpm-workspace.yaml` の `minimumReleaseAgeExclude` にバージョンを追加。 |
|
|
157
|
+
| プラグインが「無効/未マウント」でエラーなし | profile 構成を確認。ホストは `@deepseek-ai/dsh-settings` に値依存してはいけません(本プラグインはしていません)。 |
|
|
158
|
+
| client エントリが `__DSH_BOOT__` にない | `exports["./client"]` が存在し、host fiber が確立されていることを確認。 |
|
|
159
|
+
| モデルセレクターに `Auto` がない | adapter `resolveModel` のラップが効いているか確認(`llm/adapters-updated` で再ラップ)。 |
|
|
160
|
+
| 設定フォームの書き込み失敗 | プラグインスキーマに拒否された。宣言された `.volatile()` フィールド型に合わせる。 |
|
|
161
|
+
| Subagent が `UNSUPPORTED_REASONING_EFFORT` | 対象モデルがレベルを宣言していない。対応レベルを使うかプロバイダー既定に戻す。 |
|
|
162
|
+
| ブラウザが古い bundle を表示 | アップグレード後にハードリフレッシュ(Ctrl+Shift+R)。 |
|
|
163
|
+
|
|
164
|
+
## 7. アンインストール
|
|
165
|
+
|
|
166
|
+
公式コマンドを使用:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
dsh plugin --profile <profile> remove dsh-thinking-levels -w
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
構成から bundle が消えたことを確認:
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
dsh --profile <profile> --dump-default-config
|
|
176
|
+
```
|