DeepSeek Harness Plugin

jidekaixin2dian/dsh-team-flow

Stars ★ 1 Downloads (30d) 1,648 Category Workflow & Automation Added 2026-10-16 npm dsh-team-flow-continuous

Alpha Agent Teams plugin for DSH 0.2.0-rc.2 and newer that lets same-session user Steer end the Lead’s current wait_agent call while teammates continue, with native message delivery and Node PTC continuation.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-team-flow-continuous

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:jidekaixin2dian/dsh-team-flow

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Steer the Lead while it waits. Let teammates keep working.

中文 · npm · 0.2.2 · Marketplace · Downloads · Changelog

Team Flow is an Agent Teams steering plugin for DeepSeek Harness (DSH). A same-session user can Steer the Lead while it is waiting in wait_agent, ending that one wait so the native AgentLoop can consume the original message. Teammates continue working and Queue retains its semantics.

Add a requirement while the team works

When the Lead is waiting for parallel tasks, send a Steer to add a requirement or redirect the task. The Lead can receive your message while teammates continue their work. Queue and normal sends keep their original behavior.

Steer ends one Lead wait while teammates continue; workflow illustration

Input Behavior
Same Lead's user Steer Ends this wait, allowing native message delivery to continue
Queue, generic send, inject Keep their own semantics; do not count as Steer
Other Session or teammate input Does not directly end this Lead's wait
Stop, guards, Team changes, timeout Keep their native outcomes

Install and update

Requires DSH >=0.2.0-rc.2 and Node >=24, with official Agent Teams enabled first. CI covers DSH 0.2.1-alpha.1 / alpha.2 / rc.2 / rc.3 / rc.4 / 0.2.2-rc.1 / 0.2.2-rc.5. See the verification matrix.

Search for dsh-team-flow, source jidekaixin2dian/dsh-team-flow, in the marketplace. npm and GitHub installs include prebuilt files and need no install-script approval. The catalog prefers npm once mapped; source installs also support version checks. The default npm channel serves stable releases.

  1. Wait for all Agents to become idle, back up your profile and preferably use a test profile.
  2. Enable official Agent Teams, then install:
dsh plugin --profile <test-profile> add dsh-team-flow-continuous --registry=https://registry.npmjs.org
  1. Keep this bundle after Agent Teams. Restart if requested, open a new conversation and use Steer.

Run the same command to update. Existing .tgz installations can run it in the same profile to switch to the npm source for future marketplace update checks. Enter's behavior depends on DSH's send settings.

Bundle ordering metadata does not enable Agent Teams. This plugin disables the stock tool-agent-team entry and loads the host's own tool module, avoiding duplicate owners. Preserve custom freshProvider / forkProvider values in this plugin's configuration.

Use the marketplace's package switch or uninstall to remove the whole patch layer. Disabling only the loader entry can leave stock tools disabled.

dsh plugin --profile <test-profile> remove dsh-team-flow-continuous

Operate while Agents are idle. Disabling an active wait returns TEAM_FLOW_RC2_DISABLED; uncaught PTC code may stop subsequent statements.

The marketplace checks versions and installs after your click; it does not silently upgrade in the background. Restart DSH when requested.

Compatibility boundaries

  • On DSH 0.2.2-rc.1 and 0.2.2-rc.5, if a user Steer is already queued, Team Flow defers a foreground workflow called directly by the Lead. The Lead can reconsider the call after reading the message in its next step. On DSH 0.2.2-rc.5, wait_agent moved to tool-subagent-control with native Steer wakeup; Team Flow resolves the graduated tool-agent-team package and keeps foreground workflow deferral active.
  • Steer can end a wait_agent call early. During a foreground workflow that already started, a workflow inside run_code, or another long-running tool, the Lead picks up Steer at the next step boundary. If the host exposes run_in_background, pass run_in_background: true to workflow for long tasks so the Lead can continue processing Steer messages.
  • Reversible runtime decorators reuse the host's own Team tools without patching host source or installation files.
  • The plugin does not cancel Agents, consume Inbox messages or resend input. Its successful wake result is {timedOut:false, reason:'user-steer'}, not a fabricated timeout.
  • Decorated methods are not dedicated extension hooks. Other decorators, cached methods or ABI changes can conflict. Detectable unsupported contracts retain native waiting with a warning; module incompatibility may prevent loading.
  • User Steer means a user message delivered through Agent.steer(), not authentication that a third-party caller is human.
  • Future host compatibility is not guaranteed and this is not an upstream-merged fix. Isolated Mock checks do not establish real-model behavior or production latency.

Downloads

GitHub archives npm Combined
794 379 1,173 requests

Snapshot: 2026-11-06; npm data through 2026-11-04. GitHub counts installation archives; npm excludes 0.0.0-stage. Includes repeat installs and automation, not unique users.

Development · Verification · Security · Issues

Include DSH / Node / OS versions, Native or PTC, Steer / Queue settings and a minimal reproduction in reports. Redact credentials, authentication URLs and private conversations.

MIT · Independent community plugin, not affiliated with DeepSeek.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.