chengyongru
3548aec576
fix: use summary checkpoints for all compaction triggers ( #5694 )
...
* fix: exclude archived history after manual compaction
* refactor: share summary checkpoints across compaction paths
* fix: use summary checkpoints for every compaction trigger
* test: assert replay starts at the archived boundary
* fix: preserve nothing summaries without raw fallback
* test: assert compaction results positively
* test: verify checkpoint continuation after session reload
2026-09-08 13:16:45 +08:00
chengyongru
192e2e90dc
refactor(events): unify scoped runtime notifications across clients ( #5670 )
...
* refactor(events): unify scoped runtime notifications across clients
* style(tests): sort auto-compaction event imports
* refactor(events): scope connections and remove retry callback plumbing
* docs: remove runtime notification design write-up
* refactor(bus): route operation events through the message bus
* fix(channels): isolate outbound sends by destination
* style(events): group shared notification imports
* refactor(events): converge runtime and hook delivery on MessageBus
* test(events): migrate fixtures to unified message bus
2026-09-06 02:11:19 +08:00
Lanre Shittu
816a999cac
fix(sdk): preserve queued events on stream close
...
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com >
2026-09-03 16:47:23 +08:00
chengyongru
d81aa5a4ab
refactor(agent): let runner own context compaction ( #5568 )
...
* refactor(agent): consolidate accepted history under pressure
* fix(agent): align provider and session compaction
* refactor(agent): simplify runner context compaction
* refactor(agent): remove background token consolidation
* fix(agent): keep injected transcript messages distinct
* refactor(agent): unify native compaction summaries
* fix(agent): preserve native compaction boundary
* fix(agent): unify context compaction paths
* fix(agent): preserve exact compaction request boundaries
2026-09-02 18:05:54 +08:00
chengyongru
9895c23cb5
refactor(providers): define typed usage contract
2026-08-25 01:04:25 +08:00
chengyongru
9ef1e292ea
fix(session): preserve complete transcripts
2026-08-19 18:40:20 +08:00
Xubin Ren
2f19068eb0
fix(session): clear file state at deletion boundary
2026-08-15 23:49:20 +08:00
yu-xin-c
42afebb0cb
fix(agent): bound per-session file state
2026-08-15 23:49:20 +08:00
chengyongru
757ad9c764
refactor: enforce BasedPyright strict type checking ( #5158 )
2026-07-29 21:37:11 +08:00
chengyongru
ae7b4c8792
fix(sdk): narrow persisted turn callback API
2026-07-28 15:30:28 +08:00
chengyongru
c050955ae3
feat(sdk): add host integration extension points
2026-07-28 15:30:28 +08:00
chengyongru
c22efb5f7a
feat(agent): make model presets session-scoped ( #4866 )
2026-07-23 00:38:49 +08:00
KDB
d35f99abfc
fix(session): bound the in-memory session cache
...
Keep only 128 recently used sessions strongly cached while retaining weak references to evicted sessions still owned by active callers. This bounds idle memory growth without allowing duplicate live Session objects or skipping shutdown flushes.
Add LRU, lifecycle, SDK, and flush regression coverage.
Refs #4786
2026-07-18 17:37:07 +08:00
Xubin Ren
01e4f3762a
fix(agent): keep runtime context within its lifecycle
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
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
Xubin Ren
dbf3c4b245
feat(sdk): expand Python runtime controls
2026-06-21 16:55:23 +08:00