Introduction

DSH supports extending the web interface via plugins. dsh-width is a plugin for DeepSeek Harness web that solves the interface width adjustment problem: it adds a “Display” page in “Settings” with two sliders to adjust the width percentage of the input box and content display area. Changes take effect immediately and are persisted.

What is this

dsh-width is a DSH web plugin: it adds a “Display” page in “Settings” with two sliders to adjust the width percentage of the input box and content display area respectively.

Target platform:

dsh --profile web

GitHub repository:

https://github.com/Hanice404/dsh-width

License:

MIT

Core Features

Verified settings items and behaviors are as follows:

  1. Adds two sliders in “Settings → Display”.
  2. Adjusts the width percentage of the content display area and input box respectively.
  3. Slider range:
30% – 100%

Step is:

5%

Default value is:

100%
  1. Each slider has a “Reset” button for one-click restoration.
  2. Changes take effect immediately, no refresh needed.
  3. Settings values are persisted to:
~/.dsh/settings.yaml

The corresponding configuration section is:

dsh-width
  1. The menu row of the new session hero page aligns with the left edge of the input box; the session task list width syncs with the input box width.

Installation and Enablement

First install the plugin, then restart dsh web.

Install from GitHub:

dsh plugin --profile web add https://github.com/Hanice404/dsh-width/archive/refs/heads/main.tar.gz

Install from local directory:

dsh plugin --profile web add link:/path/to/dsh-width

You can also use pnpm in the profile directory:

cd ~/.dsh/profiles/web && pnpm add /path/to/dsh-width

After installation, restart DSH web. Stop the current dsh web first with Ctrl+C, then run again:

dsh web

Legacy DSH Settings Namespace

dsh-width requires DSH 0.1.0-rc.6 and later.

  • 0.1.0-rc.7 and later: The settings namespace is auto-exposed; just restart dsh web after installation.
  • 0.1.0-rc.6 and earlier: If the sliders in “Settings → Display” are disabled, you need to run the command to expose the settings namespace once:
npm run expose

This command is equivalent to:

node scripts/patch-apiproxy.mjs

Restart dsh web after execution:

dsh web

Typical Usage

  1. Open “Settings → Display” in DSH web.
  2. Drag “Content Display Area Width” to adjust the message content column width.
  3. Drag “Input Box Width” to adjust the bottom input box width.
  4. To restore default values, click “Reset” next to the corresponding slider.

All changes take effect immediately.

The save location is:

~/.dsh/settings.yaml

The corresponding configuration section is:

dsh-width

Customizing Slider Parameters

To modify the slider range or default value, you need to modify both:

  • schema in lib/index.js
  • MIN, MAX, STEP, DEFAULT in lib/client.js

Compatibility and Dependencies

Target platform:

dsh --profile web

Version requirements:

  • DSH 0.1.0-rc.6 and later
  • No need to run npm run expose for 0.1.0-rc.7 and later

package.json peerDependencies include:

  • @deepseek-ai/cordis ^4.0.1
  • @deepseek-ai/dsh-settings ^0.1.0-rc.6 (optional)
  • @deepseek-ai/schemastery ^3.18.1
  • react ^18.0.0

Applicable Scenarios and Notes

Suitable for scenarios where you use DSH web and wish to manually adjust the ratio of the message content column and the bottom input box width.

Notes:

  1. The plugin runs with the permissions of the current dsh process.
  2. You should check the repository source code, script commands, and license before installing.
  3. This article is based solely on verified information. Current information does not provide a verifiable directory page URL, so no specific directory page link is provided.

Obtain

GitHub repository:

https://github.com/Hanice404/dsh-width

dsh-width does a very specific thing: it provides two width sliders in DSH web’s “Settings → Display”, taking effect immediately and persisting to local configuration. For those who only need to adjust layout widths, this is a lightweight, resettable, and locally persistent web plugin.