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)
This commit is contained in:
@@ -6,7 +6,7 @@ export const exploreAgent: AgentConfig = {
|
|||||||
mode: "subagent",
|
mode: "subagent",
|
||||||
model: "opencode/grok-code",
|
model: "opencode/grok-code",
|
||||||
temperature: 0.1,
|
temperature: 0.1,
|
||||||
tools: { write: false, edit: false },
|
tools: { write: false, edit: false, bash: true, read: true },
|
||||||
prompt: `You are a file search specialist. You excel at thoroughly navigating and exploring codebases.
|
prompt: `You are a file search specialist. You excel at thoroughly navigating and exploring codebases.
|
||||||
|
|
||||||
=== CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS ===
|
=== CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS ===
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export const librarianAgent: AgentConfig = {
|
|||||||
mode: "subagent",
|
mode: "subagent",
|
||||||
model: "anthropic/claude-sonnet-4-5",
|
model: "anthropic/claude-sonnet-4-5",
|
||||||
temperature: 0.1,
|
temperature: 0.1,
|
||||||
tools: { write: false, edit: false },
|
tools: { write: false, edit: false, bash: true, read: true },
|
||||||
prompt: `# THE LIBRARIAN
|
prompt: `# THE LIBRARIAN
|
||||||
|
|
||||||
You are **THE LIBRARIAN**, a specialized codebase understanding agent that helps users answer questions about large, complex codebases across repositories.
|
You are **THE LIBRARIAN**, a specialized codebase understanding agent that helps users answer questions about large, complex codebases across repositories.
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export const oracleAgent: AgentConfig = {
|
|||||||
temperature: 0.1,
|
temperature: 0.1,
|
||||||
reasoningEffort: "medium",
|
reasoningEffort: "medium",
|
||||||
textVerbosity: "high",
|
textVerbosity: "high",
|
||||||
tools: { write: false, edit: false },
|
tools: { write: false, edit: false, read: true, call_omo_agent: true },
|
||||||
prompt: `You are the Oracle - an expert AI advisor with advanced reasoning capabilities.
|
prompt: `You are the Oracle - an expert AI advisor with advanced reasoning capabilities.
|
||||||
|
|
||||||
Your role is to provide high-quality technical guidance, code reviews, architectural advice, and strategic planning for software engineering tasks.
|
Your role is to provide high-quality technical guidance, code reviews, architectural advice, and strategic planning for software engineering tasks.
|
||||||
|
|||||||
Reference in New Issue
Block a user