diff options
| author | shrutip90 <[email protected]> | 2025-08-06 15:27:21 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-06 22:27:21 +0000 |
| commit | 626844b539af6bf6d21a04d43173074c98b71474 (patch) | |
| tree | d402215e0ff6a3a3a464f6567997008e1f211f52 /packages/core/src | |
| parent | 5cd63a6abc0531ec5e6781b2fa065cd22a64eede (diff) | |
experiment: Add feature exp flag for folder trust (#5709)
Diffstat (limited to 'packages/core/src')
| -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 fa51a6af..005573da 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -188,6 +188,7 @@ export interface ConfigParameters { noBrowser?: boolean; summarizeToolOutput?: Record<string, SummarizeToolOutputSettings>; ideModeFeature?: boolean; + folderTrustFeature?: boolean; ideMode?: boolean; loadMemoryFromIncludeDirectories?: boolean; } @@ -233,6 +234,7 @@ export class Config { private readonly extensionContextFilePaths: string[]; private readonly noBrowser: boolean; private readonly ideModeFeature: boolean; + private readonly folderTrustFeature: boolean; private ideMode: boolean; private ideClient: IdeClient; private inFallbackMode = false; @@ -305,6 +307,7 @@ export class Config { this.noBrowser = params.noBrowser ?? false; this.summarizeToolOutput = params.summarizeToolOutput; this.ideModeFeature = params.ideModeFeature ?? false; + this.folderTrustFeature = params.folderTrustFeature ?? false; this.ideMode = params.ideMode ?? false; this.ideClient = IdeClient.getInstance(); if (this.ideMode && this.ideModeFeature) { @@ -638,6 +641,10 @@ export class Config { return this.ideModeFeature; } + getFolderTrustFeature(): boolean { + return this.folderTrustFeature; + } + getIdeMode(): boolean { return this.ideMode; } |
