Commit Graph
583 Commits
Author SHA1 Message Date
chengyongru 0a654a666d docs(dev): map tasks to owners and focused verification 2026-11-06 13:34:40 +08:00
chengyongru 812b92d734 Revert "refactor: remove legacy history and proxy migrations (#6518)"
This reverts commit cb3ba45317.

Keep JSONL history and legacy proxy migration available throughout 0.4.x. Mark their removal for 0.5.0 in code and release guidance, preserving later context graph, archive and recovery changes.
2026-11-06 10:58:10 +08:00
Xubin Ren 70eca8343b fix(skills): distinguish marketplace installation sources 2026-11-06 00:26:32 +08:00
chengyongru 519ed81132 feat(webui): inspect file context in a live graph sidebar (#6562)
* feat(webui): inspect file context in a live graph sidebar

* refactor(webui): place preview controls in the shared sidebar header

* fix(webui): synchronize npm lockfile for graph dependencies

* fix(webui): preserve compacted context and refine graph inspection

* fix(context): harden provenance, request usage, and drawer lifecycle

* fix(webui): align source skeleton and browser fixtures

* perf(context): reuse source analysis and capture request graphs once

* perf(webui): compact graph history and render graph motion on canvas

* fix(webui): remove redundant context sidebar header

* style(webui): clarify context replay icon

* perf(webui): pace context replay on an adaptive timeline

* feat(webui): briefly reveal labels for new context nodes

* fix(webui): reveal new labels only for loaded context files

* fix(webui): restart graph animation clock after idle

* fix(webui): reveal labels when replay reverses node exit

* refactor(context): project file-use facts without retention tracking

* refactor(context): observe file reads outside agent execution

* fix(webui): animate context sidebar closing

* refactor(context): remove unused graph and usage panel code

* refactor(context): isolate prompt observation from execution metadata

* fix(webui): clarify cache rate and show context token usage

* fix(webui): abbreviate context token counts in thousands

* fix(webui): omit token unit from context usage details

* fix(webui): restore large source preview highlighting and panel elevation

* fix(webui): distinguish modifier scrolling from keyboard focus

* fix(webui): align preview tab and panel corner radii

* fix(webui): attach file tabs to the header divider

* fix(webui): use one action to toggle file preview mode

* fix(webui): use hover hint for context replay

* fix(webui): share composer layout between graph and file sidebars

* fix(webui): align sidebar bottom with composer surface

* fix(webui): restore mobile graph drawing and touch file details

* test(webui): align legacy cache assertions with current label

* perf(context): retain source analysis and bound graph animation work

* style(webui): add light elevation to user messages

* test(webui): await lazy graph scene before replay assertions

* fix(webui): align preview skeleton and browser contracts
2026-11-05 17:09:20 +08:00
Xubin RenandTenable Research 219dd13fd8 fix(webui): enforce workspace authority across queued inputs
Keep workspace changes at the authenticated owner boundary. Queue follow-up inputs separately when their tool scope differs from the active run.

Co-authored-by: Tenable Research <152317477+tenbbughunters@users.noreply.github.com>
2026-11-04 23:33:49 +08:00
Xubin RenandTenable Research 4dd3fbecb6 fix(exec): confine selected shells behind the sandbox launcher
Co-authored-by: Tenable Research <152317477+tenbbughunters@users.noreply.github.com>
2026-11-04 23:33:49 +08:00
c8dba74fc5 fix(codex): fail closed on TLS certificate errors
Keep certificate and hostname verification enabled for HTTP and WebSocket requests. Honor explicit CA trust without changing configured proxy routing.

Co-authored-by: Wu Shuwen <mikewushuwen@outlook.com>
Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
2026-11-04 23:33:49 +08:00
Xubin Ren 65b6fd03ce ci(release): share manual and opt-in daily candidate preparation 2026-11-04 13:58:24 +08:00
chengyongruandchengyongru 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
chengyongruandPratik Parmar cc4dd1cebf fix(whatsapp): report libmagic dependency failures
Co-authored-by: Pratik Parmar <steveparmar6nov2011@gmail.com>
2026-11-03 14:17:51 +08:00
chengyongruandXubin Ren 8b37976d36 fix(providers): tighten tool calls and compatibility fallbacks
Require structured tool calls and explicit unsupported-feature errors.
Preserve supported SDK compaction requests and add compatibility coverage.

Co-authored-by: Xubin Ren <52506698+Re-bin@users.noreply.github.com>
2026-10-31 11:55:13 +08:00
chengyongruandchengyongru 29d0023fca fix(tools): correct DeepSeek Search rate-limit guidance
Remove stale quota details from the 429 diagnostic and configuration guide. Point users to DeepSeek for current account limits.

Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-10-30 18:19:23 +08:00
chengyongru cb3ba45317 refactor: remove legacy history and proxy migrations (#6518) 2026-10-29 18:28:44 +08:00
Orrin Witt 8a989d5adf feat(matrix): per-room group policy overrides (groupPolicyOverrides) (#6287) 2026-10-29 11:52:57 +08:00
chengyongruandOrrin 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
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
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 18ffa65550 docs: reconcile 0.4.0 with obsolete upgrade wizard removal 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 8ee81cc78a test(release): exercise exact native terminal packages across platforms 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 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 f93e926182 chore(release): prepare 0.4.0 2026-10-28 16:54:41 +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 d1451e30e9 feat(webui): add compact batch archive actions 2026-10-27 09:36:22 +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 dfb3843b4d docs: align runtime references with current behavior 2026-10-26 15:48:49 +08:00
chengyongru 9b3af7b66c feat(webui): keep delegated work within reach (#6443) 2026-10-26 13:16: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 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
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
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
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 06f3981962 fix(mcp): remove Figma remote preset and open management (#6399)
* feat(mcp): configure OAuth client names in management

* fix(mcp): use a short OAuth callback for Figma

* fix(mcp): narrow catalog changes and remove Figma remote

* test(mcp): drop unpublished Figma remote compatibility contract

* fix(webui): align MCP catalog skeleton with card body
2026-10-23 01:15:14 +08:00
chengyongru 6ace6068d7 fix(webui): check for updates only after opening About (#6397)
* fix(webui): check for updates only after opening About

* docs(agent): require meaningful behavioral test assertions
2026-10-22 21:04:21 +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 7dfeff9ddf fix(webui): keep restored waiting messages manual (NAN-275) (#6393) 2026-10-22 17:43:28 +08:00