Commit Graph
100 Commits
Author SHA1 Message Date
slhaf 281984bb05 feat(action): redefine structure of evaluator result to support json schema of openai sdk, and create system prompt for sub-modules of ActionPlanner 2026-04-16 21:38:11 +08:00
slhaf 062af4b7d2 feat(communication): update prompt 2026-04-16 21:05:39 +08:00
slhaf 380c674d06 feat(communication): enrich and correct system-prompt in CommunicationProducer, and support NO_REPLY answering 2026-04-16 17:44:36 +08:00
slhaf 347560d979 refactor(context): rename VisibleDomain into FocusedDomain, and optimize related context usage 2026-04-15 22:16:33 +08:00
slhaf 999a6a8d7e refactor(dialog): remove legacy data class 2026-04-15 17:24:22 +08:00
slhaf f510dc5a42 refactor(context): support wait a debounce delay before executing turn 2026-04-15 16:36:23 +08:00
slhaf d8ff0b5ea4 refactor(context): simplify constructor and inputs encoding of running flow context 2026-04-15 15:45:42 +08:00
slhaf dc147000ba refactor(runtime): support collect context by source and interrupt same-source running flow by module order 2026-04-15 14:32:52 +08:00
slhaf 247057e100 fix(test): fix MemoryRuntimeTest 2026-04-14 15:07:32 +08:00
slhaf 33ffd782c4 refactor(cognition): remove duplicate recent chat block building logic, refresh which in cognition core uniformly 2026-04-14 12:40:56 +08:00
slhaf a847f3bff8 refactor(rolling): separate dialog rolling with memory topic binding,
now support register after-rolling consumer independently
2026-04-14 11:14:37 +08:00
slhaf 28d0a43ef3 refactor(log): support advice invoke or invoke with no result via different methods to avoid unnecessary nullable check 2026-04-14 10:08:31 +08:00
slhaf cb4380eb1e feat(trace): support trace context workspace changes 2026-04-13 22:48:31 +08:00
slhaf 737f9d122a feat(trace): support trace input/output information on Running/Sub AgentModule 2026-04-13 22:27:11 +08:00
slhaf e65d3302c6 feat(trace): support create advice for method with no return value 2026-04-13 21:57:10 +08:00
slhaf fece67135f feat(trace): support create loggable advice and implement common trace recorder 2026-04-13 21:39:42 +08:00
slhaf d30e58ff83 refactor(framework): centralize model exception reporting in ActivateModel and remove duplicated module-level handlers 2026-04-12 22:15:08 +08:00
slhaf 93304878ad refactor(memory): migrate slice/topic/date lookup to Result flow and unify MemoryLookupException reporting 2026-04-12 20:13:11 +08:00
slhaf e37a282141 fix(test): adapt ActionExecutor tests to Result-based extractor/corrector execution flow 2026-04-12 19:19:07 +08:00
slhaf 04d6ad6d80 refactor(core): normalize memory unit after adding new slice before return 2026-04-12 19:08:35 +08:00
slhaf 9755672750 refactor(action-core): wrap runner submit flow with Result.runCatching and centralize action error handling 2026-04-12 18:51:33 +08:00
slhaf e0f955694d refactor(framework): wrap module execution in Result and report failures via exception handler 2026-04-12 17:33:11 +08:00
slhaf c14e6f84e7 refactor(action-core): migrate action modules to Result return flow and unify exception reporting 2026-04-12 17:29:10 +08:00
slhaf 19f56d11f0 refactor(framework): add Result chain APIs and align runtime exception handling 2026-04-12 16:58:36 +08:00
slhaf 94d91d9746 feat(agent): support add custom configurable object in Agent launch flow 2026-04-11 21:07:50 +08:00
slhaf fac6e24e49 feat(exception): support report necessary exception info into context 2026-04-11 18:52:53 +08:00
slhaf 2aae1b1f14 refactor(action-core): return Result for meta action lookups and adapt runtime callers 2026-04-11 18:30:24 +08:00
slhaf 1b48e955bd refactor(core): migrate deprecated exceptions to new hierarchy and align tests 2026-04-11 16:10:34 +08:00
slhaf b8cb2afbcf refactor(framework): unify model invocation result and exception handling 2026-04-11 14:50:12 +08:00
slhaf 3732555f02 refactor(framework): migrate startup chain exceptions to AgentException hierarchy 2026-04-10 22:39:59 +08:00
slhaf ec52d64e73 refactor(exception): register exception reporters on Agent launcher 2026-04-10 19:04:11 +08:00
slhaf 7b963df991 refactor(exception): establish new exception system, and move the legacy into deprecated package 2026-04-10 18:41:13 +08:00
slhaf 4876d621b2 将 .java 重命名为 .kt 2026-04-10 18:37:49 +08:00
slhaf 663d66fdea chore: remove legacy exception handler and adjust runtime class location 2026-04-10 14:31:56 +08:00
slhaf d29dad4691 refactor(config): adjust declared config location 2026-04-09 17:28:23 +08:00
slhaf 291371f8da chore: adjust reflect related util's location 2026-04-09 16:58:24 +08:00
slhaf 3e5d6ebeb4 feat(runtime): support mask assigned modules; and remove legacy module record in agent context 2026-04-09 16:13:04 +08:00
slhaf 56daaf0b60 refactor(agent): normalize Agent launch flow 2026-04-09 12:26:52 +08:00
slhaf d6593c10f9 refactor(agent): support register registry shutdown hooks while agent launching 2026-04-09 12:19:20 +08:00
slhaf 328befecca refactor(action): add shutdown method to ActionCore to close runner client and thread pool 2026-04-09 12:00:32 +08:00
slhaf 1e46149d0a refactor(agent): remove legacy ConfigLoader and related factory; refactor agent launch flow 2026-04-09 10:35:13 +08:00
slhaf 427d224f65 refactor(gateway): manage gateway implementions via related registry and interface 2026-04-08 22:24:07 +08:00
slhaf 0528890d60 refactor(communication): remove channel assignment in ReplyDispatcher 2026-04-08 20:49:37 +08:00
slhaf f233c5ce32 fixup! refactor(runner): manage execution policy via ConfigCenter 2026-04-08 20:48:42 +08:00
slhaf 91a595d073 chore: remove legacy utils and constant class 2026-04-08 17:36:03 +08:00
slhaf 6d27e55a1e refactor(runner): manage execution policy via ConfigCenter 2026-04-08 17:21:35 +08:00
slhaf 2935daeffa refactor(action): support recover schedulable executable actions together, and ActionExecutor will emit a context block to explain recovering result 2026-04-08 16:52:21 +08:00
slhaf e04b2c4fe8 refactor(memory): manage state serialization via StateCenter in MemoryRuntime 2026-04-08 14:55:37 +08:00
slhaf 21a9d2114f chore(core): remove legact PartnerCore 2026-04-07 23:27:31 +08:00
slhaf 3640cc2108 feat(action): support continuing executable actions after state restored 2026-04-07 23:16:12 +08:00
slhaf a114044c23 refactor(action): manage state serialization via StateCenter in ActionCore 2026-04-07 22:01:46 +08:00
slhaf 874488ea79 test(memory): test with new memory behavior 2026-04-07 17:23:14 +08:00
slhaf b80ff8400c refactor(memory): compute memory slice in MemoryCore 2026-04-07 17:13:51 +08:00
slhaf 6fd12cd19f fix(memory): restore normalizing logic in memory core, and fix errors in MemoryCoreTest 2026-04-07 15:02:55 +08:00
slhaf 2cbaccedba refactor(cognition): manage state serialization via StateCenter in CognitionCore 2026-04-07 14:44:47 +08:00
slhaf 006e7c61e5 refactor(context): remove legacy attribute coreResponse in PartnerRunningFlowContext 2026-04-07 14:42:15 +08:00
slhaf 2458ea4849 refactor(memory): manage state serialization via StateCenter in MemoryUnit, and support optional loading on register in StateCenter 2026-04-07 12:27:36 +08:00
slhaf eab8eec46e chore(memory): add refactor todo in MemoryUpdater 2026-04-07 10:23:55 +08:00
slhaf a242723727 refactor(memory): manage state serialization via StateCenter in MemoryCore, and normalize slice and unit building 2026-04-07 10:21:17 +08:00
slhaf 57bc63c57b refactor(perceive): manage state serialization via StateCenter in PerceiveCore 2026-04-07 10:05:35 +08:00
slhaf 9aa793df8e feat(state): add StateCenter and related interface 2026-04-06 22:16:50 +08:00
slhaf 8c04566243 chore(framework): reorganize Partner-Framework 2026-04-06 20:16:51 +08:00
slhaf b1ba86be57 chore(build): adjust pom.xml in Partner-Framework and fix test errors 2026-04-06 16:12:13 +08:00
slhaf f79a0521b2 refactor(vector): refactor VectorClient configuration loading method 2026-04-06 15:52:30 +08:00
slhaf 332792daa2 refactor(action): make LocalRunnerClient as default runner client 2026-04-05 23:23:02 +08:00
slhaf 3b236286b9 refactor(action): remove problematic action tendency cache 2026-04-05 22:32:52 +08:00
slhaf 50db3fa7b2 refactor(config): adjust method init and onReload to support polymorphic config loading 2026-04-04 23:34:00 +08:00
slhaf 6503ec32b4 chore(git): update gitignore 2026-04-04 17:54:25 +08:00
slhaf 9771aa1de5 refactor(model): manage model registry by ConfigCenter 2026-04-04 17:53:54 +08:00
slhaf 660bb01440 chore(config): add config doc to WebSocketConfig 2026-04-04 14:49:06 +08:00
slhaf 188b5e8b53 refactor(config): support printing more information after init failed by ConfigDoc 2026-04-04 00:33:25 +08:00
slhaf db4dc6d040 refactor(gateway): init and load config from config center for WebSocketGateway 2026-04-03 23:07:40 +08:00
slhaf ef9d177adc fix(config): correct duplicate config checking 2026-04-03 15:35:27 +08:00
slhaf 5a41e02602 fixup! refactor(config): rename watching method and remove useless covariant 2026-04-02 22:59:09 +08:00
slhaf f387c36b17 refactor(config): prevent registering Configurable after watching started 2026-04-02 22:55:53 +08:00
slhaf 03532d3d97 refactor(config): run init after watching started 2026-04-02 22:19:37 +08:00
slhaf f37bef57ba refactor(config): rename watching method and remove useless covariant 2026-04-02 22:12:08 +08:00
slhaf 29d6546b07 feat(config): support ConfigCenter file watching and registered json reloads 2026-04-01 23:43:19 +08:00
slhaf b9fd9bcaac refactor(mcp): switch desc.json loading to fastjson2 to avoid desc.json loading error 2026-04-01 22:57:17 +08:00
slhaf 4ae65b885e refactor(watch): support configurable directory watch depth 2026-04-01 22:15:00 +08:00
slhaf 632e47ec13 feat(config): add config center and runtime path resolution 2026-04-01 20:42:45 +08:00
slhaf 4f200cadfc refactor(model): move model APIs from chat to agent.model 2026-03-31 21:13:57 +08:00
slhaf 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
slhaf 81aa4b7933 feat(chat): support streaming reply in agent turn 2026-03-31 14:44:58 +08:00
slhaf b4c44c7d98 fix(perceive): fix legacy errors 2026-03-31 12:14:52 +08:00
slhaf 1301a0f8b1 refactor(event): enrich necessary attributes in InteractionEvent.Reply 2026-03-31 10:28:27 +08:00
slhaf 7d82ec7238 refactor(gateway): register WebsocketGateway as response channel while launch 2026-03-31 10:15:31 +08:00
slhaf 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
slhaf def48fd0ce refactor(context): remove legacy module context 2026-03-30 18:01:55 +08:00
slhaf 0b750f8028 refactor(action): support initiate turn after evaluation 2026-03-29 22:58:55 +08:00
slhaf 6e37ed032b refactor(context): support skip modules by adding specific moduleName into runningFlowContext 2026-03-29 22:26:10 +08:00
slhaf b6c86c6640 refactor(action): adjust pending action block content and make full-expanded block as SUPPLY block 2026-03-29 22:07:29 +08:00
slhaf 71956b4dce refactor(action): adjust tendency evaluation to be performed asynchronously, and pass the tendency in evaluation to communication as a block of SUPPLY type. 2026-03-29 21:55:53 +08:00
slhaf c9466f4359 refactor(executor): remove legacy InteractionThreadPoolExecutor , and change related executor calling into virtual executor and CountDownLatch 2026-03-29 20:19:09 +08:00
slhaf cb09b86b23 refactor(memory): remove legacy dialogMap in MemoryRuntime and related modules 2026-03-29 18:54:23 +08:00
slhaf d4a5c5a0ed fix(memory): trim persisted overlap from chat snapshot in MemoryUpdater 2026-03-29 18:49:44 +08:00
slhaf 274d007ba1 refactor(memory): add DialogRollingService to control message rolling logic 2026-03-29 18:24:38 +08:00
slhaf c7df35beb4 refactor(memory): correct memorySlice-topicPath binding behavior and adjust slice index into [startIndex,endIndex) 2026-03-29 18:11:02 +08:00
slhaf 1c995923a1 refactor(context): support copy attributes on root tag into snapshot element 2026-03-29 17:28:41 +08:00
slhaf 247052e318 refactor(memory): update end index of memory slice 2026-03-29 16:15:30 +08:00