Commit Graph

107 Commits

Author SHA1 Message Date
188b5e8b53 refactor(config): support printing more information after init failed by ConfigDoc 2026-04-04 00:33:25 +08:00
ef9d177adc fix(config): correct duplicate config checking 2026-04-03 15:35:27 +08:00
5a41e02602 fixup! refactor(config): rename watching method and remove useless covariant 2026-04-02 22:59:09 +08:00
f387c36b17 refactor(config): prevent registering Configurable after watching started 2026-04-02 22:55:53 +08:00
03532d3d97 refactor(config): run init after watching started 2026-04-02 22:19:37 +08:00
f37bef57ba refactor(config): rename watching method and remove useless covariant 2026-04-02 22:12:08 +08:00
29d6546b07 feat(config): support ConfigCenter file watching and registered json reloads 2026-04-01 23:43:19 +08:00
4ae65b885e refactor(watch): support configurable directory watch depth 2026-04-01 22:15:00 +08:00
632e47ec13 feat(config): add config center and runtime path resolution 2026-04-01 20:42:45 +08:00
4f200cadfc refactor(model): move model APIs from chat to agent.model 2026-03-31 21:13:57 +08:00
e4df68ea5d refactor(chat): extract model activation into provider registry
- move ActivateModel and StreamChatMessageConsumer into api.chat
- replace direct OpenAI runtime construction with ModelRuntimeRegistry
- add provider config, runtime override and OpenAI-compatible provider forking
- rename OpenAiChatRuntime to OpenAiCompatibleProvider and update imports
2026-03-31 18:37:41 +08:00
81aa4b7933 feat(chat): support streaming reply in agent turn 2026-03-31 14:44:58 +08:00
1301a0f8b1 refactor(event): enrich necessary attributes in InteractionEvent.Reply 2026-03-31 10:28:27 +08:00
d70054cd9b refactor(interaction): decouple gateway IO from runtime response flow
- replace interaction adapter/input-output DTO flow with InputData and InteractionEvent
  - introduce ResponseChannel and default LogChannel for runtime response dispatch
  - let AgentGateway parse running context directly and submit turns asynchronously
  - update WebSocketGateway to emit serialized interaction events
  - simplify cognition turn initiation to fire-and-forget semantics
  - streamline running flow context source construction and runtime module execution
2026-03-30 22:46:02 +08:00
6e37ed032b refactor(context): support skip modules by adding specific moduleName into runningFlowContext 2026-03-29 22:26:10 +08:00
617daea17c refactor(context): remove legacy ContextBlock 2026-03-22 22:18:32 +08:00
21ea6a25c8 refactor(chat): remove legacy MetaMessage POJO 2026-03-22 11:02:37 +08:00
f5f64971f3 refactor(ContextBlock): return dom nodes directly 2026-03-10 14:48:14 +08:00
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
8dc7ed080b chore(build): import OpenAI dependency 2026-03-09 16:20:10 +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
5e8ef6d66f refactor(build): add kotlin-maven-plugin setup to Partner-Core and Partner-Framework poms 2026-03-08 13:30:39 +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
661dd625e3 chore(maven): move coroutines dependencies into Partner-Framework 2026-03-01 20:48:41 +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