Commit Graph
2341 Commits
Author SHA1 Message Date
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 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
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 927eba89ea fix(websocket): abort disconnected HTTP handshakes before sending (#6348) 2026-10-27 20:46:47 +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
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 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
Rudy Mizrahi Celekliandchengyongru acae3e6a65 fix(media): accept data URLs that capitalize the base64 token (#6464)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-10-26 13:19:41 +08:00
chengyongru 8af6313c56 fix(webui): refresh pairing prompts on gateway changes (#6401) 2026-10-25 20:16:51 +08:00
david-dev666 9a9117967e feat(cron): expose recent run history to the agent 2026-10-25 14:21:47 +08:00
david-dev666 f971712f4f feat(cron): enable and disable jobs from the tool 2026-10-25 14:08:36 +08:00
david-dev666 60fd7c1a64 feat(cron): update scheduled tasks in place 2026-10-25 13:42:15 +08:00
lenin 9650f4fd5b fix(agent): recheck idle expiry after acquiring session lock
Reload settled activity inside the existing session lock before an idle
archive delegates to the consolidator. A fresh turn restarts the idle
interval; manual compaction keeps its existing behavior.

Cover both scheduling orderings and later genuine idleness, and give
existing direct idle-archive fixtures explicit idle preconditions.
2026-10-25 13:18:39 +08:00
Ruiming Zhao 6b930432cb fix: decode nested JSON tool arguments by schema 2026-10-25 13:04:53 +08:00
Zhou c9bd5ebb45 fix: recover oversized pending file reads after compaction 2026-10-25 12:37:34 +08:00
er-s-an f4aacdbec2 fix(agent): don't resume abandoned work after max_iterations 2026-10-24 22:34:11 +08:00
chengyongruandXubin Ren ae7fed88e2 perf(tui): shrink standalone builds and target native bindings (#6432)
* perf(tui): shrink standalone builds without dropping features

* fix(tui): resolve macOS diagram fonts through CoreText

* fix(webui): preserve history pagination at the page boundary

* docs(tui): streamline release preflight guidance

---------

Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
2026-10-24 22:00:50 +08:00
ljluestc 0e0df327c8 fix(api): route each session_id to its own chat
Derive the request chat route from the existing API session key for both
JSON responses and SSE. Keep JSON identity conversion, multipart trimming,
the shared default session and persisted history unchanged.

Exercise concurrent HTTP/SSE requests through the real agent runtime, tools
and storage with an offline model. Verify old-history replay, restart,
rollback, session ordering and stable model-request prefixes.

Refs HKUDS/nanobot#5798
2026-10-24 21:59:12 +08:00
chengyongru 67f6a0d26e perf(sdk): reuse consecutive effective model overrides (#6434)
* perf(sdk): reuse consecutive effective model overrides

* fix(runtime): preserve lazy fallback validation during override reuse
2026-10-24 20:57:06 +08:00
chengyongru 336572de29 perf(webui): avoid history drafts for turn-end metadata 2026-10-24 20:55:38 +08:00
chengyongru ce885fa31e fix(agent): preserve goal continuation lifecycle 2026-10-24 19:25:34 +08:00
chengyongru 03e9b5430b fix(providers): support Kimi K3.1 Pro request parameters
Extend the existing K3 parameter contract to K3.1 Pro and its high-speed variant, including the WebUI reasoning choices.

Refs NAN-347
2026-10-24 02:21:28 +08:00
DDTandDDT a88c333466 fix(providers): use reasoning_text for DeepSeek Responses reasoning replay
DeepSeek's Responses API documents reasoning content blocks as
reasoning_text. Full-history replay of assistant reasoning_content was
emitting output_text inside the reasoning item. Assistant message
content stays output_text.

Fixes #6411

Co-authored-by: DDT <1786035110@qq.com>
2026-10-23 22:14:56 +08:00
SaladDayandchengyongru 0254bf1217 feat(providers): add MiniMax-M3.1-Flash and avoid reasoning_split=false (#6360)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-10-23 14:15:12 +08:00
chengyongru d045285ced ci: reuse isolated pip seeds and parallelize native acceptance (#6395)
* ci: reuse isolated pip seeds and parallelize native acceptance

* test: retain native controller tree ownership after exit

* ci: retain proven Windows integration worker budgets

* test: keep stdlib creation for seeded integration environments

* fix(ci): constrain stylesheet scans and installer discovery

(cherry picked from commit 3c7a880b1e266a722b7c0075154fd0fc11a6b667)

* test(linear): make rate-limit timing deterministic
2026-10-23 13:45:14 +08:00
chengyongru a8873bb565 fix(web): report ambiguous ddgs failures as unavailable 2026-10-23 11:48:48 +08:00
chengyongru 10ad48cc13 ci: isolate Test Suite runs by revision 2026-10-23 00:45:10 +08:00
chengyongru 254f94b068 feat(attachments): support local files and video attachments (#6321)
* feat(attachments): support local files and video attachments

Share gateway inspection and send validation for borrowed local paths while preserving binary uploads, original-file ownership, and existing limits.

Related to NAN-284. Native provider video input remains outside this change.

* test: make cross-platform verification fixtures self-contained

* test(webui): align typed fixtures with runtime contracts

* fix(webui): preserve uploaded video playback during history sync

* test(tui): preserve local attachment drafts across resizes

* perf(attachments): preserve upload caches and release video previews

* docs(webui): keep attachment guidance user-focused

* chore: remove redundant dependency comment

* test(providers): make stream idle renewal timing deterministic

* fix(attachments): keep upload byte limits out of local references

Validate common format/count rules separately from upload byte budgets. Keep local inspection and send-time checks metadata-only, and exclude local references from composer and pending-upload totals. Explain upload size rejections with actual size and maximum in all ten locales. Related to NAN-284.

* fix(attachments): retain image references and draft order

* fix(attachments): close local reference UX and authorization gaps

* fix(attachments): preserve focus during asynchronous path confirmation
2026-10-22 18:32:18 +08:00
chengyongru abfe510ce1 test: remove unreachable cases and strengthen weak assertions 2026-10-22 17:19:20 +08:00
chengyongru bc5c58d239 feat(webui): distinguish context compaction reasons (NAN-324) (#6389)
* feat(webui): distinguish context compaction reasons (NAN-324)

* fix(webui): describe idle compaction cancellation as interruption

* docs: omit compaction notice details from configuration guide

* fix(i18n): make compaction notices read naturally

* fix(i18n): keep CJK compaction notices concise

* fix(i18n): describe idle compaction as unfinished
2026-10-22 16:13:25 +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 be43d2a5f8 fix(compaction): align native lifecycle and reconcile replay notices
Refs: NAN-326, NAN-327
2026-10-22 14:39:30 +08:00
chengyongru b45048d415 fix(ci): classify known test fixtures by validation consumers (NAN-331) 2026-10-22 14:28:20 +08:00
chengyongru f11ea5f9e0 feat(webui): configure idle compaction timeout (NAN-305) (#6383)
* feat(webui): configure idle compaction timeout (NAN-305)

* fix(webui): clarify idle compaction timeout and tradeoff

* refactor(webui): remove unused idle compaction minimum

* fix(webui): match idle compaction loading skeleton
2026-10-22 13:41:05 +08:00
chengyongru c6babb20e8 fix(webui): save settings when editing completes (NAN-323) (#6384)
* fix(webui): save settings when editing completes (NAN-323)

* fix(webui): close settings completion and verification gaps

* refactor(webui): simplify settings edit ownership
2026-10-22 13:39:46 +08:00
chengyongru 26e1f41a00 fix(exec): yield long-running commands by default (NAN-328) (#6385)
* fix(exec): yield long-running commands by default (NAN-328)

* test(exec): avoid waiting for already observed output

* test(exec): observe hard-timeout cleanup before asserting completion
2026-10-22 13:27:26 +08:00
chengyongru 421bd6b593 fix(agent): finalize stopped turns without checkpoints (NAN-211) 2026-10-22 10:35:04 +08:00
chengyongru d5cf09d738 fix(webui): preserve cross-session provenance at display persistence (#6379)
* fix(session): bind internal input identity before acceptance

* fix(webui): bind cross-session display writes at persistence boundary

* fix(webui): simplify session messages to current-target display writes

* chore: trim redundant session message comments
2026-10-22 01:24:18 +08:00
chengyongru b37a23698d fix(webui): admit history without dropping live output (NAN-311) 2026-10-22 01:22:49 +08:00
chengyongru 67fc220c8a ci: scope native acceptance and bind release candidate artifacts (#6378)
* ci: scope native acceptance and bind release candidate artifacts

* ci: isolate Windows installers and use portable Git tree fixtures

* test: preserve installer subprocess diagnostics on timeout
2026-10-21 23:50:58 +08:00
chengyongru 4dc695ca76 fix(webui): keep version checks on the gateway event loop (#6376)
* fix(webui): keep version checks on the gateway event loop

* fix(webui): keep update channel failures factual

Note: CI failed, but it’s not related to this PR.
2026-10-21 23:08:35 +08:00
Xubin Renandchengyongru fbb61a373f feat(update): integrate managed installs and recoverable in-app updates (#6168)
Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback.

Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers.

This code integration does not publish packages, enable signing or advance the public update channel.

Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-10-21 19:16:56 +08:00
chengyongru 76da55994b fix(webui): preserve answer checkpoints and stream order (#6368)
* fix(webui): preserve answer checkpoints and stream order

* fix(stream): close hosted-tool answer segments at the producer
2026-10-21 18:30:52 +08:00
chengyongru b32b1327ce refactor(session): unify model and display history storage (#6336)
* refactor(session): persist display history in SQLite

* fix(session): preserve new fork activity timestamps

* test(agent): use SQLite-owned model failure recovery fixture

* test(agent): isolate session slash routing from loop shutdown

Exercise the real inbound dispatcher and await its session worker. Keep response deadlines and behavioral assertions, while leaving full SQLite cleanup to the existing async fixture rather than an unrelated two-second shutdown deadline.

* fix(webui): admit direct deliveries to display history

* docs: clarify session history migration guidance
2026-10-21 16:13:59 +08:00