DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@yfzhou/dsh-llm-codex-subscription

Llm Codex Subscription

复用 ~/.codex/auth.json 中的 Codex CLI 登录信息,使 DSH 无需 API 密钥即可使用 ChatGPT 订阅模型。

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

npx -y @deepseek-ai/dsh plugin --profile web add @yfzhou/dsh-llm-codex-subscription@0.1.4
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.4stable
2026/8/18
0.1.3stable
2026/8/18
0.1.2stable
2026/8/18
查看其余 1 个版本收起版本
0.1.1stable
2026/8/15
最新版
0.1.4
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
55.9 kB
文件数
13
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
41
最近提交
2026/8/26
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README

@yfzhou/dsh-llm-codex-subscription

Registers a codex LLM provider that reuses the Codex CLI's local login, so DSH can talk to ChatGPT subscription models (gpt-5.6-sol and friends) with no API key. It reads the same ~/.codex/auth.json that codex login writes, fresh on every request, so logging in or switching accounts through the CLI takes effect immediately; expired tokens are refreshed and written back atomically, exactly as the CLI does. Requests go to the OpenAI Responses API over SSE, with reasoning, text, and tool calls mapped to the matching DSH blocks.

Requires Node.js 20+ and a codex login. Quota is metered by OpenAI per account and shared with the Codex CLI.

Install

dsh plugin --profile web add @yfzhou/dsh-llm-codex-subscription

The package supplies its own DSH bundle row; do not add a separate cordis.patch.yml entry. Restart DSH and Codex (ChatGPT subscription) appears in the model picker.

Configuration

Machine-specific settings live in $DSH_HOME/settings.yaml, never in the package. The ChatGPT backend usually needs a proxy, and Node's fetch ignores system proxy variables:

llm-codex-subscription:
  proxy: http://127.0.0.1:7890
  account: personal
  accounts:
    personal: ~/.codex-personal/auth.json
    work: ~/.codex-work/auth.json

agent-default-model:      # optional: make Codex the default
  provider: codex
  model: gpt-5.6-sol
KeyEffect
proxyTakes precedence over HTTPS_PROXY, then HTTP_PROXY; NO_PROXY hosts connect directly.
accounts / accountYour own aliases for separate auth files, and which one is live. Switching applies to the next request; refreshes only write to the selected file. Not OpenAI's account_id — that still comes from the file's tokens.account_id.
authFileSingle auth file, when accounts is unset. Defaults to ~/.codex/auth.json.
writeBackfalse keeps refreshed tokens in memory instead of updating auth.json.
staticModels / modelsCacheFileOverride the catalog, which otherwise comes from the API, then ~/.codex/models_cache.json, then a built-in list.
clientVersionVersion string sent upstream.

The section hot-reloads. Image attachments are sent as Responses API input_image data URLs, with the local attachment-local pixel ceiling raised to 200,000,000 — upstream limits still apply.

Troubleshooting

SymptomFix
MISSING_CREDENTIALRun codex login.
TRANSPORT: Connect TimeoutBackend unreachable directly; configure proxy.
HTTP 401 after a failed refreshSubscription expired or flagged; codex login again.
HTTP 429Quota or rate limit; retry later.
Empty model listLive discovery failed with no cache; the static list is used.
INVALID_REQUEST: Unsupported parameterThe adapter strips parameters the subscription backend rejects; upgrade the plugin.

License

MIT