create-byan-agent 1.2.6 → 2.0.0-alpha.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +196 -388
  2. package/LICENSE +21 -21
  3. package/README.md +420 -1264
  4. package/bin/create-byan-agent-backup.js +220 -220
  5. package/bin/create-byan-agent-fixed.js +301 -301
  6. package/bin/create-byan-agent-v2.js +492 -0
  7. package/bin/create-byan-agent.js +296 -561
  8. package/package.json +68 -64
  9. package/templates/.github/agents/bmad-agent-bmad-master.md +15 -15
  10. package/templates/.github/agents/bmad-agent-bmb-agent-builder.md +15 -15
  11. package/templates/.github/agents/bmad-agent-bmb-module-builder.md +15 -15
  12. package/templates/.github/agents/bmad-agent-bmb-workflow-builder.md +15 -15
  13. package/templates/.github/agents/bmad-agent-bmm-analyst.md +15 -15
  14. package/templates/.github/agents/bmad-agent-bmm-architect.md +15 -15
  15. package/templates/.github/agents/bmad-agent-bmm-dev.md +15 -15
  16. package/templates/.github/agents/bmad-agent-bmm-pm.md +15 -15
  17. package/templates/.github/agents/bmad-agent-bmm-quick-flow-solo-dev.md +15 -15
  18. package/templates/.github/agents/bmad-agent-bmm-quinn.md +15 -15
  19. package/templates/.github/agents/bmad-agent-bmm-sm.md +15 -15
  20. package/templates/.github/agents/bmad-agent-bmm-tech-writer.md +15 -15
  21. package/templates/.github/agents/bmad-agent-bmm-ux-designer.md +15 -15
  22. package/templates/.github/agents/bmad-agent-byan-test.md +32 -32
  23. package/templates/.github/agents/bmad-agent-byan.md +224 -224
  24. package/templates/.github/agents/bmad-agent-carmack.md +18 -18
  25. package/templates/.github/agents/bmad-agent-cis-brainstorming-coach.md +15 -15
  26. package/templates/.github/agents/bmad-agent-cis-creative-problem-solver.md +15 -15
  27. package/templates/.github/agents/bmad-agent-cis-design-thinking-coach.md +15 -15
  28. package/templates/.github/agents/bmad-agent-cis-innovation-strategist.md +15 -15
  29. package/templates/.github/agents/bmad-agent-cis-presentation-master.md +15 -15
  30. package/templates/.github/agents/bmad-agent-cis-storyteller.md +15 -15
  31. package/templates/.github/agents/bmad-agent-marc.md +48 -48
  32. package/templates/.github/agents/bmad-agent-patnote.md +48 -48
  33. package/templates/.github/agents/bmad-agent-rachid.md +47 -47
  34. package/templates/.github/agents/bmad-agent-tea-tea.md +15 -15
  35. package/templates/.github/agents/bmad-agent-test-dynamic.md +21 -21
  36. package/templates/.github/agents/franck.md +379 -379
  37. package/templates/_bmad/bmb/agents/agent-builder.md +59 -59
  38. package/templates/_bmad/bmb/agents/byan-test.md +116 -116
  39. package/templates/_bmad/bmb/agents/byan.md +215 -215
  40. package/templates/_bmad/bmb/agents/marc.md +303 -303
  41. package/templates/_bmad/bmb/agents/module-builder.md +60 -60
  42. package/templates/_bmad/bmb/agents/patnote.md +495 -495
  43. package/templates/_bmad/bmb/agents/rachid.md +184 -184
  44. package/templates/_bmad/bmb/agents/workflow-builder.md +61 -61
  45. package/templates/_bmad/bmb/workflows/byan/data/mantras.yaml +272 -272
  46. package/templates/_bmad/bmb/workflows/byan/data/templates.yaml +59 -59
  47. package/templates/_bmad/bmb/workflows/byan/delete-agent-workflow.md +657 -657
  48. package/templates/_bmad/bmb/workflows/byan/edit-agent-workflow.md +688 -688
  49. package/templates/_bmad/bmb/workflows/byan/interview-workflow.md +753 -753
  50. package/templates/_bmad/bmb/workflows/byan/quick-create-workflow.md +450 -450
  51. package/templates/_bmad/bmb/workflows/byan/templates/base-agent-template.md +79 -79
  52. package/templates/_bmad/bmb/workflows/byan/validate-agent-workflow.md +676 -676
  53. package/templates/_bmad/core/agents/carmack.md +238 -238
  54. package/lib/errors.js +0 -61
  55. package/lib/exit-codes.js +0 -54
  56. package/lib/platforms/claude-code.js +0 -113
  57. package/lib/platforms/codex.js +0 -92
  58. package/lib/platforms/copilot-cli.js +0 -123
  59. package/lib/platforms/index.js +0 -14
  60. package/lib/platforms/vscode.js +0 -51
  61. package/lib/utils/config-loader.js +0 -79
  62. package/lib/utils/file-utils.js +0 -117
  63. package/lib/utils/git-detector.js +0 -35
  64. package/lib/utils/logger.js +0 -64
  65. package/lib/utils/node-detector.js +0 -58
  66. package/lib/utils/os-detector.js +0 -74
  67. package/lib/utils/yaml-utils.js +0 -87
  68. package/lib/yanstaller/backuper.js +0 -308
  69. package/lib/yanstaller/detector.js +0 -141
  70. package/lib/yanstaller/index.js +0 -93
  71. package/lib/yanstaller/installer.js +0 -226
  72. package/lib/yanstaller/interviewer.js +0 -301
  73. package/lib/yanstaller/recommender.js +0 -308
  74. package/lib/yanstaller/troubleshooter.js +0 -498
  75. package/lib/yanstaller/validator.js +0 -602
  76. package/lib/yanstaller/wizard.js +0 -229
  77. package/templates/.github/agents/expert-merise-agile.md +0 -1
