DeepSeek Harness Plugin

ESROAMER/codex-dsh-collab

Stars ★ 2 Downloads (30d) 914 Category Workflow & Automation Added 2026-10-16 npm @esroamer/codex-dsh-collab

Let Codex dispatch tasks to DeepSeek Harness workspaces, follow execution, read results, and continue collaboration through a local bridge and companion Codex skill.

Install

# from npm (prebuilt)

dsh plugin --profile web add @esroamer/codex-dsh-collab

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

dsh plugin --profile web add github:ESROAMER/codex-dsh-collab

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

中文说明

Lets Codex delegate tasks to DeepSeek Harness (DSH) workspaces, follow execution, read results, and continue collaborating.

The npm package is @esroamer/codex-dsh-collab. Codex initiates each interaction; DSH does not wake an idle Codex session.

The underlying authenticated loopback HTTP protocol is client-independent. Other agent applications can integrate by implementing workspace discovery, task dispatch, execution waits, and transcript reads described in PROTOCOL.md. This project currently ships and has verified a Codex client through the companion skill; other applications require their own adaptation and testing. Installing the DSH plugin alone does not configure the Codex client—complete both installation steps below.

Install

  1. In DSH, open Settings → Plugins → Add plugin and enter https://github.com/ESROAMER/codex-dsh-collab, a local checkout, or @esroamer/codex-dsh-collab. All-workspace setup and workspace registration require 0.2.0+.

  2. Download or clone this repository. From its root, run:

    powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -ConfigureOnly
    

    Select the workspace to authorize. The setup installs the $deepseek-harness Codex skill and creates a local token for the selected workspace.

  3. Restart DSH if needed, then check the connection:

    .\install.ps1 -Check
    
  4. In Codex, use $deepseek-harness and describe the task and workspace.

For all current/future workspaces and registration of new workspaces:

.\install.ps1 -ConfigureOnly -AllWorkspaces -AllowWorkspaceCreate

With workspace registration enabled, give Codex the project path and task. Codex registers the existing directory only if DSH has no workspace at that path; it reuses an existing one and does not create directories.

For a script-managed installation, fully exit DSH and run install.ps1 without -ConfigureOnly from the repository root.

Windows shell troubleshooting

If the bridge is healthy but DSH pwsh returns 3221225794 (0xC0000142) without output, see the Windows shell startup case. On one verified installation, workspace-write restricted-token startup failed without a parent console and succeeded after the ACL runner prepared a hidden console. The guide separates observed behavior from the inferred DACL mechanism and describes validation while preserving confinement. This is a DSH runtime issue; the bridge installer does not automatically patch the desktop installation.

Requirements and security

  • Windows, DSH Desktop, and Codex.
  • Node.js 22+ and Python 3.10+ for setup and the Codex client.
  • Access covers selected workspaces or explicitly authorized all-workspace scope. Creation permission is separate; DSH tool approvals remain in effect.

See PROTOCOL.md for the bridge protocol. Licensed under MIT.

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.