Skip to content

Commit 9cef9d1

Browse files
committed
Add opencode-antigravity-auth plugin guide and oh-my-opencode.json model override documentation
- Added opencode-antigravity-auth plugin setup guide to Installation section - Added oh-my-opencode.json agent model override configuration with google_auth: false - Added available Antigravity model names reference list - Updated Configuration > Google Auth section with plugin recommendation - Documented multi-account load balancing feature - Applied documentation updates to EN, KO, JA READMEs 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
1 parent 67bcd4d commit 9cef9d1

File tree

3 files changed

+149
-21
lines changed

3 files changed

+149
-21
lines changed

README.ja.md

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,25 +223,52 @@ opencode auth login
223223

224224
#### 4.2 Google Gemini (Antigravity OAuth)
225225

226-
まず、`~/.config/opencode/oh-my-opencode.json` で Google auth を有効にします
226+
まず、opencode-antigravity-auth プラグインを追加します
227227

228228
```json
229229
{
230-
"google_auth": true
230+
"plugin": [
231+
"oh-my-opencode",
232+
233+
]
234+
}
235+
```
236+
237+
#### 4.2.1 モデル設定
238+
239+
`opencode.json` に完全なモデル設定も構成する必要があります。
240+
[opencode-antigravity-auth ドキュメント](https://github.com/NoeFabris/opencode-antigravity-auth)を読み、README から provider/models 設定をコピーして、ユーザーの既存のセットアップを壊さないよう慎重にマージしてください。
241+
242+
#### 4.2.2 oh-my-opencode エージェントモデルのオーバーライド
243+
244+
`opencode-antigravity-auth` プラグインは内蔵 Google auth と異なるモデル名を使用します。`oh-my-opencode.json`(または `.opencode/oh-my-opencode.json`)でエージェントモデルをオーバーライドし、内蔵 `google_auth` を無効化してください:
245+
246+
```json
247+
{
248+
"google_auth": false,
249+
"agents": {
250+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
251+
"document-writer": { "model": "google/gemini-3-pro-high" },
252+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
253+
}
231254
}
232255
```
233256

257+
**利用可能なモデル名**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-2.5-flash`, `google/gemini-2.5-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
258+
234259
その後、認証を行います:
235260

236261
```bash
237262
opencode auth login
238263
# Provider: Google を選択
239264
# Login method: OAuth with Google (Antigravity) を選択
240-
# ユーザーにブラウザでの OAuth フロー完了を案内
241-
# 完了まで待機
265+
# ブラウザでサインイン完了(自動検出)
266+
# オプション:マルチアカウントロードバランシング用に追加の Google アカウントを登録
242267
# 成功を確認し、ユーザーに報告
243268
```
244269

270+
**マルチアカウントロードバランシング**: プラグインは最大10個の Google アカウントをサポートします。1つのアカウントがレートリミットに達すると、自動的に次のアカウントに切り替わります。
271+
245272
#### 4.3 OpenAI (ChatGPT Plus/Pro)
246273

247274
まず、opencode-openai-codex-auth プラグインを追加します:
@@ -559,15 +586,28 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま
559586

560587
### Google Auth
561588

562-
Google Gemini モデルのための内蔵 Antigravity OAuth を有効化します:
589+
**推奨**: 外部の [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) プラグインを使用してください。マルチアカウントロードバランシング、より多くのモデル(Antigravity 経由の Claude を含む)、活発なメンテナンスを提供します。[インストール > Google Gemini](#42-google-gemini-antigravity-oauth) を参照。
590+
591+
`opencode-antigravity-auth` 使用時は内蔵 auth を無効化し、`oh-my-opencode.json` でエージェントモデルをオーバーライドしてください:
563592

564593
```json
565594
{
566-
"google_auth": true
595+
"google_auth": false,
596+
"agents": {
597+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
598+
"document-writer": { "model": "google/gemini-3-pro-high" },
599+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
600+
}
567601
}
568602
```
569603

570-
有効化すると、`opencode auth login` 実行時に Google プロバイダーで "OAuth with Google (Antigravity)" ログインオプションが表示されます。
604+
**代替案**: 内蔵 Antigravity OAuth を有効化(単一アカウント、Gemini モデルのみ):
605+
606+
```json
607+
{
608+
"google_auth": true
609+
}
610+
```
571611

572612
### Agents
573613

README.ko.md

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,25 +220,52 @@ opencode auth login
220220

221221
#### 4.2 Google Gemini (Antigravity OAuth)
222222

223-
먼저 `~/.config/opencode/oh-my-opencode.json` 에서 Google auth를 활성화하세요:
223+
먼저 opencode-antigravity-auth 플러그인 추가:
224224

225225
```json
226226
{
227-
"google_auth": true
227+
"plugin": [
228+
"oh-my-opencode",
229+
230+
]
231+
}
232+
```
233+
234+
#### 4.2.1 모델 설정
235+
236+
`opencode.json`에 전체 모델 설정도 구성해야 합니다.
237+
[opencode-antigravity-auth 문서](https://github.com/NoeFabris/opencode-antigravity-auth)를 읽고, README에서 provider/models 설정을 복사하여, 사용자의 기존 셋업에 영향을 주지 않도록 신중하게 통합하세요.
238+
239+
#### 4.2.2 oh-my-opencode 에이전트 모델 오버라이드
240+
241+
`opencode-antigravity-auth` 플러그인은 내장 Google auth와 다른 모델 이름을 사용합니다. `oh-my-opencode.json` (또는 `.opencode/oh-my-opencode.json`)에서 에이전트 모델을 오버라이드하고, 내장 `google_auth`를 비활성화하세요:
242+
243+
```json
244+
{
245+
"google_auth": false,
246+
"agents": {
247+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
248+
"document-writer": { "model": "google/gemini-3-pro-high" },
249+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
250+
}
228251
}
229252
```
230253

254+
**사용 가능한 모델 이름**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-2.5-flash`, `google/gemini-2.5-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
255+
231256
그 후 인증:
232257

233258
```bash
234259
opencode auth login
235260
# Provider: Google 선택
236261
# Login method: OAuth with Google (Antigravity) 선택
237-
# 사용자에게 브라우저에서 OAuth 플로우를 완료하도록 안내
238-
# 최종 완료까지 대기
262+
# 브라우저에서 로그인 완료 (자동 감지)
263+
# 선택사항: 멀티 계정 로드밸런싱을 위해 추가 Google 계정 등록
239264
# 진짜 완료되었음을 검증하고 사용자에게 안내
240265
```
241266

267+
**멀티 계정 로드밸런싱**: 플러그인은 최대 10개의 Google 계정을 지원합니다. 한 계정이 레이트 리밋에 걸리면 자동으로 다음 계정으로 전환됩니다.
268+
242269
#### 4.3 OpenAI (ChatGPT Plus/Pro)
243270

244271
먼저 opencode-openai-codex-auth 플러그인 추가:
@@ -553,15 +580,28 @@ Schema 자동 완성이 지원됩니다:
553580

554581
### Google Auth
555582

556-
Google Gemini 모델을 위한 내장 Antigravity OAuth를 활성화합니다:
583+
**권장**: 외부 [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) 플러그인을 사용하세요. 멀티 계정 로드밸런싱, 더 많은 모델(Antigravity를 통한 Claude 포함), 활발한 유지보수를 제공합니다. [설치 > Google Gemini](#42-google-gemini-antigravity-oauth) 참조.
584+
585+
`opencode-antigravity-auth` 사용 시 내장 auth를 비활성화하고 `oh-my-opencode.json`에서 에이전트 모델을 오버라이드하세요:
557586

558587
```json
559588
{
560-
"google_auth": true
589+
"google_auth": false,
590+
"agents": {
591+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
592+
"document-writer": { "model": "google/gemini-3-pro-high" },
593+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
594+
}
561595
}
562596
```
563597

564-
활성화하면 `opencode auth login` 실행 시 Google 프로바이더에서 "OAuth with Google (Antigravity)" 로그인 옵션이 표시됩니다.
598+
**대안**: 내장 Antigravity OAuth 활성화 (단일 계정, Gemini 모델만):
599+
600+
```json
601+
{
602+
"google_auth": true
603+
}
604+
```
565605

566606
### Agents
567607

README.md

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,17 +249,52 @@ opencode auth login
249249

250250
#### Google Gemini (Antigravity OAuth)
251251

252+
First, add the opencode-antigravity-auth plugin:
253+
254+
```json
255+
{
256+
"plugin": [
257+
"oh-my-opencode",
258+
259+
]
260+
}
261+
```
262+
263+
##### Model Configuration
264+
265+
You'll also need full model settings in `opencode.json`.
266+
Read the [opencode-antigravity-auth documentation](https://github.com/NoeFabris/opencode-antigravity-auth), copy provider/models config from the README, and merge carefully to avoid breaking the user's existing setup.
267+
268+
##### oh-my-opencode Agent Model Override
269+
270+
The `opencode-antigravity-auth` plugin uses different model names than the built-in Google auth. Override the agent models in `oh-my-opencode.json` (or `.opencode/oh-my-opencode.json`) and disable the built-in `google_auth`:
271+
272+
```json
273+
{
274+
"google_auth": false,
275+
"agents": {
276+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
277+
"document-writer": { "model": "google/gemini-3-pro-high" },
278+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
279+
}
280+
}
281+
```
282+
283+
**Available model names**: `google/gemini-3-pro-high`, `google/gemini-3-pro-medium`, `google/gemini-3-pro-low`, `google/gemini-2.5-flash`, `google/gemini-2.5-flash-lite`, `google/claude-sonnet-4-5`, `google/claude-sonnet-4-5-thinking`, `google/claude-opus-4-5-thinking`, `google/gpt-oss-120b-medium`
284+
252285
Then authenticate:
253286

254287
```bash
255288
opencode auth login
256-
# Interactive Terminal: find Provider: Select Google
257-
# Interactive Terminal: find Login method: Select Google
258-
# Guide user through OAuth flow in browser. You use tools like pbcopy or other equivalents depending on your OS, and tell user that you have copied the link and paste it to the browser
259-
# Wait for completion
289+
# Interactive Terminal: Provider: Select Google
290+
# Interactive Terminal: Login method: Select OAuth with Google (Antigravity)
291+
# Complete sign-in in browser (auto-detected)
292+
# Optional: Add more Google accounts for multi-account load balancing
260293
# Verify success and confirm with user
261294
```
262295

296+
**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.
297+
263298
#### OpenAI (ChatGPT Plus/Pro)
264299

265300
First, add the opencode-openai-codex-auth plugin:
@@ -574,15 +609,28 @@ Schema autocomplete supported:
574609

575610
### Google Auth
576611

577-
Enable built-in Antigravity OAuth for Google Gemini models:
612+
**Recommended**: Use the external [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-antigravity-auth) plugin. It provides multi-account load balancing, more models (including Claude via Antigravity), and active maintenance. See [Installation > Google Gemini](#google-gemini-antigravity-oauth).
613+
614+
When using `opencode-antigravity-auth`, disable the built-in auth and override agent models in `oh-my-opencode.json`:
578615

579616
```json
580617
{
581-
"google_auth": true
618+
"google_auth": false,
619+
"agents": {
620+
"frontend-ui-ux-engineer": { "model": "google/gemini-3-pro-high" },
621+
"document-writer": { "model": "google/gemini-3-pro-high" },
622+
"multimodal-looker": { "model": "google/gemini-2.5-flash" }
623+
}
582624
}
583625
```
584626

585-
When enabled, `opencode auth login` shows "OAuth with Google (Antigravity)" for the Google provider.
627+
**Alternative**: Enable built-in Antigravity OAuth (single account, Gemini models only):
628+
629+
```json
630+
{
631+
"google_auth": true
632+
}
633+
```
586634

587635
### Agents
588636

0 commit comments

Comments
 (0)