DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-codex-connect-plus

Codex Connect Plus

在 DeepSeek Harness 中使用您的 ChatGPT 订阅来访问 Codex 模型,并使用 gpt-image-2 生成或编辑图像——无需 OpenAI Platform API 密钥。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-codex-connect-plus@0.1.0-beta.5
README兼容性版本
Real DeepSeek Harness UI showing Codex model selection and gpt-image-2 image generation

兼容性与来源证明

Codex Connect Plus 以 dsh-codex-connect-plus 发布,当前版本为 0.1.0-beta.5。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0-beta.5beta
2026/8/29
查看其余 5 个版本收起版本
0.1.0-beta.6beta
2026/8/29
0.1.0-beta.4beta
2026/8/18
0.1.0-beta.3beta
2026/8/18
0.1.0-beta.2beta
2026/8/17
0.1.0-beta.1beta
2026/8/17

相关插件

正在加载相关插件…

最新版
0.1.0-beta.5
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
888.9 kB
文件数
30
Surface
web
许可证
Apache-2.0
发布源
npm
GitHub
★ 3
周下载
106
安全扫描
✓ v0.1.0-beta.5 扫描通过
最近提交
2026/8/29
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README

Codex Connect Plus

English | 中文

Codex Connect Plus — ChatGPT subscription to Codex models and gpt-image-2 without an OpenAI Platform API key

Use your ChatGPT/Codex subscription inside DeepSeek Harness for Codex models and gpt-image-2 generation/editing—without an OpenAI Platform API key.

Sign in once with ChatGPT OAuth. Codex model requests use the signed-in account's subscription capacity; image generation/editing uses the same OAuth session and remains subject to account availability, region, limits, and upstream policy.

What you get

  • Codex models in the normal DSH model picker — no separate CLI workflow.
  • gpt-image-2 generation and editing — create images from prompts or edit 1–8 local references, with inline previews and local output files.
  • No OpenAI Platform API key or pay-as-you-go API billing setup — authorization comes from your user-approved ChatGPT/Codex OAuth session.
  • Quota-conscious defaults — automatic model retries default to 0, and image requests are never silently retried.

Real DeepSeek Harness UI showing Codex model selection and gpt-image-2 image generation

Real DSH UI: select a Codex model and generate an attached image with gpt-image-2 in the same conversation.

Community derivative. Not affiliated with or endorsed by OpenAI, DeepSeek, or the upstream Codex Connect maintainers.

Features

  • ChatGPT/Codex OAuth login and provider-native automatic refresh.
  • OpenAI Codex model catalog through Harness's normal LLM service.
  • Optional standalone Codex search provider.
  • Optional view_image tool for vision-capable models.
  • codex_image_generate for 1-4 gpt-image-2 outputs.
  • codex_image_edit for 1-8 local PNG/JPEG/WebP references and an optional mask.
  • Durable DSH attachments, session-authorized replay, inline preview, and local files under outputs/codex-image.
  • Fixed upstream origins, no redirects, bounded inputs/responses, cancellation, timeout, strict image signatures, and redacted provider errors.

Requirements

  • DeepSeek Harness 0.1.1-rc.2. This build targets the rc.2 Client APIs. DSH 0.1.2-alpha.1 requires plugin 0.1.0-beta.6 instead.
  • Node.js ^22.19.0 || >=24.0.0.
DSH versionCompatible pluginnpm selector
0.1.0-rc.5 / 0.1.0-rc.60.1.0-beta.2dsh-codex-connect-plus@0.1.0-beta.2
0.1.0-rc.70.1.0-beta.4dsh-codex-connect-plus@0.1.0-beta.4
0.1.1-rc.20.1.0-beta.5dsh-codex-connect-plus@latest
0.1.2-alpha.10.1.0-beta.6dsh-codex-connect-plus@beta

Install

Install the default npm release for DSH 0.1.1-rc.2:

dsh plugin --profile web add dsh-codex-connect-plus@latest

Immutable GitHub fallback:

