workflow_diff_preview
Preview line-level differences between a workflow document and the current trunk version, showing unified-style changes and added/removed line counts before saving, ensuring safe, read-only validation.
Instructions
对比传入文档与 trunk 当前的行级差异(unified 风格 + 增删行数)——只读零副作用,落库前先预览。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | 操作者 | |
| data_dir | No | 数据根目录(缺省走 getDataDir 解析链) | |
| workflow | Yes | 待对比 workflow 文档(与 workflow_create 同构) | |
| workflow_id | Yes | workflow 标识 |