import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react" import React, { useEffect, useState } from "react" import { ApiConfiguration } from "../../../src/shared/api" import { validateApiConfiguration } from "../utils/validate" import { vscode } from "../utils/vscode" import ApiOptions from "./ApiOptions" interface WelcomeViewProps { apiConfiguration?: ApiConfiguration setApiConfiguration: React.Dispatch> } const WelcomeView: React.FC = ({ apiConfiguration, setApiConfiguration }) => { const [apiErrorMessage, setApiErrorMessage] = useState(undefined) const disableLetsGoButton = apiErrorMessage != null const handleSubmit = () => { vscode.postMessage({ type: "apiConfiguration", apiConfiguration }) } useEffect(() => { setApiErrorMessage(validateApiConfiguration(apiConfiguration)) }, [apiConfiguration]) return (

Hi, I'm Claude Dev

I can do all kinds of tasks thanks to the latest breakthroughs in{" "} Claude 3.5 Sonnet's agentic coding capabilities. {" "} I am prompted to think through tasks step-by-step and have access to tools that let me create & edit files, explore complex projects, and execute terminal commands (with your permission, of course).

To get started, this extension needs an API key for Claude 3.5 Sonnet:
Let's go!
) } export default WelcomeView