package/CHANGELOG.md CHANGED
@@ -1,394 +1,202 @@
1
- # Changelog - create-byan-agent
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [1.2.6] - 2026-02-04
1
+ # Changelog - create-byan-agent
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.1.3] - 2026-02-03
9
+
10
+ ### Fixed
11
+ - **CRITICAL**: Template path resolution in installer
12
+ - Fixed template directory detection (removed extra `..` navigation)
13
+ - Added `_bmad/` prefix for agents and workflows paths
14
+ - Removed extra `..` in .github agents path
15
+ - Added validation and detailed logging for debugging
16
+ - 100% file copy success rate achieved
17
+
18
+ ### Impact
19
+ - **Before**: 0% installation success (0/37 files copied)
20
+ - **After**: 100% installation success (37/37 files copied)
21
+ - All 8 agents now install correctly
22
+ - All 6 workflows now install correctly
23
+ - All 23 GitHub agent stubs now install correctly
24
+
25
+ ### Validation
26
+ - Tested with Node.js path resolution
27
+ - Verified template structure integrity
28
+ - Confirmed npm package includes all templates
29
+
30
+ **Bug reported by:** Dimitry
31
+ **Fixed by:** Marc (GitHub Copilot CLI Expert) + Rachid (NPM Specialist)
32
+
33
+ ## [1.1.2] - 2026-02-03
34
+
35
+ ### Fixed
36
+ - **README Links**: Fixed broken links to documentation on npmjs.com
37
+ - Changed relative links to absolute GitHub URLs
38
+ - GUIDE-INSTALLATION-BYAN-SIMPLE.md → Full GitHub URL
39
+ - QUICKSTART.md → Full GitHub URL
40
+ - Links now work correctly on npmjs.com package page
41
+
42
+ ### Documentation
43
+ - README.md now displays correctly on npmjs.com with working links
44
+
45
+ ## [1.1.1] - 2026-02-03
46
+
47
+ ### Fixed
48
+ - **CRITICAL**: Fixed 24 agents not detected by GitHub Copilot CLI
49
+ - Corrected YAML frontmatter: `name: "bmad-agent-xxx"` → `name: "xxx"`
50
+ - Agents now invokable with short names (e.g., `/agent marc` instead of `/agent bmad-agent-marc`)
51
+ - Affected agents: marc, byan, rachid, all BMM/BMB/CIS/TEA agents
52
+
53
+ - **CRITICAL**: Fixed missing templates in NPX installer
54
+ - Added patnote.md to templates/_bmad/bmb/agents/
55
+ - Added byan-test.md to templates/_bmad/bmb/agents/
56
+ - Added carmack.md to templates/_bmad/core/agents/
57
+ - Users installing v1.1.0 were NOT getting new agents
58
+
59
+ - **CRITICAL**: Fixed version mismatch in installer
60
+ - create-byan-agent.js: BYAN_VERSION '1.0.5' → '1.1.1'
61
+ - Banner now displays correct version
62
+
63
+ ### Breaking Changes
64
+ - Agent invocation changed from `--agent=bmad-agent-xxx` to `--agent=xxx`
65
+ - Users with scripts using old format must update to new short names
66
+ - Migration: Remove `bmad-agent-` prefix from all agent references
67
+
68
+ ## [1.1.0] - 2026-02-03 [YANKED - DO NOT USE]
69
+
70
+ **Note:** This version was published with critical bugs. Use 1.1.1 instead.
9
71
 
