Move queued guidance persistence, shared delivery ownership and page/turn authorization into useQueuedPrompt. Keep draft input and feedback in ThreadComposer, preserving the existing v1 storage and regression assertions.
Separate capability dialog dismissal from save completion while retaining controller-owned drafts and visible errors.
Co-authored-by: QQQ300kuai <934795001@qq.com>
* 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): avoid remounting outgoing conversations
Reset subtask disclosure state within its session scope instead of keying the entire transcript before the stream message handoff. Cover the outgoing DOM lifecycle and disclosure reset with unit and browser regressions.
Resolves NAN-396
* fix(webui): reset transcript UI on message ownership changes
Keep the selected conversation separate from the owner of currently rendered messages. Reset the message subtree only when its owner changes, so cached and forked conversations get fresh UI state without remounting outgoing diffs.
Extend the history-only caller and cover cached fork activity isolation while retaining the outgoing-DOM regression.
* 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>
Handle tool activity, errors and result-body clicks at the task item while preserving selection, nested controls, image portals and detail focus. Remove the sticky-title workaround.
Refs NAN-369
Keep the current task header above its independently scrolled result, including code copy controls. Preserve selection, detail focus and reading position.
Refs NAN-364
* feat(webui): complete direct bang shell commands
Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.
NAN-291
* fix(clients): preserve literal shell output through display metadata
* fix(webui): crossfade theme changes as one page
* test(webui): align selection highlight motion checks
Follow the shared CSS transition contract instead of obsolete Tailwind utilities. Verify normal geometry easing and reduced-motion theme paint in the browser without changing accepted theme behavior or relaxing CI gates.