DeepSeek Harness Progress Update Plugin

Introduction

When developing agents in DeepSeek Harness, tool calls and status reporting are often scattered across different parts of the system. After each tool execution, the agent needs to proactively report progress to the user or downstream modules; otherwise, it’s easy to lose the thread of what’s happening or leave the execution state unclear. The original package @eddyskywalker/dsh-chatgpt-subscription provides progress-update-related capabilities, but it carries a large number of configuration options and a broad dependency footprint. The dsh-progress-updates plugin introduced in this article extracts and streamlines these modules from the original package, focusing solely on the core functionality and configuration of progress updates.

Plugin Overview

dsh-progress-updates is the “Progress Updates” plugin for DeepSeek Harness. It provides the progress_update tool, system prompt guidance, nudging when the agent goes multiple consecutive rounds of tool calls without reporting, a sidebar progress panel, and a settings section. The plugin is derived from the progress-update module in @eddyskywalker/dsh-chatgpt-subscription 0.71.0 (MIT License) and is maintained by xincy22.

Core Features

progress_update Tool

The plugin registers a tool called progress_update. The agent can call this tool after a tool execution to report progress, including fields such as session ID, title, body, and timestamp. The tool hands these progress entries to a sink for bucketed processing, which can then be used for panel display or reminders.

System Prompt Guidance

The plugin injects progress-reporting guidance into the system prompt, steering the agent to emit progress information in a structured manner during execution. This reduces the likelihood of missed reports or inconsistent formatting.

Nudging After Consecutive Unreported Rounds

When the agent goes through multiple consecutive rounds of tool calls without calling progress_update, the plugin issues a nudge based on a configurable threshold. The default threshold is 8 rounds, and the nudge message follows the style of the original package. The nudge is triggered when both of the following conditions are met (added in version 0.0.3):

  • 8 consecutive rounds without calling progress_update
  • More than 3 minutes have elapsed since the last progress report or the last nudge

This prevents false nudges in scenarios such as consecutive file reads where there genuinely is no new progress to report.

The plugin provides a progress panel in the sidebar for displaying reported progress entries. The panel is injected into the client using styles and identifiers prefixed with dsh-progress-updates/….

Settings Section

The plugin provides a dedicated settings section under “Settings” for configuring progress-update behavior. The available settings include:

  • Master toggle: Controls whether the progress-update module is enabled
  • Nudge reminders: Controls whether the nudge feature is enabled
  • Nudge threshold: Sets the number of consecutive unreported rounds before a nudge is triggered
  • Output language: Sets the language for the panel and nudge messages
  • Open panel: Controls whether the progress panel opens automatically in the sidebar

Compared to the original package, this plugin retains only these five settings. Other toggles in the original package that are tightly coupled to core line configuration (such as cache warm-up, retrieval projection, wait-then-reheat, account cache affinity, plan-mode pipeline, scheduling execution guard, tool runaway governance, agent team strategy segment, media tools, etc.) have been removed to simplify configuration and avoid issues where certain settings could not be written.

Installation and Activation

The repository does not include build artifacts (lib/ is in .gitignore), so you need to build from source first and then install the local copy using file::

git clone https://github.com/xincy22/dsh-progress-updates.git
cd dsh-progress-updates
npm install
npm run build
dsh plugin --profile <profile> add file:$PWD

Alternatively, you can let pnpm fetch from git and build in place:

dsh plugin --profile <profile> add git+https://github.com/xincy22/dsh-progress-updates.git

When using the git method, pnpm will intercept the install and require you to add the build script to the profile’s pnpm-workspace.yaml. The error message will print the exact key you need to paste, in a form like:

allowBuilds:
  dsh-progress-updates@https://codeload.github.com/xincy22/dsh-progress-updates/tar.gz/<commit>: true

Add the key above to your configuration file, then run the same add command again.

After installation, restart the corresponding profile and navigate to “Settings → Progress Updates” to configure the settings section.

Typical Usage

In the agent’s tool-call chain, you can call the progress_update tool after each key operation to report progress. For example:

await ctx.call('progress_update', {
  session_id: currentSessionId,
  title: 'Reading file',
  body: 'File /path/to/file has been read; preparing to analyze content',
  timestamp: Date.now()
});

This way, you can later review these progress entries via the sidebar panel and receive nudge reminders if the agent goes unreported for too long.

Use Cases and Considerations

This plugin is well-suited for agent scenarios that require continuous progress reporting during execution, such as document processing, data analysis, and batch task execution.

Before installing, review the source code and license (MIT) to ensure compliance with your project’s usage policies. The plugin runs with the permissions of the current dsh process. When using the dsh plugin command, make sure the profile and working directory are correct.

Summary

The dsh-progress-updates plugin provides DeepSeek Harness with structured progress-update capabilities. Through tool invocation, prompt guidance, a nudging mechanism, and a sidebar panel, it makes the agent’s execution process more transparent and controllable. With streamlined configuration and a clear dependency scope, it serves as a useful supplement for state management in agent development.

  • Directory page: https://www.skillhub.cn/plugins/xincy22/dsh-progress-updates
  • GitHub: https://github.com/xincy22/dsh-progress-updates
羽毛球分组比赛记分
小程序二维码

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

Xiaoye