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.
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.
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>
Preserve configured tool settings when building subagent registries while retaining the effective workspace restriction.
Co-authored-by: BillDwyer <BillDwyer@users.noreply.github.com>
* fix(compaction): retain native state across retry and recovery
Accept successful native compaction before generation, checkpoint its durable continuation, and reuse it across provider retry and fallback scopes. Preserve pending tool pairs and temporary-session ownership boundaries.
Resolves NAN-404
* test: fix native compaction regression imports
* fix(webui): stream model status and usage during active turns
* fix(webui): keep live rounds and active-run status consistent
* fix(webui): reuse existing run indicators without extra status text
* fix(webui): preserve live activity and batch durable delivery
Cancel and drain sibling tools when progress notifications fail, retain balanced checkpoints, and keep model telemetry separate from answer provenance.
Group-commit already queued activity at the channel delivery boundary while preserving FIFO, generation ownership, per-envelope admission, and commit-before-fanout semantics. Isolate invalid members without dropping valid neighboring events.
Retain tool detail lazy grouping and cover scheduling, cancellation, persistence, encoding failures, and projection regressions.
* test(webui): separate standard-library imports in batch regression
* test: tighten live execution checks and clarify contracts
* refactor: remove redundant live execution comments
* refactor: settle tool results through one output path
* 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.
* fix(recovery): preserve complete checkpoints and refresh cancellation drafts
Retain earlier tool rounds and consumed follow-ups until the transcript is committed, and classify a fresh session after cancelling active recovery. Keep history and follow-up acknowledgement atomic through the session owner.
* test(recovery): cover completion during cancellation handoff
* fix(gateway): preserve failure exit status after runtime crashes
Report uncaught gateway runtime failures as exit code 1 after the existing cleanup, just like startup failures. Remove the startup-only guard without changing controlled shutdown or supervisor policy.
Reuse lifecycle regression coverage for startup/runtime failure diagnostics and cleanup, and update runtime fault fixtures to expect failure.
Refs: NAN-394
* fix(recovery): make interrupted tool outcomes explicit
* fix(mcp): avoid unsafe replays and retain error states
Recover stale connections before non-replayable tool submissions, and report unknown outcomes without replaying calls after transport loss. Preserve structured error results for resource and prompt wrappers.
NAN-393
NAN-395
* test(recovery): assert unknown outcome guidance
* fix(runtime): revalidate replay contracts and preserve recovery input identity
Bind replay safety to each request session, adopt the rediscovered contract, and stop automatic replay when it loses its safety declaration. Treat cumulative checkpoints as uncommitted deltas rather than deduplicating independent inputs by text, retaining legacy single-batch recovery compatibility.
Extend the existing reconnect and same-text follow-up regressions, and align MCP privacy/proxy fixtures with preflight and explicitly safe replay without relaxing their privacy or routing assertions.
* fix(mcp): report unknown outcomes after submitted tool timeouts
Real HTTP response-loss probing with Codex exposed that the MCP SDK can surface a lost response as a timeout. Preserve preflight timeout semantics, but report possible completed effects after a non-replayable request has started. Never replay or weaken task cancellation.
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>
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>