2025-06-06 02:24:31 -05:00
|
|
|
{
|
2025-08-16 19:08:39 -05:00
|
|
|
"$schema": "https://json.schemastore.org/package.json",
|
2025-07-27 23:54:23 -05:00
|
|
|
"name": "bmad-method",
|
Release v6.0.0-alpha.8
## Installation Path Enhancements
- **Configurable Installation Directory**: Users can now specify custom installation directories during setup
- **New Default Location**: Changed default installation to `.bmad` (hidden directory) for cleaner project organization
- **Ephemeral File Handling**: Updated phase 4 implementation to use ephemeral file locations for better artifact organization
## CLI & Agent Loading Improvements
- **Optimized Agent Loading**: CLI commands now load from installed agent files, eliminating duplication
- **Installer UX Improvements**: Enhanced installer interface with version display
- **VS Code Integration**: Updated settings for new `.bmad` directory structure
## Web Bundle Enhancements
- **Party Mode Support**: All web bundles (single agent and team) now include party mode for multi-agent collaboration
- **Advanced Elicitation**: Integrated advanced elicitation capabilities into standalone agents
- **Expanded Agent Bundles**: New web bundle outputs for all agents (analyst, architect, dev, pm, sm, tea, tech-writer, ux-designer, game-*, creative-squad)
- **Team Customization**: Added default-party.csv files to bmm, bmgd, and cis modules with customizable party configurations
## Phase 4 Workflow Updates (In Progress)
- **Artifact Separation**: Initiated separation of phase 4 implementation artifacts from documentation
- **Dedicated Artifact Path**: Phase 4 items (stories, code review, sprint plan, context files) moving to dedicated location outside docs folder
- **Updated Workflows**: Modified workflow.yaml files for code-review, sprint-planning, story-context, epic-tech-context, and retrospective workflows
- **Configuration Support**: Added installer questions for artifact path selection
## IDE Integration
- **Gemini TOML**: Improved with clear loading instructions using @ commands
- **Centralized Templates**: Agent launcher markdown files now use centralized critical indication templates
- **GitHub Copilot**: Updated tool names to match official VS Code documentation (November 2025)
## Bug Fixes
- Fixed duplicate manifest entries by deduplicating module lists using Set
- Cleaned up legacy bmad/, bmd/, and web-bundles directories
- Various improvements to phase 4 workflow artifact handling
## Additional Changes
- New agent and action command header models for standardization
- Enhanced web-bundle-activation-steps fragment
- Updated web-bundler.js to support new structure
- Improved party mode instructions and workflow orchestration
2025-11-09 23:24:25 -06:00
|
|
|
"version": "6.0.0-alpha.8",
|
2025-07-27 23:54:23 -05:00
|
|
|
"description": "Breakthrough Method of Agile AI-driven Development",
|
2025-08-16 19:08:39 -05:00
|
|
|
"keywords": [
|
|
|
|
|
"agile",
|
|
|
|
|
"ai",
|
|
|
|
|
"orchestrator",
|
|
|
|
|
"development",
|
|
|
|
|
"methodology",
|
|
|
|
|
"agents",
|
|
|
|
|
"bmad"
|
|
|
|
|
],
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2025-09-28 23:17:07 -05:00
|
|
|
"url": "git+https://github.com/bmad-code-org/BMAD-METHOD.git"
|
2025-08-16 19:08:39 -05:00
|
|
|
},
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"author": "Brian (BMad) Madison",
|
2025-09-28 23:17:07 -05:00
|
|
|
"main": "tools/cli/bmad-cli.js",
|
2025-07-27 23:54:23 -05:00
|
|
|
"bin": {
|
2025-10-26 23:42:56 -05:00
|
|
|
"bmad": "tools/bmad-npx-wrapper.js",
|
|
|
|
|
"bmad-method": "tools/bmad-npx-wrapper.js"
|
2025-07-27 23:54:23 -05:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2025-09-28 23:17:07 -05:00
|
|
|
"bmad:install": "node tools/cli/bmad-cli.js install",
|
|
|
|
|
"bmad:status": "node tools/cli/bmad-cli.js status",
|
|
|
|
|
"bundle": "node tools/cli/bundlers/bundle-web.js all",
|
2025-07-27 23:54:23 -05:00
|
|
|
"flatten": "node tools/flattener/main.js",
|
2025-08-16 19:08:39 -05:00
|
|
|
"format:check": "prettier --check \"**/*.{js,cjs,mjs,json,md,yaml}\"",
|
2025-09-28 23:17:07 -05:00
|
|
|
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,json,md,yaml}\"",
|
|
|
|
|
"install:bmad": "node tools/cli/bmad-cli.js install",
|
2025-08-16 19:08:39 -05:00
|
|
|
"lint": "eslint . --ext .js,.cjs,.mjs,.yaml --max-warnings=0",
|
|
|
|
|
"lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
|
|
|
|
|
"prepare": "husky",
|
2025-09-28 23:17:07 -05:00
|
|
|
"rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
|
2025-08-16 20:38:58 -05:00
|
|
|
"release:major": "gh workflow run \"Manual Release\" -f version_bump=major",
|
|
|
|
|
"release:minor": "gh workflow run \"Manual Release\" -f version_bump=minor",
|
|
|
|
|
"release:patch": "gh workflow run \"Manual Release\" -f version_bump=patch",
|
|
|
|
|
"release:watch": "gh run watch",
|
2025-11-05 14:14:31 -06:00
|
|
|
"test": "npm run test:schemas && npm run test:install && npm run validate:bundles && npm run validate:schemas && npm run lint && npm run format:check",
|
|
|
|
|
"test:coverage": "c8 --reporter=text --reporter=html npm run test:schemas",
|
|
|
|
|
"test:install": "node test/test-installation-components.js",
|
|
|
|
|
"test:schemas": "node test/test-agent-schema.js",
|
feat: add agent schema validation with comprehensive testing (#774)
Introduce automated validation for agent YAML files using Zod to ensure
schema compliance across all agent definitions. This feature validates
17 agent files across core and module directories, catching structural
errors and maintaining consistency.
Schema Validation (tools/schema/agent.js):
- Zod-based schema validating metadata, persona, menu, prompts, and critical actions
- Module-aware validation: module field required for src/modules/**/agents/,
optional for src/core/agents/
- Enforces kebab-case unique triggers and at least one command target per menu item
- Validates persona.principles as array (not string)
- Comprehensive refinements for data integrity
CLI Validator (tools/validate-agent-schema.js):
- Scans src/{core,modules/*}/agents/*.agent.yaml
- Parses with js-yaml and validates using Zod schema
- Reports detailed errors with file paths and field paths
- Exits 1 on failures, 0 on success
- Accepts optional project_root parameter for testing
Testing (679 lines across 3 test files):
- test/test-cli-integration.sh: CLI behavior and error handling tests
- test/unit-test-schema.js: Direct schema validation unit tests
- test/test-agent-schema.js: Comprehensive fixture-based tests
- 50 test fixtures covering valid and invalid scenarios
- ESLint configured to support CommonJS test files
- Prettier configured to ignore intentionally broken fixtures
CI Integration (.github/workflows/lint.yaml):
- Renamed from format-check.yaml to lint.yaml
- Added schema-validation job running npm run validate:schemas
- Runs in parallel with prettier and eslint jobs
- Validates on all pull requests
Data Cleanup:
- Fixed src/core/agents/bmad-master.agent.yaml: converted persona.principles
from string to array format
Documentation:
- Updated schema-classification.md with validation section
- Documents validator usage, enforcement rules, and CI integration
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-20 05:14:50 -07:00
|
|
|
"validate:bundles": "node tools/validate-bundles.js",
|
|
|
|
|
"validate:schemas": "node tools/validate-agent-schema.js"
|
2025-08-16 19:08:39 -05:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
2025-09-28 23:17:07 -05:00
|
|
|
"*.{js,cjs,mjs}": [
|
|
|
|
|
"npm run lint:fix",
|
|
|
|
|
"npm run format:fix"
|
2025-08-16 19:08:39 -05:00
|
|
|
],
|
2025-09-28 23:17:07 -05:00
|
|
|
"*.yaml": [
|
2025-08-16 19:08:39 -05:00
|
|
|
"eslint --fix",
|
2025-09-28 23:17:07 -05:00
|
|
|
"npm run format:fix"
|
2025-08-16 19:08:39 -05:00
|
|
|
],
|
2025-09-28 23:17:07 -05:00
|
|
|
"*.{json,md}": [
|
|
|
|
|
"npm run format:fix"
|
2025-08-16 19:08:39 -05:00
|
|
|
]
|
2025-07-27 23:54:23 -05:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-09-29 08:00:30 -05:00
|
|
|
"@kayvan/markdown-tree-parser": "^1.6.1",
|
2025-09-28 23:17:07 -05:00
|
|
|
"boxen": "^5.1.2",
|
2025-07-27 23:54:23 -05:00
|
|
|
"chalk": "^4.1.2",
|
2025-09-28 23:17:07 -05:00
|
|
|
"cli-table3": "^0.6.5",
|
2025-07-27 23:54:23 -05:00
|
|
|
"commander": "^14.0.0",
|
2025-09-28 23:17:07 -05:00
|
|
|
"csv-parse": "^6.1.0",
|
|
|
|
|
"figlet": "^1.8.0",
|
|
|
|
|
"fs-extra": "^11.3.0",
|
2025-07-27 23:54:23 -05:00
|
|
|
"glob": "^11.0.3",
|
2025-08-09 15:33:23 -05:00
|
|
|
"ignore": "^7.0.5",
|
2025-07-27 23:54:23 -05:00
|
|
|
"inquirer": "^8.2.6",
|
|
|
|
|
"js-yaml": "^4.1.0",
|
2025-08-15 20:03:10 -05:00
|
|
|
"ora": "^5.4.1",
|
2025-09-28 23:17:07 -05:00
|
|
|
"semver": "^7.6.3",
|
|
|
|
|
"wrap-ansi": "^7.0.0",
|
|
|
|
|
"xml2js": "^0.6.2"
|
2025-07-27 23:54:23 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-09-28 23:17:07 -05:00
|
|
|
"@eslint/js": "^9.33.0",
|
feat: add agent schema validation with comprehensive testing (#774)
Introduce automated validation for agent YAML files using Zod to ensure
schema compliance across all agent definitions. This feature validates
17 agent files across core and module directories, catching structural
errors and maintaining consistency.
Schema Validation (tools/schema/agent.js):
- Zod-based schema validating metadata, persona, menu, prompts, and critical actions
- Module-aware validation: module field required for src/modules/**/agents/,
optional for src/core/agents/
- Enforces kebab-case unique triggers and at least one command target per menu item
- Validates persona.principles as array (not string)
- Comprehensive refinements for data integrity
CLI Validator (tools/validate-agent-schema.js):
- Scans src/{core,modules/*}/agents/*.agent.yaml
- Parses with js-yaml and validates using Zod schema
- Reports detailed errors with file paths and field paths
- Exits 1 on failures, 0 on success
- Accepts optional project_root parameter for testing
Testing (679 lines across 3 test files):
- test/test-cli-integration.sh: CLI behavior and error handling tests
- test/unit-test-schema.js: Direct schema validation unit tests
- test/test-agent-schema.js: Comprehensive fixture-based tests
- 50 test fixtures covering valid and invalid scenarios
- ESLint configured to support CommonJS test files
- Prettier configured to ignore intentionally broken fixtures
CI Integration (.github/workflows/lint.yaml):
- Renamed from format-check.yaml to lint.yaml
- Added schema-validation job running npm run validate:schemas
- Runs in parallel with prettier and eslint jobs
- Validates on all pull requests
Data Cleanup:
- Fixed src/core/agents/bmad-master.agent.yaml: converted persona.principles
from string to array format
Documentation:
- Updated schema-classification.md with validation section
- Documents validator usage, enforcement rules, and CI integration
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-20 05:14:50 -07:00
|
|
|
"c8": "^10.1.3",
|
2025-09-28 23:17:07 -05:00
|
|
|
"eslint": "^9.33.0",
|
2025-08-16 19:08:39 -05:00
|
|
|
"eslint-config-prettier": "^10.1.8",
|
|
|
|
|
"eslint-plugin-n": "^17.21.3",
|
|
|
|
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
|
|
|
"eslint-plugin-yml": "^1.18.0",
|
2025-07-27 23:54:23 -05:00
|
|
|
"husky": "^9.1.7",
|
2025-09-28 23:17:07 -05:00
|
|
|
"jest": "^30.0.4",
|
|
|
|
|
"lint-staged": "^16.1.1",
|
|
|
|
|
"prettier": "^3.5.3",
|
2025-08-16 19:08:39 -05:00
|
|
|
"prettier-plugin-packagejson": "^2.5.19",
|
2025-09-28 23:17:07 -05:00
|
|
|
"yaml-eslint-parser": "^1.2.3",
|
feat: add agent schema validation with comprehensive testing (#774)
Introduce automated validation for agent YAML files using Zod to ensure
schema compliance across all agent definitions. This feature validates
17 agent files across core and module directories, catching structural
errors and maintaining consistency.
Schema Validation (tools/schema/agent.js):
- Zod-based schema validating metadata, persona, menu, prompts, and critical actions
- Module-aware validation: module field required for src/modules/**/agents/,
optional for src/core/agents/
- Enforces kebab-case unique triggers and at least one command target per menu item
- Validates persona.principles as array (not string)
- Comprehensive refinements for data integrity
CLI Validator (tools/validate-agent-schema.js):
- Scans src/{core,modules/*}/agents/*.agent.yaml
- Parses with js-yaml and validates using Zod schema
- Reports detailed errors with file paths and field paths
- Exits 1 on failures, 0 on success
- Accepts optional project_root parameter for testing
Testing (679 lines across 3 test files):
- test/test-cli-integration.sh: CLI behavior and error handling tests
- test/unit-test-schema.js: Direct schema validation unit tests
- test/test-agent-schema.js: Comprehensive fixture-based tests
- 50 test fixtures covering valid and invalid scenarios
- ESLint configured to support CommonJS test files
- Prettier configured to ignore intentionally broken fixtures
CI Integration (.github/workflows/lint.yaml):
- Renamed from format-check.yaml to lint.yaml
- Added schema-validation job running npm run validate:schemas
- Runs in parallel with prettier and eslint jobs
- Validates on all pull requests
Data Cleanup:
- Fixed src/core/agents/bmad-master.agent.yaml: converted persona.principles
from string to array format
Documentation:
- Updated schema-classification.md with validation section
- Documents validator usage, enforcement rules, and CI integration
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-20 05:14:50 -07:00
|
|
|
"yaml-lint": "^1.7.0",
|
|
|
|
|
"zod": "^4.1.12"
|
2025-07-27 23:54:23 -05:00
|
|
|
},
|
2025-08-16 19:08:39 -05:00
|
|
|
"engines": {
|
2025-09-28 23:17:07 -05:00
|
|
|
"node": ">=20.0.0"
|
2025-08-16 20:23:23 -05:00
|
|
|
},
|
|
|
|
|
"publishConfig": {
|
2025-08-16 20:58:22 -05:00
|
|
|
"access": "public"
|
2025-07-27 23:54:23 -05:00
|
|
|
}
|
2025-06-08 02:12:13 -05:00
|
|
|
}
|