bmad-method 4.44.1 → 4.44.2
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/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/workflows/manual-release.yaml +1 -1
- package/README.md +38 -42
- package/dist/agents/analyst.txt +2 -10
- package/dist/agents/architect.txt +5 -11
- package/dist/agents/bmad-master.txt +13 -37
- package/dist/agents/bmad-orchestrator.txt +0 -7
- package/dist/agents/dev.txt +1 -6
- package/dist/agents/pm.txt +0 -10
- package/dist/agents/po.txt +1 -7
- package/dist/agents/qa.txt +4 -8
- package/dist/agents/sm.txt +0 -4
- package/dist/agents/ux-expert.txt +0 -4
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -6
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -3
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -3
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +2 -25
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +0 -9
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -8
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +1 -4
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -4
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +3 -35
- package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +0 -9
- package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +0 -8
- package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +0 -7
- package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +0 -8
- package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +0 -10
- package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +0 -8
- package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +0 -7
- package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +0 -9
- package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +0 -85
- package/dist/expansion-packs/bmad-godot-game-dev/agents/game-qa.txt +4 -1
- package/dist/expansion-packs/bmad-godot-game-dev/teams/godot-game-team.txt +4 -1
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -5
- package/dist/teams/team-all.txt +27 -58
- package/dist/teams/team-fullstack.txt +23 -46
- package/dist/teams/team-ide-minimal.txt +5 -27
- package/dist/teams/team-no-ui.txt +12 -34
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +7 -0
- package/tools/installer/config/install.config.yaml +7 -7
- package/tools/installer/lib/ide-setup.js +68 -76
- package/tools/installer/package.json +1 -1
- package/release_notes.md +0 -54
|
@@ -437,7 +437,6 @@ dependencies:
|
|
|
437
437
|
|
|
438
438
|
==================== START: .bmad-core/tasks/advanced-elicitation.md ====================
|
|
439
439
|
<!-- Powered by BMAD™ Core -->
|
|
440
|
-
|
|
441
440
|
# Advanced Elicitation Task
|
|
442
441
|
|
|
443
442
|
## Purpose
|
|
@@ -559,7 +558,6 @@ Choose a number (0-8) or 9 to proceed:
|
|
|
559
558
|
|
|
560
559
|
==================== START: .bmad-core/tasks/create-doc.md ====================
|
|
561
560
|
<!-- Powered by BMAD™ Core -->
|
|
562
|
-
|
|
563
561
|
# Create Document from Template (YAML Driven)
|
|
564
562
|
|
|
565
563
|
## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
|
|
@@ -665,7 +663,6 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
|
|
|
665
663
|
|
|
666
664
|
==================== START: .bmad-core/tasks/kb-mode-interaction.md ====================
|
|
667
665
|
<!-- Powered by BMAD™ Core -->
|
|
668
|
-
|
|
669
666
|
# KB Mode Interaction Task
|
|
670
667
|
|
|
671
668
|
## Purpose
|
|
@@ -745,7 +742,6 @@ Or ask me about anything else related to BMad-Method!
|
|
|
745
742
|
|
|
746
743
|
==================== START: .bmad-core/data/bmad-kb.md ====================
|
|
747
744
|
<!-- Powered by BMAD™ Core -->
|
|
748
|
-
|
|
749
745
|
# BMAD™ Knowledge Base
|
|
750
746
|
|
|
751
747
|
## Overview
|
|
@@ -848,7 +844,6 @@ npx bmad-method install
|
|
|
848
844
|
- **Cline**: VS Code extension with AI features
|
|
849
845
|
- **Roo Code**: Web-based IDE with agent support
|
|
850
846
|
- **GitHub Copilot**: VS Code extension with AI peer programming assistant
|
|
851
|
-
- **Auggie CLI (Augment Code)**: AI-powered development environment
|
|
852
847
|
|
|
853
848
|
**Note for VS Code Users**: BMAD-METHOD™ assumes when you mention "VS Code" that you're using it with an AI-powered extension like GitHub Copilot, Cline, or Roo. Standard VS Code without AI capabilities cannot run BMad agents. The installer includes built-in support for Cline and Roo.
|
|
854
849
|
|
|
@@ -1557,7 +1552,6 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1557
1552
|
|
|
1558
1553
|
==================== START: .bmad-core/data/elicitation-methods.md ====================
|
|
1559
1554
|
<!-- Powered by BMAD™ Core -->
|
|
1560
|
-
|
|
1561
1555
|
# Elicitation Methods Data
|
|
1562
1556
|
|
|
1563
1557
|
## Core Reflective Methods
|
|
@@ -1716,7 +1710,6 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1716
1710
|
|
|
1717
1711
|
==================== START: .bmad-core/utils/workflow-management.md ====================
|
|
1718
1712
|
<!-- Powered by BMAD™ Core -->
|
|
1719
|
-
|
|
1720
1713
|
# Workflow Management
|
|
1721
1714
|
|
|
1722
1715
|
Enables BMad orchestrator to manage and execute team workflows.
|
|
@@ -1790,7 +1783,6 @@ Agents should be workflow-aware: know active workflow, their role, access artifa
|
|
|
1790
1783
|
|
|
1791
1784
|
==================== START: .bmad-core/tasks/create-deep-research-prompt.md ====================
|
|
1792
1785
|
<!-- Powered by BMAD™ Core -->
|
|
1793
|
-
|
|
1794
1786
|
# Create Deep Research Prompt Task
|
|
1795
1787
|
|
|
1796
1788
|
This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
|
|
@@ -2073,7 +2065,6 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
|
|
|
2073
2065
|
|
|
2074
2066
|
==================== START: .bmad-core/tasks/document-project.md ====================
|
|
2075
2067
|
<!-- Powered by BMAD™ Core -->
|
|
2076
|
-
|
|
2077
2068
|
# Document an Existing Project
|
|
2078
2069
|
|
|
2079
2070
|
## Purpose
|
|
@@ -2420,11 +2411,10 @@ Apply the advanced elicitation task after major sections to refine based on user
|
|
|
2420
2411
|
==================== END: .bmad-core/tasks/document-project.md ====================
|
|
2421
2412
|
|
|
2422
2413
|
==================== START: .bmad-core/tasks/facilitate-brainstorming-session.md ====================
|
|
2423
|
-
|
|
2424
|
-
|
|
2414
|
+
<!-- Powered by BMAD™ Core -->
|
|
2415
|
+
---
|
|
2425
2416
|
docOutputLocation: docs/brainstorming-session-results.md
|
|
2426
2417
|
template: '.bmad-core/templates/brainstorming-output-tmpl.yaml'
|
|
2427
|
-
|
|
2428
2418
|
---
|
|
2429
2419
|
|
|
2430
2420
|
# Facilitate Brainstorming Session Task
|
|
@@ -3512,7 +3502,6 @@ sections:
|
|
|
3512
3502
|
|
|
3513
3503
|
==================== START: .bmad-core/data/brainstorming-techniques.md ====================
|
|
3514
3504
|
<!-- Powered by BMAD™ Core -->
|
|
3515
|
-
|
|
3516
3505
|
# Brainstorming Techniques Data
|
|
3517
3506
|
|
|
3518
3507
|
## Creative Expansion
|
|
@@ -3553,7 +3542,6 @@ sections:
|
|
|
3553
3542
|
|
|
3554
3543
|
==================== START: .bmad-core/tasks/brownfield-create-epic.md ====================
|
|
3555
3544
|
<!-- Powered by BMAD™ Core -->
|
|
3556
|
-
|
|
3557
3545
|
# Create Brownfield Epic Task
|
|
3558
3546
|
|
|
3559
3547
|
## Purpose
|
|
@@ -3718,7 +3706,6 @@ The epic creation is successful when:
|
|
|
3718
3706
|
|
|
3719
3707
|
==================== START: .bmad-core/tasks/brownfield-create-story.md ====================
|
|
3720
3708
|
<!-- Powered by BMAD™ Core -->
|
|
3721
|
-
|
|
3722
3709
|
# Create Brownfield Story Task
|
|
3723
3710
|
|
|
3724
3711
|
## Purpose
|
|
@@ -3870,7 +3857,6 @@ The story creation is successful when:
|
|
|
3870
3857
|
|
|
3871
3858
|
==================== START: .bmad-core/tasks/correct-course.md ====================
|
|
3872
3859
|
<!-- Powered by BMAD™ Core -->
|
|
3873
|
-
|
|
3874
3860
|
# Correct Course Task
|
|
3875
3861
|
|
|
3876
3862
|
## Purpose
|
|
@@ -3945,7 +3931,6 @@ The story creation is successful when:
|
|
|
3945
3931
|
|
|
3946
3932
|
==================== START: .bmad-core/tasks/execute-checklist.md ====================
|
|
3947
3933
|
<!-- Powered by BMAD™ Core -->
|
|
3948
|
-
|
|
3949
3934
|
# Checklist Validation Task
|
|
3950
3935
|
|
|
3951
3936
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
@@ -4036,7 +4021,6 @@ The LLM will:
|
|
|
4036
4021
|
|
|
4037
4022
|
==================== START: .bmad-core/tasks/shard-doc.md ====================
|
|
4038
4023
|
<!-- Powered by BMAD™ Core -->
|
|
4039
|
-
|
|
4040
4024
|
# Document Sharding Task
|
|
4041
4025
|
|
|
4042
4026
|
## Purpose
|
|
@@ -4716,7 +4700,6 @@ sections:
|
|
|
4716
4700
|
|
|
4717
4701
|
==================== START: .bmad-core/checklists/change-checklist.md ====================
|
|
4718
4702
|
<!-- Powered by BMAD™ Core -->
|
|
4719
|
-
|
|
4720
4703
|
# Change Navigation Checklist
|
|
4721
4704
|
|
|
4722
4705
|
**Purpose:** To systematically guide the selected Agent and user through the analysis and planning required when a significant change (pivot, tech issue, missing requirement, failed story) is identified during the BMad workflow.
|
|
@@ -4903,7 +4886,6 @@ Keep it action-oriented and forward-looking.]]
|
|
|
4903
4886
|
|
|
4904
4887
|
==================== START: .bmad-core/checklists/pm-checklist.md ====================
|
|
4905
4888
|
<!-- Powered by BMAD™ Core -->
|
|
4906
|
-
|
|
4907
4889
|
# Product Manager (PM) Requirements Checklist
|
|
4908
4890
|
|
|
4909
4891
|
This checklist serves as a comprehensive framework to ensure the Product Requirements Document (PRD) and Epic definitions are complete, well-structured, and appropriately scoped for MVP development. The PM should systematically work through each item during the product definition process.
|
|
@@ -5278,7 +5260,6 @@ After presenting the report, ask if the user wants:
|
|
|
5278
5260
|
|
|
5279
5261
|
==================== START: .bmad-core/data/technical-preferences.md ====================
|
|
5280
5262
|
<!-- Powered by BMAD™ Core -->
|
|
5281
|
-
|
|
5282
5263
|
# User-Defined Preferred Patterns and Preferences
|
|
5283
5264
|
|
|
5284
5265
|
None Listed
|
|
@@ -6050,8 +6031,8 @@ sections:
|
|
|
6050
6031
|
- **UI/UX Consistency:** {{ui_compatibility}}
|
|
6051
6032
|
- **Performance Impact:** {{performance_constraints}}
|
|
6052
6033
|
|
|
6053
|
-
- id: tech-stack
|
|
6054
|
-
title: Tech Stack
|
|
6034
|
+
- id: tech-stack-alignment
|
|
6035
|
+
title: Tech Stack Alignment
|
|
6055
6036
|
instruction: |
|
|
6056
6037
|
Ensure new components align with existing technology choices:
|
|
6057
6038
|
|
|
@@ -6213,8 +6194,8 @@ sections:
|
|
|
6213
6194
|
|
|
6214
6195
|
**Error Handling:** {{error_handling_strategy}}
|
|
6215
6196
|
|
|
6216
|
-
- id: source-tree
|
|
6217
|
-
title: Source Tree
|
|
6197
|
+
- id: source-tree-integration
|
|
6198
|
+
title: Source Tree Integration
|
|
6218
6199
|
instruction: |
|
|
6219
6200
|
Define how new code will integrate with existing project structure:
|
|
6220
6201
|
|
|
@@ -6283,7 +6264,7 @@ sections:
|
|
|
6283
6264
|
**Monitoring:** {{monitoring_approach}}
|
|
6284
6265
|
|
|
6285
6266
|
- id: coding-standards
|
|
6286
|
-
title: Coding Standards
|
|
6267
|
+
title: Coding Standards and Conventions
|
|
6287
6268
|
instruction: |
|
|
6288
6269
|
Ensure new code follows existing project conventions:
|
|
6289
6270
|
|
|
@@ -7469,7 +7450,6 @@ sections:
|
|
|
7469
7450
|
|
|
7470
7451
|
==================== START: .bmad-core/checklists/architect-checklist.md ====================
|
|
7471
7452
|
<!-- Powered by BMAD™ Core -->
|
|
7472
|
-
|
|
7473
7453
|
# Architect Solution Validation Checklist
|
|
7474
7454
|
|
|
7475
7455
|
This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
|
|
@@ -7912,7 +7892,6 @@ After presenting the report, ask the user if they would like detailed analysis o
|
|
|
7912
7892
|
|
|
7913
7893
|
==================== START: .bmad-core/tasks/validate-next-story.md ====================
|
|
7914
7894
|
<!-- Powered by BMAD™ Core -->
|
|
7915
|
-
|
|
7916
7895
|
# Validate Next Story Task
|
|
7917
7896
|
|
|
7918
7897
|
## Purpose
|
|
@@ -7934,7 +7913,7 @@ To comprehensively validate a story draft before implementation begins, ensuring
|
|
|
7934
7913
|
|
|
7935
7914
|
### 1. Template Completeness Validation
|
|
7936
7915
|
|
|
7937
|
-
- Load
|
|
7916
|
+
- Load `bmad-core/templates/story-tmpl.md` and extract all section headings from the template
|
|
7938
7917
|
- **Missing sections check**: Compare story sections against template sections to verify all required sections are present
|
|
7939
7918
|
- **Placeholder validation**: Ensure no template placeholders remain unfilled (e.g., `{{EpicNum}}`, `{{role}}`, `_TBD_`)
|
|
7940
7919
|
- **Agent section verification**: Confirm all sections from template exist for future agent use
|
|
@@ -8192,7 +8171,6 @@ sections:
|
|
|
8192
8171
|
|
|
8193
8172
|
==================== START: .bmad-core/checklists/po-master-checklist.md ====================
|
|
8194
8173
|
<!-- Powered by BMAD™ Core -->
|
|
8195
|
-
|
|
8196
8174
|
# Product Owner (PO) Master Validation Checklist
|
|
8197
8175
|
|
|
8198
8176
|
This checklist serves as a comprehensive framework for the Product Owner to validate project plans before development execution. It adapts intelligently based on project type (greenfield vs brownfield) and includes UI/UX considerations when applicable.
|
|
@@ -8744,7 +8722,7 @@ workflow:
|
|
|
8744
8722
|
- Dev Agent (New Chat): Address remaining items
|
|
8745
8723
|
- Return to QA for final approval
|
|
8746
8724
|
|
|
8747
|
-
-
|
|
8725
|
+
- repeat_development_cycle:
|
|
8748
8726
|
action: continue_for_all_stories
|
|
8749
8727
|
notes: |
|
|
8750
8728
|
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
@@ -8761,7 +8739,7 @@ workflow:
|
|
|
8761
8739
|
- Validate epic was completed correctly
|
|
8762
8740
|
- Document learnings and improvements
|
|
8763
8741
|
|
|
8764
|
-
-
|
|
8742
|
+
- workflow_end:
|
|
8765
8743
|
action: project_complete
|
|
8766
8744
|
notes: |
|
|
8767
8745
|
All stories implemented and reviewed!
|
|
@@ -8946,7 +8924,7 @@ workflow:
|
|
|
8946
8924
|
- Dev Agent (New Chat): Address remaining items
|
|
8947
8925
|
- Return to QA for final approval
|
|
8948
8926
|
|
|
8949
|
-
-
|
|
8927
|
+
- repeat_development_cycle:
|
|
8950
8928
|
action: continue_for_all_stories
|
|
8951
8929
|
notes: |
|
|
8952
8930
|
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
@@ -8963,7 +8941,7 @@ workflow:
|
|
|
8963
8941
|
- Validate epic was completed correctly
|
|
8964
8942
|
- Document learnings and improvements
|
|
8965
8943
|
|
|
8966
|
-
-
|
|
8944
|
+
- workflow_end:
|
|
8967
8945
|
action: project_complete
|
|
8968
8946
|
notes: |
|
|
8969
8947
|
All stories implemented and reviewed!
|
package/package.json
CHANGED
|
@@ -208,6 +208,13 @@ async function promptInstallation() {
|
|
|
208
208
|
console.log(chalk.bold.magenta('🚀 Universal AI Agent Framework for Any Domain'));
|
|
209
209
|
console.log(chalk.bold.blue(`✨ Installer v${version}\n`));
|
|
210
210
|
|
|
211
|
+
// Deprecation notice for v4
|
|
212
|
+
console.log(chalk.yellow.bold('⚠️ You are installing BMad v4 (stable but frozen)'));
|
|
213
|
+
console.log(chalk.yellow(' v4 receives critical patches only - no new features\n'));
|
|
214
|
+
console.log(chalk.cyan('💡 Want the latest features? Try BMad v6 Alpha:'));
|
|
215
|
+
console.log(chalk.white(' npx bmad-method@alpha install'));
|
|
216
|
+
console.log(chalk.dim(' (Alpha is stable enough for testing)\n'));
|
|
217
|
+
|
|
211
218
|
const answers = {};
|
|
212
219
|
|
|
213
220
|
// Ask for installation directory first
|
|
@@ -121,15 +121,15 @@ ide-configurations:
|
|
|
121
121
|
|
|
122
122
|
qwen-code:
|
|
123
123
|
name: Qwen Code
|
|
124
|
-
rule-dir: .qwen/
|
|
125
|
-
format:
|
|
126
|
-
command-suffix: .
|
|
124
|
+
rule-dir: .qwen/commands/BMad/
|
|
125
|
+
format: multi-file
|
|
126
|
+
command-suffix: .toml
|
|
127
127
|
instructions: |
|
|
128
128
|
# To use BMad agents with Qwen Code:
|
|
129
|
-
# 1. The installer creates a
|
|
130
|
-
# 2.
|
|
131
|
-
# 3.
|
|
132
|
-
# 4. The
|
|
129
|
+
# 1. The installer creates a `BMad` folder in `.qwen/commands`.
|
|
130
|
+
# 2. This adds custom commands for each agent and task.
|
|
131
|
+
# 3. Type /BMad:agents:<agent-name> (e.g., "/BMad:agents:dev", "/BMad:agents:pm") or /BMad:tasks:<task-name> (e.g., "/BMad:tasks:create-doc").
|
|
132
|
+
# 4. The agent will adopt that persona for the conversation or perform the task.
|
|
133
133
|
|
|
134
134
|
auggie-cli:
|
|
135
135
|
name: Auggie CLI (Augment Code)
|
|
@@ -2056,94 +2056,86 @@ CRITICAL: You are to execute the BMad Task defined below.
|
|
|
2056
2056
|
}
|
|
2057
2057
|
|
|
2058
2058
|
async setupQwenCode(installDir, selectedAgent) {
|
|
2059
|
-
const
|
|
2060
|
-
const
|
|
2061
|
-
await fileManager.ensureDirectory(bmadMethodDir);
|
|
2059
|
+
const ideConfig = await configLoader.getIdeConfiguration('qwen-code');
|
|
2060
|
+
const bmadCommandsDir = path.join(installDir, ideConfig['rule-dir']);
|
|
2062
2061
|
|
|
2063
|
-
|
|
2064
|
-
const
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
const settingsContent = await fileManager.readFile(settingsPath);
|
|
2068
|
-
const settings = JSON.parse(settingsContent);
|
|
2069
|
-
let updated = false;
|
|
2070
|
-
|
|
2071
|
-
// Handle contextFileName property
|
|
2072
|
-
if (settings.contextFileName && Array.isArray(settings.contextFileName)) {
|
|
2073
|
-
const originalLength = settings.contextFileName.length;
|
|
2074
|
-
settings.contextFileName = settings.contextFileName.filter(
|
|
2075
|
-
(fileName) => !fileName.startsWith('agents/'),
|
|
2076
|
-
);
|
|
2077
|
-
if (settings.contextFileName.length !== originalLength) {
|
|
2078
|
-
updated = true;
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2062
|
+
const agentCommandsDir = path.join(bmadCommandsDir, 'agents');
|
|
2063
|
+
const taskCommandsDir = path.join(bmadCommandsDir, 'tasks');
|
|
2064
|
+
await fileManager.ensureDirectory(agentCommandsDir);
|
|
2065
|
+
await fileManager.ensureDirectory(taskCommandsDir);
|
|
2081
2066
|
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
console.
|
|
2067
|
+
// Process Agents
|
|
2068
|
+
const agents = selectedAgent ? [selectedAgent] : await this.getAllAgentIds(installDir);
|
|
2069
|
+
for (const agentId of agents) {
|
|
2070
|
+
const agentPath = await this.findAgentPath(agentId, installDir);
|
|
2071
|
+
if (!agentPath) {
|
|
2072
|
+
console.log(chalk.yellow(`✗ Agent file not found for ${agentId}, skipping.`));
|
|
2073
|
+
continue;
|
|
2088
2074
|
}
|
|
2089
|
-
}
|
|
2090
2075
|
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
if (await fileManager.pathExists(agentsDir)) {
|
|
2094
|
-
await fileManager.removeDirectory(agentsDir);
|
|
2095
|
-
console.log(chalk.green('✓ Removed old .qwen/agents directory'));
|
|
2096
|
-
}
|
|
2076
|
+
const agentTitle = await this.getAgentTitle(agentId, installDir);
|
|
2077
|
+
const commandPath = path.join(agentCommandsDir, `${agentId}.toml`);
|
|
2097
2078
|
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
let concatenatedContent = '';
|
|
2079
|
+
// Get relative path from installDir to agent file for @{file} reference
|
|
2080
|
+
const relativeAgentPath = path.relative(installDir, agentPath).replaceAll('\\', '/');
|
|
2101
2081
|
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
const agentPath = await this.findAgentPath(agentId, installDir);
|
|
2082
|
+
// Read the agent content
|
|
2083
|
+
const agentContent = await fileManager.readFile(agentPath);
|
|
2105
2084
|
|
|
2106
|
-
|
|
2107
|
-
|
|
2085
|
+
const tomlContent = `description = " Activates the ${agentTitle} agent from the BMad Method."
|
|
2086
|
+
prompt = """
|
|
2087
|
+
CRITICAL: You are now the BMad '${agentTitle}' agent. Adopt its persona, follow its instructions, and use its capabilities.
|
|
2108
2088
|
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
installDir,
|
|
2114
|
-
)} agent persona.\n\n`;
|
|
2115
|
-
agentRuleContent += '## Agent Activation\n\n';
|
|
2116
|
-
agentRuleContent +=
|
|
2117
|
-
'CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:\n\n';
|
|
2118
|
-
agentRuleContent += '```yaml\n';
|
|
2119
|
-
// Extract just the YAML content from the agent file
|
|
2120
|
-
const yamlContent = extractYamlFromAgent(agentContent);
|
|
2121
|
-
if (yamlContent) {
|
|
2122
|
-
agentRuleContent += yamlContent;
|
|
2123
|
-
} else {
|
|
2124
|
-
// If no YAML found, include the whole content minus the header
|
|
2125
|
-
agentRuleContent += agentContent.replace(/^#.*$/m, '').trim();
|
|
2126
|
-
}
|
|
2127
|
-
agentRuleContent += '\n```\n\n';
|
|
2128
|
-
agentRuleContent += '## File Reference\n\n';
|
|
2129
|
-
const relativePath = path.relative(installDir, agentPath).replaceAll('\\', '/');
|
|
2130
|
-
agentRuleContent += `The complete agent definition is available in [${relativePath}](${relativePath}).\n\n`;
|
|
2131
|
-
agentRuleContent += '## Usage\n\n';
|
|
2132
|
-
agentRuleContent += `When the user types \`*${agentId}\`, activate this ${await this.getAgentTitle(
|
|
2133
|
-
agentId,
|
|
2134
|
-
installDir,
|
|
2135
|
-
)} persona and follow all instructions defined in the YAML configuration above.\n`;
|
|
2089
|
+
READ THIS BEFORE ANSWERING AS THE PERSONA!
|
|
2090
|
+
|
|
2091
|
+
${agentContent}
|
|
2092
|
+
"""`;
|
|
2136
2093
|
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2094
|
+
await fileManager.writeFile(commandPath, tomlContent);
|
|
2095
|
+
console.log(chalk.green(`✓ Created agent command: /bmad:agents:${agentId}`));
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
// Process Tasks
|
|
2099
|
+
const tasks = await this.getAllTaskIds(installDir);
|
|
2100
|
+
for (const taskId of tasks) {
|
|
2101
|
+
const taskPath = await this.findTaskPath(taskId, installDir);
|
|
2102
|
+
if (!taskPath) {
|
|
2103
|
+
console.log(chalk.yellow(`✗ Task file not found for ${taskId}, skipping.`));
|
|
2104
|
+
continue;
|
|
2140
2105
|
}
|
|
2106
|
+
|
|
2107
|
+
const taskTitle = taskId
|
|
2108
|
+
.split('-')
|
|
2109
|
+
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
2110
|
+
.join(' ');
|
|
2111
|
+
const commandPath = path.join(taskCommandsDir, `${taskId}.toml`);
|
|
2112
|
+
|
|
2113
|
+
// Get relative path from installDir to task file for @{file} reference
|
|
2114
|
+
const relativeTaskPath = path.relative(installDir, taskPath).replaceAll('\\', '/');
|
|
2115
|
+
|
|
2116
|
+
// Read the task content
|
|
2117
|
+
const taskContent = await fileManager.readFile(taskPath);
|
|
2118
|
+
|
|
2119
|
+
const tomlContent = `description = " Executes the BMad Task: ${taskTitle}"
|
|
2120
|
+
prompt = """
|
|
2121
|
+
CRITICAL: You are to execute the BMad Task defined below.
|
|
2122
|
+
|
|
2123
|
+
READ THIS BEFORE EXECUTING THE TASK AS THE INSTRUCTIONS SPECIFIED!
|
|
2124
|
+
|
|
2125
|
+
${taskContent}
|
|
2126
|
+
"""`;
|
|
2127
|
+
|
|
2128
|
+
await fileManager.writeFile(commandPath, tomlContent);
|
|
2129
|
+
console.log(chalk.green(`✓ Created task command: /bmad:tasks:${taskId}`));
|
|
2141
2130
|
}
|
|
2142
2131
|
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2132
|
+
console.log(
|
|
2133
|
+
chalk.green(`
|
|
2134
|
+
✓ Created Qwen Code extension in ${bmadCommandsDir}`),
|
|
2135
|
+
);
|
|
2136
|
+
console.log(
|
|
2137
|
+
chalk.dim('You can now use commands like /bmad:agents:dev or /bmad:tasks:create-doc.'),
|
|
2138
|
+
);
|
|
2147
2139
|
|
|
2148
2140
|
return true;
|
|
2149
2141
|
}
|
package/release_notes.md
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
## 🚀 What's New in v4.44.1
|
|
2
|
-
|
|
3
|
-
### ✨ New Features
|
|
4
|
-
- feat: implement fork-friendly CI/CD with opt-in mechanism (#476)
|
|
5
|
-
- feat(installer): add Codex CLI + Codex Web modes, generate AGENTS.md, inject npm scripts, and docs (#529)
|
|
6
|
-
- feat: add PR validation workflow and contribution checks
|
|
7
|
-
- feat: Add Auggie CLI (Augment Code) Integration (#520)
|
|
8
|
-
- feat: enhance file exclusion capabilities with .bmad-flattenignore support (#531)
|
|
9
|
-
- feat: add iflow cli support to bmad installer. (#510)
|
|
10
|
-
- feat(opencode): add JSON-only integration and compact AGENTS.md generator (#570)
|
|
11
|
-
|
|
12
|
-
### 🐛 Bug Fixes
|
|
13
|
-
- fix: update installer version display to show 4.39.0
|
|
14
|
-
- fix: prettier fixes
|
|
15
|
-
- fix: previous merge set wrong default install location
|
|
16
|
-
- fix: documentation and trademark updates
|
|
17
|
-
- fix: remove incorrect else branch causing flatten command regression (#452)
|
|
18
|
-
- fix: correct dependency path format in bmad-master agent (#495)
|
|
19
|
-
- fix: Codex options missing from the IDE selection menu (#535)
|
|
20
|
-
- Fixed: "glob" is not defined (#504)
|
|
21
|
-
- fix: Template file extension in validation next story steps (#523)
|
|
22
|
-
- fix: update .gitignore to correct cursor file entry (#485)
|
|
23
|
-
- fix: update workflow file extensions from .md to .yaml in bmad-master.md (#562)
|
|
24
|
-
- fix: Changed title to coding standards section of brownfield architecture template (#564)
|
|
25
|
-
- fix: BMAD Brownfield Document Naming Inconsistency Bug (#627)
|
|
26
|
-
|
|
27
|
-
### 📦 Other Changes
|
|
28
|
-
- patch: move script to tools folder
|
|
29
|
-
- typo in README.md (#515)
|
|
30
|
-
- Update dev.md (#491)
|
|
31
|
-
- test: trigger PR validation (#533)
|
|
32
|
-
- docs: remove misplaced Codex section from README
|
|
33
|
-
- Expansion pack doc correction
|
|
34
|
-
- added gemini cli custom commands! (#549)
|
|
35
|
-
- Update ide-setup.js - add missing glob require (#514)
|
|
36
|
-
- Godot Game Dev expansion pack for BMAD (#532)
|
|
37
|
-
- documentation updates
|
|
38
|
-
- remove errant command from readme
|
|
39
|
-
- version up
|
|
40
|
-
|
|
41
|
-
### 🔧 Maintenance
|
|
42
|
-
- chore: bump to 4.39.1 to fix installer version display
|
|
43
|
-
- chore: update project dependencies and development tooling (#508)
|
|
44
|
-
- chore: bump version to 4.42.0 for release
|
|
45
|
-
- chore: sync version to 4.42.1 after release
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## 📦 Installation
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npx bmad-method install
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**Full Changelog**: https://github.com/bmadcode/BMAD-METHOD/compare/v4.39.0...v4.44.1
|