Commit Graph

203 Commits

Author SHA1 Message Date
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
3348557352 refactor(Action): backfill ExecutableAction result on success/failure and add immediate-action completion watcher self-talk 2026-03-08 15:42:25 +08:00
4bb83f86a8 refactor(ActionPlanner): switch pending confirmation flow to PendingActionRecord with decision parsing and reminder/expire lifecycle scheduling 2026-03-08 14:40:53 +08:00
b256af0f58 refactor(Action): remove @JvmOverloads from SchedulableExecutableAction constructor 2026-03-08 13:32:08 +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
5e8ef6d66f refactor(build): add kotlin-maven-plugin setup to Partner-Core and Partner-Framework poms 2026-03-08 13:30:39 +08:00
65690c65f8 refactor(MemoryUpdater): move auto-update to ActionScheduler cron and use Cognation snapshot/drain APIs for thread-safe memory refresh 2026-03-08 13:11:20 +08:00
7df0f208b5 refactor(Module): rename PostRunningAbstractAgentModuleAbstract to PostRunningAgentModule and update updater inheritance 2026-03-08 12:04:29 +08:00
4484d4a06b refactor(Context): remove finished state from flow/module context and drop MemoryUpdater finish guard 2026-03-08 11:47:44 +08:00
25ddc6f181 refactor(ActionExecutor): enforce action timeout with cancellation and move timeout defaults into Action base model 2026-03-07 20:15:41 +08:00
d905c4ace1 refactor(Action): add @JvmOverloads constructors to SchedulableExecutableAction and StateAction 2026-03-07 18:52:36 +08:00
c3c4c88c9a refactor(ActionScheduler): add timeout attribute to Schedulable, and support reschedule Schedulable content when it's fished in ActionScheduler 2026-03-07 17:05:07 +08:00
ae1b7fc033 refactor(ActionScheduler): support receiving single data that implements Schedulable and Action in ActionScheduler 2026-03-07 15:30:25 +08:00
d9e384960f refactor(action): remove ActionExecutorInput 2026-03-07 15:15:08 +08:00
2baa3971a8 refactor(action): support executing any type of Actions with virtual thread in ActionExecutor, ActionScheduler will send actionData to executor directly 2026-03-07 15:05:51 +08:00
4ee7a52f42 refactor(Action): make attribute status available for all implementations of Action, StateAction needs to present its trigger status also 2026-03-07 14:29:11 +08:00
28400545a7 chore(ActionExecutor): remove unused Void return value 2026-03-07 14:20:07 +08:00
1ce2038ab8 fix(Communication): fix Message appending logic and add refactor todo 2026-03-07 14:01:33 +08:00
0b63ec8523 fix(MemoryUpdater): fix message cleaning logic, and add refactor todo in updater 2026-03-07 13:53:34 +08:00
6919fe656e refactor(module): rename CoreModel into CommunicationProducer 2026-03-06 15:21:36 +08:00
df25f488fa refactor(action): remove ActionDispatcher and related empty directory 2026-03-06 15:06:32 +08:00
036fd9e051 refactor(ActionPlanner): support schedule or execute actions(or
confirmed actions) immediately
2026-03-06 14:58:13 +08:00
383a49b855 refactor(ActionExecutor): refactor into Standalone module 2026-03-06 14:49:01 +08:00
7e88b8b926 chore(action): add refactor todos in ActionScheduler 2026-03-06 14:28:52 +08:00
c6c8a83dad chore(test): remove unused non-null test for ActionScheduler 2026-03-06 14:17:04 +08:00
6635d7aca2 refactor(Action): add attribute enabled status into Action, and update related collectToTrigger logic in ActionScheduler 2026-03-06 14:15:51 +08:00
facc49a799 refactor(ActionScheduler): rename entry method into schedule 2026-03-06 14:04:15 +08:00
40bd2deeba feat(cognation): add initiateTurn to execute input via AgentRuntime.submit 2026-03-05 16:49:17 +08:00
839f19f15b refactor(context): add PartnerRunningFlowContext factories for user/self source and update adapter creation 2026-03-04 20:02:56 +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
8a9892f039 chore(core): add TODO to use RunningFlowContext for message timestamp in CoreModel 2026-03-04 13:52:19 +08:00
06f5ae9aac refactor(core): remove global running flow context map and exception context reference 2026-03-04 13:11:42 +08:00
cf25fce09e refactor(framework): remove coordinated capability mechanism and related manager/annotations 2026-03-02 20:34:30 +08:00
868b17b56b refactor(core): use chat message user IDs for single-user check in
`MemorySelector`
2026-03-02 20:34:16 +08:00
fe8031d9ac fix(core): remove CoordinatedManager log tag from memory insert logs 2026-03-02 20:31:22 +08:00
6920bc6130 refactor(core): remove redundant @NotNull type-use annotation from async resource spec builder 2026-03-01 21:34:56 +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
86b7e5c492 refactor(framework): rename agent.factory.module to agent.factory.component and update related imports 2026-02-21 17:57:29 +08:00
b2d44668da refactor(framework): rename AgentConfigManager to AgentConfigLoader and update agent/core wiring 2026-02-21 16:51:59 +08:00
87c34cc699 refactor(modules): convert ActionScheduler to Standalone and simplify async execute signature 2026-02-20 17:29:26 +08:00
bbace28d7a refactor(project): normalize formatting and reorder class members across modules 2026-02-20 17:22:54 +08:00
c47d2b2285 refactor(modules): refactor modules base class into AbstractAgentModule and remove unused @slf4j annotation 2026-02-20 17:17:49 +08:00
e00441faa8 refactor(framework): make AbstractAgentModule sealed with class-based module contracts and streamline ActivateModel model access 2026-02-20 16:12:35 +08:00
e57c03e213 refactor(framework): migrate module abstracts/ActivateModel to Kotlin and introduce shared model/context structures 2026-02-20 15:00:14 +08:00
c30ec35f85 refactor(framework): rename @AgentModule to @AgentRunningModule 2026-02-19 21:39:59 +08:00
c7f113b59a refactor(framework): rename AgentRunningModule/SubModule to AbstractAgent* and migrate module inheritance usage 2026-02-19 15:04:30 +08:00
18b2bb8812 refactor(framework): reorganize Module abstracts location 2026-02-19 14:09:51 +08:00
7fccea5b91 chore(agent): add todo for PartnerOutputData 2026-02-19 14:07:39 +08:00