dsh-thinking-levels 4.1.0-beta.3 → 4.1.0-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
|
@@ -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.
|
|
16
|
+
### Added — effort slider (whale-girl runner thumb) — 4.1.0-beta.5
|
|
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
|
+
"version": "4.1.0-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
|
@@ -820,18 +820,22 @@ 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 =
|
|
824
|
-
/** Track thickness; sits `TRACK_B` px above the zone bottom.
|
|
825
|
-
|
|
826
|
-
const
|
|
823
|
+
const ZONE_H = 74;
|
|
824
|
+
/** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row).
|
|
825
|
+
* Proportioned like the reference (track ≈ knob height), not a thin wire. */
|
|
826
|
+
const TRACK_H = 24;
|
|
827
|
+
const TRACK_B = 16;
|
|
827
828
|
/** Horizontal inset keeping the thumb fully visible at both endpoint stops. */
|
|
828
829
|
const PAD_MASCOT = 18;
|
|
829
830
|
const PAD_KNOB = 14;
|
|
830
831
|
/** Thumb metrics. */
|
|
831
832
|
const GIRL_W = WHALE_RUN_STRIP.frameW / 2;
|
|
832
833
|
const GIRL_H = WHALE_RUN_STRIP.frameH / 2;
|
|
833
|
-
const GIRL_B =
|
|
834
|
+
const GIRL_B = 24;
|
|
834
835
|
const KNOB = 28;
|
|
836
|
+
/** Flare pill sized to OUR track (the reference's 78×46 assumed a 30px track). */
|
|
837
|
+
const FLARE_W = 60;
|
|
838
|
+
const FLARE_H = 36;
|
|
835
839
|
/** Label row height under the track. */
|
|
836
840
|
const LABEL_H = 14;
|
|
837
841
|
/** Strip footprint in CSS px (asset is 2x). */
|
|
@@ -865,7 +869,7 @@ window.__ModuleLoader__.load({
|
|
|
865
869
|
inset 0 -1px 0 rgba(0, 0, 0, .55),
|
|
866
870
|
0 3px 10px rgba(12, 17, 55, .34);
|
|
867
871
|
}
|
|
868
|
-
.${TRACK_CLASS}::after {
|
|
872
|
+
body[data-ds-dark-theme] .${TRACK_CLASS}::after {
|
|
869
873
|
content: "";
|
|
870
874
|
position: absolute;
|
|
871
875
|
inset: 0;
|
|
@@ -905,12 +909,11 @@ body:not([data-ds-dark-theme]) .${FILL_CLASS} { display: block; }
|
|
|
905
909
|
}
|
|
906
910
|
.${FLARE_CLASS} {
|
|
907
911
|
position: absolute;
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
height: 46px;
|
|
912
|
+
width: ${FLARE_W}px;
|
|
913
|
+
height: ${FLARE_H}px;
|
|
911
914
|
border-radius: 50%;
|
|
912
915
|
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%);
|
|
913
|
-
filter: blur(
|
|
916
|
+
filter: blur(1.5px) saturate(1.25);
|
|
914
917
|
mix-blend-mode: screen;
|
|
915
918
|
transform: translate(-100%, -50%);
|
|
916
919
|
transition: left 70ms linear, filter 140ms ease;
|
|
@@ -1080,8 +1083,10 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1080
1083
|
const zoneStyle = {
|
|
1081
1084
|
position: "relative",
|
|
1082
1085
|
flex: "1 1 auto",
|
|
1083
|
-
minWidth: "
|
|
1086
|
+
minWidth: "100px",
|
|
1084
1087
|
height: `${ZONE_H}px`,
|
|
1088
|
+
isolation: "isolate",
|
|
1089
|
+
zIndex: 1,
|
|
1085
1090
|
touchAction: "none",
|
|
1086
1091
|
userSelect: "none",
|
|
1087
1092
|
WebkitUserSelect: "none"
|
|
@@ -1296,6 +1301,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1296
1301
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1297
1302
|
className: TRACK_CLASS,
|
|
1298
1303
|
style: {
|
|
1304
|
+
position: "absolute",
|
|
1299
1305
|
left: `${pad}px`,
|
|
1300
1306
|
right: `${pad}px`,
|
|
1301
1307
|
bottom: `${TRACK_B}px`,
|
|
@@ -1326,7 +1332,11 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1326
1332
|
}),
|
|
1327
1333
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1328
1334
|
className: FLARE_CLASS,
|
|
1329
|
-
style: {
|
|
1335
|
+
style: {
|
|
1336
|
+
left: at(shownFraction),
|
|
1337
|
+
top: "auto",
|
|
1338
|
+
bottom: `28px`
|
|
1339
|
+
}
|
|
1330
1340
|
}),
|
|
1331
1341
|
mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1332
1342
|
className: `${RUN_CLASS} ${GIRL_CLASS}`,
|
|
@@ -1516,8 +1526,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1516
1526
|
position: "absolute",
|
|
1517
1527
|
bottom: "calc(100% + 8px)",
|
|
1518
1528
|
left: "0",
|
|
1519
|
-
zIndex:
|
|
1520
|
-
width: "320px",
|
|
1529
|
+
zIndex: 1300,
|
|
1530
|
+
width: "min(320px, calc(100vw - 24px))",
|
|
1521
1531
|
padding: "8px",
|
|
1522
1532
|
background: "var(--dsw-alias-bg-layer-3)",
|
|
1523
1533
|
color: "var(--dsw-alias-label-primary)",
|
|
@@ -1531,7 +1541,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1531
1541
|
const backdropStyle = {
|
|
1532
1542
|
position: "fixed",
|
|
1533
1543
|
inset: 0,
|
|
1534
|
-
zIndex:
|
|
1544
|
+
zIndex: 1299
|
|
1535
1545
|
};
|
|
1536
1546
|
const modelsStyle = {
|
|
1537
1547
|
maxHeight: "320px",
|
|
@@ -1659,7 +1669,9 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1659
1669
|
border: "1px solid var(--dsw-alias-border-l2)",
|
|
1660
1670
|
borderRadius: "6px",
|
|
1661
1671
|
background: "var(--dsw-alias-bg-layer-1)",
|
|
1662
|
-
fontSize: "12px"
|
|
1672
|
+
fontSize: "12px",
|
|
1673
|
+
position: "relative",
|
|
1674
|
+
zIndex: 2
|
|
1663
1675
|
};
|
|
1664
1676
|
const labelStyle$1 = {
|
|
1665
1677
|
flex: "0 0 auto",
|