716 Commits

Author SHA1 Message Date
everywhere.z
ea3a8315e4 test(springboot4): 新增 liteflow-testcase-el-springboot4 测试模块
仿照 liteflow-testcase-el-springboot 模块,将全部测试用例迁移到 Spring Boot 4 / Spring 7 环境:
- 复制全部测试源码与资源;将 javax.annotation.Resource 迁移到 jakarta.annotation.Resource
- pom 中显式覆盖父 pom 锁定的 Spring 5/SB 2/旧 logback/旧 slf4j/旧 jakarta-annotation 1.3.5(仍为 javax 包)等版本
- 在 liteflow-testcase-el 父 pom 中通过 JDK 17+ profile 接入新模块

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 23:54:01 +08:00
everywhere.z
192579ee8e feat(core): 支持无 chain 配置启动
放宽 DTD 与 JSON 解析对 chain 节点的强校验,允许 ruleSource 下未定义任何 chain 时正常启动;新增 NoChainELSpringbootTest 用例。
2026-04-30 14:27:49 +08:00
everywhere.z
47095ddd40 test(react-agent): consolidate test suite to a Gemini integration test
Remove the per-platform model/factory/entry tests and the unit-style
tool/session/component tests; keep a single Spring Boot integration
test that exercises the full ReAct chain against Gemini.

