Commit Graph
100 Commits
Author SHA1 Message Date
slhaf 12368ded53 feat(runner): implement builtin command session actions with start/inspect/read/cancel/overview 2026-03-18 23:00:56 +08:00
slhaf 7d9ec976e3 feat(runner): implement builtin command execute MetaAction definition 2026-03-18 17:15:47 +08:00
slhaf d8b19ebcea refactor(runner): refactor CommandExecutionService into single instance 2026-03-18 16:52:52 +08:00
slhaf 7f4b82204a refactor(runner): change stdout/stderr reading thread into virtual thread in CommandExecutionService 2026-03-18 16:18:10 +08:00
slhaf 664bd5a0fb refactor(runner): add typed param helper methods in BuiltinActionRegistry 2026-03-17 22:54:55 +08:00
slhaf 6474eb8dc6 refactor(runner): allow object-typed params in BuiltinActionRegistry builtin actions 2026-03-17 22:51:00 +08:00
slhaf 4439e5c04b feat(runner): add BuiltinCommandActionManager and command action data models scaffold 2026-03-17 22:24:23 +08:00
slhaf ef2eb909b7 refactor(runner): use string-only params and return type for BuiltinActionRegistry builtin actions 2026-03-17 22:12:22 +08:00
slhaf fd20af3e1c test(exec): add test for CommandExecutionService 2026-03-17 14:59:48 +08:00
slhaf d30ff322a2 refactor(runner): remove unused static method definition in BuiltinActionRegistry 2026-03-17 14:32:29 +08:00
slhaf cb63bbf570 feat(runner): add builtinAction defining method to BuiltinActionRegistry 2026-03-17 14:08:50 +08:00
slhaf 4da4e5f161 refactor(runner): rename method buildDefinitions in BuiltinActionRegistry 2026-03-17 13:56:25 +08:00
slhaf 5a717dbdda refactor(runner): load different policy provider according to os, now support bwrap sandbox in linux only 2026-03-17 12:21:31 +08:00
slhaf a6682a7719 feat(runner): implement BubbleWrap policy provider and related test 2026-03-17 12:11:54 +08:00
slhaf 1465d7687b refactor(runner): add policy listener registering function and support registering McpConfigWatcher after starting 2026-03-17 10:35:35 +08:00
slhaf d31cac70a6 refactor(runner): apply execution policy wrapping in MCP transport and reload on policy changes 2026-03-16 22:45:49 +08:00
slhaf 108cf9b071 refactor(runner): rename method buildFileExecutionCommands in CommandExecutionService 2026-03-16 16:52:04 +08:00
slhaf c4b8c2a858 refactor(runner): rename exec vararg parameter to commands for clarity 2026-03-15 22:41:46 +08:00
slhaf d55b849747 refactor(runner): apply execution policy wrapping before command execution in OriginExecutionService 2026-03-15 22:41:19 +08:00
slhaf a9993299a5 refactor(runner): add exec(List<String>) overload in CommandExecutionService 2026-03-15 22:41:11 +08:00
slhaf 4c47cac3a5 fix(runner): repair MetaAction related logic in McpMetaRegistry and tests 2026-03-14 21:44:27 +08:00
slhaf cba9ff4f0b refactor(action): pass launcher through meta action flow instead of inferring command by file extension 2026-03-14 21:27:38 +08:00
slhaf 603b0835c5 将 .java 重命名为 .kt 2026-03-14 21:27:38 +08:00
slhaf fc0d4ef03b refactor(runner): remove legacy abstract for command execution 2026-03-13 15:22:14 +08:00
slhaf 97bb897407 feat(runner): add execution policy abstract for local running 2026-03-13 14:45:50 +08:00
slhaf 8463eb9dae refactor(runner): remove unused method listSystemDependencies 2026-03-12 16:07:06 +08:00
slhaf 9794b39572 refactor(runner): adjust the directory organization of runner 2026-03-12 15:32:28 +08:00
slhaf 0506149f5f refactor(runner): separate logic of different domain in LocalRunnerClient into different class 2026-03-12 15:04:13 +08:00
slhaf 9325b84d14 refactor(ActionExecutor): remove unused ActionScheduler in executor 2026-03-12 11:59:26 +08:00
slhaf 6c8a1b2636 refactor(action): support built-in actions 2026-03-12 10:41:17 +08:00
slhaf 3c550af33d refactor(perceive): omit user lookup when building evaluator input 2026-03-11 14:41:43 +08:00
slhaf 229c7a0edb refactor(memory): remove redundant activated slice helpers 2026-03-11 13:37:18 +08:00
slhaf a067e058fb refactor(memory): remove module context and recall tracking 2026-03-10 23:09:32 +08:00
slhaf cdfae8ab1a refactor(memory): remove postprocess executor and simplify memory updater trigger 2026-03-10 23:07:58 +08:00
slhaf c1998f61b6 refactor(perceive): drop legacy perceive updater modules and remove PreProcessExecutor 2026-03-10 22:59:29 +08:00
slhaf 3f6283d12a refactor(perceive): expose last interaction tracking and refresh memory sessions 2026-03-10 22:57:59 +08:00
slhaf 3d1c258944 refactor(memory): drop message cleanup before summarizing 2026-03-10 21:15:35 +08:00
slhaf 36dfd65046 refactor(CommunicationProducer): drop timestamp from user message 2026-03-10 21:13:12 +08:00
slhaf ee1a033c1b refactor(memory): centralize memory recording and retrieval logic 2026-03-10 20:42:46 +08:00
slhaf 027e8bddc0 refactor(memory): move memory id refresh into runtime init 2026-03-10 20:17:34 +08:00
slhaf 0903b8482b test(CommunicationProducer): remove CommunicationProducerTest 2026-03-10 19:54:37 +08:00
slhaf f51401e2f2 refactor(CommunicationProducer): snapshot chat history when assembling conversation 2026-03-10 19:53:20 +08:00
slhaf 5ad80d8b86 refactor(memory): decouple memory storage and runtime structures 2026-03-10 19:41:05 +08:00
slhaf 760ba8300b refactor(module): remove legacy prompt scaffolding 2026-03-10 17:15:50 +08:00
slhaf 0f3d4659ae chore(project): remove legacy module Partner-Test-Demo 2026-03-10 15:04:16 +08:00
slhaf 331d415925 refactor(CommunicationProducer): update datetime pattern and source in communicating 2026-03-10 15:01:07 +08:00
slhaf f5f64971f3 refactor(ContextBlock): return dom nodes directly 2026-03-10 14:48:14 +08:00
slhaf 1cd6ba11bb refactor(CommunicationProducer): split context and supply message assembly 2026-03-10 14:31:13 +08:00
slhaf 5db533f823 refactor(chat): use Message.Character enum for roles and remove unused prompt helpers 2026-03-09 22:12:35 +08:00
slhaf 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
slhaf 8dc7ed080b chore(build): import OpenAI dependency 2026-03-09 16:20:10 +08:00
slhaf 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
slhaf 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
slhaf b256af0f58 refactor(Action): remove @JvmOverloads from SchedulableExecutableAction constructor 2026-03-08 13:32:08 +08:00
slhaf 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
slhaf 145aeed600 refactor(Module): remove unused meta component POJOs from agent factory 2026-03-08 13:31:02 +08:00
slhaf 5e8ef6d66f refactor(build): add kotlin-maven-plugin setup to Partner-Core and Partner-Framework poms 2026-03-08 13:30:39 +08:00
slhaf 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
slhaf 7df0f208b5 refactor(Module): rename PostRunningAbstractAgentModuleAbstract to PostRunningAgentModule and update updater inheritance 2026-03-08 12:04:29 +08:00
slhaf 4484d4a06b refactor(Context): remove finished state from flow/module context and drop MemoryUpdater finish guard 2026-03-08 11:47:44 +08:00
slhaf 25ddc6f181 refactor(ActionExecutor): enforce action timeout with cancellation and move timeout defaults into Action base model 2026-03-07 20:15:41 +08:00
slhaf d905c4ace1 refactor(Action): add @JvmOverloads constructors to SchedulableExecutableAction and StateAction 2026-03-07 18:52:36 +08:00
slhaf 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
slhaf ae1b7fc033 refactor(ActionScheduler): support receiving single data that implements Schedulable and Action in ActionScheduler 2026-03-07 15:30:25 +08:00
slhaf d9e384960f refactor(action): remove ActionExecutorInput 2026-03-07 15:15:08 +08:00
slhaf 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
slhaf 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
slhaf 28400545a7 chore(ActionExecutor): remove unused Void return value 2026-03-07 14:20:07 +08:00
slhaf 1ce2038ab8 fix(Communication): fix Message appending logic and add refactor todo 2026-03-07 14:01:33 +08:00
slhaf 0b63ec8523 fix(MemoryUpdater): fix message cleaning logic, and add refactor todo in updater 2026-03-07 13:53:34 +08:00
slhaf 28a1bf8d1f refactor(chat): migrate Message from Java POJO to Kotlin data class 2026-03-06 21:04:58 +08:00
slhaf 77059f84c4 将 .java 重命名为 .kt 2026-03-06 21:04:58 +08:00
slhaf d3eb5e8ee3 refactor(config): migrate ModelConfig from Java POJO to Kotlin data class 2026-03-06 17:01:03 +08:00
slhaf 01cfc04dc7 将 .java 重命名为 .kt 2026-03-06 17:01:03 +08:00
slhaf 6919fe656e refactor(module): rename CoreModel into CommunicationProducer 2026-03-06 15:21:36 +08:00
slhaf df25f488fa refactor(action): remove ActionDispatcher and related empty directory 2026-03-06 15:06:32 +08:00
slhaf 036fd9e051 refactor(ActionPlanner): support schedule or execute actions(or
confirmed actions) immediately
2026-03-06 14:58:13 +08:00
slhaf 383a49b855 refactor(ActionExecutor): refactor into Standalone module 2026-03-06 14:49:01 +08:00
slhaf 7e88b8b926 chore(action): add refactor todos in ActionScheduler 2026-03-06 14:28:52 +08:00
slhaf c6c8a83dad chore(test): remove unused non-null test for ActionScheduler 2026-03-06 14:17:04 +08:00
slhaf 6635d7aca2 refactor(Action): add attribute enabled status into Action, and update related collectToTrigger logic in ActionScheduler 2026-03-06 14:15:51 +08:00
slhaf facc49a799 refactor(ActionScheduler): rename entry method into schedule 2026-03-06 14:04:15 +08:00
slhaf 3c6076ee0a chore(idea): update misc.xml 2026-03-06 12:49:02 +08:00
slhaf 40bd2deeba feat(cognation): add initiateTurn to execute input via AgentRuntime.submit 2026-03-05 16:49:17 +08:00
slhaf 839f19f15b refactor(context): add PartnerRunningFlowContext factories for user/self source and update adapter creation 2026-03-04 20:02:56 +08:00
slhaf da1abbdc88 fix(AgentRuntime): repair exception handling logic in method executeTurn 2026-03-04 17:23:14 +08:00
slhaf e6a071fc93 refactor(context): migrate running flow context to source/status/info model, and update related modules 2026-03-04 17:21:34 +08:00
slhaf 56688785ba 将 .java 重命名为 .kt 2026-03-04 17:21:34 +08:00
slhaf 8a9892f039 chore(core): add TODO to use RunningFlowContext for message timestamp in CoreModel 2026-03-04 13:52:19 +08:00
slhaf 06f5ae9aac refactor(core): remove global running flow context map and exception context reference 2026-03-04 13:11:42 +08:00
slhaf f8d90fbcee refactor(framework): make AgentRuntime.submit blocking and remove runBlocking from AgentInteractionAdapter 2026-03-03 21:23:52 +08:00
slhaf b02f29b1b1 refactor(framework): extract interaction execution into AgentRuntime and delegate from AgentInteractionAdapter 2026-03-03 21:14:10 +08:00
slhaf f1848fece4 refactor(framework): cache running modules in AgentInteractionAdapter and add refresh method 2026-03-03 20:29:23 +08:00
slhaf 85cc5cace8 chore(framework): add message queue todo in AgentGateway 2026-03-03 11:48:59 +08:00
slhaf d462f02960 refactor(framework): mv interaction in-out flow into AgentInteractionAdapter 2026-03-03 11:48:08 +08:00
slhaf 5ae8b713d7 refactor(framework): correct InteractionAdapter, support loading latest modules while running 2026-03-03 11:26:36 +08:00
slhaf cf25fce09e refactor(framework): remove coordinated capability mechanism and related manager/annotations 2026-03-02 20:34:30 +08:00
slhaf 868b17b56b refactor(core): use chat message user IDs for single-user check in
`MemorySelector`
2026-03-02 20:34:16 +08:00
slhaf fe8031d9ac fix(core): remove CoordinatedManager log tag from memory insert logs 2026-03-02 20:31:22 +08:00
slhaf 5847b38f2b refactor(framework): remove obsolete lifecycle TODO comment in AgentModule 2026-03-01 21:35:30 +08:00