DeepSeek Harness Plugin: idoall/dsh-session-colors

Introduction

When managing multiple workspaces, the workspace list often appears as rows of similar headings. After completing a task, it is difficult to locate the session you were just in—the status indicator shows idle, and the titles blend together. Adding custom colors to sessions is the most direct way to make a specific row in the list quickly identifiable.

Plugin Overview

idoall/dsh-session-colors is a community plugin for DeepSeek Harness, released under the MIT License. It does not modify DSH core code, nor does it rewrite any session or workspace data—it only maintains a simple mapping: “Session ID → A color.”

Core Features

The plugin displays color markers in the sidebar rows of the session list. Below are its main features:

  • Sidebar Markers: The color bar is placed at the left edge of the row, deliberately positioned to avoid the status indicator, ensuring the “which task is completed” information is not obscured.
  • System-Level Color Picker: A built-in full-featured color picker supporting saturation/brightness fields, hue and opacity sliders, HEX and RGBA inputs, as well as screen color picking supported by the browser.
  • Cross-Device Sync: Color markers are stored on the Host side, not in the browser. Therefore, colors selected on one device will automatically sync to other devices (including those accessing via LAN or tunnel).
  • Mobile Adaptation: On mobile devices, the sidebar becomes a drawer, and the color markers follow the drawer display.
  • Automatic Updates: The page re-reads color markers when it becomes visible again and every 20 seconds, requiring no manual refresh.
  • Non-Blocking Design: The color layer is click-through and confined to the sidebar scroll container, preventing it from blocking interface operations. If the storage connection fails, the control area will display a warning icon and the reason.

Installation and Configuration

Before installation, please ensure the environment meets the requirements: DeepSeek Harness with the Web profile, and Node.js 20 or above.

Run the following command to install the plugin:

dsh plugin --profile <profile> add @idoall/dsh-session-colors@latest

If persistent storage in the configuration is required (i.e., data should not be lost after restart), you need to specify dataDir in the profile’s cordis.patch.yml. If dataDir is not specified, markers will only be valid during the lifetime of the Host process.

After installation is complete, you must restart dsh web (because the Host side only loads at startup), then refresh the web interface to see the effect.

Usage Steps

  1. Open the session you want to mark.
  2. Click the color control button in the session header toolbar (shows a palette icon when unmarked, and displays the current color when marked).
  3. Select a color in the pop-up color picker, or directly paste a HEX value. The color bar will immediately appear in the sidebar row for that session.
  4. To clear the marker, open the color picker again, click the “Clear mark” button, or select a transparent color block.

Important Notes

  • The plugin runs with the permissions of the current dsh process; please ensure you trust the plugin source.
  • Since markers are stored on the Host side, changes to colors are usually visible without refreshing the page (if not immediately visible, wait 20 seconds or switch away from and back to the page).

Related Links

  • GitHub: https://github.com/idoall/dsh-session-colors
  • Plugin Directory: https://www.skillhub.cn/plugins/idoall/dsh-session-colors
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye