dsh-status-turbo: Condensing "Where You're Stuck" into a One-Line Composer Footer Status

Preface

When running long tasks with DeepSeek Harness (DSH), a common scenario is: tool commands have been running for two or three minutes, there are no new logs on the page, and it is uncertain whether the process is still running or has hung. The native composer bottom bar of DSH provides session-level metrics such as turns, steps, tok/s, total tokens, and cache hits, but it does not individually mark “what is happening in the current step, how long this step has taken, how many tokens this step used, or how long it has been without new output.”

dsh-status-turbo is a community-maintained DSH client plugin, published by dgy970516 on the SkillHub Directory and GitHub. It projects the host session logs into an ultra-narrow status display and integrates them into the right side of the native composer status bar. It does not occupy an extra line, nor does it update by polling the host or injecting DOM. The current phase duration is refreshed every second using the client’s local clock, so the numbers will still jump even when the logs are static.

What is this

In one sentence: dsh-status-turbo supplements the native status line at the bottom of the conversation input area with step-by-step information such as “Phase, Phase Duration, Step Tokens, No Progress Alert,” and supports clicking to open a detail panel to view the activity stream and usage summary.

Regarding the implementation, the host projects the status into a wire view named turbo (current document convention version v: 13, totaling 37 keys). The client fixes EXPECTED_V at 13; if the host and client versions do not match, the status bar will display red text “Projection Version Mismatch (Host vN ≠ Client vM)” instead of silently disappearing.

The current version of the plugin is 0.21.2 (see package.json in the repository), licensed under MIT, and the runtime environment requires Node ^22.19.0 || >=24.0.0.

What the status bar displays

The example form of the status bar is as follows (excerpt from README):

● Executing Tool(bash)   2:14   3.1K tok

The meaning of each field is as follows.

Field Meaning
Phase e.g., Assembling Prompt, Requesting Model, Receiving Stream, Executing Tool(<name>), Awaiting Approval, Compacting Context
Phase Duration Refreshed every second, does not rely on push
Step Tokens Cumulative input + output for the current step (since 0.19.2, only the quantity is shown on the bar, full description in title)
No Progress When there is no new output for more than noProgressMs (default 90000 ms), this cell turns yellow and indicates how long it has been stuck (since 0.19.2, a four-character summary remains on the bar, full criteria in title)

It deliberately does not duplicate what the native bottom bar already has: session turns/steps, tok/s, total tokens, session-level cache hits, context occupancy. The cache hit rate for each step remains in the projection data hitRate, but no longer occupies a separate cell.

Since 0.19.2, the reasoning tier (the tier actually sent by B1, taken from the session log request/header) no longer occupies the status bar, as the native reasoning tier selector already displays the same value; tier information remains in the detail panel.

When idle, the status cell will not disappear; it retains the “Last Turn Summary”, e.g., ● Requesting Model · Last turn 42.3s, data comes from idleLine / lastTurnMs sent by the host.

Detail Panel and Activity Stream

Clicking the corresponding area of the status bar expands a detail panel below the input box (slot conversation.input.dock, id dsh-status-turbo.detail); clicking again collapses it. The panel does not render when collapsed or before the first snapshot arrives.

The permanent sections of the panel include: Now, Activity Stream, Current Turn / Last Turn / Cache & Usage / Prefix / Slowest Tools (top 5 by maxMs), Pending Occupancy / Session Rotation / Tool Enhancement / Handoff Document; Recent Slimming (lastSpill) and Recent Faults (hookFaults) only appear when there is actual content.

The activity stream is only stored in an in-memory ring buffer, not written to disk, does not add new dependencies, and does not modify outgoing requests. It records based on logs: assistant/message thinking summaries (truncated to reasoningChars), tool/call tool names and redacted parameters, tool/result results or first few lines of errors, turn/end end reasons. Key values in tool parameters that match redactKeys (case-insensitive, substring match) will be replaced with ***, and circular references are recorded as [Circular].

Host-side Capabilities (Same plugin package as the status bar)

In addition to client projection, the same package also provides several logic related to long sessions and costs on the host side (explained alongside the status bar in the README).

Per-Step Reasoning Downgrade (B1)

When consecutive steps only call read-only tools and there are no errors, the reasoning tier for the current step can be downgraded by one level; as soon as a write-type tool appears or any error occurs, it immediately returns to the original level. The plugin only downgrades and does not upgrade, and does not modify the default model or provider. Related configurations include downgrade (default true), downgradeFloor (default low), minQuietSteps (default 2), and readOnlyTools whitelist. When the criteria are uncertain, execute at the original level; do not cause request failures due to the plugin.

