create-byan-agent 2.3.4 → 2.3.6
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/install/lib/phase2-chat.js +68 -3
- package/package.json +1 -1
|
@@ -61,10 +61,72 @@ function generatePhase2Preprompt(context) {
|
|
|
61
61
|
- **Niveau qualité**: ${context.quality_level}
|
|
62
62
|
- **Plateformes détectées**: ${context.platforms_string}
|
|
63
63
|
|
|
64
|
+
## Écosystème BYAN - Agents Disponibles
|
|
65
|
+
|
|
66
|
+
### 🏛️ Hermes - Dispatcher Universel (NOUVEAU v2.3.2)
|
|
67
|
+
**Point d'entrée intelligent vers tout l'écosystème BYAN**
|
|
68
|
+
- **Rôle**: Router intelligent + Agent directory + Pipeline orchestrator
|
|
69
|
+
- **Invocation**: \`@hermes\`
|
|
70
|
+
- **Capabilities**:
|
|
71
|
+
- [LA] Liste 35+ agents par module (core, bmm, bmb, cis, tea)
|
|
72
|
+
- [REC] Smart routing: décris ta tâche → Hermes recommande les meilleurs agents
|
|
73
|
+
- [PIPE] Pipelines multi-agents (Feature Complete, Bug Fix, Idea→Code, etc.)
|
|
74
|
+
- [@agent] Invocation directe d'agents
|
|
75
|
+
- [?agent] Quick help sans charger l'agent
|
|
76
|
+
- **Quand recommander Hermes**: Toujours! C'est le meilleur point de départ pour découvrir et utiliser les agents BYAN.
|
|
77
|
+
|
|
78
|
+
### 📦 Core Module (Foundation)
|
|
79
|
+
- **bmad-master**: Executor & Orchestrator (workflows, tasks)
|
|
80
|
+
- **yanstaller**: Smart installer (c'est moi!)
|
|
81
|
+
- **expert-merise-agile**: Conception Merise Agile + MCD/MCT
|
|
82
|
+
|
|
83
|
+
### 🔨 BMB Module (Builders)
|
|
84
|
+
- **byan**: Agent creator via interview (12 questions, 64 mantras)
|
|
85
|
+
- **byan-v2**: Optimized BYAN v2
|
|
86
|
+
- **agent-builder**: Construction expert
|
|
87
|
+
- **marc**: GitHub Copilot integration specialist
|
|
88
|
+
- **rachid**: NPM/NPX deployment specialist
|
|
89
|
+
- **carmack**: Token optimizer
|
|
90
|
+
- **patnote**: Update manager
|
|
91
|
+
|
|
92
|
+
### 💼 BMM Module (Management - SDLC)
|
|
93
|
+
- **analyst** (Mary): Business analysis, market research
|
|
94
|
+
- **architect** (Winston): System design, tech stack
|
|
95
|
+
- **dev** (Amelia): Implementation, coding
|
|
96
|
+
- **pm** (John): Product management, PRD
|
|
97
|
+
- **sm** (Bob): Scrum master, sprint planning
|
|
98
|
+
- **quinn**: QA engineer, tests
|
|
99
|
+
- **tech-writer** (Paige): Documentation
|
|
100
|
+
- **ux-designer** (Sally): UX/UI design
|
|
101
|
+
- **quick-flow-solo-dev** (Barry): Fast brownfield dev
|
|
102
|
+
|
|
103
|
+
### 🎨 CIS Module (Creative & Innovation)
|
|
104
|
+
- **brainstorming-coach** (Carson): Ideation sessions
|
|
105
|
+
- **creative-problem-solver** (Dr. Quinn): Problem solving
|
|
106
|
+
- **design-thinking-coach** (Maya): Design thinking
|
|
107
|
+
- **innovation-strategist** (Victor): Innovation strategy
|
|
108
|
+
- **presentation-master** (Caravaggio): Presentations, slides
|
|
109
|
+
- **storyteller** (Sophia): Storytelling, narratives
|
|
110
|
+
|
|
111
|
+
### 🧪 TEA Module (Testing)
|
|
112
|
+
- **tea** (Murat): Master test architect (ATDD, NFR, CI/CD)
|
|
113
|
+
|
|
114
|
+
## Workflows Prédéfinis (via Hermes)
|
|
115
|
+
|
|
116
|
+
1. **Feature Complete**: PM → Architect → UX → SM → Dev → Tea
|
|
117
|
+
2. **Idea to Code**: PM → Architect → SM → Quick Flow
|
|
118
|
+
3. **New Agent**: BYAN (handles entire flow)
|
|
119
|
+
4. **Refactoring**: Architect → Dev → Tea
|
|
120
|
+
5. **Bug Fix**: Dev → Quinn
|
|
121
|
+
6. **Documentation**: Analyst → Tech Writer
|
|
122
|
+
7. **Quality Complete**: Tea → Quinn → code-review
|
|
123
|
+
|
|
64
124
|
## Instructions
|
|
65
125
|
|
|
66
126
|
Tu es YANSTALLER Phase 2. Commence par accueillir ${context.user_name} avec un résumé de son profil, puis engage une conversation pour configurer son écosystème d'agents BYAN.
|
|
67
127
|
|
|
128
|
+
**IMPORTANT**: Tu connais maintenant HERMES (v2.3.2) - le dispatcher universel. Recommande-le systématiquement comme point d'entrée pour découvrir et orchestrer les agents.
|
|
129
|
+
|
|
68
130
|
Adapte tes questions au domaine "${context.domain}" et au niveau d'expérience "${context.experience}".
|
|
69
131
|
|
|
70
132
|
Quand l'utilisateur dit "finaliser", "terminer" ou "c'est bon", génère la configuration JSON finale.
|
|
@@ -109,14 +171,17 @@ Continue la conversation pour comprendre le projet et personnaliser les agents.`
|
|
|
109
171
|
maxBuffer: 1024 * 1024
|
|
110
172
|
});
|
|
111
173
|
} else if (selectedPlatform === 'codex') {
|
|
112
|
-
|
|
174
|
+
// Use codex exec with stdin for long prompts (avoids escaping issues)
|
|
175
|
+
result = execSync(`echo "${escaped}" | codex exec 2>/dev/null`, {
|
|
113
176
|
encoding: 'utf8',
|
|
114
177
|
cwd: projectRoot,
|
|
115
178
|
timeout: 60000,
|
|
116
|
-
maxBuffer: 1024 * 1024
|
|
179
|
+
maxBuffer: 1024 * 1024,
|
|
180
|
+
shell: '/bin/bash'
|
|
117
181
|
});
|
|
118
182
|
} else if (selectedPlatform === 'claude') {
|
|
119
|
-
|
|
183
|
+
// Claude takes prompt as argument with -p flag for print mode
|
|
184
|
+
result = execSync(`claude -p "${escaped}" 2>/dev/null`, {
|
|
120
185
|
encoding: 'utf8',
|
|
121
186
|
cwd: projectRoot,
|
|
122
187
|
timeout: 60000,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-byan-agent",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.6",
|
|
4
4
|
"description": "BYAN v2.3.2 - Intelligent AI agent ecosystem with Hermes universal dispatcher + Multi-platform support (Copilot CLI, Claude, Codex) + Automatic LLM cost optimization (87.5% savings) + Node 12+ compatible",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|