The pruned tests were tightly coupled to the older ModelSpec/Builder
APIs and largely duplicated coverage now provided by the integration
flow plus the new logging hook visibility.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 11:49:39 +08:00
everywhere.z
61824d6956 feat(react-agent): add session factory infrastructure, memory storage config, and integration tests
- Add MemoryStorageConfig/MemoryStorageMode and per-backend configs (Redis, MySQL, workspace file)
- Add AgentSessionFactoryRegistry with NONE, JVM, WORKSPACE_FILE, REDIS, MYSQL implementations
- Add integration test suite with EL-orchestrated Spring Boot tests
- Remove per-module READMEs in favor of unified guide
- Update POMs, CLAUDE.md, AGENTS.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 19:12:29 +08:00
everywhere.z
c612dfaf72 test(react-agent): migrate test cmps to ModelSpec API
Replaces buildModel(ctx) overrides with model(ctx) returning
DeepSeek/OpenAI/Anthropic/Gemini/DashScope spec instances.
Also updates TestAgent inner classes in ReActAgentComponentTest
and MemoryStoragePersistenceTest.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:30:21 +08:00
everywhere.z
055e7399e1 feat(react-agent-dashscope): add DashScope entry and DashScopeSpec
DashScope.of(modelName) returns DashScopeSpec with a thinking
sub-builder using DashScope's native budget term.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:22:39 +08:00
everywhere.z
64d5404b2c feat(react-agent-gemini): add Gemini entry and GeminiSpec
Gemini.of(modelName) returns GeminiSpec exposing a thinking sub-builder
that supports both Gemini 2.5's level() and the legacy budget() form.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:22:33 +08:00
everywhere.z
994cbd2a25 feat(react-agent-anthropic): add Anthropic entry and AnthropicSpec
Anthropic.of(modelName) and AnthropicCompatible.custom(configKey,
modelName) return AnthropicSpec, with a thinking sub-builder using
Anthropic's native budget/enabled terms.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:22:27 +08:00
everywhere.z
679dc33ca2 feat(react-agent-openai): add OpenAI-compatible vendor entries
DeepSeek/Kimi/GLM/Minimax static entries with default baseUrls,
plus OpenAICompatible.custom() fallback for arbitrary vendors.
All read credentials from liteflow.agent.openai-compatible.<key>.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:15:36 +08:00
everywhere.z
5cc43acff2 feat(react-agent-openai): add OpenAI entry and OpenAISpec
OpenAI.of(modelName) returns an OpenAISpec exposing reasoningEffort,
frequencyPenalty, and presencePenalty in addition to the common
ModelSpec setters; resolve() reads liteflow.agent.openai credential.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:11:54 +08:00
everywhere.z
b40ec52632 feat(react-agent-core): add CredentialResolver helper
Centralizes credential lookup with consistent AgentConfigException
messages that point at the relevant liteflow.agent.* config path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 18:06:46 +08:00
everywhere.z
4abb4d1eb4 fix(react-agent-core): widen ModelSpec.resolve to public
resolve() is the framework SPI: ReActAgentComponent (in a different
package) needs to call spec.resolve(cfg), which protected access
does not permit. The test's TestSpec override is widened in lockstep
since Java forbids narrowing visibility on override.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 17:54:26 +08:00
everywhere.z
c417620f2c feat(react-agent-core): introduce ModelSpec base class
Vendor-neutral model descriptor with common fluent setters
(temperature/topP/topK/maxTokens/seed/stream/cacheControl) and an
abstract resolve(AgentConfig) SPI that provider modules implement.
2026-04-29 17:43:38 +08:00
everywhere.z
b63bc1a7f4 docs(react-agent): add design spec for ModelSpec API redesign
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-29 17:28:23 +08:00
DaleLee
c6a1628092 fix #IAY66T 修复JavaxPro插件相同脚本问题 2026-02-01 20:02:16 +08:00
everywhere.z
2faa6c58d9 对大容量路由脚本增加测试用例 2026-01-22 10:54:04 +08:00
everywhere.z
d2bcf58f96 bug #ID7OTO bind对象为chain时,chain的定义顺序影响了bind数据的获取
重写了整个底层的parser逻辑
2026-01-20 15:33:15 +08:00
everywhere.z
d17493095f bug #ID7OTO bind对象为chain时,chain的定义顺序影响了bind数据的获取
重写了整个底层的parser逻辑
2026-01-20 11:22:41 +08:00
everywhere.z
0f2c88b657 feature #IDGGGC Java脚本启动时批量编译,加快启动速度 2025-12-29 11:38:22 +08:00
everywhere.z
415334c2cd enhancement #ID8XF9 对QLExpress4的支持 2025-11-29 01:29:06 +08:00
everywhere.z
ad9906584a enhancement #ID8XF9 对QLExpress4的支持 2025-11-28 16:56:51 +08:00
everywhere.z
195bf5c1a5 enhancement #ID8XF9 对QLExpress4的支持 2025-11-27 01:42:43 +08:00
everywhere.z
2d063592b2 增加关于声明式组件继承父类的测试用例 2025-11-05 19:34:15 +08:00
everywhere.z
ff89a9aa20 增加关于声明式组件继承父类的测试用例 2025-11-05 19:15:12 +08:00
铂赛东
e43986fc02 !347 bug:#ID22LR 当 Chain 和 组件 同名时 栈溢出
Merge pull request !347 from jay-li/dev
2025-10-17 06:14:16 +00:00
铂赛东
38a749c96f !342 enhancement #ICU4Z3 优化 nodeid 不合法报错提示,增加错误引导
Merge pull request !342 from 与或非/issues/ICU4Z3
2025-10-17 04:33:24 +00:00
jay li
82ec75e7e3 bug:#ID22LR 当 Chain 和 组件 同名时 栈溢出 2025-10-16 17:04:59 +08:00
everywhere.z
36be15327a enhancement #ID1GUK 使WHILE表达式支持WHILE(true)这种表达方式 2025-10-12 14:29:13 +08:00
everywhere.z
0068406dbe bug #ICZ1N3 解决2.15.0中把chain作为子流程传入时,子流程里获取不了requestData的问题 2025-09-22 00:45:18 +08:00
everywhere.z
a6fd30fd4a 增加tag的测试用例 2025-09-05 12:44:16 +08:00
everywhere.z
11695222b9 增加tag的测试用例 2025-09-05 11:59:07 +08:00
everywhere.z
1976bb9564 增加tag的测试用例 2025-09-05 11:12:54 +08:00
everywhere.z
9881cf2568 增加tag的测试用例 2025-09-05 11:12:42 +08:00
everywhere.z
da98bcd6b2 增加tag的测试用例 2025-09-05 11:05:24 +08:00
everywhere.z
c899eb101b 适配新的中央仓库发布方式,更改maven的整体结构 2025-08-30 23:32:05 +08:00
everywhere.z
739834dd57 修改发布中央仓库配置 2025-08-29 17:12:38 +08:00
gaibu
1d300131bb enhancement #ICU4Z3 优化 nodeid 不合法报错提示,增加错误引导 2025-08-27 21:24:23 +08:00
everywhere.z
e13dac3480 优化代码 2025-08-26 16:57:22 +08:00
everywhere.z
d6c030d625 优化测试用例代码 2025-08-26 12:00:25 +08:00
everywhere.z
a52a1d1616 feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程 2025-08-26 11:23:46 +08:00
铂赛东
78a32d55aa !337 feature #ICM6TX 增加 WHEN 并行策略执行逻辑,增加 percentage 关键字
Merge pull request !337 from luoyi/issues/ICM6TX
2025-08-21 11:09:27 +00:00
everywhere.z
3333f25182 enhancement #ICR1PL AND关键字的逻辑和语意明确点 2025-08-21 00:00:27 +08:00
everywhere.z
fba92dace1 enhancement #ICANTH 隐式子流程改版 2025-08-20 18:10:41 +08:00
铂赛东
7ac6799681 !338 bug #ICO23A 修复设置AbstractBeanFactory的cacheMetadata为false时LF无法正确获取rawClass的问题
Merge pull request !338 from 不许对我狗叫丶/dev
2025-08-18 06:32:26 +00:00
everywhere.z
8595a20b08 enhancement #ICO3IK 在switch节点中,希望能拿到target的列表信息 2025-08-18 12:12:52 +08:00
everywhere.z
ddd0bdd2ad 优化注释测试用例 2025-08-04 12:28:33 +08:00
everywhere.z
c67d81afeb 优化某些测试用例 2025-07-28 10:31:21 +08:00
luoyi
5dfb152e95 Merge branch 'dev' of https://gitee.com/dromara/liteFlow into issues/ICM6TX 2025-07-27 15:17:10 +08:00
DaleLee
e31d3c97d6 feature #IAY66T 修复单测 2025-07-27 10:51:05 +08:00
DaleLee
9cbfc96574 feature #IAY66T 修复单测 2025-07-27 09:42:13 +08:00