* 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
Avoid cancelling the caller when /new runs on the session worker, while preserving its task and queue ownership. Continue cancelling other session work normally.
Co-authored-by: pxbfeiniao <32089198+pxbfeiniao@users.noreply.github.com>