feat(aia): Complete AIA V2.0 with universal streaming capabilities

Major Changes:
- Add StreamingService with OpenAI Compatible format
- Upgrade Chat component V2 with Ant Design X integration
- Implement AIA module with 12 intelligent agents
- Update API routes to unified /api/v1 prefix
- Update system documentation

Backend (~1300 lines):
- common/streaming: OpenAI Compatible adapter
- modules/aia: 12 agents, conversation service, streaming integration
- Update route versions (RVW, PKB to v1)

Frontend (~3500 lines):
- modules/aia: AgentHub + ChatWorkspace (100% prototype restoration)
- shared/Chat: AIStreamChat, ThinkingBlock, useAIStream Hook
- Update API endpoints to v1

Documentation:
- AIA module status guide
- Universal capabilities catalog
- System overview updates
- All module documentation sync

Tested: Stream response verified, authentication working
Status: AIA V2.0 core completed (85%)
This commit is contained in:
2026-01-14 19:15:01 +08:00
parent 3d35e9c58b
commit 1b53ab9d52
386 changed files with 52096 additions and 65238 deletions

View File

@@ -4,7 +4,7 @@
import apiClient from '../../../common/api/axios';
import type { ReviewTask, ReviewReport, ApiResponse, AgentType } from '../types';
const API_BASE = '/api/v2/rvw';
const API_BASE = '/api/v1/rvw';
// 获取任务列表
export async function getTasks(status?: string): Promise<ReviewTask[]> {

View File

@@ -127,3 +127,4 @@ export default function AgentModal({ visible, taskCount, onClose, onConfirm }: A

View File

@@ -47,3 +47,4 @@ export default function BatchToolbar({ selectedCount, onRunBatch, onClearSelecti

View File

@@ -70,3 +70,4 @@ export default function FilterChips({ filters, counts, onFilterChange }: FilterC

View File

@@ -60,3 +60,4 @@ export default function Header({ onUpload }: HeaderProps) {

View File

@@ -114,3 +114,4 @@ export default function ReportDetail({ report, onBack }: ReportDetailProps) {

View File

@@ -42,3 +42,4 @@ export default function ScoreRing({ score, size = 'medium', showLabel = true }:

View File

@@ -77,3 +77,4 @@ export default function Sidebar({ currentView, onViewChange, onSettingsClick }:

View File

@@ -19,3 +19,4 @@ export { default as TaskDetail } from './TaskDetail';

View File

@@ -288,3 +288,4 @@ export default function Dashboard() {

View File

@@ -237,3 +237,4 @@