dsh-thinking-levels 3.4.5-beta.3 → 3.4.5-beta.5
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 +1 -1
- package/CHANGELOG.ko.md +1 -1
- package/CHANGELOG.md +1 -1
- package/dsh.plugin.json +1 -1
- package/lib/client.js +28 -16
- package/lib/client.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.ja.md
CHANGED
package/CHANGELOG.ko.md
CHANGED
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.
|
|
11
|
+
### Added — effort slider (whale-girl runner thumb) — 3.4.5-beta.5
|
|
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.
|
|
3
|
+
"version": "3.4.5-beta.5",
|
|
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,18 +814,22 @@ 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 =
|
|
818
|
-
/** Track thickness; sits `TRACK_B` px above the zone bottom.
|
|
819
|
-
|
|
820
|
-
const
|
|
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;
|
|
821
|
+
const TRACK_B = 16;
|
|
821
822
|
/** Horizontal inset keeping the thumb fully visible at both endpoint stops. */
|
|
822
823
|
const PAD_MASCOT = 18;
|
|
823
824
|
const PAD_KNOB = 14;
|
|
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 =
|
|
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;
|
|
@@ -899,12 +903,11 @@ body:not([data-ds-dark-theme]) .${FILL_CLASS} { display: block; }
|
|
|
899
903
|
}
|
|
900
904
|
.${FLARE_CLASS} {
|
|
901
905
|
position: absolute;
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
height: 46px;
|
|
906
|
+
width: ${FLARE_W}px;
|
|
907
|
+
height: ${FLARE_H}px;
|
|
905
908
|
border-radius: 50%;
|
|
906
909
|
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(
|
|
910
|
+
filter: blur(1.5px) saturate(1.25);
|
|
908
911
|
mix-blend-mode: screen;
|
|
909
912
|
transform: translate(-100%, -50%);
|
|
910
913
|
transition: left 70ms linear, filter 140ms ease;
|
|
@@ -1074,8 +1077,10 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1074
1077
|
const zoneStyle = {
|
|
1075
1078
|
position: "relative",
|
|
1076
1079
|
flex: "1 1 auto",
|
|
1077
|
-
minWidth: "
|
|
1080
|
+
minWidth: "100px",
|
|
1078
1081
|
height: `${ZONE_H}px`,
|
|
1082
|
+
isolation: "isolate",
|
|
1083
|
+
zIndex: 1,
|
|
1079
1084
|
touchAction: "none",
|
|
1080
1085
|
userSelect: "none",
|
|
1081
1086
|
WebkitUserSelect: "none"
|
|
@@ -1290,6 +1295,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1290
1295
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1291
1296
|
className: TRACK_CLASS,
|
|
1292
1297
|
style: {
|
|
1298
|
+
position: "absolute",
|
|
1293
1299
|
left: `${pad}px`,
|
|
1294
1300
|
right: `${pad}px`,
|
|
1295
1301
|
bottom: `${TRACK_B}px`,
|
|
@@ -1320,7 +1326,11 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1320
1326
|
}),
|
|
1321
1327
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1322
1328
|
className: FLARE_CLASS,
|
|
1323
|
-
style: {
|
|
1329
|
+
style: {
|
|
1330
|
+
left: at(shownFraction),
|
|
1331
|
+
top: "auto",
|
|
1332
|
+
bottom: `28px`
|
|
1333
|
+
}
|
|
1324
1334
|
}),
|
|
1325
1335
|
mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1326
1336
|
className: `${RUN_CLASS} ${GIRL_CLASS}`,
|
|
@@ -1510,8 +1520,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1510
1520
|
position: "absolute",
|
|
1511
1521
|
bottom: "calc(100% + 8px)",
|
|
1512
1522
|
left: "0",
|
|
1513
|
-
zIndex:
|
|
1514
|
-
width: "320px",
|
|
1523
|
+
zIndex: 1300,
|
|
1524
|
+
width: "min(320px, calc(100vw - 24px))",
|
|
1515
1525
|
padding: "8px",
|
|
1516
1526
|
background: "var(--dsw-alias-bg-layer-3)",
|
|
1517
1527
|
color: "var(--dsw-alias-label-primary)",
|
|
@@ -1525,7 +1535,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1525
1535
|
const backdropStyle = {
|
|
1526
1536
|
position: "fixed",
|
|
1527
1537
|
inset: 0,
|
|
1528
|
-
zIndex:
|
|
1538
|
+
zIndex: 1299
|
|
1529
1539
|
};
|
|
1530
1540
|
const modelsStyle = {
|
|
1531
1541
|
maxHeight: "320px",
|
|
@@ -1653,7 +1663,9 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1653
1663
|
border: "1px solid var(--dsw-alias-border-l2)",
|
|
1654
1664
|
borderRadius: "6px",
|
|
1655
1665
|
background: "var(--dsw-alias-bg-layer-1)",
|
|
1656
|
-
fontSize: "12px"
|
|
1666
|
+
fontSize: "12px",
|
|
1667
|
+
position: "relative",
|
|
1668
|
+
zIndex: 2
|
|
1657
1669
|
};
|
|
1658
1670
|
const labelStyle$1 = {
|
|
1659
1671
|
flex: "0 0 auto",
|