Prevent Responses API errors when conversation history is reused in a new provider request.
Fresh and pending Chat-style history conversions no longer include stale
provider-generated item IDs, while preserving function-call IDs for tool
output linkage.
During opaque Responses state replay, remove unsupported status fields from
reasoning items before sending them to the provider. Preserve encrypted
reasoning content and other valid provider fields.
Add regression coverage for stale item IDs and replayed reasoning items with
unsupported status fields.
Let the automation detail dialog own the background interaction lock instead of nesting a second modal menu. Overlapping exit lifecycles during deletion could leave body pointer events disabled after all dialogs closed.
Cover confirmed and cancelled deletion with animated Radix lifecycle tests and assert that sidebar navigation works after dismissal.
Refs NAN-117.
Keep trace rows unmounted until their group is opened, then release them only after the closing disclosure transition finishes. Hidden historical traces should not allocate a DOM row per tool call merely to support animation.
Add a 1,000-row regression test covering initial allocation, exit cleanup, rapid reopening, and subsequent expansion.
Coalesce highlight measurements per animation frame and stop animating the measured action width during a drag. This keeps navigation and session highlights moving toward the current sidebar width with the same easing instead of lagging until the drag stops.
Cover target refs, selector targets, frame cleanup, and all drag termination paths.
Replace the dense automation workspace with a calm list and on-demand details, show current linked-chat titles, and remember manual system-task expansion preferences.
Reuse disclosure transitions across expandable controls, preserve drafts and focus through closing, and release large diffs after their exit animation.
Refs NAN-116
Context compaction previously posted two separate chat messages: a
'Compressing context…' notice when compaction started and a follow-up
'Context compacted.' once it finished.
The Telegram channel now collapses this into a single message: the
started phase posts the notice and remembers its message id, and a
terminal phase (succeeded/failed/cancelled) edits that same message in
place instead of posting another. If the edit fails, a fresh message
keeps the outcome visible. Notices are keyed by compaction id and
bounded, so concurrent or abandoned compactions cannot leak state.
Automatic compaction delivered two standalone Discord messages,
"Compressing context…" and "Context compacted.", even with
sendProgress off. The lifecycle itself is information the user should
keep seeing (it changes the context of every later turn), so the
dispatcher keeps delivering both events to every channel; the noise is
a presentation problem of the Discord adapter.
The Discord client now remembers the message it sent for a compaction's
"started" event, keyed by compaction_id, and edits that message with the
outcome when it arrives, so one compaction is one message. Without a
stored notice (restart, or the edit being refused) the outcome is sent
as before. The earlier dispatcher-level filtering is dropped, and the
manager test pins that both lifecycle events reach a channel whose
progress messages are off.
Fixes#5719
Rework after review: compaction changes the context of every later turn,
so its outcome (compacted / failed / cancelled) is always delivered,
whether the user or the scheduler started it. Only the transient
"Compressing context…" start notice follows the channel's send_progress
setting, so a channel with progress off receives one notice per
compaction instead of two. The manual flag is gone.
Idle auto-compaction emitted "Compressing context…" / "Context compacted."
as standalone messages even when the channel had sendProgress: false, so
routine maintenance kept interrupting Discord chats after scheduled turns.
Gate ContextCompactionEvent notices in the outbound dispatch loop on the
channel's send_progress like other progress text. Two cases stay visible
regardless of the setting: a user-requested /compact (the event now
carries manual=True, set by cmd_compact through compact_idle_session)
and a failed compaction.
Fixes#5719
Reuse the conversation content width and gutters for Apps, Skills, Automations, and Channels so their main panes are no longer constrained by the narrower settings frame.
Make automation columns respond to their container widths to preserve readable messages in narrow panes. Keep the sidebar, regular settings, and existing conversation appearance unchanged, with focused layout regression coverage.
Refs NAN-111
The Telegram channel forwards slash commands through an allowlist regex
that must mirror the builtin command router. /compact and
/evaluator-prompt were missing from it, and messages starting with '/'
never reach the generic text handler, so both commands were silently
dropped: pressing /compact did nothing at all.
Add both commands to the allowlist, register /compact in the Telegram
command menu, and pin the router/regex pairing in the existing regex
test.
Prevent renaming writable ancestors of effective read-only roots while preserving explicit read-write overrides, filesystem case aliases, and unrelated child writes.
Exit before evaluating shell lists when the sandbox working directory cannot be entered. Add native and portable regressions for both boundaries and document the ancestor restriction.
Keep temporary work inside the granted workspace instead of exposing host scratch trees, enforce read-only roots, and pin the system sandbox launcher before PATH lookup. Preserve documented network access and the narrow system paths needed by shell and Git.
Add native macOS containment and launcher regressions plus shared backend contract coverage. Document scratch and custom-tool requirements without changing existing bwrap or Windows behavior.
On Windows runners, workspace and tmp paths contain backslashes which are escaped by _sbpl_quote into double backslashes in the generated SBPL profile. Use _sbpl_quote in TestSeatbeltBackend assertions and escape backslashes in quote test to ensure assertions pass on Windows.
`tools.exec.sandbox` only supported bubblewrap, which depends on Linux
kernel namespaces, so macOS had no process-level isolation for shell
commands: SECURITY.md told macOS users the sandbox was simply
unavailable.
Add a `seatbelt` backend that generates an SBPL profile for
sandbox-exec(1) with the same policy bwrap applies. The workspace is
read-write, the media directory is read-only, the workspace's parent is
unreadable so config.json and its API keys stay hidden, and everything
else is denied by default.
Two macOS details the profile has to get right, both found by running
the generated command rather than by reading the SBPL reference:
- sh(1) reads `/` while resolving a path, and `(subpath "/usr")` does
not cover the root itself. Without `(literal "/")` every wrapped
command aborts during shell startup.
- Denying the parent directory also blocks traversal into the
workspace, so commands fail with ENOTDIR before they run. The
ancestors of every allowed path are therefore re-allowed for
`file-read-metadata` only: they stay searchable, but the config
directory still cannot be listed or read.
Paths are SBPL-escaped so a quote or backslash in a workspace path
cannot terminate a literal early and widen the rules that follow it.
Network access stays unrestricted to match bwrap, which does not pass
`--unshare-net`. Windows keeps its existing warn-and-run-unsandboxed
path, and selecting `seatbelt` on Linux fails loudly on the missing
sandbox-exec(1) exactly as selecting `bwrap` does on macOS today.
Verified on macOS 26.6.2 against the real sandbox-exec(1): workspace
writes, media reads and /tmp scratch succeed, while writing media,
reading config.json, listing the config directory, writing outside the
workspace and reading ~/.ssh are all denied.
Refs #1448
Refs #2569
An in-flight response can contain the list captured before a skill was installed. Preserve one trailing refresh for picker opens that arrive during that request instead of silently dropping them, while keeping at most one request active.
Cover stale responses, coalesced trailing refreshes, and unmount cleanup after both success and failure.
Refresh the shared skill list when a dollar-reference picker opens so skills installed by the agent appear without reloading the page. Coalesce in-flight requests and preserve the last known list on transient failures.
Cover post-load discovery, Tab completion, removals, request deduplication, cleanup, and retry behavior with regression tests.
The Codex catalog gates model visibility by client version. Requests advertising 0.144.0 succeed but omit Astra for an otherwise eligible account. Use the validated 0.153.4 catalog version so account discovery can expose it without changing model defaults or fallback entries.
Pin the expected wire version independently in the regression test and cover both Astra and future account models while preserving hidden-model filtering.