DeepSeek Harness Plugin

SuperWheel/dsh-cliworker-now

Stars ★ 51 Downloads (30d) 3,998 Category Workflow & Automation Added 2026-10-16 npm dsh-cliworker-now

Multi-CLI worker sidebar for DeepSeek Harness 0.2.0-rc.2 on macOS and Windows, with task dispatch, live conversation views, stop and follow-up controls, and custom role presets.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-cliworker-now

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/SuperWheel/dsh-cliworker-now/releases/download/v0.7.9/dsh-cliworker-now-0.7.9.tgz"

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

dsh plugin --profile web add github:SuperWheel/dsh-cliworker-now

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

dsh-cliworker-now

A shared workspace for your AI CLIs inside DeepSeek Harness.

简体中文 · English

What it is · Highlights · Screenshots · Supported CLIs · Install · Get started · FAQ · Report an issue

The CLI Worker sidebar groups every agent by CLI

What it is

dsh-cliworker-now is a multi-CLI agent plugin for DeepSeek Harness, shown in Harness as CLI Worker / CLI Worker Now. It brings your terminal AI CLIs into Harness and splits the work like this:

🗣️ Main conversation 🤖 CLI agent 📋 Right sidebar
Name a CLI to dispatch work and receive the result Runs with that CLI's own account, models and tools Shows the process, usage and status live in Harness's native conversation view

How one task flows: name a CLI in the main conversation → choose model, effort and role → the agent runs in the background → follow it in the sidebar → the result returns to the main conversation → follow up by name

Use case Example
💻 Development Ask Codex to review code, then keep asking the same agent
✍️ Writing and editing Separate roles for logic, style and commercial review
⏳ Long tasks Conversations and run records are kept, so you can continue after it ends

The plugin includes no model service, subscription or API quota; model calls go through each CLI's own account.

Highlights

Screenshots

Main conversation summary beside an agent's conversation Choose model, effort and role on first use
The main conversation summarizes each CLI's reply while the Antigravity agent's own conversation is open on the right Question card choosing an Antigravity model
Antigravity generates an image; the main agent checks the file Codex makes a GIF and inserts it into Word with Computer Use
Antigravity agent generating a red car image Codex agent inserting a GIF into a Word document
Account and project default model Step-by-step login
Antigravity account and project defaults Antigravity step-by-step login window
Check and update CLIs in one place Agent role presets
Update CLIs page listing available updates Agent presets page

Captured in Harness Desktop on macOS in 2026-11 (Chinese UI), with account details blurred.

Supported CLIs

CLI Native transport CLI Native transport
Antigravity ACP (legacy stream-json fallback) OMP (Oh My Pi) RPC
Codex app-server Pi RPC
Claude Code stream-json Hermes Agent Runs API
Kimi Code ACP OpenCode HTTP + SSE
Official MiMo Code HTTP + SSE Qoder ACP
ZCode app-server Qoder CN ACP
Grok Build ACP CodeBuddy Code ACP
TRAE CN ACP WorkBuddy CN · WorkBuddy ACP · experimental
  • Aliases: agy → Antigravity, glm / zhipu / 智谱 → ZCode, harmes → Hermes Agent. An unclear name returns candidates and never dispatches.
  • Calling DSH: say "use dsh to summarize the README" or "调用 DeepSeek Harness 检查这个目录" (dsh, deepseekharness, harness and their "cli" forms work too) and the task goes to DeepSeek Harness's own native sub-agent (the host's subagent tool) with no CLI selection; it appears under the "Deepseek Harness" group in the CLI Worker window. If the current agent preset has no sub-agent tool (e.g. Minimal mode), the main agent asks you to pick a preset that has it (e.g. Standard mode) under Settings → Agent presets and start a new task. When the sub-agent depth has reached DSH's "Maximum recursion depth", the host removes the tool as well, and the main agent asks you to raise that value in the Subagent settings on the Plugins page. In both cases it neither uses another CLI nor does the task itself. "调用 dsh 和 codex 分别审查" dispatches one of each. History from the retired external Harness CLI stays read-only.
  • Before you start: install the CLI's native build and finish its own login or API setup. Both WorkBuddy editions use the CLI bundled in their desktop apps and rely on non-public interfaces; TRAE CN uses the official traecli only.
  • Verification: tested versions and what is or is not verified for each CLI are in adapter coverage and verification. Listing models does not guarantee permission to call them.

Capabilities

Capability What it does
Dispatch and follow-up Dispatch by naming a CLI, follow up by agent name, or continue in the child session. Messages sent while it runs are queued or steered by the native rules
Project settings Default model and effort per project; a new main conversation in the same project asks whether to reuse them
Goal · plan · feedback · fork Use these Harness features in child sessions; plan maps to the CLI's native plan mode and fork creates a native fork; unsupported entries explain why
Accounts Step-by-step login, logout, switching and multiple accounts; Pi, OMP, OpenCode, Hermes and ZCode accept your own API providers; the native account terminal is still available
Update CLIs Check, update all, update one or install; updates stay on the existing installation and never add a second copy; official and plugin download channels with resume and cleanup
Sibling dispatch An agent can dispatch sibling Workers; DSH's own child agents also appear in the CLI Worker window; Worker names match DSH child agent names (codex-1, agy-1, …) and can be renamed in place
Parallel writes (optional) When on, a conflicting writer runs in a plugin-owned copy and the main agent merges it back afterwards (no Git required, nothing is committed)
Time limits and language Total limit 30 minutes by default plus an optional idle limit; UI follows DSH, Chinese or English

Per-CLI support for plan, fork and more details are in feature details and verification boundaries.

Install and update

Requirements: macOS or Windows; DeepSeek Harness 0.2.2-rc.5 (current target); Node.js ≥ 22.19.0.

Finish active tasks and quit Harness completely, then run:

dsh plugin --profile desktop add dsh-cliworker-now@latest

Open Harness again when it finishes.

  • Enable the dsh command from the Desktop menu "Manage dsh command…". For the web profile, replace desktop with web. You can also enter dsh-cliworker-now@latest under "Add plugin" on the plugins page.
  • Starting Harness does not update the plugin; run the command again to update. pnpm 11 waits 24 hours after a release by default; check the version with dsh plugin --profile desktop ls dsh-cliworker-now --depth=0.
  • Fallback package: dsh plugin --profile desktop add https://github.com/SuperWheel/dsh-cliworker-now/releases/download/v0.9.3/dsh-cliworker-now-0.9.3.tgz; every release includes SHA256SUMS.txt.
  • The package ships the UI extension that native child sessions need, so no host build is required; uninstalling restores the official UI. See runtime-host.
  • Uninstall: dsh plugin --profile desktop remove dsh-cliworker-now (local accounts, history and preferences are kept).

Requires Node.js ≥ 22.19 and pnpm 11.25.0 on your PATH:

dsh plugin --profile desktop add github:SuperWheel/dsh-cliworker-now

Or build locally and link it (keep the source folder):

git clone https://github.com/SuperWheel/dsh-cliworker-now.git
cd dsh-cliworker-now
pnpm install --frozen-lockfile
pnpm --config.verifyDepsBeforeRun=false build
dsh plugin --profile desktop add .

