Add new folderTrust setting that the users can enable or disable (#5798)

This commit is contained in:
shrutip90
2025-08-07 14:06:17 -07:00
committed by GitHub
parent 3a3b138195
commit 53f8617b24
5 changed files with 130 additions and 4 deletions

View File

@@ -314,6 +314,8 @@ export async function loadCliConfig(
argv.ideModeFeature ?? settings.ideModeFeature ?? false;
const folderTrustFeature = settings.folderTrustFeature ?? false;
const folderTrustSetting = settings.folderTrust ?? false;
const folderTrust = folderTrustFeature && folderTrustSetting;
const allExtensions = annotateActiveExtensions(
extensions,
@@ -484,6 +486,7 @@ export async function loadCliConfig(
ideModeFeature,
chatCompression: settings.chatCompression,
folderTrustFeature,
folderTrust,
});
}