dsh-thinking-levels 4.0.2 → 4.1.0-beta.2

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
@@ -13,6 +13,16 @@
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 4.1.0-beta.2
17
+
18
+ - 各行の思考レベル `<select>` をセグメントスライダーに改修:ストップ数はモデルの広告
19
+ レベルに追従、`auto` は常に最左、つまみはポインターに連続追従・リリースでスナップ、
20
+ ←/→/Home/End 対応、「プロバイダーの既定」リセットは ↺ ボタンとして存続。
21
+ - DeepSeek 系の行は 8 フレームの側面ランニング立絵をつまみに採用(ピンポンループ、静止
22
+ 720ms/ドラッグ中 420ms、`prefers-reduced-motion` で停止)。素材は
23
+ HanaAyane/dsh-reasoning-effort 提供、`python tools/whale-mascot.py` で再生成。
24
+ - `thinking-level` に `orderEffortsForSlider` / `nearestEffortStopIndex` を追加(テスト付き)。
25
+
16
26
  ## [4.0.0] — 2026-09-29
17
27
 
18
28
  ### 変更 — DSH 0.2.0-rc 互換
package/CHANGELOG.ko.md CHANGED
@@ -13,6 +13,16 @@
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 4.1.0-beta.2
17
+
18
+ - 각 행의 사고 레벨 `<select>`를 세그먼트 슬라이더로 개편: 스톱 수는 모델이 광고하는
19
+ 레벨에 적응, `auto`는 항상 최좌측, 썸은 포인터 연속 추적 후 놓을 때 스냅,
20
+ ←/→/Home/End 지원, "공급자 기본값" 초기화는 ↺ 버튼으로 존속.
21
+ - DeepSeek 계열 행은 8프레임 측면 주행 입썸을 썸으로 사용(핑퐁 루프, 대기 720ms/드래그 중
22
+ 420ms, `prefers-reduced-motion` 시 정지). 소스: HanaAyane/dsh-reasoning-effort,
23
+ `python tools/whale-mascot.py`로 재생성.
24
+ - `thinking-level`에 `orderEffortsForSlider` / `nearestEffortStopIndex` 추가(테스트 포함).
25
+
16
26
  ## [4.0.0] — 2026-09-29
17
27
 
18
28
  ### 변경 — DSH 0.2.0-rc 호환
package/CHANGELOG.md CHANGED
@@ -13,6 +13,23 @@ All notable changes to `dsh-thinking-levels` are documented here.
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
+ ### Added — effort slider (whale-girl runner thumb) — 4.1.0-beta.2
17
+
18
+ - **The model panel's per-line effort `<select>` became a segment slider.** Click a line's
19
+ effort chip and a full-width slider expands under that line: the stop count adapts to the
20
+ model's advertised efforts, `auto` is pinned leftmost (then `off`/`on`, the strength
21
+ gradient, unknown gateway wire values last), the thumb follows the pointer continuously
22
+ and snaps on release (one route write per gesture), ←/→/Home/End step stop-by-stop, and
23
+ the old "Provider default" reset survives as the ↺ button of the slider row.
24
+ - **Whale-girl runner thumb on DeepSeek lines.** Official DeepSeek routes and gateway
25
+ models whose id/name says deepseek run an 8-frame side-run strip as the thumb (ping-pong
26
+ loop, 720 ms per direction at rest / 420 ms while dragging, frozen under
27
+ `prefers-reduced-motion`); every other model keeps a plain white knob. Community
28
+ whale-girl artwork sourced from HanaAyane/dsh-reasoning-effort
29
+ (`assets/chibi-runner-strip.png`); regenerate via `python tools/whale-mascot.py`.
30
+ - **Pure slider helpers** exported from `thinking-level` (`orderEffortsForSlider`,
31
+ `nearestEffortStopIndex`) with unit coverage.
32
+
16
33
  ## [4.0.0] — 2026-09-29
17
34
 
18
35
  ### Changed — DSH 0.2.0-rc compatibility
package/README.md CHANGED
@@ -93,6 +93,16 @@ For hand-declared `llm-pi-ai` models, map each level to the exact value your gat
93
93
 
94
94
  > The visual editor for this mapping rode the plugin's settings card, which the DSH 0.1.7 migration removed (the seat no longer exists). Edit the `reasoningEfforts` table through the official Models settings surface instead — the host-side detection and injection read it live either way.
95
95
 
96
+ ## Effort slider (per model line)
97
+
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
+
100
+ 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
+
102
+ 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
+
104
+ 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
+
96
106
  ## Context-window presets
97
107
 
98
108
  The composer tool-row quick control (next to the model/effort select) edits a **context window limit**: preset stops `64K / 128K / 256K / 400K / 512K / 1M`, a custom integer input, and a clear button. The value is written to the `llm-pi-ai` model entry `contextWindow` (integer `2000`–`1000000`) — or to the `llm-deepseek` entry for official DeepSeek models.
package/README.zh.md CHANGED
@@ -64,6 +64,16 @@
64
64
  - 官方预设:`Off / High / Max`(官方 DeepSeek 风格)
65
65
  - 通用预设:`Off / Low / Medium / High`
66
66
 
67
+ ## 思考强度滑块(逐模型行)
68
+
69
+ 模型面板里的逐行思考强度下拉框已改造为**分段滑块**:点击模型行的档位 chip(显示当前生效档位或「提供方默认」),该行下方展开全宽滑动条。分段数随模型广告的档位自适应——toggle 型只有两档、官方 `off/low/high/max`、网关自定义线上值均可;目录带 `auto` mask 时 **auto 恒在最左**,其后依次 off/on 与强度递增档,未知线上值排最末。
70
+
71
+ 交互对齐 dsh-reasoning-effort 已批准的视觉基线:滑钮拖动时连续跟手、**松手吸附**提交(每次手势只写一次路由);普通滑钮全主题纯白;两端刻度处滑钮完整可见;键盘 ←/→/Home/End 逐档移动。原「提供方默认」重置保留为滑块行的 ↺ 按钮。
72
+
73
+ DeepSeek 行(官方路由,或 id/名称含 deepseek 的网关模型)滑钮为**鲸鱼娘奔跑立绘**:8 帧侧面奔跑 strip,乒乓循环(静止 720ms/单向,拖动中 420ms/单向),`prefers-reduced-motion` 下冻结;其他模型为普通白色圆钮。
74
+
75
+ 立绘为社区鲸鱼娘二创,来源 [HanaAyane/dsh-reasoning-effort](https://github.com/HanaAyane/dsh-reasoning-effort)(`assets/chibi-runner-strip.png`);用 `python tools/whale-mascot.py` 可重新生成内联素材。
76
+
67
77
  ## 模型能力守卫(v0.5.0)
68
78
 
69
79
  插件**绝不向未声明推理能力的模型发送 `reasoning_effort`**。自定义 openai-completions 路由(如未配置 `reasoningEfforts` 的本地 Qwen3.6)通过 `ctx.llm.resolveModelInfo` 被判定为非推理模型,任何档位(继承的或调度产生的)都会被**剥离**而不是下发——dsh 的逐请求 `UNSUPPORTED_REASONING_EFFORT` 拒绝因此不会触发。不支持的字段绝不打进 API。
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-thinking-levels",
3
- "version": "4.0.0",
3
+ "version": "4.1.0-beta.2",
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": {