Oversized Tool Result Slimming (B3)

When a single tool result is too large, it is first processed by the host toolResultPruner.pruneContent; if it still reaches spillThresholdBytes (default 32768), it is written to disk by the host spill backend, and an absolute path hint is included in the body. You can use read (offset/limit) or grep to continue viewing.

Cache Prefix Invalidation (B4)

When the prefix is invalidated, a Prefix Invalidated capsule is displayed on the status bar (within the last 5 minutes). Triggers include compaction events and bulk-injection where a single tool/result payload reaches bulkInjectionBytes (default 32768).

Prompts in Tool Returns (C1 / C2 / C3)

Without adding round trips, append brief corrections to the current tool return: lines without evidence (evidenceWhitelist three regexes), read truncation not fully read, garbled or noisy output, etc. The README contains specific text and thresholds (such as mojibakeMinRuns).

Handoff Document Auto-export

Enabled by default (handoffExport: true). When the input tokens of the current step reach handoffExportTokens (default 240000) and have grown by handoffExportMinDeltaTokens (default 60000) since the last export, the session is exported as Markdown to handoffExportDir (default handoff) under the workspace via bili export. If bili is not found, the panel displays gray “bili not found” and it is not recorded in the fault list.

Installation and Enablement

It is recommended to install via the DSH plugin manager, or place the package in the profile’s node_modules and insert it in the profile’s cordis.patch.yml. The instructions in the README are as follows:

# Install into profile (recommended)
# Use DSH's plugin manager to install, or insert this package in the profile's cordis.patch.yml

Manual assembly example (excerpt of common 12 keys, full 46 key default values are subject to lib/state.js · DEFAULT_CONFIG and root cordis.patch.yml):

- insert:
    - id: dsh-status-turbo
      name: 'dsh-status-turbo'
      config:
        statusBar: true
        noProgressMs: 90000
        downgrade: true
        downgradeFloor: low
        minQuietSteps: 2
        spillThresholdBytes: 32768
        bulkInjectionBytes: 32768
        evidenceWhitelist:
          - '/exit code:?\s*0\b/mi'
          - '/(^|\n)\s*(#\s*(pass|tests|suites)\s+\d+|\d+\s+passing|Tests:\s+\d+\s+passed|Test Suites:\s+\d+\s+passed|ok\s+\d+\s+-)/m'
          - '/(^|\n)\s*(Successfully compiled|Compiled successfully|Found 0 errors|\d+\s+files?\s+checked,?\s*0\s+errors|Build succeeded|Done in \d)/mi'
        stuckAction: warn
        stuckRounds: 3
        stuckRepeats: 3
        mojibakeMinRuns: 2

Note: Do not list the same package in both dsh.profile.bundles and the profile’s cordis.patch.yml, otherwise it will be loaded twice.

Typical Usage

  1. After installing and enabling the plugin, open the DSH Web client and observe whether the phase and duration update on the right side of the native status bar in the composer bottom bar during tool execution and while waiting for model streaming output.

  2. When long commands have no logs, check if the current phase duration continues to increase, and whether a no-progress alert appears (default 90 s without new output).

  3. When you need to see recent tool calls and thinking summaries, click the status bar to expand the detail panel and view the latest entries in the activity stream.

  4. If you need to turn off per-step downgrade or adjust the no-progress threshold, set downgrade: false or modify noProgressMs and other keys in the config of cordis.patch.yml (all keys can be omitted, default values are used if omitted).

Applicable Scenarios and Notes

Suitable for developers who frequently run multi-step tool chains in DSH and need to judge “current phase and whether it is stuck” at a glance. Client classification plugin, depends on @deepseek-ai/dsh-client-modules and @deepseek-ai/dsh-client-ui-settings injection (see dsh.client section in package.json).

The DSH ecosystem adopts the “everything is a plugin” approach; SkillHub is a community directory and has no official affiliation with DeepSeek / High-Flyer. The plugin runs under DSH process permissions; please review the source code and license yourself before installation, and evaluate whether host-side behaviors such as B1 downgrade, tool result spill, and handoff export meet expectations according to organizational policies.

Conclusion

dsh-status-turbo uses pure log projection to supplement step-by-step status and no-progress prompts in the composer bottom bar, and optionally expands the detail panel, reducing the uncertainty of “not knowing where it is stuck” during long tasks. To learn more, please visit the directory page https://www.skillhub.cn/plugins/dgy970516/dsh-status-turbo and the repository https://github.com/dgy970516/dsh-status-turbo .

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

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

Xiaoye