| 26 | | "index" | "raw" | "thoughts" | "unknown"; |
| 27 | |
| 28 | export interface FlowNodeData { |
| 29 | key: string; |
| 30 | kind: NodeKind; |
| 31 | fileType: FileType; |
| 32 | title: string; |
| 33 | subtitle?: string; |
| 34 | /** thought 节点的正文 / file 节点的 args / 等等——用于详情面板 */ |
| 35 | body?: string; |
| 36 | /** thought 节点的 TYPE(INTENT/READ/...)——用于色彩 */ |
| 37 | thoughtType?: string; |
| 38 | path?: string; |
| 39 | anchor?: string; |
| 40 | isBlock?: boolean; |
| 41 | hitCount: number; |
| 42 | status: NodeStatus; |
| 43 | durationMs?: number; |
| 44 | order: number; |
| 45 | toolCallIds: string[]; |
| 46 | /** file 节点专属:第一次调用的 args + result preview(详情面板用) */ |
| 47 | toolName?: string; |
| 48 | toolArgs?: Record<string, unknown>; |
| 49 | resultPreview?: string; |
| 50 | /** mode 自动增强(audit anchor 反查 / explore BFS)—— UI 加 "强制" 标识 */ |
| 51 | synthetic?: boolean; |
| 52 | [k: string]: unknown; |
| 53 | } |
| 54 | |
| 55 | export interface FlowEdgeData { |
| 56 | seq: number; |
nothing calls this directly
no outgoing calls
no test coverage detected