Commit Graph
167 Commits
Author SHA1 Message Date
Xubin Ren 1066adb10b fix: isolate preset requests and confirm parameter saves 2026-10-12 17:17:02 +08:00
Xubin Ren d4b01285a9 feat(models): add per-preset request overrides 2026-10-12 17:17:02 +08:00
chengyongru 41f2eeb7ba fix(webui): support WSL browser launch and clearer startup output (#6150)
* feat(webui): add local first-run access setup

* feat(webui): defer password setup until network access

Keep generated local credentials and provide the full browser login link in every launch mode. Require a chosen password when enabling network access, preserve existing authentication, and show pending listener changes until restart.

Remove mandatory first-run initialization gates and simplify startup output while retaining gateway warnings and errors.

* fix(webui): align access settings with channel contracts

* fix(webui): clarify startup guidance and spacing

* fix(webui): keep setup guidance readable in narrow terminals

* fix(webui): clarify startup and preserve remote password access

* fix(webui): move access explanations into settings hints

* fix(webui): require strong ASCII passwords and reject malformed auth

* fix(webui): simplify access password character rules

* test(webui): reflect pending restart after password save

* fix(webui): open Windows browser from WSL

* fix(webui): clarify public access copy

* refactor(webui): focus on WSL launch and startup output

* fix(webui): preserve platform browser fallback
2026-10-12 10:53:11 +08:00
chengyongru 9261e731ce feat(webui): improve model and provider settings UX (#6145)
* feat(webui): improve model and provider settings UX

* refactor(webui): organize provider forms and model picker interactions

* fix(webui): separate OAuth credentials from provider configuration

* fix(webui): stabilize shared combobox navigation

* refactor(config): store provider connections as sparse entries

* fix(webui): preserve provider validation and isolate catalog tests

* refactor(config): manage explicit provider connections

* refactor(webui): decouple settings UX from provider removal

* fix(webui): select current combobox options during rapid input

* feat(webui): refine model preset and provider management

* style(webui): refine preset footer actions

* fix(webui): align model settings with responsive layout rules

* refactor(webui): finalize preset dialogs and simplify provider state

* fix(webui): keep fallback heading stable while sorting presets

Animate card dimensions without changing layout height and keep the section heading outside sortable cards. Remove proxy normalization from this PR.

* docs: update WebUI model and provider setup instructions

* docs: start model setup from new preset

* docs: remove duplicate WebUI model setup instructions
2026-10-11 04:30:43 +08:00
chengyongru 7e2e804b5c refactor(providers): migrate legacy API selector at input boundary 2026-10-10 01:33:02 +08:00
chengyongru 34fd4ed75a feat(providers): declare supported APIs for custom connections 2026-10-10 01:33:02 +08:00
chengyongru 73a27e0726 feat(webui): show resolved Auto API in preset selector 2026-10-10 01:33:02 +08:00
chengyongru 994ce51502 feat(models): declare provider APIs and simplify preset configuration 2026-10-10 01:33:02 +08:00
chengyongru 592f0559a9 fix(webui): complete preset API translations
Keep request API keys aligned across all locales and read the persisted settings fixture as UTF-8 on Windows.
2026-10-10 01:33:02 +08:00
b5808e47de feat(models): declare request APIs per preset
Bind API support and preference to the preset's provider and model. Carry the
API declaration through factory selection, fallback chains, hot reload and
WebUI persistence. Use Copilot endpoint metadata for automatic routing and
keep reasoning replay and compaction defaults in provider capability profiles.

Consolidate Responses follow-ups from #5906, #5935, #6020, #6051 and #5834;
acknowledge equivalent contributions in #6105 and #5863.

Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
Co-authored-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com>
Co-authored-by: kkkhoo <128304090+kkkhoo@users.noreply.github.com>
Co-authored-by: pei711 <199601925+pei711@users.noreply.github.com>
Co-authored-by: Steven Huang <134844631+remote-controlled-man@users.noreply.github.com>
Co-authored-by: Louis Yue <179701714+selfucker@users.noreply.github.com>
Co-authored-by: iuiuiu <92971770+iuiu-py@users.noreply.github.com>
2026-10-10 01:33:02 +08:00
chengyongru 8a795b428e refactor(webui): remove obsolete native workspace picker paths 2026-10-08 20:33:15 +08:00
Xubin Ren 3865bde3fe fix(webui): correct SkillHub skill detail links 2026-10-08 13:24:19 +08:00
chengyongru 6646f5fbee fix(webui): upload TUI and WebUI attachments over binary HTTP (#5980)
* feat(webui): add bounded binary attachment staging

* feat(webui): bridge binary HTTP bodies alongside websocket listener

* fix(webui): deliver attachments over authenticated binary HTTP

* fix(webui): bound incomplete upload headers and preserve staging markers

* test: reflect aiohttp runtime dependency for binary uploads

* fix(webui): relay binary uploads and retain rejected drafts

* refactor(webui): remove obsolete attachment transport errors

* refactor(websocket): own binary attachment transport

* fix(websocket): allow bounded uploads over slow connections

* test(webui): restore upload timeout before retry

* docs(websocket): focus attachment guide on client usage
2026-10-08 11:55:13 +08:00
chengyongru 5be1e589f2 feat(providers): share Responses backend with Codex WebSocket continuation (#6096)
* feat(codex): continue sessions over Responses WebSocket

* fix(codex): retain API errors with repeated handshake headers

* test(codex): assert attachment paths before JSON escaping

* refactor(providers): share Responses transport and state backend

* fix(grok): update subscription client version

* docs: keep Codex configuration focused on user settings
2026-10-08 11:54:23 +08:00
Xubin Ren ab614478a0 fix(automations): unify chat replies and preserve explicit sends 2026-10-07 01:12:23 +08:00
Xubin Ren 5719ed6e16 fix(webui): link automation history to the recorded chat 2026-10-07 01:12:23 +08:00
Xubin Ren c932720b20 fix(webui): keep automation review stable and share complete task details 2026-10-07 01:12:23 +08:00
Xubin Ren 845afe9215 feat(webui): persist reviewed automation chat changes 2026-10-07 01:12:23 +08:00
chengyongru b0d28af321 feat(webui): show commit and prefill bug report diagnostics (#6080)
* feat(webui): show gateway commit in About settings

* feat(webui): prefill revision in bug reports

* fix(webui): use parentheses for commit details

* feat(webui): prefill gateway diagnostics in bug reports

* docs: remove About settings explanation

* fix(webui): prefill dedicated issue diagnostic fields

* fix(docker): include revision helper in dependency build layer
2026-10-06 18:53:50 +08:00
chengyongru 42f06ab1dc test: isolate Star invitation state and stabilize late-result waits (#6076)
* test: isolate Star invitation state and relax late-result deadline

* test: keep invitation fixtures outside test workspaces
2026-10-06 02:49:50 +08:00
chengyongru 6ff96f2a8f feat(subagent): add session-owned task messaging and cancellation (#5985)
let's go!
2026-10-05 05:16:33 +08:00
chengyongru 4904305450 refactor(session): decouple history tools from WebUI replay (#6017)
* refactor(session): decouple history tools from WebUI replay

* test(oauth): make callback expiry independent of thread scheduling
2026-10-03 17:43:55 +08:00
Xubin Ren c734f6b6f9 test(remote): isolate gateway smoke from frontend build artifacts 2026-10-02 11:36:34 +08:00
Xubin Ren 2330bfc5a5 fix(remote): simplify connection mutations and preserve host state 2026-10-02 11:36:34 +08:00
Xubin Ren 5aa91b66cc feat(remote): serve local WebUI with an explicit host contract 2026-10-02 11:36:34 +08:00
Xubin Ren 02ce0cfb6f fix(remote): replace failed routes without duplicate-instance errors 2026-10-02 11:36:34 +08:00
Xubin Ren fd9681ef8b fix(remote): preserve pairing on failed forget and respect asset cache policy 2026-10-02 11:36:34 +08:00
Xubin Ren 49eb3a27f9 test(remote): read renamed profile fixtures as UTF-8 on Windows 2026-10-02 11:36:34 +08:00
Xubin Ren 4fd4dc522d perf(remote): reuse guarded SSH transports and cache static assets 2026-10-02 11:36:34 +08:00
Xubin Ren 719a5c3fcf feat(remote): rename servers without interrupting host sessions 2026-10-02 11:36:34 +08:00
Xubin Ren 450e455b57 fix(remote): group verified instances without dropping authorizations 2026-10-02 11:36:34 +08:00
Xubin Ren af847165a5 fix(remote): preserve moved pairing state and Windows test coverage 2026-10-02 11:36:34 +08:00
Xubin Ren 192ca6e49e feat(webui): complete remote pairing and connection recovery 2026-10-02 11:36:34 +08:00
Xubin Ren 11889c018e feat(webui): connect to existing remote nanobot instances (NAN-157) 2026-10-02 11:36:34 +08:00
Xubin Ren ab6d5f1d3c feat(channels): add inherited global compaction notice policy 2026-09-30 13:44:42 +08:00
chengyongru f18423800e refactor(tui): organize source by feature boundaries (#5975)
* refactor(tui): group source files by feature

* refactor(tui): split app and gateway responsibilities
2026-09-29 16:57:36 +08:00
chengyongru 6eccc2859a test: consolidate repetitive cases across the suite 2026-09-25 14:28:21 +08:00
chengyongru eb3fc07087 fix(webui): allow custom context window token budgets (#5901)
* fix(webui): allow custom context window token budgets

* fix(i18n): translate context window hints in all locales

* fix(webui): accept context window K and M shorthand

* fix(webui): shorten context window hints

* refactor(webui): simplify context window validation
2026-09-24 18:26:03 +08:00
chengyongru d898998c47 feat(webui): invite returning users to star nanobot (#5895)
* feat(webui): invite returning users to star nanobot

* fix(webui): place About Star link in settings list

* fix(webui): use neutral About repository label

* fix(webui): add localized Star link to About footer

* fix(webui): align Star invitation with existing dialog styling

* fix(webui): shorten and localize Star invitation copy

* fix(webui): skip Star invitation after user interaction

* fix(webui): align Star invitation meaning across locales

* fix(webui): clarify Star reminder dismissal errors
2026-09-24 15:37:18 +08:00
Xubin Ren 05bee21b10 feat(webui): unify file preview actions 2026-09-24 15:17:05 +08:00
Xubin Ren af5acabb33 fix(webui): restore session-scoped file previews 2026-09-24 15:17:05 +08:00
Xubin Ren 804e4c4ea6 fix(webui): cancel Copilot sign-in while loading device prompt 2026-09-21 00:13:46 +08:00
Xubin Renandchengyongru a44f28e656 fix(webui): complete Copilot device sign-in in the browser
Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-09-21 00:13:46 +08:00
Xubin Ren 024fe8f636 fix(webui): surface OAuth model catalog authorization failures 2026-09-21 00:13:46 +08:00
chengyongru 0983762fe5 refactor(webui): remove legacy message projection (#5823)
* refactor(webui): defer oversized replay traces as events

* fix(webui): type deferred trace index set

* refactor(webui): remove legacy message projection

* fix(webui): type event protocol boundaries

* test(webui): assert canonical thread events
2026-09-20 16:48:13 +08:00
chengyongru 037438e7d1 fix(webui): show per-run automation replies and simplify details 2026-09-13 05:43:05 +08:00
chengyongru 7ba60c2ef0 fix(webui): bound history replay work 2026-09-12 17:09:51 +08:00
Xubin Ren 1640784d45 feat(webui): simplify automation management and unify disclosure motion
Replace the dense automation workspace with a calm list and on-demand details, show current linked-chat titles, and remember manual system-task expansion preferences.

Reuse disclosure transitions across expandable controls, preserve drafts and focus through closing, and release large diffs after their exit animation.

Refs NAN-116
2026-09-11 20:38:38 +08:00
chengyongru e8a29a0087 feat(webui): improve setup flows across chat channels (NAN-112) (#5356)
* feat(webui): improve channel setup flows

* fix(webui): refine channel setup interactions (NAN-112)

* fix(webui): keep email setup sections channel-owned

* fix(webui): remove concrete channel details from shared components

* refactor(webui): remove unused channel setup resources

* fix(webui): finish channel-owned setup boundaries

* fix(webui): update channel switches optimistically

* test(channels): remove obsolete absence assertions

* fix(webui): flatten channel instance settings disclosure

* fix(webui): complete channel setup and connection flows

* fix(whatsapp): wait for session database release

* fix(webui): preserve scrolling channel controls

* fix(webui): stage channel connection checks

* fix(channels): align verification actions

* fix(email): expose connection checks

* fix(webui): align channel field actions

* fix(email): verify account credentials

* fix(wecom): bypass system proxy for websocket

* fix(channels): stabilize async connection cleanup

* fix(webui): autosave channel credentials

* fix(email): make provider presets non-destructive

* test(weixin): isolate persisted QR credentials
2026-09-11 15:22:14 +08:00
chengyongru 55093dd75b fix(mcp): refresh expired OAuth tokens automatically (#5573)
* fix(mcp): refresh expired OAuth tokens

* fix(mcp): bind refreshed tokens to OAuth issuer

* fix(mcp): activate OAuth tools before probe cleanup

* fix(webui): preserve failed MCP OAuth status

* fix(mcp): preserve OAuth refresh across discovery retries

* test(mcp): align OAuth issuer fixture with SDK validation
2026-09-10 13:27:50 +08:00