dsh-thinking-levels 4.1.0-beta.3 → 4.1.0-beta.4

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,7 +13,7 @@
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
- ### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 4.1.0-beta.3
16
+ ### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 4.1.0-beta.4
17
17
 
18
18
  - 各行の思考レベル `<select>` をセグメントスライダーに改修:ストップ数はモデルの広告
19
19
  レベルに追従、`auto` は常に最左、つまみはポインターに連続追従・リリースでスナップ、
package/CHANGELOG.ko.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## [Unreleased]
15
15
 
16
- ### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 4.1.0-beta.3
16
+ ### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 4.1.0-beta.4
17
17
 
18
18
  - 각 행의 사고 레벨 `<select>`를 세그먼트 슬라이더로 개편: 스톱 수는 모델이 광고하는
19
19
  레벨에 적응, `auto`는 항상 최좌측, 썸은 포인터 연속 추적 후 놓을 때 스냅,
package/CHANGELOG.md CHANGED
@@ -13,7 +13,7 @@ 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.3
16
+ ### Added — effort slider (whale-girl runner thumb) — 4.1.0-beta.4
17
17
 
18
18
  - **The model panel's per-line effort `<select>` became a segment slider.** Click a line's
19
19
  effort chip and a full-width slider expands under that line: the stop count adapts to the
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-thinking-levels",
3
- "version": "4.1.0-beta.3",
3
+ "version": "4.1.0-beta.4",
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": {
package/lib/client.js CHANGED
@@ -820,17 +820,17 @@ window.__ModuleLoader__.load({
820
820
  * back to the shipped selector.
821
821
  */
822
822
  /** Editor-row zone height: label row + track + headroom for the standing girl. */
823
- const ZONE_H = 78;
824
- /** Track thickness; sits `TRACK_B` px above the zone bottom. */
823
+ const ZONE_H = 70;
824
+ /** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row). */
825
825
  const TRACK_H = 16;
826
- const TRACK_B = 20;
826
+ const TRACK_B = 16;
827
827
  /** Horizontal inset keeping the thumb fully visible at both endpoint stops. */
828
828
  const PAD_MASCOT = 18;
829
829
  const PAD_KNOB = 14;
830
830
  /** Thumb metrics. */
831
831
  const GIRL_W = WHALE_RUN_STRIP.frameW / 2;
832
832
  const GIRL_H = WHALE_RUN_STRIP.frameH / 2;
833
- const GIRL_B = 25;
833
+ const GIRL_B = 21;
834
834
  const KNOB = 28;
835
835
  /** Label row height under the track. */
836
836
  const LABEL_H = 14;
@@ -1080,8 +1080,10 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1080
1080
  const zoneStyle = {
1081
1081
  position: "relative",
1082
1082
  flex: "1 1 auto",
1083
- minWidth: "140px",
1083
+ minWidth: "100px",
1084
1084
  height: `${ZONE_H}px`,
1085
+ isolation: "isolate",
1086
+ zIndex: 1,
1085
1087
  touchAction: "none",
1086
1088
  userSelect: "none",
1087
1089
  WebkitUserSelect: "none"
@@ -1296,6 +1298,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1296
1298
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1297
1299
  className: TRACK_CLASS,
1298
1300
  style: {
1301
+ position: "absolute",
1299
1302
  left: `${pad}px`,
1300
1303
  right: `${pad}px`,
1301
1304
  bottom: `${TRACK_B}px`,
@@ -1340,7 +1343,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1340
1343
  style: {
1341
1344
  ...knobStyle,
1342
1345
  left: at(shownFraction),
1343
- bottom: `${28 - KNOB / 2}px`
1346
+ bottom: `${24 - KNOB / 2}px`
1344
1347
  }
1345
1348
  }),
1346
1349
  count <= 6 && stops.map((stop, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
@@ -1516,8 +1519,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1516
1519
  position: "absolute",
1517
1520
  bottom: "calc(100% + 8px)",
1518
1521
  left: "0",
1519
- zIndex: 1200,
1520
- width: "320px",
1522
+ zIndex: 1300,
1523
+ width: "min(320px, calc(100vw - 24px))",
1521
1524
  padding: "8px",
1522
1525
  background: "var(--dsw-alias-bg-layer-3)",
1523
1526
  color: "var(--dsw-alias-label-primary)",
@@ -1531,7 +1534,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1531
1534
  const backdropStyle = {
1532
1535
  position: "fixed",
1533
1536
  inset: 0,
1534
- zIndex: 1199
1537
+ zIndex: 1299
1535
1538
  };
1536
1539
  const modelsStyle = {
1537
1540
  maxHeight: "320px",
@@ -1659,7 +1662,9 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1659
1662
  border: "1px solid var(--dsw-alias-border-l2)",
1660
1663
  borderRadius: "6px",
1661
1664
  background: "var(--dsw-alias-bg-layer-1)",
1662
- fontSize: "12px"
1665
+ fontSize: "12px",
1666
+ position: "relative",
1667
+ zIndex: 2
1663
1668
  };
1664
1669
  const labelStyle$1 = {
1665
1670
  flex: "0 0 auto",