Commit Graph
5161 Commits
Author SHA1 Message Date
chengyongru 4e77d9c3f2 fix(retry): prevent replay amplification and isolate backoff (NAN-313) 2026-10-29 11:13:44 +08:00
davidandchengyongru b6d9009bb4 refactor(sessions): discover target handles through search (#6315)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-10-29 10:38:06 +08:00
chengyongru acc3750c28 refactor(channels): move tool hint rendering out of core (#6498)
* refactor(channels): move tool hint rendering out of core

* test: align progress privacy check with structured tool events
2026-10-29 10:37:29 +08:00
Orrin Wittandchengyongru b1cc89e922 feat(matrix): add "listen" group policy (observe room, reply on mention) (#6289)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-10-28 23:17:05 +08:00
chengyongru 55210eb9f1 docs: refresh README news and WebUI gallery 2026-10-28 22:20:10 +08:00
chengyongru 2a3d29ce73 refactor(webui): centralize outbound delivery (NAN-365) 2026-10-28 22:17:53 +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
Xubin Ren 8f7a7d1759 fix(build): fetch locked WebUI packages from npm registry 2026-10-28 17:28:59 +08:00
Xubin Ren 18ffa65550 docs: reconcile 0.4.0 with obsolete upgrade wizard removal 2026-10-28 16:54:41 +08:00
Xubin Ren 8268910a4f ci: bound Windows persistence test contention 2026-10-28 16:54:41 +08:00
Xubin Ren 2165173e1f test(release): cover Windows polling on Python 3.12 2026-10-28 16:54:41 +08:00
Xubin Ren 76cb13c8cd test(release): provision CJK fonts for native Linux acceptance 2026-10-28 16:54:41 +08:00
Xubin Ren 3f5ca7e896 fix(tui): resolve readable macOS CJK fonts for native diagrams 2026-10-28 16:54:41 +08:00
Xubin Ren 4a6ed1a673 test: await busy-session batch completion instead of polling 2026-10-28 16:54:41 +08:00
Xubin Ren d6ca89908c fix(tui): identify unavailable native font faces 2026-10-28 16:54:41 +08:00
Xubin Ren e9532d4100 test(release): preserve PTY exit output and await durable admission 2026-10-28 16:54:41 +08:00
Xubin Ren 8ee81cc78a test(release): exercise exact native terminal packages across platforms 2026-10-28 16:54:41 +08:00
Xubin Ren 2cfb2b6d2c test(release): verify retained-volume upgrades from the real Docker release 2026-10-28 16:54:41 +08:00
Xubin Ren 656f124fe9 test(release): resolve real historical baseline dependencies 2026-10-28 16:54:41 +08:00
Xubin Ren 91972b0e4f fix(release): preserve candidate source across artifact transport 2026-10-28 16:54:41 +08:00
Xubin Ren 89d35863d9 fix(webui): reinstall locked dependencies when rebuilding source upgrades 2026-10-28 16:54:41 +08:00
Xubin Ren 897c8b013f ci(release): verify exact candidate wheels on all five native targets 2026-10-28 16:54:41 +08:00
Xubin Ren 30c66c1719 test(release): make native macOS acceptance reproducible 2026-10-28 16:54:41 +08:00
Xubin Ren 428b5fb619 chore(release): refresh PDF image and Git runtime dependencies 2026-10-28 16:54:41 +08:00
Xubin Ren b2dd9053a6 test: seed disposable environments on Homebrew Python 2026-10-28 16:54:41 +08:00
Xubin Ren 19c18aaafd fix(release): verify final candidates and refresh SVG parser 2026-10-28 16:54:41 +08:00
Xubin Ren 4574a9b859 fix(release): support zero-patch candidates in upgrade acceptance 2026-10-28 16:54:41 +08:00
Xubin Ren f93e926182 chore(release): prepare 0.4.0 2026-10-28 16:54:41 +08:00
chengyongru 32ee2810a1 chore(skills): remove obsolete update-setup skill 2026-10-28 14:37:52 +08:00
chengyongruandsnailak c758ce8f40 fix(runtime): stop Windows identity polling memory leak
Reuse the FILETIME structure and cached kernel32 bindings rather than creating a new ctypes pointer type for every identity query. Python before 3.14 retains those types in its global pointer cache, so idle WebUI and gateway polling could accumulate gigabytes.

Keep each identity query live and preserve the native HANDLE signatures and handle cleanup. Add a native Windows regression that checks identity stability and a bounded set of pointer types, including on Python 3.14 where ctypes no longer retains the types globally.

Fixes #6506

Co-authored-by: snailak <141750781+snailak@users.noreply.github.com>
2026-10-28 11:49:26 +08:00
chengyongru b07b3eac24 fix(webui): retain history touch gestures across message replacement 2026-10-27 21:05:32 +08:00
chengyongru 927eba89ea fix(websocket): abort disconnected HTTP handshakes before sending (#6348) 2026-10-27 20:46:47 +08:00
chengyongru aacc780084 docs: clarify contribution policy and issue author credit 2026-10-27 20:38:16 +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
Quanxin Liu c4dac649da fix(utils): preserve exact newlines in atomic text writes (#6475)
* fix(utils): preserve exact newlines in atomic text writes

* test(updates): allow time for confirmed Windows upgrade completion
2026-10-27 13:38:17 +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 960bfa9a83 test(webui): trim redundant browser coverage 2026-10-27 13:03:37 +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