dsh plugin --profile web add 'github:stoneface10/dsh-codex-connect-plus#v0.1.0-beta.5'

A matching .tgz is also attached to the GitHub prerelease.

For local development:

dsh plugin --profile web add link:/absolute/path/to/dsh-codex-connect-plus

Do not install dsh-codex-connect, dsh-codex-image-connect, and this combined package in the same profile: they own the same provider and tool names.

Configure

Open Settings → Plugins → Plugin configuration → Codex Connect Plus.

  1. Sign in with ChatGPT.
  2. Keep or change optional capability toggles.
  3. Save profile settings.

Default capability and quota-safety settings:

modelMaxRetries: 0
enableSearch: false
enableImageTool: false
enableImageGeneration: true

The package does not take over the profile's default model or global search route. modelMaxRetries: 0 avoids silently repeating a full subscription-backed request after a transient failure; users may deliberately select one or two retries in Plugin configuration when reliability matters more than quota conservation. Image generation/editing remains non-retrying because the provider may already have processed a timed-out request. Leave enableImageTool disabled when direct multimodal uploads and DSH's native read_image cover the workflow; enable it only when the model must open credential-free public HTTP(S) image URLs directly.

Image tools

Example requests:

Use codex_image_generate to create a high-quality portrait travel poster.
Use codex_image_edit with refs ["photo.png"] to replace the background.

Generated files resolve from the current DSH session cwd and are stored under:

outputs/codex-image/

Reference images are limited to 4 MB each and 8 images per edit request. Generation can take several minutes. A timeout or transport failure is not retried automatically because the upstream may already have processed the request.

Security and API status

  • OAuth credentials remain in DSH's dedicated credential file. On POSIX systems the plugin checks owner-only permissions; do not copy, commit, or disclose this file.
  • Refresh is performed by the pi-ai Codex provider through the locked credential store; the image module neither stores nor refreshes refresh tokens itself.
  • Image requests use fixed HTTPS ChatGPT/Codex application endpoints and reject HTTP redirects.
  • Before provider-controlled errors are surfaced, their length is bounded and recognized Bearer tokens, JWTs, authorization/token fields, b64_json, and image data URLs are redacted.
  • Generated attachment reads are authorized through the owning DSH session; the plugin exposes no public attachment-reading route.

Codex Images uses an unpublished, changeable ChatGPT/Codex application backend, not a public or supported OpenAI Platform API. The feature may stop working after upstream changes; availability depends on the user's account permissions, subscription, region, limits, and upstream policy. Users are responsible for complying with applicable service terms.

Development

pnpm install
pnpm run check
npm pack --dry-run

The repository intentionally commits both src/ and generated lib/, matching the upstream distribution model. The npm/Release .tgz includes runtime files and documentation, but excludes source, tests, scripts, credentials, logs, and local outputs.

See the Token/quota optimization report (中文) for retry, cache, compaction, and subagent guidance. See RELEASING.md for the Alpha checklist.

Legal / provenance

dsh-codex-connect-plus is a derivative of dsh-codex-connect, which in turn includes software derived from Yan-Zero/dsh-codex.

Image-generation and in-conversation image UI portions include adaptations from dsh-image2-draw and codex-gpt-image. Applicable transitive attribution for dsh-multimodal is also retained.

See NOTICE and THIRD_PARTY_NOTICES.md.

OpenAI, ChatGPT, Codex, DeepSeek, and DeepSeek Harness are names or trademarks of their respective owners. This independent project is not affiliated with, endorsed by, or sponsored by those owners.

This project uses an existing user-authorized ChatGPT/Codex OAuth session. It does not claim that the Codex Images backend is a public, official, or supported API.

License

Apache-2.0. See LICENSE. Adapted third-party portions remain subject to THIRD_PARTY_NOTICES.md.

相关插件

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

Usage@linxin666/dsh-usagedsh Web GUI 的使用统计插件:检测各提供商余额和编码计划配额,并提供实时令牌使用记录,以及当前提供商的专属宠物气泡Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。