DeepSHPlugins
better-reasoning-slider 项目预览
GITHUB / COMMUNITY PROJECT

better-reasoning-slider

UI 增强JavaScriptMIT

官方风格输入框 + 浮动推理能力滑块弹窗,节点与滑块对齐,弹窗跟随 Harness 主题自适应。

1 Starsvvvspec 更新时间 2026-08-15
访问 GitHub 仓库
better-reasoning-slider 项目预览

项目介绍

中文

官方风格输入框 + 浮动推理能力滑块弹窗,节点与滑块对齐,弹窗跟随 Harness 主题自适应。

English

Official-style composer model trigger with a floating reasoning-effort slider popup.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
vvvspec
仓库
vvvspec/better-reasoning-slider
GitHub Stars
1
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-15
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

51/ 100
维护活跃
81
文档与实用信息
100
生态关注度
9
安装便捷信号
75
项目声明信号
85

README 含完整安装与使用说明;关注度尚低(1)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:vvvspec/better-reasoning-slider

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

better-reasoning-slider

中文版

A DeepSeek Harness WebUI plugin that replaces the composer's model/effort dropdown with a compact, theme-aware control:

  • Model picker — click the model pill to switch models.
  • Reasoning effort slider — drag to adjust effort (e.g. low / high / max) with visible tick nodes on the track.

The slider writes through the same per-session ModelDirectory as the official @deepseek-ai/dsh-client-ui-model-selection plugin, so the /model popup and the composer stay consistent.

Features

  • Official-style composer trigger: model name + current effort + chevron.
  • Floating popup that stays inside the viewport.
  • Model groups and descriptions from the existing model directory.
  • Reasoning effort as a continuous slider with snap-to-node behavior.
  • Nodes are rendered directly on the slider track and align with the thumb.
  • Theme adaptive: uses DSH design tokens (--dsw-specific-menu, --dsw-alias-*, --dsw-shadow-lv3), so it follows light/dark Harness themes.
  • No configuration file needed.

Install

From GitHub (recommended)

dsh plugin --profile web add github:vvvspec/better-reasoning-slider

Or with a full URL:

dsh plugin --profile web add https://github.com/vvvspec/better-reasoning-slider

Restart dsh web after installing.

Local development

dsh plugin --profile web add file:/absolute/path/to/better-reasoning-slider

Restart dsh web.

Usage

  1. Open the Harness WebUI.
  2. In the composer, click the model pill (e.g. the current model name).
  3. A popup opens with:
  • The model list (grouped by provider).
  • The Reasoning slider below the model list.
  1. Drag the slider thumb to the desired effort level.
  • The thumb snaps to the nearest available node when you release.
  • The selected effort is written to the current session and stays consistent with /model.

How it works

  • The plugin shadows the official conversation.input.model slot.
  • It uses the same modelDirectories service as the official model selector.
  • The slider maps a 0–1000 draft range to the model's available reasoning.efforts list.
  • On release, it commits the nearest effort through ModelDirectory.select().

Requirements

  • DeepSeek Harness Web profile.
  • A model that exposes reasoning.efforts to see the slider. Models without reasoning efforts still show the model picker.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目