dsh-session-eva-status: Color-coding Sessions in the Sidebar with EVA Colors

Introduction

In DeepSeek Harness (DSH), the sidebar Session list changes based on statuses such as running, pending interaction, completed but unread, and pinned. The client already provides status dots, selection highlighting, and spinners. If you want to distinguish at a glance in a long list between “needs my click,” “currently open,” and “finished but not viewed”—without maintaining a separate state store or clashing with the official UI styles—the community plugin dsh-session-eva-status offers a read-only, visual-enhancement approach: it holds no state, reads from existing Client services, writes data- attributes to each row, and applies coloring via an injected stylesheet.

What is this

dsh-session-eva-status is a DSH Web-side plugin maintained by WhatCannotBeSaid. It is categorized as “Fun Customization” in the SkillHub directory. It colors Session rows based on official UI states, with a color scheme referencing Evangelion style. The plugin does not poll, does not touch the host half, and cleans up subscriptions, observers, row attributes, and stylesheets upon unmount.

Core Features

The following explains “which official facts are read → what is drawn” (consistent with the README status table).

Row Status Official Fact Read Decoration
Pending Interaction (Approval / Question / Plan Review, etc.) uiSession.sessionStatus.pendingInteraction Full-height vertical bar on the left, breathing animation (~1.6s); uses a specific blue for dark/light themes (from Card C “Newtype” cover: #AAC7EF / #3F629C)
Session currently open in main view retainedBy.mainView > 0 in sessions.list Static red full-height left bar; dark #FF3B30, light #E01B24
Completed but unread sessionStatus.completionUnread Purple #7A4FD6 full-height left bar
Pinned pinnedSessionIds in workspaces.list Row title text becomes a static six-color rainbow (background-clip: text); no vertical bar added to the row itself, official pin icon and sorting remain unchanged
Running / Sub-agent running / Idle / Archived, etc. — No additional drawing; official spinners and archive dimming are preserved

The official priority is: Pending Interaction > Running > Sub-agent > Completed. If a Session has ended but a sub-agent is still running, the official row displays a spinner; the plugin does not mark it as “Completed” to avoid conflicting with the spinner.

The plugin’s own priority is: Pending Interaction > Selected > Sub-agent (yields) > Unread. Rows requiring your action take precedence over the “currently viewing” row; the selected row retains the red bar, and the sub-agent spinner can still be displayed simultaneously.

Design Principle: Shape conveys meaning, color and luminosity convey style. Pinned status only changes title text color, not the pin icon. Dark/light themes are distinguished via body[data-ds-dark-theme]; some colors are independently calibrated for contrast (≥4.5:1) on light backgrounds.

Implementation Details (to help assess compatibility with your DSH version):

  • Row Anchor: [data-row-key="session:<id>"] (rendered by @deepseek-ai/dsh-client-ui-workspace).
  • State Sources: ctx.uiSession.sessionStatus, ctx.sessions.list, ctx.workspaces.list.
  • Vertical bars use the ::before pseudo-element on the row to avoid altering row backgrounds, thus preserving official hover/selection feedback.
  • Uses React-unmanaged data-eva-state combined with a MutationObserver targeting data-row-key to prevent re-renders from clearing markers.

package.json indicates compatibility with dshReleases 0.2.0-rc.2, with harnessRange >=0.2.0-rc.2; License MIT, current version 0.2.0.

Installation & Activation

After installation, you must restart DSH (refreshing the page alone may still use the old bundle). Replace <profile> with your profile name (e.g., web).

From npm registry:

dsh plugin --profile <profile> add dsh-session-eva-status

Or from GitHub:

dsh plugin --profile <profile> add github:WhatCannotBeSaid/dsh-session-eva-status

If you have a local plugin directory, you can also install it as a Profile dependency:

dsh plugin --profile <profile> add <path-to>/dsh-session-eva-status

Configuration

Defaults are written in the cordis.patch.yml provided with the package and can be modified there.

Field Default Description
hideOfficialDot true Hides official status dots on pending interaction and unread rows (replaced by left vertical bars)
breatheMs 1600 Breathing cycle for pending interaction bars (milliseconds, ≥ 200)
colors EVA palette Overrides pending / pendingLight / selected / selectedLight / unread; pending and selected are dark mode values, pendingLight and selectedLight are light mode overrides

Configuration format errors will throw an error during loading; they will not be silently ignored.

Typical Usage

  1. Install the plugin for the specified profile using the command above and restart DSH.
  2. Open the Web client sidebar Session list: Rows with pending approvals or questions should show a blue breathing bar; the current main view Session shows a red bar; completed unread items show a purple bar; pinned Session titles appear in rainbow text.
  3. If official dots duplicate the vertical bars, keep the default hideOfficialDot: true; if you wish to retain official dots, change it to false and test readability yourself.
  4. To customize brand colors, adjust colors or breatheMs in cordis.patch.yml. Save and apply changes via the DSH plugin hot-reload/restart process.

Use Cases & Notes

Suitable for developers who maintain multiple parallel Sessions in DSH long-term, rely on official statuses, and want to scan the list for prioritization at a glance. It belongs to the “Fun Customization” category of visual plugins and does not alter Session logic or permissions.

It is recommended to review the GitHub Source Code and MIT License before installation. DSH plugins run with the permissions of the current dsh process; SkillHub etc. are community directories, have no official affiliation with DeepSeek / High-Flyer, and are not audited or published by official app stores.

When a sub-agent is running, the plugin respects the official spinner and does not overlay “Completed” styles on that row; archived, blank, and other states are not additionally decorated to avoid conflicting with official semantics.

Conclusion

dsh-session-eva-status maps the official status of sidebar Sessions to EVA-style vertical bars and rainbow titles for pinned items. It is read-only regarding the Client, maintains no internal state, and is suitable for scenarios where you want to enhance list readability without forking the UI. Directory page: https://www.skillhub.cn/plugins/WhatCannotBeSaid/dsh-session-eva-status; Repository: https://github.com/WhatCannotBeSaid/dsh-session-eva-status.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye