Introduction

The Web UI for DeepSeek Harness supports feature extension through plugins. During agent development or debugging, developers need intuitive awareness of specific events occurring in a session, such as context window status and session flow. The dsh-elden plugin provides visual feedback for these events by overlaying a screen-covering layer that simulates the classic “YOU DIED” screen from Elden Ring.

Plugin Overview

dsh-elden is a client-side plugin for the DeepSeek Harness Web UI that adds Elden Ring-style event overlays. It is maintained by steven-ngle, categorized as a novelty/cosmetic plugin, and released under the MIT license.

Core Features

The plugin detects edge changes in the session list to trigger overlay display. The supported trigger conditions are as follows:

  • Context window full: Displays CONTEXT WINDOW FULL when the context window crosses the fill threshold (90%).
  • History compression: Displays MEMORY FADED when history records are compressed and removed.
  • Turn ended: Displays TASK FELLED when a dialogue turn ends.
  • Long turn ended: Displays GREAT TASK FELLED when a long dialogue turn ends.
  • Awaiting decision: Displays A CHOICE AWAITS when a question requires approval or an answer.
  • New session: Displays LOST SESSION DISCOVERED when clicking + to create a new session.

Only one overlay is displayed per trigger event, and each trigger has a cooldown period to avoid frequent pop-ups.

Installation and Activation

Run the following command in the terminal to install the plugin:

dsh plugin --profile web add dsh-elden

After installation is complete, start dsh web, and the plugin will be activated. If the installation succeeds, running dsh web --dump-config should show the elden configuration entry in the output.

Usage

The plugin provides console helper functions for testing and adjusting trigger frequency.

Open the browser developer tools for the DeepSeek Harness Web UI and run the following in the Console:

// 播放所有覆盖层
__dshElden.previewAll()

// 显示单个覆盖层,参数为触发器 ID
__dshElden.preview('contextFull')

// 列出所有可用的触发器 ID
__dshElden.ids()

// 设置触发模式:'all' | 'rare-only' | 'off'
__dshElden.level('rare-only')

// 调整触发参数以增加触发频率
__dshElden.options({ contextThreshold: 0.01, longTurnMs: 0 })

Note: Settings made with options() and level() are reset after a page refresh; the plugin does not persist these values.

Notes

  1. Client-side only: This is a pure client-side plugin and does not include audio files or game assets.
  2. Font dependency: The visual styling is based on the Cormorant Garamond font (SIL OFL 1.1 license), with a font subset embedded in the plugin package.
  3. Configuration limitations: Triggers currently cannot be configured through the settings panel and can only be adjusted via the console function __dshElden.options().
  4. Known limitations: Failed turns still trigger TASK FELLED because the session list does not currently have a dedicated failure status marker.

Links

  • Plugin catalog: https://www.skillhub.cn/plugins/steven-ngle/dsh-elden
  • Source repository: https://github.com/steven-ngle/dsh-elden