Skip to content

Commit 8d76a57

Browse files
committed
docs: add google_auth configuration section and update schema
- Add Google Auth subsection to Configuration in README.md/README.ko.md - Add google_auth and lsp options to oh-my-opencode.schema.json 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent 8db2bd3 commit 8d76a57

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

README.ko.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,18 @@ Schema 자동 완성이 지원됩니다:
441441
}
442442
```
443443

444+
### Google Auth
445+
446+
Google Gemini 모델을 위한 내장 Antigravity OAuth를 활성화합니다:
447+
448+
```json
449+
{
450+
"google_auth": true
451+
}
452+
```
453+
454+
활성화하면 `opencode auth login` 실행 시 Google 프로바이더에서 "OAuth with Google (Antigravity)" 로그인 옵션이 표시됩니다.
455+
444456
### Agents
445457

446458
내장 에이전트 설정을 오버라이드할 수 있습니다:

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,18 @@ Schema autocomplete is supported:
439439
}
440440
```
441441

442+
### Google Auth
443+
444+
Enable built-in Antigravity OAuth for Google Gemini models:
445+
446+
```json
447+
{
448+
"google_auth": true
449+
}
450+
```
451+
452+
When enabled, `opencode auth login` will show "OAuth with Google (Antigravity)" as a login option for the Google provider.
453+
442454
### Agents
443455

444456
Override built-in agent settings:

assets/oh-my-opencode.schema.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,47 @@
155155
}
156156
}
157157
},
158+
"google_auth": {
159+
"type": "boolean",
160+
"description": "Enable built-in Antigravity OAuth for Google Gemini models. When true, adds 'OAuth with Google (Antigravity)' login option.",
161+
"default": false
162+
},
163+
"lsp": {
164+
"type": "object",
165+
"description": "Additional LSP server configurations specific to Oh My OpenCode.",
166+
"additionalProperties": {
167+
"type": "object",
168+
"properties": {
169+
"command": {
170+
"type": "array",
171+
"items": { "type": "string" },
172+
"description": "Command and arguments to start the LSP server"
173+
},
174+
"extensions": {
175+
"type": "array",
176+
"items": { "type": "string" },
177+
"description": "File extensions this server handles (e.g., [\".ts\", \".tsx\"])"
178+
},
179+
"priority": {
180+
"type": "number",
181+
"description": "Server priority (higher = preferred)"
182+
},
183+
"env": {
184+
"type": "object",
185+
"additionalProperties": { "type": "string" },
186+
"description": "Environment variables for the LSP server"
187+
},
188+
"initialization": {
189+
"type": "object",
190+
"description": "Custom initialization options"
191+
},
192+
"disabled": {
193+
"type": "boolean",
194+
"description": "Disable this LSP server"
195+
}
196+
}
197+
}
198+
},
158199
"claude_code": {
159200
"type": "object",
160201
"description": "Toggle Claude Code compatibility features on/off. All default to true (enabled).",

0 commit comments

Comments
 (0)