dsh-thinking-levels 3.4.5-beta.4 → 3.4.5-beta.6

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
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
- ### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 3.4.5-beta.4
11
+ ### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 3.4.5-beta.6
12
12
 
13
13
  - モデルパネルの各行の思考レベル `<select>` をセグメントスライダーに改修。行のレベル
14
14
  チップをクリックすると全幅スライダーが展開されます:ストップ数はモデルの広告レベルに
package/CHANGELOG.ko.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
- ### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 3.4.5-beta.4
11
+ ### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 3.4.5-beta.6
12
12
 
13
13
  - 모델 패널各行의 사고 레벨 `<select>`를 세그먼트 슬라이더로 개편. 행의 레벨 칩을 클릭하면
14
14
  전폭 슬라이더가 펼쳐집니다: 스톱 수는 모델이 광고하는 레벨에 적응하고, `auto`는 항상
package/CHANGELOG.md CHANGED
@@ -8,7 +8,7 @@ All notable changes to `dsh-thinking-levels` are documented here.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
- ### Added — effort slider (whale-girl runner thumb) — 3.4.5-beta.4
11
+ ### Added — effort slider (whale-girl runner thumb) — 3.4.5-beta.6
12
12
 
13
13
  - **The model panel's per-line effort `<select>` became a segment slider.** Click a line's
14
14
  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": "3.4.5-beta.4",
