dsh-thinking-levels 4.4.1 → 4.4.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.ja.md +44 -31
- package/CHANGELOG.ko.md +44 -31
- package/CHANGELOG.md +37 -21
- package/dsh.plugin.json +1 -1
- package/lib/client.js +111 -54
- package/lib/client.js.map +1 -1
- package/lib/takeover-sync.d.ts +11 -3
- package/lib/takeover-sync.js +13 -5
- package/package.json +1 -1
package/CHANGELOG.ja.md
CHANGED
|
@@ -11,22 +11,35 @@
|
|
|
11
11
|
- [Список изменений на русском](./CHANGELOG.ru.md)
|
|
12
12
|
- [Changelog en español](./CHANGELOG.es.md)
|
|
13
13
|
|
|
14
|
-
## [4.4.
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
## [4.4.3] — 2026-10-21(思考は全プロトコルで設定可能 — issue #6)
|
|
15
|
+
|
|
16
|
+
- 能力カード:思考チェックボックスが openai-completions 以外(Responses / Anthropic)でも再び選択可能に。書き込むのは protocol 非依存の `reasoningEfforts` で、ホスト llm-pi-ai が `reasoning: true` + `thinkingLevelMap` に解決し、pi-ai がプロトコルごとにネイティブ変換します(エフォート選択の前提)。
|
|
17
|
+
- 非 completions の思考宣言に completions 専用の `thinkingFormat` を同梱しなくなりました(モデル階層への書き込みは providers 全体の拒否を招くため、qwen 形式の自動補完はスキップ)。`off` は実値(`none`)を保つため、Off が「未対応」扱いで消えることはありません。
|
|
18
|
+
- `thinkingFormat` / 支持 think effort は従来どおり openai-completions 限定(実際に completions 専用の互換フィールド)。カードの注記もその旨に修正。
|
|
19
|
+
- ホスト側の互換同期:明示的な非 completions `api` を「カスタム openai-completions ゲートウェイ」と判定しないように(baseURL 判定はプロトコル未指定時のみ)。
|
|
20
|
+
- テスト 168/168 グリーン。
|
|
21
|
+
|
|
22
|
+
## [4.4.2] — 2026-10-19(カードのトグル・可視説明 — ユーザーフィードバック)
|
|
23
|
+
|
|
24
|
+
- 設定カードのチェックボックス(有効化/引継ぎマスター/レベル下げ/レベル上げ/モデルUI引き継ぎ)を楽観的な横置きピルトグルに変更(クリックで即時反転、書込拒否時はロールバック)。
|
|
25
|
+
- モデルUI引き継ぎ行の下に常時表示の説明を追加(従来はツールチップのみ):ON で何が置き換わり、OFF で何が残り、auto マスクはどちらでも提供され続けること。
|
|
26
|
+
|
|
27
|
+
## [4.4.1] — 2026-10-19(takeoverUi 座席ウォッチドッグ — デスクトップ実測フィードバック)
|
|
28
|
+
|
|
29
|
+
- 修正:`takeoverUi` がリロード不要で即時反映。4.4.0 はシート inject 時に設定ミラーを一度だけ読んでいたため、実機では設定チャネルのバインド/ミラー折り込みよりモデルシート呼出が先に走り、スイッチ ON でもパネルが着席しなかった(公式ポップアップのまま、コンテキストチップも消失)。着席判定はウォッチドッグ化され、設定ウェイストのバインドと各設定変更のたびに再評価されます。
|
|
30
|
+
- カード:takeoverUi 行は楽観的な横置きピルトグルに(クリックで即反転、書込拒否時はロールバック)。
|
|
31
|
+
|
|
32
|
+
## [4.4.0] — 2026-10-19(issue まとめ対応:#2 #3 #4 #5)
|
|
33
|
+
|
|
34
|
+
### 修正
|
|
35
|
+
- 能力カード(#2):`api` が openai-completions 以外のプロバイダーでは、Thinking / Supports-effort / thinkingFormat のコントロールを説明付きで無効化。無効な書き込みによる `card.writeError` を解消(ホストの Responses 互換ゲートはこれらのモデルレベルフィールドを提供しません)。
|
|
36
|
+
- 読み込みコスト(#4):`resolveModel` 広告を冪等化(WeakSet ガード)。従来は `llm/adapters-updated` ごとにラッパーが積まれ、解決ごとに全量 settings 読み出しが発生していました。readout は世代キャッシュ化し、設定コミットで無効化。takeover ミラーの再同期は関連 namespace のコミットのみに実行。
|
|
37
|
+
- 档位 chip(#5):レベルが `auto` のとき chip は **Auto** を維持し、そのステップの解決値は `→ <level>` の二次表示に降格(表示が上書きされる問題の解消)。
|
|
38
|
+
|
|
39
|
+
### 追加
|
|
40
|
+
- `takeoverUi` 設定(既定 OFF、#3/#4):公式モデルポップアップを維持(検索・読み込みはネイティブ、`auto` はサーバー側広告で引き続き提供)。OFF の間は公式モデルのコンテキスト編集は設定カードに。ON で ModelPanel 引き継ぎを復元。変更後はリロードが必要。
|
|
41
|
+
- ModelPanel ポップアップの検索(#3):4 モデル超で表示、公式の規則に準拠。
|
|
42
|
+
|
|
30
43
|
## [4.3.1] — 2026-10-17(ホスト列挙の更新:0.2.1-rc.1 を追加)
|
|
31
44
|
|
|
32
45
|
### Fixed
|
|
@@ -35,21 +48,21 @@
|
|
|
35
48
|
- devDependencies の `@deepseek-ai/dsh-client-*` を 0.2.0-rc.1 → 0.2.1-rc.1 に更新し、ビルドと全テスト(140 件)を対象ラインで検証。
|
|
36
49
|
- README の互換記述(en/zh/ja/ko/de/es/fr/it/ru)を列挙に同期。動作変更なし。
|
|
37
50
|
|
|
38
|
-
## [4.3.0] — 2026-10-17
|
|
39
|
-
|
|
40
|
-
### 追加
|
|
41
|
-
- 価格カタログ(src/price-catalog.ts):29 モデル x 地域。DeepSeek V4.1-Flash / V4-Flash / V4-Pro は公式のピーク/オフピーク2段(北京 09-12・14-18 がピーク、2026-08-17 施行)、GLM / Kimi / Qwen / Doubao / MiniMax / Ernie は一律価格。各項目は百万トークンあたりの3価格(非キャッシュ入力 / キャッシュヒット入力 / 出力)を保持し、asOf と出典を明記。海外(USD)枠は構造上予約するも公式確認まで意図的に空(数値の捏造なし)。
|
|
42
|
-
- defaultPricing 設定(cn / global / custom / off、既定 off):カタログ外モデルは Flash 価格で估算せず「未計価」と表示。
|
|
43
|
-
- 2026 国務院祝日/振替修正表(39 エントリ、dsh-session-guard と同源):振替出勤の週末は平日としてピーク判定、法定祝日は終日オフピーク。表外年は週末のみの劣化動作。
|
|
44
|
-
|
|
45
|
-
### 変更
|
|
46
|
-
- プロジェクション stateVersion 1 -> 2:usage サンプルごとに確定時の計価レシートを state に永続化、同一 step 置換は記録値を減算(费率混在再計算と負値を排除)、会話/ターン集計は通貨別バケット。アップグレード直後に旧セッションは現行カタログで再折りたたみされ総額が一度変動、以降の設定変更は新規サンプルのみ影响。
|
|
47
|
-
- 請求ポップオーバー:通貨別記号(¥ / $、不明は ISO コード)、flat/-null の正直な表示、「<model> で計価」はカタログ名から、混合通貨会話は合計せず通貨別行。
|
|
48
|
-
|
|
49
|
-
### 修正
|
|
50
|
-
- settings.describe() の形状正規化(進程内配列 vs RPC エンベロープ {namespaces:[...]}):想定外形状は例外を投げず欠扱い(静默冻结クラスを解消)。
|
|
51
|
-
- プロジェクション登録を try/catch で保護:請求单元的失败不再毒化插件整体或冷会话历史加载。
|
|
52
|
-
|
|
51
|
+
## [4.3.0] — 2026-10-17
|
|
52
|
+
|
|
53
|
+
### 追加
|
|
54
|
+
- 価格カタログ(src/price-catalog.ts):29 モデル x 地域。DeepSeek V4.1-Flash / V4-Flash / V4-Pro は公式のピーク/オフピーク2段(北京 09-12・14-18 がピーク、2026-08-17 施行)、GLM / Kimi / Qwen / Doubao / MiniMax / Ernie は一律価格。各項目は百万トークンあたりの3価格(非キャッシュ入力 / キャッシュヒット入力 / 出力)を保持し、asOf と出典を明記。海外(USD)枠は構造上予約するも公式確認まで意図的に空(数値の捏造なし)。
|
|
55
|
+
- defaultPricing 設定(cn / global / custom / off、既定 off):カタログ外モデルは Flash 価格で估算せず「未計価」と表示。
|
|
56
|
+
- 2026 国務院祝日/振替修正表(39 エントリ、dsh-session-guard と同源):振替出勤の週末は平日としてピーク判定、法定祝日は終日オフピーク。表外年は週末のみの劣化動作。
|
|
57
|
+
|
|
58
|
+
### 変更
|
|
59
|
+
- プロジェクション stateVersion 1 -> 2:usage サンプルごとに確定時の計価レシートを state に永続化、同一 step 置換は記録値を減算(费率混在再計算と負値を排除)、会話/ターン集計は通貨別バケット。アップグレード直後に旧セッションは現行カタログで再折りたたみされ総額が一度変動、以降の設定変更は新規サンプルのみ影响。
|
|
60
|
+
- 請求ポップオーバー:通貨別記号(¥ / $、不明は ISO コード)、flat/-null の正直な表示、「<model> で計価」はカタログ名から、混合通貨会話は合計せず通貨別行。
|
|
61
|
+
|
|
62
|
+
### 修正
|
|
63
|
+
- settings.describe() の形状正規化(進程内配列 vs RPC エンベロープ {namespaces:[...]}):想定外形状は例外を投げず欠扱い(静默冻结クラスを解消)。
|
|
64
|
+
- プロジェクション登録を try/catch で保護:請求单元的失败不再毒化插件整体或冷会话历史加载。
|
|
65
|
+
|
|
53
66
|
## [4.2.1] — 2026-10-12
|
|
54
67
|
|
|
55
68
|
### 変更 — stable への昇格(4.2.0-beta.29 からコード変更なし)
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
`dsh-thinking-levels`의 주요 변경 사항을 기록합니다.
|
|
4
4
|
|
|
5
|
+
## [4.4.3] — 2026-10-21 (사고는 모든 프로토콜에서 설정 가능 — issue #6)
|
|
6
|
+
|
|
7
|
+
- 능력 카드: 사고 체크박스가 openai-completions 외(Responses / Anthropic)에서도 다시 선택 가능합니다. 기록하는 값은 protocol 중립적인 `reasoningEfforts` 이며, 호스트 llm-pi-ai 가 `reasoning: true` + `thinkingLevelMap` 으로 해석하고 pi-ai 가 프로토콜별로 네이티브 변환합니다(에포트 선택의 전제).
|
|
8
|
+
- 비 completions 사고 선언에 completions 전용 `thinkingFormat` 을 더 이상 함께 기록하지 않습니다(모델 계층 기록은 providers 전체 거부를 유발하므로 qwen 형식 자동 채움 생략). `off` 는 실제 값(`none`)을 유지해 Off 가 "미지원"으로 사라지지 않습니다.
|
|
9
|
+
- `thinkingFormat` / 支持 think effort 는 계속 openai-completions 전용(실제로 completions 전용 호환 필드). 카드 안내 문구도 그에 맞게 수정.
|
|
10
|
+
- 호스트 측 호환 동기화: 명시적인 비 completions `api` 를 커스텀 openai-completions 게이트웨이로 판정하지 않음(baseURL 판정은 프로토콜 미지정 시에만).
|
|
11
|
+
- 테스트 168/168 통과.
|
|
12
|
+
|
|
5
13
|
- [English changelog](./CHANGELOG.md)
|
|
6
14
|
- [日本語 changelog](./CHANGELOG.ja.md)
|
|
7
15
|
- [한국어 changelog](./CHANGELOG.ko.md)
|
|
@@ -11,22 +19,27 @@
|
|
|
11
19
|
- [Список изменений на русском](./CHANGELOG.ru.md)
|
|
12
20
|
- [Changelog en español](./CHANGELOG.es.md)
|
|
13
21
|
|
|
14
|
-
## [4.4.
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
## [4.4.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
###
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
|
|
22
|
+
## [4.4.2] — 2026-10-19(카드 토글·가시 설명 — 사용자 피드백)
|
|
23
|
+
|
|
24
|
+
- 설정 카드의 체크박스(활성화/인수 마스터/강등 허용/승격 허용/모델 UI 인수)를 낙관적 횡형 알약 토글로 변경 — 클릭 즉시 반전, 쓰기 거부 시 롤백.
|
|
25
|
+
- 모델 UI 인수 행 아래에 상시 표시 설명 추가(기존엔 툴팁만): ON이 무엇을 대체하고 OFF가 무엇을 유지하며 auto 마스크는 양쪽 모두 계속 제공됨.
|
|
26
|
+
|
|
27
|
+
## [4.4.1] — 2026-10-19(takeoverUi 시트 감시 — 데스크톱 실측 피드백)
|
|
28
|
+
|
|
29
|
+
- 수정: `takeoverUi` 즉시 반영(새로고침 불필요). 4.4.0은 시트 inject 시 설정 미러를 1회만 읽어, 실제 호스트에서 설정 바인딩/미러 접힘보다 모델 시트 콜백이 먼저 실행되면 ON이어도 착석하지 않았다. 이제 웨이스트 바인딩과 모든 설정 변경 시 재평가하는 감시 방식으로 전환.
|
|
30
|
+
- 카드: takeoverUi 줄을 낙관적 횡형 알약 토글로 변경.
|
|
31
|
+
|
|
32
|
+
## [4.4.0] — 2026-10-19(issue 일괄 처리: #2 #3 #4 #5)
|
|
33
|
+
|
|
34
|
+
### 수정
|
|
35
|
+
- 기능 카드(#2): `api`가 openai-completions이 아닌 제공자에서는 Thinking / Supports-effort / thinkingFormat 컨트롤을 안내 문구와 함께 비활성화 — 잘못된 쓰기로 인한 `card.writeError` 제거(호스트 Responses 호환 게이트는 이 모델 필드를 제공하지 않음).
|
|
36
|
+
- 로딩 비용(#4): `resolveModel` 광고를 멱등화(WeakSet 가드). 기존에는 `llm/adapters-updated`마다 래퍼가 중첩되어 해석마다 전체 settings 읽기가 발생. readout 세대 캐시화, 설정 커밋 시 무효화, takeover 미러 재동기는 관련 namespace에서만 실행.
|
|
37
|
+
- 단계 chip(#5): `auto` 선택 시 chip은 **Auto**를 유지하고 해당 스텝의 해석 값은 `→ <level>` 보조 표기로 격하.
|
|
38
|
+
|
|
39
|
+
### 추가
|
|
40
|
+
- `takeoverUi` 설정(기본 OFF, #3/#4): 공식 모델 팝업 유지(검색·로딩은 네이티브, `auto`는 서버측 광고로 계속 제공). OFF일 때 공식 모델 컨텍스트 편집은 설정 카드로. ON이면 ModelPanel 인수 복원. 변경 후 새로고침 필요.
|
|
41
|
+
- ModelPanel 팝업 검색(#3): 4개 모델 초과 시 표시, 공식 규칙과 동일.
|
|
42
|
+
|
|
30
43
|
## [4.3.1] — 2026-10-17(호스트 열거 갱신: 0.2.1-rc.1 추가)
|
|
31
44
|
|
|
32
45
|
### Fixed
|
|
@@ -35,21 +48,21 @@
|
|
|
35
48
|
- devDependencies `@deepseek-ai/dsh-client-*`를 0.2.0-rc.1 → 0.2.1-rc.1로 전환, 빌드·전체 테스트(140건) 대상 라인에서 검증.
|
|
36
49
|
- README 호환 서술(en/zh/ja/ko/de/es/fr/it/ru)을 열거와 동기화. 동작 변경 없음.
|
|
37
50
|
|
|
38
|
-
## [4.3.0] — 2026-10-17
|
|
39
|
-
|
|
40
|
-
### 추가
|
|
41
|
-
- 가격 카탈로그(src/price-catalog.ts): 29개 모델 x 지역 — DeepSeek V4.1-Flash / V4-Flash / V4-Pro는 공식 봉우/곡선 2단(베이징 09-12, 14-18 봉우리; 2026-08-17 시행), GLM / Kimi / Qwen / Doubao / MiniMax / Ernie는 평일 가격. 각 항목은 백만 토큰당 3개 슬롯(비캐시 입력 / 캐시 히트 입력 / 출력)과 asOf + 출처 표기를 가짐. 해외(USD) 항목은 구조만 확보, 공식 페이지 검증 전까지 의도적 비움(날조 없음).
|
|
42
|
-
- defaultPricing 설정(cn / global / custom / off, 기본 off): 카탈로그 밖 모델은 더 이상 Flash 가격으로 추정하지 않고 "미과금"으로 표시.
|
|
43
|
-
- 2026 국무원 공휴/보근 수정표(39항목, dsh-session-guard 와 동일 출처): 보근 주말은 평일처럼 봉우리의 대상, 법정 공휴는 종일 곡선. 표 밖 연도는 주말 규칙으로 축퇴.
|
|
44
|
-
|
|
45
|
-
### 변경
|
|
46
|
-
- 프로젝션 stateVersion 1 -> 2: 사용 샘플에 절입 시점 계산 전표를 영속화, 동일 단계 교체는 기록값 차감(혼합 요율 재계산·음수 제거), 합계는 통화별 버킷. 업그레이드 후 옛 세션은 현재 카탈로그로 재절입되어 총액이 한 번 변동, 이후 설정 변경은 신규 샘플에만 반영.
|
|
47
|
-
- 과금 팝오버: 통화별 기호(¥ / $, 미지는 ISO 코드), flat/null 정직한 표시, "모댔 기반 과금", 혼통화 세션은 합산 대신 통화별 행.
|
|
48
|
-
|
|
49
|
-
### 수정
|
|
50
|
-
- settings.describe() 모양 정규화(프로세스 내 배열 vs RPC {namespaces:[...]} 봉투): 이상 모양은 예외 대신 결측 처리(조용한 동결 classe 해소).
|
|
51
|
-
- 프로젝션 등록 try/catch 보호: 과금 단위 실패가 플러그인 전체/콜드 세션 히스토리를 오염시키지 않음.
|
|
52
|
-
|
|
51
|
+
## [4.3.0] — 2026-10-17
|
|
52
|
+
|
|
53
|
+
### 추가
|
|
54
|
+
- 가격 카탈로그(src/price-catalog.ts): 29개 모델 x 지역 — DeepSeek V4.1-Flash / V4-Flash / V4-Pro는 공식 봉우/곡선 2단(베이징 09-12, 14-18 봉우리; 2026-08-17 시행), GLM / Kimi / Qwen / Doubao / MiniMax / Ernie는 평일 가격. 각 항목은 백만 토큰당 3개 슬롯(비캐시 입력 / 캐시 히트 입력 / 출력)과 asOf + 출처 표기를 가짐. 해외(USD) 항목은 구조만 확보, 공식 페이지 검증 전까지 의도적 비움(날조 없음).
|
|
55
|
+
- defaultPricing 설정(cn / global / custom / off, 기본 off): 카탈로그 밖 모델은 더 이상 Flash 가격으로 추정하지 않고 "미과금"으로 표시.
|
|
56
|
+
- 2026 국무원 공휴/보근 수정표(39항목, dsh-session-guard 와 동일 출처): 보근 주말은 평일처럼 봉우리의 대상, 법정 공휴는 종일 곡선. 표 밖 연도는 주말 규칙으로 축퇴.
|
|
57
|
+
|
|
58
|
+
### 변경
|
|
59
|
+
- 프로젝션 stateVersion 1 -> 2: 사용 샘플에 절입 시점 계산 전표를 영속화, 동일 단계 교체는 기록값 차감(혼합 요율 재계산·음수 제거), 합계는 통화별 버킷. 업그레이드 후 옛 세션은 현재 카탈로그로 재절입되어 총액이 한 번 변동, 이후 설정 변경은 신규 샘플에만 반영.
|
|
60
|
+
- 과금 팝오버: 통화별 기호(¥ / $, 미지는 ISO 코드), flat/null 정직한 표시, "모댔 기반 과금", 혼통화 세션은 합산 대신 통화별 행.
|
|
61
|
+
|
|
62
|
+
### 수정
|
|
63
|
+
- settings.describe() 모양 정규화(프로세스 내 배열 vs RPC {namespaces:[...]} 봉투): 이상 모양은 예외 대신 결측 처리(조용한 동결 classe 해소).
|
|
64
|
+
- 프로젝션 등록 try/catch 보호: 과금 단위 실패가 플러그인 전체/콜드 세션 히스토리를 오염시키지 않음.
|
|
65
|
+
|
|
53
66
|
## [4.2.1] — 2026-10-12
|
|
54
67
|
|
|
55
68
|
### 변경 — 안정 버전 승격 (4.2.0-beta.29 이후 코드 변경 없음)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
|
|
3
|
-
## [4.4.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
## 4.
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
2
|
+
|
|
3
|
+
## [4.4.3] — 2026-10-21 (thinking stays configurable on every protocol — issue #6)
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Capability card: the 思考 (thinking) checkbox is selectable again on every wire protocol, not only openai-completions. It writes the protocol-neutral `reasoningEfforts` (host llm-pi-ai → `reasoning: true` + `thinkingLevelMap`, which pi-ai maps natively per protocol), so the prerequisite the effort selector needs is back on Responses/Anthropic routes too.
|
|
7
|
+
- A non-completions thinking declaration no longer carries the completions-only `thinkingFormat` along: the qwen format autofill is skipped there (a model-level write of it made the host reject the WHOLE providers payload), and `off` keeps a real wire token (`none`) so the Off level stays selectable instead of being marked unsupported by pi-ai.
|
|
8
|
+
- `thinkingFormat` / 支持 think effort remain gated to openai-completions — those two ARE completions-only compat fields — and the card note now says exactly that instead of claiming thinking itself is unconfigurable.
|
|
9
|
+
- Host-side compat sync: an explicitly non-completions `api` is no longer treated as a custom openai-completions gateway (the baseURL heuristic applies only when no protocol is named), so the auto-sync cannot write completions-only compat into a Responses/Anthropic route.
|
|
10
|
+
|
|
11
|
+
### Tests
|
|
12
|
+
- 168/168: new `writeThinkingRow` protocol matrix (completions / responses / anthropic), the 4.4.x alias, and the sync gateway guard.
|
|
13
|
+
|
|
14
|
+
## [4.4.2] — 2026-10-19 (card toggles, visible explainer — user feedback)
|
|
15
|
+
|
|
16
|
+
- The settings-card checkboxes (启用 / 接管主控 / 允许降档 / 允许升档 / 模型界面接管) are now optimistic horizontal pill toggles — click flips instantly, a refused write rolls back.
|
|
17
|
+
- The 模型界面接管 row gained a VISIBLE explainer under the row (previously tooltip-only): what ON replaces, what OFF keeps, and that the auto mask still arrives either way.
|
|
18
|
+
|
|
19
|
+
## [4.4.1] — 2026-10-19 (takeoverUi seat watchdog — desktop field report)
|
|
20
|
+
|
|
21
|
+
- Fixed: `takeoverUi` now applies live, no reload. The 4.4.0 gate read the settings mirror once at seat-inject time; on the real desktop host the model-seat callback can fire BEFORE the settings channel binds or the mirror folds, so with the switch on the panel never seated (and the official popup stayed with no context chips). Seating is now a watchdog re-evaluated whenever the settings waist binds or any settings change lands: flipping the switch seats the ModelPanel — flipping back returns the shipped ModelSelect — immediately.
|
|
22
|
+
- Card: the takeoverUi row is an optimistic horizontal pill toggle (flips on click, rolls back on a refused write).
|
|
23
|
+
|
|
24
|
+
## [4.4.0] — 2026-10-19 (issue batch: #2 #3 #4 #5)
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
- Capability card (#2): providers whose `api` is not `openai-completions` (openai-responses family, anthropic-messages …) now grey out the Thinking / Supports-effort / thinkingFormat controls with an explanatory note instead of failing the whole providers write with a generic `card.writeError` — the host's Responses compat gate never offers those model-level fields.
|
|
28
|
+
- Load cost (#4): the `resolveModel` advertisement is idempotent again — repeated `llm/adapters-updated` used to STACK wrappers, each replaying a full settings readout (O(models × wrappers) on the model page). The readout is generation-cached (invalidated on settings commits) and the takeover mirror re-check only runs for namespaces that can move the judgment. Note: the 4.3.0 projection stateVersion bump keeps a ONE-TIME history re-fold on the first load after upgrading.
|
|
29
|
+
- Effort chip (#5): with the level set to `auto` the panel chip keeps showing **Auto** and demotes the step's resolved level to a secondary `→ <level>` hint, instead of being overwritten by the scheduler's wire value.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
- `takeoverUi` setting (default OFF, #3/#4): the composer keeps the official model popup — native search and loading, and the `auto` mask still arrives through the server-side advertisement; official-model context editing lives on the settings card while it is OFF. Flip it ON to restore the ModelPanel takeover. Reload the page after changing.
|
|
33
|
+
- ModelPanel popup search (#3): shown past four models, mirroring the shipped selector's rule.
|
|
34
|
+
|
|
35
|
+
## 4.3.3 (2026-10-18)
|
|
36
|
+
|
|
37
|
+
- 计价目录化上线:price-catalog 41 条(国内 30 CNY 峰谷/平价 + 海外 11 USD:Claude 4 官方页一手、GPT 4/Gemini 3 Copilot 计费文档×公告交叉核实),注入型号按目录实价入账、目录外走 estimate 典型价兜底并标「未校准·仅供参考」(免费档调用=按标准价折算的花费/白嫖额度感知)。
|
|
38
|
+
- 凭证入账 stateVersion 2→3;设置卡目录外定价五档选择器(9 语);CATALOG_VERSION 1→2;golden 150/150 绿。
|
|
23
39
|
|
|
24
40
|
## 4.3.2 (2026-10-18)
|
|
25
41
|
|
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-external/dsh-thinking-levels",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.3",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"description": "thinking-level (reasoning_effort) control — auto-adjust per tool round, with optional manual lock and per-tool timing telemetry.",
|
|
6
6
|
"engines": {
|