A source folder works only after the install and build steps above; a downloaded source archive (GitHub "Download ZIP" or a Release's Source code) contains no build output. Since v0.9.3 Harness refuses to enable an unbuilt folder. If such a folder previously made the conversation area and input box disappear, a cold start restores the stock interface; then install with one of the commands above.

For ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED, ERR_PNPM_IGNORED_BUILDS and similar cases, see installation details.

Get started

  1. Dispatch: in a main conversation with a working folder, name a CLI, for example:

    Use Codex to check this project's login error handling, and name this agent code-reviewer.

  2. Choose: the first time you use this CLI in a project, question cards ask for the model, reasoning effort and role; it starts only after you confirm all three, and cancelling saves nothing. To stop the questions, turn off "Ask for model before dispatch" under CLI Worker settings → Task scheduling.

  3. Follow and stop: click a task card in the sidebar to open its conversation on the right; closing the sidebar does not stop the task. You can stop it at any time.

  4. Continue: after it ends, continue in the child session, or say "ask code-reviewer to check test coverage too" in the main conversation. Right-click a card to retitle, rename or delete it.

Renaming a child updates its Worker card and bundled DSH header within the same parent session. The header keeps the task description and shows the new name even before you open the Worker panel. You can still use the former name for follow-ups. Native message signatures, the team board and the workspace tree use the host’s name on rc.5.

See role presets and usage details for more.

Permissions and data

Level Behavior
Ask (named after what each CLI can actually do) Reads and read-only commands run directly; edits and commands with side effects ask you first, and nothing changes if you refuse
Auto-approve Uses the CLI's native auto-approval, where the CLI decides; CLIs without one use their native edit mode and still ask before commands
Full access Uses the CLI's native no-confirmation mode. The CLI can run commands, change files outside the workspace and use the network without asking; use it only for tasks you trust
  • Your choice wins: an agent you never set follows the main conversation's permission preset; once you pick a level, dispatches and follow-ups from the main agent use it.
  • Approvals go to DSH: tasks dispatched by the main agent ask on the main conversation page; turns you start in a child session ask there. Writes are always refused while Harness is in plan mode.
  • Native modes, no extra sandbox: the plugin adds no OS sandbox. If a CLI version lacks the target mode, it runs one level stricter and says so, never wider.
  • Data stays local: records live in ~/.dsh/cliworker-now (folders 0700, files 0600). Usage shows only data the CLI reports or that can be checked; unknown values show —.

Per-CLI level names, the native modes they map to and the native features turned off are in feature details · permissions and data.

FAQ

Desktop does not read .zshrc. The plugin checks common install locations; if it still cannot find the CLI, enter the full executable path under Advanced settings for that CLI.

Usually a proxy issue. The plugin reads the macOS network proxy or Windows Internet Options and passes a valid HTTP(S) proxy to the CLIs it starts; existing HTTP_PROXY and similar variables take precedence. PAC-only or SOCKS-only setups are not injected; use an explicit HTTP(S) proxy.

Subscriptions, billing and model access are decided by each CLI's provider; logging in or listing models does not guarantee access. Grok's login expires after about 6 hours, and the plugin runs grok models in the background so Grok renews it itself; when Kimi asks, run /usage in Kimi's native terminal and retry.

Finish running tasks, then quit Harness completely and reopen it. Refreshing only the plugin list can leave an old Host with a new Client. Enabling or disabling the plugin can blank the page for about a second before it recovers; see the blank-page investigation.

The plugin offers only the efforts a CLI explicitly supports. When a CLI reports no verifiable context data, it shows — instead of guessing from the model name.

The plugin could not confirm that this CLI's process exited, so it paused that CLI's login, model refresh and dispatch to avoid conflicts; other CLIs are unaffected. After confirming in Task Manager or Activity Monitor that no process is left, choose "Release pause" on the account row.

More questions (truncated output, proxy details, per-CLI account rules) are in feature details · FAQ and usage details.

Development

TypeScript ESM + React: the Host manages processes and persistence; the Client reaches the Host only through the Harness Gateway.

pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build:preview   # isolated package: .cache/preview-package
pnpm check:browser --frontend <frontend-dist> # check host browser primitive exports
pnpm build

Documentation

License and acknowledgments

MIT License. This is an independent community plugin; DeepSeek Harness and CLI names and trademarks belong to their owners, and no official affiliation or endorsement is implied.

Thanks to the authors and contributors of codex-host, Codingns4DSH and DeepSeek Harness, and to the developers of Codex, Hermes Agent, Kimi Code, Grok Build, Pi, Oh My Pi, OpenCode, MiMo Code and ZCode for publishing source code and protocol documentation. See the CLI data interface audit and the Codingns4DSH reference notes.

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.