DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-codex-adapter

Codex Adapter

由 ChatGPT 驱动的编程、图像生成和网页搜索,适用于 DeepSeek Harness,并提供账户和用量设置。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:baixianger/dsh-codex-adapter#da6e132c60b1c9c6b9145a48fdd4299ca648ba18
README兼容性版本
A real DSH conversation generating a watercolor cat, saving the PNG, and showing a download button and successful reply

兼容性与来源证明

Codex Adapter 以 dsh-codex-adapter 发布,当前版本为 0.1.0-rc.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0-rc.1prerelease
2026/9/14

相关插件

正在加载相关插件…

最新版
0.1.0-rc.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/14
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Better Sidebardsh-better-sidebarDSH web 插件:类似 VSCode 的右侧边栏(资源管理器 / 编辑器 / 终端 / git / 浏览器),按对话会话隔离。提供服务,供其他插件注册侧边栏标签页和文件查看器。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Plugindsh-pluginDeepSeek Harness 社区插件市场,遵循官方插件规范——无需离开应用即可浏览、搜索并安装 9000+ 个由人工精选的社区插件。· DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。

README

DSH Codex Adapter

DSH Codex Adapter

English · 简体中文

Use your ChatGPT account in DeepSeek Harness for coding conversations, image generation, and web search. Sign in from DSH, check your usage, and manage these capabilities in one settings page.

Quick start · Image generation · Settings · Configuration

See it in action

A real DSH conversation generating a watercolor cat, saving the PNG, and showing a download button and successful reply

An actual run: a 1254 × 1254 PNG, saved to the workspace, available to download, followed by a normal assistant reply. The screenshot shows the Chinese DSH interface; the settings and image card support English too.

What you get

CapabilityIn DSH
Coding conversationsThe openai-codex model route, including streamed replies and image context.
Account & usageChatGPT sign-in, CLI login import, cancellation, sign-out, plan and usage windows when available.
Image generationThe imagegen tool, inline preview, dimensions, download, and workspace save status.
Reference imagesEdit using workspace images or recent image attachments.
Web searchA Codex search provider with cached, indexed, and live modes.
Native settingsA full Codex page and a compact Plugins card, with light/dark themes and English/Chinese labels.

Quick start

Requires a current DSH installation with the 0.1.5 adapter interfaces and Node.js 22.19+ or 24+.

dsh plugin --profile web add dsh-codex-adapter@latest
dsh web
  1. Open Settings → Codex and sign in with ChatGPT, or import your existing Codex CLI login.
  2. Choose a model under Codex in the conversation model picker.
  3. Start a conversation, or ask for an image.

If dsh-codex is already installed, remove it before adding this adapter: both own the same openai-codex route.

dsh plugin --profile web remove dsh-codex

Image generation

Try this in a conversation:

Generate one watercolor illustration of an orange cat by a sunny window, with a small green plant and no text. Save it as window-cat.png.

The image card shows the result, its dimensions and size, a download button, and the workspace save status. DSH may collapse completed tool calls; expand the tool group to see the image again.

For image editing, provide referenced_image_paths or num_last_images_to_include to imagegen. Use one reference method per call, with up to five images.

Generated images are durable attachments, so the conversation can continue with image context. Local saves respect workspace access, cancellation, and observed-file protection. A remote filesystem must provide binary writing to support workspace saves; otherwise the image remains available as an attachment and download.

Settings

  • Account: browser or device sign-in, manual callback fallback, cancel, CLI import, and sign-out. Login attempts expire after ten minutes.
  • Usage: plan, remaining allowances, reset times, and credits when returned by the service. Missing data stays unknown; an unavailable usage request does not sign you out.
  • Capabilities: image generation/editing, web search, and search mode. Saved changes apply to subsequent requests.

Web search

Enable web search in Settings → Codex. If several search providers are available, select Codex explicitly in your profile patch:

# ~/.dsh/profiles/web/cordis.patch.yml
- id: web
  config:
    searchProvider: openai-codex
    fetchProvider: http

The setting DSH_WEB_SEARCH_PROVIDER=openai-codex is another way to select the provider. This plugin supplies search; DSH's configured fetch provider still owns page fetching.

Credentials & compatibility

Sign-in state uses DSH's credential service. A standalone CLI document can seed an empty record; refreshes then use the shared credential writer. Sign-out clears both so an older file cannot silently sign you back in.

dsh plugin --profile web exec dsh-codex-adapter status
dsh plugin --profile web exec dsh-codex-adapter import

status prints account metadata, never tokens. The CLI also supports login, logout, and an optional import path. See configuration and authorization for storage locations and advanced settings.

The adapter follows the installed PiAiAdapter contract, including model errors and attachment resolution. It does not implement the other bundle's fast mode, native compaction, or /codex terminal command.

Implementation & acknowledgements

Authentication is built on pi-ai's openaiCodexProvider, with authentication flow and settings UI references from Yan-Zero/dsh-codex. At runtime, pi-ai provides model communication, OAuth sign-in, and credential refresh; DSH's PiAiAdapter connects the provider to the harness.

Image generation/editing and ChatGPT's built-in web-search integration are implemented by this project. The adapter directly calls the ChatGPT Codex backend's image and search endpoints, reuses the credentials managed by pi-ai, and integrates the results with DSH's tools, attachments, and search service. The provider's image-input capability lets conversation models receive images; image generation uses this adapter's separate imagegen client.

The local binary-write compatibility code used to save generated images is adapted from dsh-codex 0.2.9 and retains its Apache-2.0 license. The remainder of this package is MIT licensed.

Automated releases

Tagged releases use GitHub Actions and npm Trusted Publishing. Push v<package.json version> to run a clean install, the full checks, and publication to latest. The workflow rejects mismatched tags, leaves existing immutable versions intact, and uses GitHub OIDC instead of a stored npm publish token.

The first npm version is bootstrapped interactively; subsequent versions use the package's trust binding to baixianger/dsh-codex-adapter and release.yml.

Development & feedback

npm ci
npm run check

Report an issue · Release notes · MIT license