Commit Graph
4423 Commits
Author SHA1 Message Date
chengyongru aa257a705e perf: reduce streaming text processing and classic CLI redraws (#5728)
* perf: skip tag parsing for ordinary streamed text

* perf: coalesce classic CLI stream refreshes
2026-09-15 11:48:40 +08:00
chengyongru 1c3c68262f refactor(tools): unify edit summaries with shared fast diffs
Return compact, workspace-relative summaries from edit_file and apply_patch.
Compute one RapidFuzz line alignment per file and reuse it for summary counts
and WebUI unified diffs, checking snapshots before reuse. Summarize batched
edits by their final file state.

Warn only when a recorded file version changed, without asking for a read
after an edit has already succeeded. Preserve existing edit errors.

Validate summary and activity reuse, repetitive files, diff formatting,
snapshot changes, file creation, and read-state behavior.
2026-09-15 11:25:01 +08:00
Kail Tian 3a725b35a7 fix(tools): preserve line boundaries when deleting inline suffixes 2026-09-15 11:25:01 +08:00
chengyongru 499bf90302 test(websocket): isolate delivery checks from transcript writes 2026-09-14 17:48:10 +08:00
chengyongru 60b7c8cf3c fix(cron): recheck pending jobs before execution 2026-09-14 17:48:10 +08:00
Kuang-xianxin 02ca8f6558 fix(cron): defer timer rearming while jobs execute 2026-09-14 17:48:10 +08:00
beeminesandbeemines 93b51121d1 fix(cron): preserve pending runs when editing automation details (#5751)
Co-authored-by: beemines <182060364+beemines@users.noreply.github.com>
2026-09-14 15:30:10 +08:00
chengyongru f611c880f9 fix(webui): adapt chat toolbar to available width (#5760)
* fix(webui): float chat controls above the transcript

* fix(webui): keep floating controls compact and flat

* fix(webui): adapt toolbar placement to conversation width

* refactor(webui): simplify responsive toolbar styles
2026-09-14 15:25:13 +08:00
chengyongru 95b2346ea5 fix(webui): keep Markdown table source inline in file previews 2026-09-14 13:51:33 +08:00
ggbond 524e96ff68 test(security): keep proxy-clearing fixtures hermetic on hosts with OS-level proxies 2026-09-14 13:21:45 +08:00
chengyongru ddd6b302c9 fix(webui): support remote project paths and honor picker capabilities (#5673)
* fix(webui): honor remote workspace picker capability

* feat(webui): allow remote project path selection

* test(webui): isolate native picker availability from host platform
2026-09-14 13:14:00 +08:00
chengyongru 15976ac559 fix(webui): streamline the connection screen 2026-09-14 11:22:47 +08:00
Xubin Ren 08b130cdd1 fix(webui): harden mobile context sheet interactions 2026-09-13 23:35:16 +08:00
Xubin Ren aa799cec9f fix(webui): anchor mobile settings menu below its title 2026-09-13 23:35:16 +08:00
Xubin Ren f5c6be2608 fix(webui): polish mobile settings and context interactions 2026-09-13 23:35:16 +08:00
Xubin Ren 827dbe137b fix(webui): simplify mobile composer controls and context sheet 2026-09-13 23:35:16 +08:00
Xubin Ren 3a14935eb1 fix(webui): focus restored drafts before setting mention selection 2026-09-13 13:53:20 +08:00
Xubin Ren 78ae5ff94f fix(webui): preserve mentions when IME composition is canceled 2026-09-13 13:53:20 +08:00
Xubin Ren 902e2b87b4 fix(webui): emphasize mention brand names without shifting caret 2026-09-13 13:53:20 +08:00
Xubin Ren b6122b9018 fix(webui): unify app logos and brand mentions 2026-09-13 13:53:20 +08:00
chengyongru bfb4f021ed test: align automation integration coverage with current behavior 2026-09-13 05:43:05 +08:00
chengyongru 458b925f86 fix(webui): keep automation creation intent in runtime context 2026-09-13 05:43:05 +08:00
chengyongru 037438e7d1 fix(webui): show per-run automation replies and simplify details 2026-09-13 05:43:05 +08:00
chengyongru e7da868574 feat(webui): refine automation views and scheduling controls 2026-09-13 05:43:05 +08:00
chengyongru c25b2048ef fix(webui): simplify automation calendar and creation UI 2026-09-13 05:43:05 +08:00
chengyongru 37e29c36e5 feat(webui): refine automation calendar workflows 2026-09-13 05:43:05 +08:00
Xubin Ren 98b0c3858b fix(webui): align automation details with shared dialog styles
Reuse shared dialog and button treatments, simplify detail dividers, and keep related actions together on narrow screens. Omit empty instructions without changing task actions, focus restoration, or modal handoffs.
2026-09-13 05:43:05 +08:00
Xubin Ren 66370b170e fix(webui): align catalog headings and simplify skill labels
Use the existing inline section-heading layout to clear standalone title spacing in Apps, align the count with its heading, and reduce excess header height. Drop decorative count badges and uppercase skill group labels while preserving catalog filtering and actions.
2026-09-13 05:43:05 +08:00
Xubin Ren ddf4eb5054 fix(webui): simplify automation section labels
Remove the redundant personal-task heading and use natural typography for System tasks to keep the catalog from looking over-decorated. Preserve the accessible list label, counts, and disclosure behavior.
2026-09-13 05:43:05 +08:00
Xubin Ren 092410d3f2 fix(webui): align automation styling with settings pages
Reuse the Channels search styling and segmented filters, and bring the Skills catalog surface, typography, and compact row spacing to Automations so the feature pages share a consistent visual language.

Preserve task dialogs, disclosure motion, search and sort behavior, and the deletion focus regression coverage.
2026-09-13 05:43:05 +08:00
Xubin Ren 5b2f21c431 fix(webui): simplify automation controls and disclosure cues
Keep search, status filters, and sorting directly available instead of requiring a sliders toggle. Distinguish task dialogs from inline disclosures by removing task-row arrows and using up/down disclosure cues.

Remove obsolete drawer state and grid columns, preserve focus restoration and system-task preferences, and update interaction regressions. Scheduling, persistence, and task actions remain unchanged.
2026-09-13 05:43:05 +08:00
chengyongru f8c1f2ede0 fix(webui): make headless login self-explanatory (#5735)
* fix(webui): guide headless login

* fix(webui): correct SSH handoff and password fallback
2026-09-13 05:01:13 +08:00
chengyongru 7cede64f07 perf(webui): bound reasoning previews and pace streaming updates 2026-09-12 18:33:39 +08:00
chengyongru 9e71087a2a fix(webui): align legacy trace detail replay identities 2026-09-12 17:09:51 +08:00
chengyongru a490cd629b fix(webui): cache and defer thread history 2026-09-12 17:09:51 +08:00
chengyongru 7ba60c2ef0 fix(webui): bound history replay work 2026-09-12 17:09:51 +08:00
chengyongru 0c5d8443ec fix(responses): omit provider item IDs from chat history 2026-09-12 16:45:52 +08:00
kkkhoo e5a137956f fix(responses): clean up replayed items before sending them to providers
Prevent Responses API errors when conversation history is reused in a new provider request.

Fresh and pending Chat-style history conversions no longer include stale
provider-generated item IDs, while preserving function-call IDs for tool
output linkage.

During opaque Responses state replay, remove unsupported status fields from
reasoning items before sending them to the provider. Preserve encrypted
reasoning content and other valid provider fields.

Add regression coverage for stale item IDs and replayed reasoning items with
unsupported status fields.
2026-09-12 16:45:52 +08:00
chengyongru 19c3db55ce chore: remove core agent line count script 2026-09-11 22:28:59 +08:00
Xubin Ren a2e33893e1 fix(webui): restore navigation after automation deletion
Let the automation detail dialog own the background interaction lock instead of nesting a second modal menu. Overlapping exit lifecycles during deletion could leave body pointer events disabled after all dialogs closed.

Cover confirmed and cancelled deletion with animated Radix lifecycle tests and assert that sidebar navigation works after dismissal.

Refs NAN-117.
2026-09-11 21:37:07 +08:00
chengyongru c3fb819203 fix(webui): omit binary data from tool progress 2026-09-11 21:32:53 +08:00
Xubin Ren 11a03595f4 fix(webui): lazily render collapsed tool traces
Keep trace rows unmounted until their group is opened, then release them only after the closing disclosure transition finishes. Hidden historical traces should not allocate a DOM row per tool call merely to support animation.

Add a 1,000-row regression test covering initial allocation, exit cleanup, rapid reopening, and subsequent expansion.
2026-09-11 20:38:38 +08:00
Xubin Ren 14f46d21fd fix(webui): preserve sidebar highlight easing during resize
Coalesce highlight measurements per animation frame and stop animating the measured action width during a drag. This keeps navigation and session highlights moving toward the current sidebar width with the same easing instead of lagging until the drag stops.

Cover target refs, selector targets, frame cleanup, and all drag termination paths.
2026-09-11 20:38:38 +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 90b889394f fix(email): disable intermediate progress delivery 2026-09-11 16:50:47 +08:00
chengyongru 4e865b91ee fix(memory): clarify Dream prompt write permissions (#5734)
* fix(memory): clarify Dream prompt write permissions

* refactor(memory): consolidate Dream prompt rules

* fix(memory): keep agent prompts focused on executable guidance

* fix(memory): limit cleanup to skill instructions
2026-09-11 16:47:34 +08:00
chengyongru 3a5b84ce0d perf(webui): cache public favicon requests 2026-09-11 16:05:11 +08:00
chengyongru ccbdf56eb3 refactor(webui): split channel setup responsibilities 2026-09-11 16:04:51 +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
Naster17 3cc3012b3a feat(tg): collapse context compaction notices into one edited message
Context compaction previously posted two separate chat messages: a
'Compressing context…' notice when compaction started and a follow-up
'Context compacted.' once it finished.

The Telegram channel now collapses this into a single message: the
started phase posts the notice and remembers its message id, and a
terminal phase (succeeded/failed/cancelled) edits that same message in
place instead of posting another. If the edit fails, a fresh message
keeps the outcome visible. Notices are keyed by compaction id and
bounded, so concurrent or abandoned compactions cannot leak state.
2026-09-11 13:16:19 +08:00