dsh-thinking-levels 4.1.0-beta.5 → 4.1.0-beta.6
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 +26 -20
- 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.6
|
|
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.6",
|
|
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
|
@@ -907,6 +907,9 @@ body:not([data-ds-dark-theme]) .${FILL_CLASS} { display: block; }
|
|
|
907
907
|
pointer-events: none;
|
|
908
908
|
transition: filter 140ms ease;
|
|
909
909
|
}
|
|
910
|
+
/* Screen only LIGHTENS — over the pale light-theme track it would wash the
|
|
911
|
+
radiation out; paint it directly there. */
|
|
912
|
+
body:not([data-ds-dark-theme]) .${CANVAS_CLASS} { mix-blend-mode: normal; }
|
|
910
913
|
.${FLARE_CLASS} {
|
|
911
914
|
position: absolute;
|
|
912
915
|
width: ${FLARE_W}px;
|
|
@@ -1042,7 +1045,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1042
1045
|
const columnEnergy = trail * (wave * 1.04 + pillar + crest * .32);
|
|
1043
1046
|
if (columnEnergy > .012) {
|
|
1044
1047
|
const nearness = Math.max(0, 1 - distance / Math.max(1, width * .78));
|
|
1045
|
-
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(.
|
|
1048
|
+
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)})`;
|
|
1046
1049
|
context.fillRect(x, 0, 3, height);
|
|
1047
1050
|
}
|
|
1048
1051
|
for (let y = 0; y < height; y += cell) {
|
|
@@ -1054,7 +1057,7 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1054
1057
|
const alpha = Math.min(.96, (columnEnergy * .88 + halo + crest * .19) * verticalShape * grain);
|
|
1055
1058
|
if (alpha < .035) continue;
|
|
1056
1059
|
const hot = Math.max(0, 1 - radial / 2.4);
|
|
1057
|
-
context.fillStyle = `rgba(${isDark ? Math.round(54 + 148 * hot + 42 * wave + 35 * crest) : Math.round(
|
|
1060
|
+
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})`;
|
|
1058
1061
|
context.fillRect(x, y, 3, 3);
|
|
1059
1062
|
}
|
|
1060
1063
|
}
|
|
@@ -1305,7 +1308,8 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1305
1308
|
left: `${pad}px`,
|
|
1306
1309
|
right: `${pad}px`,
|
|
1307
1310
|
bottom: `${TRACK_B}px`,
|
|
1308
|
-
height: `${TRACK_H}px
|
|
1311
|
+
height: `${TRACK_H}px`,
|
|
1312
|
+
"--dsh-tl-progress": `${shownFraction * 100}%`
|
|
1309
1313
|
},
|
|
1310
1314
|
children: [
|
|
1311
1315
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: FILL_CLASS }),
|
|
@@ -1313,29 +1317,31 @@ body:not([data-ds-dark-theme]) .${ZONE_CLASS}[data-top="1"] .${TRACK_CLASS} { an
|
|
|
1313
1317
|
ref: canvasRef,
|
|
1314
1318
|
className: CANVAS_CLASS
|
|
1315
1319
|
}),
|
|
1316
|
-
stops.map((stop,
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1320
|
+
stops.slice(1, -1).map((stop, offset) => {
|
|
1321
|
+
const index = offset + 1;
|
|
1322
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { style: {
|
|
1323
|
+
position: "absolute",
|
|
1324
|
+
bottom: `${TRACK_H / 2 - 3.5}px`,
|
|
1325
|
+
left: `${index / Math.max(1, count - 1) * 100}%`,
|
|
1326
|
+
width: "7px",
|
|
1327
|
+
height: "7px",
|
|
1328
|
+
borderRadius: "50%",
|
|
1329
|
+
background: "#fff",
|
|
1330
|
+
border: "1px solid var(--dsw-alias-border-l2)",
|
|
1331
|
+
boxSizing: "border-box",
|
|
1332
|
+
transform: "translateX(-50%)",
|
|
1333
|
+
pointerEvents: "none",
|
|
1334
|
+
zIndex: 2,
|
|
1335
|
+
opacity: index <= shownIndex ? 1 : .65
|
|
1336
|
+
} }, stop.id);
|
|
1337
|
+
})
|
|
1331
1338
|
]
|
|
1332
1339
|
}),
|
|
1333
1340
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1334
1341
|
className: FLARE_CLASS,
|
|
1335
1342
|
style: {
|
|
1336
1343
|
left: at(shownFraction),
|
|
1337
|
-
top:
|
|
1338
|
-
bottom: `28px`
|
|
1344
|
+
top: `46px`
|
|
1339
1345
|
}
|
|
1340
1346
|
}),
|
|
1341
1347
|
mascot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|