Commit Graph
100 Commits
Author SHA1 Message Date
slhaf 5847b38f2b refactor(framework): remove obsolete lifecycle TODO comment in AgentModule 2026-03-01 21:35:30 +08:00
slhaf 6920bc6130 refactor(core): remove redundant @NotNull type-use annotation from async resource spec builder 2026-03-01 21:34:56 +08:00
slhaf fa9512db3b refactor(framework): migrate AgentInteractionAdapter flow execution to Kotlin coroutines and remove AgentRunningFlow 2026-03-01 21:33:31 +08:00
slhaf 51d51937ed 将 .java 重命名为 .kt 2026-03-01 21:33:31 +08:00
slhaf 23026d6dc8 refactor(framework): move RunningFlowContext from flow.entity to flow package 2026-03-01 21:31:04 +08:00
slhaf 661dd625e3 chore(maven): move coroutines dependencies into Partner-Framework 2026-03-01 20:48:41 +08:00
slhaf 33fdc61eff refactor(framework): remove module enabled-status loading and persistence from config loaders 2026-02-28 21:19:58 +08:00
slhaf 0870d7bc0e fix(framework): fail module registration on duplicate moduleName in AgentContext 2026-02-28 21:05:12 +08:00
slhaf baf0b05e60 doc(framework): add KDoc for factory responsibilities and agent registration lifecycle 2026-02-28 20:44:40 +08:00
slhaf 51efb55259 refactor(framework): rename ComponentInitHookExecuteFactory to ComponentInitHookExecutorFactory 2026-02-28 20:38:29 +08:00
slhaf d5095359db refactor(framework): validate and collect @Shutdown hooks during agent
registration
2026-02-28 20:38:09 +08:00
slhaf 1abfc729f8 fix(framework): reject @Init methods with parameters during component validation 2026-02-28 20:25:33 +08:00
slhaf 528e88f613 refactor(framework): scope shutdown-only Instances and computeInstances helpers inside installShutdownHook 2026-02-27 00:34:07 +08:00
slhaf 333d087979 refactor(framework): register and execute ordered @Shutdown hooks in AgentContext via JVM shutdown hook 2026-02-27 00:28:14 +08:00
slhaf a863b43563 refactor(framework): register capability core instances per capability and store cores in AgentContext 2026-02-26 22:27:43 +08:00
slhaf dde01a6253 fix(framework): reject additional components missing @AgentComponent annotation 2026-02-26 22:18:36 +08:00
slhaf fa50f4aeb7 refactor(framework): store AgentContext additional components by type and update init/injection target collection 2026-02-26 22:17:41 +08:00
slhaf b87ede0e8b refactor(framework): add @Shutdown annotation to AgentContext for ordered shutdown hook execution 2026-02-26 22:08:33 +08:00
slhaf 010860de8d refactor(framework): migrate AgentRegisterFactory to Kotlin object and preserve agent registration flow 2026-02-23 23:34:54 +08:00
slhaf 379cabe042 refactor(framework): replace ModuleInitHookExecuteFactory with Kotlin ComponentInitHookExecuteFactory and drive @Init execution from validated component context 2026-02-23 23:14:45 +08:00
slhaf 1b164cedf1 refactor(framework): migrate capability injection to Kotlin CapabilityInjectorFactory and inject capability instances directly into components 2026-02-23 22:59:47 +08:00
slhaf 7ee698768c refactor(framework): simplify AgentContext capability storage to a single implementation per capability 2026-02-23 22:59:20 +08:00
slhaf 2e29e5ca7f refactor(framework): migrate CapabilityRegisterFactory to Kotlin and rebuild capability registration from validated context 2026-02-23 22:32:32 +08:00
slhaf e0a62053b5 refactor(framework): migrate AgentRegisterContext to Kotlin and store validated capability scan results in context 2026-02-23 22:12:56 +08:00
slhaf f13e45327d refactor(framework): remove legacy CapabilityFactoryContext and ModuleFactoryContext from registration flow 2026-02-23 21:58:25 +08:00
slhaf f56ff7d719 refactor(framework): rework AgentContext capability storage to group implementations by capability and include method metadata 2026-02-23 21:53:37 +08:00
slhaf fd9b376afa refactor(framework): replace CapabilityCheckFactory with Kotlin CapabilityAnnotationValidatorFactory and update capability validation flow 2026-02-23 21:41:38 +08:00
slhaf 542de84640 refactor(framework): add ComponentInjectorFactory for module/additional component injection before capability registration 2026-02-23 21:16:04 +08:00
slhaf 907bb626f2 chore(gitignore): update gitignore 2026-02-22 14:15:17 +08:00
slhaf 2cdeaa1c30 refactor(framework): make AgentContext capabilities non-null and infer capability type on registration 2026-02-21 22:38:56 +08:00
slhaf 833fe4deb3 refactor(framework): add component annotation validation before component registration 2026-02-21 19:27:17 +08:00
slhaf 3c26e77b76 refactor(framework): rename AgentComponentRegisterFactory to ComponentRegisterFactory 2026-02-21 19:19:04 +08:00
slhaf 2825f7f1de refactor(framework): replace legacy module check/register/proxy flow with unified AgentComponentRegisterFactory 2026-02-21 18:56:40 +08:00
slhaf 86b7e5c492 refactor(framework): rename agent.factory.module to agent.factory.component and update related imports 2026-02-21 17:57:29 +08:00
slhaf b1e4d3c2e4 fixup! refactor(framework): rename AgentConfigManager to AgentConfigLoader and update agent/core wiring 2026-02-21 17:46:16 +08:00
slhaf 997616e45f refactor(framework): migrate ConfigLoaderFactory to Kotlin and simplify loader metadata registration 2026-02-21 17:42:05 +08:00
slhaf 6733984843 将 .java 重命名为 .kt 2026-02-21 17:42:05 +08:00
slhaf 0f2052c507 refactor(framework): migrate AgentBaseFactory from Java to Kotlin and update execute signature 2026-02-21 17:22:38 +08:00
slhaf 23bfb8bac1 将 .java 重命名为 .kt 2026-02-21 17:22:38 +08:00
slhaf 15c11ac500 refactor(framework): type AgentContext metadata entries and add JSON-backed metadata registration 2026-02-21 17:10:46 +08:00
slhaf deffc91dd1 refactor(framework): remove obsolete Java AgentContext class 2026-02-21 16:55:31 +08:00
slhaf b2d44668da refactor(framework): rename AgentConfigManager to AgentConfigLoader and update agent/core wiring 2026-02-21 16:51:59 +08:00
slhaf f8399d2280 refactor(framework): add additional component storage and guarded registration in AgentContext 2026-02-21 16:28:20 +08:00
slhaf 2870e79f79 refactor(framework): remove obsolete agent proxy and register test stubs 2026-02-21 16:19:57 +08:00
slhaf 3c9ace8e56 refactor(framework): rename CapabilityHolder to AgentComponent across factory and module hooks 2026-02-21 16:19:00 +08:00
slhaf e510725e71 refactor(framework): remove legacy running/sub module base classes and module annotations 2026-02-21 16:14:46 +08:00
slhaf f963cae4ed refactor(framework): rename Context.kt to AgentContext.kt 2026-02-21 16:06:11 +08:00
slhaf 45c4e8169a refactor(framework): add mutable metadata map to Context 2026-02-21 15:43:19 +08:00
slhaf 6bf4d95b05 refactor(framework): encapsulate AgentContext maps and require modelInfo in module contexts 2026-02-20 21:31:20 +08:00
slhaf 00ef090d2f refactor(framework): generalize AgentContext and ModuleContextData generics with wildcard bounds 2026-02-20 20:55:56 +08:00
slhaf e62cddfe44 refactor(framework): add enabled flag to ModuleContextData.Running 2026-02-20 19:00:49 +08:00
slhaf 115a8d5446 refactor(framework): redesign AgentContext to store typed module contexts and runtime metadata 2026-02-20 18:57:36 +08:00
slhaf ef5d5802a7 refactor(framework): make Standalone extend AbstractAgentModule 2026-02-20 17:46:33 +08:00
slhaf 87c34cc699 refactor(modules): convert ActionScheduler to Standalone and simplify async execute signature 2026-02-20 17:29:26 +08:00
slhaf bbace28d7a refactor(project): normalize formatting and reorder class members across modules 2026-02-20 17:22:54 +08:00
slhaf c47d2b2285 refactor(modules): refactor modules base class into AbstractAgentModule and remove unused @slf4j annotation 2026-02-20 17:17:49 +08:00
slhaf 38c618a222 chore(gitignore): update gitignore 2026-02-20 16:30:22 +08:00
slhaf e00441faa8 refactor(framework): make AbstractAgentModule sealed with class-based module contracts and streamline ActivateModel model access 2026-02-20 16:12:35 +08:00
slhaf c3b0a9dd25 refactor(framework): make ActivateModel companion configManager private 2026-02-20 15:39:52 +08:00
slhaf 6b7c9db5b1 refactor(framework): add order() to AbstractAgentModule.Running contract 2026-02-20 15:30:55 +08:00
slhaf e2ef92ce43 refactor(framework): use moduleName as modelKey for
`AbstractAgentModule` instances in ActivateModel
2026-02-20 15:29:38 +08:00
slhaf 051b6450e7 refactor(framework): mark AbstractAgentModule as capability holder and consolidate module contracts within abstracts 2026-02-20 15:24:35 +08:00
slhaf 2a3d33a61e refactor(framework): correct comments for ActivateModel 2026-02-20 15:02:33 +08:00
slhaf e57c03e213 refactor(framework): migrate module abstracts/ActivateModel to Kotlin and introduce shared model/context structures 2026-02-20 15:00:14 +08:00
slhaf 14e6d71ac9 将 .java 重命名为 .kt 2026-02-20 15:00:14 +08:00
slhaf dc9f9417bc refactor(framework): remove @BeforeExecute/@AfterExecute hook proxy logic and use direct module instantiation 2026-02-19 22:53:49 +08:00
slhaf 5051c2f662 refactor(framework): use existing model instance in
init hook `ActivateModel#modelSettings`
2026-02-19 21:46:37 +08:00
slhaf c30ec35f85 refactor(framework): rename @AgentModule to @AgentRunningModule 2026-02-19 21:39:59 +08:00
slhaf c7f113b59a refactor(framework): rename AgentRunningModule/SubModule to AbstractAgent* and migrate module inheritance usage 2026-02-19 15:04:30 +08:00
slhaf 8735660830 refactor(framework): remove log hook surrounded with method execute in AgentRunningSubModule 2026-02-19 14:37:21 +08:00
slhaf 18b2bb8812 refactor(framework): reorganize Module abstracts location 2026-02-19 14:09:51 +08:00
slhaf 7fccea5b91 chore(agent): add todo for PartnerOutputData 2026-02-19 14:07:39 +08:00
slhaf a9bf7ca1c2 refactor(framework): correct exception names in Partner-Framework 2026-02-19 14:01:26 +08:00
slhaf 1685d148c4 chore(gitignore): update gitignore 2026-02-19 14:00:35 +08:00
slhaf 73ab40416d refactor(Project): rename Partner-Api/Partner-Main modules to Partner-Framework/Partner-Core and update Maven dependencies 2026-02-19 10:39:21 +08:00
slhaf 1244d59fa4 chore(ActionScheduler): remove todos 2026-02-18 15:22:02 +08:00
slhaf 11ea1045f4 refactor(Action): generalize ActionScheduler to Schedulable and add StateAction trigger execution path 2026-02-18 15:20:52 +08:00
slhaf a1bc784da5 refactor(Action): rename Scheduled interfaces/classes to Schedulable 2026-02-15 23:09:35 +08:00
slhaf 747d3e47d6 refactor(Action): add StateAction with scheduled trigger support for state updates/callbacks 2026-02-15 21:27:11 +08:00
slhaf 5f0165fa3a refactor(Action): split ActionData into Action/ExecutableAction and unify scheduled action types 2026-02-15 21:26:17 +08:00
slhaf 2b0682b9e0 chore(Action): remove todo in ActionData
Context:
SYNC is like the normal reAct execution, the thread based execution model with necessary notification can cover the demands entirely
2026-02-14 12:02:03 +08:00
slhaf 16a92de377 chore(Action): add TODO notes for trigger type design and executor write-back flow 2026-02-13 21:27:23 +08:00
slhaf cbba183b60 docs(README): formatted 2026-02-10 13:52:14 +08:00
slhaf 8e642b07d9 docs(README): expand Action system section with architecture and execution flow details 2026-02-10 13:50:31 +08:00
slhaf 66d8a95c73 docs(README): clean up section formatting and update content 2026-02-10 13:26:31 +08:00
slhaf 0850f8403d docs(README): rewrite project description and adjust planning items 2026-02-10 13:17:30 +08:00
slhaf 24c29a6dc6 chore(resource): remove legacy Partner prompt and module config in resources, which will be provided in config dir or other ways 2026-02-10 13:17:05 +08:00
slhaf f703cc8157 refactor(vector): make embedding URL and model fields final 2026-02-10 13:05:09 +08:00
slhaf d52f48f132 fix(AgentConfigManager): set default INSTANCE to null instead of FileAgentConfigManager, which will be set in ConfigLoaderFactory or AgentApp 2026-02-10 13:03:58 +08:00
slhaf f6afe21b43 Merge branch 'feature/ActionModule'
# Conflicts:
#	.gitignore
2026-02-09 21:22:26 +08:00
slhaf d381a97731 refactor(ActionScheduler): add debug log for hour-change trigger scan 2026-02-09 21:12:38 +08:00
slhaf 940beb2587 test(ActionScheduler): add test 2026-02-09 21:05:08 +08:00
slhaf 69d9f04f11 fix(ActionScheduler): stabilize wheel tick pacing and run trigger scan before hour/day refresh 2026-02-09 21:04:48 +08:00
slhaf e2bd9eb0af fix(ActionScheduler): enqueue same-hour actions in wheel and add scheduling debug logs 2026-02-09 21:19:40 +08:00
slhaf 9ec03c4c95 fix(ActionScheduler): include previous tick in trigger scan and tighten next execution filtering 2026-02-09 21:01:22 +08:00
slhaf ecbbbc9954 refactor(ActionScheduler): include tick in wheel stop debug log 2026-02-09 20:56:45 +08:00
slhaf a5d26769e8 fix(ActionScheduler): skip trigger callback when tick has no actions 2026-02-09 20:54:35 +08:00
slhaf 2db1bdf3e9 refactor(ActionScheduler): add debug log for action execution 2026-02-09 20:50:36 +08:00
slhaf 656d6b65e3 refactor(ActionScheduler): add debug logs for wheel start/stop, wait window, and action loading 2026-02-09 20:41:01 +08:00
slhaf 7c46f1d1ff fix(ActionScheduler): remove triggered hour actions by uuid to avoid removeAll mismatch 2026-02-09 20:03:24 +08:00