feat(core): Add --skip-next-speaker-check flag (#6589)

This commit is contained in:
Sandy Tao
2025-08-19 16:45:13 -07:00
committed by GitHub
parent faff1c2ec7
commit 389102ec0e
5 changed files with 23 additions and 0 deletions

View File

@@ -229,6 +229,7 @@ export async function parseArguments(): Promise<CliArgs> {
// Handle comma-separated values
dirs.flatMap((dir) => dir.split(',').map((d) => d.trim())),
})
.check((argv) => {
if (argv.prompt && argv['promptInteractive']) {
throw new Error(
@@ -540,6 +541,7 @@ export async function loadCliConfig(
interactive,
trustedFolder,
shouldUseNodePtyShell: settings.shouldUseNodePtyShell,
skipNextSpeakerCheck: settings.skipNextSpeakerCheck,
});
}