diff --git a/docs/user-guide.md b/docs/user-guide.md index cc87fc12..68ed66fa 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -207,7 +207,7 @@ BMAD integrates with OpenCode via a project-level `opencode.jsonc`/`opencode.jso - `instructions`: `.bmad-core/core-config.yaml` plus any selected expansion pack `config.yaml` files. - `agent`: BMAD agents from core and selected packs. - `prompt`: `{file:./.bmad-core/agents/.md}` (or pack path) - - `mode`: `primary` for orchestrators, otherwise `subagent` + - `mode`: `primary` for orchestrators, otherwise `all` - `tools`: `{ write: true, edit: true, bash: true }` - `description`: extracted from the agent’s `whenToUse` - `command`: BMAD tasks from core and selected packs. diff --git a/tools/installer/lib/ide-setup.js b/tools/installer/lib/ide-setup.js index 997282e0..8973c82f 100644 --- a/tools/installer/lib/ide-setup.js +++ b/tools/installer/lib/ide-setup.js @@ -380,7 +380,7 @@ class IdeSetup extends BaseIdeSetup { const whenToUse = await extractWhenToUseFromFile(p); const agentDef = { prompt: fileRef, - mode: isOrchestratorAgent(agentId) ? 'primary' : 'subagent', + mode: isOrchestratorAgent(agentId) ? 'primary' : 'all', tools: { write: true, edit: true, bash: true }, ...(whenToUse ? { description: whenToUse } : {}), }; @@ -422,7 +422,7 @@ class IdeSetup extends BaseIdeSetup { const whenToUse = await extractWhenToUseFromFile(p); const agentDef = { prompt: fileRef, - mode: isOrchestratorAgent(agentId) ? 'primary' : 'subagent', + mode: isOrchestratorAgent(agentId) ? 'primary' : 'all', tools: { write: true, edit: true, bash: true }, ...(whenToUse ? { description: whenToUse } : {}), }; @@ -550,7 +550,7 @@ class IdeSetup extends BaseIdeSetup { // Brief context note for modes and tools section += `Note\n`; - section += `- Orchestrators run as mode: primary; other agents as subagent.\n`; + section += `- Orchestrators run as mode: primary; other agents as all.\n`; section += `- All agents have tools enabled: write, edit, bash.\n\n`; section += `## Agents\n\n`;