docs: replace Codex references with GitHub Copilot documentation

Remove opencode-openai-codex-auth plugin instructions and replace with GitHub Copilot setup guide across all README languages.

Changes in all 3 READMEs (EN, JA, ZH-CN):
- Remove Codex authentication section (plugin setup, model list, auth flow)
- Add GitHub Copilot section with:
  - Priority explanation (native providers > Copilot > free models)
  - Model mappings table (Sisyphus/Oracle/Explore/Librarian)
  - Setup instructions (TUI and non-TUI modes)
  - Authentication guide

Closes #762

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
sisyphus-dev-ai 2026-01-14 02:25:18 +00:00
parent 9f07aae0a1
commit 000a61c961
3 changed files with 93 additions and 66 deletions

View File

@ -354,37 +354,46 @@ opencode auth login
**マルチアカウントロードバランシング**: プラグインは最大10個の Google アカウントをサポートします。1つのアカウントがレートリミットに達すると、自動的に次のアカウントに切り替わります。
#### 4.3 OpenAI (ChatGPT Plus/Pro)
#### 4.3 GitHub Copilotフォールバックプロバイダー
まず、opencode-openai-codex-auth プラグインを追加します:
GitHub Copilot は、ネイティブプロバイダーClaude、ChatGPT、Geminiが利用できない場合の**フォールバックプロバイダー**としてサポートされています。インストーラーは、Copilot をネイティブプロバイダーより低い優先度で構成します。
```json
{
"plugin": [
"oh-my-opencode",
"opencode-openai-codex-auth@4.3.0"
]
}
**優先度**: ネイティブプロバイダー (Claude/ChatGPT/Gemini) > GitHub Copilot > 無料モデル
##### モデルマッピング
GitHub Copilot が有効な場合、oh-my-opencode は以下のモデル割り当てを使用します:
| エージェント | モデル |
|--------------|--------|
| **Sisyphus** | `github-copilot/claude-opus-4.5` |
| **Oracle** | `github-copilot/gpt-5.2` |
| **Explore** | `grok code`(デフォルト) |
| **Librarian** | `glm 4.7 free`(デフォルト) |
GitHub Copilot はプロキシプロバイダーとして機能し、サブスクリプションに基づいて基盤となるモデルにリクエストをルーティングします。
##### セットアップ
インストーラーを実行し、GitHub Copilot で「はい」を選択します:
```bash
bunx oh-my-opencode install
# サブスクリプションClaude、ChatGPT、Geminiを選択
# プロンプトが表示されたら: "Do you have a GitHub Copilot subscription?" → 「はい」を選択
```
##### モデル設定
または、非対話モードを使用します:
`opencode.json` に完全なモデル設定も構成する必要があります。
[opencode-openai-codex-auth ドキュメント](https://github.com/numman-ali/opencode-openai-codex-auth)を読み、[`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json)OpenCode v1.0.210+)または [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json)(旧バージョン)から provider/models 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
```bash
bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
```
**利用可能なモデル**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
**Variants** (OpenCode v1.0.210+): `--variant=<none|low|medium|high|xhigh>` オプションで推論強度を制御できます。
その後、認証を行います:
その後、GitHub で認証します:
```bash
opencode auth login
# Provider: OpenAI を選択
# Login method: ChatGPT Plus/Pro (Codex Subscription) を選択
# ユーザーにブラウザでの OAuth フロー完了を案内
# 完了まで待機
# 成功を確認し、ユーザーに報告
# 選択: GitHub → OAuth 経由で認証
```

View File

