chengyongru
ef9e687f19
refactor(core): remove redundant runtime scaffolding ( #5127 )
2026-07-28 11:07:58 +08:00
chengyongru
c13df29457
feat(memory): restore Dream model preset override ( #5107 )
2026-07-27 14:43:25 +08:00
chengyongru
39348dfafe
refactor(agent): remove dead lifecycle scaffolding
2026-07-27 12:00:06 +08:00
Andrew Khmylov
7aab7e8830
feat(agent): make idle compaction scan interval configurable
...
Before this change, idle compaction is triggered every 1 second
if the incoming message stream is idle.
When triggered, it enumerates all session files, loads and parses them,
and then checks their expiration.
This becomes too CPU-intensive, especially on low-power devices like Raspberry Pi.
It's unlikely that you actually need to compact every second over the long time.
This change adds a configurable throttling for idle-compaction.
Default behavior is unchanged.
2026-07-27 02:15:48 +08:00
chengyongru
e6baecafcd
fix(agent): close length recovery lifecycle gaps
2026-07-27 01:39:46 +08:00
chengyongru
27a00c7a4f
fix(webui): merge length recovery stream segments
2026-07-27 01:39:46 +08:00
Xubin Ren
5d8046deef
test(heartbeat): cover ignored unified routes
2026-07-27 00:12:44 +08:00
yu-xin-c
a7a6c26eab
fix(heartbeat): route unified sessions to last channel
2026-07-27 00:12:44 +08:00
yu-xin-c
eb93060f95
fix(agent): preserve pending runtime context
2026-07-26 23:46:54 +08:00
chengyongru
9aab94c766
Revert "fix: preserve pending message runtime context"
...
This reverts commit cad368f585 .
2026-07-24 14:47:50 +08:00
hamb1y
cad368f585
fix: preserve pending message runtime context
2026-07-24 12:28:13 +08:00
chengyongru
aae259c790
feat(webui): simplify model preset settings ( #5061 )
2026-07-24 00:55:06 +08:00
chengyongru
5f054c0e74
fix(agent): deliver non-streamed finalization responses
2026-07-23 13:16:47 +08:00
chengyongru
c22efb5f7a
feat(agent): make model presets session-scoped ( #4866 )
2026-07-23 00:38:49 +08:00
chengyongru
66690fdb0c
fix(webui): deliver late subagent results as new turns ( #4992 )
2026-07-22 23:04:36 +08:00
Xubin Ren
aa8387fb4d
feat(webui): polish agent output and app discovery
2026-07-22 22:42:31 +08:00
chengyongru
3748f664b2
feat(config): watch runtime configuration changes ( #5026 )
2026-07-22 13:08:39 +08:00
hamb1y
a9867a5a4e
fix: quarantine invalid tool results
2026-07-22 01:59:09 +08:00
KDB
8981995474
fix(exec): clean up sessions on shutdown
2026-07-21 13:48:51 +08:00
KDB
7cf3c71e3a
fix(session): cap messages at persistence boundary
...
Bind SessionManager saves to the existing raw archive path so SDK imports and other bypass saves cannot persist more than the file cap without archiving unconsolidated overflow.
Add an SDK regression test that exercises the real ingest path.
Refs #4787
2026-07-21 13:47:18 +08:00
chengyongru
9db0d9f3c9
refactor(agent): unify internal turn lifecycle ( #4993 )
2026-07-21 00:14:27 +08:00
adabarbulescu
d4f5abe004
fix: preserve real cancellation in MCP paths
2026-07-18 17:36:35 +08:00
yu-xin-c
995cc44e89
fix(exec): isolate exec session managers
2026-07-18 17:35:56 +08:00
chengyongru
5794d481c3
refactor(agent): remove MCP runtime context provider
2026-07-12 00:35:17 +08:00
chengyongru
2eb7398f34
fix(agent): close runtime context persistence gaps
2026-07-12 00:35:17 +08:00
chengyongru
f75d3519db
feat(agent): add persistent runtime context providers
2026-07-12 00:35:17 +08:00
chengyongru
7f8c3453e1
refactor(agent): gate sustained goals behind explicit /goal
...
Replace the legacy long-goal skill contract with command-scoped goal tools and runtime guidance. Keep goal state durable across continuations while restricting create and replace mutations to explicit user /goal turns.
2026-07-12 00:35:17 +08:00
Xubin Ren
edf78e7054
fix(mcp): keep transport cleanup in owner tasks
2026-07-11 11:45:20 +08:00
flyzstu
f3d1b9ca2d
fix(mcp): defer stale stack cleanup during reconnect
2026-07-11 11:45:20 +08:00
chengyongru
21f58cbabf
refactor(agent): make resolver sole runtime owner
2026-07-10 17:54:34 +08:00
chengyongru
c9d3e74342
refactor(agent): require runtime for consolidation
2026-07-10 17:54:34 +08:00
chengyongru
af85c356b8
refactor(agent): capture subagent runtime before spawn
2026-07-10 17:54:34 +08:00
chengyongru
198fd9f869
refactor(agent): capture runtime at turn admission
2026-07-10 17:54:34 +08:00
chengyongru
b4f069800e
refactor(agent): make runner consume required runtime
2026-07-10 17:54:34 +08:00
chengyongru
cb03d2c748
refactor(agent): snapshot generation without provider mutation
2026-07-10 17:54:34 +08:00
chengyongru
42d7ad34a4
refactor(agent): unify request context routing
2026-07-10 17:54:34 +08:00
chengyongru
bb3b449e09
refactor(agent): capture original user text per turn
2026-07-10 17:54:34 +08:00
chengyongru
8559458258
refactor(agent): add turn hook factories
2026-07-08 21:02:12 +08:00
chengyongru
a52a88455b
refactor(agent): extract turn hook assembly
2026-07-08 21:02:12 +08:00
chengyongru
3f33ff3143
chore: remove unused dead code
2026-07-07 15:41:27 +08:00
chengyongru
34535b4e7c
fix(webui): hide subagent backfill payloads
2026-07-02 14:36:23 +08:00
chengyongru
acb0e853ff
refactor(trigger): share automation turn delivery
2026-07-02 13:32:46 +08:00
chengyongru
f32007c83f
fix(trigger): defer local triggers until session idle
2026-07-02 13:32:46 +08:00
chengyongru
55b550ee01
fix(trigger): hide external trigger inputs
2026-07-02 13:32:46 +08:00
chengyongru
5f4cfbcb16
refactor(bus): type outbound runtime events
2026-07-01 20:17:00 +08:00
chengyongru
4726ca0478
fix(restart): add explicit restart mode
2026-06-30 15:21:14 +08:00
chengyongru
57f0c859fc
refactor(context): trim replay cap plumbing
2026-06-29 14:23:55 +08:00
chengyongru
40282e3b74
fix(context): scale replay cap with context window
2026-06-29 14:23:55 +08:00
chengyongru
dacc699293
fix(config): retire max messages setting
2026-06-29 14:23:55 +08:00
chengyongru
c8638dee46
fix(context): raise max messages fallback cap
...
Treat max_messages as a last-resort replay guard now that consolidation and idle auto-compact own normal history reduction. Raising the default avoids frequent sliding-window prefix churn in moderate conversations without adding a new cache-policy knob.
2026-06-29 14:23:55 +08:00