npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wangyf397/dsh-thinking-dial

v1.0.3

Published

DSH_ThinkingDial: a reasoning-level progress bar in the DSH Web composer. Click or drag to set the session reasoning effort; the bar carries a blue-to-orange-red spectrum that leans toward the selected level.

Readme

@wangyf397/dsh-thinking-dial

A reasoning-level progress bar for the DSH Web composer. Click, drag, or press an arrow key to set the session's reasoning effort without opening the model menu.

推理  ████████████████░░░  高

What it does

  • Adds one control to the composer tool row, left of the model selector.
  • Click or drag along the bar to choose a level; ←/→, Home, End also work.
  • Writes through the same per-session model directory as the shipped model selector, so the model menu's effort caption stays in sync and the next request uses the chosen effort. A running step keeps the effort it started with.
  • Appears only for a model that advertises two or more reasoning efforts (DeepSeek Flash advertises off / low / high / max). Models without reasoning metadata show nothing.
  • Degrades visibly instead of silently: if the model catalog or the selection is missing the control renders a dim 推理 marker whose tag names the missing input (no-catalog, no-metadata, …) and logs [thinking-dial] to the browser console.

The bar

The fill is one cool-to-warm spectrum, anchored to the whole track and revealed from the left, so the visible tip alone tells you the level:

| Level | Track position | Tip color | |---|---|---| | low | 33.33% | cyan hsl(188 88% 58%) | | high | 66.67% | pink hsl(330 88% 58%) | | max | 100% | orange-red hsl(12 90% 56%) |

  • 24 hue stops spread over equal thirds (blue → cyan → pink → orange-red) with a light lavender bridge across the cyan-to-pink gap, so no stretch re-reads as a second blue band.
  • A level-colored layer above the spectrum pulls the whole bar toward the selected level's hue (opacity .10 / .25 / .40 for low/high/max), so switching level repaints the entire bar, not just its tip.
  • Inside the revealed part a rainbow sheen drifts, a white sweep crosses it, and a glowing spark rides ahead of the sweep. prefers-reduced-motion stops the drift and hides the spark.
  • All chrome (track, label, value) uses DSH theme tokens and follows light/dark automatically.

Install

In the Web UI: Plugins → Install, then confirm @wangyf397/dsh-thinking-dial. This is the supported path — it installs the package and selects the bundle, so cordis.patch.yml is applied to the active profile.

The CLI forwards to pnpm, which only installs the package, so bundle selection is a second step:

dsh plugin --profile web add @wangyf397/dsh-thinking-dial

then add the package to dsh.profile.bundles in that profile's package.json:

"dsh": { "profile": { "bundles": ["@wangyf397/dsh-thinking-dial"] } }

Restart the profile after editing the profile manifest; a page refresh is enough for later client-only edits.

The package is a bundle: cordis.patch.yml inserts the plugin row, and the browser half registers into the conversation.input.left slot declared by @deepseek-ai/dsh-client-ui-conversation.

Requirements

  • DSH Web (dsh web) with @deepseek-ai/dsh-client-ui-model-selection mounted — it provides the modelDirectories service this control reads and writes.
  • No configuration, no credentials, no network calls of its own.

License

MIT