We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d84087 commit 4bdfbe7Copy full SHA for 4bdfbe7
1 file changed
src/workflows/controller/view.ts
@@ -81,7 +81,9 @@ export async function runControllerView(
81
82
// Find the controller agent from available agents (needed for both paths)
83
const allAgents = await collectAgentDefinitions(cwd);
84
- const controller = allAgents.find(a => a.id === definition.agentId);
+ // Resolve agent ID - try exact match first, then namespaced (e.g., "bmad:bmad-po" for "bmad-po")
85
+ const controller = allAgents.find(a => a.id === definition.agentId)
86
+ ?? allAgents.find(a => a.id.endsWith(`:${definition.agentId}`));
87
88
// Check if controller session already exists
89
const existingConfig = await loadControllerConfig(cmRoot);
0 commit comments