* 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.
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.
* 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.
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.
* 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