Tests4gptplay/dsh-codex-native

dsh-codex-native

通过 OpenAI 官方 Codex app-server 将 GPT 接入 DSH 主模型,使用 ChatGPT 订阅登录,支持工具调用、原生设置、额度查询与手动 Token 历史用量统计。

Uncategorized

DSH Codex Native

An OpenAI Codex app-server main-model integration for DeepSeek Harness. Use ChatGPT sign-in, DSH tools, native Codex model settings and an on-demand Token usage history panel.

简体中文 · Releases · Installation guide · Release verification

Latest release — v0.2.1-alpha.9-http.4

Release and downloads · Context accounting details

  • Host version compatibility: plugin peer dependencies use host-provided DSH modules without version-range gating.
  • Direct HTTP connection: the OpenAI route uses authenticated HTTP with existing ChatGPT sign-in, reducing reconnect waits after WebSocket interruptions.
  • On-demand skill discovery: DSH searches local and remote connector skills and reads selected instructions. Startup carries a compact discovery hint, with a 10,000-token skill budget.
  • Session warning deduplication: identical configuration, deprecation, and ordinary warnings appear once per session; changed notices and errors remain visible.
  • Context management: Codex manages routine context compaction, with DSH's overflow recovery available for exceptional cases.
  • Accurate usage accounting: total token consumption is tracked independently from the latest active context-window sample; delayed reports are reconciled with completed responses.
  • Connection stability: retains the transport recovery and account lifecycle improvements from alpha.6 and alpha.7.
  • Manual Token history: query account usage, review dated totals and reference periods, and clear the displayed table.
  • Main-model integration: official Codex app-server, ChatGPT sign-in, DSH tools and model settings.
  • Installed-plugin identity: ChatGPT authentication-channel icon and bilingual plugin-manager descriptions are included in the installable package.

Installation

github:Tests4gptplay/dsh-codex-native#v0.2.1-alpha.9-http.4

In Desktop, open Plugins → Add plugin, paste the fixed-version source above, and enable it. For Web:

dsh plugin --profile web add 'github:Tests4gptplay/dsh-codex-native#v0.2.1-alpha.9-http.4'

The fixed tag includes prebuilt runtime files. Upgrades retain existing configuration and sign-in. The installation guide covers login and the alternative TGZ package.

On-demand skill discovery

Version 0.2.1-alpha.9-http.4 provides codex_skill_search and codex_skill_read through DSH: models search summaries, then read the skills they need. The catalog covers local files and installed remote connector skills, preferring connectors for duplicate entries from the same plugin while retaining independently authored local skills. Both HTTP and local DSH models can use these tools.

The default skillsMode: dsh replaces Codex's automatic skill catalog injection with these discovery tools. skillsMaxContextTokens: 10000 selects the maximum native budget. Metadata is cached by working directory; use refresh: true after changing skills or plugins. skillsMode: native selects the native catalog. These settings apply to plugin-owned processes and retain existing authentication, connectors, and native tools.

Token usage panel

The history panel queries official Codex account data when Query is clicked. The header shows the returned daily-row total, while a separate value identifies the official lifetime total. The cycle grouping uses dated public reset announcements from codex-reset.com as reference information.

Clear resets the displayed table; Query retrieves it again. The panel uses DSH interface primitives and respects the active theme.

Real Desktop screenshot

*User-confirmed alpha.5 Desktop history view, with a fictional account label substituted before publication.* Screenshot provenance · Light example · Dark example

The market screenshot order is defined in screenshots.json.

Verification and engineering notes

The http.4 compatibility update passed Windows 209/209 plugin tests and Ubuntu 208 passed / one platform skip. Final packaged-runtime tests passed 28/28 on both platforms. Compatibility update CI.

The alpha.9 candidate passed Windows 191/191 plugin tests and Ubuntu 190 passed / one platform skip. The final packaged-runtime suite passed 28/28; the patched DSH host build, fresh installation, authenticated Web startup, and fixed-tag installation passed.

Candidate CI · Publication CI · Technical audit · Account lifecycle repair · Transport repair

License and attribution

Community integration based on MIT-licensed wss534857356/dsh-plugin-codex, baseline f1f61886f4defcf7294d63c3641fba01ee554e7b. Original attribution is retained in LICENSE. DeepSeek Harness is developed by DeepSeek; Codex is developed by OpenAI. Public reset-date data is credited to codex-reset.com. The ChatGPT icon uses Lobe Icons artwork; its MIT license is bundled in assets/LOBE-ICONS-LICENSE.txt.