This commit is contained in:
Trevor Hudson
2025-05-06 17:21:23 -07:00
parent 89b46c10b2
commit d7ae62dca1
5 changed files with 436 additions and 436 deletions
+1 -1
View File
@@ -414,4 +414,4 @@
"web-tree-sitter": "^0.22.6",
"zod": "^3.24.2"
}
}
}
+1 -1
View File
@@ -79,4 +79,4 @@
"@tailwindcss/oxide-linux-x64-gnu": "^4.0.1",
"lightningcss-linux-x64-gnu": "^1.29.1"
}
}
}
+2 -2
View File
@@ -14,7 +14,7 @@ import { McpViewTab } from "@shared/mcp"
import WelcomeWrapper from "./components/welcome/WelcomeWrapper"
const AppContent = () => {
const { didHydrateState, showWelcome, shouldShowAnnouncement, showMcp, mcpTab } = useExtensionState()
const { didHydrateState, shouldShowAnnouncement, showMcp, mcpTab } = useExtensionState()
const [showSettings, setShowSettings] = useState(false)
const hideSettings = useCallback(() => setShowSettings(false), [])
const [showHistory, setShowHistory] = useState(false)
@@ -98,7 +98,7 @@ const AppContent = () => {
return (
<>
{showWelcome ? (
{true ? (
<WelcomeWrapper />
) : (
<>
File diff suppressed because it is too large Load Diff
@@ -20,7 +20,6 @@ import { TelemetrySetting } from "@shared/TelemetrySetting"
interface ExtensionStateContextType extends ExtensionState {
didHydrateState: boolean
showWelcome: boolean
theme: Record<string, string> | undefined
openRouterModels: Record<string, ModelInfo>
openAiModels: string[]
@@ -61,7 +60,6 @@ export const ExtensionStateContextProvider: React.FC<{
clineMessages: [],
taskHistory: [],
shouldShowAnnouncement: false,
showWelcome: false,
autoApprovalSettings: DEFAULT_AUTO_APPROVAL_SETTINGS,
browserSettings: DEFAULT_BROWSER_SETTINGS,
chatSettings: DEFAULT_CHAT_SETTINGS,