dsh-thinking-levels 3.4.5-beta.5 → 3.4.5-beta.7
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 +29 -21
- 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.7
|
|
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.7",
|
|
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
|
@@ -901,6 +901,9 @@ body:not([data-ds-dark-theme]) .${FILL_CLASS} { display: block; }
|
|
|
901
901
|
pointer-events: none;
|
|
902
902
|
transition: filter 140ms ease;
|
|
903
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; }
|
|
904
907
|
.${FLARE_CLASS} {
|
|
905
908
|
position: absolute;
|
|
906
909
|
width: ${FLARE_W}px;
|
|
@@ -1036,7 +1039,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1036
1039
|
const columnEnergy = trail * (wave * 1.04 + pillar + crest * .32);
|
|
1037
1040
|
if (columnEnergy > .012) {
|
|
1038
1041
|
const nearness = Math.max(0, 1 - distance / Math.max(1, width * .78));
|
|
1039
|
-
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(.
|
|
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)})`;
|
|
1040
1043
|
context.fillRect(x, 0, 3, height);
|
|
1041
1044
|
}
|
|
1042
1045
|
for (let y = 0; y < height; y += cell) {
|
|
@@ -1048,7 +1051,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1048
1051
|
const alpha = Math.min(.96, (columnEnergy * .88 + halo + crest * .19) * verticalShape * grain);
|
|
1049
1052
|
if (alpha < .035) continue;
|
|
1050
1053
|
const hot = Math.max(0, 1 - radial / 2.4);
|
|
1051
|
-
context.fillStyle = `rgba(${isDark ? Math.round(54 + 148 * hot + 42 * wave + 35 * crest) : Math.round(
|
|
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})`;
|
|
1052
1055
|
context.fillRect(x, y, 3, 3);
|
|
1053
1056
|
}
|
|
1054
1057
|
}
|
|
@@ -1299,7 +1302,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1299
1302
|
left: `${pad}px`,
|
|
1300
1303
|
right: `${pad}px`,
|
|
1301
1304
|
bottom: `${TRACK_B}px`,
|
|
1302
|
-
height: `${TRACK_H}px
|
|
1305
|
+
height: `${TRACK_H}px`,
|
|
1306
|
+
"--dsh-tl-progress": `${shownFraction * 100}%`
|
|
1303
1307
|
},
|
|
1304
1308
|
children: [
|
|
1305
1309
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: FILL_CLASS }),
|
|
@@ -1307,29 +1311,31 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1307
1311
|
ref: canvasRef,
|
|
1308
1312
|
className: CANVAS_CLASS
|
|
1309
1313
|
}),
|
|
1310
|
-
stops.map((stop,
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
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
|
+
})
|
|
1325
1332
|
]
|
|
1326
1333
|
}),
|
|
1327
1334
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1328
1335
|
className: FLARE_CLASS,
|
|
1329
1336
|
style: {
|
|
1330
1337
|
left: at(shownFraction),
|
|
1331
|
-
top:
|
|
1332
|
-
bottom: `28px`
|
|
1338
|
+
top: `46px`
|
|
1333
1339
|
}
|
|
1334
1340
|
}),
|
|
1335
1341
|
mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -1675,14 +1681,16 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1675
1681
|
const sliderStyle = {
|
|
1676
1682
|
flex: "1 1 auto",
|
|
1677
1683
|
minWidth: "48px",
|
|
1684
|
+
maxWidth: "170px",
|
|
1678
1685
|
height: "14px",
|
|
1679
1686
|
margin: "0",
|
|
1687
|
+
padding: "0",
|
|
1680
1688
|
accentColor: "var(--dsw-alias-state-business-primary)",
|
|
1681
1689
|
cursor: "pointer"
|
|
1682
1690
|
};
|
|
1683
1691
|
const valueStyle = {
|
|
1684
1692
|
flex: "0 0 auto",
|
|
1685
|
-
minWidth: "
|
|
1693
|
+
minWidth: "24px",
|
|
1686
1694
|
textAlign: "right",
|
|
1687
1695
|
color: "var(--dsw-alias-label-primary)",
|
|
1688
1696
|
fontFamily: "var(--ds-font-family-code, monospace)",
|