DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Codex — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@shuind/dsh-codex

Codex

一个简约的 Codex 运行框架,适用于不符合 DSH 原生接口的 GPT 模型,同时与 DSH 插件生态系统兼容。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @shuind/dsh-codex@0.1.6
README兼容性版本

兼容性与来源证明

Codex 以 @shuind/dsh-codex 发布,当前版本为 0.1.6。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.6stable
2026/8/18
0.1.5stable
2026/8/18
0.1.4stable
2026/8/18
查看其余 3 个版本收起版本
0.1.3stable
2026/8/18
0.1.2stable
2026/8/18
0.1.1stable
2026/8/18

相关插件

正在加载相关插件…

最新版
0.1.6
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
95.7 kB
文件数
20
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
40
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

@shuind/dsh-codex

English | 中文

A minimal Codex harness for GPT models that do not fit DSH's native interface. It keeps the DSH runtime, profiles, services, and plugin ecosystem, while presenting the model with the compact Codex prompt and core tool protocol. Existing DSH plugins continue to work; this package only replaces the model-facing layer.

DSH compatibility

This package is a model-facing compatibility layer, not a replacement runtime. DSH still owns the session, services, profile composition, providers, and plugin lifecycle. Install it into an existing DSH profile and continue composing other DSH plugins normally.

Install, enable, and select

These are separate operations:

  1. Install the plugin into the profile used by Web:

    dsh plugin --profile web add @shuind/dsh-codex
    

    The package remains a normal DSH bundle, so it appears in the plugin list and does not produce peer warnings from its DSH dependencies.

  2. Enable it by starting or restarting that profile. The bundle installs the packaged codex preset into $DSH_HOME/.agent-presets/codex when that directory does not already exist. It never overwrites an existing user preset.

  3. Create a new conversation and choose Codex 模式 in the mode menu. The plugin list and the agent preset roster are different surfaces. DSH 0.1.0-rc.6 discovers user presets from $DSH_HOME/.agent-presets; newer DSH versions may provide a system codex preset themselves.

If an older manual copy left $DSH_HOME/.agent-presets/codex without a valid agent.cordis.yml, repair or remove that directory and restart the profile. The installer preserves existing directories by design.

The selected preset is fixed when a session is created. Selecting Codex affects new conversations; it does not rewrite the prompt or tool catalog of an existing session.

What it does

The packaged codex preset mounts this package together with the dsh Skill filesystem and Skill tool. The package owns the Codex prompt section and these exact model-facing tool names and descriptions:

  • exec_command — runs a command in a PTY, returning output or a session id for ongoing interaction.
  • write_stdin — writes characters to an existing unified exec session and returns recent output.
  • apply_patch — accepts the complete freeform patch text through one required input string.
  • update_plan — accepts an optional explanation and a required plan of step / status items.

The exported tool registrations are authoritative for the complete schemas. The first two tools return the Codex-compatible execution fields (chunk_id, wall_time_seconds, exit_code, session_id, original_token_count, and output) and render the same Chunk ID / Wall time / Output response envelope. apply_patch returns the changed file list and renders the familiar Success. Updated the following files: summary. update_plan writes the durable todo/write event and returns Plan updated.

dsh composition

exec_command uses the dsh Shell service for pipe-backed commands and the dsh Terminal service for optional PTY sessions. The Codex shell, login, yield_time_ms, and max_output_tokens arguments remain model-visible and are translated at the service seams. write_stdin addresses the per-agent unified session registry.

apply_patch parses the Codex patch language, resolves targets through dsh fs, applies version-checked writes/removes, observes the resulting filesystem state, and routes sandbox decisions through sandboxPolicy. It never writes through a second filesystem implementation. Add, update, delete, and move operations use dsh's normal filesystem errors and durable observations.

update_plan appends the session's todo/write event. It does not depend on an extra runtime projection helper or maintain a second plan store; DSH owns the projection and replay path. This keeps the package compatible with both the older and newer dsh-tool-todo packages. The Codex package does not mount todo_write.

Configuration

The package accepts defaultYieldTimeMs, pollYieldTimeMs, writeYieldTimeMs, and maxOutputBytes. They control execution timing and retained output; protocol names, argument names, descriptions, and result fields are fixed. A sandboxing filesystem requires the corresponding dsh sandboxPolicy service.

apply_patch uses the ordinary dsh tool definition in DSH 0.1.0-rc.6. Its input value is still the complete Codex freeform patch, while provider-specific tool serialization remains owned by the DSH route.

Bundle and preset composition

The package declares a dsh.bundle patch, but that patch only installs the preset template. It does not globally mount @shuind/dsh-codex or add Codex tools to standard, code, minimal, or other presets. The packaged presets/codex/agent.cordis.yml contains the single codex-tools row, so a Codex session mounts the prompt and four core tools exactly once.

If you author another Codex preset, add @shuind/dsh-codex inside that preset's agent.cordis.yml, not to the profile's top-level patch. This also avoids a duplicate when a newer DSH release already ships a system Codex preset.

The preset deliberately keeps Skills, filesystem policy, shell providers, terminal providers, and Web presentation on dsh extension points. They can be changed by composing a different preset or adding the corresponding dsh rows without changing the Codex tool protocol.

Model Experience

Prompt and tool catalog

What the model sees

The request contains the Codex base prompt, the four Codex core tools, and any explicitly mounted dsh extension such as skill. Tool names, descriptions, argument names, and result envelopes match the Codex harness protocol; dsh-specific implementation services stay behind the tools.

Token effect

The Codex prompt and core schemas add a fixed prefix cost to each request in this preset. Skill content and tool results remain data-dependent.

KV Cache effect

The fixed prompt and tool prefix remains reusable while the session's mounted composition is unchanged. Skill discovery or other explicitly mounted extensions change the suffix after the Codex prefix.

Tool calls and results

What the model sees

Command calls return the Codex execution envelope, patch calls return the changed-file envelope and summary text, and plan calls return a durable plan acknowledgement. Filesystem and session events reconstruct the model-visible effects during replay.

Token effect

Tool results are data-dependent: command output and changed-file summaries are retained in the session, while a plan acknowledgement is small and fixed.

KV Cache effect

Tool results append to the conversation. A filesystem change or plan update affects later context through the normal dsh session log and projection rather than through hidden mutable state.

Known Limitations and Deferred Work

  • The preset is fixed for a session. Choosing codex affects new sessions; changing the selected preset in Web does not rewrite an existing session's prompt or tools.
  • PTY behavior depends on the mounted dsh Terminal provider. The shipped Windows composition disables the optional bash terminal row; pipe execution remains available through the selected shell service.
  • Pipe-backed write_stdin sessions do not accept non-empty stdin; interactive input requires a PTY-backed command.
  • Provider-specific custom-tool or grammar serialization is outside this package; the Codex patch protocol remains usable through the ordinary dsh tool definition.
  • The package implements the Codex core protocol and deliberately leaves Skills, filesystem policy, shell providers, terminal providers, and Web presentation extensible through dsh plugins.