Introduction

During the development and debugging of DeepSeek Harness (DSH), trajectory data—which includes events such as tool calls, turn switches, and assistant replies—is the core reference for observing agent behavior. However, this information is usually scattered across the conversation flow and is difficult to locate quickly. dsh-danmaku aims to use visualization to display these trajectory outputs as real-time danmaku on the chat page, providing an intuitive monitoring view.

Plugin Information

  • Plugin name: biggermax/dsh-danmaku
  • Maintainer: BiggerMax
  • Category: Fun Reskin
  • License: MIT

Core Features

This plugin renders DSH trajectory events as danmaku that scroll from right to left.

  1. Event support: Supports events such as user messages (direct human input only), assistant replies, tool calls, tool results, and turn switches.
  2. Control panel: Provides a pill-shaped control in the top-right corner, including a global danmaku toggle, speed adjustment (60-350 px/s), and edge-parking functionality.
  3. Technical implementation: A pure client-side plugin that uses pointer-events: none to avoid interfering with application interactions; it employs 14-lane scheduling and a deduplication mechanism.

Installation and Enablement

Plugin installation and enablement depend on DSH’s local development environment.

Method one: Runtime injection (no restart required)

dev_inject_plugin /path/to/dsh-danmaku

Method two: Persistent installation (restart required)

dev_install_package /path/to/dsh-danmaku

After installation, refresh the page to see the danmaku effect.

Typical Usage

  1. View the effect: After installation, refresh the page; danmaku will appear at the top of the chat page, scrolling from right to left to display the current trajectory events.
  2. Adjust the speed: Drag the speed slider in the control panel at the top right to adjust the danmaku scrolling speed in real time (range 60-350 px/s).
  3. Automatic parking: Drag the control panel within 48px of the screen edge and release; the panel will automatically dock at the edge and collapse into a small tab. Hover or click to expand it.

Notes

  • Data persistence: Settings (toggle, position, speed) are persisted to the browser’s localStorage with the key dsh.trajectory-danmaku.settings.
  • Deduplication mechanism: Deduplication is based on the key returned by buildViewNode; data from initial loading and historical backfill will not trigger danmaku display.
  • Message filtering: User messages display only direct human input; messages in synthetic contexts are skipped.

Conclusion

dsh-danmaku gives DSH users the ability to convert trajectory data into real-time visual feedback. It is suitable for scenarios that require high-frequency observation of agent state changes during development.