feat: 完善 AI 对话、每日作息与课件目录体验
新增持久化对话、追问卡片和轮次导航;支持每日子时间表、切换保留课程与自动课间;完善课件逐层目录、学期周次同步及两端自适应。同步迁移、文档和回归截图。 验证:后端 262/262、AI 55 项、Web 81/81、桌面 71/71、授权 23 项;构建、类型、Lint 与文档检查通过。
This commit is contained in:
1 parent
cdb64c5499
commit
9351203deb
59 files changed
+1277
-149
No files matched your search
@@ -41,18 +41,24 @@ export interface AiPlanStep extends AiOperation {
|
||||
request?: AiExecutionRequest;
|
||||
}
|
||||
export interface AiConversationRequest {
|
||||
supersedesTaskId?: string;
|
||||
conversationId?: string;
|
||||
text: string;
|
||||
classId?: string;
|
||||
messages?: { role: 'user' | 'assistant'; content: string }[];
|
||||
attachments?: AiAttachment[];
|
||||
}
|
||||
export interface AiConversationResult {
|
||||
questions?: { id: string; text: string; options?: string[] }[];
|
||||
planId: string | null;
|
||||
message: string;
|
||||
steps: AiPlanStep[];
|
||||
results: { action: string; label: string; data: unknown; operation?: AiOperation }[];
|
||||
}
|
||||
export interface AiTaskDto {
|
||||
classId?: string;
|
||||
conversationId?: string | null;
|
||||
turnNumber?: number;
|
||||
id: string;
|
||||
state: string;
|
||||
text: string;
|
||||
|
||||
Reference in new issue
Block a user