dsh-codex-mode

DSH PLUGIN模型与账号接入

仓库 airainal/dsh-codex-mode

模型与账号接入 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-codex-mode 是 airainal 维护的 模型与账号接入 类 DSH 可安装插件, 仓库为 airainal/dsh-codex-mode,许可证 MIT。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-codex-mode 是模型与账号接入类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 2 复刻 0 · 未关闭 issue 1
最近更新 2026-10-26 创建于 2026-10-25
README 8.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:airainal/dsh-codex-mode#v1.1.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

智能体编排

上游标签

agent-loopcodexdeepseek-harnessdshdsh-plugin

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-codex-mode当前 L5 · 运行验证通过 低风险 2 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
voyager L3 · 安装规范通过 低风险 2.1 万 未标注 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方airainal仓库 dsh-codex-mode · 默认分支 main
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 0 / 1收录时的数值,非实时
创建 / 更新2026-10-25 · 2026-10-26最后推送 2026-10-26
本站收录2026-10-30首次进入本站目录的时间

README 全文

8.0 KB
作者原文,中文版优先;只做安全转义,不改内容

Codex Mode for DeepSeek Harness

A Codex-style execution mode for DSH. It adds a switch at the top of the
permission menu, keeps a durable plan, emits visible progress while tools run,
and continues a turn that stops with unfinished work.

The important difference from a prompt-only mode: if the model emits a tool call
without text, the host driver commits a short progress message before the
tool runs, as part of the durable assistant message. A long turn is not a silent
tool loop.

What it does

  • Codex switch at the top of the permission menu, above a divider. The
    switch does not change the sandbox or approval level.
  • Remembered globally: the last state is stored in the profile's
    codex_mode storage domain. Turning it on or off applies to every live root
    session; new and resumed sessions inherit it automatically.
  • Visible progress before every tool batch. The model's own commentary is
    kept; a missing one is inserted by the driver in the user's language.
  • Turn continuation when the todo list still has unfinished work and the
    assistant is not asking a question.
  • Durable per-session identity stored as codex-read-only,
    codex-workspace-write, or codex-danger-full-access, so the mode appears in
    the session log and survives resume.
  • Same safety gates for Full access and Auto review as the stock permission
    control.

Requirements

  • DSH Desktop or Web with the Plugin Manager. Tested with DSH 0.2.1-rc.3.
  • The package declares engines.dsh: ^0.2.1-rc.1; install it on a 0.2.1-rc.x
    runtime.
  • Git and network access to GitHub for the first install.

Install

Option 1: give DSH the GitHub link

Start a new DSH session and send:

Install this DSH plugin bundle from GitHub: https://github.com/airainal/dsh-codex-mode

The agent can call the plugin_manager tool with that URL. The manager checks
the GitHub repository, installs the bundle, and enables it. You can also open
Plugins → Install bundle and paste:

https://github.com/airainal/dsh-codex-mode

If your DSH version wants an explicit git spec, use:

github:airainal/dsh-codex-mode

Option 2: install the release tarball

Download the asset from
Releases and paste either
the release asset URL or the downloaded .tgz path into Plugins → Install
bundle
:

https://github.com/airainal/dsh-codex-mode/releases/download/v1.1.0/dsh-codex-mode-1.1.0.tgz

After installing

  1. Open any session.
  2. Click the permission control at the bottom of the composer.
  3. Turn on Codex Mode at the top of the menu.
  4. Pick Read Only, Workspace Write, or Full access exactly as before. The
    mode and the permission level are independent.

HMR applies the change immediately in the desktop app. If your profile has HMR
disabled, restart DSH after installation.

To remove it, open Plugins → Codex Mode → Remove, or ask the agent to remove
the bundle.

Use

The menu has two dimensions:

  • the Codex switch controls the execution protocol;
  • the permission choices control the sandbox and approval policy.

Turning Codex on while Workspace Write is selected moves every live root
session to its matching codex-workspace-write identity, but each sandbox stays
workspace-write. The last switch state is remembered; a new or resumed session
is moved to its matching codex-* identity automatically. Changing permission
while the mode is on keeps the global mode and changes only that session's
permission base.

The same toggle is available as a Host command:

/codex-mode on
/codex-mode off

Auto review is disabled while Codex is on because there is no codex-auto
identity. Turn Codex off first if you want Auto review.

The trigger shows a Codex mark on the right when the mode is on. It slides out
with a 240 ms width/opacity transition, and the menu stays open while switching.

How it works

The package is a DSH bundle with a Host half and a Web client half.

  • cordis.patch.yml adds the three codex-* permission presets and mounts the
    Host plugin.
  • A profile-level codex_mode storage domain keeps { enabled, updatedAt }.
    The /codex-mode on|off command writes it first, then applies the matching
    codex-* or base preset to every live root session. The agent/created
    listener applies the remembered value to new and resumed root agents.
  • The Host plugin adds the codex:mode system-prompt section and wraps each
    live agent's step. In Codex mode, an assistant/message that contains only
    tool calls gets a leading progress text block before it is committed; the
    matching text-chunks record is added to the stream and tool-call block
    indexes are shifted so content and stream stay aligned.
  • agent/turn-stopping provides one continuation steer when the plan is
    unfinished and the reply is not a question.
  • The Client plugin replaces the current-session permission control with the
    same control plus the Codex row, keeping the original permission glyphs and
    the Full-access/Auto-review risk dialogs.

This is a Codex step driver, not a second tool runtime. DSH still owns turn
construction, tool dispatch, approvals, retries, compaction, and the event log.
A full fork of those systems would duplicate a large amount of tested
infrastructure; the driver changes the part users actually see: progress output
and turn continuation.

Why the progress line is provable

The line is not a UI status chip. In a test turn that explicitly told the model
not to emit text, the model's stream contained only reasoning and tool-call
chunks, with no text-chunks. The committed assistant message was:

[reasoning, "我先读取 `dsh-codex-mode/client.js`。", tool-call]

The matching stream indexes were reasoning 0, text 1, tool-call 2. The
text could only come from the Host driver. The test was run locally against DSH
0.2.1-rc.3; the session log itself is not published.

Scope and limitations

  • The package targets DSH 0.2.1-rc.x. It uses the live agent's step and the
    session append boundary; a future DSH release can change those internals.
  • It is not a complete Codex engine. Freeform apply_patch, Codex-style
    one-tool scheduling, shell/output limits, and Codex compaction thresholds are
    not implemented.
  • The bundle overrides the permission row to add the codex-* presets. If you
    maintain custom permission presets in a profile, carry them into
    cordis.patch.yml before installing.
  • The built-in /permission command also lists the codex-* identities. Use the
    composer menu or /codex-mode on|off for the global switch; a direct
    /permission change is a per-session override.
  • The Settings default-permission selector lists the codex-* presets because
    they are ordinary permission presets; the composer menu is the intended place
    to switch a running session.

Screenshots

Menu, light Trigger
Dark risk gate Narrow layout

Development

There is no build step.

git clone https://github.com/airainal/dsh-codex-mode.git
cd dsh-codex-mode

Install the directory as a bundle through Plugins → Install bundle, or ask a
DSH agent to install that path with plugin_manager. The Host plugin exports
apply(), the client is a plain window.__ModuleLoader__ module, and the bundle
patch is cordis.patch.yml.

To build the release tarball:

pnpm pack

中文快速安装

把下面这句直接发给新的 DSH 会话:

安装这个 DSH 插件 bundle:https://github.com/airainal/dsh-codex-mode

装好后打开任意会话,点输入框下方的权限按钮,在菜单顶部打开 Codex 模式。
开关状态会被记住并同步到所有会话,新会话自动继承;权限级别不会改变。

License

MIT. See LICENSE.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-codex-mode 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:airainal/dsh-codex-mode#v1.1.0` 即可。

dsh-codex-mode 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-codex-mode 安全吗?

低风险。

dsh-codex-mode 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-codex-mode 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

1 条
不同作者的仓库分开列,请确认你要装的是哪一个
模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

voyager

voyager

Enhancement suite for Gemini, AI Studio, Claude, ChatGPT & DeepSeek —

L3 · 安装规范通过 2.1 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。