Commit Graph
1024 Commits
Author SHA1 Message Date
chengyongru db430df3f6 fix(webui): style focus after sidebar topic rename (#6710) 2026-11-18 22:56:37 +08:00
chengyongru 273582916b perf(webui): batch startup recovery and authenticate before React (#6708) 2026-11-18 22:47:44 +08:00
Xubin Ren 9652302324 fix(webui): allow public WebSocket URLs with existing SSH 2026-11-18 20:15:13 +08:00
Xubin Ren b18ca98aff fix(webui): run SSH probes on Windows hosts with python 2026-11-18 20:15:13 +08:00
chengyongru d1e1d7bc5e fix(webui): keep the reasoning slider visible while levels load (#6707) 2026-11-18 18:28:01 +08:00
chengyongru f6f49ccca5 fix(webui): scroll search and archive with sidebar topics (#6706) 2026-11-18 17:46:55 +08:00
chengyongru 7e04670461 fix(webui): round Codex speed controls to match the reasoning slider (#6703) 2026-11-18 16:44:27 +08:00
chengyongru 9ccf3b6214 fix(webui): make action feedback easier to notice (#6702)
* 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
2026-11-18 16:10:02 +08:00
chengyongru 0f45d74fec feat(webui): add session-scoped reasoning effort (#6441)
* 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.
2026-11-18 15:46:16 +08:00
chengyongru 2b232c9133 feat(webui): unify the Apps catalog (#6700)
* feat(webui): unify the Apps catalog

* fix(webui): serve all channel branding locally

* fix(webui): refine Apps navigation and sidebar
2026-11-18 15:05:57 +08:00
chengyongru 53a556585e fix(webui): settle completed turns across reconnect paths
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.
2026-11-17 17:59:01 +08:00
chenz 9e499ad539 fix(webui): settle completed turns when fencing canonical history 2026-11-17 17:59:01 +08:00
chengyongru 966ed5e0bd fix(webui): refine reasoning shell activity copy across locales (#6689) 2026-11-17 17:22:25 +08:00
chengyongru b77e9592af fix(webui): separate agent plugins from CLI apps (#6687)
* fix(webui): separate agent plugins from CLI apps

* fix(webui): preserve plugin payload row typing
2026-11-17 15:20:55 +08:00
chengyongru e767174450 fix(webui): open ready apps by default (#6685)
* fix(webui): open ready apps by default

* test(webui): select apps when checking catalog cache
2026-11-17 11:21:26 +08:00
chengyongru 7782095a85 perf(ci): speed up full WebUI regression gates (#6684)
* perf(ci): speed up full WebUI regression gates

* perf(ci): balance browser shards with measured hosted timings
2026-11-17 10:26:45 +08:00
chengyongru e91906bc3a feat(webui): support custom background images (#6674) 2026-11-16 22:08:55 +08:00
chengyongru 92d23d2d2b feat(webui): anchor prompts while replies stream (#6679) 2026-11-16 17:58:49 +08:00
chengyongru d3bb330f57 fix(webui): preserve goal background without property registration 2026-11-16 11:13:52 +08:00
chengyongru 4ebd75623f fix(webui): preserve inferred file reference text (#6672) 2026-11-15 20:30:07 +08:00
chenz 2c669935a5 fix(webui): wrap long inline code in plain paragraphs (#6670)
* 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
2026-11-15 19:03:42 +08:00
chengyongru 12a86eaa86 fix(goal): make cancellation a user-only control (#6667) 2026-11-14 23:48:13 +08:00
chengyongru c927808aff refactor(command): remove history command 2026-11-14 23:02:26 +08:00
chengyongru efec4a608d fix(webui): keep history loading until content is ready (#6659)
* 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
2026-11-14 22:52:44 +08:00
Xubin Ren 259c05e747 Register ShengSuanYun as a standard provider 2026-11-14 20:44:28 +08:00
Xubin Ren ebb8419ddf refactor(providers): register shared setup templates 2026-11-14 20:44:28 +08:00
Xubin Ren 2b889b8408 refactor(webui): keep provider search flow for ShengSuanYun setup 2026-11-14 20:44:28 +08:00
Xubin Ren 221e121387 fix(settings): use a setup template for ShengSuanYun 2026-11-14 20:44:28 +08:00
Xubin Ren eb1df4d7b1 fix(providers): preserve existing ShengSuanYun connections 2026-11-14 20:44:28 +08:00
Xubin Ren cc57c35014 feat(providers): add ShengSuanYun gateway 2026-11-14 20:44:28 +08:00
chengyongru d35b755fc2 fix(webui): keep activity header stable when toggling (#6664)
* fix(webui): keep activity header stable when toggling

* fix(webui): keep activity spacing compact
2026-11-14 17:04:52 +08:00
Xubin Renandchengyongru 96c48c96bf Add trusted PyPI publishing for approved releases (#6642)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-14 14:54:23 +08:00
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