From 8d76a57fe831d5db8e9dc927063254f457104156 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 13 Dec 2025 12:21:07 +0900 Subject: [PATCH] docs: add google_auth configuration section and update schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- README.ko.md | 12 +++++++++ README.md | 12 +++++++++ assets/oh-my-opencode.schema.json | 41 +++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) diff --git a/README.ko.md b/README.ko.md index 4c73845..d3d6d80 100644 --- a/README.ko.md +++ b/README.ko.md @@ -441,6 +441,18 @@ Schema μžλ™ 완성이 μ§€μ›λ©λ‹ˆλ‹€: } ``` +### Google Auth + +Google Gemini λͺ¨λΈμ„ μœ„ν•œ λ‚΄μž₯ Antigravity OAuthλ₯Ό ν™œμ„±ν™”ν•©λ‹ˆλ‹€: + +```json +{ + "google_auth": true +} +``` + +ν™œμ„±ν™”ν•˜λ©΄ `opencode auth login` μ‹€ν–‰ μ‹œ Google ν”„λ‘œλ°”μ΄λ”μ—μ„œ "OAuth with Google (Antigravity)" 둜그인 μ˜΅μ…˜μ΄ ν‘œμ‹œλ©λ‹ˆλ‹€. + ### Agents λ‚΄μž₯ μ—μ΄μ „νŠΈ 섀정을 μ˜€λ²„λΌμ΄λ“œν•  수 μžˆμŠ΅λ‹ˆλ‹€: diff --git a/README.md b/README.md index da8253f..e9dc0d0 100644 --- a/README.md +++ b/README.md @@ -439,6 +439,18 @@ Schema autocomplete is supported: } ``` +### Google Auth + +Enable built-in Antigravity OAuth for Google Gemini models: + +```json +{ + "google_auth": true +} +``` + +When enabled, `opencode auth login` will show "OAuth with Google (Antigravity)" as a login option for the Google provider. + ### Agents Override built-in agent settings: diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 5857cbd..2d66b92 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -155,6 +155,47 @@ } } }, + "google_auth": { + "type": "boolean", + "description": "Enable built-in Antigravity OAuth for Google Gemini models. When true, adds 'OAuth with Google (Antigravity)' login option.", + "default": false + }, + "lsp": { + "type": "object", + "description": "Additional LSP server configurations specific to Oh My OpenCode.", + "additionalProperties": { + "type": "object", + "properties": { + "command": { + "type": "array", + "items": { "type": "string" }, + "description": "Command and arguments to start the LSP server" + }, + "extensions": { + "type": "array", + "items": { "type": "string" }, + "description": "File extensions this server handles (e.g., [\".ts\", \".tsx\"])" + }, + "priority": { + "type": "number", + "description": "Server priority (higher = preferred)" + }, + "env": { + "type": "object", + "additionalProperties": { "type": "string" }, + "description": "Environment variables for the LSP server" + }, + "initialization": { + "type": "object", + "description": "Custom initialization options" + }, + "disabled": { + "type": "boolean", + "description": "Disable this LSP server" + } + } + } + }, "claude_code": { "type": "object", "description": "Toggle Claude Code compatibility features on/off. All default to true (enabled).",