Commit Graph
100 Commits
Author SHA1 Message Date
slhaf f9cdf164f3 feat(pom): create Partner-External-Modules 2026-04-30 22:55:20 +08:00
slhaf 0c2843a889 chore(gitignore): update gitignore 2026-04-30 22:50:43 +08:00
slhaf 572bedcd18 refactor(pom): align Maven coordinates to work.slhaf.partner and lowercase artifactIds 2026-04-30 22:45:08 +08:00
slhaf 32ee6b5ed6 docs(architecture): update startup/register-chain flow for AgentBootstrap and registerContext 2026-04-30 22:24:19 +08:00
slhaf 428f133ac3 refactor(agent): introduce AgentBootstrap for startup wiring and simplify app launch 2026-04-30 22:12:04 +08:00
slhaf 7aab236221 docs(readme): update readme 2026-04-30 16:15:55 +08:00
slhaf 0d456596a8 docs(readme): update readme 2026-04-30 16:12:10 +08:00
slhaf cbd926bd41 docs(memory): add document for memory 2026-04-30 16:08:18 +08:00
slhaf 4a00e5f320 docs(action): add document for action 2026-04-29 22:27:27 +08:00
slhaf 690f258dc9 docs(context): add document for context workspace 2026-04-29 11:03:03 +08:00
slhaf d7b271bf71 docs(model): add model provider runtime/config docs and link from README 2026-04-28 23:00:23 +08:00
slhaf ff80d6bbc4 docs(config): add config center lifecycle docs and split config reference into dedicated doc 2026-04-28 22:13:12 +08:00
slhaf 3e73d574df docs(readme): update readme 2026-04-28 21:12:08 +08:00
slhaf 9ea475432f docs(architecture): add startup/register/runtime/shutdown flow docs and architecture overview 2026-04-28 21:09:33 +08:00
slhaf e66ed9e9c0 refactor(trace): move sink registration to TraceSink default methods and restrict registry APIs 2026-04-28 14:58:09 +08:00
slhaf 73f6ff2745 refactor(trace): decouple recorder from file persistence
Turn TraceRecorder into a lightweight trace event entry point and move
file persistence responsibilities into the default FileTraceSink. Trace
events are now published through TraceSinkRegistry, allowing additional
runtime observers to subscribe without parsing trace files.

Add TraceSink and TraceSinkRegistry, keep FileTraceSink registered as the
default sink, and preserve the existing active/historical/archived trace
file rotation behavior inside the file sink.

Also change TraceEvent to carry a logical key instead of a caller-provided
path, so trace storage locations are resolved internally under the traceroot. Update existing trace producers to emit logical keys such ascontext-workspace, exception, and advice targets.
2026-04-27 23:53:20 +08:00
slhaf 3eac52f4e2 refactor(action): switch builtin actions to provider-driven self-registration 2026-04-27 20:53:45 +08:00
slhaf cf61c171a5 fix(action): stabilize staged action execution metadata
Use a stage-local Phaser in ActionExecutor so each action-chain stage
waits on its own execution phase. This avoids reusing a terminated
Phaser after the first stage completes, which could cause later stages
to advance without actually waiting for their MetaActions and trigger
FINAL_CHECK prematurely.

Add stage-level descriptions to evaluated action chains and pass them
through execution/correction contexts. Stage descriptions are now aligned
with normalized action-chain order, exposed to ParamsExtractor, persisted
in action state, and included in CorrectorInput so repeated MetaActions
can be parameterized and corrected according to their concrete stage
objective.

