dsh-use-codex

Delegates independent tasks from DeepSeek Harness to the local OpenAI Codex CLI and returns the result to the current conversation. Provides four tools (task execution, status check, danger-mode toggle, enable/disable switch), enforces a real-path working-directory whitelist with symlink-escape protection, defaults to Codex workspace-write sandbox mode, passes the task body as a single argv argument to avoid shell injection, kills the whole Codex process group on timeout or cancel, and caps output length. Requires Node.js >= 20 and a Codex CLI build supporting codex exec.

Overview

Delegates independent tasks from DeepSeek Harness to the local OpenAI Codex CLI and returns the result to the current conversation. Provides four tools (task execution, status check, danger-mode toggle, enable/disable switch), enforces a real-path working-directory whitelist with symlink-escape protection, defaults to Codex workspace-write sandbox mode, passes the task body as a single argv argument to avoid shell injection, kills the whole Codex process group on timeout or cancel, and caps output length. Requires Node.js >= 20 and a Codex CLI build supporting codex exec.

Installation

Install from GitHub

dsh plugin --profile web add github:chaorenzeng/dsh-use-codex

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.