agent updates
This commit is contained in:
@@ -13,6 +13,17 @@ module.exports = {
|
||||
action: async () => {
|
||||
try {
|
||||
const config = await ui.promptInstall();
|
||||
|
||||
// Handle agent compilation separately
|
||||
if (config.actionType === 'compile') {
|
||||
const result = await installer.compileAgents(config);
|
||||
console.log(chalk.green('\n✨ Agent compilation complete!'));
|
||||
console.log(chalk.cyan(`Rebuilt ${result.agentCount} agents and ${result.taskCount} tasks`));
|
||||
process.exit(0);
|
||||
return;
|
||||
}
|
||||
|
||||
// Regular install/update flow
|
||||
const result = await installer.install(config);
|
||||
|
||||
console.log(chalk.green('\n✨ Installation complete!'));
|
||||
|
||||
Reference in New Issue
Block a user