Codex-shaped coding tools and an agent preset for DeepSeek Harness: exec_command, apply_patch, view_image, DSH-native collaboration tools, and OpenAI Chat Completions and Responses API routes.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:bainianlaoyao/dsh-codex-harness
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
This plugin publishes its README in Chinese only.
轻量的 DeepSeek Harness 编码预设。它借用 Codex 常用的工具名称和编辑工作流,但不复刻 Codex 的运行时上下文、审批策略或压缩器。
提供内容
exec_command/write_stdin:DSH shell 适配器,保留长命令轮询和输出截断体验。apply_patch:自由格式补丁编辑器;这是首选文件编辑工具。view_image:本地图片查看。- DSH 原生工具:计划
todo_write、提问ask_user_question、子代理subagent/subagent_fork(+send_message/interrupt_agent/list_agents)、web_search。 - OpenAI Chat Completions 和 Responses API 路由。
codex 工具模式预设:简短编码提示,AGENTS.md指令加载,以及上述工具行。
DSH 自己继续处理工作目录、运行时上下文、沙箱、审批、压缩和宿主工具。预设只
替换工具面(codex 形状的终端与补丁工具),计划/提问/子代理等协作工具一律使用
DSH 原生实现;不会注入 Codex 格式的 <environment_context> 或
<current_time_reminder>。
安装
powershell -ExecutionPolicy Bypass -File scripts/install.ps1
重启 DSH 后,新会话选择 codex 工具模式。openai-responses 路由可将 apply_patch 作为自由格式 custom tool;Chat Completions 路由则将它作为普通函数调用。
已知缺口(2026-09-01):
install.ps1用目录 junction 挂载$DSH_HOME\.agent-presets\codex → 本仓库,而 dsh 的预设发现 (@deepseek-ai/dsh-agent-presets)不跟随 junction——readdir把 junction 当符号链接跳过,预设会从列表消失(选中旧副本replay-codex则挂载失败回退 默认)。对策:在 npx-cache 中给dsh-agent-presets/lib/index.js的scanRoot打追随补丁(!child.isDirectory() && !child.isSymbolicLink()才 跳过),dsh升级后需重打;同时把$DSH_HOME\.agent-presets\replay-codex的三个文件与agent-presets/codex同步。详细排查见plugins/ACTIVATION.md§5。
验证
npm test
测试覆盖预设模块可加载性、保留工具的行为,以及两个 OpenAI 路由。历史上的完整 Codex 对齐研究保留在 docs/,不再是该插件的运行时契约。
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 21359
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 1189
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
anysearch-team/anysearch-dsh★ 399
AnySearch-powered real-time web and vertical search provider for DeepSeek Harness.
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 379
Local IMAP invoice download, OCR, archive, and Excel reimbursement summaries for DeepSeek Harness.
omdsh-dev/dsh-data-agent★ 184
Let the AI connect to databases and write SQL for you.
zhaoolee/notes#dsh-plugin★ 158
Export DSH conversations as Smartisan Notes-style PNGs, or create and update Markdown notes in a configured account-scoped workspace.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.