10
72
  ### Added
11
- - **Interactive override**: `--interactive` flag to force prompts even without TTY (useful in npm scripts).
12
- - **Agent-assisted interview**: Copilot CLI can answer installer questions automatically (fallback to classic prompts).
13
- - **Provider fallback**: If Copilot CLI is unavailable, use Codex CLI, then Claude CLI when available.
14
- - **Agent provider override**: `--agent-provider=codex|copilot|claude` to force the interview source.
73
+ - **PATNOTE Agent**: Update Manager & Conflict Resolution Specialist
74
+ - Update existing agents intelligently
75
+ - Merge agent versions with conflict detection
76
+ - Preserve user customizations during updates
77
+ - Generate detailed changelogs
78
+ - Backup/restore functionality
79
+ - Never loses data principle
80
+
81
+ - **CARMACK Agent**: Token Optimizer for BMAD/BYAN Agents
82
+ - Optimize agents for 40-50% token reduction
83
+ - Analyze token usage across agents
84
+ - Validate optimized agents maintain functionality
85
+ - Compare before/after metrics
86
+ - Batch optimize multiple agents
87
+ - Surgical precision in removing redundancy
88
+
89
+ - **BYAN-Test Agent**: Optimized version of BYAN
90
+ - 46% token reduction vs standard BYAN
91
+ - Same capabilities, reduced token cost
92
+ - Ideal for high-volume agent creation
15
93
 
16
94
  ### Changed
