Introduction¶
When running tasks using the DSH Web Driver Agent, a practical issue arises: it is difficult to see what it is doing at the moment during the round—such as which step the tool calls have reached, whether sub-agents are collaborating, how many tokens have been consumed, and roughly how much that translates to in RMB. These details are usually checked by scrolling through the logs after the round ends. dsh-plugin-mission-control solves this by placing the real-time state of the current DeepSeek Harness Session in a compact panel below the Session list, which can be expanded into a full-screen dashboard for detailed inspection.
What is this¶
dsh-plugin-mission-control is maintained by Jian-Sparrow, current version 0.3.1. One-sentence positioning: Provides real-time observability for the current DeepSeek Harness Session—displaying Agent activity, tool calls, sub-agent collaboration, authoritative token counts, and CNY cost estimation.
DSH’s philosophy is “everything is a plugin,” and this plugin is mounted into the Web profile via a single line of Cordis configuration. There are two design points to clarify before use:
- It only displays Session facts recorded by Harness; it does not add model tools, prompts, or hidden reasoning to the model context, and the dashboard does not render the model’s Chain of Thought.
- It is live-only: it only maintains the subscription while the panel is visible; it does not provide post-hoc playback.
Core Features¶
Global HUD¶
The HUD displays permanently: connection status, total tokens, four token buckets (Input / Output / Cache read / Cache write), recent token velocity, estimated CNY cost, number of Agents, number of running tools, and diagnostic information. Token fields come from Harness’s authoritative token counting; recent token velocity is calculated based on a rolling window configured by velocityWindowMs.
Agent Tree and Real-time Tool Stream¶
The panel renders an selectable Agent tree with the current Session as the root, showing sub-agent collaboration as well. Once an Agent is selected, the token totals and tool rows filter together.
The tool stream displays row by row: ownership, duration, result status, with a maximum limit on the number of rows (maxLiveRows), and optional payload preview.
Two Entry Points and Full-screen Dashboard¶
There are two native entry points: the current Session header, and the bottom of the DSH Web sidebar (◎ Mission Control next to Settings). The sidebar entry is disabled when no Session is selected.
Expand Mission Control, which has an embedded title bar, expands into a full-screen dashboard: Agent topology on the left, real-time tool stream on the right, and Token/CNY HUD on top. Restore Mission Control reverts to the embedded view. Expand and Restore do not reconnect SSE, reset Agent selection, or clear tool rows. Escape closes either view.
Live-only Subscription¶
While the panel is visible, the plugin only maintains a single same-origin SSE subscription, following the global current Session; it freezes the last snapshot during reconnection. The subscription is released in the following cases: closing the panel, collapsing the sidebar, switching Sessions, unloading the plugin, or browser disconnection.
Installation and Enablement¶
Dependencies:
- DeepSeek Harness
0.1.0-rc.7 - DSH Web profile
- Node.js
^22.19.0or>=24.0.0 - Corepack with pnpm
First install the plugin, then verify the combined configuration line, and finally start DSH Web:
dsh plugin --profile web add dsh-plugin-mission-control
dsh --profile web --dump-config
dsh --profile web
The plugin package inserts a mission-control line into the Cordis configuration. Its default layer is equivalent to:
- id: mission-control
name: dsh-plugin-mission-control
config:
previewMode: names-only
tokenPublishIntervalMs: 250
velocityWindowMs: 5000
maxLiveRows: 300
If you want to use a local checkout instead of npm install, pass the path to the same command:
dsh plugin --profile web add ./dsh-plugin-mission-control
Typical Usage¶
- Start DSH Web and start or open a Session there.
- Select Mission Control from the Session header, or click ◎ Mission Control next to Settings in the sidebar; the sidebar entry is disabled when no Session is selected.
- For detailed inspection, click Expand Mission Control on the embedded title bar to enter the full-screen dashboard, then click Restore Mission Control to return to the Session list panel.
- When switching the selected Session, the panel remains open, the real-time stream follows the new current Session, and the subscription is released and rebuilt.
- Modify configuration: completely override the
mission-controlline incordis.patch.ymlin the profile or user directory.
Configuration¶
The meaning of a few fields in the default layer above: previewMode controls the granularity of tool payload preview, tokenPublishIntervalMs is the merge interval for token updates, velocityWindowMs is the rolling window for recent token velocity, and maxLiveRows is the upper limit on the number of tool rows retained.
All configuration fields are validated when the Cordis plugin loads; invalid configurations will explicitly error (fails loudly) rather than being silently ignored.
Cost Estimation¶
Cost estimation is performed completely offline: the plugin comes with a versioned pricing table and only prices requests matching the deepseek-official route in the directory, using peak/valley rates; the HUD will report the pricing step ratio. Steps with unknown providers, model aliases, unknown models, missing request routes, or timestamps remain unpriced, rather than being treated as free.
The built-in pricing table was verified against the DeepSeek official Chinese pricing page on 2026-08-18.
It is important to emphasize that: the amounts are estimates, not actual bills; they do not include taxes, account terms, promotions, rounding rules, or billing adjustments on the provider’s side; the plugin does not query the account or billing APIs while running.
Privacy and Network¶
previewMode controls the visibility of tool payloads, with three levels:
names-only(default): Shows only tool names, ownership, duration, and result status.redacted: Displays bounded parameters and result summaries, with best-effort redaction on sensitive fields and credential-style text; redaction is best-effort and does not constitute a security boundary.full: Displays complete payloads, with a screen warning retained on the dashboard.
Regardless of the level, the dashboard does not render the model’s Chain of Thought or hidden reasoning, but only displays Session facts recorded by Harness.
Network exposure is handled by DSH Web: the plugin uses a same-origin endpoint, inheriting the Web profile’s bound address, trusted-host validation, authentication, and reverse proxy behavior. Do not expose DSH Web to untrusted networks just to view this panel.
Applicable Scenarios and Notes¶
Suitable for developers running multi-agent or long tasks in DSH Web who need real-time control over tool calls and token costs.
Notes before use:
- The plugin runs with the permissions of the current dsh process; check the source code and license before installing. The repository contains a LICENSE file, but verification this time could not confirm the specific license type, please refer to the repository content.
- Version 0.3.x adapts to the Harness rc.7 sidebar DOM (rooted in the
sidebar.footer.actionslot). Future Harness sidebar markup changes may require plugin updates; if so, the plugin will explicitly fail with a named integration error rather than silently mounting in the wrong location. - Cost figures are for estimation reference only and should not be used as a billing basis.
- The panel is live-only and only reflects the state during the subscription period; the subscription is released immediately after closing the panel.
Conclusion¶
To recap: dsh-plugin-mission-control turns the current Session in DSH Web into a watchable real-time panel—Agent tree, tool stream, token count, and CNY estimation all on one screen—without injecting any content into the model context. If you run tasks in DSH Web daily, it is worth installing into your Web profile to try out.
- Community Directory: https://www.skillhub.cn/plugins/Jian-Sparrow/dsh-plugin-mission-control
- GitHub Repository: https://github.com/Jian-Sparrow/dsh-plugin-mission-control
The directory link points to a community-maintained plugin directory, which is an independent site with no official affiliation with DeepSeek or HF.