3
+ "version": "3.4.5-beta.6",
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
@@ -814,9 +814,10 @@ window.__ModuleLoader__.load({
814
814
  * back to the shipped selector.
815
815
  */
816
816
  /** Editor-row zone height: label row + track + headroom for the standing girl. */
817
- const ZONE_H = 70;
818
- /** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row). */
819
- const TRACK_H = 16;
817
+ const ZONE_H = 74;
818
+ /** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row).
819
+ * Proportioned like the reference (track ≈ knob height), not a thin wire. */
820
+ const TRACK_H = 24;
820
821
  const TRACK_B = 16;
821
822
  /** Horizontal inset keeping the thumb fully visible at both endpoint stops. */
822
823
  const PAD_MASCOT = 18;
@@ -824,8 +825,11 @@ window.__ModuleLoader__.load({
824
825
  /** Thumb metrics. */
825
826
  const GIRL_W = WHALE_RUN_STRIP.frameW / 2;
826
827
  const GIRL_H = WHALE_RUN_STRIP.frameH / 2;
827
- const GIRL_B = 21;
828
+ const GIRL_B = 24;
828
829
  const KNOB = 28;
830
+ /** Flare pill sized to OUR track (the reference's 78×46 assumed a 30px track). */
831
+ const FLARE_W = 60;
832
+ const FLARE_H = 36;
829
833
  /** Label row height under the track. */
830
834
  const LABEL_H = 14;
831
835
  /** Strip footprint in CSS px (asset is 2x). */
@@ -859,7 +863,7 @@ window.__ModuleLoader__.load({
859
863
  inset 0 -1px 0 rgba(0, 0, 0, .55),
860
864
  0 3px 10px rgba(12, 17, 55, .34);
861
865
  }
862
- .${TRACK_CLASS}::after {
866
+ body[data-ds-dark-theme] .${TRACK_CLASS}::after {
863
867
  content: "";
864
868
  position: absolute;
865
869
  inset: 0;
@@ -897,14 +901,16 @@ body:not([data-ds-dark-theme]) .${FILL_CLASS} { display: block; }
897
901
  pointer-events: none;
898
902
  transition: filter 140ms ease;
899
903
  }
904
+ /* Screen only LIGHTENS — over the pale light-theme track it would wash the
905
+ radiation out; paint it directly there. */
906
+ body:not([data-ds-dark-theme]) .${CANVAS_CLASS} { mix-blend-mode: normal; }
900
907
  .${FLARE_CLASS} {
901
908
  position: absolute;
902
- top: 50%;
903
- width: 78px;
904
- height: 46px;
909
+ width: ${FLARE_W}px;
910
+ height: ${FLARE_H}px;
905
911
  border-radius: 50%;
906
912
  background: radial-gradient(ellipse at 100% 50%, rgba(255,255,255,.96) 0 4%, rgba(188,189,255,.8) 11%, rgba(106,87,255,.5) 28%, rgba(105,31,255,.2) 49%, transparent 74%);
907
- filter: blur(2px) saturate(1.25);
913
+ filter: blur(1.5px) saturate(1.25);
908
914
  mix-blend-mode: screen;
909
915
  transform: translate(-100%, -50%);
910
916
  transition: left 70ms linear, filter 140ms ease;
@@ -1033,7 +1039,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1033
1039
  const columnEnergy = trail * (wave * 1.04 + pillar + crest * .32);
1034
1040
  if (columnEnergy > .012) {
1035
1041
  const nearness = Math.max(0, 1 - distance / Math.max(1, width * .78));
1036
- context.fillStyle = `rgba(${isDark ? Math.round(42 + 124 * nearness + 75 * wave) : Math.round(28 + 58 * nearness + 15 * wave)}, ${isDark ? Math.round(56 + 58 * nearness + 44 * crest) : Math.round(88 + 72 * nearness + 30 * crest)}, ${isDark ? Math.round(175 + 72 * nearness + 8 * wave) : Math.round(182 + 62 * nearness)}, ${isDark ? Math.min(.88, columnEnergy * .72) : Math.min(.62, columnEnergy * .54)})`;
1042
+ context.fillStyle = `rgba(${isDark ? Math.round(42 + 124 * nearness + 75 * wave) : Math.round(28 + 58 * nearness + 15 * wave)}, ${isDark ? Math.round(56 + 58 * nearness + 44 * crest) : Math.round(88 + 72 * nearness + 30 * crest)}, ${isDark ? Math.round(175 + 72 * nearness + 8 * wave) : Math.round(182 + 62 * nearness)}, ${isDark ? Math.min(.88, columnEnergy * .72) : Math.min(.9, columnEnergy * .85)})`;
1037
1043
  context.fillRect(x, 0, 3, height);
1038
1044
  }
1039
1045
  for (let y = 0; y < height; y += cell) {
@@ -1045,7 +1051,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1045
1051
  const alpha = Math.min(.96, (columnEnergy * .88 + halo + crest * .19) * verticalShape * grain);
1046
1052
  if (alpha < .035) continue;
1047
1053
  const hot = Math.max(0, 1 - radial / 2.4);
1048
- context.fillStyle = `rgba(${isDark ? Math.round(54 + 148 * hot + 42 * wave + 35 * crest) : Math.round(25 + 72 * hot + 12 * wave)}, ${isDark ? Math.round(68 + 78 * hot + 46 * crest) : Math.round(98 + 72 * hot + 24 * crest)}, ${isDark ? Math.round(186 + 64 * hot) : Math.round(194 + 56 * hot)}, ${isDark ? alpha : alpha * .72})`;
1054
+ context.fillStyle = `rgba(${isDark ? Math.round(54 + 148 * hot + 42 * wave + 35 * crest) : Math.round(20 + 92 * hot + 18 * wave)}, ${isDark ? Math.round(68 + 78 * hot + 46 * crest) : Math.round(78 + 80 * hot + 30 * crest)}, ${isDark ? Math.round(186 + 64 * hot) : Math.round(188 + 62 * hot)}, ${isDark ? alpha : alpha * .95})`;
1049
1055
  context.fillRect(x, y, 3, 3);
1050
1056
  }
1051
1057
  }
@@ -1296,7 +1302,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1296
1302
  left: `${pad}px`,
1297
1303
  right: `${pad}px`,
1298
1304
  bottom: `${TRACK_B}px`,
1299
- height: `${TRACK_H}px`
1305
+ height: `${TRACK_H}px`,
1306
+ "--dsh-tl-progress": `${shownFraction * 100}%`
1300
1307
  },
1301
1308
  children: [
1302
1309
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: FILL_CLASS }),
@@ -1304,26 +1311,32 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1304
1311
  ref: canvasRef,
1305
1312
  className: CANVAS_CLASS
1306
1313
  }),
1307
- stops.map((stop, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { style: {
1308
- position: "absolute",
1309
- bottom: `${TRACK_H / 2 - 3.5}px`,
1310
- left: `${index / Math.max(1, count - 1) * 100}%`,
1311
- width: "7px",
1312
- height: "7px",
1313
- borderRadius: "50%",
1314
- background: "#fff",
1315
- border: "1px solid var(--dsw-alias-border-l2)",
1316
- boxSizing: "border-box",
1317
- transform: "translateX(-50%)",
1318
- pointerEvents: "none",
1319
- zIndex: 2,
1320
- opacity: index <= shownIndex ? 1 : .65
1321
- } }, stop.id))
1314
+ stops.slice(1, -1).map((stop, offset) => {
1315
+ const index = offset + 1;
1316
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { style: {
1317
+ position: "absolute",
1318
+ bottom: `${TRACK_H / 2 - 3.5}px`,
1319
+ left: `${index / Math.max(1, count - 1) * 100}%`,
1320
+ width: "7px",
1321
+ height: "7px",
1322
+ borderRadius: "50%",
1323
+ background: "#fff",
1324
+ border: "1px solid var(--dsw-alias-border-l2)",
1325
+ boxSizing: "border-box",
1326
+ transform: "translateX(-50%)",
1327
+ pointerEvents: "none",
1328
+ zIndex: 2,
1329
+ opacity: index <= shownIndex ? 1 : .65
1330
+ } }, stop.id);
1331
+ })
1322
1332
  ]
1323
1333
  }),
1324
1334
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1325
1335
  className: FLARE_CLASS,
1326
- style: { left: at(shownFraction) }
1336
+ style: {
1337
+ left: at(shownFraction),
1338
+ top: `46px`
1339
+ }
1327
1340
  }),
1328
1341
  mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1329
1342
  className: `${RUN_CLASS} ${GIRL_CLASS}`,
@@ -1337,7 +1350,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
1337
1350
  style: {
1338
1351
  ...knobStyle,
1339
1352
  left: at(shownFraction),
1340
- bottom: `${24 - KNOB / 2}px`
1353
+ bottom: `${28 - KNOB / 2}px`
1341
1354
  }
1342
1355
  }),
1343
1356
  count <= 6 && stops.map((stop, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {