← 返回列表
D

@shuind/dsh-codex

v0.1.6 · 0 天前发布

A minimal Codex harness for GPT models that do not fit DSH's native interface, while remaining compatible with the DSH plugin ecosystem.

dsh-plugindeepseek-harnesscodexagent

README

@shuind/dsh-codex

English | 中文

面向不适配 DSH 原生接口的 GPT 模型,提供一个极简的 Codex harness。它保留 DSH 的运行时、profile、服务和插件生态,只把模型看到的提示词与核心工具切换为紧凑的 Codex 协议;现有 DSH 插件仍可继续使用,本包只替换模型面向的这一层。

DSH 兼容性

本包是模型面向的兼容层,不是另一套运行时。会话、服务、profile 组合、provider 和插件生命周期仍由 DSH 管理。把它安装到现有 DSH profile 后,其他 DSH 插件仍可按原方式组合使用。

安装、启用和选择

这三件事是分开的:

1. 把插件安装到 Web 使用的 profile:

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

本包仍是标准 DSH bundle,因此会显示在插件列表中;它的 DSH 依赖是 optional peer,不会因为本包产生 peer warning。

2. 启用插件:启动或重启该 profile。bundle 会在 $DSH_HOME/.agent-presets/codex 不存在时,把随包提供的 codex preset 安装到这里;已经存在的用户 preset 不会被覆盖。

3. 新建对话,在模式菜单中选择 Codex 模式。插件列表和 Agent preset 列表不是同一个界面。DSH 0.1.0-rc.6 会从 $DSH_HOME/.agent-presets 发现用户 preset;更新版 DSH 也可能自己提供 system codex preset。

如果之前手动创建的 `$DSH_HO

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
@shuind/dsh-codex
Repo
git+https://github.com/shuind/dsh-codex.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}