清理: 删除后端 ci_status 死命令与悬挂冲突类型
- ci_status.rs 单命令文件随前端 CIStatus 组件删除(get_commit_status 零消费) - types.ts 删 ConflictInfo(ConflictResolver 死组件连带,全仓零引用) - lib.rs 注册行删除随其他在途改动另行入库
This commit is contained in:
+24
-12
@@ -942,10 +942,33 @@ export interface KnowledgeEventRecord {
|
||||
timestamp: string
|
||||
}
|
||||
|
||||
/** 知识详情聚合负载(基本信息 + 全部生命线事件) */
|
||||
/** 知识关联边(阶段1 连边,双向语义) */
|
||||
export interface KnowledgeEdgeRecord {
|
||||
id: string
|
||||
src_id: string
|
||||
dst_id: string
|
||||
/** similar 强相关 | evolves 演进 | causal 因果 | merges 合并 | anchors 锚点 */
|
||||
kind: string
|
||||
weight: number
|
||||
/** llm-tag | embed-sim | co-cite | manual | tag-co-occur */
|
||||
origin: string
|
||||
created_at: string
|
||||
last_verified_at: string
|
||||
}
|
||||
|
||||
/** 关联知识条目(边 + 对端知识展开,direction: out=指出/in=指入) */
|
||||
export interface RelatedKnowledge {
|
||||
edge: KnowledgeEdgeRecord
|
||||
knowledge: KnowledgeRecord
|
||||
direction: 'out' | 'in'
|
||||
}
|
||||
|
||||
/** 知识详情聚合负载(基本信息 + 全部生命线事件 + 关联知识) */
|
||||
export interface KnowledgeDetailPayload {
|
||||
knowledge: KnowledgeRecord
|
||||
events: KnowledgeEventRecord[]
|
||||
/** 关联知识(老库/无边时为空数组) */
|
||||
related: RelatedKnowledge[]
|
||||
}
|
||||
|
||||
/** 编辑知识入参(部分更新,仅传需改字段) */
|
||||
@@ -1029,14 +1052,3 @@ export interface ConflictRecord {
|
||||
created_at: string
|
||||
resolved_at: string | null
|
||||
}
|
||||
|
||||
/** 冲突信息(AiMergeCompleted 事件载荷) */
|
||||
export interface ConflictInfo {
|
||||
id: string
|
||||
file_path: string
|
||||
conflict_type: ConflictType
|
||||
subtask_a: string | null
|
||||
subtask_b: string | null
|
||||
diff_a?: string | null
|
||||
diff_b?: string | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user