diff options
| author | Sandy Tao <[email protected]> | 2025-08-19 16:45:13 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-19 23:45:13 +0000 |
| commit | 389102ec0e6370c29df6499157417861f8c1c253 (patch) | |
| tree | ec29576b917e956fb4ed28a5d5a5b66766193bf4 /packages/cli/src | |
| parent | faff1c2ec73929e337c4035cf2d297c79e84a949 (diff) | |
feat(core): Add --skip-next-speaker-check flag (#6589)
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/config/config.ts | 2 | ||||
| -rw-r--r-- | packages/cli/src/config/settingsSchema.ts | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index d3b73e06..9731b503 100644 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -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, }); } diff --git a/packages/cli/src/config/settingsSchema.ts b/packages/cli/src/config/settingsSchema.ts index 8c1b5191..6d9e1f1e 100644 --- a/packages/cli/src/config/settingsSchema.ts +++ b/packages/cli/src/config/settingsSchema.ts @@ -515,6 +515,15 @@ export const SETTINGS_SCHEMA = { description: 'Show line numbers in the chat.', showInDialog: true, }, + skipNextSpeakerCheck: { + type: 'boolean', + label: 'Skip Next Speaker Check', + category: 'General', + requiresRestart: false, + default: false, + description: 'Skip the next speaker check.', + showInDialog: true, + }, } as const; type InferSettings<T extends SettingsSchema> = { |