17
- - **Interview defaults**: Preselect detected or provided platforms during the interview.
18
- - **E2E**: Run with explicit platforms to validate stub generation.
95
+ - **README.md**: Complete documentation overhaul
96
+ - Five specialized agents section (vs three)
97
+ - Detailed role descriptions for all agents
98
+ - Usage examples for each agent
99
+ - Version bumped to 1.1.0 in docs
100
+
101
+ - **package.json**: Enhanced metadata
102
+ - Description updated to reflect full ecosystem
103
+ - Keywords expanded: patnote, carmack, token-optimization, update-manager, conflict-resolution
104
+ - Version: 1.0.5 → 1.1.0
105
+
106
+ ### Excluded
107
+ - **Franck Agent**: Client-specific (not part of BYAN core)
108
+ - **Expert-Merise-Agile Agent**: Client application (excluded from npm/git)
109
+
110
+ ### Security
111
+ - npm audit: 0 vulnerabilities
112
+ - All dependencies up to date
113
+ - .npmignore and .gitignore configured for security
114
+
115
+ ## [1.0.5] - 2026-02-02
116
+
117
+ ### Added
118
+ - **GUIDE-INSTALLATION-SIMPLE.md**: Documentation utilisateur simplifiée (7 KB)
119
+ - Installation en 3 minutes
120
+ - Guide des 3 agents (BYAN, RACHID, MARC)
121
+ - Workflows typiques et cas d'usage
122
+ - Section dépannage rapide
123
+
124
+ - **Validation MARC Complète**: 6 documents de validation (55 KB)
125
+ - MARC-VALIDATION-REPORT.md (rapport détaillé)
126
+ - MARC-VALIDATION-SUMMARY.md (résumé exécutif)
127
+ - MARC-PRE-PUBLICATION-CHECKLIST.md (checklist interactive)
128
+ - MARC-COPILOT-CLI-TEST-GUIDE.md (guide test)
129
+ - MARC-COMMANDS-CHEAT-SHEET.md (commandes essentielles)
130
+ - MARC-INDEX.md (index documents)
131
+
132
+ ### Changed
133
+ - Templates mis à jour avec 37 fichiers (vs 24 précédemment)
134
+ - YAML frontmatter aligné avec noms de fichiers pour Copilot CLI
135
+ - Structure .github/agents/ étendue à 44 agents
136
+
137
+ ### Fixed
138
+ - Alignment YAML agent names avec convention bmad-agent-{name}
139
+ - Détection Copilot CLI améliorée
140
+
141
+ ## [1.0.4] - 2026-02-02
142
+
143
+ ### Changed
144
+ - Version intermédiaire avec corrections mineures
145
+
146
+ ## [1.0.2] - 2026-02-02
147
+
148
+ ### Added
149
+ - **RACHID Agent**: NPM/NPX deployment specialist
150
+ - Install BYAN via npx create-byan-agent
151
+ - Validate _bmad directory structure
152
+ - Fix npm dependency conflicts
153
+ - Update package.json and scripts
154
+ - Publish to npm registry
155
+ - Test npx installations
156
+ - Security audits
157
+ - NPM best practices guidance
158
+
159
+ - **MARC Agent**: GitHub Copilot CLI integration specialist
160
+ - Validate .github/agents/ structure
161
+ - Test /agent detection in Copilot CLI
162
+ - Create agent stubs for new agents
163
+ - Fix YAML frontmatter issues
164
+ - Configure MCP servers
165
+ - Test agent invocation
166
+ - Optimize context loading
167
+ - Troubleshoot agent loading issues
168
+
169
+ - **Templates Directory**: All BYAN files now packaged
170
+ - Complete _bmad/bmb/ structure
171
+ - All agent definitions (byan.md, rachid.md, marc.md)
172
+ - All workflows with steps
173
+ - Templates and data files
174
+ - .github/agents/ stubs for Copilot CLI
175
+
176
+ ### Changed
177
+ - Installer now copies complete file structure from templates/
178
+ - Version bumped to 1.0.2
179
+ - Enhanced verification checks (10 checks total)
180
+ - Improved post-installation messages with usage for all 3 agents
181
+ - Updated README with RACHID and MARC documentation
19
182
 
20
183
  ### Fixed
