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

dsh-reasoning-glow

v0.1.0

Published

Glowing reasoning-effort slider for the DeepSeek Harness composer

Readme

dsh-reasoning-glow

把 DeepSeek Harness(DSH)输入框里的模型选择器,换成一条会发光的推理强度滑块。

A glowing reasoning-effort slider for the DeepSeek Harness composer: drag the pill, the effort changes, and the top level lights up with drifting motes.

dsh-reasoning-glow

特性 / Features

  • 胶囊轨道 + 圆形拖钮:拖动、点击轨道、← → ↑ ↓ Home End 都能切换档位,松手才真正提交
  • 最高档特效:轨道切换为蓝紫渐变,18 颗白色粒子各自上浮、摆动、明暗呼吸
  • 档位标题实时跟随:拖动过程中标题立即切换到对应档位名
  • ↺ 恢复默认:一键回到该模型服务商提供的默认档位
  • 模型列表仍在:点模型名展开分组模型列表,换模型后自动带回当前档位
  • 深浅色主题自动适配;中英文界面;prefers-reduced-motion 时粒子静止
  • 单文件浏览器端代码,无构建步骤,无第三方依赖

安装 / Install

通过 CLI(npm 发布后)

dsh plugin add dsh-reasoning-glow

从源码

git clone https://github.com/WH-kt/dsh-reasoning-glow.git
dsh plugin add ./dsh-reasoning-glow

或者:DSH 桌面端 → 设置 → 插件 → 用插件管理器安装这个本地目录。

安装后插件作为 profile 层生效,刷新页面即可看到新的滑块。

兼容性 / Compatibility

  • DSH 0.2.1-rc.2(Web 与桌面端),Node.js >=22
  • 通过 conversation.input.model 槽位(priority: -1)接管模型选择器
  • 依赖 Client 服务:slots、modelDirectories、sessions、locale、remote、remote.session
  • 模型目录通过槽位的 inject(sessionId) 获取,不做任何模型或认证上的假设

开发 / Development

npm test        # test/smoke.mjs:32 项运行时契约 + 渲染检查,不需要浏览器
.
├── client.js            # 浏览器端:UI、样式、槽位注册(无构建)
├── index.js             # Host 端空实现,让加载器看到这个插件
├── cordis.patch.yml     # bundle 层:把插件插入 profile
├── locale/{zh,en}.json  # 插件管理器中显示的标题/描述
├── icon.svg             # 插件图标
└── test/smoke.mjs       # 无浏览器冒烟测试

test/smoke.mjs 会用假的 window.__ModuleLoader__、React 和 Cordis 上下文加载真实 client.js,验证注入清单、槽位注册契约、load/select 通路、滑块提交、模型列表渲染 以及最高档的渐变/粒子分支。

许可 / License

MIT