From 1c4a4525b3de6a12686222f7056ddbf6f3691e0b Mon Sep 17 00:00:00 2001 From: MT-Fire <798521692@qq.com> Date: Wed, 18 Mar 2026 23:29:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=97=A7=E7=89=88=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/nginx/nginx.local.conf | 6 +- frontend/.vscode/settings.json | 66 +- .../app/workspace/chats/[thread_id]/page.tsx | 387 +++++----- frontend/src/app/workspace/layout.tsx | 50 +- .../src/components/ai-elements/artifact.tsx | 11 +- .../ai-elements/chain-of-thought.tsx | 8 +- .../components/ai-elements/conversation.tsx | 2 +- .../src/components/ai-elements/message.tsx | 9 +- .../components/ai-elements/prompt-input.tsx | 228 ++++-- frontend/src/components/ai-elements/queue.tsx | 4 +- .../src/components/ai-elements/suggestion.tsx | 7 +- frontend/src/components/ui/button.tsx | 2 +- frontend/src/components/ui/card.tsx | 4 +- frontend/src/components/ui/dev-dialog.tsx | 148 ++++ frontend/src/components/ui/dropdown-menu.tsx | 6 +- .../src/components/ui/dropdown-selector.tsx | 55 ++ frontend/src/components/ui/input-group.tsx | 10 +- frontend/src/components/ui/resizable.tsx | 2 +- frontend/src/components/ui/sidebar.tsx | 5 +- frontend/src/components/ui/sonner.tsx | 10 +- frontend/src/components/ui/tooltip.tsx | 2 +- .../artifacts/artifact-file-detail.tsx | 359 +++++++-- .../artifacts/artifact-file-list.tsx | 4 +- .../workspace/artifacts/context.tsx | 7 + .../src/components/workspace/code-editor.tsx | 4 + .../components/workspace/dev-todo-list.tsx | 69 ++ .../workspace/iframe-test-panel.tsx | 225 ++++++ .../src/components/workspace/input-box.tsx | 702 ++++++++++-------- .../workspace/messages/message-group.tsx | 2 +- .../workspace/messages/message-list-item.tsx | 2 +- .../src/components/workspace/use-chat-mode.ts | 42 ++ frontend/src/components/workspace/welcome.tsx | 15 +- frontend/src/core/i18n/locales/en-US.ts | 96 ++- frontend/src/core/i18n/locales/types.ts | 53 ++ frontend/src/core/i18n/locales/zh-CN.ts | 87 ++- frontend/src/hooks/use-iframe-skill.ts | 77 ++ .../src/hooks/use-selected-skill-listener.ts | 145 ++++ frontend/src/styles/globals.css | 81 +- 38 files changed, 2277 insertions(+), 715 deletions(-) create mode 100644 frontend/src/components/ui/dev-dialog.tsx create mode 100644 frontend/src/components/ui/dropdown-selector.tsx create mode 100644 frontend/src/components/workspace/dev-todo-list.tsx create mode 100644 frontend/src/components/workspace/iframe-test-panel.tsx create mode 100644 frontend/src/components/workspace/use-chat-mode.ts create mode 100644 frontend/src/hooks/use-iframe-skill.ts create mode 100644 frontend/src/hooks/use-selected-skill-listener.ts diff --git a/docker/nginx/nginx.local.conf b/docker/nginx/nginx.local.conf index 50e5ac69..76504a60 100644 --- a/docker/nginx/nginx.local.conf +++ b/docker/nginx/nginx.local.conf @@ -16,15 +16,15 @@ http { # Upstream servers (using Docker service names for Docker Compose) upstream gateway { - server gateway:8001; + server localhost:8001; } upstream langgraph { - server langgraph:2024; + server localhost:2024; } upstream frontend { - server frontend:3000; + server localhost:3000; } server { diff --git a/frontend/.vscode/settings.json b/frontend/.vscode/settings.json index 19bd6ebc..f06ac9c4 100644 --- a/frontend/.vscode/settings.json +++ b/frontend/.vscode/settings.json @@ -1,3 +1,67 @@ { - "window.title": "${activeEditorShort}${separator}${separator}deer-flow/frontend" + "window.title": "${activeEditorShort}${separator}${separator}deer-flow/frontend", + "todo-tree.regex.regex": "((%|#|//|