* 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.
* fix(providers): preserve images across retries and recovery
Remove destructive text-only retries and validate tool image media at the boundary. Keep image identity across native transport preparation and compaction, and stop incomplete fallback or continuation without replaying tools.
Resolves NAN-442
* fix(models): route image input by preset capability
Replace the expanded image recovery and tool-format changes with an explicit supportsImages preset setting, capability-aware fallback selection, and an Image input switch in model settings. Keep original messages on retry and fail on actual non-transient image errors.
* docs(models): introduce image input settings positively
* test(agent): align image request fixtures with preset routing
Cover successful image requests and direct validation errors when attributing model responses. Configure the image-capability check for the existing text-only provider mocks so governance and override-reuse tests exercise their scripted primary/fallback paths.
* fix(webui): reconcile cross-session history by message ID
* fix(sessions): preserve target authority and input ownership
Resolve cross-session follow-ups through the target route, carry stable input IDs through admission and recovery, and associate live and replayed answers with the inputs actually consumed.
Keep ordinary input scope isolation and omit historical anomaly repair. Resolves NAN-430.
* fix(sessions): complete input identity integration across boundaries
Carry input identity explicitly in projected input events, keep runner annotations out of public history, and reuse the canonical WebUI session parser during recovery.
Type validated recovery metadata and align existing channel and subagent regressions with explicit response ownership. All nine failed compatibility cases and adjacent recovery coverage pass in a focused 58-test run.
* fix(sessions): unify input recording and block remote commands
* fix(webui): keep input ownership checks page-bounded
Look up referenced inputs through the existing identity index before invoking transcript backfill. Complete pages no longer scan the full prompt history, including answers whose inputs live on earlier pages.
Cover cold-cache pagination and cross-turn ownership in existing regressions. Focused pagination, replay and follow-up recovery checks: 88 passed.
* fix(webui): preserve response ownership during history replay
* fix: resolve strict typing in response replay
* fix: preserve continuation ownership during recovery
* test: diagnose stuck gateway asyncio shutdown
* test: retain gateway thread stack diagnostics
* test(webui): stabilize native autoscroll browser setup
* fix(webui): stream model status and usage during active turns
* fix(webui): keep live rounds and active-run status consistent
* fix(webui): reuse existing run indicators without extra status text
* fix(webui): preserve live activity and batch durable delivery
Cancel and drain sibling tools when progress notifications fail, retain balanced checkpoints, and keep model telemetry separate from answer provenance.
Group-commit already queued activity at the channel delivery boundary while preserving FIFO, generation ownership, per-envelope admission, and commit-before-fanout semantics. Isolate invalid members without dropping valid neighboring events.
Retain tool detail lazy grouping and cover scheduling, cancellation, persistence, encoding failures, and projection regressions.
* test(webui): separate standard-library imports in batch regression
* test: tighten live execution checks and clarify contracts
* refactor: remove redundant live execution comments
* refactor: settle tool results through one output path
* fix(webui): keep saved topics bound to their project
Lock the project as soon as the session exists, independently of loaded history. Validate both explicit updates and message admissions against the persisted directory while retaining same-project permission changes.
Related to #6505.
Co-authored-by: Xiaoyu-hub <17346801517@163.com>
* test(agent): retain goal shutdown failure stacks
Use the existing stop_loop diagnostic without changing the five-second teardown deadline or the goal assertions. The Windows failure on #6509 reached session shutdown but did not capture its worker stacks.
* test(cron): await rearm tick completion instead of disk timing
The Windows run completed the first and last jobs correctly, but rescheduling took over three seconds inside a two-second timeout. Await the original timer task, detect an early exit before callback entry, and preserve job-order, cancellation, persistence and rearming assertions. Keep real disk writes and all parameterized cases.
Also place the goal-shutdown diagnostic import in the existing first-party group.
---------
Co-authored-by: Xiaoyu-hub <17346801517@163.com>
* feat(webui): add a compact composer workspace toolbar
* refactor(webui): simplify composer workspace access control
* feat(webui): add a draggable workspace access capsule
* refactor(webui): simplify composer permission controls
* fix(webui): align mobile workspace permissions and stabilize CI test
Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback.
Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers.
This code integration does not publish packages, enable signing or advance the public update channel.
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
* feat(webui): expand MCP service presets
* refactor(webui): load MCP presets from JSON
Validate and package the static service catalogue while preserving existing preset definitions. Pass Redis connection URLs through the official CLI option to retain target, TLS, database, and credential settings.
* docs(mcp): include all built-in service presets
* feat(webui): improve model and provider settings UX
* refactor(webui): organize provider forms and model picker interactions
* fix(webui): separate OAuth credentials from provider configuration
* fix(webui): stabilize shared combobox navigation
* refactor(config): store provider connections as sparse entries
* fix(webui): preserve provider validation and isolate catalog tests
* refactor(config): manage explicit provider connections
* refactor(webui): decouple settings UX from provider removal
* fix(webui): select current combobox options during rapid input
* feat(webui): refine model preset and provider management
* style(webui): refine preset footer actions
* fix(webui): align model settings with responsive layout rules
* refactor(webui): finalize preset dialogs and simplify provider state
* fix(webui): keep fallback heading stable while sorting presets
Animate card dimensions without changing layout height and keep the section heading outside sortable cards. Remove proxy normalization from this PR.
* docs: update WebUI model and provider setup instructions
* docs: start model setup from new preset
* docs: remove duplicate WebUI model setup instructions
* feat(webui): invite returning users to star nanobot
* fix(webui): place About Star link in settings list
* fix(webui): use neutral About repository label
* fix(webui): add localized Star link to About footer
* fix(webui): align Star invitation with existing dialog styling
* fix(webui): shorten and localize Star invitation copy
* fix(webui): skip Star invitation after user interaction
* fix(webui): align Star invitation meaning across locales
* fix(webui): clarify Star reminder dismissal errors
Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>