| 1 | package main |
| 2 | |
| 3 | // DesktopStartupSettingsView is the lightweight Settings subset needed during |
| 4 | // frontend startup. It deliberately excludes providers and credential state so |
| 5 | // slow keychain/env resolution stays off the first-render path. |
| 6 | type DesktopStartupSettingsView struct { |
| 7 | Bot BotSettingsView `json:"bot"` |
| 8 | DesktopLanguage string `json:"desktopLanguage"` |
| 9 | DesktopLayoutStyle string `json:"desktopLayoutStyle"` |
| 10 | DesktopTheme string `json:"desktopTheme"` |
| 11 | DesktopThemeStyle string `json:"desktopThemeStyle"` |
| 12 | DesktopTerminalTheme string `json:"desktopTerminalTheme,omitempty"` |
| 13 | DisplayMode string `json:"displayMode"` |
| 14 | SessionExperience string `json:"sessionExperience"` |
| 15 | ReasoningDisplayMode string `json:"reasoningDisplayMode"` |
| 16 | ReasoningDisplayModeExplicit bool `json:"reasoningDisplayModeExplicit"` |
| 17 | StatusBarStyle string `json:"statusBarStyle"` |
| 18 | StatusBarItems []string `json:"statusBarItems"` |
| 19 | CheckUpdates bool `json:"checkUpdates"` |
| 20 | UpdaterEnabled bool `json:"updaterEnabled"` |
| 21 | UpdateChannel string `json:"updateChannel"` |
| 22 | ConversationWidth string `json:"conversationWidth,omitempty"` |
| 23 | // ConfigWarnings report in-memory recovery without rewriting user/project files. |
| 24 | ConfigWarnings []string `json:"configWarnings,omitempty"` |
| 25 | ConfigWarningsRevision uint64 `json:"configWarningsRevision"` |
| 26 | ConfigPath string `json:"configPath,omitempty"` |
| 27 | } |
| 28 |