dsh-thinking-levels 4.3.3 → 4.4.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 CHANGED
@@ -11,6 +11,17 @@
11
11
  - [Список изменений на русском](./CHANGELOG.ru.md)
12
12
  - [Changelog en español](./CHANGELOG.es.md)
13
13
 
14
+ ## [4.4.0] — 2026-10-19(issue まとめ対応:#2 #3 #4 #5)
15
+
16
+ ### 修正
17
+ - 能力カード(#2):`api` が openai-completions 以外のプロバイダーでは、Thinking / Supports-effort / thinkingFormat のコントロールを説明付きで無効化。無効な書き込みによる `card.writeError` を解消(ホストの Responses 互換ゲートはこれらのモデルレベルフィールドを提供しません)。
18
+ - 読み込みコスト(#4):`resolveModel` 広告を冪等化(WeakSet ガード)。従来は `llm/adapters-updated` ごとにラッパーが積まれ、解決ごとに全量 settings 読み出しが発生していました。readout は世代キャッシュ化し、設定コミットで無効化。takeover ミラーの再同期は関連 namespace のコミットのみに実行。
19
+ - 档位 chip(#5):レベルが `auto` のとき chip は **Auto** を維持し、そのステップの解決値は `→ <level>` の二次表示に降格(表示が上書きされる問題の解消)。
20
+
21
+ ### 追加
22
+ - `takeoverUi` 設定(既定 OFF、#3/#4):公式モデルポップアップを維持(検索・読み込みはネイティブ、`auto` はサーバー側広告で引き続き提供)。OFF の間は公式モデルのコンテキスト編集は設定カードに。ON で ModelPanel 引き継ぎを復元。変更後はリロードが必要。
23
+ - ModelPanel ポップアップの検索(#3):4 モデル超で表示、公式の規則に準拠。
24
+
14
25
  ## [4.3.1] — 2026-10-17(ホスト列挙の更新:0.2.1-rc.1 を追加)
15
26
 
16
27
  ### Fixed
package/CHANGELOG.ko.md CHANGED
@@ -11,6 +11,17 @@
11
11
  - [Список изменений на русском](./CHANGELOG.ru.md)
12
12
  - [Changelog en español](./CHANGELOG.es.md)
13
13
 
14
+ ## [4.4.0] — 2026-10-19(issue 일괄 처리: #2 #3 #4 #5)
15
+
16
+ ### 수정
17
+ - 기능 카드(#2): `api`가 openai-completions이 아닌 제공자에서는 Thinking / Supports-effort / thinkingFormat 컨트롤을 안내 문구와 함께 비활성화 — 잘못된 쓰기로 인한 `card.writeError` 제거(호스트 Responses 호환 게이트는 이 모델 필드를 제공하지 않음).
18
+ - 로딩 비용(#4): `resolveModel` 광고를 멱등화(WeakSet 가드). 기존에는 `llm/adapters-updated`마다 래퍼가 중첩되어 해석마다 전체 settings 읽기가 발생. readout 세대 캐시화, 설정 커밋 시 무효화, takeover 미러 재동기는 관련 namespace에서만 실행.
19
+ - 단계 chip(#5): `auto` 선택 시 chip은 **Auto**를 유지하고 해당 스텝의 해석 값은 `→ <level>` 보조 표기로 격하.
20
+
21
+ ### 추가
22
+ - `takeoverUi` 설정(기본 OFF, #3/#4): 공식 모델 팝업 유지(검색·로딩은 네이티브, `auto`는 서버측 광고로 계속 제공). OFF일 때 공식 모델 컨텍스트 편집은 설정 카드로. ON이면 ModelPanel 인수 복원. 변경 후 새로고침 필요.
23
+ - ModelPanel 팝업 검색(#3): 4개 모델 초과 시 표시, 공식 규칙과 동일.
24
+
14
25
  ## [4.3.1] — 2026-10-17(호스트 열거 갱신: 0.2.1-rc.1 추가)
15
26
 
16
27
  ### Fixed
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.4.0] — 2026-10-19 (issue batch: #2 #3 #4 #5)
4
+
5
+ ### Fixed
6
+ - 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.
7
+ - 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.
8
+ - 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.
9
+
10
+ ### Added
11
+ - `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.
12
+ - ModelPanel popup search (#3): shown past four models, mirroring the shipped selector's rule.
13
+
3
14
  ## 4.3.3 (2026-10-18)
4
15
 
5
16
  - 计价目录化上线:price-catalog 41 条(国内 30 CNY 峰谷/平价 + 海外 11 USD:Claude 4 官方页一手、GPT 4/Gemini 3 Copilot 计费文档×公告交叉核实),注入型号按目录实价入账、目录外走 estimate 典型价兜底并标「未校准·仅供参考」(免费档调用=按标准价折算的花费/白嫖额度感知)。
package/README.md CHANGED
@@ -97,10 +97,16 @@ For hand-declared `llm-pi-ai` models, map each level to the exact value your gat
97
97
 
98
98
  The model panel's per-line effort `<select>` became a **segment slider**: click a line's effort chip (it shows the effective level, or *Provider default*) and a full-width slider expands under that line. The stop count adapts to what the model advertises — two-stop toggle-only models, the official `off/low/high/max` set, custom gateway wire values; `auto` (when the directory carries the mask) is pinned **leftmost**, then `off`/`on`, then the strength gradient, unknown wire values last.
99
99
 
100
+ Since 4.4.0 the selector's own effort chip shows the **user intent**, not the scheduler's resolved level: with the intent `auto` the main label stays **Auto** and the level actually sent in the last step is demoted to a secondary hint (`→ low`). Note: while the model-UI takeover below is off, the *official* selector's chip keeps showing the last resolved level — that is host projection semantics the plugin cannot restyle.
101
+
100
102
  Interaction follows the approved dsh-reasoning-effort visual baseline: the thumb follows the pointer continuously and **snaps on release** (one route write per gesture), the plain thumb is pure white in every theme, the thumb stays fully visible at both endpoints, and ←/→/Home/End step stop-by-stop. The select's *Provider default* reset survives as the ↺ button of the slider row.
101
103
 
102
104
  DeepSeek lines (the official route, or any gateway model whose id/name says deepseek) run the **whale-girl runner** as the thumb: an 8-frame side-run strip, ping-pong looped (720 ms per direction at rest, 420 ms while dragging), frozen under `prefers-reduced-motion`. Every other model gets the plain knob.
103
105
 
106
+ ## Model UI takeover (since 4.4.0)
107
+
108
+ New setting `takeoverUi` (default **off**): the plugin no longer replaces the composer's model popup — search, grouping and loading stay with the shipped selector, and the `auto` mask still arrives through the server-side advertisement; official-model context editing lives on the settings card. Turning it on restores the ModelPanel takeover (per-line editors + popup search). Reload the page after changing.
109
+
104
110
  The strip is community whale-girl artwork sourced from [HanaAyane/dsh-reasoning-effort](https://github.com/HanaAyane/dsh-reasoning-effort) (`assets/chibi-runner-strip.png`); regenerate the inlined asset with `python tools/whale-mascot.py`.
105
111
 
106
112
  ## Context-window presets
package/README.zh.md CHANGED
@@ -68,10 +68,16 @@
68
68
 
69
69
  模型面板里的逐行思考强度下拉框已改造为**分段滑块**:点击模型行的档位 chip(显示当前生效档位或「提供方默认」),该行下方展开全宽滑动条。分段数随模型广告的档位自适应——toggle 型只有两档、官方 `off/low/high/max`、网关自定义线上值均可;目录带 `auto` mask 时 **auto 恒在最左**,其后依次 off/on 与强度递增档,未知线上值排最末。
70
70
 
71
+ 选择器头的档位 chip(4.4.0 起)显示的是**用户意图**而非调度器的解析值:意图为 `auto` 时主标签保持 **Auto**,本步实际发出的档位降为次级标注(如 `→ low`)。注意:关闭模型界面接管时,官方选择器的 chip 仍显示本步解析值(宿主投影语义,插件不可代改)。
72
+
71
73
  交互对齐 dsh-reasoning-effort 已批准的视觉基线:滑钮拖动时连续跟手、**松手吸附**提交(每次手势只写一次路由);普通滑钮全主题纯白;两端刻度处滑钮完整可见;键盘 ←/→/Home/End 逐档移动。原「提供方默认」重置保留为滑块行的 ↺ 按钮。
72
74
 
73
75
  DeepSeek 行(官方路由,或 id/名称含 deepseek 的网关模型)滑钮为**鲸鱼娘奔跑立绘**:8 帧侧面奔跑 strip,乒乓循环(静止 720ms/单向,拖动中 420ms/单向),`prefers-reduced-motion` 下冻结;其他模型为普通白色圆钮。
74
76
 
77
+ ## 模型界面接管(4.4.0 起)
78
+
79
+ 新增设置项「模型界面接管」(`takeoverUi`,缺省关闭):关闭时不替换官方模型弹窗——搜索、分组、加载都由宿主原生选择器负责,`auto` 档位照常经服务端广告出现;官方模型的上下文编辑在设置卡内完成。开启时恢复本插件的 ModelPanel 接管(逐行上下文/档位编辑 + 弹窗搜索)。更改后需重载页面生效。
80
+
75
81
  立绘为社区鲸鱼娘二创,来源 [HanaAyane/dsh-reasoning-effort](https://github.com/HanaAyane/dsh-reasoning-effort)(`assets/chibi-runner-strip.png`);用 `python tools/whale-mascot.py` 可重新生成内联素材。
76
82
 
77
83
  ## 模型能力守卫(v0.5.0)
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-thinking-levels",
3
- "version": "4.3.3",
3
+ "version": "4.4.0",
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": {