Introduction¶
When composing a conversation in DeepSeek Harness (DSH), the model menu below the Composer usually appears with Model and Reasoning first, then the Agent Teams switch is appended to the third row via the conversation.input.model.options slot. When the cursor first enters the menu, it is very easy to accidentally trigger that row and turn on team mode. dsh-team-switch-place is a DSH plugin that only works on the Web client; it moves the Teams switch to the first row of the menu in the browser. The logic and requests are consistent with the official switch, and it does not change Host-side tools or prompts.
Below, the plugin is explained by positioning, capabilities, installation and usage, and limitations; facts come from its GitHub repository and SkillHub directory page.
What is it¶
- Name:
dsh-team-switch-place(Repo:zrrrrrrr77/dsh-team-switch-place) - Maintainer: zrrrrrrr77
- Category: Client (
dsh.client.platform: web) - Version: 0.1.0 (based on
package.json) - License: MIT
The plugin injects client.js via cordis.patch.yml, moving the unique row with role="switch" to the front of the row container in the Composer’s model menu DOM; the Host side of index.js is empty, occupying no tokens and initiating no model requests.
Core Features¶
-
Teams switch displayed on the first line
When opening the model menu under the Composer, the Agent Teams switch is located on the first line, followed by Model and Reasoning; the switch component, state, and requests are the same as when the plugin is not installed. -
Positioned by structure, independent of UI language
It finds the unique row withrole="switch"insiderole="menu", independent of text, ensuring consistent behavior across multilingual UIs. -
Does not modify official deliverables
It does not patch the official package or fork built-in resources; after disabling or uninstalling the bundle, the official order is restored every time the menu is opened (Teams remains on the third line). -
Zero burden on Host side
The README states the Host side is empty: no tools, no prompts, no model requests. -
Intentional differences in keyboard behavior
-Tab: Skips the switch and lands on the lowest Reasoning row (or Model row if the current model does not have an effort tier), rewriting the focus order only when the menu is open, focus is on the trigger, and the key pressed isTab.
-↑/↓: Navigates in visual order, starting from the first line (the switch).
Installation and Enablement¶
DSH requires engines.dsh to be >=0.2.2-rc.3. The installation method given by the official README is:
dsh plugin --profile web add dsh-team-switch-place
On desktop, the package name can also be entered in Plugins → Add plugin; for local development, the absolute path of the bundle can be filled in. After installation, a hard refresh of the page is required (Ctrl+Shift+R): the startup manifest is generated per page, and the newly installed client bundle needs to be loaded after the refresh; if it is still ineffective, DSH can be restarted once and then refreshed.
Note: The plugin runs in the browser with the permissions of the current DSH process. Before installation, it is advisable to view the source code and the MIT license yourself; the community directory SkillHub has no official affiliation with DeepSeek/Quant, and is an independent entry in the community “everything is a plugin” ecosystem.
Typical Usage¶
There is no need to “enable plugin features” separately in settings. After installation and refresh:
- Open the model menu at the Composer in the root session.
- The first line is the Agent Teams switch; toggle as needed.
There are no additional configuration items; no environment variables or dsh configuration fields are listed in the README.
Applicable Scenarios and Limitations¶
Who is it for
- Frequently switches Teams in the Composer model menu and wants to reduce the probability of “accidentally triggering the third row”.
- Only uses Web / Desktop Web views, and the Composer model menu is in the root session.
Scope explicitly excluded by documentation
- The
/modeldialog, sub-agent sessions, and the model/reasoning panel after drilling down are not affected. - Relies on the current official menu structure (
role="menuitem"rows +role="switch"rows inside the menu); the plugin may become ineffective if there is a major upstream change, and the menu will remain in its official state if identification fails. - If another plugin later inserts a switch into the same menu, only the first found switch row will be moved up.
- If the upstream code moves the switch out of the menu, this bundle will no longer take effect.
Development and self-check (maintainer documentation):
node --check client.js
node simulate.mjs
client.js uses MutationObserver to listen to the portaled menu and adjust row order; tools/asar.mjs is only used to read the built-in source code from app.asar in the installation directory in read-only mode, and is not released with the package.
Conclusion¶
dsh-team-switch-place solves the accidental trigger problem caused by the position of the Teams switch in the Composer model menu using a minimal client injection, without changing the behavior of the team switch itself. For installation commands, limitations, and source code details, refer to the repository README.
- Directory Page: https://www.skillhub.cn/plugins/zrrrrrrr77/dsh-team-switch-place
- GitHub: https://github.com/zrrrrrrr77/dsh-team-switch-place