Foreword

When using DSH Web, the same conversation often requires different levels of granularity: when debugging, you want to see thinking, tool calls, retries, context, and statistics; in daily use, you don’t want the process noise to overshadow the key points; when only looking at results, you want to collapse the completed process. DshViewModes is a client-side display plugin for DSH Web that renders the same conversation in Verbose, Normal, and Summary modes.

What is this

DshViewModes for DSH Web is maintained by NigelYao and is licensed under MIT. It provides three conversation output modes: Verbose, Normal, and Summary, and supports semantic process grouping.

This plugin only changes the browser-side display and does not modify DSH core files.

Core Features

Verbose: Keep Complete Process

Suitable for debugging. The Verbose mode retains thinking, tool calls, retries, context, and statistics.

Normal: Daily Reading

Suitable for daily use. The Normal mode groups process steps by semantic stages and preserves assistant text as boundaries.

You can click a process title to expand the raw steps, and click the same title row again to collapse.

Summary: View Only Results

Suitable for result-oriented tasks. The Summary mode hides process noise at runtime and displays a live shimmer status; upon completion, it collapses the process into a compact summary.

Switching and State

You can switch modes from the session header controls or use the keyboard:

  • Alt+1
  • Alt+2
  • Alt+3

The default mode is Normal. The selected mode is saved in localStorage and persists after refreshing the page.

Language

Interface text follows the selected language in Harness Settings, switching between Chinese and English.

Installation and Enablement

Before installing, you need:

  • Node.js 20 or higher version
  • DSH with the web profile available
  • Git
  • pnpm in PATH

Installing via the public GitHub address does not require an npm account:

dsh plugin --profile web add git+https://github.com/NigelYao/dsh-view-modes.git

After installing or updating, you need to restart DSH Web. The plugin’s client bundle revision is synthesized at process startup, so changes might not take effect without a restart.

Do not insert dsh-view-modes again in cordis.patch.yml in the profile or home directory; the plugin’s own patch has already registered its bundle ID.

When verifying, you can first check the configuration:

dsh --profile web --dump-config | Select-String "dsh-view-modes"

Then, while DSH Web is running, confirm that /plugins/dsh-view-modes/client.js returns HTTP 200.

Typical Usage

  1. Open a DSH Web session and select Verbose, Normal, or Summary from the session header controls.

  2. Switch modes using the keyboard Alt+1, Alt+2, or Alt+3.

  3. In Normal mode, click a process title to expand the raw steps; click the same title row again to collapse.

  4. After refreshing the page, the previously selected mode will be retained.

  5. If you want the interface language to follow Harness Settings, switch between Chinese and English and check if the UI text changes synchronously.

Use Cases and Notes

Suitable for DSH Web users who need to switch between debugging, daily reading, and result viewing.

When using third-party plugins, it is recommended to check the source code and license first, and confirm that you are willing to run it with the current DSH process permissions. DshViewModes is licensed under MIT and the repository address is https://github.com/NigelYao/dsh-view-modes. The community directory is an independent site, not the official app store; the plugin itself is maintained by NigelYao.

If the behavior after installation does not meet expectations, first confirm whether DSH Web has been restarted and whether /plugins/dsh-view-modes/client.js is accessible.

Links

GitHub: https://github.com/NigelYao/dsh-view-modes

Directory page link: https://www.skillhub.cn/plugins/NigelYao/dsh-view-modes