Skip to content

Feature/groovy script architecture#44

Merged
xlorne merged 6 commits into0226from
feature/groovy-script-architecture
Feb 28, 2026
Merged

Feature/groovy script architecture#44
xlorne merged 6 commits into0226from
feature/groovy-script-architecture

Conversation

@xlorne
Copy link
Contributor

@xlorne xlorne commented Feb 28, 2026

No description provided.

xlorne and others added 6 commits February 28, 2026 14:52
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 使用 useState 替代 useRef 避免 React 警告
- 通过参数传递 onChange 回调而非在渲染时赋值
- 修复预览区显示"(自定义配置)"而非实际内容的问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 新增 BaseGroovyRequest 基类,统一获取 FlowSession 的方式
- 新增 TitleGroovyRequest、ConditionGroovyRequest、OperatorLoadGroovyRequest
- 删除旧的 TitleGroovyRequest 类(从 runtime 目录移至 request 目录)
- 修改脚本节点使用新的 Request 类

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 新增 Groovy 脚本类型定义 (groovy-script.ts)
- 新增脚本服务层 (groovy-syntax-converter, groovy-variable-service)
- 新增脚本适配器 (TitleAdapter 等)
- 新增测试文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 删除旧的 VariablePicker 组件
- 更新 package.json 依赖配置

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- 新增前端导入规范:使用 @/ 路径别名
- 新增面向对象开发规范:Service/工具类使用 class 定义

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@xlorne xlorne merged commit d4f873d into 0226 Feb 28, 2026
@xlorne xlorne deleted the feature/groovy-script-architecture branch March 2, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant