rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zhang6hk/dsh-codex
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Bring openai/codex-plugin-cc into DeepSeek Harness: let your local Codex CLI review your changes, or hand investigation and fix tasks to it.
# straight from GitHub
dsh plugin add github:zhang6hk/dsh-codex
# or from npm
dsh plugin add @zhang6hk/dsh-codex
Desktop: Plugins → Add plugin, then paste either spec. Restart the session and run /codex-setup to confirm Codex is ready.
npm install -g @openai/codexcodex login (ChatGPT account or API key)| Command | What it does |
|---|---|
/codex-review |
Review the current git diff (native review, never edits code) |
/codex-adversarial-review <focus> |
Adversarial review: challenge the approach, tradeoffs, assumptions |
/codex-rescue <task> |
Hand investigation or fixes to Codex, staying in one thread |
/codex-status [job-id] |
Check progress |
/codex-result <job-id> |
Read the full result |
/codex-cancel <job-id> |
Cancel a task |
/codex-setup |
Check CLI, login, and runtime |
Reviews run in the foreground and print Codex's report directly (the upstream engine has no review background mode). /codex-rescue runs in the background by default and returns a job id. Flags: --base <ref>, --scope auto|working-tree|branch, --model, and --cwd <dir> to review another checkout or worktree (relative to the session directory). When the diff comes back empty the report names the directory it actually reviewed. Reviews take no --effort: the engine only accepts it for task, so this plugin rejects it rather than passing it through.
There is also a codex_task tool, so the model can delegate a task to Codex inside a conversation.
Edit config in cordis.patch.yml:
- insert:
- id: dsh-codex
name: '@zhang6hk/dsh-codex'
config:
codexPath: codex # Codex binary; use an absolute path if it is not on PATH
model: '' # default model, forwarded as --model
effort: '' # default reasoning effort for /codex-rescue and codex_task (reviews ignore it)
defaultBase: '' # default review base, e.g. origin/main
maxConcurrent: 2 # concurrent Codex tasks
timeoutMs: 1800000 # per-run timeout (30 minutes)
Upstream is a Claude Code plugin; DSH has no slash-command files, shell hooks, or markdown subagents, so the port differs in a few places:
/codex:review → /codex-review (DSH command names cannot contain :).codex:codex-rescue subagent maps to the codex_task tool plus /codex-rescue./codex:transfer: it reads ~/.claude/projects, which has no DSH equivalent.setup is inert.vendor/codex/ is a verbatim copy of upstream plugins/codex/, adapted only through CLAUDE_PLUGIN_DATA, CODEX_COMPANION_SESSION_ID, and PATH injection.node --test # unit tests
lib/args.js parses flags, lib/companion.js runs the child process, lib/commands.js assembles commands, lib/tool.js defines the tool, lib/index.js wires everything.
Apache-2.0. vendor/codex/ is derived from OpenAI's codex-plugin-cc; copyright OpenAI, with the original LICENSE and NOTICE preserved.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。