* refactor(webui): unify code and diff highlighting
Replace Prism with shared Highlights tokens and Pierre read-only diffs, retaining rare grammars through lazy Shiki and preserving source, copy, preview and diff controls.
Restore single-session Composer ownership inside the conversation column while retaining the shared multi-pane footer. Keep the measured large-diff scroll regression explicit during review.
* fix(webui): contain highlighting errors and retain diff selections
Refs NAN-343
* test(webui): align pane fixtures after main rebase
* chore(webui): update highlighting dependencies
Keep grammar fallback coverage on a language that still requires Shiki, and align reading-size assertions with main.
* 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): preserve file edit stats and truncate paths from start (NAN-332)
* fix(webui): remove redundant collapsed diff line totals
* fix(webui): include full paths in image edit hints
* fix(webui): clarify Chinese copy and channel field guidance
* fix(webui): complete concise copy across all locales
* fix(webui): limit copy rewrite to existing strings
Localize frontend-owned activity presentation while preserving raw tool data and current controls. Include locale-aware model memoization and integration with current main.
Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
Replace the dense automation workspace with a calm list and on-demand details, show current linked-chat titles, and remember manual system-task expansion preferences.
Reuse disclosure transitions across expandable controls, preserve drafts and focus through closing, and release large diffs after their exit animation.
Refs NAN-116
Batch stream deltas, window long transcripts, lazy-load syntax highlighting, and refine activity/composer interactions.
Add title refresh retries plus tests for streaming, windowing, code blocks, and live activity behavior.