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/core/src/config/config.ts | |
| parent | faff1c2ec73929e337c4035cf2d297c79e84a949 (diff) | |
feat(core): Add --skip-next-speaker-check flag (#6589)
Diffstat (limited to 'packages/core/src/config/config.ts')
| -rw-r--r-- | packages/core/src/config/config.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 8c95a99d..6a8e6d4b 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -203,6 +203,7 @@ export interface ConfigParameters { interactive?: boolean; trustedFolder?: boolean; shouldUseNodePtyShell?: boolean; + skipNextSpeakerCheck?: boolean; } export class Config { @@ -269,6 +270,7 @@ export class Config { private readonly interactive: boolean; private readonly trustedFolder: boolean | undefined; private readonly shouldUseNodePtyShell: boolean; + private readonly skipNextSpeakerCheck: boolean; private initialized: boolean = false; constructor(params: ConfigParameters) { @@ -337,6 +339,7 @@ export class Config { this.interactive = params.interactive ?? false; this.trustedFolder = params.trustedFolder; this.shouldUseNodePtyShell = params.shouldUseNodePtyShell ?? false; + this.skipNextSpeakerCheck = params.skipNextSpeakerCheck ?? false; if (params.contextFileName) { setGeminiMdFilename(params.contextFileName); @@ -735,6 +738,10 @@ export class Config { return this.shouldUseNodePtyShell; } + getSkipNextSpeakerCheck(): boolean { + return this.skipNextSpeakerCheck; + } + async getGitService(): Promise<GitService> { if (!this.gitService) { this.gitService = new GitService(this.targetDir); |
