feat(auth): enhance AuthDialog with error handling and update API key link

This commit is contained in:
mingholy.lmh 2026-02-11 16:48:54 +08:00
parent a8a05188cb
commit 54d9073cc0
9 changed files with 47 additions and 5 deletions

View file

@ -42,7 +42,7 @@ export interface UIActions {
) => Promise<void>;
handleCodingPlanSubmit: (apiKey: string) => Promise<void>;
setAuthState: (state: AuthState) => void;
onAuthError: (error: string) => void;
onAuthError: (error: string | null) => void;
cancelAuthentication: () => void;
handleEditorSelect: (
editorType: EditorType | undefined,