chengyongru
0f45d74fec
feat(webui): add session-scoped reasoning effort ( #6441 )
...
* feat(webui): add session-scoped model options
Extend the composer preset menu with inherited reasoning effort and Codex Fast mode overrides. Persist choices with ordinary inputs, isolate captured runtimes, and restore browser preferences without changing shared presets.
Add regression coverage for pending preset ordering, settings initialization, session and host isolation, queue edits, Codex request mapping, and narrow-screen controls.
* feat(webui): refine session model options and add Codex Ultrafast
Fit the composer options into a compact single row and preview reasoning effort only during a drag. Add Fast/Ultrafast controls for eligible Codex models, preserve explicit session choices across reloads, and document the speed tiers.
* fix(webui): add Codex speed control to the component gallery
* fix(webui): preserve saved model options after preset rename
Use the session options for display when a browser preference no longer matches the preset. Omit model options from the next message unless the browser has a matching choice, so stale preferences cannot overwrite options the gateway already saved.
2026-11-18 15:46:16 +08:00
chengyongru
a4d2430140
refactor: remove redundant comments and docstrings ( #6527 )
...
* refactor: remove redundant comments and docstrings
* fix(signal): annotate async context manager as a generator
2026-10-30 13:07:03 +08:00
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
chengyongru
3d4200ff0d
refactor: remove expired write_stdin compatibility
2026-09-20 13:22:41 +08:00
chengyongru
3495281282
test: remove obsolete nonexistence checks
2026-09-05 23:58:38 +08:00
chengyongru
5cf78540a4
fix(agent): wait for exec sessions without polling ( #5526 )
2026-08-25 14:46:02 +08:00
Xubin Ren
12029f8812
feat(runtime): add user-controlled turn recovery
2026-08-24 00:58:04 +08:00
chengyongru
9ef1e292ea
fix(session): preserve complete transcripts
2026-08-19 18:40:20 +08:00
Xubin Ren
6301c0ab57
feat(tui): unify session history and context
2026-08-17 20:56:10 +08:00
Xubin Ren
0a6ee1c539
fix(models): preserve preset rename compatibility
2026-08-16 11:50:56 +08:00
dajiaohuang
057c5e849b
fix(session): restore state when file-cap archive fails
2026-08-14 11:22:22 +08:00
chengyongru
ad6900e56c
refactor(session): separate persistence behind SessionStore ( #5170 )
2026-07-30 11:51:13 +08:00