rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Mzys521/dsh-slothy-model-picker
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A Slothy-style model picker plugin for the DeepSeek Harness Web GUI. It replaces the composer's model control with a trigger button, a provider-grouped model list, and a two-stage reasoning-effort slider — over the same per-session model directory used by the built-in picker and the /model popup.
requestAnimationFrame-coalesced drag updates, a locked settle position until the host confirms, and CSS transitions between levels.en / zh) through the host locale service.0.2.2-rc.1 or newer with the Web GUI (ui-conversation).@deepseek-ai/dsh-client-ui-model-selection package (bundled with DSH) provides ctx.modelDirectories; this plugin reads it and does not reimplement model selection.plugin_manager action: install_bundle
target: dsh-slothy-model-picker
The plugin manager resolves the npm package, links it into the profile, and activates the bundle.
The npm package is not published yet. Until the first publish, install from the GitHub Release or the source checkout below. Maintainers: see docs/PUBLISHING.md.
dsh-slothy-model-picker-<version>.tgz from Releases and extract it.plugin_manager install_bundle at the extracted directory.git clone https://github.com/Mzys521/dsh-slothy-model-picker.git
Then point plugin_manager install_bundle at the cloned directory.
pointerup / keyup / blur).Esc and outside clicks close the popup. The popup portals to document.body so the docked composer cannot clip it.directory.select({ provider, model, reasoningEffort })) and applies to the next request; a running step keeps the model it started with.Open Harness Settings → Appearance:
-1.-1000 so this plugin renders the composer model control. Clear a value to fall back to the theme; Reset restores the default mode.localStorage under dsh-slothy-model-picker:appearance:v1.See docs/CUSTOMIZATION.md for the full mechanism.
Tested on DeepSeek Harness 0.2.2-rc.1 Web GUI. The plugin shadows the conversation.input.model seat; if the slot contract changes in a future Harness release, an update may be required. Disabling the plugin restores the shipped picker without a restart.
plugin_manager action: set_plugin target: include:slothy-model-picker enabled: false
plugin_manager action: remove_bundle target: dsh-slothy-model-picker
npm test # node --test tests/
npm pack # build the installable tarball
Layout:
lib/index.js — host half (apply only; rendering is browser-side).lib/client.js — browser half: registers the composer seat and the appearance settings page, subscribes to ctx.modelDirectories, renders with React without JSX.src/ — original extracted sources (ModelPicker.tsx, ModelPicker.vue, types.ts) kept for provenance; not loaded at runtime.tests/ — offline wiring tests with a fake module loader and fake Cordis services.docs/ — installation, development and customization notes.See docs/DEVELOPMENT.md for the release checklist.
MIT © 2026 Mzys521
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。