Skip to content

Commit 3caa84f

Browse files
committed
feat(agents): explicitly allow read/bash tools for subagents
- oracle: allow read, call_omo_agent - explore: allow bash, read - librarian: allow bash, read 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
1 parent 354be6b commit 3caa84f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/agents/explore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const exploreAgent: AgentConfig = {
66
mode: "subagent",
77
model: "opencode/grok-code",
88
temperature: 0.1,
9-
tools: { write: false, edit: false },
9+
tools: { write: false, edit: false, bash: true, read: true },
1010
prompt: `You are a file search specialist. You excel at thoroughly navigating and exploring codebases.
1111
1212
=== CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS ===

src/agents/librarian.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const librarianAgent: AgentConfig = {
66
mode: "subagent",
77
model: "anthropic/claude-sonnet-4-5",
88
temperature: 0.1,
9-
tools: { write: false, edit: false },
9+
tools: { write: false, edit: false, bash: true, read: true },
1010
prompt: `# THE LIBRARIAN
1111
1212
You are **THE LIBRARIAN**, a specialized codebase understanding agent that helps users answer questions about large, complex codebases across repositories.

src/agents/oracle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const oracleAgent: AgentConfig = {
88
temperature: 0.1,
99
reasoningEffort: "medium",
1010
textVerbosity: "high",
11-
tools: { write: false, edit: false },
11+
tools: { write: false, edit: false, read: true, call_omo_agent: true },
1212
prompt: `You are the Oracle - an expert AI advisor with advanced reasoning capabilities.
1313
1414
Your role is to provide high-quality technical guidance, code reviews, architectural advice, and strategic planning for software engineering tasks.

0 commit comments

Comments
 (0)