Separate named completion facts from history adoption, preserve newer and anonymous activity, and keep one mounted whole-snapshot adopter. Unify explicit-ID lifecycle/content closure without discarding uncovered content.
Cover the real client/hooks reconnect and selection races, await asynchronous browser fixture startup, and retain current-policy bounded TLC models and missing-evidence limits. Archive historical/candidate verification separately.
* fix(webui): wrap long inline code in plain paragraphs
Keep long single-line inline code inside top-level paragraphs flowing with surrounding text while preserving consecutive spaces and tabs.
Apply the same whitespace preservation to short inline code in those paragraphs. Lists, quotes, headings, tables, and multiline code blocks retain their existing behavior.
Refs #6662
* test(webui): load code-wrapping renderer lazily
Keep the shared fixture from eagerly loading MarkdownTextRenderer, so history-boundary tests can defer it without blocking page navigation.
Refs #6662
* fix(webui): keep history loading until content is ready
* fix(webui): preserve history content and retry state
Share final activity filtering with history readiness and retain completion and fork metadata across bookkeeping pages. Route boundary retries to the failed cursor and publish navigation pages synchronously so concurrent trace details are preserved. Cover real retry gestures, metadata traversal, batched details, and fork boundaries in both directions.
* fix(webui): reduce history admission work and release retry pages
Keep the composer stable during interruptible session changes. Move active and blocked goals into the header with localized gallery previews, and preserve focus when overlays close. Include the reviewed navigation, layout and accessibility fixes.
* 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): respect middle-click autoscroll
Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>
* fix(webui): arbitrate scrolling from actual viewport movement
Remove the middle-button gesture model. Attribute actual viewport movement at
the camera write boundary so native scrolling yields ownership without
predicting browser gesture state or nested scroll targets. Exclude layout
clamping, preserve application navigation, and reconcile pending scrolls before
geometry, animation, or history-anchor writes can overwrite them.
Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>
---------
Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>
* 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.