Persistent agent-preset (mode) selector docked in the composer input bar: switch the mode for new tasks, and set the new-task default from any running session.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:framefutura/dsh-mode-seat
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
A persistent Agent-preset (mode) selector docked inside the DeepSeek Harness composer input bar, next to the model selector.
What it does
- New task (blank session) — click the chip, pick a mode: the preset applies to this new task immediately (the host recomposes with the chosen agent preset).
- Already started session — the current mode is shown read-only; a running task keeps the mode it started with, so picking another entry cannot switch it and does not change anything globally. The chip just explains that the mode is fixed for this task (each task chooses its mode independently).
- Set as new task default — at the bottom of the menu there is an explicit action that writes the global default for future new tasks (
agent-preset-registry/selectedDefault). Only that explicit action affects other tasks; switching a mode inside a new task never does. - Works regardless of the Developer Tools gate — the built-in agent-preset seat only renders when
developerTools: true(it hides the trajectory view / code diff clutter too). This plugin is a standalone chip that does not need that switch and does not bring the clutter back.
The default is stored in the same settings namespace the built-in UI uses (agent-preset-registry / selectedDefault), so new sessions pick it up with the exact same semantics.
Compatibility
- DeepSeek Harness 0.2.x — built and verified against
@deepseek-ai/dsh-desktop0.2.2-rc.1 (cordis~4.1.0). It readsctx.remote.agentPresets.{list,select},ctx.remote.settings.update("agent-preset-registry", …),ctx.sessions.listand theconversation.input.rightslot — all still current. - Since 0.2.2 the host also ships its own preset surfaces (
conversation.hero.agentPreset,conversation.session.header.actions). They do not occupyconversation.input.right, so this chip sits beside them instead of replacing them: same settings namespace, one place to change the default. - No
engines.dshfield on purpose: DSH versions are prereleases (0.2.2-rc.1), and a plain>=0.2.0range would refuse to install exactly those builds (semver excludes a prerelease unless the samemajor.minor.patchappears in the range).
Install
There are three ways to install the plugin.
1. From the plugin market (easiest)
If you have the dsh-market plugin enabled: Settings → Plugin Market → search "mode-seat" → Install.
If the plugin is not listed in the market yet, it will be as soon as the awesome-dsh-plugin catalog refreshes (it is refreshed daily by CI).
2. Directly from GitHub
dsh plugin --profile desktop add github:framefutura/dsh-mode-seat
3. Manually (dev / offline)
- Copy the
dsh-mode-seatpackage folder into your profile'snode_modules(e.g.~/.dsh/profiles/desktop/node_modules/dsh-mode-seat/). - Add
"dsh-mode-seat"to thedsh.profile.bundlesarray in the profilepackage.json. - Restart the harness.
After installing
A full restart of the harness is required (client bundles are composed at boot and cached). Then open any conversation and find the mode chip at the right end of the input bar, next to the model selector.
Usage
- Click the chip (e.g.
标准模式/Standard mode). - In a new/blank task — choosing an entry switches that task's preset only (each task is independent).
- In a started task — the mode is fixed (a running session keeps the composition it began with); choosing an entry just explains this and changes nothing globally.
- To change the default for future new tasks, use the menu's "Set as new task default" action at the bottom.
Development
index.js— host half: an emptyapply(all behavior is client-side).dist/client.js— browser half: awindow.__ModuleLoader__.load({id, factory})bundle registered into theconversation.input.rightslot (id: mode-seat,order: 15).cordis.patch.yml— composition patch that wires the package into a profile's bundle list.
Local install during development: drop the package under your profile's node_modules and add dsh-mode-seat to dsh.profile.bundles in the profile package.json.
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10696
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10696
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8484
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7509
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5395
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1082
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.