dsh-explain-assistant: A read-only "Explainer" beside the main conversation

Introduction

When running the main agent in the DSH Web GUI, two awkward situations come up frequently: a task may take a long time, with no “human-readable” output for several minutes in the middle, leaving you unsure whether it is progressing normally, stuck, or going off track; or the output is a screen full of commands and file names, which people without a development background can hardly map to how far the project has progressed. Typing “what are you doing right now?” into the main conversation input box would inject into the context and potentially interrupt the task being executed.

The following introduces the community plugin dsh-explain-assistant (maintainer: yunliya-cuter, category: client-side): it provides a “?” entry in the top-right corner of the main conversation. Clicking it opens a standalone floating window that explains, in plain Chinese, what the main agent is doing. It is read-only: it does not send messages to the main agent, does not modify the main context, and the main agent will not notice that you are asking questions alongside it.

What This Is

dsh-explain-assistant is a plugin for DSH (DeepSeek Harness)’s Web GUI: a standalone floating window plus a separately selectable model. Based on the main agent’s tool calls and execution results (and optionally the step cards of the main conversation), it provides explanations and follow-up questions. It does not execute commands and does not write files to the workspace.

Core Features

Watch Progress in Plain Language

The assistant reads the main agent’s tool calls and execution results, not just the final summary, so it can answer “which step is running, and did it succeed?”. Evidence is graded and labeled: observed / reported only / unknown; when information is insufficient it always states “this step did not provide enough information” rather than filling in empty talk.

Each explanation is organized around four elements: what it is doing, why it is doing it, actual output, and where it can be adjusted (so you can ask “is this step necessary?” or “what should come next?”, without it automatically changing anything). Built-in term glossary (e.g., tool calls, terminal, context, etc.) — when such terms appear they are explained in a plain sentence right then.

Don’t Disturb the Main Agent

Main agent Explain assistant
Where to ask Main conversation input box ”?” floating window in the top-right
Whether it interrupts Occupies context Independent request, does not write to main conversation
Answer model The one doing the work The model you select separately in DSH
Capability boundary Executes tasks 7 read-only tools, no execution, no writes

The tool whitelist is enforced on the host side; out-of-bounds paths (absolute paths, .., symlinks escaping the boundary) are rejected with a Chinese reason. Assistant Q&A does not inject into the main agent’s context, does not cancel the main task, and does not overwrite the input box draft.

UI and Persistence

  • ”?” in the top-right corner; shows ”? ·” when a new answer arrives (unread state persists after a hard refresh).
  • Floating window titled “Explain assistant”; on first open it provides four quick questions; you can optionally choose “Select main conversation content”, then click a step card or assistant report in the main conversation to ask follow-ups about that item.
  • The window can be dragged and resized; supports /compact (compresses only the context that the assistant references afterwards; the full Q&A remains viewable); the round indicator in the bottom-right shows the assistant itself’s usage (estimates are labeled “estimated”; when no capacity info is available it shows “usage unknown”).
  • One record per main conversation: $DSH_HOME/explain-assistant/sessions/<main conversation id>.json; when the main conversation is archived, the corresponding records and image snapshots are conservatively cleaned up.

When no model is selected, no request is sent; when the model is unavailable, basic locally-generated explanations can still be viewed, labeled as non-model explanations. The default overall timeout is 300 seconds, idle timeout 120 seconds, which can be tightened via environment variables (invalid values fall back to defaults).

Environment Requirements

Item Requirement
DSH 0.1.7-rc.2 (the environment actually tested per the README; depends on connection / sessionQuery / fs / attachments / llm / tokenMeter services and client slots)
profile web (only meaningful for the Web GUI)
Runtime lib/ is bundled in the repo; no local build is needed to install and use

Installation and Activation

Replace web with the profile name you actually use:

dsh plugin add --profile web 'git+https://github.com/yunliya-cuter/dsh-explain-assistant.git'

The package includes cordis.patch.yml; after installation DSH writes the bundle into the profile’s dsh.profile.bundles and reassembles it, so no manual configuration changes are normally needed. After installation, refresh the browser (F5).

Verification steps:

  1. Open any main conversation; a ”?” should appear in the top-right toolbar.
  2. Open the floating window, select a model under “Model” (if none is selected no request is sent), then click a quick question.
  3. Within a few seconds you should see a plain-Chinese answer; the round indicator in the bottom-right shows usage or “usage unknown”.

Uninstall:

dsh plugin remove --profile web dsh-explain-assistant

Typical Usage

  1. When the main agent has had no output for a long time, open “?”, ask “what is it doing right now”, and judge from the evidence grading whether it is stuck or off track.
  2. When you need to review or follow progress without writing code, use quick questions or free-form follow-ups, and let the explanation avoid jargon piled up.
  3. When in doubt about a particular step: in the floating window choose “Select main conversation content”, then click the corresponding step card in the main conversation, and ask “why is this step done this way” or “where can it be adjusted”.
  4. When the assistant’s context gets long, use /compact in the floating window to tidy up what is referenced afterwards, without affecting the saved full history.

When to Use and Caveats

Better suited for: wanting a side-channel view of progress during long-running tasks; non-developer roles who need to grasp the project’s stage; wanting advice without personally editing code or interrupting the main agent; wanting explanations tied to the tool trace rather than just listening to the main agent’s self-report.

Not suited for: expecting the plugin to execute for the main agent, auto-monitor alerts, or auto-correct — this plugin is a you-open-it-on-demand read-only commentary; for themes or UI changes, look at other plugins (the README mentions dsh-warm-ui as an example). The assistant is an independent LLM request, isolated from the main agent’s conversation, but the same account may share costs and resources, and the plugin does not promise zero contention.

Before installation: the plugin runs with the permissions of the current DSH process, and host routes are mounted under /api/explain-assistant/; before installing you should inspect the repository source code and LICENSE yourself. The README also lists known limitations such as in-memory state of archive tombstones, old records lacking recoverable evidence, and usage being a heuristic estimate — check the “Known limitations” section of the GitHub README before use.

Conclusion

dsh-explain-assistant moves “asking about progress, asking what’s going on” out of the main conversation into a side-channel floating window: it only explains, never acts; graded evidence and plain-language four-element explanations reduce the opacity of long-running agent tasks. The plugin belongs to the DSH community ecosystem (SkillHub directory; no official affiliation with DeepSeek / High-Flyer). Install and try it from the directory page or GitHub as needed.

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

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

Xiaoye