fix: add includeVSCodeFileContext to webview-ui components

This commit is contained in:
Roo Code 2025-07-25 02:05:12 +00:00
parent d68eeb35c7
commit 3bba874a7a
2 changed files with 2 additions and 0 deletions

View file

@ -202,6 +202,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
customModes: [],
maxOpenTabsContext: 20,
maxWorkspaceFiles: 200,
includeVSCodeFileContext: true,
cwd: "",
browserToolEnabled: true,
telemetrySetting: "unset",

View file

@ -209,6 +209,7 @@ describe("mergeExtensionState", () => {
sharingEnabled: false,
profileThresholds: {},
hasOpenedModeSelector: false, // Add the new required property
includeVSCodeFileContext: true,
}
const prevState: ExtensionState = {