- 开启 conditions-eval feature flag(df-workflow 默认启用) - 新增 WorkflowDagDisplay.vue 展示工作流节点/边/条件 - TaskDetail 工作流推进后自动获取并显示 DAG 结构 - 记录 2026-06-27 讨论决策到待决策.md - 记录 Inbox 设计想法到 todo.md
26 lines
924 B
TOML
26 lines
924 B
TOML
[package]
|
|
name = "df-workflow"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
# ARC-260618-01-d 条件引擎接入执行器(默认关 = 旧行为零变更,渐进开启)
|
|
#
|
|
# 关闭时(默认):DagExecutor 完全忽略 edge.condition,按拓扑层全跑,
|
|
# 与增强前行为完全一致(零行为破坏现有 HumanNode/AiNode 等所有调用方)。
|
|
# 开启时:节点收集 inputs 前,对带 condition 的入边以 source output 为 context 求值;
|
|
# 求值 false 则该前驱 input 不收集,且若该节点所有入边(含 condition)均被过滤,
|
|
# 则跳过该节点执行(保持 Pending),实现条件路由。
|
|
default = ["conditions-eval"]
|
|
conditions-eval = []
|
|
|
|
[dependencies]
|
|
df-types = { path = "../df-types" }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
futures = "0.3"
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|