新增: AI Chat多项增强(审批去重/编辑重发/导出/实体引用/会话置顶搜索)+任务推进链df-nodes落地

This commit is contained in:
2026-06-16 12:41:13 +08:00
parent 212a927eee
commit 7d5cd4c89a
62 changed files with 4576 additions and 248 deletions

View File

@@ -61,6 +61,12 @@ pub enum WorkflowEvent {
node_id: NodeId,
error: String,
},
/// 节点执行被取消(如 HumanNode 人工审批取消:set_cancelled 后节点返回 Err,
/// 状态保 Cancelled 终态)。语义有别于 NodeFailed(失败):取消是用户主动行为,
/// 前端按取消归「取消」展示,不应归类「失败」。
NodeCancelled {
node_id: NodeId,
},
/// 工作流暂停(等待外部输入)
WorkflowPaused {
reason: String,