From 5e2b4793d396059560ade01f8a512191027e672f Mon Sep 17 00:00:00 2001 From: Philip Louw Date: Thu, 27 Nov 2025 10:14:41 +0200 Subject: [PATCH] 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 --- package.json | 1 - .../cli/commands/generate-kiro-cli-agents.js | 35 ------------------- tools/cli/installers/lib/ide/kiro-cli.js | 1 - 3 files changed, 37 deletions(-) delete mode 100644 tools/cli/commands/generate-kiro-cli-agents.js diff --git a/package.json b/package.json index 2461db46..314d5c66 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tools/cli/commands/generate-kiro-cli-agents.js b/tools/cli/commands/generate-kiro-cli-agents.js deleted file mode 100644 index 576a7eb0..00000000 --- a/tools/cli/commands/generate-kiro-cli-agents.js +++ /dev/null @@ -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 ', '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); - } - }, -}; diff --git a/tools/cli/installers/lib/ide/kiro-cli.js b/tools/cli/installers/lib/ide/kiro-cli.js index 0e615c61..d7a217f5 100644 --- a/tools/cli/installers/lib/ide/kiro-cli.js +++ b/tools/cli/installers/lib/ide/kiro-cli.js @@ -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()} `;