Commit Graph
2418 Commits
Author SHA1 Message Date
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
chengyongru 9f7ae6fb7b fix(subagent): discourage duplicate delegated work 2026-11-12 11:47:53 +08:00
Xubin Renandchengyongru 8607b6445c refactor(exec): centralize process-tree lifecycle (#6623)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
2026-11-12 11:44:48 +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
chengyongru 28d73b6942 perf(webui): streamline model preset saves (#6631)
* perf(webui): streamline model preset saves

* fix(webui): type optional settings usage payload
2026-11-11 22:02:42 +08:00
chengyongru 3c61bcfdf0 fix(webui): preserve oversized turn history with record pagination (#6586) 2026-11-11 17:32:47 +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 27f1a836b5 fix(webui): settle interrupted turns before replaying follow-ups 2026-11-11 15:07:23 +08:00
chengyongru 05b66de6e6 fix(agent): preserve whitespace across streamed continuations 2026-11-11 14:04:45 +08:00
chengyongru 394a78e82d fix(sessions): preserve cross-session input ownership and history (#6613)
* fix(webui): reconcile cross-session history by message ID

* fix(sessions): preserve target authority and input ownership

Resolve cross-session follow-ups through the target route, carry stable input IDs through admission and recovery, and associate live and replayed answers with the inputs actually consumed.

Keep ordinary input scope isolation and omit historical anomaly repair. Resolves NAN-430.

* fix(sessions): complete input identity integration across boundaries

Carry input identity explicitly in projected input events, keep runner annotations out of public history, and reuse the canonical WebUI session parser during recovery.

Type validated recovery metadata and align existing channel and subagent regressions with explicit response ownership. All nine failed compatibility cases and adjacent recovery coverage pass in a focused 58-test run.

* fix(sessions): unify input recording and block remote commands

* fix(webui): keep input ownership checks page-bounded

Look up referenced inputs through the existing identity index before invoking transcript backfill. Complete pages no longer scan the full prompt history, including answers whose inputs live on earlier pages.

Cover cold-cache pagination and cross-turn ownership in existing regressions. Focused pagination, replay and follow-up recovery checks: 88 passed.

* fix(webui): preserve response ownership during history replay

* fix: resolve strict typing in response replay

* fix: preserve continuation ownership during recovery

* test: diagnose stuck gateway asyncio shutdown

* test: retain gateway thread stack diagnostics

* test(webui): stabilize native autoscroll browser setup
2026-11-11 10:46:44 +08:00
chengyongru 0ce335bf12 fix(gateway): avoid restarting stopped systemd services 2026-11-10 23:47:23 +08:00
chengyongru 62c05e7f7e test(ci): isolate flaky scenarios and retain failure diagnostics (#6622)
* test(ci): isolate HTTP stubs and retain failure diagnostics

* test(agent): scope compaction watchdogs to each phase

* test(webui): isolate settings skeleton scenarios

* test(webui): await rendered rail content before scroll checks
2026-11-10 13:53:51 +08:00
Xubin Ren 220d5e6970 refactor(api)!: remove the standalone API server (#6614) 2026-11-10 10:46:14 +08:00
chengyongruandPatrick Veverka 86c98c8cf2 fix(render): invoke entrypoint in deployment command
Co-authored-by: Patrick Veverka <296341601+patrickatrender@users.noreply.github.com>
2026-11-09 15:19:28 +08:00
chengyongruandzhang-li-cs 82cc42aee7 fix(feishu): receive files attached to rich-text messages (#6604)
Co-authored-by: zhang-li-cs <zhang_li_cs@yeah.net>
2026-11-09 14:06:30 +08:00
chengyongruandchengyongru 9257383bec refactor: remove unreachable internal code paths
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
2026-11-09 13:38:39 +08:00
chengyongru 4212ad726d fix(webui): retain system context graph after compaction (#6608) 2026-11-09 13:20:46 +08:00
chengyongru d789e1bfc7 fix: preserve delivery failures across channel boundaries 2026-11-09 11:41:57 +08:00
chengyongruandpxbfeiniao c5f2ce5089 fix(agent): keep session worker alive when resetting idle chat
Avoid cancelling the caller when /new runs on the session worker, while preserving its task and queue ownership. Continue cancelling other session work normally.

Co-authored-by: pxbfeiniao <32089198+pxbfeiniao@users.noreply.github.com>
2026-11-09 00:24:41 +08:00
Xubin Ren f5e5bd6ea0 feat(webui): guide sandbox launcher recovery from chat 2026-11-08 14:29:46 +08:00
Xubin Ren 16250540d3 fix(sandbox): resolve saved environment paths during validation 2026-11-08 14:29:46 +08:00
Xubin Ren 5130f42901 test(settings): assert platform-specific override rejections 2026-11-08 14:29:46 +08:00
Xubin Ren 0984940a21 test(exec): distinguish installed launchers from namespace support 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 f158779c60 test(exec): restrict launcher simulation to Unix 2026-11-08 14:29:46 +08:00
Xubin Ren 7b38d3c814 test(exec): capture nonstandard sandbox launcher behavior 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 1a89a25abd perf: reduce memory copies across files, sessions, and model requests (#6581) 2026-11-06 17:50:25 +08:00
chengyongru 92e6608e6e fix(webui): preserve unmigrated workspace history ownership 2026-11-06 11:19:04 +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 3918ece17f test: separate preparation responsiveness from persistence timing 2026-11-06 10:31:35 +08:00
Xubin Ren 475b045b6f test(ci): remove Docker output and stdin timing races 2026-11-06 09:01:58 +08:00
Xubin Ren 112ea9d174 test(skills): verify source identity across public API and browser 2026-11-06 00:26:32 +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
chengyongru 2b44088413 refactor(commands): own trusted Shell completion outside agent loop 2026-11-05 16:39:09 +08:00
Xubin Ren 955b1edd99 test(cron): allow durable late-result routing under CI load 2026-11-05 12:13:58 +08:00
Xubin Ren 9e161673bb test(webui): allow durable checkpoint setup under CI load 2026-11-05 12:13:58 +08:00
Xubin Ren 382f1b12e8 test(agent): allow storage shutdown to finish during cleanup 2026-11-05 11:33:08 +08:00
Xubin Ren ef9409dc89 ci: run Windows gateway stop checks with serial coordination 2026-11-05 11:33:08 +08:00
Xubin Ren 72e4297c7a test(channels): keep retry checks independent of scheduling speed 2026-11-05 11:33:08 +08:00
Xubin Ren 2841706fea test(cron): bound async progress separately from persistence 2026-11-05 11:33:08 +08:00
Xubin Ren 8075397a01 test(agent): guard maintenance transitions separately 2026-11-05 10:49:42 +08:00
Xubin Ren 215f0754e2 fix(agent): keep idle scans off the inbound consumer 2026-11-05 10:49:42 +08:00
Xubin Ren ce3aa50e70 test(rg): use native paths for mocked sandbox launchers 2026-11-04 23:33:49 +08:00
Xubin Ren 3a8dc82251 test(shell): use native paths in sandbox platform fixture 2026-11-04 23:33:49 +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
chengyongruandBillDwyer 84d96d8a1e fix(subagent): inherit parent tool configuration
Preserve configured tool settings when building subagent registries while retaining the effective workspace restriction.

Co-authored-by: BillDwyer <BillDwyer@users.noreply.github.com>
2026-11-04 18:26:47 +08:00