Introduction

When developing agents using DeepSeek Harness (DSH), connection interruptions may occur without clear feedback in the Web UI. This can make it difficult for developers to determine the current connection state and reduce development efficiency. To address this issue, the community provides a lightweight plugin that displays a standard reconnection banner when the connection is unavailable.

Plugin Scope

This is a plugin designed for the DeepSeek Harness Web UI, maintained by developer yinren112. Its core purpose is to display the existing ConnectionBanner when a previously connected host becomes unavailable. The plugin aims to resolve the issue of missing visible disconnection states discussed in deepseek-harness #916.

Core Features

  • Reuses existing resources: The plugin does not create its own logic; instead, it reuses Harness public APIs, including the connection.hostDescription source, the shell.overlay slot, and UI primitives.
  • Lightweight implementation: The plugin does not add polling mechanisms or replace the shell.
  • Version requirement: The build targets public DeepSeek Harness plugin API version 0.1.0-rc.5 or later.

Installation and Enablement

Install and enable the plugin using the following commands:

dsh plugin --profile web add github:yinren112/dsh-plugin-connection-banner#v0.1.0
dsh --profile web

Typical Behavior

After installation and running, the plugin behaves as follows:
1. During initial startup: No banner is displayed.
2. Disconnection: After the host connection has first succeeded, a standard reconnection banner is displayed if the connection is lost.
3. Reconnection: When the host reconnects successfully, the banner disappears automatically.

Notes

  • Permissions and security: The plugin runs with the permissions of the current dsh process. It is recommended to review the source code before installation.
  • License: The plugin is licensed under the MIT License.

Conclusion

This plugin resolves the lack of connection state feedback by reusing UI primitives, providing standard reconnection prompts in the Web UI without additional configuration. For more details and source code, please refer to:
* GitHub repository
* Community catalog