dsh-steer: Session header status badges and non-interruptive guidance during execution

Introduction

When running long tasks in DeepSeek Harness (DSH), two common UX issues arise: when the interface shows no obvious change for a long time, it is hard to distinguish between “still waiting for a response” and “stuck”; and when realizing the Agent is heading in the wrong direction, users often have to wait for the entire round to finish or send a new message in the main dialog—the latter is usually treated as a new task, effectively interrupting the current work. Official queue and steer channels essentially “send messages as the user,” overlapping with the capabilities of the main input box.

Below is the community plugin dsh-steer (Maintainer: lyonleeeee, Category: Client): It provides a real-time status badge in the session header and offers “in-run steering”—messages are read into the context at the boundary of the current turn and the most recent small step, without interruption or restarting the session.

What is this

dsh-steer is a DeepSeek Harness plugin, current version 0.1.0 (MIT License). It does two things:

  1. Real-time Status Badge: Displays the current phase (Analyzing, Thinking, Outputting, Tool Call, etc.) in the top-right corner of the session header. Clicking it reveals step number, model, and diagnostic information.
  2. In-run Steering: Add or correct instructions via the “Steer” overlay, supporting text and image attachments, and records whether the interjection sent by this plugin has been read by the Agent.

The plugin does not depend on @deepseek-ai packages. It only uses the host’s public ctx.agents, ctx.webServer, and optional attachments, sessionController; routes only accept loopback, with no telemetry or external network requests.

Status Badge

The badge displays a single phase in the order of occurrence, for example: Analyzing → Thinking · N chars this step → Outputting · N chars this step → Running <tool> → Reading tool result, returning to “Working” at the conclusion. Tool phases can include command summaries, such as “Running bash · Run route probes”.

There are two design trade-offs: character counts are tallied by step, resetting at every turn/step boundary to avoid the entire session accumulating into a meaningless large number; the model name is not displayed on the badge—model, provider, context window, and step numbers (e.g., T4·S3) are placed in the clickable details panel.

Elapsed time is calculated by the client’s local clock based on host timestamps; no timers run when idle, and no SSE pushes occur every second. When there is no new progress, it shows “No new delta”; when the real-time source disconnects, it shows “Status real-time source disconnected,” without retaining stale phases. Request failures only display the official failure.code; retries are shown only when llm/retry is actually triggered.

In-run Steering

This is the plugin’s main capability. You input a sentence (can paste images or select files), and it is read into the context at the boundary where the current turn’s most recent small step (one reasoning or one tool call) ends. The task continues execution—no interruption, no restart, no waiting for the whole round to finish.

Implementation uses a custom message kind (source.kind as dsh-steer) combined with agent.steer(). If delivered as a normal user message, the model tends to treat it as a new task, which manifests as an interruption.

The steering box supports attachments, persisted via the host attachments service as persistent references; input drafts are saved per session and not lost upon refresh. The overlay lists interjections sent by this plugin in this session, with each entry marked with its status:

  • ✓ Read, with turn/step marked, e.g., T7·S3
  • · Delivered, not yet read
  • ✗ Not read (turn ended or message discarded)

Clicking an entry fills it back into the input box; unread ones can be resent with one click, reusing original attachments (reuseAtts) without re-uploading. Main dialog chat history is not included in this list.

Interface language can be switched in the details panel: Auto, Chinese, English; the selection is written to ~/.dsh/dsh-steer.lang, not using localStorage.

v0.1.0 deliberately does not provide official queue or official steer channels—both duplicate capabilities of the main dialog/official queue bar; the plugin only retains the non-interrupting delivery path described above.

Installation and Activation

General CLI (replace <profile> with your profile name):

dsh plugin --profile <profile> add github:lyonleeeee/dsh-steer

Desktop version DeepSeek Harness.app uses the app’s bundled CLI:

"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" \
  plugin --profile desktop add github:lyonleeeee/dsh-steer

After installation, restart the app (bundles are read only once at startup). After restart, the status badge and “Steer” button will appear in the top-right corner of the session header.

Data Channels and Security (Developer Reference)

Route Purpose
GET /dsh-steer/state?session=<id> SSE real-time snapshot, pushed only on status change
POST /dsh-steer/steer In-run steering, request body {sessionId, text?, attachments?, reuseAtts?}
GET /dsh-steer/attachment?session=<id>&id=<attachmentId>[&raw=1] Read steering attachments
GET\|POST /dsh-steer/lang Interface language: auto, zh, en
GET /dsh-steer/ping Health check

Request body limits: 3 KB for plain text, 48 MB with attachments (capped above the host imageLimits). Errors return stable error codes (e.g., no-live-agent 409, payload too large 413, etc.); the client maps these to prompts based on language, without exposing raw code strings directly to the user.

In-repo tests: npm test, 38 cases, running on node --test, zero extra test dependencies. Runtime environment requires Node ^22.19.0 || >=24.0.0 (see package.json engines).

Use Cases and Notes

Suitable for: DSH users who need to monitor Agent progress for long periods and want to correct course mid-tool-chain without interrupting the session; scenarios requiring interjections with screenshots and tracking “whether it has been read”.

Notes:

  • The plugin runs with the current dsh process permissions; please read the GitHub source and LICENSE before installation to determine if it meets your security requirements.
  • The community directory skillhub.cn is an independent site, with no official affiliation with DeepSeek / High-Flyer; stars and versions are subject to the repository and directory page (README corresponds to v0.1.0).
  • If the host does not support the attachments API, attachment-related capabilities return 501; if there is no live agent, steer returns 409.

Conclusion

dsh-steer separates “what is happening right now” and “adding a sentence mid-way without interruption” into two lines: the session header badge and the steering overlay. It uses agent.steer() and custom kinds to prevent course corrections from being treated as new tasks. To install or view screenshot instructions, please visit the directory page lyonleeeee/dsh-steer and the repository github.com/lyonleeeee/dsh-steer.

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

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

Xiaoye