dsh-thinking-levels 3.4.5-beta.4 → 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 +18 -11
- 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,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 =
|
|
818
|
-
/** Track thickness; sits `TRACK_B` px above the zone bottom (above the 14px label row).
|
|
819
|
-
|
|
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 =
|
|
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;
|
|
@@ -1323,7 +1326,11 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1323
1326
|
}),
|
|
1324
1327
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1325
1328
|
className: FLARE_CLASS,
|
|
1326
|
-
style: {
|
|
1329
|
+
style: {
|
|
1330
|
+
left: at(shownFraction),
|
|
1331
|
+
top: "auto",
|
|
1332
|
+
bottom: `28px`
|
|
1333
|
+
}
|
|
1327
1334
|
}),
|
|
1328
1335
|
mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1329
1336
|
className: `${RUN_CLASS} ${GIRL_CLASS}`,
|
|
@@ -1337,7 +1344,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1337
1344
|
style: {
|
|
1338
1345
|
...knobStyle,
|
|
1339
1346
|
left: at(shownFraction),
|
|
1340
|
-
bottom: `${
|
|
1347
|
+
bottom: `${28 - KNOB / 2}px`
|
|
1341
1348
|
}
|
|
1342
1349
|
}),
|
|
1343
1350
|
count <= 6 && stops.map((stop, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|