Commit Graph

158 Commits

Author SHA1 Message Date
428f133ac3 refactor(agent): introduce AgentBootstrap for startup wiring and simplify app launch 2026-04-30 22:12:04 +08:00
e66ed9e9c0 refactor(trace): move sink registration to TraceSink default methods and restrict registry APIs 2026-04-28 14:58:09 +08:00
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
94adf9a368 fix(openai-provider): add cached structured-output downgrade to prompt-only JSON fallback 2026-04-25 22:12:07 +08:00
dd5ab3aaf3 fix(openai-provider): generate and inject response-type JSON shape instruction for structured chat 2026-04-25 20:23:28 +08:00
878fe4dc10 refactor(action-planner): simplify tendencies state hint naming and always follow up on refused candidates 2026-04-25 13:17:23 +08:00
03bae6424e fix(openai-provider): ensure structured chat adds JSON instruction when missing 2026-04-25 00:11:57 +08:00
d4277aed33 chore(config-center): downgrade skipped reload deletion log from info to
debug
2026-04-24 23:08:58 +08:00
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
43c2c648ac refactor(framework): support inject Standalone module into Sub module 2026-04-21 09:05:51 +08:00
a64c8f6c97 feat(exception): trace exception log in LogExceptionReporter 2026-04-21 08:49:05 +08:00
a5cee79a8f fix(state): enable first-time state file save and block overwrites until explicit load 2026-04-20 22:40:39 +08:00
ac715602a6 refactor(gateway): print warn log while receiving invalid input 2026-04-20 15:36:23 +08:00
95a3f782e6 Merge branch 'codex-review-localrunnerclient-v2' 2026-04-20 14:06:03 +08:00
6ec3bfcc9b fix(model): correct deserialization behavior of model provider config 2026-04-19 18:52:57 +08:00
b4d6be849b fix(agent): run system exit after agent launch failed 2026-04-19 18:52:10 +08:00
a9e41eb4c7 fix(config): repair unexpected exiting in method initAll 2026-04-19 18:51:23 +08:00
eea72c747c fix(DirectoryWatchSupport): isolate handler failures 2026-04-19 17:31:36 +08:00
7ce7461f79 refactor(exception): correct exception report print message 2026-04-19 17:26:42 +08:00
bfa3562335 refactor(exception): optimize exception report behavior 2026-04-19 00:47:31 +08:00
9b24b662da chore: add slf4j log annotation on AgentModule implementations 2026-04-19 00:36:15 +08:00
41c611cb70 refactor(framework): support inject Standalone into Standalone modules 2026-04-19 00:34:45 +08:00
f510dc5a42 refactor(context): support wait a debounce delay before executing turn 2026-04-15 16:36:23 +08:00
d8ff0b5ea4 refactor(context): simplify constructor and inputs encoding of running flow context 2026-04-15 15:45:42 +08:00
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
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
737f9d122a feat(trace): support trace input/output information on Running/Sub AgentModule 2026-04-13 22:27:11 +08:00
e65d3302c6 feat(trace): support create advice for method with no return value 2026-04-13 21:57:10 +08:00
fece67135f feat(trace): support create loggable advice and implement common trace recorder 2026-04-13 21:39:42 +08:00
d30e58ff83 refactor(framework): centralize model exception reporting in ActivateModel and remove duplicated module-level handlers 2026-04-12 22:15:08 +08:00
e0f955694d refactor(framework): wrap module execution in Result and report failures via exception handler 2026-04-12 17:33:11 +08:00
c14e6f84e7 refactor(action-core): migrate action modules to Result return flow and unify exception reporting 2026-04-12 17:29:10 +08:00
19f56d11f0 refactor(framework): add Result chain APIs and align runtime exception handling 2026-04-12 16:58:36 +08:00
94d91d9746 feat(agent): support add custom configurable object in Agent launch flow 2026-04-11 21:07:50 +08:00
1b48e955bd refactor(core): migrate deprecated exceptions to new hierarchy and align tests 2026-04-11 16:10:34 +08:00
b8cb2afbcf refactor(framework): unify model invocation result and exception handling 2026-04-11 14:50:12 +08:00
3732555f02 refactor(framework): migrate startup chain exceptions to AgentException hierarchy 2026-04-10 22:39:59 +08:00
ec52d64e73 refactor(exception): register exception reporters on Agent launcher 2026-04-10 19:04:11 +08:00
7b963df991 refactor(exception): establish new exception system, and move the legacy into deprecated package 2026-04-10 18:41:13 +08:00
4876d621b2 将 .java 重命名为 .kt 2026-04-10 18:37:49 +08:00
663d66fdea chore: remove legacy exception handler and adjust runtime class location 2026-04-10 14:31:56 +08:00
d29dad4691 refactor(config): adjust declared config location 2026-04-09 17:28:23 +08:00
291371f8da chore: adjust reflect related util's location 2026-04-09 16:58:24 +08:00
3e5d6ebeb4 feat(runtime): support mask assigned modules; and remove legacy module record in agent context 2026-04-09 16:13:04 +08:00
56daaf0b60 refactor(agent): normalize Agent launch flow 2026-04-09 12:26:52 +08:00
d6593c10f9 refactor(agent): support register registry shutdown hooks while agent launching 2026-04-09 12:19:20 +08:00
1e46149d0a refactor(agent): remove legacy ConfigLoader and related factory; refactor agent launch flow 2026-04-09 10:35:13 +08:00
427d224f65 refactor(gateway): manage gateway implementions via related registry and interface 2026-04-08 22:24:07 +08:00
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
9aa793df8e feat(state): add StateCenter and related interface 2026-04-06 22:16:50 +08:00