chengyongru
8f6a5594fb
refactor(session): centralize state ownership in SQLite ( #5943 )
...
* fix(session): move persistence off event loop
* refactor(session): isolate async persistence boundary
* refactor(session): keep a single session manager
* refactor(session): use stateless async adapters
* fix(session): serialize local persistence without file-lock contention
* refactor(session): own async persistence and snapshot commits
* refactor(session): narrow persistence changes to async adapters
* refactor(session): remove redundant async forwarding helpers
* fix(command): offload compact session persistence
* fix(session): adapt idle compaction to current main
* fix(webui): offload session metadata persistence
* refactor(session): centralize state ownership in SQLite
* fix(session): skip storage for non-recoverable followups
* test(webui): honor the full gateway event deadline
* perf(session): persist incremental changes and reuse owner snapshots
* test(agent): allow durable worker shutdown in burst test
* fix(gateway): drain session storage on Windows console shutdown
* fix(session): enforce bounded ownership and lifecycle-safe persistence
* fix: reject unresolved home paths and stabilize platform tests
* fix(session): preserve request context compatibility and owner-backed tests
* docs: focus configuration guide on user-facing behavior
* fix(session): adapt goal admission to async ownership after rebase
* fix(session): integrate current gateway and subagent contracts
* fix(session): align rebased workspace admission and async tests
* fix(session): support compatible SQLite schema evolution
* test(agent): use session owner in workspace context regressions
* test: stabilize Windows lifecycle and browser checks
* refactor(session): remove premature JSONL file export
* ci: bound Windows full-suite worker concurrency
* chore: remove session state refactor notes
* fix(session): queue writes and retain worker connections
* perf(webui): read detached metadata for session and task lists
* perf(agent): bound prompt preparation and local token counting
* docs: remove internal session storage guide
* perf(session): skip archived transcripts during idle scans
* fix(session): coordinate turns and isolate legacy session data
Bind WebUI input generations to the execution session and serialize idle
and SDK compaction with turns. Keep turn drafts through preparation so the
latest channel route persists.
Move imported workspace JSONL and checkpoints to durable private backups
before gateway admission, resuming cleanup after interruptions. Remove
committed child sessions when task creation is cancelled.
Validation: focused Python and frontend regressions, Ruff, BasedPyright,
import boundaries, WebUI build, and isolated gateway/browser flows.
* fix(agent): keep cancellation hooks independent of prompt preparation
* fix(session): preserve admission, delivery, and migration contracts
* fix(agent): preserve cancellation settlement after rebase
* fix(session): preserve request attribution through async ownership
2026-10-16 17:28:47 +08:00
Xubin Ren
1d69f630d7
fix(agent): provide current workspace access before model requests
2026-10-11 17:06:39 +08:00
chengyongru
5be1e589f2
feat(providers): share Responses backend with Codex WebSocket continuation ( #6096 )
...
* feat(codex): continue sessions over Responses WebSocket
* fix(codex): retain API errors with repeated handshake headers
* test(codex): assert attachment paths before JSON escaping
* refactor(providers): share Responses transport and state backend
* fix(grok): update subscription client version
* docs: keep Codex configuration focused on user settings
2026-10-08 11:54:23 +08:00
chengyongru
6ff96f2a8f
feat(subagent): add session-owned task messaging and cancellation ( #5985 )
...
let's go!
2026-10-05 05:16:33 +08:00
Kail Tian
f2737ae813
fix(agent): preserve explicitly empty tool registries
2026-10-02 23:52:09 +08:00
Xubin Ren
d37d7c07c0
fix(agent): redact private recovery and reconnect diagnostics
2026-09-21 15:24:38 +08:00
Xubin Ren
2640251076
fix(agent): respect temporary chat privacy in tool execution
2026-09-21 15:24:38 +08:00
chengyongru
b669c2036c
refactor(agent): unify session message admission
2026-09-17 22:18:38 +08:00
chengyongru
73410e0217
fix: stream internal model calls with idle timeouts ( #5730 )
...
* fix: stream internal model calls with idle timeouts
* fix(providers): reject streams without terminal events
2026-09-11 13:06:43 +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
yu-xin-c
42afebb0cb
fix(agent): bound per-session file state
2026-08-15 23:49:20 +08:00
chengyongru
19997d20bb
refactor: move MCP lifecycle out of AgentLoop ( #5343 )
2026-08-12 17:51:04 +08:00
Xubin Ren
c410ea444c
fix(agent): stop session-owned exec processes
2026-08-08 23:20:59 +08:00
chengyongru
a5bc3bfbb9
fix(webui): complete temporary chat mode
2026-08-08 23:20:59 +08:00