chore: remove standalone kiro-cli generation command
- Remove bmad:generate-kiro-cli npm script - Remove standalone generate-kiro-cli-agents.js command - Update installer README to remove manual regeneration instructions - Agents are automatically generated during installation only
This commit is contained in:
parent
dc16dea59d
commit
5e2b4793d3
|
|
@ -25,7 +25,6 @@
|
|||
},
|
||||
"scripts": {
|
||||
"bmad:agent-install": "node tools/cli/bmad-cli.js agent-install",
|
||||
"bmad:generate-kiro-cli": "node tools/cli/bmad-cli.js generate-kiro-cli-agents",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
const chalk = require('chalk');
|
||||
const { KiroCLIGenerator } = require('../lib/kiro-cli-generator');
|
||||
|
||||
const kiroGenerator = new KiroCLIGenerator();
|
||||
|
||||
module.exports = {
|
||||
command: 'generate-kiro-cli-agents',
|
||||
description: 'Generate Kiro CLI agent files from BMAD agent manifest',
|
||||
options: [
|
||||
['-o, --output <path>', 'Output directory (default: .kiro/agents)'],
|
||||
['-f, --force', 'Overwrite existing files'],
|
||||
],
|
||||
action: async (options) => {
|
||||
try {
|
||||
console.log(chalk.cyan('\n🤖 Kiro CLI Agent Generator\n'));
|
||||
|
||||
const result = await kiroGenerator.generateWithOutput(process.cwd(), {
|
||||
outputDir: options.output,
|
||||
force: options.force,
|
||||
});
|
||||
|
||||
console.log(chalk.cyan(`\n📊 Generation Summary:`));
|
||||
console.log(chalk.green(`✅ Generated: ${result.generated} agents`));
|
||||
console.log(chalk.yellow(`⏭️ Skipped: ${result.skipped} agents`));
|
||||
console.log(chalk.dim(`📁 Output: ${result.outputDir}`));
|
||||
|
||||
if (result.generated > 0) {
|
||||
console.log(chalk.cyan('\n🎉 Kiro CLI agents ready! You can now use them in Kiro CLI.'));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(chalk.red('❌ Error generating Kiro CLI agents:'), error.message);
|
||||
process.exit(1);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
@ -78,7 +78,6 @@ kiro-cli chat --agent market-researcher
|
|||
## Updates
|
||||
|
||||
These agents are automatically regenerated when you update BMAD.
|
||||
Manual regeneration: \`npm run bmad:generate-kiro-cli --force\`
|
||||
|
||||
Generated: ${new Date().toISOString()}
|
||||
`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue