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
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
8d0430c761
feat(webui): show persisted fallback preset on replies (NAN-133)
2026-09-20 15:16:35 +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
bd8d3ad5b6
fix(channels): preserve global progress defaults
2026-08-07 17:19:14 +08:00
chengyongru
27a00c7a4f
fix(webui): merge length recovery stream segments
2026-07-27 01:39:46 +08:00
chengyongru
d576804f23
feat(channels): enable tool hints by default
2026-07-26 21:22:12 +08:00
chengyongru
2116e32013
test: speed up CI and harden the suite
2026-07-15 00:18:37 +08:00
chengyongru and Xubin Ren
5283ceae85
Add optional Nanobot plugin controls ( #4396 )
...
* feat: add optional nanobot features
* test: update azure install hint expectation
* fix: validate optional feature extras
maintainer edit: verify requested dependency extras before treating optional features as installed, propagate restart state from feature enablement, and align docs with the new plugins enable command.
* fix: bound optional feature installs
maintainer edit: make optional feature installs time out as a normal install failure instead of leaving the WebUI or CLI action waiting indefinitely.
* feat: slim optional channel dependencies
* fix: log optional install commands
* fix(webui): gate remote feature installs
* docs: clarify webhook plugin example
* fix(webui): harden optional feature installs
* fix: install optional deps without package fallback
* fix(cli): refine plugin feature controls
* fix(webui): count enabled nanobot features
* fix(webui): allow slow feature install routes
* fix(webui): allow disabling websocket channel
* fix(plugins): simplify optional feature controls
* fix(webui): polish apps catalog states
* fix(webui): confirm nanobot support installs
* fix(webui): polish nanobot install dialog
* fix(webui): suppress empty websocket handshakes
* fix(webui): clarify apps plugin summary
* fix(webui): localize workspace access copy
* fix(plugins): polish optional feature controls (#4691 )
---------
Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com >
2026-07-03 18:17:52 +08:00
Xubin Ren
c78421cf16
fix(bus): preserve legacy outbound metadata events
2026-07-01 20:17:00 +08:00
chengyongru
5f4cfbcb16
refactor(bus): type outbound runtime events
2026-07-01 20:17:00 +08:00
Xubin Ren
d8601478db
test: cover stream-id delta coalescing
2026-06-27 16:47:53 +08:00
chengyongru
74270bb8a8
refactor(channels): resolve progress overrides at init-time like transcription
2026-04-29 16:43:09 +08:00
hanyuanling
a0443e8f9e
fix(channels): address progress override review
2026-04-29 16:43:09 +08:00
hanyuanling
0b111a0e0c
fix(channels): support per-channel progress controls
2026-04-29 16:43:09 +08:00
Xubin Ren
70a1279b86
test: pin retry-wait callback routing so internal heartbeats stay off channels
...
Add two focused regression tests for the retry-wait leak this PR fixes:
- tests/agent/test_runner.py::test_runner_binds_on_retry_wait_to_retry_callback_not_progress
locks in that `AgentRunSpec.retry_wait_callback` (not `progress_callback`) is
what `_build_request_kwargs` forwards to the provider as `on_retry_wait`.
- tests/channels/test_channel_manager_delta_coalescing.py::TestRetryWaitFiltering
runs `_dispatch_outbound` end-to-end and asserts that `_retry_wait: True`
messages never reach channel send.
Both tests fail on origin/main and pass with this PR's fix applied.
Made-with: Cursor
2026-04-18 13:50:05 +08:00
Xubin Ren
cf25a582ba
fix(channel): stop delta coalescing at stream boundaries
2026-03-27 21:43:57 +08:00
chengyongru
5ff9146a24
fix(channel): coalesce queued stream deltas to reduce API calls
...
When LLM generates faster than channel can process, asyncio.Queue
accumulates multiple _stream_delta messages. Each delta triggers a
separate API call (~700ms each), causing visible delay after LLM
finishes.
Solution: In _dispatch_outbound, drain all queued deltas for the same
(channel, chat_id) before sending, combining them into a single API
call. Non-matching messages are preserved in a pending buffer for
subsequent processing.
This reduces N API calls to 1 when queue has N accumulated deltas.
2026-03-27 21:43:57 +08:00