편집자 노트

DSH OpenAI OAuth

Use GPT models from your ChatGPT account as the main model in DeepSeek Harness. Harness keeps its own agent loop and runs its own tools. This package connects its LLM interface to the official local Codex app-server, which handles ChatGPT login, credential storage, token refresh, and model access.

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

dsh-openai-oauth

English | 简体中文

Use GPT models from your ChatGPT account as the main model in DeepSeek Harness. Harness keeps its own agent loop and runs its own tools. This package connects its LLM interface to the official local Codex app-server, which handles ChatGPT login, credential storage, token refresh, and model access.

You do not need an OpenAI API key. The package does not copy another Codex installation's auth.json, implement its own OAuth client, or call an unpublished ChatGPT endpoint.

Requirements

  • Node.js 22.19 or newer
  • DeepSeek Harness developer preview 0.1.0-rc.6
  • A ChatGPT account with Codex access

Install

Run one command:

npx -y dsh-openai-oauth install

The installer registers the package with the web and headless profiles, plus any custom profiles that already exist. It also replaces the old deepseek-harness-openai-oauth and dsh-llm-codex-app-server packages if found.

Run the same command to update the package later. If you create a custom profile after installation, run it once more to register that profile.

Sign in with ChatGPT

Start the Harness web interface:

npx @deepseek-ai/dsh web

Open Settings > OpenAI OAuth, select Sign in with ChatGPT, and finish authorization in the OpenAI page. The GPT models available to your account will then appear in the normal Harness model picker.

For a headless profile, sign in from the terminal:

npx @deepseek-ai/dsh plugin --profile headless exec dsh-codex-login

The login is stored separately under ~/.deepseek-harness/codex. Codex owns the credentials and refreshes them when needed.

Select a model

Choose the provider and model in the Harness interface, or set them in ~/.dsh/settings.yaml:

agent-default-model:
  provider: openai-codex
  model: gpt-5.6-sol
  reasoningEffort: high

Run Harness as usual:

npx @deepseek-ai/dsh --profile headless "inspect this repository"

The plugin reads the model list from the signed-in Codex account. It does not keep a hardcoded list of GPT versions.

Uninstall

Remove the package from every current Harness profile while keeping the ChatGPT login for a future reinstall:

npx -y dsh-openai-oauth uninstall

For a clean uninstall that also signs out and deletes ~/.deepseek-harness/codex:

npx -y dsh-openai-oauth uninstall --purge-auth

These commands also remove registrations left by the old package name. They do not install a permanent global npm package. npm may retain its normal download cache.

Local development

npm install
npm test
npm pack --dry-run

This is an independent community plugin. It is not endorsed by DeepSeek or OpenAI.

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.