Commit Graph
823 Commits
Author SHA1 Message Date
slhaf 2a8b2aff7b test(onebot): add test class for OneBot adapter 2026-05-02 16:32:49 +08:00
slhaf afb896e6db refactor(context): support assign response channel while running flow context creating 2026-05-02 16:32:25 +08:00
slhaf 2b575df3f9 fix(agent): add url class loader to support load external modules 2026-05-02 00:36:34 +08:00
slhaf db18c818ac chore(pom): add kotlin-maven-plugin setup 2026-05-02 00:16:19 +08:00
slhaf 973875b2e7 feat(onebot): add OneBot v11 reverse websocket adapter 2026-05-02 00:02:22 +08:00
slhaf 018b524be3 refactor(gateway): remove unused abstract methods 2026-05-01 22:09:16 +08:00
slhaf 843549dadf chore(gateway): update log output in websocket gateway 2026-05-01 21:43:40 +08:00
slhaf 32f0c5c6a8 feat(pom): add Partner-Onebot-Adapter module and Maven config 2026-05-01 21:11:40 +08:00
slhaf dd31f6a20d chore(idea): update project dictionary and encodings 2026-05-01 21:11:13 +08:00
slhaf 178c5138f7 refactor(gateway): remove duplicate response channel register 2026-05-01 21:10:13 +08:00
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