Also fix APPEND intervention semantics to append after the requested
stage instead of overwriting or dropping stages, and include stage
descriptions in correction prompts to distinguish stage intent from
generic MetaAction capability descriptions.
2026-04-27 18:41:32 +08:00
slhaf 822ea82593 feat(action): add stage descriptions to action chains 2026-04-27 17:54:38 +08:00
slhaf f957d7caa4 fix(action): continue execution after final correction 2026-04-27 17:01:50 +08:00
slhaf 9be499eb64 refactor(action): optimize prompt of ActionExtractor 2026-04-27 17:01:38 +08:00
slhaf 184c396752 fix(action): stabilize scheduler wheel lifecycle 2026-04-27 16:25:42 +08:00
slhaf 04ceccc46f fix(action): clarify pending action intention context 2026-04-27 15:51:42 +08:00
slhaf b0185c65c8 chore(action): remove unused variable 2026-04-27 15:34:48 +08:00
slhaf d43476864c docs: update README 2026-04-27 15:07:55 +08:00
slhaf e022f134ac docs: update README and add documentation skeleton 2026-04-27 15:03:03 +08:00
slhaf 9144cd90ce refactor(project): remove Partner-Common module and move InProcessMcpTransport into Partner-Core 2026-04-26 19:45:38 +08:00
slhaf c23bda430f refactor(project): remove Partner-SandboxRunner module and clean related files 2026-04-26 18:20:07 +08:00
slhaf aa98c29744 refactor(communication): optimize prompt to avoid unexpected output in communication producer 2026-04-26 16:38:13 +08:00
slhaf eade39328a refactor(memory-selector): refactor memory recalling into async worker 2026-04-25 23:22:43 +08:00
slhaf 94adf9a368 fix(openai-provider): add cached structured-output downgrade to prompt-only JSON fallback 2026-04-25 22:12:07 +08:00
slhaf dd5ab3aaf3 fix(openai-provider): generate and inject response-type JSON shape instruction for structured chat 2026-04-25 20:23:28 +08:00
slhaf 075a8ece3e refactor(action-planner): optimize prompts and initiate-turn input 2026-04-25 19:31:51 +08:00
slhaf 4bc2e4adbf refactor(action-executor): add FINAL_CHECK fallback correction at chain end and pass check mode/result in corrector input 2026-04-25 16:56:47 +08:00
slhaf 9240ed44c4 refactor(action-evaluator): optimize prompt 2026-04-25 14:41:56 +08:00
slhaf 878fe4dc10 refactor(action-planner): simplify tendencies state hint naming and always follow up on refused candidates 2026-04-25 13:17:23 +08:00
slhaf 03bae6424e fix(openai-provider): ensure structured chat adds JSON instruction when missing 2026-04-25 00:11:57 +08:00
slhaf a14e123ff6 fix(communication): rolling out all chat messages on auto triggered and raise dialog rolling trigger length limit 2026-04-24 23:20:56 +08:00
slhaf d4277aed33 chore(config-center): downgrade skipped reload deletion log from info to
debug
2026-04-24 23:08:58 +08:00
slhaf e37dc7bc9b refactor(action-executor): emit action-finished state hint and trigger cognition turn on executable completion 2026-04-24 22:28:25 +08:00
slhaf 51706eb55e refactor(action-planner): replace pending confirm blocks with StateHintContent and streamline tendency turns 2026-04-24 22:04:02 +08:00
slhaf eb3e5f3f34 refactor(context): add StateHintContent to fit information exchange between different modules with communication producer 2026-04-23 22:01:10 +08:00
slhaf 164078bf42 refactor(action-evaluator): optimize prompt 2026-04-22 15:41:53 +08:00
slhaf 13d04f85e2 fix(action): correct behavior of resume intervention 2026-04-21 21:38:04 +08:00
slhaf 3a5d0f1cb4 refactor(action): optimize builtin actions descriptions and param explanations 2026-04-21 21:31:23 +08:00
slhaf aa05d3817b fix(action-evaluator): fix content of available-meta-actions block 2026-04-21 17:23:08 +08:00
slhaf 45f7d1c51e refactor(action): optimize resolved context domains 2026-04-21 17:21:59 +08:00
slhaf 3d56966381 fix(action): fix unexpected scheduled action losing 2026-04-21 17:12:44 +08:00
slhaf de340029c6 refactor(action): optimize prompts 2026-04-21 16:56:24 +08:00
slhaf 96101de227 refactor(trace): trace full snapshot of context workspace on changes 2026-04-21 16:48:21 +08:00
slhaf 2927cb2b6f fix(config): fix config reloading errors that caused by using wrong relative paths to load config file 2026-04-21 15:07:35 +08:00
slhaf 4af8feb178 fix(memory): enhance null-safe in memory-related modules 2026-04-21 09:18:49 +08:00
slhaf 43c2c648ac refactor(framework): support inject Standalone module into Sub module 2026-04-21 09:05:51 +08:00
slhaf a64c8f6c97 feat(exception): trace exception log in LogExceptionReporter 2026-04-21 08:49:05 +08:00
slhaf 406b7ba831 refactor(action): update watcher self-turn message for immediate action 2026-04-21 08:48:25 +08:00
slhaf 9c902e68d0 fix(dto): add NoArgsConstructor to support formatted chat 2026-04-20 23:10:39 +08:00
slhaf 4e894384bf refactor(block): optimize state action triggered block fading factor 2026-04-20 23:08:23 +08:00
slhaf a5cee79a8f fix(state): enable first-time state file save and block overwrites until explicit load 2026-04-20 22:40:39 +08:00
slhaf d1da99c44d fix(action): correct action chain fixing error 2026-04-20 22:26:31 +08:00
slhaf d90c514159 fix(communication): fix errors while import external xml node into input xml 2026-04-20 16:40:36 +08:00
slhaf ac715602a6 refactor(gateway): print warn log while receiving invalid input 2026-04-20 15:36:23 +08:00
slhaf e1a5a07e2a Merge branch 'codex-review-localrunnerclient-v2' 2026-04-20 14:48:51 +08:00
slhaf 9108d1db46 feat(gateway): support assign hostname on websocket gateway 2026-04-20 14:38:58 +08:00
slhaf e9eaaa24db fix(BuiltinCommand): spill session streams to log files 2026-04-20 14:37:40 +08:00
slhaf 2ec2d8e096 fix(CommandExecutionService): preserve stdout and stderr outputs 2026-04-20 14:32:25 +08:00
slhaf 95a3f782e6 Merge branch 'codex-review-localrunnerclient-v2' 2026-04-20 14:06:03 +08:00
slhaf 6ec3bfcc9b fix(model): correct deserialization behavior of model provider config 2026-04-19 18:52:57 +08:00
slhaf b4d6be849b fix(agent): run system exit after agent launch failed 2026-04-19 18:52:10 +08:00
slhaf a9e41eb4c7 fix(config): repair unexpected exiting in method initAll 2026-04-19 18:51:23 +08:00
slhaf eea72c747c fix(DirectoryWatchSupport): isolate handler failures 2026-04-19 17:31:36 +08:00
slhaf 137b1ee917 fix(CommandExecutionService): avoid persistent reader executor 2026-04-19 17:30:16 +08:00
slhaf c5aa558319 fix(McpActionExecutor): handle client call failures gracefully 2026-04-19 17:27:27 +08:00
slhaf 7ce7461f79 refactor(exception): correct exception report print message 2026-04-19 17:26:42 +08:00
slhaf 8c8b0883bb fix(BuiltinCommand): expire finished command sessions by ttl 2026-04-19 17:26:20 +08:00
slhaf dd8e20838d fix(BuiltinCommand): apply execution policy to command tools 2026-04-19 17:23:04 +08:00
slhaf 15d7eb6850 fix(DynamicActionMcp): apply execution policy to tool handler 2026-04-19 17:21:37 +08:00
slhaf 657023694c fix(OriginExecution): apply execution policy to process launch 2026-04-19 17:19:39 +08:00
slhaf 9b97fffc5c fix(LocalRunnerClient): unregister policy listener on close 2026-04-19 17:13:40 +08:00
slhaf 14df95fc59 fix(McpConfigWatcher): clean stale actions on client removal 2026-04-19 17:13:04 +08:00
slhaf 864bda95e4 refactor(action): register no blocks while no actions recovered 2026-04-19 00:51:22 +08:00
slhaf bfa3562335 refactor(exception): optimize exception report behavior 2026-04-19 00:47:31 +08:00
slhaf 9b24b662da chore: add slf4j log annotation on AgentModule implementations 2026-04-19 00:36:15 +08:00
slhaf 41c611cb70 refactor(framework): support inject Standalone into Standalone modules 2026-04-19 00:34:45 +08:00
slhaf 6ca77bdb74 feat(perceive): add SystemStatsMonitor 2026-04-18 23:51:23 +08:00
slhaf e5ce6d6722 refactor(memory): rename MemoryUpdater into MemoryRecallProfileExtractor, and create prompt 2026-04-18 23:50:48 +08:00
slhaf a7ef9bff49 refactor(memory): enhance topic-based memory runtime on recalling and indexing 2026-04-18 22:28:40 +08:00
slhaf 92c8e01000 feat(memory): create prompts for submodules of memory selector 2026-04-18 19:19:05 +08:00
slhaf e0543a8966 refactor(communication): create prompts for summarizer, and optimize message structure 2026-04-17 23:16:20 +08:00
slhaf 0c079c127e chore: remove useless annotations on module 2026-04-17 18:09:40 +08:00
slhaf 96301dc64a refactor(action): use synchronized lock to prevent concurrent problems in executable actions executing 2026-04-17 18:05:04 +08:00
slhaf 3fd90c0f5b refactor(context): sort context blocks by descending 2026-04-17 16:01:50 +08:00
slhaf 8928ec9e07 feat(action): create prompts for submodules of ActionExecutor 2026-04-17 15:01:45 +08:00
slhaf 503afecbe2 refactor(action): redefine ExtractorResult structure to support openai sdk better, and make failed meta-action executing should be recorded as history normally 2026-04-16 23:27:46 +08:00
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