create-byan-agent 1.0.0 → 1.0.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/CHANGELOG.md +64 -0
- package/LICENSE +21 -0
- package/README.md +54 -6
- package/bin/create-byan-agent-backup.js +220 -0
- package/bin/create-byan-agent-fixed.js +301 -0
- package/bin/create-byan-agent.js +111 -30
- package/package.json +21 -9
- package/templates/.github/agents/bmad-agent-bmad-master.md +15 -0
- package/templates/.github/agents/bmad-agent-bmb-agent-builder.md +15 -0
- package/templates/.github/agents/bmad-agent-bmb-module-builder.md +15 -0
- package/templates/.github/agents/bmad-agent-bmb-workflow-builder.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-analyst.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-architect.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-dev.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-pm.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-quick-flow-solo-dev.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-quinn.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-sm.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-tech-writer.md +15 -0
- package/templates/.github/agents/bmad-agent-bmm-ux-designer.md +15 -0
- package/templates/.github/agents/bmad-agent-byan.md +224 -0
- package/templates/.github/agents/bmad-agent-cis-brainstorming-coach.md +15 -0
- package/templates/.github/agents/bmad-agent-cis-creative-problem-solver.md +15 -0
- package/templates/.github/agents/bmad-agent-cis-design-thinking-coach.md +15 -0
- package/templates/.github/agents/bmad-agent-cis-innovation-strategist.md +15 -0
- package/templates/.github/agents/bmad-agent-cis-presentation-master.md +15 -0
- package/templates/.github/agents/bmad-agent-cis-storyteller.md +15 -0
- package/templates/.github/agents/bmad-agent-marc.md +48 -0
- package/templates/.github/agents/bmad-agent-rachid.md +47 -0
- package/templates/.github/agents/bmad-agent-tea-tea.md +15 -0
- package/templates/_bmad/bmb/agents/agent-builder.md +59 -0
- package/templates/_bmad/bmb/agents/byan.md +215 -0
- package/templates/_bmad/bmb/agents/marc.md +303 -0
- package/templates/_bmad/bmb/agents/module-builder.md +60 -0
- package/templates/_bmad/bmb/agents/rachid.md +184 -0
- package/templates/_bmad/bmb/agents/workflow-builder.md +61 -0
- package/templates/_bmad/bmb/workflows/byan/data/mantras.yaml +272 -0
- package/templates/_bmad/bmb/workflows/byan/data/templates.yaml +59 -0
- package/templates/_bmad/bmb/workflows/byan/delete-agent-workflow.md +657 -0
- package/templates/_bmad/bmb/workflows/byan/edit-agent-workflow.md +688 -0
- package/templates/_bmad/bmb/workflows/byan/interview-workflow.md +753 -0
- package/templates/_bmad/bmb/workflows/byan/quick-create-workflow.md +450 -0
- package/templates/_bmad/bmb/workflows/byan/templates/base-agent-template.md +79 -0
- package/templates/_bmad/bmb/workflows/byan/validate-agent-workflow.md +676 -0
- package/install.sh +0 -239
- package/package-npm.json +0 -55
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
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.0.2] - 2026-02-02
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **RACHID Agent**: NPM/NPX deployment specialist
|
|
12
|
+
- Install BYAN via npx create-byan-agent
|
|
13
|
+
- Validate _bmad directory structure
|
|
14
|
+
- Fix npm dependency conflicts
|
|
15
|
+
- Update package.json and scripts
|
|
16
|
+
- Publish to npm registry
|
|
17
|
+
- Test npx installations
|
|
18
|
+
- Security audits
|
|
19
|
+
- NPM best practices guidance
|
|
20
|
+
|
|
21
|
+
- **MARC Agent**: GitHub Copilot CLI integration specialist
|
|
22
|
+
- Validate .github/agents/ structure
|
|
23
|
+
- Test /agent detection in Copilot CLI
|
|
24
|
+
- Create agent stubs for new agents
|
|
25
|
+
- Fix YAML frontmatter issues
|
|
26
|
+
- Configure MCP servers
|
|
27
|
+
- Test agent invocation
|
|
28
|
+
- Optimize context loading
|
|
29
|
+
- Troubleshoot agent loading issues
|
|
30
|
+
|
|
31
|
+
- **Templates Directory**: All BYAN files now packaged
|
|
32
|
+
- Complete _bmad/bmb/ structure
|
|
33
|
+
- All agent definitions (byan.md, rachid.md, marc.md)
|
|
34
|
+
- All workflows with steps
|
|
35
|
+
- Templates and data files
|
|
36
|
+
- .github/agents/ stubs for Copilot CLI
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
- Installer now copies complete file structure from templates/
|
|
40
|
+
- Version bumped to 1.0.2
|
|
41
|
+
- Enhanced verification checks (10 checks total)
|
|
42
|
+
- Improved post-installation messages with usage for all 3 agents
|
|
43
|
+
- Updated README with RACHID and MARC documentation
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
- Template directory resolution in getTemplateDir()
|
|
47
|
+
- File copying logic for production npm packages
|
|
48
|
+
- GitHub agents directory creation
|
|
49
|
+
|
|
50
|
+
## [1.0.1] - 2026-02-01
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
- Minor bug fixes
|
|
54
|
+
- Documentation updates
|
|
55
|
+
|
|
56
|
+
## [1.0.0] - 2026-02-01
|
|
57
|
+
|
|
58
|
+
### Added
|
|
59
|
+
- Initial release
|
|
60
|
+
- BYAN agent with intelligent interview workflow
|
|
61
|
+
- Multi-platform support (Copilot, VSCode, Claude, Codex)
|
|
62
|
+
- 64 Mantras methodology
|
|
63
|
+
- Merise Agile + TDD approach
|
|
64
|
+
- NPX installer scaffolding
|
package/LICENSE
ADDED
|
@@ -0,0 +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.
|
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# BYAN - Builder of YAN
|
|
2
2
|
|
|
3
|
-
**Version:** 1.0.
|
|
4
|
-
**Methodology:** Merise Agile + TDD + 64 Mantras
|
|
3
|
+
**Version:** 1.0.2
|
|
4
|
+
**Methodology:** Merise Agile + TDD + 64 Mantras
|
|
5
|
+
**Agents Included:** BYAN, RACHID, MARC
|
|
5
6
|
|
|
6
7
|
---
|
|
7
8
|
|
|
@@ -16,6 +17,8 @@
|
|
|
16
17
|
- Multi-platform support (Copilot, VSCode, Claude, Codex)
|
|
17
18
|
- TDD-driven validation
|
|
18
19
|
- Consequences evaluation before actions
|
|
20
|
+
- **NEW:** RACHID agent for NPM/NPX deployment
|
|
21
|
+
- **NEW:** MARC agent for GitHub Copilot CLI integration
|
|
19
22
|
|
|
20
23
|
---
|
|
21
24
|
|
|
@@ -44,21 +47,31 @@ cd byan
|
|
|
44
47
|
|
|
45
48
|
## 📖 Usage
|
|
46
49
|
|
|
47
|
-
### Activate
|
|
50
|
+
### Activate Agents
|
|
48
51
|
|
|
49
52
|
**GitHub Copilot CLI:**
|
|
50
53
|
```bash
|
|
51
|
-
|
|
54
|
+
copilot
|
|
55
|
+
# In interactive mode:
|
|
56
|
+
/agent
|
|
57
|
+
# Select one of:
|
|
58
|
+
# - byan (create agents)
|
|
59
|
+
# - rachid (NPM deployment)
|
|
60
|
+
# - marc (Copilot CLI integration)
|
|
52
61
|
```
|
|
53
62
|
|
|
54
63
|
**VSCode:**
|
|
55
64
|
1. Open Command Palette (Ctrl+Shift+P)
|
|
56
|
-
2. Type: "Activate
|
|
57
|
-
3. Select BYAN from list
|
|
65
|
+
2. Type: "Activate Agent"
|
|
66
|
+
3. Select BYAN, RACHID, or MARC from list
|
|
58
67
|
|
|
59
68
|
**Claude Code:**
|
|
60
69
|
```bash
|
|
61
70
|
claude chat --agent byan
|
|
71
|
+
# or
|
|
72
|
+
claude chat --agent rachid
|
|
73
|
+
# or
|
|
74
|
+
claude chat --agent marc
|
|
62
75
|
```
|
|
63
76
|
|
|
64
77
|
### Create Your First Agent
|
|
@@ -77,6 +90,41 @@ Best for: Additional agents, clear requirements, existing project context
|
|
|
77
90
|
|
|
78
91
|
---
|
|
79
92
|
|
|
93
|
+
## 🎯 Three Specialized Agents
|
|
94
|
+
|
|
95
|
+
### 1. BYAN - Agent Creator
|
|
96
|
+
**Full Interview (30-45 min):**
|
|
97
|
+
```
|
|
98
|
+
[INT] Start Intelligent Interview
|
|
99
|
+
```
|
|
100
|
+
Best for: First agent, critical agents, complex requirements
|
|
101
|
+
|
|
102
|
+
**Quick Create (10 min):**
|
|
103
|
+
```
|
|
104
|
+
[QC] Quick Create
|
|
105
|
+
```
|
|
106
|
+
Best for: Additional agents, clear requirements, existing project context
|
|
107
|
+
|
|
108
|
+
### 2. RACHID - NPM/NPX Specialist
|
|
109
|
+
**Deploy to NPM:**
|
|
110
|
+
```
|
|
111
|
+
[PUBLISH] Publish to npm
|
|
112
|
+
[VALIDATE] Validate _bmad structure
|
|
113
|
+
[TEST-NPX] Test npx installation
|
|
114
|
+
```
|
|
115
|
+
Best for: Package deployment, dependency management, npm workflows
|
|
116
|
+
|
|
117
|
+
### 3. MARC - Copilot CLI Expert
|
|
118
|
+
**Copilot Integration:**
|
|
119
|
+
```
|
|
120
|
+
[VALIDATE] Validate .github/agents/
|
|
121
|
+
[TEST] Test /agent detection
|
|
122
|
+
[CREATE-STUB] Create agent stub
|
|
123
|
+
```
|
|
124
|
+
Best for: GitHub Copilot CLI integration, agent detection, MCP configuration
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
80
128
|
## 🎯 BYAN Menu
|
|
81
129
|
|
|
82
130
|
| Command | Description | Duration |
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const fs = require('fs-extra');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const { program } = require('commander');
|
|
6
|
+
const inquirer = require('inquirer');
|
|
7
|
+
const chalk = require('chalk');
|
|
8
|
+
const ora = require('ora');
|
|
9
|
+
const yaml = require('js-yaml');
|
|
10
|
+
|
|
11
|
+
const BYAN_VERSION = '1.0.0';
|
|
12
|
+
|
|
13
|
+
// ASCII Art Banner
|
|
14
|
+
const banner = `
|
|
15
|
+
${chalk.blue('╔════════════════════════════════════════════════════════════╗')}
|
|
16
|
+
${chalk.blue('║')} ${chalk.blue('║')}
|
|
17
|
+
${chalk.blue('║')} ${chalk.bold('🏗️ BYAN INSTALLER v' + BYAN_VERSION)} ${chalk.blue('║')}
|
|
18
|
+
${chalk.blue('║')} ${chalk.gray('Builder of YAN - Agent Creator')} ${chalk.blue('║')}
|
|
19
|
+
${chalk.blue('║')} ${chalk.blue('║')}
|
|
20
|
+
${chalk.blue('║')} ${chalk.gray('Methodology: Merise Agile + TDD + 64 Mantras')} ${chalk.blue('║')}
|
|
21
|
+
${chalk.blue('║')} ${chalk.blue('║')}
|
|
22
|
+
${chalk.blue('╚════════════════════════════════════════════════════════════╝')}
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
// Main installer
|
|
26
|
+
async function install() {
|
|
27
|
+
console.clear();
|
|
28
|
+
console.log(banner);
|
|
29
|
+
|
|
30
|
+
const projectRoot = process.cwd();
|
|
31
|
+
|
|
32
|
+
// Step 1: Detect project type
|
|
33
|
+
const spinner = ora('Detecting project type...').start();
|
|
34
|
+
|
|
35
|
+
const isGitRepo = await fs.pathExists(path.join(projectRoot, '.git'));
|
|
36
|
+
const hasPackageJson = await fs.pathExists(path.join(projectRoot, 'package.json'));
|
|
37
|
+
const hasPyProject = await fs.pathExists(path.join(projectRoot, 'pyproject.toml'));
|
|
38
|
+
|
|
39
|
+
if (!isGitRepo && !hasPackageJson && !hasPyProject) {
|
|
40
|
+
spinner.warn('Not in a recognized project directory');
|
|
41
|
+
|
|
42
|
+
const { continueAnyway } = await inquirer.prompt([
|
|
43
|
+
{
|
|
44
|
+
type: 'confirm',
|
|
45
|
+
name: 'continueAnyway',
|
|
46
|
+
message: 'BYAN works best in a project with version control. Continue anyway?',
|
|
47
|
+
default: false
|
|
48
|
+
}
|
|
49
|
+
]);
|
|
50
|
+
|
|
51
|
+
if (!continueAnyway) {
|
|
52
|
+
console.log(chalk.yellow('Installation cancelled.'));
|
|
53
|
+
process.exit(0);
|
|
54
|
+
}
|
|
55
|
+
} else {
|
|
56
|
+
spinner.succeed('Project detected');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Step 2: Platform selection
|
|
60
|
+
const { platform } = await inquirer.prompt([
|
|
61
|
+
{
|
|
62
|
+
type: 'list',
|
|
63
|
+
name: 'platform',
|
|
64
|
+
message: 'Select platform to install for:',
|
|
65
|
+
choices: [
|
|
66
|
+
{ name: 'GitHub Copilot CLI', value: 'copilot' },
|
|
67
|
+
{ name: 'VSCode', value: 'vscode' },
|
|
68
|
+
{ name: 'Claude Code', value: 'claude' },
|
|
69
|
+
{ name: 'Codex', value: 'codex' },
|
|
70
|
+
{ name: 'All platforms', value: 'all' }
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
]);
|
|
74
|
+
|
|
75
|
+
// Step 3: User configuration
|
|
76
|
+
const config = await inquirer.prompt([
|
|
77
|
+
{
|
|
78
|
+
type: 'input',
|
|
79
|
+
name: 'userName',
|
|
80
|
+
message: 'Your name:',
|
|
81
|
+
default: 'Developer'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: 'list',
|
|
85
|
+
name: 'language',
|
|
86
|
+
message: 'Communication language:',
|
|
87
|
+
choices: ['Francais', 'English'],
|
|
88
|
+
default: 'English'
|
|
89
|
+
}
|
|
90
|
+
]);
|
|
91
|
+
|
|
92
|
+
// Step 4: Create directory structure
|
|
93
|
+
const installSpinner = ora('Creating directory structure...').start();
|
|
94
|
+
|
|
95
|
+
const bmadDir = path.join(projectRoot, '_bmad');
|
|
96
|
+
const bmbDir = path.join(bmadDir, 'bmb');
|
|
97
|
+
|
|
98
|
+
await fs.ensureDir(path.join(bmadDir, 'bmb', 'agents'));
|
|
99
|
+
await fs.ensureDir(path.join(bmadDir, 'bmb', 'workflows', 'byan', 'steps'));
|
|
100
|
+
await fs.ensureDir(path.join(bmadDir, 'bmb', 'workflows', 'byan', 'templates'));
|
|
101
|
+
await fs.ensureDir(path.join(bmadDir, 'bmb', 'workflows', 'byan', 'data'));
|
|
102
|
+
await fs.ensureDir(path.join(bmadDir, 'core'));
|
|
103
|
+
await fs.ensureDir(path.join(bmadDir, '_config'));
|
|
104
|
+
await fs.ensureDir(path.join(bmadDir, '_memory'));
|
|
105
|
+
await fs.ensureDir(path.join(bmadDir, '_output'));
|
|
106
|
+
|
|
107
|
+
installSpinner.succeed('Directory structure created');
|
|
108
|
+
|
|
109
|
+
// Step 5: Copy BYAN files
|
|
110
|
+
const copySpinner = ora('Installing BYAN files...').start();
|
|
111
|
+
|
|
112
|
+
// In production, these would be copied from the package
|
|
113
|
+
// For now, we'll create minimal config
|
|
114
|
+
|
|
115
|
+
const configContent = {
|
|
116
|
+
bmb_creations_output_folder: "{project-root}/_bmad-output/bmb-creations",
|
|
117
|
+
user_name: config.userName,
|
|
118
|
+
communication_language: config.language,
|
|
119
|
+
document_output_language: config.language,
|
|
120
|
+
output_folder: "{project-root}/_bmad-output",
|
|
121
|
+
platform: platform
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
const configPath = path.join(bmbDir, 'config.yaml');
|
|
125
|
+
await fs.writeFile(configPath, yaml.dump(configContent), 'utf8');
|
|
126
|
+
|
|
127
|
+
copySpinner.succeed('BYAN files installed');
|
|
128
|
+
|
|
129
|
+
// Step 6: Create shortcuts
|
|
130
|
+
const shortcutSpinner = ora('Creating shortcuts...').start();
|
|
131
|
+
|
|
132
|
+
// Create package.json scripts if it exists
|
|
133
|
+
if (hasPackageJson) {
|
|
134
|
+
const pkgPath = path.join(projectRoot, 'package.json');
|
|
135
|
+
const pkg = await fs.readJson(pkgPath);
|
|
136
|
+
|
|
137
|
+
if (!pkg.scripts) pkg.scripts = {};
|
|
138
|
+
|
|
139
|
+
if (!pkg.scripts.byan) {
|
|
140
|
+
pkg.scripts.byan = 'echo "BYAN agent installed. Activate in your AI platform."';
|
|
141
|
+
await fs.writeJson(pkgPath, pkg, { spaces: 2 });
|
|
142
|
+
shortcutSpinner.succeed('NPM script added');
|
|
143
|
+
} else {
|
|
144
|
+
shortcutSpinner.info('NPM script already exists');
|
|
145
|
+
}
|
|
146
|
+
} else {
|
|
147
|
+
shortcutSpinner.succeed('Shortcuts created');
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Step 7: Verification
|
|
151
|
+
const verifySpinner = ora('Verifying installation...').start();
|
|
152
|
+
|
|
153
|
+
const checks = [
|
|
154
|
+
await fs.pathExists(path.join(bmbDir, 'agents')),
|
|
155
|
+
await fs.pathExists(path.join(bmbDir, 'workflows', 'byan')),
|
|
156
|
+
await fs.pathExists(configPath)
|
|
157
|
+
];
|
|
158
|
+
|
|
159
|
+
const passed = checks.filter(Boolean).length;
|
|
160
|
+
|
|
161
|
+
if (passed === checks.length) {
|
|
162
|
+
verifySpinner.succeed(`Verification: ${passed}/${checks.length} checks passed`);
|
|
163
|
+
} else {
|
|
164
|
+
verifySpinner.warn(`Verification: ${passed}/${checks.length} checks passed`);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Success message
|
|
168
|
+
console.log('');
|
|
169
|
+
console.log(chalk.green('╔════════════════════════════════════════════════════════════╗'));
|
|
170
|
+
console.log(chalk.green('║ ║'));
|
|
171
|
+
console.log(chalk.green('║ ✅ BYAN INSTALLATION COMPLETE! ║'));
|
|
172
|
+
console.log(chalk.green('║ ║'));
|
|
173
|
+
console.log(chalk.green('╚════════════════════════════════════════════════════════════╝'));
|
|
174
|
+
console.log('');
|
|
175
|
+
|
|
176
|
+
console.log(chalk.bold('Installation Summary:'));
|
|
177
|
+
console.log(` • Platform: ${chalk.cyan(platform)}`);
|
|
178
|
+
console.log(` • Installation Directory: ${chalk.cyan(bmbDir)}`);
|
|
179
|
+
console.log(` • Configuration: ${chalk.cyan(configPath)}`);
|
|
180
|
+
console.log(` • User: ${chalk.cyan(config.userName)}`);
|
|
181
|
+
console.log(` • Language: ${chalk.cyan(config.language)}`);
|
|
182
|
+
console.log('');
|
|
183
|
+
|
|
184
|
+
console.log(chalk.bold('Next Steps:'));
|
|
185
|
+
console.log('');
|
|
186
|
+
console.log(chalk.yellow('1. Activate BYAN:'));
|
|
187
|
+
|
|
188
|
+
if (platform === 'copilot') {
|
|
189
|
+
console.log(` ${chalk.blue('gh copilot suggest "activate byan agent"')}`);
|
|
190
|
+
} else if (platform === 'vscode') {
|
|
191
|
+
console.log(' Open VSCode Command Palette (Ctrl+Shift+P)');
|
|
192
|
+
console.log(' Type: "Activate BYAN Agent"');
|
|
193
|
+
} else if (platform === 'claude') {
|
|
194
|
+
console.log(` ${chalk.blue('claude chat --agent byan')}`);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
console.log('');
|
|
198
|
+
console.log(chalk.yellow('2. Create your first agent:'));
|
|
199
|
+
console.log(' [INT] Start Intelligent Interview (30-45 min)');
|
|
200
|
+
console.log(' [QC] Quick Create (10 min)');
|
|
201
|
+
console.log('');
|
|
202
|
+
|
|
203
|
+
console.log(chalk.yellow('3. Explore documentation:'));
|
|
204
|
+
console.log(` • Configuration: ${chalk.cyan(configPath)}`);
|
|
205
|
+
console.log(` • Workflows: ${chalk.cyan(path.join(bmbDir, 'workflows', 'byan'))}`);
|
|
206
|
+
console.log('');
|
|
207
|
+
|
|
208
|
+
console.log(chalk.gray('Need help? Type \'/bmad-help\' when BYAN is active'));
|
|
209
|
+
console.log('');
|
|
210
|
+
console.log(chalk.blue('Happy agent building! 🏗️'));
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// CLI Program
|
|
214
|
+
program
|
|
215
|
+
.name('create-byan-agent')
|
|
216
|
+
.description('Install BYAN - Builder of YAN agent creator')
|
|
217
|
+
.version(BYAN_VERSION)
|
|
218
|
+
.action(install);
|
|
219
|
+
|
|
220
|
+
program.parse(process.argv);
|