21
- - **Silent mode**: Skip interview and wizard with safe defaults to prevent hangs in non-interactive runs.
22
- - **Platform normalization**: Map `claude` to `claude-code` for installer/platform parity.
23
- - **Validator**: Use YAML parser correctly and remove false warnings (permissions/templates).
24
-
25
- ## [1.2.3] - 2026-02-03
26
-
27
- ### Added
28
- - **E2E Test Suite** - Automated end-to-end testing before npm publish
29
- - Tests complete installation flow (7 steps)
30
- - Validates directory structure, agent files, config, platform stubs
31
- - Smoke tests for all 8 YANSTALLER modules
32
- - Runs automatically via `prepublishOnly` hook
33
- - Prevents broken releases (caught 8 bugs before production)
34
- - Command: `npm run test:e2e`
35
- - Documentation: TEST-E2E-GUIDE.md
36
-
37
- ### Fixed
38
- - **CRITICAL BUG #1**: Fixed recommender crash when platforms is undefined
39
- - `recommender.recommend()` now properly handles both direct detection object and options wrapper
40
- - Added default empty array for platforms parameter in `getRecommendedAgents()`
41
- - Added null-check before calling `.some()` on platforms array
42
- - Fixed display of detected platforms in CLI (was showing "[object Object]")
43
-
44
- - **CRITICAL BUG #2**: Fixed backup crash on wrong parameter format
45
- - Fixed `backuper.backup()` call - now passes bmadPath directly instead of object wrapper
46
-
47
- - **CRITICAL BUG #3**: Fixed installation result property access
48
- - Fixed `installResult` property access - uses `agentsInstalled` instead of `installedAgents.length`
49
- - Removed references to non-existent properties (`createdDirectories`, `generatedStubs`)
50
- - Added error reporting for installation failures
51
-
52
- - **CRITICAL BUG #4**: Fixed wizard crash on undefined properties
53
- - Added null-checks for `config.agents`, `config.targetPlatforms`, `config.platforms`
54
- - Fixed wizard call to pass correct config object with all required properties
55
- - Prevents crash when displaying installation summary
56
-
57
- - **CRITICAL BUG #5**: Fixed agent templates not found
58
- - Limited recommendations to available agents only (byan, rachid, patnote, marc, etc.)
59
- - Removed recommendations for non-existent agents (architect, dev, quinn, pm, ux-designer, tech-writer)
60
- - Prevents installation failures due to missing template files
61
-
62
- - **CRITICAL BUG #6**: Fixed missing fileUtils.readDir function
63
- - Added `readDir()` function to file-utils.js
64
- - Fixes validator crashes when checking workflow directories
65
- - Properly exports readDir in module.exports
66
-
67
- - **CRITICAL BUG #7**: Fixed installer config parameter mismatch
68
- - Fixed installer.install() call to pass `targetPlatforms` instead of `platforms`
69
- - Config file now created correctly during installation
70
- - Matches InstallConfig typedef definition
71
-
72
- - **BUG #8**: Removed carmack from recommendations
73
- - carmack.md template does not exist in templates/_bmad/
74
- - Removed from baseAgents to prevent installation failures
75
- - Updated E2E test to not expect carmack agent
76
-
77
- ## [1.2.2] - 2026-02-03
78
-
79
- ### Added
80
- - **E2E Test Suite** - Automated end-to-end testing before npm publish
81
- - Tests complete installation flow (7 steps)
82
- - Validates directory structure, agent files, config, platform stubs
83
- - Smoke tests for all 8 YANSTALLER modules
84
- - Runs automatically via `prepublishOnly` hook
85
- - Prevents broken releases (caught 7 bugs before production)
86
- - Command: `npm run test:e2e`
87
- - Documentation: TEST-E2E-GUIDE.md
88
-
89
- ### Fixed
90
- - **CRITICAL BUG #1**: Fixed recommender crash when platforms is undefined
91
- - `recommender.recommend()` now properly handles both direct detection object and options wrapper
92
- - Added default empty array for platforms parameter in `getRecommendedAgents()`
93
- - Added null-check before calling `.some()` on platforms array
94
- - Fixed display of detected platforms in CLI (was showing "[object Object]")
95
-
96
- - **CRITICAL BUG #2**: Fixed backup crash on wrong parameter format
97
- - Fixed `backuper.backup()` call - now passes bmadPath directly instead of object wrapper
98
-
99
- - **CRITICAL BUG #3**: Fixed installation result property access
100
- - Fixed `installResult` property access - uses `agentsInstalled` instead of `installedAgents.length`
101
- - Removed references to non-existent properties (`createdDirectories`, `generatedStubs`)
102
- - Added error reporting for installation failures
103
-
104
- - **CRITICAL BUG #4**: Fixed wizard crash on undefined properties
105
- - Added null-checks for `config.agents`, `config.targetPlatforms`, `config.platforms`
106
- - Fixed wizard call to pass correct config object with all required properties
107
- - Prevents crash when displaying installation summary
108
-
109
- - **CRITICAL BUG #5**: Fixed agent templates not found
110
- - Limited recommendations to available agents only (byan, rachid, patnote, carmack, marc, etc.)
111
- - Removed recommendations for non-existent agents (architect, dev, quinn, pm, ux-designer, tech-writer)
112
- - Prevents installation failures due to missing template files
113
-
114
- - **CRITICAL BUG #6**: Fixed missing fileUtils.readDir function
115
- - Added `readDir()` function to file-utils.js
116
- - Fixes validator crashes when checking workflow directories
117
- - Properly exports readDir in module.exports
118
-
119
- - **CRITICAL BUG #7**: Fixed installer config parameter mismatch
120
- - Fixed installer.install() call to pass `targetPlatforms` instead of `platforms`
121
- - Config file now created correctly during installation
122
- - Matches InstallConfig typedef definition
123
-
124
- - **BUG #8**: Removed carmack from recommendations
125
- - carmack.md template does not exist in templates/_bmad/
126
- - Removed from baseAgents to prevent installation failures
127
- - Updated E2E test to not expect carmack agent
128
-
129
- ## [1.2.1] - 2026-02-03
130
-
131
- ### Changed
132
- - **Attribution** - Added BMAD origin and author attribution
133
- - README.md and README-YANSTALLER.md now mention "Basé sur BMAD" with link to original repository
134
- - Made by section updated to "Yan de Acadenice" with link to https://acadenice.fr/
135
- - Version badge updated to 1.2.1
136
-
137
- ## [1.2.0] - 2026-02-03
138
-
139
- ### Added
140
- - **YANSTALLER Complete Implementation** - Intelligent BYAN installer with 8 core modules
141
- - **Detector** - Platform & project detection (Copilot CLI, VSCode, Claude Code, Codex)
142
- - **Recommender** - AI-powered agent recommendations (20+ frameworks recognized)
143
- - **Installer** - Full BMAD structure creation (19 directories, multi-platform stubs)
144
- - **Validator** - 10 automated checks for installation integrity
145
- - **Troubleshooter** - 8 error patterns with auto-fix capabilities
146
- - **Backuper** - Backup & restore with metadata tracking
147
- - **Interviewer** - 7-question interactive installation flow
148
- - **Wizard** - Post-install wizard with 4 options (create agent, test, docs, exit)
149
-
150
- - **Comprehensive Documentation** - Bilingual README (FR/EN, 1200+ lines)
151
- - Complete API reference for all 8 modules
152
- - 168 tests documented with breakdown
153
- - Architecture diagrams (ASCII flow charts)
154
- - Installation guide (NPX/NPM/Manual)
155
- - Contributing guidelines + PR checklist
156
- - Performance benchmarks
157
-
158
- - **Test Suite** - 168 comprehensive tests
159
- - 18 tests: recommender.test.js
160
- - 13 tests: installer.test.js
161
- - 20 tests: platforms.test.js
162
- - 24 tests: validator.test.js
163
- - 27 tests: integration.test.js
164
- - 16 tests: e2e.test.js
165
- - 20 tests: troubleshooter.test.js
166
- - 20 tests: backuper.test.js
167
- - 10 tests: interviewer-wizard.test.js
168
-
169
- - **CLI Entry Point Rewrite** - bin/create-byan-agent.js now orchestrates full YANSTALLER flow
170
- - 7-step installation pipeline (detect → recommend → interview → backup → install → validate → wizard)
171
- - CLI options: --silent, --agents, --platforms, --mode, --dry-run, --verbose
172
- - Reduced from 323 lines to ~100 lines (modular architecture)
173
-
174
- ### Fixed
175
- - **CRITICAL**: Added `lib/` to package.json files array
176
- - Core YANSTALLER modules now included in npm package
177
- - Previous versions were missing all yanstaller/*.js files
178
-
179
- - **CRITICAL**: Entry point now uses YANSTALLER modules correctly
180
- - Replaced monolithic code with modular orchestration
181
- - Interview now uses interviewer.js (7 questions instead of 2)
182
- - Recommendations based on project analysis
183
- - Wizard provides post-install actions
184
-
185
- - **NPM Package Configuration**
186
- - Updated .npmignore to exclude tests and dev files
187
- - Package now includes: bin/, lib/, templates/, README.md, CHANGELOG.md, LICENSE
188
- - Reduced package size by excluding __tests__/, development scripts
189
-
190
- ### Changed
191
- - **README.md** - Complete rewrite focusing on YANSTALLER
192
- - From BYAN agent documentation to YANSTALLER installer documentation
193
- - Added detailed module descriptions with code examples
194
- - Added usage guide (Interview mode + Programmatic API)
195
-
196
- - **Version** - Bumped to 1.2.0 (minor) to reflect new YANSTALLER features
197
- - Major new functionality: complete intelligent installer
198
- - Not just a BYAN agent installer anymore
199
-
200
- ## [1.1.3] - 2026-02-03
201
-
202
- ### Fixed
203
- - **CRITICAL**: Template path resolution in installer
204
- - Fixed template directory detection (removed extra `..` navigation)
205
- - Added `_bmad/` prefix for agents and workflows paths
206
- - Removed extra `..` in .github agents path
207
- - Added validation and detailed logging for debugging
208
- - 100% file copy success rate achieved
209
-
210
- ### Impact
211
- - **Before**: 0% installation success (0/37 files copied)
212
- - **After**: 100% installation success (37/37 files copied)
213
- - All 8 agents now install correctly
214
- - All 6 workflows now install correctly
215
- - All 23 GitHub agent stubs now install correctly
216
-
217
- ### Validation
218
- - Tested with Node.js path resolution
219
- - Verified template structure integrity
220
- - Confirmed npm package includes all templates
221
-
222
- **Bug reported by:** Dimitry
223
- **Fixed by:** Marc (GitHub Copilot CLI Expert) + Rachid (NPM Specialist)
224
-
225
- ## [1.1.2] - 2026-02-03
226
-
227
- ### Fixed
228
- - **README Links**: Fixed broken links to documentation on npmjs.com
229
- - Changed relative links to absolute GitHub URLs
230
- - GUIDE-INSTALLATION-BYAN-SIMPLE.md → Full GitHub URL
231
- - QUICKSTART.md → Full GitHub URL
232
- - Links now work correctly on npmjs.com package page
233
-
234
- ### Documentation
235
- - README.md now displays correctly on npmjs.com with working links
236
-
237
- ## [1.1.1] - 2026-02-03
238
-
239
- ### Fixed
240
- - **CRITICAL**: Fixed 24 agents not detected by GitHub Copilot CLI
241
- - Corrected YAML frontmatter: `name: "bmad-agent-xxx"` → `name: "xxx"`
242
- - Agents now invokable with short names (e.g., `/agent marc` instead of `/agent bmad-agent-marc`)
243
- - Affected agents: marc, byan, rachid, all BMM/BMB/CIS/TEA agents
244
-
245
- - **CRITICAL**: Fixed missing templates in NPX installer
246
- - Added patnote.md to templates/_bmad/bmb/agents/
247
- - Added byan-test.md to templates/_bmad/bmb/agents/
248
- - Added carmack.md to templates/_bmad/core/agents/
249
- - Users installing v1.1.0 were NOT getting new agents
250
-
251
- - **CRITICAL**: Fixed version mismatch in installer
252
- - create-byan-agent.js: BYAN_VERSION '1.0.5' → '1.1.1'
253
- - Banner now displays correct version
254
-
255
- ### Breaking Changes
256
- - Agent invocation changed from `--agent=bmad-agent-xxx` to `--agent=xxx`
257
- - Users with scripts using old format must update to new short names
258
- - Migration: Remove `bmad-agent-` prefix from all agent references
259
-
260
- ## [1.1.0] - 2026-02-03 [YANKED - DO NOT USE]
261
-
262
- **Note:** This version was published with critical bugs. Use 1.1.1 instead.
263
-
264
- ### Added
265
- - **PATNOTE Agent**: Update Manager & Conflict Resolution Specialist
266
- - Update existing agents intelligently
267
- - Merge agent versions with conflict detection
268
- - Preserve user customizations during updates
269
- - Generate detailed changelogs
270
- - Backup/restore functionality
271
- - Never loses data principle
272
-
273
- - **CARMACK Agent**: Token Optimizer for BMAD/BYAN Agents
274
- - Optimize agents for 40-50% token reduction
275
- - Analyze token usage across agents
276
- - Validate optimized agents maintain functionality
277
- - Compare before/after metrics
278
- - Batch optimize multiple agents
279
- - Surgical precision in removing redundancy
280
-
281
- - **BYAN-Test Agent**: Optimized version of BYAN
282
- - 46% token reduction vs standard BYAN
283
- - Same capabilities, reduced token cost
284
- - Ideal for high-volume agent creation
285
-
286
- ### Changed
287
- - **README.md**: Complete documentation overhaul
288
- - Five specialized agents section (vs three)
289
- - Detailed role descriptions for all agents
290
- - Usage examples for each agent
291
- - Version bumped to 1.1.0 in docs
292
-
293
- - **package.json**: Enhanced metadata
294
- - Description updated to reflect full ecosystem
295
- - Keywords expanded: patnote, carmack, token-optimization, update-manager, conflict-resolution
296
- - Version: 1.0.5 → 1.1.0
297
-
298
- ### Excluded
299
- - **Franck Agent**: Client-specific (not part of BYAN core)
300
- - **Expert-Merise-Agile Agent**: Client application (excluded from npm/git)
301
-
302
- ### Security
303
- - npm audit: 0 vulnerabilities
304
- - All dependencies up to date
305
- - .npmignore and .gitignore configured for security
306
-
307
- ## [1.0.5] - 2026-02-02
308
-
309
- ### Added
310
- - **GUIDE-INSTALLATION-SIMPLE.md**: Documentation utilisateur simplifiée (7 KB)
311
- - Installation en 3 minutes
312
- - Guide des 3 agents (BYAN, RACHID, MARC)
313
- - Workflows typiques et cas d'usage
314
- - Section dépannage rapide
315
-
316
- - **Validation MARC Complète**: 6 documents de validation (55 KB)
317
- - MARC-VALIDATION-REPORT.md (rapport détaillé)
318
- - MARC-VALIDATION-SUMMARY.md (résumé exécutif)
319
- - MARC-PRE-PUBLICATION-CHECKLIST.md (checklist interactive)
320
- - MARC-COPILOT-CLI-TEST-GUIDE.md (guide test)
321
- - MARC-COMMANDS-CHEAT-SHEET.md (commandes essentielles)
322
- - MARC-INDEX.md (index documents)
323
-
324
- ### Changed
325
- - Templates mis à jour avec 37 fichiers (vs 24 précédemment)
326
- - YAML frontmatter aligné avec noms de fichiers pour Copilot CLI
327
- - Structure .github/agents/ étendue à 44 agents
328
-
329
- ### Fixed
330
- - Alignment YAML agent names avec convention bmad-agent-{name}
331
- - Détection Copilot CLI améliorée
332
-
333
- ## [1.0.4] - 2026-02-02
334
-
335
- ### Changed
336
- - Version intermédiaire avec corrections mineures
337
-
338
- ## [1.0.2] - 2026-02-02
339
-
340
- ### Added
341
- - **RACHID Agent**: NPM/NPX deployment specialist
342
- - Install BYAN via npx create-byan-agent
343
- - Validate _bmad directory structure
344
- - Fix npm dependency conflicts
345
- - Update package.json and scripts
346
- - Publish to npm registry
347
- - Test npx installations
348
- - Security audits
349
- - NPM best practices guidance
350
-
351
- - **MARC Agent**: GitHub Copilot CLI integration specialist
352
- - Validate .github/agents/ structure
353
- - Test /agent detection in Copilot CLI
354
- - Create agent stubs for new agents
355
- - Fix YAML frontmatter issues
356
- - Configure MCP servers
357
- - Test agent invocation
358
- - Optimize context loading
359
- - Troubleshoot agent loading issues
360
-
361
- - **Templates Directory**: All BYAN files now packaged
362
- - Complete _bmad/bmb/ structure
363
- - All agent definitions (byan.md, rachid.md, marc.md)
364
- - All workflows with steps
365
- - Templates and data files
366
- - .github/agents/ stubs for Copilot CLI
367
-
368
- ### Changed
369
- - Installer now copies complete file structure from templates/
370
- - Version bumped to 1.0.2
371
- - Enhanced verification checks (10 checks total)
372
- - Improved post-installation messages with usage for all 3 agents
373
- - Updated README with RACHID and MARC documentation
374
-
375
- ### Fixed
376
- - Template directory resolution in getTemplateDir()
377
- - File copying logic for production npm packages
378
- - GitHub agents directory creation
379
-
380
- ## [1.0.1] - 2026-02-01
381
-
382
- ### Changed
383
- - Minor bug fixes
384
- - Documentation updates
385
-
386
- ## [1.0.0] - 2026-02-01
387
-
388
- ### Added
389
- - Initial release
390
- - BYAN agent with intelligent interview workflow
391
- - Multi-platform support (Copilot, VSCode, Claude, Codex)
392
- - 64 Mantras methodology
393
- - Merise Agile + TDD approach
394
- - NPX installer scaffolding
184
+ - Template directory resolution in getTemplateDir()
185
+ - File copying logic for production npm packages
186
+ - GitHub agents directory creation
187
+
188
+ ## [1.0.1] - 2026-02-01
189
+
190
+ ### Changed
191
+ - Minor bug fixes
192
+ - Documentation updates
193
+
194
+ ## [1.0.0] - 2026-02-01
195
+
196
+ ### Added
197
+ - Initial release
198
+ - BYAN agent with intelligent interview workflow
199
+ - Multi-platform support (Copilot, VSCode, Claude, Codex)
200
+ - 64 Mantras methodology
201
+ - Merise Agile + TDD approach
202
+ - NPX installer scaffolding
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Yan
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Yan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.