MEMZ-JZY/DSH-Claude-Style-Reasoning-Slider 预览 preview

MEMZ-JZY/DSH-Claude-Style-Reasoning-Slider

DSH Claude Style Reasoning Slider 是一个 DeepSeek Harness(DSH)客户端 UI 插件,它将原生模型选择器替换为带 Claude 风格动画的推理等级滑块与模型选择器。

Project Overview项目介绍

This is a custom plugin built exclusively for DeepSeek Harness (DSH) that replaces the default model selector slot in the chat input bar with a Claude-style animated reasoning effort slider. It supports canonical mapping for varying reasoning effort level names from different providers, and automatically preserves your current reasoning effort setting when you switch between models. It also handles unsupported effort levels gracefully, dimming the unavailable positions but keeping them clickable for users to access. To install it from the remote repository, you can run the dsh plugin --profile web add github:MEMZ-JZY/DSH-Claude-Style-Reasoning-Slider command in your terminal, then restart the DSH web profile to activate it.

After installation, you can access the slider by clicking the model/effort trigger chip in the conversation input area. You can switch models via the popup menu, or adjust the reasoning effort level for your current active model by dragging or clicking the slider. If you select an unsupported level, the plugin will automatically apply the nearest supported level below your selection and show a toast notification to explain the change. You can also click the Default button to use your provider’s default reasoning effort setting instead of manually overriding it.

The plugin ships with two optional fun features that are disabled by default: the Liang Calibrator and the Big Fat Fish thumb. When the Liang Calibrator is enabled, a 31-frame animated portrait appears above the slider that updates as you drag the thumb. The Big Fat Fish option replaces the default slider thumb with an 8-frame animated chibi fish that speeds up its animation when you drag it. The plugin follows DSH’s light and dark theme tokens, supports both English and Simplified Chinese, and is released under the open source MIT license.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,用来替换 DSH 原生对话输入栏的模型选择插槽,提供类似 Claude 风格的可滑动推理强度选择器。它内置了标准化的推理档位映射规则,能兼容各种不同命名的推理档位,切换模型时会尽可能保留当前选择的推理强度。用户可以通过 DSH CLI 直接从 GitHub 仓库安装,也可以使用本地检出的代码包进行安装。

插件提供了多款趣味可选功能,包括“滑动变祖器”和“大肥鱼滑块拇指”。滑动变祖器开启后,拖动滑块时会显示对应档位的连梁肖像动画,大肥鱼拇指则把滑块拖动块换成会动的可爱绯鱼精灵。插件完全适配 DSH 的深浅色主题,同时支持中英双语本地化和无障碍访问,尊重系统的减少动态效果偏好设置。

所有动画效果都使用轻量 CSS 或事件处理实现,不会对页面性能造成明显影响。它符合 DSH 包规范,使用 patch 方式自注册,不依赖额外的前端框架,核心组件本身是独立的 Web Component。项目遵循 MIT 许可证开源,开发者可以基于源码二次构建,也可以运行独立演示页面测试组件效果。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:MEMZ-JZY/DSH-Claude-Style-Reasoning-Slider

把 MEMZ-JZY/DSH-Claude-Style-Reasoning-Slider 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Claude Style Reasoning Slider

An animated reasoning-effort slider and model picker for DeepSeek Harness (DSH). It replaces the native model selector's conversation.input.model slot with a compatible selector whose reasoning pane is a Claude-style animated slider.

🇨🇳 中文版说明请见 README.zh.md

Preview

DSH Effort Slider preview

Features

  • Drop-in model selector — replaces only the conversation.input.model slot; the rest of the chat input stays untouched.
  • Canonical effort slider — always shows Off | Low | Medium | High | Extra | Max positions, regardless of how the provider names its levels.
  • Tolerant name matching — aliases such as off, none, disabled, ultracode → max, med → medium, extreme → extra, and similar display names are mapped to canonical slider positions.
  • Unsupported levels stay visible — a level the current model does not support is dimmed but remains clickable. Clicking it keeps the thumb on the chosen slot and applies the nearest supported level below it, with a toast explaining the downgrade.
  • Model switching preserves effort — when you switch models, the current effort is kept when possible, or automatically downgraded to the nearest supported level below it (with a toast).
  • Default and adapter-specific strengths — Default is offered as a pill below the slider and submits without reasoningEffort (the provider's own default applies). Other provider strengths that do not map to a canonical slider position are also shown as selectable pills.
  • Models without reasoning metadata stay manageable — when DSH does not expose reasoning/efforts for the selected model (for example some OpenRouter or hand-declared custom entries), the Effort menu still appears: it shows a short “no effort levels” notice plus the safe Default pill, instead of hiding every thinking-strength control.
  • Liang Calibrator (滑动变祖器) — optional, off by default. Binds the six canonical levels to stage names: Off → 小难梁, Low → 牢梁, Medium → 梁子, High → 梁圣, Extra → 梁神, Max → 梁祖. When enabled, a 31-frame portrait (frame-00…frame-30) appears above the slider and follows the thumb continuously while dragging, then snaps to the segment's first frame on release. Labels and the trigger show Max 梁祖-style suffixes. The setting persists in localStorage.
  • Big Fat Fish thumb — optional, off by default. Replaces the slider thumb with an 8-frame running chibi fish sprite. The idle animation loops at 720ms, speeds up to 420ms while dragging, and freezes under prefers-reduced-motion. Toggle it in DSH Settings → General → Big Fat Fish slider; changes apply immediately and persist in localStorage.
  • High / Extra ripple field — High and Extra now show a sparse blue / purple dot-matrix field with random flicker and radial water ripples around the thumb, as a lighter prelude to the Max pixel field.
  • Max / Ultracode treatment — the model's max/ultracode level turns the slider into an animated purple pixel field, and the Max label becomes a flowing multi-color gradient text.
  • Localized and theme-aware — ships with English and Simplified Chinese dictionaries and follows DSH light/dark design tokens.
  • Accessible — keyboard-operable slider (arrows, Home/End, PageUp/PageDown), ARIA labels, focus management, and prefers-reduced-motion support.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev logicprobe 下一个 Next dsh-chatsync →