From 15a748b817a49f553195dfa276404db388152432 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 9 Dec 2025 16:04:02 +0900 Subject: [PATCH] docs: add missing hooks and features to README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add 4 missing hooks documentation: - Think Mode: auto-detect deep thinking requests - Anthropic Auto Compact: auto-compact context - Empty Task Response Detector: handle empty responses - Grep Output Truncator: prevent output overflow Add 2 missing features documentation: - Command Loader: load commands from multiple paths - Skill Loader: load skills as executable commands πŸ€– GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- README.ko.md | 13 +++++++++++++ README.md | 12 ++++++++++++ 2 files changed, 25 insertions(+) diff --git a/README.ko.md b/README.ko.md index 2afdf00..365e6a6 100644 --- a/README.ko.md +++ b/README.ko.md @@ -153,6 +153,10 @@ OpenCode λŠ” μ•„μ£Ό ν™•μž₯κ°€λŠ₯ν•˜κ³  μ•„μ£Ό μ»€μŠ€ν„°λ§ˆμ΄μ €λΈ”ν•©λ‹ˆλ‹€. β”‚ └── Button.tsx # 이 νŒŒμΌμ„ 읽으면 μœ„ 3개 AGENTS.md λͺ¨λ‘ μ£Όμž… ``` `Button.tsx`λ₯Ό 읽으면 μˆœμ„œλŒ€λ‘œ μ£Όμž…λ©λ‹ˆλ‹€: `project/AGENTS.md` β†’ `src/AGENTS.md` β†’ `components/AGENTS.md`. 각 λ””λ ‰ν† λ¦¬μ˜ μ»¨ν…μŠ€νŠΈλŠ” μ„Έμ…˜λ‹Ή ν•œ 번만 μ£Όμž…λ©λ‹ˆλ‹€. Claude Code의 CLAUDE.md κΈ°λŠ₯μ—μ„œ μ˜κ°μ„ λ°›μ•˜μŠ΅λ‹ˆλ‹€. +- **Think Mode**: ν™•μž₯된 사고(Extended Thinking)κ°€ ν•„μš”ν•œ 상황을 μžλ™μœΌλ‘œ κ°μ§€ν•˜κ³  λͺ¨λ“œλ₯Ό μ „ν™˜ν•©λ‹ˆλ‹€. μ‚¬μš©μžκ°€ κΉŠμ€ 사고λ₯Ό μš”μ²­ν•˜λŠ” ν‘œν˜„(예: "think deeply", "ultrathink")을 κ°μ§€ν•˜λ©΄, μΆ”λ‘  λŠ₯λ ₯을 κ·ΉλŒ€ν™”ν•˜λ„λ‘ λͺ¨λΈ 섀정을 λ™μ μœΌλ‘œ μ‘°μ •ν•©λ‹ˆλ‹€. +- **Anthropic Auto Compact**: Anthropic λͺ¨λΈ μ‚¬μš© μ‹œ μ»¨ν…μŠ€νŠΈ ν•œκ³„μ— λ„λ‹¬ν•˜λ©΄ λŒ€ν™” 기둝을 μžλ™μœΌλ‘œ μ••μΆ•ν•˜μ—¬ 효율적으둜 κ΄€λ¦¬ν•©λ‹ˆλ‹€. +- **Empty Task Response Detector**: μ„œλΈŒ μ—μ΄μ „νŠΈκ°€ μˆ˜ν–‰ν•œ μž‘μ—…μ΄ λΉ„μ–΄μžˆκ±°λ‚˜ λ¬΄μ˜λ―Έν•œ 응닡을 λ°˜ν™˜ν•˜λŠ” 경우λ₯Ό κ°μ§€ν•˜μ—¬, 였λ₯˜ 없이 μš°μ•„ν•˜κ²Œ μ²˜λ¦¬ν•©λ‹ˆλ‹€. +- **Grep Output Truncator**: Grep 검색 κ²°κ³Όκ°€ λ„ˆλ¬΄ κΈΈμ–΄ μ»¨ν…μŠ€νŠΈλ₯Ό μž₯μ•…ν•΄λ²„λ¦¬λŠ” 것을 λ°©μ§€ν•˜κΈ° μœ„ν•΄, κ³Όλ„ν•œ 좜λ ₯을 μžλ™μœΌλ‘œ μžλ¦…λ‹ˆλ‹€. ### Agents @@ -221,7 +225,16 @@ OpenCode λŠ” μ•„μ£Ό ν™•μž₯κ°€λŠ₯ν•˜κ³  μ•„μ£Ό μ»€μŠ€ν„°λ§ˆμ΄μ €λΈ”ν•©λ‹ˆλ‹€. ``` ### 기타 편의 κΈ°λŠ₯ + - **Terminal Title**: μ„Έμ…˜ μƒνƒœμ— 따라 터미널 타이틀을 μžλ™ μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€ (유휴 β—‹, μ²˜λ¦¬μ€‘ ◐, 도ꡬ ⚑, μ—λŸ¬ βœ–). tmuxλ₯Ό μ§€μ›ν•©λ‹ˆλ‹€. +- **Command Loader**: λ‹€μŒ λ””λ ‰ν† λ¦¬λ“€μ—μ„œ λ§ˆν¬λ‹€μš΄ 기반의 μ»€μŠ€ν…€ λͺ…령어듀을 λ‘œλ“œν•©λ‹ˆλ‹€: + - User scope: `~/.claude/commands/` + - Project scope: `./.claude/commands/` + - OpenCode global: `~/.config/opencode/command/` + - OpenCode project: `./.opencode/command/` +- **Skill Loader**: λ‹€μŒ λ””λ ‰ν† λ¦¬λ“€μ—μ„œ 디렉토리 기반의 μŠ€ν‚¬λ“€μ„ μ‹€ν–‰ κ°€λŠ₯ν•œ λͺ…λ Ήμ–΄λ‘œ λ‘œλ“œν•©λ‹ˆλ‹€: + - User scope: `~/.claude/skills/` + - Project scope: `./.claude/skills/` ## μ„€μ • diff --git a/README.md b/README.md index df7ca3c..30f488e 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,10 @@ I believe in the right tool for the job. For your wallet's sake, use CLIProxyAPI β”‚ └── Button.tsx # Reading this injects ALL 3 AGENTS.md files ``` When reading `Button.tsx`, the hook injects contexts in order: `project/AGENTS.md` β†’ `src/AGENTS.md` β†’ `components/AGENTS.md`. Each directory's context is injected only once per session. Inspired by Claude Code's CLAUDE.md feature. +- **Think Mode**: Automatic extended thinking detection and mode switching. Detects when user requests deep thinking (e.g., "think deeply", "ultrathink") and dynamically adjusts model settings for enhanced reasoning. +- **Anthropic Auto Compact**: Automatically compacts conversation history when approaching context limits for Anthropic models. +- **Empty Task Response Detector**: Detects when subagent tasks return empty or meaningless responses and handles gracefully. +- **Grep Output Truncator**: Prevents grep output from overwhelming the context by truncating excessively long results. ### Agents - **oracle** (`openai/gpt-5.1`): The architect. Expert in code reviews and strategy. Uses GPT-5.1 for its unmatched logic and reasoning capabilities. Inspired by AmpCode. @@ -220,6 +224,14 @@ Don't need these? Disable them via `oh-my-opencode.json`: ### Other Features - **Terminal Title**: Auto-updates terminal title with session status (idle β—‹, processing ◐, tool ⚑, error βœ–). Supports tmux. +- **Command Loader**: Loads markdown-based commands from multiple directories: + - User scope: `~/.claude/commands/` + - Project scope: `./.claude/commands/` + - OpenCode global: `~/.config/opencode/command/` + - OpenCode project: `./.opencode/command/` +- **Skill Loader**: Loads directory-based skills as executable commands: + - User scope: `~/.claude/skills/` + - Project scope: `./.claude/skills/` ## Configuration