feat: 添加云端开发环境页面,支持 Jump、Trae、Windsurf 等 IDE 链接

- 新增 cloud-env 页面,展示运行中的云端开发环境
- 支持 Web IDE、VS Code、Cursor、Trae、Windsurf、Antigravity 等 IDE 链接
- 添加复制功能和点击跳转功能
- 更新 WorkspaceDetailDialog,添加对应 IDE 选项
- 更新侧边栏导航,添加"云端环境"入口

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
xiongxiao
2026-03-21 00:13:13 +08:00
committed by cnb
parent ef08303182
commit 477826dcce
6 changed files with 399 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
import { FolderKanban, LayoutDashboard, Settings, PlayCircle } from 'lucide-react'
import { FolderKanban, LayoutDashboard, Settings, PlayCircle, Cloud } from 'lucide-react'
import { Sidebar, type NavItem } from '@/components/a/Sidebar'
import { Logo } from './CNBBlackLogo.tsx'
@@ -8,6 +8,11 @@ const navItems: NavItem[] = [
path: '/',
icon: <FolderKanban className="w-5 h-5" />,
},
{
title: '云端环境',
path: '/cloud-env',
icon: <Cloud className="w-5 h-5" />,
},
{
title: '工作空间',
path: '/workspaces',