ma-agents 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +4 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -52,8 +52,8 @@ function showAgents() {
|
|
|
52
52
|
const agents = listAgents();
|
|
53
53
|
console.log(chalk.bold('\n Supported Agents:\n'));
|
|
54
54
|
|
|
55
|
-
const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber'
|
|
56
|
-
const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber'
|
|
55
|
+
const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber'].includes(a.id));
|
|
56
|
+
const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber'].includes(a.id));
|
|
57
57
|
|
|
58
58
|
console.log(chalk.bold.yellow(' AI Coding Assistants:'));
|
|
59
59
|
ideAgents.forEach(agent => {
|
|
@@ -235,8 +235,8 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
|
|
|
235
235
|
|
|
236
236
|
// Step 2: Select agents
|
|
237
237
|
if (selectedAgentIds.length === 0 || isUpdate) {
|
|
238
|
-
const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber'
|
|
239
|
-
const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber'
|
|
238
|
+
const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber'].includes(a.id));
|
|
239
|
+
const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber'].includes(a.id));
|
|
240
240
|
|
|
241
241
|
// 2.1 Coding Assistants
|
|
242
242
|
const { ideChosen } = await prompts({
|