Introduction¶
When using multiple models in DeepSeek Harness web, if the model selector only displays the model name, it might be difficult to distinguish models with the same name from different vendors; on wide screens, if the message column is still limited by a maximum width, there will be a lot of wasted space.
dsh-chat-tweaks is an enhancement plugin designed for this interface usage: it turns common modifications into independent toggles, placing them in the “Settings → Chat Enhancement” page, and saves the toggle state to local configuration.
What is this¶
dsh-chat-tweaks is a UI enhancement plugin for DeepSeek Harness web, maintained by haiyoucuv, licensed under MIT.
It mainly addresses two interface issues:
- Simultaneously display the provider display name and the model name in the model selector (composer model seat);
- Remove the maximum width limit for the message column/conversation content, making the message column fill the available space.
Each feature has an independent toggle, and changes take effect immediately.
Core Features¶
- Simultaneously display the provider display name and the model name in the model selector (composer model seat).
- Remove the maximum width limit for the message column/conversation content, making the message column fill the available space.
- Provide a dedicated settings page “Settings → Chat Enhancement” with independent toggles for each feature.
- Changes to feature toggles take effect immediately.
- Persist settings values to the
dsh-chat-tweakssection in~/.dsh/settings.yaml. - Extend new UI functionality via the
FEATURESregistry.
Installation and Usage¶
Handling Old Plugin Conflicts¶
If you have installed the old version dsh-model-provider-label, uninstall it first. The old “Display Vendor Name” capability has been merged into this plugin; having both coexist will occupy the same conversation.input.model slot and throw errors.
dsh plugin --profile web remove dsh-model-provider-label
Install the Plugin¶
Install from GitHub:
dsh plugin --profile web add https://github.com/haiyoucuv/dsh-chat-tweaks/archive/refs/tags/v0.1.0.tar.gz
Install from local directory:
dsh plugin --profile web add link:/path/to/dsh-chat-tweaks
You can also use pnpm in the profile directory:
cd ~/.dsh/profiles/web && pnpm add /path/to/dsh-chat-tweaks
After installation, restart dsh web to allow the browser to load the new plugin bundle.
Expose Settings Namespace¶
This version of DSH requires exposing the settings namespace once. If not executed, the toggle on the settings page will appear disabled, write operations will fail, and the error code will be settings-not-exposed.
Execute the idempotent patch script included with the plugin:
npm run expose
Restart dsh web again. After that, the settings toggles can be read and written normally, and values will be written to ~/.dsh/settings.yaml.
Typical Usage¶
Open “Settings → Chat Enhancement” and toggle as needed:
- “Display Vendor Name”: Display the vendor name prefix on the model seat.
- “Remove Content Max Width”: Let the message column fill the available space.
Changes to toggles take effect immediately, no need to restart each time.
Applicable Scenarios and Notes¶
Suitable for use in the dsh --profile web scenario:
- Need to distinguish models with the same name from different vendors.
- Want the message column to fill the available space on wide screens.
- Want each interface enhancement to have an independent toggle and be persistent.
- Want to continue extending new UI functionality based on the
FEATURESregistry.
Notes:
- Target platform is DeepSeek Harness web, version is
0.1.0-rc.6series. package.jsondeclarespeerDependenciesfor multiple@deepseek-ai/*packages.- The plugin runs with the permissions of the current
dshprocess; check the source code, license, and dependencies before installing. - Settings values are saved in the
dsh-chat-tweakssection of~/.dsh/settings.yaml. - If the settings toggle appears disabled, first check if
npm run exposewas run anddsh webwas restarted.
Links¶
GitHub Repository: https://github.com/haiyoucuv/dsh-chat-tweaks