| 11 | |
| 12 | // Display welcome message |
| 13 | displayWelcome(): void { |
| 14 | console.log( |
| 15 | chalk.bold.hex('#CD6F47')(` |
| 16 | ██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ███████╗ |
| 17 | ██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝ ██╔════╝██╔═══██╗██╔══██╗██╔════╝ |
| 18 | ██║ ██║ ███████║██║ ██║██║ ██║█████╗ ██║ ██║ ██║██║ ██║█████╗ |
| 19 | ██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝ ██║ ██║ ██║██║ ██║██╔══╝ |
| 20 | ╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗ ╚██████╗╚██████╔╝██████╔╝███████╗ |
| 21 | ╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝ |
| 22 | `) |
| 23 | ); |
| 24 | console.log( |
| 25 | chalk.gray('AI-powered coding assistant with MCP tool support') |
| 26 | ); |
| 27 | console.log(chalk.gray("Type your questions or '/exit' to quit\n")); |
| 28 | } |
| 29 | |
| 30 | async promptUser(): Promise<string> { |
| 31 | // Stop any running spinner before prompting |