Commit Graph
156 Commits
Author SHA1 Message Date
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
chengyongru 8ea683679d feat(webui): expand and organize settings with autosave (#5704)
* feat(webui): expand settings with autosave and live configuration

* feat(memory): add long-term memory and idle compaction switches

* refactor(webui): clarify settings hierarchy and align compact controls

* refactor(webui): keep only memory consolidation in memory settings

* refactor(webui): defer runtime changes until explicit restart

* refactor(webui): remove default workspace setting

* fix(webui): align model lists and remove preset counters

* fix(i18n): use natural Chinese labels for chat platforms

* fix(i18n): shorten chat settings navigation label

* fix(webui): match settings navigation icons to text size

* refactor(webui): remove redundant settings sidebar heading

* refactor(webui): use icon-only back navigation in settings

* fix(webui): remove back arrow hover hint

* refactor(webui): remove redundant overview details

* refactor(webui): hide secondary descriptions in settings rows

* style(webui): replace settings dividers with rounded highlights

* refactor(webui): remove redundant model list subtitles and badges

* fix(i18n): restore chat translation namespace boundaries

* fix(i18n): complete settings translations for all locales

* fix(webui): reveal settings only for enabled capabilities

* fix(webui): consolidate capabilities and isolate settings feedback

* fix(webui): clear restart notices when settings are reverted

* fix(webui): anchor restart controls in settings sidebar

* fix(webui): shorten sidebar restart label

* fix(webui): align settings spacing and control sizes

* refactor(webui): unify settings dialogs and interaction feedback

* fix(webui): keep settings option groups on one line without scrolling

* refactor(webui): align settings spacing and sidebar icon proportions

* style(webui): match main sidebar typography to settings

* style(webui): use monospace for sidebar session handles

* refactor(webui): remove heartbeat configuration from automations

* feat(webui): expose configuration actions beside capability toggles

* style(webui): remove ellipsis from configuration actions

* refactor(webui): remove redundant app configuration controls

* feat(webui): add compact sidebar navigation and shortcut hints

* fix(webui): synchronize npm dependency lockfile

* test(webui): align input radius expectation with pill styling

* feat(webui): show daily token usage and cache breakdown

* feat(webui): add model usage details and cache hit rates

* feat(webui): chart daily token usage by model

* refactor(webui): simplify usage details and model labels

* fix(webui): hide usage dialog date range

* refactor(webui): consolidate model usage into chart legends

* fix(webui): enforce restart choices and correct settings test route

* fix(webui): polish settings localization and controls

* fix(webui): avoid repeated usage legend labels

* fix(webui): skip empty usage columns in keyboard navigation

* test(webui): assert settings behavior positively

* feat(webui): refine sidebar navigation and add drag resizing

* style(webui): soften sidebar scroll edges

* style(webui): harmonize sidebar typography and text colors

* feat(webui): move channels to the main sidebar

* style(webui): remove dotted underlines from settings hints

* fix(webui): unify tooltip hover delay

* fix(webui): support Seatbelt sandbox settings

* fix(webui): remove unused appearance density preference

* fix(webui): align settings input values consistently

* style(webui): group compact settings controls before inputs

* feat(webui): edit multiline settings in compact dialogs

* feat(webui): add continuous settings scrolling with gentle snapping

* Revert "feat(webui): add continuous settings scrolling with gentle snapping"

This reverts commit f0978c261a53c844185eeab4d0c3190fbd196fe6.
2026-09-10 11:10:51 +08:00
Xubin Ren 48e7c4f697 feat(cli): attach terminal clients to the selected Desktop [skip ci]
NAN-104 requires terminal chat and browser attachment without granting a client ownership of Desktop's gateway. Resolve bounded short-lived credentials over authenticated current-user IPC, pin both Desktop and gateway identities, and reject replacement instances or incompatible clients before any mutation.

Reuse the existing TUI artifact resolver behind a narrow Desktop-only entrypoint, keep credentials out of argv/environment/files, and preserve Python-mode reconnect and gateway leases. Add protocol, real-gateway, and anonymous IPC regression coverage; matching native-host and Windows acceptance remain release gates.
2026-09-08 10:04:15 +08:00
chengyongru b581a496a6 fix(ui): surface model retry status (NAN-34) (#5504) 2026-09-07 15:12:39 +08:00
chengyongru 192e2e90dc refactor(events): unify scoped runtime notifications across clients (#5670)
* refactor(events): unify scoped runtime notifications across clients

* style(tests): sort auto-compaction event imports

* refactor(events): scope connections and remove retry callback plumbing

* docs: remove runtime notification design write-up

* refactor(bus): route operation events through the message bus

* fix(channels): isolate outbound sends by destination

* style(events): group shared notification imports

* refactor(events): converge runtime and hook delivery on MessageBus

* test(events): migrate fixtures to unified message bus
2026-09-06 02:11:19 +08:00
chengyongru 5229989f28 feat: make context compaction visible in channels (#5656)
* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
2026-09-05 20:21:54 +08:00
chengyongru e93b92c2d0 refactor(webui): extract outbound wire encoding (NAN-102) 2026-09-04 17:09:45 +08:00
Xubin Ren da96c5c6eb fix(webui): activate existing model presets safely 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 1c6483147e refactor(providers): localize OAuth model discovery 2026-08-29 21:22:20 +08:00
Xubin Ren 97fb9aaf72 fix(providers): complete OAuth model discovery 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