@lolannn/dsh-effort-slider 0.2.5 → 0.2.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.
Files changed (3) hide show
  1. package/README.md +19 -0
  2. package/client.js +2589 -2244
  3. package/package.json +60 -60
package/README.md CHANGED
@@ -12,6 +12,17 @@ dsh plugin add @lolannn/dsh-effort-slider # from npm
12
12
  dsh plugin add git+https://github.com/suyunxing/dsh-effort-slider # from source
13
13
  ```
14
14
 
15
+ ## Screenshots
16
+
17
+ ![Reasoning effort rail on deepseek-flash](https://raw.githubusercontent.com/suyunxing/dsh-effort-slider/main/docs/screenshots/effort-slider-deepseek-flash.png)
18
+
19
+ ![The same control on a model with a different effort ladder](https://raw.githubusercontent.com/suyunxing/dsh-effort-slider/main/docs/screenshots/effort-slider-gpt-xhigh.png)
20
+
21
+ The rail is drawn from the model's own `reasoning.efforts`, so the tick labels
22
+ change with the model — `off / low / high / max` on one, `low / medium / high /
23
+ xhigh / max` on another — and the knob lands on the level the session is
24
+ actually using.
25
+
15
26
  ## What it does
16
27
 
17
28
  - Takes over `conversation.input.model` (a single slot, so this shadows the
@@ -35,6 +46,14 @@ dsh plugin add git+https://github.com/suyunxing/dsh-effort-slider # from sourc
35
46
  four-point stars, a breathing star core, and a three-armed galaxy that
36
47
  collapses out of the rail at the top level. Reaching the top fires a shockwave
37
48
  burst, a star-warp starfield and a light-blade flash.
49
+ - The composer itself carries the light: a halo wraps the whole input card, with
50
+ the same hue as the rail. Brightness, ring alpha and glow radius all follow the
51
+ level, so `off` is a faint rim and the top level breathes; opening the panel
52
+ lifts it. The pill only keeps an outline while the halo is on.
53
+ - The halo is a setting, not a hard rule. A `外圈光环` switch sits under the rail;
54
+ turn it off and the glow returns to the pill alone, the way it was before the
55
+ halo existed. The choice is stored in `localStorage` under
56
+ `effort-slider:halo`, so it survives a reload.
38
57
  - Models without reasoning efforts are tagged `无档位` in the model list and
39
58
  degrade gracefully once selected: the rail is dimmed and the status line says so
40
59
  instead of pretending to switch.