Commit Graph

136 Commits

Author SHA1 Message Date
1cd6ba11bb refactor(CommunicationProducer): split context and supply message assembly 2026-03-10 14:31:13 +08:00
5db533f823 refactor(chat): use Message.Character enum for roles and remove unused prompt helpers 2026-03-09 22:12:35 +08:00
1b2ccaee9c refactor(chat): replace custom client with OpenAI runtime and remove file-based module prompt loading logic, prompt will be provided by each module 2026-03-09 21:51:07 +08:00
ec429db4da refactor(Core): normalize preprocess user resolution from source/additional info, add Kotlin-safe AgentConfigLoader getters, and update async summary writes by index 2026-03-08 13:31:53 +08:00
145aeed600 refactor(Module): remove unused meta component POJOs from agent factory 2026-03-08 13:31:02 +08:00
28a1bf8d1f refactor(chat): migrate Message from Java POJO to Kotlin data class 2026-03-06 21:04:58 +08:00
77059f84c4 将 .java 重命名为 .kt 2026-03-06 21:04:58 +08:00
d3eb5e8ee3 refactor(config): migrate ModelConfig from Java POJO to Kotlin data class 2026-03-06 17:01:03 +08:00
01cfc04dc7 将 .java 重命名为 .kt 2026-03-06 17:01:03 +08:00
da1abbdc88 fix(AgentRuntime): repair exception handling logic in method executeTurn 2026-03-04 17:23:14 +08:00
e6a071fc93 refactor(context): migrate running flow context to source/status/info model, and update related modules 2026-03-04 17:21:34 +08:00
56688785ba 将 .java 重命名为 .kt 2026-03-04 17:21:34 +08:00
f8d90fbcee refactor(framework): make AgentRuntime.submit blocking and remove runBlocking from AgentInteractionAdapter 2026-03-03 21:23:52 +08:00
b02f29b1b1 refactor(framework): extract interaction execution into AgentRuntime and delegate from AgentInteractionAdapter 2026-03-03 21:14:10 +08:00
f1848fece4 refactor(framework): cache running modules in AgentInteractionAdapter and add refresh method 2026-03-03 20:29:23 +08:00
85cc5cace8 chore(framework): add message queue todo in AgentGateway 2026-03-03 11:48:59 +08:00
d462f02960 refactor(framework): mv interaction in-out flow into AgentInteractionAdapter 2026-03-03 11:48:08 +08:00
5ae8b713d7 refactor(framework): correct InteractionAdapter, support loading latest modules while running 2026-03-03 11:26:36 +08:00
cf25fce09e refactor(framework): remove coordinated capability mechanism and related manager/annotations 2026-03-02 20:34:30 +08:00
5847b38f2b refactor(framework): remove obsolete lifecycle TODO comment in AgentModule 2026-03-01 21:35:30 +08:00
fa9512db3b refactor(framework): migrate AgentInteractionAdapter flow execution to Kotlin coroutines and remove AgentRunningFlow 2026-03-01 21:33:31 +08:00
51d51937ed 将 .java 重命名为 .kt 2026-03-01 21:33:31 +08:00
23026d6dc8 refactor(framework): move RunningFlowContext from flow.entity to flow package 2026-03-01 21:31:04 +08:00
33fdc61eff refactor(framework): remove module enabled-status loading and persistence from config loaders 2026-02-28 21:19:58 +08:00
0870d7bc0e fix(framework): fail module registration on duplicate moduleName in AgentContext 2026-02-28 21:05:12 +08:00
baf0b05e60 doc(framework): add KDoc for factory responsibilities and agent registration lifecycle 2026-02-28 20:44:40 +08:00
51efb55259 refactor(framework): rename ComponentInitHookExecuteFactory to ComponentInitHookExecutorFactory 2026-02-28 20:38:29 +08:00
d5095359db refactor(framework): validate and collect @Shutdown hooks during agent
registration
2026-02-28 20:38:09 +08:00
1abfc729f8 fix(framework): reject @Init methods with parameters during component validation 2026-02-28 20:25:33 +08:00
528e88f613 refactor(framework): scope shutdown-only Instances and computeInstances helpers inside installShutdownHook 2026-02-27 00:34:07 +08:00
333d087979 refactor(framework): register and execute ordered @Shutdown hooks in AgentContext via JVM shutdown hook 2026-02-27 00:28:14 +08:00
a863b43563 refactor(framework): register capability core instances per capability and store cores in AgentContext 2026-02-26 22:27:43 +08:00
dde01a6253 fix(framework): reject additional components missing @AgentComponent annotation 2026-02-26 22:18:36 +08:00
fa50f4aeb7 refactor(framework): store AgentContext additional components by type and update init/injection target collection 2026-02-26 22:17:41 +08:00
b87ede0e8b refactor(framework): add @Shutdown annotation to AgentContext for ordered shutdown hook execution 2026-02-26 22:08:33 +08:00
010860de8d refactor(framework): migrate AgentRegisterFactory to Kotlin object and preserve agent registration flow 2026-02-23 23:34:54 +08:00
379cabe042 refactor(framework): replace ModuleInitHookExecuteFactory with Kotlin ComponentInitHookExecuteFactory and drive @Init execution from validated component context 2026-02-23 23:14:45 +08:00
1b164cedf1 refactor(framework): migrate capability injection to Kotlin CapabilityInjectorFactory and inject capability instances directly into components 2026-02-23 22:59:47 +08:00
7ee698768c refactor(framework): simplify AgentContext capability storage to a single implementation per capability 2026-02-23 22:59:20 +08:00
2e29e5ca7f refactor(framework): migrate CapabilityRegisterFactory to Kotlin and rebuild capability registration from validated context 2026-02-23 22:32:32 +08:00
e0a62053b5 refactor(framework): migrate AgentRegisterContext to Kotlin and store validated capability scan results in context 2026-02-23 22:12:56 +08:00
f13e45327d refactor(framework): remove legacy CapabilityFactoryContext and ModuleFactoryContext from registration flow 2026-02-23 21:58:25 +08:00
f56ff7d719 refactor(framework): rework AgentContext capability storage to group implementations by capability and include method metadata 2026-02-23 21:53:37 +08:00
fd9b376afa refactor(framework): replace CapabilityCheckFactory with Kotlin CapabilityAnnotationValidatorFactory and update capability validation flow 2026-02-23 21:41:38 +08:00
542de84640 refactor(framework): add ComponentInjectorFactory for module/additional component injection before capability registration 2026-02-23 21:16:04 +08:00
2cdeaa1c30 refactor(framework): make AgentContext capabilities non-null and infer capability type on registration 2026-02-21 22:38:56 +08:00
833fe4deb3 refactor(framework): add component annotation validation before component registration 2026-02-21 19:27:17 +08:00
3c26e77b76 refactor(framework): rename AgentComponentRegisterFactory to ComponentRegisterFactory 2026-02-21 19:19:04 +08:00
2825f7f1de refactor(framework): replace legacy module check/register/proxy flow with unified AgentComponentRegisterFactory 2026-02-21 18:56:40 +08:00
86b7e5c492 refactor(framework): rename agent.factory.module to agent.factory.component and update related imports 2026-02-21 17:57:29 +08:00