@ -381,37 +381,46 @@ opencode auth login
**Multi-Account Load Balancing**: The plugin supports up to 10 Google accounts. When one account hits rate limits, it automatically switches to the next available account.
#### OpenAI (ChatGPT Plus/Pro)
#### GitHub Copilot (Fallback Provider)
First, add the opencode-openai-codex-auth plugin:
GitHub Copilot is supported as a **fallback provider** when native providers (Claude, ChatGPT, Gemini) are unavailable. The installer configures Copilot with lower priority than native providers.
```json
{
"plugin": [
"oh-my-opencode",
"opencode-openai-codex-auth@4.3.0"
]
}
**Priority**: Native providers (Claude/ChatGPT/Gemini) > GitHub Copilot > Free models
##### Model Mappings
When GitHub Copilot is enabled, oh-my-opencode uses these model assignments:
| Agent | Model |
|-------|-------|
| **Sisyphus** | `github-copilot/claude-opus-4.5` |
| **Oracle** | `github-copilot/gpt-5.2` |
| **Explore** | `grok code` (default) |
| **Librarian** | `glm 4.7 free` (default) |
GitHub Copilot acts as a proxy provider, routing requests to underlying models based on your subscription.
##### Setup
Run the installer and select "Yes" for GitHub Copilot:
```bash
bunx oh-my-opencode install
# Select your subscriptions (Claude, ChatGPT, Gemini)
# When prompted: "Do you have a GitHub Copilot subscription?" → Select "Yes"
```
##### Model Configuration
Or use non-interactive mode:
You'll also need full model settings in `opencode.json`.
Read the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth), copy provider/models config from [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json) (for OpenCode v1.0.210+) or [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json) (for older versions), and merge carefully to avoid breaking the user's existing setup.
```bash
bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
```
**Available models**: `openai/gpt-5.2`, `openai/gpt-5.2-codex`, `openai/gpt-5.1-codex-max`, `openai/gpt-5.1-codex`, `openai/gpt-5.1-codex-mini`, `openai/gpt-5.1`
**Variants** (OpenCode v1.0.210+): Use `--variant=<none|low|medium|high|xhigh>` for reasoning effort control.
Then authenticate:
Then authenticate with GitHub:
```bash
opencode auth login
# Interactive Terminal: Provider: Select OpenAI
# Interactive Terminal: Login method: Select ChatGPT Plus/Pro (Codex Subscription)
# Interactive Terminal: Guide user through OAuth flow in browser
# Wait for completion
# Verify success and confirm with user
# Select: GitHub → Authenticate via OAuth
```

View File

@ -380,37 +380,46 @@ opencode auth login
**多账号负载均衡**:该插件支持最多 10 个 Google 账号。当一个账号达到速率限制时,它会自动切换到下一个可用账号。
#### OpenAI (ChatGPT Plus/Pro)
#### GitHub Copilot备用提供商
首先,添加 opencode-openai-codex-auth 插件:
GitHub Copilot 作为**备用提供商**受支持当原生提供商Claude、ChatGPT、Gemini不可用时使用。安装程序将 Copilot 配置为低于原生提供商的优先级。
```json
{
"plugin": [
"oh-my-opencode",
"opencode-openai-codex-auth@4.3.0"
]
}
**优先级**:原生提供商 (Claude/ChatGPT/Gemini) > GitHub Copilot > 免费模型
##### 模型映射
启用 GitHub Copilot 后oh-my-opencode 使用以下模型分配:
| 代理 | 模型 |
|------|------|
| **Sisyphus** | `github-copilot/claude-opus-4.5` |
| **Oracle** | `github-copilot/gpt-5.2` |
| **Explore** | `grok code`(默认) |
| **Librarian** | `glm 4.7 free`(默认) |
GitHub Copilot 作为代理提供商,根据你的订阅将请求路由到底层模型。
##### 设置
运行安装程序并为 GitHub Copilot 选择"是"
```bash
bunx oh-my-opencode install
# 选择你的订阅Claude、ChatGPT、Gemini
# 出现提示时:"Do you have a GitHub Copilot subscription?" → 选择"是"
```
##### 模型配置
或使用非交互模式:
你还需要在 `opencode.json` 中配置完整的模型设置。
阅读 [opencode-openai-codex-auth 文档](https://github.com/numman-ali/opencode-openai-codex-auth),从 [`config/opencode-modern.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-modern.json)(适用于 OpenCode v1.0.210+)或 [`config/opencode-legacy.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/opencode-legacy.json)(适用于旧版本)复制 provider/models 配置,并仔细合并以避免破坏用户现有的设置。
```bash
bunx oh-my-opencode install --no-tui --claude=no --chatgpt=no --gemini=no --copilot=yes
```
**可用模型**`openai/gpt-5.2``openai/gpt-5.2-codex``openai/gpt-5.1-codex-max``openai/gpt-5.1-codex``openai/gpt-5.1-codex-mini``openai/gpt-5.1`
**变体**OpenCode v1.0.210+):使用 `--variant=<none|low|medium|high|xhigh>` 控制推理力度。
然后进行认证:
然后使用 GitHub 进行身份验证:
```bash
opencode auth login
# 交互式终端Provider选择 OpenAI
# 交互式终端Login method选择 ChatGPT Plus/Pro (Codex Subscription)
# 交互式终端:引导用户在浏览器中完成 OAuth 流程
# 等待完成
# 验证成功并向用户确认
# 选择GitHub → 通过 OAuth 进行身份验证
```