- template_loader.rs: YAML→DagDef加载器+校验(空节点/未知类型/依赖环/边引用) - GitNode: 分支/checkout/commit/merge/push/status/log(git CLI封装) - HTTPNode: GET/POST/PUT/DELETE(reqwest,30s超时) - NotifyNode: 桌面通知(日志)+ Webhook(飞书/钉钉/自定义) - 8个模板加载器测试+37个节点测试全绿
27 lines
943 B
TOML
27 lines
943 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 }
|
|
serde_yaml = "0.9"
|