everywhere.z
5c91e56bec
chore: update LiteFlow build after logging improvements
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-16 23:51:33 +08:00
everywhere.z
65a6213b72
feat(core): add generic flow event channel for streaming output
...
Introduce FlowEvent/FlowEventListener/FlowEventPublisher on the Slot so
callers can subscribe via ExecuteOption.eventListener and receive
incremental events while a chain is running. ReActAgentComponent wires
agentscope reasoning/tool_result/summary/result events into this channel
when a listener is registered, keeping the non-listener path as a plain
blocking call.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-13 16:24:10 +08:00
everywhere.z
dc5d328941
docs(agent): describe react agent skills
2026-05-10 22:23:13 +08:00
everywhere.z
e950cc38f2
feat(agent): add skills configuration
2026-05-10 16:24:15 +08:00
everywhere.z
ccebedc77e
docs(agent): update react-agent guide to dual-key (conversationId + agentKey) model
...
Reflect the session management refactor from single sessionId to
(conversationId, agentKey) dual-key: update all hook signatures to
parameterless style with ctx(), add curl/wget to shell whitelist,
and remove obsolete SlotAttachmentTest.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-10 15:57:51 +08:00
everywhere.z
a5735c3f4d
feat(core): add ExecuteOption and ConversationIdGenerator to FlowExecutor
...
新增 ExecuteOption 统一入口,支持 requestId、conversationId、上下文等维度的自由组合,
避免 execute2RespWithXxx 系列方法命名爆炸。同时新增 ConversationIdGenerator 为
agent 对话连续性提供 NanoId 格式的 conversationId 生成能力。LiteflowResponse 增加
conversationId 字段用于返回给调用方。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-09 15:01:19 +08:00
everywhere.z
4c1218f6cd
feat(core): add generic attachment API to Slot
...
为后续 per-invocation 插件上下文挂载提供通用 KV 入口。
复用已有 metaDataMap,包含 set/get/has/remove 四个 public 方法。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-09 14:16:39 +08:00
everywhere.z
c31e279560
refactor(agent): rename WORKSPACE_FILE to LOCAL_FILE for memory storage mode
...
该模式的 .agent-session 目录实际位于 workspace.root 之下、与各 session
的 workspace 子目录平级而非嵌套,旧名 WORKSPACE_FILE 容易误导为"存储在
某个 workspace 内部"。LOCAL_FILE 与 REDIS、MYSQL 同层级地描述后端类型,
更准确地反映实际行为。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-07 00:11:21 +08:00
everywhere.z
7fe12ed624
chore(agent): 补全 agent 配置 javadoc 与 spring 配置元数据,精简测试模块 pom
...
- 为 agent 配置类(AgentConfig/SessionConfig/ShellConfig/MemoryStorageConfig 等)补充中文 javadoc
- 在 spring-boot-starter / spring-boot4-starter 的 additional-spring-configuration-metadata.json 中补全 liteflow.agent.* 配置项,提供 IDE 配置提示
- 合并 testcase-el 中 react-agent 与 springboot4 的 profile,移除子模块冗余的 maven-compiler/surefire 配置
- 移除已不再使用的 AgentConfig / LiteflowConfigAgentField / Boot4AutoConfiguration 测试文件
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-06 23:25:07 +08:00
everywhere.z
bda0d81719
fix(parser): 本地路径正则支持 + 字符
...
修复当项目路径包含 + 号(如 LiteFlow-JDK21+)时,FlowParserProvider
无法识别本地配置文件路径并抛出 ErrorSupportPathException 的问题。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-01 00:40:00 +08:00
everywhere.z
192579ee8e
feat(core): 支持无 chain 配置启动
...
放宽 DTD 与 JSON 解析对 chain 节点的强校验,允许 ruleSource 下未定义任何 chain 时正常启动;新增 NoChainELSpringbootTest 用例。
2026-04-30 14:27:49 +08:00
铂赛东
2feb4b636c
!355 bug 修复 PercentageOfParallelExecutor 并行任务执行时可能出现的阻塞问题
...
Merge pull request !355 from luoyi/issues/IIYPFL
2026-04-30 05:49:01 +00:00
everywhere.z
9612800b4b
feat(react-agent): log ReAct reason/act events with sessionId and config toggle
...
Subscribe to agentscope Pre/PostReasoningEvent, Pre/PostActingEvent
and ErrorEvent through a new ReActLoggingHook, surfacing the agent's
internal think-act loop in standard logs. Each line carries the
LiteFlow agent sessionId so concurrent sessions stay distinguishable.
ReActAgentComponent attaches the hook automatically alongside any
user-provided hooks. Toggle via liteflow.agent.logging.react-enabled
(default true) or override enableReActLogging() per component.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-30 11:49:27 +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
94fc5189d6
feat(core): expose agent field on LiteflowConfig
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-19 19:11:24 +08:00
everywhere.z
b64706c26a
feat(core): add AgentConfig POJOs for ReAct agent configuration
...
Introduce AgentConfig and nested POJOs (WorkspaceConfig, SessionConfig,
ShellConfig, DefaultsConfig, PlatformCredential, ShellMode) as pure data
holders with sensible defaults and zero third-party dependencies. Add
JUnit 5 test dependency and surefire override to liteflow-core for TDD.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-04-19 19:08:23 +08:00
luoyi
6360095758
bug 修复 PercentageOfParallelExecutor 并行任务执行时可能出现的阻塞问题
2026-04-15 20:42:53 +08:00
everywhere.z
106943a557
bug #IDP551 validateWithEx这个方法在校验有子流程的EL时会报NPE
2026-02-05 18:30:22 +08:00
everywhere.z
5fb9db4bd0
bug #IDO5JK java脚本不能热更新
2026-02-02 17:50:08 +08:00
everywhere.z
f289045046
bug #ID7OTO bind对象为chain时,chain的定义顺序影响了bind数据的获取
...
重写了整个底层的parser逻辑
2026-01-21 15:52:21 +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
d5f438ff19
bug #IDCBQ2 liteflowV2.15.x bindData出现数据错乱,会固定使用第一次执行的chain的相同的bindData
2025-12-24 18:27:20 +08:00
everywhere.z
1456d26c8c
Revert "bug #IDB16L 异步循环中到一个chain,chain里面有when,会报错"
...
This reverts commit 4132af8f5e .
2025-12-05 18:33:58 +08:00
everywhere.z
4132af8f5e
bug #IDB16L 异步循环中到一个chain,chain里面有when,会报错
2025-12-05 18:11:29 +08:00
everywhere.z
6206697c82
enhancement #ID8XF9 对QLExpress4的支持
2025-12-05 17:26:45 +08:00
everywhere.z
3b43111f18
enhancement #ID8XF9 对QLExpress4的支持
2025-12-02 00:35:29 +08:00
everywhere.z
8fe1d41c21
enhancement #ID8XF9 对QLExpress4的支持
2025-11-29 14:45:55 +08:00
everywhere.z
36191969d4
enhancement #ID8XF9 对QLExpress4的支持
2025-11-29 01:27:50 +08:00
everywhere.z
e0c6f39a01
enhancement #ID8XF9 对QLExpress4的支持
2025-11-28 19:40:05 +08:00
everywhere.z
195bf5c1a5
enhancement #ID8XF9 对QLExpress4的支持
2025-11-27 01:42:43 +08:00
铂赛东
e43986fc02
!347 bug:#ID22LR 当 Chain 和 组件 同名时 栈溢出
...
Merge pull request !347 from jay-li/dev
2025-10-17 06:14:16 +00:00
everywhere.z
d09c8381ee
修正错误的文件头@since
2025-10-17 12:39:01 +08:00
铂赛东
38a749c96f
!342 enhancement #ICU4Z3 优化 nodeid 不合法报错提示,增加错误引导
...
Merge pull request !342 from 与或非/issues/ICU4Z3
2025-10-17 04:33:24 +00:00
everywhere.z
dc789e4a69
enhancement #ID2CQG Java9~Java25超时底层机制改进,采用原生方法
2025-10-17 12:24:34 +08: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
f9527964d3
enhancement #ID13E8 优化execute2RespWithEL方法,去除每次检查规则的逻辑
2025-10-09 18:00:18 +08:00
everywhere.z
0068406dbe
bug #ICZ1N3 解决2.15.0中把chain作为子流程传入时,子流程里获取不了requestData的问题
2025-09-22 00:45:18 +08:00
everywhere.z
c68086a63f
bug #ICZ1M1 解决在2.15.0中,获取Annotation缺失了缓存导致的性能微小损失问题
2025-09-22 00:06:02 +08:00
everywhere.z
cd369b3c39
bug #ICWR6Q 解决在PARSE_ONE_ON_FIRST_EXEC模式下多次build chain时的tag不正确问题
2025-09-07 20:37:48 +08:00
everywhere.z
40e0a45501
feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程
2025-08-31 22:38:03 +08:00
everywhere.z
c899eb101b
适配新的中央仓库发布方式,更改maven的整体结构
2025-08-30 23:32:05 +08:00
gaibu
e8e1f8e237
enhancement #ICU4Z3 优化 nodeid 不合法报错提示,增加错误引导
2025-08-27 21:26:56 +08:00
gaibu
1d300131bb
enhancement #ICU4Z3 优化 nodeid 不合法报错提示,增加错误引导
2025-08-27 21:24:23 +08:00
everywhere.z
9538c12a25
feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程
2025-08-27 15:09:04 +08:00
everywhere.z
269bc22ea5
feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程
2025-08-27 14:33:27 +08:00
everywhere.z
4d9152ac09
优化代码
2025-08-26 11:57:03 +08:00
everywhere.z
a52a1d1616
feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程
2025-08-26 11:23:46 +08:00