Commit Graph

16 Commits

Author SHA1 Message Date
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
everywhere.z
efe384890a docs(agent): add README for react-agent parent and sub-modules
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 20:08:14 +08:00
everywhere.z
404f55c94e test(agent-core): add ReActAgentComponent end-to-end test with FakeEchoModel
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:56:48 +08:00
everywhere.z
17d5deefc7 feat(agent-core): implement ReActAgentComponent with final process()
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:52:57 +08:00
everywhere.z
4f9a4cdca6 feat(agent-core): add ManagedShellCommandTool with whitelist/blacklist policy
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:41:56 +08:00
everywhere.z
3b4c283ae4 feat(agent-core): add WorkspaceFileTools with path traversal guard
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:41:48 +08:00
everywhere.z
7740bab36d fix(agent-core): remove duplicate POJOs from core module
The AgentConfig/SessionConfig/WorkspaceConfig POJOs belong in
liteflow-core, not liteflow-react-agent-core.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:37:06 +08:00
everywhere.z
c9bcc4f1b1 feat(agent-core): add AgentSessionManager with LRU eviction and idle cleanup
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:36:03 +08:00
everywhere.z
b5920b0363 build: enable surefire tests in react-agent-core module
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:32:35 +08:00
everywhere.z
42a03a508f feat(agent-core): add AgentSession with reentrant lock and lastActive
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:30:30 +08:00
everywhere.z
bb5969de75 feat(agent-core): add ReActAgentContext value holder
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:30:23 +08:00
everywhere.z
4574658f56 feat(agent-core): add AgentException hierarchy
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:30:18 +08:00
everywhere.z
73c266529f build: scaffold liteflow-react-agent-core module
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 19:22:13 +08:00