Repository navigation
feat(workflow-builder): 接入共享 CLI、候选版本和画布交互 - #7901
Conversation
Coverage Report
File CoverageNo changed files found. |
|
✅ Docs preview deployed 🔗 👀 Click here to visit preview 🕒 Time: 2026-10-21 00:11:03 (UTC+8) |
|
✅ Build and publish successful - Preview fastgpt Image: 🕒 Time: 2026-10-21 00:16:04 (UTC+8) |
|
✅ Admin Preview Image Ready! 🕒 Time: 2026-10-21 00:13:06 (UTC+8) |
31da08f to
4e23a4d
Compare
|
Core 的语义文档、确定性命令和多端复用方向合理。建议处理以下问题:
补充整理:当前生成依赖 CLI 查询及 ChangeSet plan/apply,但不调用 init/import、直接 node/input/edge 修改等独立终端入口。通用 CLI 可作为独立基础能力审阅。 |
cdcf63f to
0aeb80a
Compare
修了 |
前端与画布交互(WorkflowBuilder)代码审查建议经过对前端画布与辅助生成模块(
|
核心纯逻辑模块(Workflow Core & Workflow CLI)代码优化建议经过对
|
节点与工具模板统一注入方案建议(统一 Provider 插槽,消除双轨硬编码)经过对当前节点与工具模板(
这种割裂导致 Core 引擎与业务模板强耦合、新增节点需多处同步,且增加了不必要的容器文件写入开销。建议采用**“统一由外部装配并一次性注入”**的架构方案: 核心设计思路:Everything is a TemplateProvider将“系统内置节点”与“系统工具”彻底视作等价的积木来源,Core 引擎本身不再内置硬编码任何具体节点,仅保留统一的模板提供者协议( 具体重构方案:
架构收益:
|
3c89f1f to
678e1e9
Compare
Workflow Builder 变更分析(主仓部分)基于 结论:方向认可,不拆 PR;修复下面「必须修复」后可以合入。不走 必须修复P1
P2
流控制优化
建议优化(不阻塞)
需要作者确认
已确认,无需修改
Generated by Claude Code |
d73d317 to
4c2477c
Compare
bdf8c9f to
af61d0e
Compare
…o builder integration
… update pro submodule
…test filters, and update pro submodule
…n, and bump pro submodule
Skip unavailable tool candidates while propagating service failures, and keep toolset summaries consistent with the authorized catalog. Reload history when chat parameters change during initialization, and keep observer chat ids out of the shared conversation cache. Hide full response and sandbox actions while preserving process content, and avoid assigning a generic failure to an unknown AI node.
Exercise persisted HTTP, extraction, form and tool inputs through runtime paths, and handle boolean JSON Schema branches consistently.
Keep queued and running tasks alive while allowing idle workers to release process references. Document shared pool settings, exclude deprecated IO from new nodes and capability contracts, retain legacy HTTP data, and update the Pro submodule and worker dependency lockfile.
Materialize upstream classification label keys when building localized templates for Builder and CLI. Preserve branch keys, source templates and external tool values, and extend existing locale tests to cover translated and fallback defaults.
74a9f16 to
7497904
Compare
工作流 AI 辅助构建现在通过共享的 workflow-core / workflow-cli 生成、检查并归档候选版本。用户确认预览后触发构建,再通过“应用”加载候选并替换、布局画布;最后的 version/commit 记录应用状态,候选创建本身不表示工作流已保存或发布。
主要改动:
配套 Pro PR:labring/fastgpt-pro#1177。本 PR 的 pro 子模块引用已同步到对应分支的新提交。
验证: