* fix(webui): restore startup flow while keeping recovery batching
Keep the two restart recovery scans from #6708. Withdraw the browser preload and launcher changes until they can be measured independently against the Windows first-send regression.
* fix(webui): skip graph layout measurement in reduced motion
A zero-duration shared layout still measured the panel while the 500-node graph was mounting. Disable the shared-layout link in reduced motion and start the browser budget after the initial graph paints. Keep the existing 150ms limit and all 500 node checks.
* feat(webui): expand long drafts and refine chat scrollbars
* test(webui): synchronize browser setup and isolate locale cases
* test(webui): wait for the About fixture before measuring layout
* fix(webui): make action feedback easier to notice
* fix(webui): preserve undo and report confirmed action results
* refactor(webui): trim toast preview and redundant coverage
* test(webui): advance the undo window for the last topic deletion
* 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(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.
Every removed symbol has no reference anywhere in the tree (Python AST and
TypeScript identifier scans over all tracked files, including tests, docs,
WebUI/TUI clients, and JSON/YAML data):
- nanobot/webui/settings_api.py: four aliases with no importer and no
in-module use; the helpers that tests still import stay.
- nanobot/sdk/types.py: snapshot_from_payload had no caller since session
restore moved to snapshot_from_session.
- nanobot/session/jsonl_migration.py: INTRODUCED_VERSION and
LAST_SUPPORTED_RELEASE_LINE duplicated the module docstring.
- nanobot/providers/transcription.py: StepFunTranscriptionProvider._DEFAULT_URL
was superseded by _resolve_stepfun_asr_url.
- nanobot/channels/whatsapp_agent/protocol.py: CODE_MISSING_AUTH is neither
exported nor compared; validation still checks the wire value 190.
- webui/src/lib/canonical-run-snapshot.ts: canonicalRunSnapshot had no caller.
- webui/src/components/icons/product-icons.tsx: SendIcon and RunningTaskIcon
are not rendered anywhere.
- webui/src/components/thread/AgentActivityCluster.tsx: drop an unused
isAgentActivityMember re-export and its import.
- webui: drop the unused micromark-util-decode-string dependency.
Framework-dispatched code (Typer commands, pydantic validators, pytest hooks
and fixtures, channel runtime classes, ast visitor hooks) was excluded from
the scans, so the change removes only code nothing references.