fix: add missing largeFileLineThreshold property to webview-ui components

This commit is contained in:
Roo Code 2025-07-22 17:48:18 +00:00
parent df741d7b19
commit 4b278cfc23
2 changed files with 2 additions and 0 deletions

View file

@ -204,6 +204,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
showRooIgnoredFiles: true, // Default to showing .rooignore'd files with lock symbol (current behavior).
renderContext: "sidebar",
maxReadFileLine: -1, // Default max read file line limit
largeFileLineThreshold: 5000, // Default large file line threshold
pinnedApiConfigs: {}, // Empty object for pinned API configs
terminalZshOhMy: false, // Default Oh My Zsh integration setting
maxConcurrentFileReads: 5, // Default concurrent file reads

View file

@ -201,6 +201,7 @@ describe("mergeExtensionState", () => {
showRooIgnoredFiles: true,
renderContext: "sidebar",
maxReadFileLine: 500,
largeFileLineThreshold: 5000,
cloudUserInfo: null,
organizationAllowList: { allowAll: true, providers: {} },
autoCondenseContext: true,