update inquirer to v9.x for better windows support

This commit is contained in:
Brian Madison
2025-12-22 18:18:16 +08:00
parent da21790531
commit 021936eaa9
783 changed files with 13034 additions and 413 deletions

View File

@@ -58,7 +58,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
if (config.subagentChoices.install !== 'none') {
// Ask for installation location
const inquirer = require('inquirer');
const inquirer = require('inquirer').default || require('inquirer');
const locationAnswer = await inquirer.prompt([
{
type: 'list',
@@ -306,7 +306,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
choices = await this.promptSubagentInstallation(config.subagents);
if (choices.install !== 'none') {
const inquirer = require('inquirer');
const inquirer = require('inquirer').default || require('inquirer');
const locationAnswer = await inquirer.prompt([
{
type: 'list',
@@ -343,7 +343,7 @@ class ClaudeCodeSetup extends BaseIdeSetup {
* Prompt user for subagent installation preferences
*/
async promptSubagentInstallation(subagentConfig) {
const inquirer = require('inquirer');
const inquirer = require('inquirer').default || require('inquirer');
// First ask if they want to install subagents
const { install } = await inquirer.prompt([