Commit Graph
598 Commits
Author SHA1 Message Date
Xubin Renandchengyongru 96c48c96bf Add trusted PyPI publishing for approved releases (#6642)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-14 14:54:23 +08:00
Xubin Ren 83ad917d6b feat(webui): show the latest activity in collapsed turns 2026-11-14 14:37:30 +08:00
chengyongru 5e9810c1ad fix(webui): scope remote health checks to visible demand (#6657)
* fix(webui): scope remote health checks to visible demand

* fix(webui): simplify demand-driven health polling
2026-11-14 00:32:10 +08:00
chengyongru 3f65a8f86c fix(models): route image input by preset capability (#6651)
* fix(providers): preserve images across retries and recovery

Remove destructive text-only retries and validate tool image media at the boundary. Keep image identity across native transport preparation and compaction, and stop incomplete fallback or continuation without replaying tools.

Resolves NAN-442

* fix(models): route image input by preset capability

Replace the expanded image recovery and tool-format changes with an explicit supportsImages preset setting, capability-aware fallback selection, and an Image input switch in model settings. Keep original messages on retry and fail on actual non-transient image errors.

* docs(models): introduce image input settings positively

* test(agent): align image request fixtures with preset routing

Cover successful image requests and direct validation errors when attributing model responses. Configure the image-capability check for the existing text-only provider mocks so governance and override-reuse tests exercise their scripted primary/fallback paths.
2026-11-13 18:16:58 +08:00
chengyongruandxiong-wei1 8cce73465b fix(tools): validate arguments with jsonschema without coercion (#6648)
Co-authored-by: xiong-wei1 <2318942410@qq.com>
2026-11-13 13:32:12 +08:00
chengyongru eb8546c321 perf(subagent): read saved task history by loaded turns (#6634) 2026-11-12 21:37:08 +08:00
chengyongru 1046a37be1 fix(webui): correlate chat requests and cancel stale reconnects (#6617)
* fix(webui): correlate chat requests and cancel stale reconnects

* refactor(webui): remove chat request capability negotiation

* docs(webui): clarify version pairing and cover HTTP startup

* test(webui): focus lifecycle coverage and clarify support policy
2026-11-12 14:44:38 +08:00
Xubin Renandchengyongru e6b0aec2a8 refactor(sessions)!: retire the global shared session (#6621)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-12 09:55:55 +08:00
Xubin Renandchengyongru 5c1083df7f refactor(config)!: retire the old OpenAI API selector (#6615)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-11 17:07:18 +08:00
chengyongru 0ce335bf12 fix(gateway): avoid restarting stopped systemd services 2026-11-10 23:47:23 +08:00
Xubin Ren 220d5e6970 refactor(api)!: remove the standalone API server (#6614) 2026-11-10 10:46:14 +08:00
Xubin Ren 44d567e37c fix(webui): name the gateway sandbox launcher in setup guidance 2026-11-08 14:29:46 +08:00
Xubin Ren f5e5bd6ea0 feat(webui): guide sandbox launcher recovery from chat 2026-11-08 14:29:46 +08:00
Xubin Ren 5b84b78cac feat(settings): check sandbox launchers and configure protected paths 2026-11-08 14:29:46 +08:00
Xubin Ren cdaae66c89 chore(release): prepare 0.4.1 (#6570)
Prepare version 0.4.1 and document the retained legacy upgrade path.

Avoid false busy update handoffs from disabled or not-yet-due idle scans. Keep real work, maintenance, lease and data-protection checks intact.

Retain safe package-failure diagnostics and cancellable test-controller progress checks. Reduce Windows installer startup contention without changing command deadlines or behavioral assertions.

Validated on the reviewed head with all required PR checks and the exact five-platform candidate. Historical package and recovery coverage remains as documented in the release acceptance record. Publication is separate; this merge does not create a tag, release, upload or feed change.
2026-11-06 20:48:57 +08:00
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