mobius/dsh-performance-slider
mobius★ 0JavaScript最后同步: 2026-08-19
Codex 风格 6 档性能滑杆:每档 = 模型 + 推理等级,并切换 31 张本地人物背景。 / Codex-style 6-level performance slider for DeepSeek Harness (dsh web).
README 摘要
dsh-performance-slider 中文: DeepSeek Harness( dsh web / dsh-desktop )的 Codex 风格 6 档性能滑杆。每一档同时切换 模型 + 推理等级 ,并换上对应的人物背景。 English: A Codex-style 6-level performance slider for DeepSeek Harness. Each level maps a model + reasoning effort and a cutout background. 它复刻 Codex 桌面端的性能滑杆交互:一个 6 段式滑杆,每一档同时对应一组 模型 + 推理等级(reasoning effort) 。拖动时会在 31 张本地 cutout 人物帧 ( demo/pics/cutout/frame-00.png … frame-30.png )之间连续切换背景,松手后 吸附到最近的档位(帧 0 / 6 / 12 / 18 / 24 / 30 )。图片由插件 host 侧从 /plugins/dsh-performance-slider/frames/… 提供。 模型切换时,插件会优先选择“实际声明了该推理等级”的 provider/model; 如果某个模型没有声明 off 或 max ,DSH 本身也会拒绝该等级。 默认模型 id 是 DeepSeek 官方路由的 deepseek-v4-flash / deepseek-v4-pro 。 如果你的自定义 provider 使用了别的模型 id,改 lib/client.frames.js 里的 LEVELS 表即可(也支持在 demo/index.html 里先预览)。 目录结构 安装到 dsh web profile 需要 pnpm ( dsh plugin 本质是转发 pnpm)。本包声明了 dsh.bundle , dsh plugin add 会自动挂上 cordis.patch.yml ,一般不用再手改 profile。 然后重启 dsh web (dsh-desktop: Server → Restart dsh web )。 安装完成后,打开任意普通会话,滑杆会出现在输入框上方 ( conversation.input.dock ),点击 1–6 档即可切换模型 + 推理等级, 同时整个 Harness 背景会切换到对应的人物图片。选择会同时写入浏览器 localStorage 和一个 host-scoped cookie(端口无关),因此即使 dsh web --port 0 每次使用随机端口,下次打开也能自动恢复背景档位。 卸载 并从 /.dsh/profiles/web/cordis.patch.yml 中删除 - insert: ... …
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784