dsh-thinking-levels 3.4.5-beta.3 → 3.4.5-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 +1 -1
- package/CHANGELOG.ko.md +1 -1
- package/CHANGELOG.md +1 -1
- package/dsh.plugin.json +1 -1
- package/lib/client.js +15 -10
- 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.4
|
|
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.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
|
@@ -814,17 +814,17 @@ 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. */
|
|
817
|
+
const ZONE_H = 70;
|
|
818
|
+
/** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row). */
|
|
819
819
|
const TRACK_H = 16;
|
|
820
|
-
const TRACK_B =
|
|
820
|
+
const TRACK_B = 16;
|
|
821
821
|
/** Horizontal inset keeping the thumb fully visible at both endpoint stops. */
|
|
822
822
|
const PAD_MASCOT = 18;
|
|
823
823
|
const PAD_KNOB = 14;
|
|
824
824
|
/** Thumb metrics. */
|
|
825
825
|
const GIRL_W = WHALE_RUN_STRIP.frameW / 2;
|
|
826
826
|
const GIRL_H = WHALE_RUN_STRIP.frameH / 2;
|
|
827
|
-
const GIRL_B =
|
|
827
|
+
const GIRL_B = 21;
|
|
828
828
|
const KNOB = 28;
|
|
829
829
|
/** Label row height under the track. */
|
|
830
830
|
const LABEL_H = 14;
|
|
@@ -1074,8 +1074,10 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1074
1074
|
const zoneStyle = {
|
|
1075
1075
|
position: "relative",
|
|
1076
1076
|
flex: "1 1 auto",
|
|
1077
|
-
minWidth: "
|
|
1077
|
+
minWidth: "100px",
|
|
1078
1078
|
height: `${ZONE_H}px`,
|
|
1079
|
+
isolation: "isolate",
|
|
1080
|
+
zIndex: 1,
|
|
1079
1081
|
touchAction: "none",
|
|
1080
1082
|
userSelect: "none",
|
|
1081
1083
|
WebkitUserSelect: "none"
|
|
@@ -1290,6 +1292,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1290
1292
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
1291
1293
|
className: TRACK_CLASS,
|
|
1292
1294
|
style: {
|
|
1295
|
+
position: "absolute",
|
|
1293
1296
|
left: `${pad}px`,
|
|
1294
1297
|
right: `${pad}px`,
|
|
1295
1298
|
bottom: `${TRACK_B}px`,
|
|
@@ -1334,7 +1337,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1334
1337
|
style: {
|
|
1335
1338
|
...knobStyle,
|
|
1336
1339
|
left: at(shownFraction),
|
|
1337
|
-
bottom: `${
|
|
1340
|
+
bottom: `${24 - KNOB / 2}px`
|
|
1338
1341
|
}
|
|
1339
1342
|
}),
|
|
1340
1343
|
count <= 6 && stops.map((stop, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -1510,8 +1513,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1510
1513
|
position: "absolute",
|
|
1511
1514
|
bottom: "calc(100% + 8px)",
|
|
1512
1515
|
left: "0",
|
|
1513
|
-
zIndex:
|
|
1514
|
-
width: "320px",
|
|
1516
|
+
zIndex: 1300,
|
|
1517
|
+
width: "min(320px, calc(100vw - 24px))",
|
|
1515
1518
|
padding: "8px",
|
|
1516
1519
|
background: "var(--dsw-alias-bg-layer-3)",
|
|
1517
1520
|
color: "var(--dsw-alias-label-primary)",
|
|
@@ -1525,7 +1528,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1525
1528
|
const backdropStyle = {
|
|
1526
1529
|
position: "fixed",
|
|
1527
1530
|
inset: 0,
|
|
1528
|
-
zIndex:
|
|
1531
|
+
zIndex: 1299
|
|
1529
1532
|
};
|
|
1530
1533
|
const modelsStyle = {
|
|
1531
1534
|
maxHeight: "320px",
|
|
@@ -1653,7 +1656,9 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1653
1656
|
border: "1px solid var(--dsw-alias-border-l2)",
|
|
1654
1657
|
borderRadius: "6px",
|
|
1655
1658
|
background: "var(--dsw-alias-bg-layer-1)",
|
|
1656
|
-
fontSize: "12px"
|
|
1659
|
+
fontSize: "12px",
|
|
1660
|
+
position: "relative",
|
|
1661
|
+
zIndex: 2
|
|
1657
1662
|
};
|
|
1658
1663
|
const labelStyle$1 = {
|
|
1659
1664
|
flex: "0 0 auto",
|