rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
LoveIrishCoffee/dsh-effort-ultra
DSH 原生推理强度控件:Codex 风格蓝紫滑条、连续拖动与六档 Step(Off/Low/Medium/High/Xhigh/Ultra),支持官方会话模型切换和档位菜单。 / Native reasoning control for DSH: a Codex-style blue-violet slider with continuous drag, six Step tiers (Off/Low/Medium/High/Xhigh/Ultra), official session model switching, and a direct tier menu.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LoveIrishCoffee/dsh-effort-ultra
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness composer 使用的原生推理强度控件。它把模型选择和 reasoning effort 都接到 DSH 官方会话服务上,提供接近 Codex 的蓝紫渐变 UI,同时保留旧插件的业务逻辑。
A native reasoning-effort control for the DeepSeek Harness composer. It uses the official DSH session services for model and effort selection, with a Codex-style blue-to-violet UI.
off、low、medium、high、xhigh、Ultra。off 是真正提交给会话服务的关闭档位。控件占用 conversation.input.model 座位(priority -20)。如果同时安装了旧的第三方档位控件,
本插件会优先显示;卸载后座位会正常释放。
每个模型支持的档位来自 DSH 官方模型目录中的 reasoning 声明,插件不会猜测或伪造档位:
{
defaultEffort: 'high',
efforts: [
{ id: 'low', name: 'Low' },
{ id: 'medium', name: 'Medium' },
{ id: 'high', name: 'High' }
]
}
如果模型没有声明 defaultEffort,界面会显示“跟随模型默认”。例如当前的
step-5-preview 没有默认档位声明,所以切换到它时显示跟随默认是正确状态;点击三角菜单或滑条即可选择一个显式档位。
从 GitHub 安装:
dsh plugin --profile <你的 profile> add github:LoveIrishCoffee/dsh-effort-ultra
将来发布到 npm 并被市场目录收录后,也可以使用包名安装:
dsh plugin --profile <你的 profile> add dsh-effort-ultra
安装后重启 DSH。
插件不依赖旧插件,也不修改其他插件的界面。浏览器半边使用 DSH 官方服务:
remote.session.modelCatalog:读取可用模型及其 reasoning 声明;remote.session.selectModel:提交模型和 reasoning effort;sessions:读取当前会话 projection;slots:注册 composer 座位。off、六档 Step 值以及“跟随模型默认”都通过官方会话选择路径保存,刷新或切换会话后仍以宿主真实状态为准。
npm install
npm run build
npm test
npm run typecheck
npm run check:dist
测试使用宿主服务 stub 加载真实的 lib/client.js,覆盖座位注册、目录读取、模型切换、连续拖动、六档菜单、
默认值恢复、错误提示、卸载清理和包契约检查,不需要浏览器。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: model、模型、推理。