XFEstudio/XFEWorkflow
大规模重构:WinUI、运行时与编辑器集成
统一解决方案与构建配置(平台映射、Directory.Build.props、global.json、NuGet.Config、复制 Editor 资源、CopyWorkflowBundles 目标),并整理 ProjectReference 与发布打包流程。 全面重写 WinUI 前端与 MVVM(App、MainWindow、AppShell、MainPage 及 ViewModel),加入托盘、主题绑定、用户头像、内置浏览器宿主、节点库分组、画布↔Monaco 编辑器切换、撤销/重做、导入/导出与丰富的 UI 命令与测试钩子。 引入完整运行时与执行引擎(GraphValidator、WorkflowEngine、ExecutionContext、WorkflowTemplates)、独立 Runner 进程与 RPC(RpcPeer)、基于 Roslyn 的 CodeCompiler,以及插件管理(PluginManager/PluginLoader/CapabilityRegistry)。 实现运行协调与调度(RunCoordinator、WorkflowScheduler、RunSession)、触发器引擎、并发租约与运行历史持久化;增强存储与工作区支持(WorkspacePaths、AtomicJson、WorkflowRepository、Profile/ClientState)。 新增插件 SDK 与样例(EchoPlugin、plugin.json)、标准 manifest/打包脚本(Generate-BundledManifests、Pack-Sample、Copy-Bundles),并扩展发布脚本(Publish-Release.ps1)生成发布包与 SHA256 校验。 扩展 Space 平台(SpaceClient/SpaceStore/SpaceServer)支持插件上传、审核、发布与客户端下载;新增账号/空间/凭据管理界面与加密凭据保管(CredentialVault、SecretRedactor)。 深度集成编辑器与渲染技术:Monaco 编辑器大量语言模块、LSP/worker 适配、editor worker 与 json/css/ts 等 language worker、WebGPU 渲染管线(glyph atlas、glyph pool、pipeline、Tree‑Sitter 驱动的增量 tokenization)、文本模型与装饰/折行重构。 新增 WebView2 浏览器宿主、CodeEditor、WorkflowCanvas、TriggerEditor、TrayService、AppServices 等 UI/服务组件,并加入 UI 自动化验收(--ui-test、截图、ui-results)。 补充大量文档与合规文件(README、docs/architecture/workflows/plugins/space/acceptance、THIRD-PARTY-NOTICES、MIT 与 InputSimulator.LICENSE)、多语言本地化资源与 .gitignore 调整。 扩展测试覆盖(单元/集成/UI 验收),更新 test csproj 目标为 net10.0-windows,移除占位测试并完善 CI/验收钩子。
edace85