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