ma-agents 2.9.0 → 2.10.0
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 -2
- package/lib/agents.js +3 -3
- package/lib/bmad.js +14 -6
- package/package.json +1 -1
- /package/lib/bmad-customizations/{cyber.customize.yaml → bmm-cyber.customize.yaml} +0 -0
- /package/lib/bmad-customizations/{devops.customize.yaml → bmm-devops.customize.yaml} +0 -0
- /package/lib/bmad-customizations/{sre.customize.yaml → bmm-sre.customize.yaml} +0 -0
package/bin/cli.js
CHANGED
|
@@ -281,7 +281,8 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
|
|
|
281
281
|
|
|
282
282
|
if (installBmad) {
|
|
283
283
|
console.log(chalk.cyan('\n Installing BMAD-METHOD...'));
|
|
284
|
-
const
|
|
284
|
+
const bmadTools = selectedAgentIds.filter(id => ['claude-code', 'cursor', 'cline', 'gemini', 'antigravity'].includes(id));
|
|
285
|
+
const success = await bmad.installBmad(['bmm', 'bmb'], bmadTools);
|
|
285
286
|
if (success) {
|
|
286
287
|
console.log(chalk.green(' BMAD-METHOD installed successfully!'));
|
|
287
288
|
console.log(chalk.cyan(' Applying ma-agents customizations...'));
|
|
@@ -298,7 +299,8 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
|
|
|
298
299
|
|
|
299
300
|
if (updateBmad) {
|
|
300
301
|
console.log(chalk.cyan('\n Updating BMAD-METHOD...'));
|
|
301
|
-
const
|
|
302
|
+
const bmadTools = selectedAgentIds.filter(id => ['claude-code', 'cursor', 'cline', 'gemini', 'antigravity'].includes(id));
|
|
303
|
+
const success = await bmad.updateBmad(['bmm', 'bmb'], bmadTools);
|
|
302
304
|
if (success) {
|
|
303
305
|
console.log(chalk.green(' BMAD-METHOD updated successfully!'));
|
|
304
306
|
console.log(chalk.cyan(' Re-applying ma-agents customizations...'));
|
package/lib/agents.js
CHANGED
|
@@ -140,7 +140,7 @@ const agents = [
|
|
|
140
140
|
instructionFiles: [] // Cursor uses .cursorrules or individual .mdc files
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
id: 'sre',
|
|
143
|
+
id: 'bmm-sre',
|
|
144
144
|
name: 'SRE Agent',
|
|
145
145
|
version: '1.0.0',
|
|
146
146
|
description: 'Specialized SRE Agent for BMAD-METHOD',
|
|
@@ -180,7 +180,7 @@ const agents = [
|
|
|
180
180
|
instructionFiles: []
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
id: 'devops',
|
|
183
|
+
id: 'bmm-devops',
|
|
184
184
|
name: 'DevOps Agent',
|
|
185
185
|
version: '1.0.0',
|
|
186
186
|
description: 'Specialized DevOps Agent for BMAD-METHOD',
|
|
@@ -200,7 +200,7 @@ const agents = [
|
|
|
200
200
|
instructionFiles: []
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
|
-
id: 'cyber',
|
|
203
|
+
id: 'bmm-cyber',
|
|
204
204
|
name: 'Cyber Analyst',
|
|
205
205
|
version: '1.0.0',
|
|
206
206
|
description: 'Specialized Cyber Security Analyst (Yael) for BMAD-METHOD',
|
package/lib/bmad.js
CHANGED
|
@@ -10,11 +10,15 @@ function isBmadInstalled(projectRoot = process.cwd()) {
|
|
|
10
10
|
return fs.existsSync(path.join(projectRoot, BMAD_DIR));
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
async function installBmad(
|
|
13
|
+
async function installBmad(modules = ['bmm', 'bmb'], tools = [], projectRoot = process.cwd()) {
|
|
14
14
|
let command = 'npx bmad-method install --yes';
|
|
15
15
|
|
|
16
|
-
if (
|
|
17
|
-
command += ` --
|
|
16
|
+
if (modules && modules.length > 0) {
|
|
17
|
+
command += ` --modules ${modules.join(',')}`;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (tools && tools.length > 0) {
|
|
21
|
+
command += ` --tools ${tools.join(',')}`;
|
|
18
22
|
} else {
|
|
19
23
|
command += ' --tools none';
|
|
20
24
|
}
|
|
@@ -29,11 +33,15 @@ async function installBmad(agentIds, projectRoot = process.cwd()) {
|
|
|
29
33
|
}
|
|
30
34
|
}
|
|
31
35
|
|
|
32
|
-
async function updateBmad(
|
|
36
|
+
async function updateBmad(modules = ['bmm', 'bmb'], tools = [], projectRoot = process.cwd()) {
|
|
33
37
|
let command = 'npx bmad-method install --action update --yes';
|
|
34
38
|
|
|
35
|
-
if (
|
|
36
|
-
command += ` --
|
|
39
|
+
if (modules && modules.length > 0) {
|
|
40
|
+
command += ` --modules ${modules.join(',')}`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (tools && tools.length > 0) {
|
|
44
|
+
command += ` --tools ${tools.join(',')}`;
|
|
37
45
|
}
|
|
38
46
|
|
|
39
47
|
console.log(chalk.gray(` Running: ${command}`));
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|