diff --git a/build/icon-original.png b/build/icon-original.png new file mode 100644 index 0000000..8631a2c Binary files /dev/null and b/build/icon-original.png differ diff --git a/build/icon.icns b/build/icon.icns index ea18a9b..c7dd9b2 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/build/icon.png b/build/icon.png index 8631a2c..e0c8ddc 100644 Binary files a/build/icon.png and b/build/icon.png differ diff --git a/src/app/chat/[id]/page.tsx b/src/app/chat/[id]/page.tsx index 1e6ae81..33f7e8b 100644 --- a/src/app/chat/[id]/page.tsx +++ b/src/app/chat/[id]/page.tsx @@ -166,7 +166,7 @@ export default function ChatSessionPage({ params }: ChatSessionPageProps) { {/* Chat title bar */} {sessionTitle && (
{projectName && ( diff --git a/src/components/chat/ChatView.tsx b/src/components/chat/ChatView.tsx index 81b04f5..195b0f1 100644 --- a/src/components/chat/ChatView.tsx +++ b/src/components/chat/ChatView.tsx @@ -504,17 +504,6 @@ export function ChatView({ sessionId, initialMessages = [], initialHasMore = fal } }, [sessionId, sendMessage]); - // Determine if "Start Execution" button should show - const showStartExecution = mode === 'plan' && !isStreaming && messages.length > 0 && messages[messages.length - 1]?.role === 'assistant'; - - const handleStartExecution = useCallback(() => { - handleModeChange('code'); - // Small delay to let mode change propagate before sending - setTimeout(() => { - sendMessage('请按照上面的计划开始执行。'); - }, 100); - }, [handleModeChange, sendMessage]); - return (
- {showStartExecution && ( -
- -
- )} )}
- {/* Electron draggable title bar region */} + {/* Electron draggable title bar region — matches side panels' mt-5 */}
{children}
diff --git a/src/components/layout/DocPreview.tsx b/src/components/layout/DocPreview.tsx index 3eed70d..8419ecd 100644 --- a/src/components/layout/DocPreview.tsx +++ b/src/components/layout/DocPreview.tsx @@ -120,7 +120,7 @@ export function DocPreview({ style={{ width }} > {/* Header */} -
+

{fileName}