Repository navigation
Releases: yuhub233/dsh-effort-slider
Release list
v1.1.0 — English UI
科幻风推理档位滑条 + 两个模式开关的 DSH 客户端插件。
本版把界面全部改成英文,并补齐了构建与测试的工程化。相比 v1.0.0 共 30 个 commit。
界面全英文
- 档位名、说明、皮肤名、
aria/title、失败提示全部英文:Low / Medium / High / Very High / Max / Ultra。 - 模型目录若自带中文档位名,不再直接上屏(只在与界面语言一致时才采用目录文案)。
- 面板标题
Reasoning effort;Ultra 说明MAX effort, maximum rigor.;皮肤名Hologram / Liquid metal / Fluid。
测试与 CI
- 新增
test/client-lifecycle.test.mjs(14 项:请求超时/中止、StrictMode 重放、跨会话提交不串号、Ultra 水合、忙状态与截止时间)。 - 新增 GitHub Actions:
ubuntu-latest×windows-latest,Node 22 / 24,四个作业;断言提交的构建产物与源码逐字节一致,并跑全部六个测试套件。 - 修复 Windows 检出把
lib/client.js变成 CRLF、导致产物比对必然失败的问题:build.mjs行尾归一 +.gitattributes(* text=auto eol=lf)。
文档
- 双语 README:
README.md/README.en.md,文件顶部互相切换。 - 文档图全部重拍(流体皮肤、英文界面、紧贴控件裁剪)。
修复
- 写皮肤偏好不再抹掉同一份状态文件里的会话记录(改成读-改-写)。
安装
解压 dsh-effort-slider-1.1.0.zip 到 <DSH_HOME>/plugins/,然后重启 DSH;或者:
dsh plugin add github:yuhub233/dsh-effort-slider需要 DSH Desktop ≥ 2.0.9。zip 里就是构建好的插件(含 lib/client.js),不需要自己构建。
校验
- 产物:
lib/client.js229007 B · sha25660050d879c09e1a9ee37063daac7a3e048ea519f589e7435826fcb56315c0796 - 本机六套件:smoke ✅ / metrics 17 / turbo 42 / host 49 / fluid 120 / client-lifecycle 14
English
A sci-fi reasoning-effort slider for DSH, with an Ultra level, a lightning orchestration mode and a live subagent tok/s readout.
Since v1.0.0: the whole UI is in English; a new client-lifecycle test suite (14 cases) and GitHub Actions CI were added, together with a CRLF fix that keeps the committed bundle byte-identical to the sources; the README is bilingual; all screenshots were re-shot; and writing the skin preference no longer wipes session state from the same file.
Install: unzip dsh-effort-slider-1.1.0.zip into <DSH_HOME>/plugins/ and restart DSH, or run dsh plugin add github:yuhub233/dsh-effort-slider.
v1.0.0 — Ultra & Lightning
科幻风推理档位滑条 + 两个模式开关的 DSH 客户端插件。
这个版本有什么
滑条 — 真实档位(含 MAX)之上多一块 Ultra 板位,拖动到它即:档位钉在 MAX、同时打开 Ultra 模式。Ultra 面板有专属外观(白炽外壳、缓慢扫光、旋钮光晕),短路时整套动画降级为静态。
Ultra 模式 — 不是提高档位(档位已经封顶),而是换一套做事方式:先定义 done 与验收动作、证据高过声明、报告前做一轮自我反驳、症状级修复必须自首、验证与推断分开标注。策略文本按会话精确注入,且只在文本变化时进历史。
闪电模式 — 把活分出去:父 agent 只做规划/拆分/派发/整合/汇报,正交切分而不是复制提示词,一条消息里并行派发,给每个子代理自包含的验收标准与长度上限,单文件单写者,同时在飞不超过 6 个,汇总后自己复跑一遍组合验证。卡点时可以短问一次 Astra(该通道不吃长输入也不产长输出,没有就跳过)。
读数 — 面板上实时显示子代理舰队合计 tok/s(完整整数,不用 k)与在飞数量。只统计被跟踪会话的后代。
皮肤 — fluid(默认)、holo、chrome 三套,客户端持久化。
安装
dsh plugin add github:yuhub233/dsh-effort-slider
装完重启 DSH。身份链有四处必须同名(package.json 的 name、cordis.patch.yml 的 name、profile 的 dsh.profile.bundles、profiles/<p>/node_modules 的 junction),否则启动阶段会抛 package identity is invalid for <name>。
运行时依赖
零。只用 Node 内置模块与宿主加载器提供的 React(peer,不打包),不联网、无遥测。
随仓库分发的 skill
skills/ 下是 4 个 superpowers skill 的逐字节副本(obra/superpowers,MIT,pin 8ca22dba9a94f28898bbce59f2537ff4d87c747d),策略文本会按需引用它们;没装也能跑,只是少了那本完整手册。出处见 THIRD-PARTY.md。
完整性(tag 时刻的 sha256)
lib/client.js 215812 B f6f4d48e417f07ec2f508174d922cac0d4e254873287d52be68febf45f2313ed
client.js 146676 B e4328b609f53349f9bdc22f9102cfafdc48cd2f2f1f1f6126fc65b78ae7cb4fc
effort-slider.css 67270 B b453cc8f9e7693c5664cea2589613f64f52d2f77eac0e8512c9c6f502e1b0204
index.mjs 25302 B 614592cc90fed2b92c6922b771cb4edc7239d92c1c4eebcb306d174135f40bd4
English
A sci-fi reasoning-effort slider for DeepSeek Harness with two extra modes: Ultra (rigor policy — define done, evidence over claims, adversarial second pass) and Lightning (orchestration policy — you delegate, fan out orthogonal work, one writer per file, max 6 children in flight). Ships with a live fleet tok/s readout, three skins, zero runtime dependencies, and MIT-licensed superpowers skills bundled in skills/.
MIT licensed.