DeepSeek Harness Plugin

gufch3/dsh-multi-agent

Stars ★ 1 Category Workflow & Automation Added 2026-12-01 npm @gufch3/dsh-multi-agent

Run Antigravity and Codex inside DSH with SSH workspaces, native approval cards, cross-engine subagents, and read-only /btw threads.

Install

# from npm (prebuilt)

dsh plugin --profile web add @gufch3/dsh-multi-agent

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/gufch3/dsh-multi-agent/releases/latest/download/dsh-multi-agent.tgz"

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

dsh plugin --profile web add github:gufch3/dsh-multi-agent

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

简体中文 | English

Run Antigravity or Codex in native DeepSeek Harness (DSH) conversations, with independent sign-in for local and SSH hosts, cross-engine subagents, and read-only /btw side threads.

Screenshots

Settings & SSH Hosts Unified Local / SSH Workspace Picker
Settings & SSH Hosts Unified Local / SSH Workspace Picker
Native Approval Card, Tool Trajectory & /btw Side Thread
Native Approval Card, Tool Trajectory & /btw Side Thread

Features

  • Two engines. Connect Antigravity via agy acp or Codex via codex app-server. Choose a default model and reasoning effort per engine and control model visibility.
  • Focused settings. Common settings save as you change them without interrupting active turns. Advanced options are grouped separately, and SSH mounts appear on their host cards. All client UI strings follow DSH's ctx.locale in English and Simplified Chinese.
  • SSH workspaces. The enhanced workspace directory picker browses local and SSH directories. Import SSH hosts from ~/.ssh/config or enter a target manually. Opening a mounted workspace routes the session to that SSH host.
  • Native permissions, approvals, and questions. Maps DSH permission presets and Plan Mode to ACP and Codex policies, rendering native DSH approval cards and interactive question prompts with per-session FIFO serialization.
  • Native child conversations and automation. Use supported DSH services to delegate work across engines and hosts (dsh_list_targets, dsh_spawn_subagent, dsh_send_subagent_message). An independent, off-by-default automation switch enables persistent schedules and background monitoring (dsh_schedule, dsh_job) where the profile provides the corresponding services.
  • Side questions. /btw <question> opens a native read-only [BTW] child conversation in the right sidebar. Continue asking there without waking the parent. Use the dock to insert or send the result back, or promote the branch to a standalone conversation. You can target a supported engine or host with, for example, /btw @codex <question>.
  • Main-chat attachments, native change review, and clickable file links. Both engines pass images and file attachments through; local file:// links stream into native DSH path links that open and jump to lines in the right sidebar, SSH remote files open directly in a workspace-fenced right-sidebar ReadBlock tab, and edited files appear below replies as a native collapsed changed-files card with hover previews and right-sidebar DiffBlock review tabs.

Requirements

  • Node.js >=20 and DSH >=0.2.2-rc.1 <0.3.0.
  • At least one installed engine CLI (agy or codex) on the machine where it will run.
  • OpenSSH client on the DSH host for SSH workspaces. The SSH host needs POSIX sh and base64, plus python3 for remote MCP.

Installation

Use the profile that your DSH Web or Desktop instance actually runs. Choose one installation method.

  1. DSH Plugin Market. In the market provided by the dsh-market project (distributed as dshmarket), search for dsh-multi-agent and install it in the active profile once it is listed. DSH Plugin Market

  2. CLI install (npm or GitHub Release tarball). Replace <profile> with your active DSH profile, such as web. DSH CLI reference

    dsh plugin --profile <profile> add @gufch3/dsh-multi-agent
    

    Or install the prebuilt .tgz directly from GitHub Releases (no local build step required):

    dsh plugin --profile <profile> add https://github.com/gufch3/dsh-multi-agent/releases/download/v0.1.1/gufch3-dsh-multi-agent-0.1.1.tgz
    
  3. Local development. Run npm run build:client and npm pack in your checkout, then install the resulting local tarball with dsh plugin --profile <profile> add /path/to/gufch3-dsh-multi-agent-0.1.1.tgz. This uses the package's cordis.patch.yml and client manifest. For host-only development using an overlay, copy the two entries from that patch into the profile's patch and set the plugin row's name to your entry URL, for example file:///path/to/dsh-multi-agent/src/index.js. Use the packaged bundle to test the browser client as well. DSH bundle documentation

The bundle registers the External Agent preset and enhances the workspace directory picker with SSH browsing. It leaves the profile's default preset and default model in place. The left-sidebar shortcut is off by default and can be enabled under Advanced settings. Host self-restart (enableHostRestart) is off by default.

Quick start

  1. Open Settings → External Agents. In Engines and models, enable an installed engine and select its model.
  2. In Hosts, open the local card or add an SSH host. Test the connection and sign in to the engine on that host. Codex offers browser OAuth, device code and API key sign-in.
  3. In Add workspace, choose a local directory or a directory on a configured SSH host. You can also manage remote mounts on the SSH host card. Open an External Agent conversation in that workspace and select the external model.

Security and permissions

External CLIs run as the local DSH user or the remote SSH user. DSH permission choices map to CLI and protocol controls. Trust the executable and host with the workspace and files you attach. Automation is opt-in. All automation writes (job starts/kills and schedule changes) in Standard mode require server-side approval for both engines, and Plan mode rejects them. See the security policy for SSH tunnel isolation, credential paths, OAuth, restart safeguards, and vulnerability reporting.

Troubleshooting and uninstall

Symptom What to check
SSH key prompts for a passphrase Load the key with ssh-agent and ensure the DSH host process can use that agent. Test the same SSH target as the DSH user.
CLI missing Check that agy or codex is available in the execution host's environment. Set the CLI path on the host card if DSH or non-interactive SSH sees a different PATH.
Codex browser sign-in cannot bind port 1455 Free port 1455 on the DSH host, complete sign-in using the callback URL if prompted, or try Codex device-code sign-in. When the browser runs on a different machine, use the callback URL or device code.
SSH server has AllowTcpForwarding no The bridge retries the main conversation without remote MCP. Child-conversation and automation tools exposed through the remote tunnel are unavailable on that connection.

For a full uninstall:

  1. Save any data you want to keep. Cancel or remove DSH schedules and jobs created through the plugin, sign out on the relevant host cards, and remove the SSH mounts while the plugin is still available.
  2. Run dsh plugin remove @gufch3/dsh-multi-agent (or dsh-multi-agent if installed from v0.1.0) for the installation profile, or remove it through the market. For an overlay installation, remove the two entries you added from cordis.patch.yml.
  3. To erase plugin data, remove the configured dataDir. The default is $DSH_HOME/plugins-data/dsh-multi-agent/ or ~/.dsh/plugins-data/dsh-multi-agent/ when DSH_HOME is unset. Check any custom local cache and sign-in directories, including copies left by migration. On each SSH host, remove the plugin-owned engine directories under ~/.dsh-agent-bridge/auth/clients/<anonymousClientId>/<hostId>/ for this installation, or check any configured or migrated legacy location. Keep other clients' data, regular CLI profiles, and your workspace files.

Development

Run these commands from a Git checkout with Git on PATH.

npm run build:client
npm run check:client
npm test

In the source checkout, see Contributing for the code layout and PR checks. See the changelog for release history.

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.