From 934d4bcf329e14fe73eb07d2d5aeb011ddfa4a42 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 13 Dec 2025 13:09:39 +0900 Subject: [PATCH] docs: update LLM agent guide with Google Auth recommendation and disabled_hooks section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change warning to allow Google Auth setup (google_auth: true) by default - Clarify that only model changes and feature disabling require explicit user request - Add missing disabled_hooks documentation to README.ko.md ๐Ÿค– GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- README.ko.md | 22 ++++++++++++++++++---- README.md | 10 ++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/README.ko.md b/README.ko.md index d3d6d80..1109a4d 100644 --- a/README.ko.md +++ b/README.ko.md @@ -110,7 +110,7 @@ cat ~/.config/opencode/opencode.json # plugin ๋ฐฐ์—ด์— "oh-my-opencode"๊ฐ€ ์žˆ ### 4๋‹จ๊ณ„: ์ธ์ฆ์ •๋ณด ์„ค์ • -plugin ์— oh my opencode ๋ฅผ ์ถ”๊ฐ€ํ–ˆ๋‹ค๋ฉด, tmux ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž์˜ ์ธ์ฆ ์„ค์ •์„ ๋„์™€์ฃผ์„ธ์š”. +plugin ์— oh my opencode ๋ฅผ ์ถ”๊ฐ€ํ–ˆ๋‹ค๋ฉด, tmux ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž์˜ ์ธ์ฆ ์„ค์ •์„ ๋„์™€์ฃผ์„ธ์š”. **๊ธฐ๋ณธ์ ์œผ๋กœ Google Auth (4.2๋‹จ๊ณ„) ์„ค์ •์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.** #### 4.1 Anthropic (Claude) @@ -123,7 +123,9 @@ opencode auth login #### 4.2 Google Gemini (๋‚ด์žฅ Antigravity OAuth) -๋จผ์ € `~/.config/opencode/oh-my-opencode.json` (๋˜๋Š” ํ”„๋กœ์ ํŠธ ๋ ˆ๋ฒจ์˜ `.opencode/oh-my-opencode.json`)์—์„œ Google auth๋ฅผ ํ™œ์„ฑํ™”: +**๊ถŒ์žฅ๋˜๋Š” ๊ธฐ๋ณธ ์„ค์ •์ž…๋‹ˆ๋‹ค.** + +๋จผ์ € ์ฃผ๋„์ ์œผ๋กœ `~/.config/opencode/oh-my-opencode.json` (๋˜๋Š” ํ”„๋กœ์ ํŠธ ๋ ˆ๋ฒจ์˜ `.opencode/oh-my-opencode.json`)์—์„œ Google auth๋ฅผ ํ™œ์„ฑํ™”ํ•˜์„ธ์š”: ```json { @@ -170,9 +172,9 @@ opencode auth login ### โš ๏ธ ์ฃผ์˜ -**์‚ฌ์šฉ์ž๊ฐ€ ๋ช…์‹œ์ ์œผ๋กœ ์š”์ฒญํ•˜์ง€ ์•Š๋Š” ํ•œ, `oh-my-opencode.json` ์„ค์ • ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๊ฑฐ๋‚˜ ์ˆ˜์ •ํ•˜์ง€ ๋งˆ์„ธ์š”.** +**์‚ฌ์šฉ์ž๊ฐ€ ๋ช…์‹œ์ ์œผ๋กœ ์š”์ฒญํ•˜์ง€ ์•Š๋Š” ํ•œ, ๋ชจ๋ธ ์„ค์ •์„ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ ๊ธฐ๋Šฅ(์—์ด์ „ํŠธ, ํ›…, MCP)์„ ๋น„ํ™œ์„ฑํ™”ํ•˜์ง€ ๋งˆ์„ธ์š”.** -ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ์„ค์ • ํŒŒ์ผ ์—†์ด๋„ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์™„๋ฒฝํ•˜๊ฒŒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ์„ค์ • ํŒŒ์ผ์€ ์‚ฌ์šฉ์ž๊ฐ€ ์ปค์Šคํ„ฐ๋งˆ์ด์ง•์„ ์›ํ•  ๋•Œ๋งŒ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. +ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์™„๋ฒฝํ•˜๊ฒŒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. ๊ถŒ์žฅ ์‚ฌํ•ญ์ธ `google_auth: true` ์„ค์ •์„ ์ œ์™ธํ•˜๊ณ ๋Š”, ๋ช…์‹œ์ ์ธ ์š”์ฒญ ์—†์ด ๋‹ค๋ฅธ ์„ค์ •์„ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ ๊ธฐ๋Šฅ์„ ๋„์ง€ ๋งˆ์„ธ์š”. @@ -334,6 +336,18 @@ OpenCode ๋Š” ์•„์ฃผ ํ™•์žฅ๊ฐ€๋Šฅํ•˜๊ณ  ์•„์ฃผ ์ปค์Šคํ„ฐ๋งˆ์ด์ €๋ธ”ํ•ฉ๋‹ˆ๋‹ค. - **Empty Task Response Detector**: ์„œ๋ธŒ ์—์ด์ „ํŠธ๊ฐ€ ์ˆ˜ํ–‰ํ•œ ์ž‘์—…์ด ๋น„์–ด์žˆ๊ฑฐ๋‚˜ ๋ฌด์˜๋ฏธํ•œ ์‘๋‹ต์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๊ฒฝ์šฐ๋ฅผ ๊ฐ์ง€ํ•˜์—ฌ, ์˜ค๋ฅ˜ ์—†์ด ์šฐ์•„ํ•˜๊ฒŒ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. - **Grep Output Truncator**: Grep ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ๊ฐ€ ๋„ˆ๋ฌด ๊ธธ์–ด ์ปจํ…์ŠคํŠธ๋ฅผ ์žฅ์•…ํ•ด๋ฒ„๋ฆฌ๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•˜๊ธฐ ์œ„ํ•ด, ๊ณผ๋„ํ•œ ์ถœ๋ ฅ์„ ์ž๋™์œผ๋กœ ์ž๋ฆ…๋‹ˆ๋‹ค. +ํ•„์š” ์—†๋Š” ํ›…์ด ์žˆ๋‹ค๋ฉด, `~/.config/opencode/oh-my-opencode.json` ํ˜น์€ `.opencode/oh-my-opencode.json`์˜ `disabled_hooks`๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋น„ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค: + +```json +{ + "disabled_hooks": ["session-notification", "comment-checker"] +} +``` + +์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ํ›…: `todo-continuation-enforcer`, `context-window-monitor`, `session-recovery`, `session-notification`, `comment-checker`, `grep-output-truncator`, `directory-agents-injector`, `directory-readme-injector`, `empty-task-response-detector`, `think-mode`, `anthropic-auto-compact`, `rules-injector`, `background-notification`, `auto-update-checker` + +> **์ฐธ๊ณ **: `disabled_hooks`๋Š” Oh My OpenCode์˜ ๋‚ด์žฅ ํ›…์„ ์ œ์–ดํ•ฉ๋‹ˆ๋‹ค. Claude Code์˜ `settings.json` ํ›…์„ ๋น„ํ™œ์„ฑํ™”ํ•˜๋ ค๋ฉด `claude_code.hooks: false`๋ฅผ ๋Œ€์‹  ์‚ฌ์šฉํ•˜์„ธ์š” ([ํ˜ธํ™˜์„ฑ ํ† ๊ธ€](#ํ˜ธํ™˜์„ฑ-ํ† ๊ธ€) ์ฐธ๊ณ ). + ### Claude Code ํ˜ธํ™˜์„ฑ Oh My OpenCode๋Š” Claude Code ์„ค์ •๊ณผ ์™„๋ฒฝํ•˜๊ฒŒ ํ˜ธํ™˜๋ฉ๋‹ˆ๋‹ค. Claude Code๋ฅผ ์‚ฌ์šฉํ•˜์…จ๋‹ค๋ฉด, ๊ธฐ์กด ์„ค์ •์„ ๊ทธ๋Œ€๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. diff --git a/README.md b/README.md index 934d8f9..eb66413 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ cat ~/.config/opencode/opencode.json # Should contain "oh-my-opencode" in plugi ### Step 4: Configure Authentication -Once `oh-my-opencode` is added to the plugin list, use `tmux` to assist the user with authentication setup. +Once `oh-my-opencode` is added to the plugin list, use `tmux` to assist the user with authentication setup. **It is RECOMMENDED to set up Google Auth (Step 4.2) by default.** #### 4.1 Anthropic (Claude) @@ -122,7 +122,9 @@ opencode auth login #### 4.2 Google Gemini (Built-in Antigravity OAuth) -First, enable Google auth in `~/.config/opencode/oh-my-opencode.json` (or `.opencode/oh-my-opencode.json` for project-level): +**This is the RECOMMENDED default configuration.** + +First, proactively enable Google auth in `~/.config/opencode/oh-my-opencode.json` (or `.opencode/oh-my-opencode.json` for project-level): ```json { @@ -169,9 +171,9 @@ For users who prefer proxy-based authentication, [VibeProxy](https://github.com/ ### โš ๏ธ Warning -**Do NOT create or modify the `oh-my-opencode.json` configuration file unless the user explicitly requests it.** +**Do NOT modify model settings or disable features (agents, hooks, MCPs) unless the user explicitly requests it.** -The plugin works perfectly with default settings without any configuration file. The configuration file is only needed when the user wants customization. +The plugin works perfectly with default settings. While you SHOULD enable `google_auth: true` as recommended, do not alter other configurations or disable features without a specific request.