Merge tag 'v0.3.0' into chore/sync-gemini-cli-v0.3.0

This commit is contained in:
mingholy.lmh
2025-09-10 21:01:40 +08:00
583 changed files with 30160 additions and 10770 deletions

View File

@@ -5,7 +5,7 @@
*/
import { useState, useCallback, useEffect } from 'react';
import { LoadedSettings } from '../../config/settings.js';
import type { LoadedSettings } from '../../config/settings.js';
import {
AuthType,
qwenOAuth2Events,
@@ -43,7 +43,8 @@ export const useQwenAuth = (
authMessage: null,
});
const isQwenAuth = settings.merged.selectedAuthType === AuthType.QWEN_OAUTH;
const isQwenAuth =
settings.merged.security?.auth?.selectedType === AuthType.QWEN_OAUTH;
// Set up event listeners when authentication starts
useEffect(() => {