dsh-loopx-plugin
loopx-project/loopxLoopX——面向长周期 Agent 的提供商中立、本地优先状态内核与控制平面:在 DeepSeek Harness 执行层之上持久化 Goal、Todo、门禁、证据、配额、恢复与交接状态;插件负责引导安装 CLI 与技能、准入有界的同会话续跑,并为精确绑定的工作循环提供本地 GoalBar。
持久化多模型小队在 Settings 中配置、从 Composer 选择,并支持逐成员模型与工具策略。默认由主 Agent 自行完成简单任务,需要已保存的小队时才派工;派工按有界 DAG 执行,并可进行有限的审核与返工。Run Center 展示重试和基于 Harness 官方 usage 事件的逐成员 token 用量。
English | 简体中文
Give DeepSeek Harness a reusable team: one Agent plans, another implements, and a third reviews.
Save the team once, choose a model for each member, and reuse it across projects and conversations. Follow the plan, member outputs, retries, and provider-reported Token usage in one Run Center. This is an unofficial community plugin for the DeepSeek Harness Web profile.
Watch the 80-second UI guide · Install v1.3.0 · Run your first team · Example recipe ·
*Screenshot-based UI guide with example data and Chinese synthetic narration. Displayed task results, timings, and Tokens are not a live-run benchmark. Sources and captions.*
If this is useful for your DSH workflow, give the project a Star and help another developer discover it.
A team is a reusable product object, not a one-off dispatch form. Create it once in Settings → Teams, then use it across projects and conversations.
Capability · User outcome One model and tool policy per member · Combine a planner, implementer, reviewer, or specialist without forcing one route on everyone Dynamic workflow planning by default · The active conversation's model assigns focused work and dependencies from the current request Team / Solo / Inherited modes · Choose a durable conversation override, a project default, or a one-message exception without ambiguous switches Bounded DAG, retries, quality gate, background work · Long work is observable, cancellable, finite, and restart-safe Official provider Token usage · See input, cache-read, cache-write, and output Tokens with full/partial/unavailable coverage—never invented prices Versions, recipes, and definition backup · Reproduce a team, share it without credentials, preview impact, and remap model routes before applying
Plugin release · DSH target · Upgrade guidance 1.3.0 · >=0.1.5-rc.1 =0.1.5-rc.1 =0.1.5-rc.1 =0.1.5-rc.1 <0.1.6-0 · Initial 0.1.5 compatibility; upgrade the plugin to 1.3.0 1.0.1 · Verified with 0.1.1-rc.2 · Previous integration; upgrade both DSH and the plugin together
The walkthrough has English subtitles and Chinese subtitles. Load the SRT alongside the existing video in a compatible player; GitHub does not attach it automatically.
Upgrading DSH from 0.1.1? Use plugin v1.3.0 for DSH 0.1.5. This release fixes source.subscribe during plugin loading, migrates reconnect and Session APIs, and keeps the existing team definitions and run store. Restart DSH and refresh the browser after upgrading. The CLI may report 0.1.5-rc.1 while its compatible internal packages resolve to 0.1.5-rc.2.
Requirements: a working DeepSeek Harness Web profile, at least one configured provider/model, Node.js >=22.19.0 =24.0.0, and pnpm. Declared DSH compatibility is >=0.1.5-rc.1 <0.1.6-0; the v1.3.0 release was verified against DSH 0.1.5-rc.1.
Recommended: install the compiled release package. It includes the built Host and client files, so installation does not run this plugin's Git prepare build or require its allowBuilds entry.
dsh plugin --profile web add https://github.com/toolclub/dsh-agent-team-gui/releases/download/v1.3.0/dsh-agent-team-gui-1.3.0.tgz
dsh --profile webStop and restart an already-running DSH Web process after installing or upgrading. Then open Settings → Teams. If a plugin marketplace chooses Git installation and fails, use the direct release command above; see installation troubleshooting.
DSH 0.1.7-rc.2 is outside this release's declared host range; its installer rejects v1.3.0's peer ranges and rolls back the installation (reproduced on macOS arm64, Node 26.5.0, pnpm 12.6.0). Do not treat a change of installation source as runtime support. The Node engine range is not a claim that every newer Node/DSH combination has been tested.
For DSH Plugin Hub, use version 1.5.2 or later with a refreshed catalog. Hub 1.4.8 does not have the release-package channel. If the catalog still selects Git, use the direct command above. Hub caches the catalog for one hour and can reuse stale data when a refresh fails.
Release notes and checksum ·
[!TIP]
Ifdshis not onPATH, use the launcher that starts your working Harness installation.
With npm, replacedshwithnpx @deepseek-ai/dsh@0.1.5-rc.1; from a source checkout, replace
it with pnpm --dir /absolute/path/to/deepseek-harness dsh. Keep the same launcher for installationand startup. New to Harness? Start with its official setup guide.
Verify that both the dsh-agent-team-gui bundle and the agent-team-gui configuration row are present:
dsh --profile web --dump-configUse the included full-stack delivery recipe, with a planner, implementation engineer, and reviewer. You can bind all three to the same working model for the first run; multiple providers are optional.
Create a copy → Import reviewed recipe. In Member library, confirm each member's exact model and tool access.
All members, then save. The supplied recipe otherwise uses Smart/adaptive selection.
ready-to-copy task: build and test a small to-do list.
files and test results before treating the task as complete.
In Settings → Teams → Member library, save each member's role, model, optional fallback, and tool policy. In Settings → Teams, add those members and choose activation, member selection, and execution options. Leave Fixed order off for dynamic planning, or enable it for a fixed serial sequence. Choose Team, Solo, or Inherited beside the composer to control the current conversation.
*UI example with demonstration data.*
flowchart TD
U[User message] --> M{Effective mode and one-shot choice}
M -->|Solo or Manual| L[Lead handles request directly]
M -->|On demand| J{Lead decides whether delegation helps}
J -->|No| L
J -->|Missing information| A[Ask user]
J -->|Yes: dispatch_to_squad| D[Validate and admit one initial dispatch]
M -->|Host dispatch or Force Team next| D
D --> P[Use explicit plan or invoke bounded planner]
P -->|Smart skip| L
P --> W[Dependency-ready members, failure policy, optional quality gate]
W --> R[Persist results, diagnosis and reported usage]
R --> L
R -->|Lead reviews unfinished work| C[Bounded continue_squad_run]
C -->|Reuse successes, shared budget, one continuation| WNew editor drafts and built-in templates default to Lead decides when to delegate. Selecting a team makes it available; simple answers create no planning child or team run. Saved/imported choices and legacy missing-field defaults remain unchanged. Full flow and edge-case contract. Host background runs finish in Run Center; model-initiated tool dispatch waits for its result.
After dispatch, when no explicit assignments/order are supplied and no fixed order exists, the plugin uses the active conversation's provider/model route in a bounded, tool-free planner child. It receives the member roles and returns structured assignments plus an acyclic dependency graph. It does not turn one member into a replacement for the whole team. A bad, cyclic, or unavailable plan falls back to deterministic role-scoped assignments.
Ready DAG nodes run up to maxConcurrency. Dependants receive only bounded structured handoffs; full member output remains in durable run history. A fixed member order is an explicit serial override and bypasses DAG planning.
These states remain interactive after page refresh, cold Host startup, and live reconnect. An empty or temporarily unavailable catalog never silently deletes a saved selection.
before a bounded excerpt of user content.
registrations—are denied inside team children.
tool calls cannot create hundreds of duplicate teams.
and DAG; it does not silently ask the model to invent a different workflow.
Every execution is written before planning starts. The Run Center exposes foreground/background state, live phase, elapsed time, child IDs, complete outputs, bounded handoffs, stop, linked whole or member retry, export, filters, and retention-safe clear.
If a DSH child settles with stopReason: "error" after delivering non-empty plain text, the member counts as Completed instead of losing a valid long-form deliverable. The stop reason remains recorded and Run Center shows a protocol-delivery warning. Empty output, rejected runs, cleanup failures, timeouts, and other non-completed reasons such as max-tokens remain failures.
Each member handoff summary keeps up to 16,000 characters by default. A team may set handoffSummaryMaxChars from 1,000 to 32,000. Complete raw output remains durable in Run Center; dependency and lead prompts retain separate aggregate bounds so one long artifact cannot make model context unbounded.
The plugin reuses DSH's official tokenUsage projection and keeps four buckets:
Planner, member, review, and repair usage remain separately attributable. Coverage is explicitly full, partial, or unavailable at run and retry-attempt level. Before a provider reports a sample, the UI says Metering… instead of showing a false zero. Tokens are not money; the plugin does not guess prices that Harness providers do not publish through a stable pricing contract.
An optional quality gate names one reviewer, one repair owner, explicit criteria, and 0..2 repair rounds. A rejection can rerun only that repair owner, followed by the named reviewer. It cannot create arbitrary agents or recurse.
Foreground runs finish before the lead Agent synthesizes bounded handoffs. Background runs return a short acknowledgement and stay visible in the plugin Run Center; when the official DSH Jobs service is present, the same run is also registered there with a shared cancel hook. Without that optional service, the plugin falls back to process-local background execution; a Host restart then reconciles unfinished durable state as Interrupted rather than pretending it completed.
Merge, conflict preview, and separate primary/fallback route remapping.
replace reports deletions, dangling mode/default cleanup, and affected teams before confirmation.
storage failure. Readers see either the previous or committed definition graph, not a half-import.
avoids exposing an unprotected server-side fetch/SSRF surface.
Start with the credential-free full-stack delivery recipe, preview it, and remap its your-provider / your-model placeholders to routes configured in your own DSH profile.