@@ -14,6 +14,7 @@ import {
1414 Globe ,
1515 Info ,
1616 LucideIcon ,
17+ Monitor ,
1718} from "lucide-react"
1819import { CaretSortIcon } from "@radix-ui/react-icons"
1920
@@ -47,6 +48,7 @@ import ApiOptions from "./ApiOptions"
4748import { AutoApproveSettings } from "./AutoApproveSettings"
4849import { BrowserSettings } from "./BrowserSettings"
4950import { CheckpointSettings } from "./CheckpointSettings"
51+ import { InterfaceSettings } from "./InterfaceSettings"
5052import { NotificationSettings } from "./NotificationSettings"
5153import { ContextManagementSettings } from "./ContextManagementSettings"
5254import { TerminalSettings } from "./TerminalSettings"
@@ -65,6 +67,7 @@ const sectionNames = [
6567 "autoApprove" ,
6668 "browser" ,
6769 "checkpoints" ,
70+ "interface" ,
6871 "notifications" ,
6972 "contextManagement" ,
7073 "terminal" ,
@@ -139,6 +142,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
139142 showRooIgnoredFiles,
140143 remoteBrowserEnabled,
141144 maxReadFileLine,
145+ showGreeting,
142146 } = cachedState
143147
144148 // Make sure apiConfiguration is initialized and managed by SettingsView.
@@ -262,6 +266,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
262266 vscode . postMessage ( { type : "alwaysAllowSubtasks" , bool : alwaysAllowSubtasks } )
263267 vscode . postMessage ( { type : "upsertApiConfiguration" , text : currentApiConfigName , apiConfiguration } )
264268 vscode . postMessage ( { type : "telemetrySetting" , text : telemetrySetting } )
269+ vscode . postMessage ( { type : "showGreeting" , bool : showGreeting } )
265270 setChangeDetected ( false )
266271 }
267272 }
@@ -290,6 +295,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
290295 const autoApproveRef = useRef < HTMLDivElement > ( null )
291296 const browserRef = useRef < HTMLDivElement > ( null )
292297 const checkpointsRef = useRef < HTMLDivElement > ( null )
298+ const interfaceRef = useRef < HTMLDivElement > ( null )
293299 const notificationsRef = useRef < HTMLDivElement > ( null )
294300 const contextManagementRef = useRef < HTMLDivElement > ( null )
295301 const terminalRef = useRef < HTMLDivElement > ( null )
@@ -304,6 +310,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
304310 { id : "autoApprove" , icon : CheckCheck , ref : autoApproveRef } ,
305311 { id : "browser" , icon : SquareMousePointer , ref : browserRef } ,
306312 { id : "checkpoints" , icon : GitBranch , ref : checkpointsRef } ,
313+ { id : "interface" , icon : Monitor , ref : interfaceRef } ,
307314 { id : "notifications" , icon : Bell , ref : notificationsRef } ,
308315 { id : "contextManagement" , icon : Database , ref : contextManagementRef } ,
309316 { id : "terminal" , icon : SquareTerminal , ref : terminalRef } ,
@@ -317,6 +324,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
317324 autoApproveRef ,
318325 browserRef ,
319326 checkpointsRef ,
327+ interfaceRef ,
320328 notificationsRef ,
321329 contextManagementRef ,
322330 terminalRef ,
@@ -469,6 +477,10 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
469477 />
470478 </ div >
471479
480+ < div ref = { interfaceRef } >
481+ < InterfaceSettings showGreeting = { showGreeting } setCachedStateField = { setCachedStateField } />
482+ </ div >
483+
472484 < div ref = { notificationsRef } >
473485 < NotificationSettings
474486 ttsEnabled = { ttsEnabled }
0 commit comments