Commit Graph
493 Commits
Author SHA1 Message Date
chengyongru 6b82d642fc feat(webui): visualize context usage by logical round (#5649)
* feat(webui): visualize per-request context reuse

* refactor(webui): report usage by logical round

* fix(webui): align context chart with logical rounds

* refactor(webui): derive turn usage from logical rounds

* fix(webui): polish context usage details
2026-09-04 15:13:17 +08:00
Yao 8fb7bc34ec fix(webui): keep every concurrently loaded channel locale registered
loadChannelLocale() captured the per-channel translation map before
awaiting the locale loader and re-registered it afterwards. Because
initializeI18n() loads the fallback and initial locales concurrently,
two calls per channel each created their own Map and the one resolving
last replaced the other's registration, silently dropping one locale
from every channel for any user whose stored locale is not en.

Create and register the map synchronously, before any await, so
concurrent loads append to a single shared Map.

Add a regression test that loads two locales concurrently against a
fresh registry instance.
2026-09-04 13:46:42 +08:00
chengyongru 3d40ed8f76 fix(webui): preserve hero model preset on chat creation 2026-09-04 10:41:01 +08:00
chengyongru 6c0f6bf0ee fix(webui): show language names only in their native form (#5646)
* fix(webui): show native language names only

* test(webui): assert native language names positively
2026-09-04 00:08:56 +08:00
Oxygen56 67f0f26b04 fix(webui): clear stale stream state after reconnect 2026-09-03 17:58:45 +08:00
Xubin Ren 588be51d8c fix(webui): preserve sidebar control alignment 2026-09-03 13:38:21 +08:00
Xubin Ren 38e3bca2ad fix(webui): tighten native settings spacing 2026-09-03 13:38:21 +08:00
Xubin Ren ea57b80fb5 fix(webui): honor native host chrome 2026-09-03 13:38:21 +08:00
Xubin Ren fd67f5594c refactor(webui): remove obsolete native title inset 2026-09-03 13:38:21 +08:00
Xubin Ren a841b10bc0 fix(webui): align native sidebar controls 2026-09-03 13:38:21 +08:00
chengyongru d81aa5a4ab refactor(agent): let runner own context compaction (#5568)
* refactor(agent): consolidate accepted history under pressure

* fix(agent): align provider and session compaction

* refactor(agent): simplify runner context compaction

* refactor(agent): remove background token consolidation

* fix(agent): keep injected transcript messages distinct

* refactor(agent): unify native compaction summaries

* fix(agent): preserve native compaction boundary

* fix(agent): unify context compaction paths

* fix(agent): preserve exact compaction request boundaries
2026-09-02 18:05:54 +08:00
Xubin Ren 7ba4bc02f0 fix(webui): make new preset row clickable 2026-09-02 16:25:07 +08:00
Xubin Ren 6b385a1da6 fix(webui): balance preset editor spacing 2026-09-02 16:25:07 +08:00
Xubin Ren 56699d4888 fix(webui): make preset names immediately saveable 2026-09-02 16:25:07 +08:00
Xubin Ren 0274c11bfb fix(webui): keep schema defaults out of model presets 2026-09-02 16:25:07 +08:00
Xubin Ren 94d62f86a0 fix(webui): nudge model setup on blocked submit 2026-09-02 16:25:07 +08:00
Xubin Ren 6b07c91aa2 fix(webui): migrate brand logos to default on 2026-09-02 16:25:07 +08:00
Xubin Ren a3e043cf6f style(webui): show third-party logos by default 2026-09-02 16:25:07 +08:00
Xubin Ren 05100b70ad refactor(webui): open models directly for first-run setup 2026-09-02 16:25:07 +08:00
Xubin Ren 1c1f746903 style(webui): refine first-run model prompt 2026-09-02 16:25:07 +08:00
Xubin Ren 138bf3c0b8 fix(webui): simplify unconfigured model badge 2026-09-02 16:25:07 +08:00
Xubin Ren 9a4781982e fix(webui): route first-run model setup choices 2026-09-02 16:25:07 +08:00
Xubin Ren b47f0980f1 feat(webui): add first-run AI setup flow 2026-09-02 16:25:07 +08:00
Kail Tianandchengyongru 042f96f6ba fix(webui): delete unpersisted pane sessions (#5624)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-09-02 13:05:36 +08:00
Xubin Ren e6c839ee37 refactor(webui): simplify preset save label 2026-08-29 21:22:20 +08:00
Xubin Ren bc4de246a4 feat(providers): discover OAuth model catalogs online 2026-08-29 21:22:20 +08:00
Xubin Ren 65f2a6dbf5 fix(webui): hide SkillHub install counts 2026-08-29 15:29:18 +08:00
Xubin Ren caab883f9f fix(webui): preserve named pane groups 2026-08-29 14:22:19 +08:00
Xubin Ren b632186b5f perf(webui): smooth paged history scrolling 2026-08-27 10:45:40 +08:00
Xubin Ren d7d03b25ef fix(webui): preserve semantic history anchors 2026-08-27 10:45:40 +08:00
Xubin Ren 6a3f53a917 fix(webui): stabilize fast history scrolling 2026-08-27 10:45:40 +08:00
Xubin Ren 25e20a1458 feat(webui): link model picker to settings 2026-08-27 10:45:40 +08:00
Xubin Ren 5678f83290 fix(webui): tighten conversation top spacing 2026-08-27 10:45:40 +08:00
Xubin Ren cb7b640d36 fix(webui): soften composer scroll boundary 2026-08-27 10:45:40 +08:00
Xubin Ren 701926eba1 fix(webui): preserve file edit activity order 2026-08-27 10:45:40 +08:00
Xubin Ren bbbfacbc64 fix(webui): compact single-pane chat header 2026-08-27 10:45:40 +08:00
chengyongru 5cf78540a4 fix(agent): wait for exec sessions without polling (#5526) 2026-08-25 14:46:02 +08:00
chengyongru 2ac802b2d5 feat(usage): add unified provider usage backend 2026-08-25 01:22:25 +08:00
chengyongru 9895c23cb5 refactor(providers): define typed usage contract 2026-08-25 01:04:25 +08:00
chengyongru 04974b7607 fix(webui): preserve causal message order (NAN-29) (#5503) 2026-08-24 15:08:22 +08:00
Xubin Ren 12029f8812 feat(runtime): add user-controlled turn recovery 2026-08-24 00:58:04 +08:00
chengyongru ffa58aa5ef fix(webui): keep answer text outside reasoning shell 2026-08-23 21:29:42 +08:00
chengyongru 961b1fdd7d refactor: remove remaining dead code 2026-08-23 19:08:00 +08:00
Xubin Ren 48eea29313 feat(webui): unify turn observability 2026-08-22 20:51:24 +08:00
chengyongru 7604dc47f9 fix(webui): keep iOS PWA controls inside safe area (#5477)
* fix(webui): keep iOS PWA controls inside safe area

* fix(webui): blend iOS PWA chrome into dark canvas

* fix(webui): sync PWA chrome with app theme
2026-08-22 01:11:20 +08:00
chengyongru d28687e2e1 feat(webui): polish model preset interaction 2026-08-21 16:49:30 +08:00
chengyongru 953d2ed217 refactor(webui): infer fallback from active model 2026-08-21 16:49:30 +08:00
chengyongru 7f97373490 fix(webui): only highlight actual model fallbacks 2026-08-21 16:49:30 +08:00
chengyongru 9e046815bc fix(webui): assign readable session handles 2026-08-19 01:15:56 +08:00
chengyongru 251a1ccd40 refactor: simplify cross-session messaging 2026-08-19 01:15:56 +08:00