Add attachment text extraction, auto web news skill, and chat/voice UI updates.

Simplify asset upload temp paths, refresh deploy docs for Aliyun DNS topology, and ship MindSpace content-scan and auth improvements.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-06-20 15:08:10 +08:00
parent 2e5afe3bfd
commit 70492d9eba
24 changed files with 648 additions and 129 deletions
+4 -2
View File
@@ -17,7 +17,7 @@ export function VoiceInputDialog({
onSend: (text: string) => void;
onError?: (message: string) => void;
}) {
const { phase, text, analyser, liveRecognition, updateText, stopListening, finishFallbackRecording } =
const { phase, text, analyser, liveRecognition, stopListening, finishFallbackRecording, resetSession } =
useVoiceSession({
active: open && !disabled,
onError,
@@ -25,8 +25,9 @@ export function VoiceInputDialog({
const handleClose = useCallback(() => {
stopListening();
resetSession();
onClose();
}, [onClose, stopListening]);
}, [onClose, resetSession, stopListening]);
useEffect(() => {
if (!open) return undefined;
@@ -53,6 +54,7 @@ export function VoiceInputDialog({
const value = text.trim();
if (!value || disabled) return;
stopListening();
resetSession();
onSend(value);
onClose();
};