新增: 跨会话召回四层架构与脉络卡
- 会话终态提炼: 删除前+停靠双挂点,快照与清水位同临界区 - 目标快照: 恢复引导按最终有效意图生成,旧目标不复活 - 知识检索项目维度软排序,WorkingContext 持久化迁移 - 脉络卡: published 知识按项目聚合纯读侧,带入上下文经输入框显式注入 - 压缩与缓存能力在主循环/子代理/提示词三面接线 - 两份专项设计文档与看板销账
This commit is contained in:
@@ -418,4 +418,12 @@ export const aiApi = {
|
||||
listTaskConversations(taskId: string): Promise<{ conversation_id: string; title: string | null; tool_name: string; requested_at: string }[]> {
|
||||
return invoke('list_task_conversations', { taskId })
|
||||
},
|
||||
|
||||
/**
|
||||
* 脉络卡:published 知识按 source_project 聚合(每项目取复用最高 perProject 条)。
|
||||
* 纯读侧;用户点「带入上下文」才经正常发送路径显式注入,不触碰 L3 工具召回铁律。
|
||||
*/
|
||||
listContextBriefs(perProject?: number): Promise<{ source_project: string; briefs: { title: string; summary: string; source_ref: string | null; source_project: string | null; reuse_count: number }[] }[]> {
|
||||
return invoke('ai_context_briefs', { perProject: perProject ?? null })
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user