Commit Graph
892 Commits
Author SHA1 Message Date
chengyongruandQQQ300kuai 1c66b90088 fix(webui): allow closing image settings without valid credentials
Separate capability dialog dismissal from save completion while retaining controller-owned drafts and visible errors.

Co-authored-by: QQQ300kuai <934795001@qq.com>
2026-11-04 16:30:07 +08:00
chengyongru 8ff04aad2b fix(webui): update usage and tool progress during active turns (#6553)
* fix(webui): stream model status and usage during active turns

* fix(webui): keep live rounds and active-run status consistent

* fix(webui): reuse existing run indicators without extra status text

* fix(webui): preserve live activity and batch durable delivery

Cancel and drain sibling tools when progress notifications fail, retain balanced checkpoints, and keep model telemetry separate from answer provenance.

Group-commit already queued activity at the channel delivery boundary while preserving FIFO, generation ownership, per-envelope admission, and commit-before-fanout semantics. Isolate invalid members without dropping valid neighboring events.

Retain tool detail lazy grouping and cover scheduling, cancellation, persistence, encoding failures, and projection regressions.

* test(webui): separate standard-library imports in batch regression

* test: tighten live execution checks and clarify contracts

* refactor: remove redundant live execution comments

* refactor: settle tool results through one output path
2026-11-04 16:27:24 +08:00
chengyongru 8632940a99 fix(webui): cache tool catalogs across settings navigation (#6552)
* fix(webui): cache tool catalogs across settings navigation

* refactor(webui): remove unreachable catalog invalidation condition
2026-11-04 00:30:33 +08:00
chengyongru 80ac41b1f4 refactor(sessions): persist archive state in SQLite (#6536)
* feat(webui): add archived chat management

* fix(webui): keep archived chats in the sidebar

* feat(webui): scope archived topics to sidebar groups

* fix(webui): reuse group dissolve label

* fix(webui): fail fast when adding panes

* refactor(sessions): persist archive state in SQLite

* refactor: limit archive changes to SQLite storage

* perf(sessions): avoid redundant archive I/O and read barriers

* fix(sessions): archive only persisted conversations
2026-11-03 15:58:41 +08:00
chengyongru e71bc95364 fix(webui): prevent inline math overlap in markdown tables 2026-11-03 15:13:49 +08:00
chengyongru c1ed649b81 fix(webui): avoid remounting outgoing conversations (#6540)
* fix(webui): avoid remounting outgoing conversations

Reset subtask disclosure state within its session scope instead of keying the entire transcript before the stream message handoff. Cover the outgoing DOM lifecycle and disclosure reset with unit and browser regressions.

Resolves NAN-396

* fix(webui): reset transcript UI on message ownership changes

Keep the selected conversation separate from the owner of currently rendered messages. Reset the message subtree only when its owner changes, so cached and forked conversations get fresh UI state without remounting outgoing diffs.

Extend the history-only caller and cover cached fork activity isolation while retaining the outgoing-DOM regression.
2026-11-02 17:42:16 +08:00
chengyongru a4d2430140 refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
2026-10-30 13:07:03 +08:00
chengyongruandXiaoyu-hub 4a14faa47e fix(webui): keep saved topics bound to their project (#6509)
* fix(webui): keep saved topics bound to their project

Lock the project as soon as the session exists, independently of loaded history. Validate both explicit updates and message admissions against the persisted directory while retaining same-project permission changes.

Related to #6505.

Co-authored-by: Xiaoyu-hub <17346801517@163.com>

* test(agent): retain goal shutdown failure stacks

Use the existing stop_loop diagnostic without changing the five-second teardown deadline or the goal assertions. The Windows failure on #6509 reached session shutdown but did not capture its worker stacks.

* test(cron): await rearm tick completion instead of disk timing

The Windows run completed the first and last jobs correctly, but rescheduling took over three seconds inside a two-second timeout. Await the original timer task, detect an early exit before callback entry, and preserve job-order, cancellation, persistence and rearming assertions. Keep real disk writes and all parameterized cases.

Also place the goal-shutdown diagnostic import in the existing first-party group.

---------

Co-authored-by: Xiaoyu-hub <17346801517@163.com>
2026-10-28 21:37:23 +08:00
chengyongru 32ee2810a1 chore(skills): remove obsolete update-setup skill 2026-10-28 14:37:52 +08:00
chengyongru b07b3eac24 fix(webui): retain history touch gestures across message replacement 2026-10-27 21:05:32 +08:00
chengyongru 02c364428a fix(webui): keep Dock taps working after touch drags 2026-10-27 20:31:21 +08:00
chengyongru e981e97f10 fix(webui): keep numbered code tokens in one wrapping flow 2026-10-27 18:11:57 +08:00
chengyongru 219c8bb2bc fix(agent): preserve streamed replies after model failures (#6494)
* fix(agent): preserve streamed replies after model failures

* test(webui): settle lazy imports and async settings saves

* test(agent): synchronize estimation checks at the operation boundary

* docs(webui): explain retained replies after stream failures
2026-10-27 16:22:33 +08:00
chengyongru b6536bfc5e fix(webui): remove ellipses from sending labels 2026-10-27 15:59:53 +08:00
chengyongru 8aa0deaca3 fix(webui): stabilize interaction tests and tooltip dismissal 2026-10-27 15:46:32 +08:00
chengyongru 0978ccd50f fix(webui): open subtask details from task content
Handle tool activity, errors and result-body clicks at the task item while preserving selection, nested controls, image portals and detail focus. Remove the sticky-title workaround.

Refs NAN-369
2026-10-27 13:22:34 +08:00
chengyongru 40ee25f885 fix(webui): show context and reasoning for all presets 2026-10-27 13:19:14 +08:00
chengyongru 4cd277f65d fix(webui): simplify retry status copy 2026-10-27 13:17:42 +08:00
chengyongru 164ddadd8e fix(webui): align chat links with edit filename colors (#6484) 2026-10-27 13:05:32 +08:00
chengyongru 8857d4f9c8 feat(webui): unify mention candidate display 2026-10-27 11:53:49 +08:00
chengyongru 69d2fd87b0 fix(webui): check explicit file links before enabling previews (#6483) 2026-10-27 09:40:44 +08:00
chengyongru d1451e30e9 feat(webui): add compact batch archive actions 2026-10-27 09:36:22 +08:00
chengyongru 23c4acc216 fix(webui): keep subtask details reachable in long results
Keep the current task header above its independently scrolled result, including code copy controls. Preserve selection, detail focus and reading position.

Refs NAN-364
2026-10-26 23:40:42 +08:00
chengyongru 7e5dcb79e0 feat(webui): complete bang commands and literal output (NAN-291) (#6173)
* feat(webui): complete direct bang shell commands

Reuse the gateway user-shell side channel, retain failed drafts without reconnect replay, and preserve literal output across live delivery and history. Highlight the bang prefix before and after sending.

NAN-291

* fix(clients): preserve literal shell output through display metadata
2026-10-26 23:35:26 +08:00
chengyongru f23a6d1485 refactor: remove verified unused internals (#6460)
* refactor: remove verified unused internals

* test(linear): synchronize webhook shutdown with writer join
2026-10-26 21:45:36 +08:00
chengyongru 3230013963 fix(webui): match slash command highlighting to skills 2026-10-26 17:33:27 +08:00
chengyongru 0c7dbc6aac fix(webui): simplify selected theme indicator 2026-10-26 15:47:42 +08:00
chengyongru 0bd8456076 fix(webui): keep permission hints outside locked-thread drafts 2026-10-26 15:23:50 +08:00
chengyongru 2b7d686117 chore(webui): remove subtask message status 2026-10-26 15:02:02 +08:00
chengyongru 9b3af7b66c feat(webui): keep delegated work within reach (#6443) 2026-10-26 13:16:44 +08:00
chengyongru 9270137d65 fix(webui): move appearance help to hints and smooth theme preview 2026-10-26 13:06:42 +08:00
chengyongru 01a1ef5370 chore(webui): remove live preview badge from reading settings 2026-10-26 10:53:00 +08:00
chengyongru 83b6112843 fix(webui): crossfade theme changes as one page (#6459)
* fix(webui): crossfade theme changes as one page

* test(webui): align selection highlight motion checks

Follow the shared CSS transition contract instead of obsolete Tailwind utilities. Verify normal geometry easing and reduced-motion theme paint in the browser without changing accepted theme behavior or relaxing CI gates.
2026-10-25 23:54:06 +08:00
chengyongru 4701218719 fix(webui): place permission hover hint below its control (NAN-359) (#6458)
* fix(webui): keep composer hover hints outside the editor (NAN-359)

* fix(webui): limit hover hint change to workspace permission
2026-10-25 22:47:05 +08:00
chengyongru eed7b47753 feat(webui): refine attachment galleries and file cards (#6457)
* feat(webui): refine attachment galleries and file cards

* fix(webui): align attachment tests and Escape handling
2026-10-25 22:39:44 +08:00
Xubin Ren 44a7ef53ce fix(webui): keep local appearance ready during settings loads 2026-10-25 22:14:58 +08:00
Xubin Ren ef8271b2c0 feat(webui): refine appearance and add custom reading sizes 2026-10-25 22:14:58 +08:00
chengyongru 424d2debc2 fix(webui): unify skill and session link highlighting (#6454)
* fix(webui): refine skill reference highlighting

* fix(webui): highlight composer skills and align session links
2026-10-25 21:42:53 +08:00
chengyongru d14c54c31c feat(webui): match session handles in Ctrl+K 2026-10-25 21:03:35 +08:00
chengyongru e821144c7e feat(webui): search loaded message text in Ctrl+K 2026-10-25 21:03:35 +08:00
chengyongru 8af6313c56 fix(webui): refresh pairing prompts on gateway changes (#6401) 2026-10-25 20:16:51 +08:00
chengyongru 9e9e22d331 fix(webui): send waiting messages with empty Enter
Use the current pending message for explicit empty Enter submissions instead of a transient second-Enter marker. Preserve automatic-send authorization and keyboard/voice guards.

Refs NAN-357.
2026-10-25 19:49:15 +08:00
chengyongru 3ede000ad4 feat(webui): smooth theme changes and sun-moon transitions (#6450)
* feat(webui): smooth theme changes and sun-moon transitions

* test(webui): respect theme cooldown in diagram checks
2026-10-25 19:15:27 +08:00
chengyongru 4f7c4f0885 style(webui): refine composer surface and workspace hover (#6444)
* style(webui): refine the chat composer surface

Use a themed card background with a subtle edge and soft shadow. Keep focus stable without a darker frame while preserving Goal and drag rings. Align the startup composer surface and add composer-scoped browser coverage.

* style(webui): align workspace hover with access control

Keep the workspace trigger background clear on hover and use its existing text-color feedback, matching the adjacent access control. Preserve focus, disabled, and directory-picker behavior.
2026-10-25 15:16:08 +08:00
Xubin Ren e7e94bda1c fix(webui): remove extra frames from activity logos 2026-10-25 14:32:06 +08:00
Xubin Ren e1ca490d73 fix(webui): retain reading anchors through lazy Markdown layout 2026-10-25 00:09:24 +08:00
Xubin Ren b15bd455e3 fix(webui): soften thumbnail remove controls without shrinking touch targets 2026-10-25 00:09:24 +08:00
Xubin Ren a39bb03d35 test(webui): check retained queued images through thumbnails 2026-10-25 00:09:24 +08:00
Xubin Ren 0bdc24a891 feat(webui): show image attachments as composer thumbnails 2026-10-25 00:09:24 +08:00
Xubin Ren 0b22c1875a fix(webui): separate file cards from media previews 2026-10-24 23:55:10 +08:00