feat(analysis): 添加分析查看器页面 (#122)

- 新增 AnalysisPage 页面查看 /workflow:analyze-with-file 分析结果
- 支持 Tab 分组展示:讨论记录、结论、代码探索、视角分析
- Markdown 内容富文本渲染,JSON 数据结构化卡片展示
- 添加后端 API 路由 /api/analysis
- 添加侧边栏导航入口和中英文翻译

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
AXC00
2026-02-26 14:04:41 +08:00
committed by GitHub
parent a35fb0fe8f
commit 12be252e8e
12 changed files with 982 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ import {
CliSessionSharePage,
TeamPage,
TerminalDashboardPage,
AnalysisPage,
} from '@/pages';
/**
@@ -169,6 +170,10 @@ const routes: RouteObject[] = [
path: 'teams',
element: <TeamPage />,
},
{
path: 'analysis',
element: <AnalysisPage />,
},
{
path: 'terminal-dashboard',
element: <TerminalDashboardPage />,
@@ -234,6 +239,7 @@ export const ROUTES = {
TEAMS: '/teams',
TERMINAL_DASHBOARD: '/terminal-dashboard',
SKILL_HUB: '/skill-hub',
ANALYSIS: '/analysis',
} as const;
export type RoutePath = (typeof ROUTES)[keyof typeof ROUTES];