Commit Graph
992 Commits
Author SHA1 Message Date
Xubin Ren 4e36dcc7c6 fix(webui): honor live reduced-motion changes in activity preview 2026-11-14 14:37:30 +08:00
Xubin Ren 83ad917d6b feat(webui): show the latest activity in collapsed turns 2026-11-14 14:37:30 +08:00
chengyongru 5e9810c1ad fix(webui): scope remote health checks to visible demand (#6657)
* fix(webui): scope remote health checks to visible demand

* fix(webui): simplify demand-driven health polling
2026-11-14 00:32:10 +08:00
chengyongru ce3f36983d feat(webui): stabilize session transitions and goal presentation
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.
2026-11-13 23:37:07 +08:00
chengyongru e65bec9a6e feat(cli): allow isolated WebUI dev ports 2026-11-13 23:37:07 +08:00
chengyongru e2c4727dc8 fix(webui): disambiguate easing utilities 2026-11-13 22:42:51 +08:00
chengyongru de9cce45b4 fix(webui): clarify command session activity 2026-11-13 22:30:27 +08:00
chengyongru c80ae65746 fix(webui): soften welcome mark hover outline 2026-11-13 22:06:53 +08:00
chengyongru b944748f52 fix(webui): align quoted message corner radius 2026-11-13 21:52:10 +08:00
chengyongru 3f65a8f86c fix(models): route image input by preset capability (#6651)
* 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.
2026-11-13 18:16:58 +08:00
chengyongru 6a24b17629 feat(webui): refresh the empty chat welcome (#6650)
* feat(webui): refresh the empty chat welcome

* fix(webui): keep empty chat accessible in split panes

* chore(webui): remove unused fixture test id
2026-11-13 17:12:18 +08:00
chengyongru c7a1eb910d fix(webui): prevent single-dollar math from crossing code spans (#6646) 2026-11-13 14:04:05 +08:00
chengyongru 25ed91ffeb refactor: drop unreferenced dead code
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.
2026-11-12 22:54:51 +08:00
chengyongru eb8546c321 perf(subagent): read saved task history by loaded turns (#6634) 2026-11-12 21:37:08 +08:00
chengyongru e6b23c7356 feat(webui): show the full token-usage picture in settings (#6638) 2026-11-12 18:13:06 +08:00
chengyongru b49218b6a3 fix(webui): avoid phantom reasoning on empty streams 2026-11-12 17:34:07 +08:00
chengyongru c3403e6a6f fix(webui): reorder appearance settings and trim preview 2026-11-12 17:23:14 +08:00
chengyongru 0ce10533d3 fix(webui): preserve session caches during history revalidation (#6636) 2026-11-12 16:08:48 +08:00
chengyongru 1046a37be1 fix(webui): correlate chat requests and cancel stale reconnects (#6617)
* fix(webui): correlate chat requests and cancel stale reconnects

* refactor(webui): remove chat request capability negotiation

* docs(webui): clarify version pairing and cover HTTP startup

* test(webui): focus lifecycle coverage and clarify support policy
2026-11-12 14:44:38 +08:00
chengyongru c37af82e3f fix(webui): keep completed subagent results with loaded prompts (#6630) 2026-11-12 10:34:57 +08:00
Xubin Renandchengyongru e6b0aec2a8 refactor(sessions)!: retire the global shared session (#6621)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-12 09:55:55 +08:00
chengyongru 28d73b6942 perf(webui): streamline model preset saves (#6631)
* perf(webui): streamline model preset saves

* fix(webui): type optional settings usage payload
2026-11-11 22:02:42 +08:00
chengyongru 3c61bcfdf0 fix(webui): preserve oversized turn history with record pagination (#6586) 2026-11-11 17:32:47 +08:00
Xubin Renandchengyongru 5c1083df7f refactor(config)!: retire the old OpenAI API selector (#6615)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-11 17:07:18 +08:00
chengyongru e3a1af2ed3 fix(webui): add a close control to the expanded context panel (#6629) 2026-11-11 17:06:45 +08:00
chengyongru 394a78e82d fix(sessions): preserve cross-session input ownership and history (#6613)
* 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
2026-11-11 10:46:44 +08:00
chengyongru 62c05e7f7e test(ci): isolate flaky scenarios and retain failure diagnostics (#6622)
* test(ci): isolate HTTP stubs and retain failure diagnostics

* test(agent): scope compaction watchdogs to each phase

* test(webui): isolate settings skeleton scenarios

* test(webui): await rendered rail content before scroll checks
2026-11-10 13:53:51 +08:00
Xubin Ren 220d5e6970 refactor(api)!: remove the standalone API server (#6614) 2026-11-10 10:46:14 +08:00
chengyongruandovo-agentx 5c72ced2fe fix(webui): respect middle-click autoscroll (#6612)
* 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>
2026-11-09 18:34:48 +08:00
chengyongru bbbc5329bb fix(webui): preserve pasted paths when attachment detection fails (#6610) 2026-11-09 14:07:15 +08:00
chengyongruandchengyongru 9257383bec refactor: remove unreachable internal code paths
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-11-09 13:38:39 +08:00
chengyongru 4212ad726d fix(webui): retain system context graph after compaction (#6608) 2026-11-09 13:20:46 +08:00
chengyongru d789e1bfc7 fix: preserve delivery failures across channel boundaries 2026-11-09 11:41:57 +08:00
chengyongru f62dfe0ee8 fix(webui): show latest button for hidden content (#6605)
* fix(webui): show latest button for hidden content

* fix(webui): preserve latest navigation after focus scroll
2026-11-09 10:56:26 +08:00
Xubin Ren 1e2dc02fa2 test(webui): capture native theme crossfades at readiness 2026-11-08 16:32:20 +08:00
Xubin Ren 44d567e37c fix(webui): name the gateway sandbox launcher in setup guidance 2026-11-08 14:29:46 +08:00
Xubin Ren f5e5bd6ea0 feat(webui): guide sandbox launcher recovery from chat 2026-11-08 14:29:46 +08:00
Xubin Ren fb159257cb fix(settings): validate host canary integrity across sandbox backends 2026-11-08 14:29:46 +08:00
Xubin Ren a666948509 fix(settings): align sandbox loading layouts for old and new hosts 2026-11-08 14:29:46 +08:00
Xubin Ren 89c1bb1eac docs(settings): state disposable sandbox probe scope 2026-11-08 14:29:46 +08:00
Xubin Ren ff08961efe fix(settings): explain inherited file restrictions when disabling sandbox 2026-11-08 14:29:46 +08:00
Xubin Ren 5b84b78cac feat(settings): check sandbox launchers and configure protected paths 2026-11-08 14:29:46 +08:00
Xubin Ren 5888791dc3 style(webui): remove decorative ambient glow 2026-11-07 23:19:32 +08:00
Xubin Ren 3d4d630c0a fix(webui): refine night cat with a fitted cap 2026-11-07 23:19:32 +08:00
Xubin Ren 9673c1ea8f fix(webui): restore permission focus before immediate Escape teardown 2026-11-07 23:19:32 +08:00
Xubin Ren 9c583d7924 test(webui): model context sidebar exit in shell integration 2026-11-07 23:19:32 +08:00
Xubin Ren e8544a79a6 feat(webui): refine day-night themes and interaction continuity 2026-11-07 23:19:32 +08:00
chengyongruandovo-agentx 12c7d116a0 fix(webui): follow browser language on first visit (#6591)
Co-authored-by: ovo-agentx <351813579+ovo-agentx@users.noreply.github.com>
2026-11-07 00:46:09 +08:00
chengyongru 0ee302253f fix(webui): close context sidebar for new conversations 2026-11-06 23:23:05 +08:00
chengyongru 94bfd3ff7d perf(webui): reduce file activity layout work (#6587) 2026-11-06 23:21:48 +08:00