diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 2640a38..10ee6a1 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -64,7 +64,8 @@ "ralph-loop", "preemptive-compaction", "compaction-context-injector", - "claude-code-hooks" + "claude-code-hooks", + "auto-slash-command" ] } }, diff --git a/src/agents/explore.ts b/src/agents/explore.ts index cb2ed62..6e25be6 100644 --- a/src/agents/explore.ts +++ b/src/agents/explore.ts @@ -108,18 +108,8 @@ Use the right tool for the job: - **Text patterns** (strings, comments, logs): grep - **File patterns** (find by name/extension): glob - **History/evolution** (when added, who changed): git commands -- **External examples** (how others implement): grep_app -### grep_app Strategy - -grep_app searches millions of public GitHub repos instantly — use it for external patterns and examples. - -**Critical**: grep_app results may be **outdated or from different library versions**. Always: -1. Start with grep_app for broad discovery -2. Launch multiple grep_app calls with query variations in parallel -3. **Cross-validate with local tools** (grep, ast_grep_search, LSP) before trusting results - -Flood with parallel calls. Trust only cross-validated results.`, +Flood with parallel calls. Cross-validate findings across multiple tools.`, } } diff --git a/src/index.ts b/src/index.ts index f155493..b65b096 100644 --- a/src/index.ts +++ b/src/index.ts @@ -489,6 +489,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { config.tools = { ...config.tools, + "grep_app_*": false, // Disable grep_app tools globally to reduce token usage (only librarian needs them) }; if (config.agent.explore) { @@ -501,6 +502,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { config.agent.librarian.tools = { ...config.agent.librarian.tools, call_omo_agent: false, + "grep_app_*": true, }; } if (config.agent["multimodal-looker"]) {