Skip to content

Commit dddb920

Browse files
committed
docs: improve authentication setup guide with detailed provider instructions
Add step-by-step instructions for Anthropic, Google Gemini (Antigravity OAuth), and OpenAI (Codex Auth) authentication setup. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent 787e247 commit dddb920

File tree

2 files changed

+125
-13
lines changed

2 files changed

+125
-13
lines changed

README.ko.md

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ OpenCode 가 낭만이 사라진것같은 오늘날의 시대에, 당신에게
4040

4141
- **모델 설정이 필요합니다**
4242
- 이 플러그인은 [OpenCode Zen](https://opencode.ai/docs/zen/), Google, OpenAI, Anthropic 의 모델을 사용합니다.
43-
- Anthropic 모델들을 사용하기 위해 [OpenCode 의 내장 Claude Code Max Plan 로그인 기능](https://opencode.ai/docs/providers/#anthropic)을 사용하세요. (Anthropic 플랜은 유료입니다)
44-
- OpenAI 모델들을 사용하기 위해 이 [OpenCode-OpenAI-Codex-Auth 플러그인](https://github.com/numman-ali/opencode-openai-codex-auth)을 추천합니다. (OpenAI 플랜은 유료입니다)
45-
- Gemini, GPT 를 위해 [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) 또는 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)를 추천합니다. (Gemini 는 구독하지 않아도 사용 할 수 있습니다)
43+
- Anthropic 모델들을 사용하기 위해 [OpenCode 의 내장 Claude Code Max Plan 로그인 기능](https://opencode.ai/docs/providers/#anthropic)을 사용하세요.
44+
- OpenAI 모델 (ChatGPT Plus/Pro)을 사용하기 위해 [OpenCode-OpenAI-Codex-Auth 플러그인](https://github.com/numman-ali/opencode-openai-codex-auth)을 설치하세요.
45+
- Google Gemini 모델을 위해 `oh-my-opencode/google-auth` 플러그인을 추가하세요 (**내장 Antigravity OAuth**).
46+
- 다른 프로바이더를 위해 [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) 또는 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)를 대안으로 사용할 수 있습니다.
4647
- **사실 밑의 내용은 읽지 않아도 됩니다. 그냥 설치하시면 됩니다. 모델 설정하고나면 추가로 공부하거나 알 필요가 없고, 설치하고 나면 그냥 더 좋아집니다.**
4748
- **이 문서도 그냥 Claude Code, OpenCode, Cursor에 붙여넣고, 설치하고, 사용자의 개입이 필요할 때 알려달라고 프롬프팅하세요. 그럼 그냥 깔립니다.**
4849
- 당신이 LLM Agent 라면, 필요한 플러그인과 의존성을 설치하고, tmux 를 통해 opencode auth login 을 실행하여 사용자의 구성을 도와주세요.
@@ -108,11 +109,66 @@ cat ~/.config/opencode/opencode.json # plugin 배열에 "oh-my-opencode"가 있
108109

109110
### 4단계: 인증정보 설정
110111

111-
plugin 에 oh my opencode 를 추가했다면, tmux 를 사용하여 다음의 내용을 진행주세요.
112+
plugin 에 oh my opencode 를 추가했다면, tmux 를 사용하여 사용자의 인증 설정을 도와주세요.
112113

113-
1. tmux 를 사용하여 셸 열기
114-
2. opencode auth login > Provider Anthropic > Login method Claude Pro/Max > 사용자에게 oauth 화면에서 인증하라고 안내
115-
3. 사용자에게 macOS 일 경우 VibeProxy, 아닐 경우 CLIProxyAPI 를 사용하여 OpenAI / Google 인증을 완료하라고 안내
114+
#### 4.1 Anthropic (Claude)
115+
116+
```bash
117+
opencode auth login
118+
# Provider: Anthropic 선택
119+
# Login method: Claude Pro/Max 선택
120+
# 브라우저에서 OAuth 플로우 완료
121+
```
122+
123+
#### 4.2 Google Gemini (내장 Antigravity OAuth)
124+
125+
먼저 google-auth 플러그인을 추가:
126+
127+
```json
128+
{
129+
"plugin": [
130+
"oh-my-opencode",
131+
"oh-my-opencode/google-auth"
132+
]
133+
}
134+
```
135+
136+
그 후 인증:
137+
138+
```bash
139+
opencode auth login
140+
# Provider: Google 선택
141+
# Login method: OAuth with Google (Antigravity) 선택
142+
# 브라우저에서 OAuth 플로우 완료
143+
```
144+
145+
#### 4.3 OpenAI (ChatGPT Plus/Pro)
146+
147+
먼저 opencode-openai-codex-auth 플러그인 추가:
148+
149+
```json
150+
{
151+
"plugin": [
152+
"oh-my-opencode",
153+
154+
]
155+
}
156+
```
157+
158+
**중요**: `opencode.json`에 전체 모델 설정도 구성해야 합니다. [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json)에서 provider/models 설정을 복사하세요. 자세한 설정 방법은 [opencode-openai-codex-auth 문서](https://github.com/numman-ali/opencode-openai-codex-auth)를 참고하세요.
159+
160+
그 후 인증:
161+
162+
```bash
163+
opencode auth login
164+
# Provider: OpenAI 선택
165+
# Login method: ChatGPT Plus/Pro (Codex Subscription) 선택
166+
# 브라우저에서 OAuth 플로우 완료
167+
```
168+
169+
#### 4.4 대안: 프록시 기반 인증
170+
171+
프록시 기반 인증을 선호하는 사용자를 위해 [VibeProxy](https://github.com/automazeio/vibeproxy) (macOS) 또는 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI)를 대안으로 사용할 수 있습니다.
116172

117173
### ⚠️ 주의
118174

README.md

Lines changed: 62 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ Even if you don't, invest a little time. Boost your skills and productivity by m
4040
- **Model Setup Required**
4141
- This plugin utilizes models from [OpenCode Zen](https://opencode.ai/docs/zen/), Google, OpenAI, and Anthropic.
4242
- For Anthropic models, use [OpenCode's built-in Claude Code Max Plan login](https://opencode.ai/docs/providers/#anthropic).
43-
- For OpenAI models, I recommend the [OpenCode-OpenAI-Codex-Auth plugin](https://github.com/numman-ali/opencode-openai-codex-auth).
44-
- For Gemini and GPT, use [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI).
43+
- For OpenAI models (ChatGPT Plus/Pro), install the [OpenCode-OpenAI-Codex-Auth plugin](https://github.com/numman-ali/opencode-openai-codex-auth).
44+
- For Google Gemini models, add `oh-my-opencode/google-auth` plugin for **built-in Antigravity OAuth**.
45+
- For other providers, [VibeProxy (macOS Only)](https://github.com/automazeio/vibeproxy) or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) remain available as alternatives.
4546
- **Truth be told, the rest is optional. Just install it. Once set up, no further learning is required. It simply evolves.**
4647
- **Paste this document into Claude Code, OpenCode, or Cursor, instruct it to install, and ask for assistance if needed. It just installs.**
4748
- If you are an LLM Agent, install the required plugins and dependencies, then run `opencode auth login` via tmux to assist the user with configuration.
@@ -107,11 +108,66 @@ cat ~/.config/opencode/opencode.json # Should contain "oh-my-opencode" in plugi
107108

108109
### Step 4: Configure Authentication
109110

110-
Once `oh-my-opencode` is added to the plugin list, use `tmux` to proceed with the following:
111+
Once `oh-my-opencode` is added to the plugin list, use `tmux` to assist the user with authentication setup.
111112

112-
1. Open a shell using `tmux`.
113-
2. Run `opencode auth login` > Select Provider `Anthropic` > Select Login method `Claude Pro/Max` > Instruct the user to authenticate via the OAuth screen.
114-
3. Recommend the setup: [VibeProxy](https://github.com/automazeio/vibeproxy) for macOS users, or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) for others.
113+
#### 4.1 Anthropic (Claude)
114+
115+
```bash
116+
opencode auth login
117+
# Select Provider: Anthropic
118+
# Select Login method: Claude Pro/Max
119+
# Complete OAuth flow in browser
120+
```
121+
122+
#### 4.2 Google Gemini (Built-in Antigravity OAuth)
123+
124+
First, add the google-auth plugin:
125+
126+
```json
127+
{
128+
"plugin": [
129+
"oh-my-opencode",
130+
"oh-my-opencode/google-auth"
131+
]
132+
}
133+
```
134+
135+
Then authenticate:
136+
137+
```bash
138+
opencode auth login
139+
# Select Provider: Google
140+
# Select Login method: OAuth with Google (Antigravity)
141+
# Complete OAuth flow in browser
142+
```
143+
144+
#### 4.3 OpenAI (ChatGPT Plus/Pro)
145+
146+
First, add the opencode-openai-codex-auth plugin:
147+
148+
```json
149+
{
150+
"plugin": [
151+
"oh-my-opencode",
152+
153+
]
154+
}
155+
```
156+
157+
**Important**: You must also configure the full model settings in your `opencode.json`. Copy the provider/models configuration from [`config/full-opencode.json`](https://github.com/numman-ali/opencode-openai-codex-auth/blob/main/config/full-opencode.json). See the [opencode-openai-codex-auth documentation](https://github.com/numman-ali/opencode-openai-codex-auth) for detailed setup instructions.
158+
159+
Then authenticate:
160+
161+
```bash
162+
opencode auth login
163+
# Select Provider: OpenAI
164+
# Select Login method: ChatGPT Plus/Pro (Codex Subscription)
165+
# Complete OAuth flow in browser
166+
```
167+
168+
#### 4.4 Alternative: Proxy-based Authentication
169+
170+
For users who prefer proxy-based authentication, [VibeProxy](https://github.com/automazeio/vibeproxy) (macOS) or [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) remain available as alternatives.
115171

116172
### ⚠️ Warning
117173

0 commit comments

Comments
 (0)