chengyongru and chengyongru
62c2ed4e7e
refactor(goal): sustain one ReAct run until the goal closes ( #6538 )
...
* refactor(goal): sustain one ReAct run until the goal closes
Keep active goals in the same runner beyond the ordinary iteration limit, with a final answer after successful closure. Remove cross-turn goal handoffs, continuation allowances and rollback bookkeeping while preserving input authorization, recovery, cancellation and terminal lifecycle ownership.
Contributes to NAN-392
Co-authored-by: chengyongru <chengyongru.ai@gmail.com >
* test(goal): consolidate sustained-run regression coverage
Retain lifecycle, history, usage, provider-state privacy and checkpoint cancellation assertions in the existing long-run scenarios. Remove duplicate smoke cases and parameter combinations that do not exercise distinct behavior; keep real Gateway, authorization and generation regressions.
2026-11-03 22:47:00 +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
Orrin Witt
8a989d5adf
feat(matrix): per-room group policy overrides (groupPolicyOverrides) ( #6287 )
2026-10-29 11:52:57 +08:00
chengyongru and Orrin Witt
c5cee9f204
feat(matrix): make non-threaded reply quoting optional
...
Add replyToMessage, enabled by default, so deployments can turn off automatic room-level reply quotes without changing thread relations or streaming replacements. Expose the setting in the channel contract and all locales, document it, and cover both settings in the existing send tests.
Co-authored-by: Orrin Witt <orrin.witt@gmail.com >
2026-10-29 11:18:26 +08:00
Orrin Witt and chengyongru
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
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
084b6bb394
feat(network): centralize proxy settings and add MCP routing (NAN-315) ( #6372 )
...
* feat(network): share proxy settings across features and MCP (NAN-315)
* fix(network): address shared proxy review regressions
* test(network): align rebased OAuth fixtures with runtime admission
* fix(webui): configure shared proxy without leaving connection drafts
* feat(webui): add optional shared proxy authentication editor
* fix(webui): align proxy save tests and loading skeleton
2026-10-22 15:49:27 +08:00
chengyongru
74942bd190
test: replace false-green checks with behavioral coverage ( #6282 )
...
* test: replace false-green checks with behavioral coverage
* test: complete behavior-focused audit coverage
2026-10-18 03:16:25 +08:00
Xubin Ren
508cedff31
fix(channels): retain scheduled results across pre-send outages
2026-10-17 12:49:03 +08:00
Xubin Ren
61db036cee
test(cron): narrow delivery review to saved-chat routing
2026-10-17 12:49:03 +08:00
Xubin Ren
9c1b16b3cc
fix(channels): retain scheduled results across pre-send outages
2026-10-17 12:49:03 +08:00
chengyongru
328e933d36
refactor: isolate runtime contracts and enforce import boundaries ( #6166 )
...
* test: enforce Python import ownership boundaries
* test: protect client import boundaries and rehome shared UI contracts
* refactor: remove gateway and client dependency inversions
* fix: detect dynamic imports in conditional expressions
* refactor(tools): keep configuration contracts with their owners
* docs: keep design guidance focused on ownership and checks
* fix: preserve default threaded turn delivery
2026-10-13 13:56:28 +08:00
chengyongru
bbe7648868
fix(webui): simplify existing copy across all locales ( #6116 )
...
* fix(webui): clarify Chinese copy and channel field guidance
* fix(webui): complete concise copy across all locales
* fix(webui): limit copy rewrite to existing strings
2026-10-09 17:47:21 +08:00
Xubin Ren
ab6d5f1d3c
feat(channels): add inherited global compaction notice policy
2026-09-30 13:44:42 +08:00
Arthur K.
0b402d0414
fix: stop sending context compaction notifications
2026-09-30 13:44:42 +08:00
Xubin Ren
f8d655d612
test(matrix): verify reply metadata and attachment compatibility
2026-09-24 23:27:18 +08:00
Xubin Ren
df5e6a00e3
test(matrix): cover streamed replies and cross-room isolation
2026-09-24 23:27:18 +08:00
michaelxer
c1067e2926
fix(matrix): reply to the room-level user event that started the turn
...
Room-level Matrix responses were sent as bare top-level events even when
the agent turn came from a specific user message. Set message_id from the
inbound event id (alongside event_id) so the agent loop can round-trip a
reply target, and attach a plain m.in_reply_to relation for non-thread
outbound sends. Threaded turns keep the existing m.thread relation.
Fixes #5274
2026-09-24 23:27:18 +08:00
chengyongru
8a7ca8a654
fix: improve log reliability and correlation
2026-09-21 17:36:24 +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
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
Lanre Shittu
a8cbcc1c81
fix(matrix): propagate stream delivery failures
...
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com >
2026-09-04 01:23:11 +08:00
Xubin Ren
236185d4f5
fix(matrix): bind and bound SAS requests
2026-09-03 23:49:20 +08:00
dajiaohuang
04aeec6c0f
fix(matrix): complete Element SAS request flow
2026-09-03 23:49:20 +08:00
Lanre Shittu
98660c19cc
fix(matrix): interpolate error log context
...
Matrix error logs used printf-style placeholders with Loguru, leaving filenames, room IDs, and chat IDs out of diagnostic output. Use Loguru placeholders and cover each affected failure path with focused regression assertions.
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com >
2026-08-21 15:53:02 +08:00
yu-xin-c
057e8f7af6
fix(matrix): isolate thread sessions
2026-08-12 02:15:17 +09:00
Orrin Witt
5c4c2cb819
fix(matrix): send non-empty POST body on room join for Continuwuity compatibility ( #5248 )
2026-08-06 18:29:57 +08:00
chengyongru
757ad9c764
refactor: enforce BasedPyright strict type checking ( #5158 )
2026-07-29 21:37:11 +08:00
Xubin Ren
b55b76d755
fix(streaming): preserve recovered segments across channels
2026-07-27 01:39:46 +08:00
chengyongru
27a00c7a4f
fix(webui): merge length recovery stream segments
2026-07-27 01:39:46 +08:00
chengyongru
462a0dfb0f
refactor(channels): make built-in channels self-contained ( #4908 )
...
* refactor(channels): own setup and instance contracts
* refactor(channels): isolate management contracts
* refactor(channels): normalize activation contracts
* fix(channels): enforce management contracts
* refactor(channels): finish setup ownership migration
* fix(channels): harden management contracts
* fix(channels): enforce lazy loading and runtime ownership
* fix(feishu): make multi-instance startup idempotent
* fix(webui): render channel setup contracts cleanly
* fix(feishu): stop websocket clients cleanly
* fix(channels): enforce persistence and activation gates
* fix(channels): preserve global feature action scope
* fix(channels): apply defaults for single plugins
* fix(channels): enforce management contract boundaries
* refactor(feishu): remove identity helper indirection
* fix(channels): preserve management setup contracts
* refactor(channels): generalize instance settings UI
* refactor(channels): package channel plugins with web UI metadata
* refactor(channels): make built-ins self-contained packages
* test(channels): colocate tests with channel packages
* fix(dingtalk): use official brand icon
* feat(channels): colocate webui translations
* docs(channels): clarify plugin ownership
* test(exec): remove output wait race
* refactor(channels): unify plugin descriptors
* fix(channels): enforce descriptor-owned contracts
* refactor(channels): finish package-owned plugin setup
* refactor(channels): use repository-owned packages only
* fix(channels): self-describe dependencies and runtime state
* fix(channels): warn about legacy entry points
2026-07-19 23:30:49 +08:00