## Why
The TUI treated URLs in file citations as local paths. This could prepend
the working directory and escape parts of the URL needed to reach the
cited resource.
## What changed
Render HTTP and HTTPS `codex-file-citation` paths as web links, preserving
percent escapes, query strings, and fragments in the displayed URL and
hyperlink destination.
## Testing
Regression tests compare file citations with equivalent Markdown links
with and without a working directory. A snapshot covers the rendered
text and hyperlink metadata for a spreadsheet URL.
GitOrigin-RevId: 2f3213192fced0e92ae87062d086a9015113b862
## Why
The TUI's daemon auto-start metric reports a failure reason, but broad
reasons such as `other` leave it unclear which startup step failed.
## What changed
Add `failure_stage` and `os_error_kind` to failed `codex.daemon.start`
attempts. For example, a missing executable reports `spawn` at
`process_spawn` with `not_found`. The metric uses a fixed set of error
categories and keeps raw OS codes and diagnostic text local.
Report Windows detached-launch restrictions as
`windows_detach_restricted`, matching the reason recorded when the TUI
falls back to an embedded app server.
## Testing
Cover missing executables, Windows launch restrictions, and preservation
of the underlying I/O error. An in-memory metrics test checks that a failed
attempt increments the counter once and maps an unknown OS code to `other`.
GitOrigin-RevId: c5976517e1178fb8d65257362a893ad6254a2ddd
## Why
A daemon with a dangling package selection or a missing executable can
fail to start, and leftover logs can make an absent installation look
like an existing one.
## What changed
- Let `codex app-server daemon update --from-cli` install or repair and
pin the daemon from a complete CLI package. Point missing-executable
errors to that command. Repair checks that the daemon and updater are
stopped and that the package selection has stayed unchanged.
- Let `codex app-server daemon start` bootstrap a missing installation
even when old daemon logs remain. Use legacy logs to infer a stopped
standalone installation only when its package selection still exists
and dedicated daemon logs are absent.
- Allow repair to replace a dangling Windows junction whose target is
directly under the daemon's releases directory.
## Testing
Extend coverage for startup with leftover logs, package repair after
losing the selection or executable, repair blocked by a starting
daemon or updater, and replacement of a dangling Windows junction.
GitOrigin-RevId: 679266cc22b7ff7a34bbd41c2bf0659d3068eb75
## Why
When composer stars fade, the terminal can clear to the end of the row and erase part of the Sixel pet image.
## What changed
Leave a strip of default background at the right edge of the composer where the Sixel pet is drawn, so star redraws can update the composer without clearing through the image.
## Testing
Add a terminal regression test that uses text markers to stand in for Sixel pixels. It checks that the markers survive while the stars are visible and after they disappear, and that disabling the pet restores the composer background in that area.
GitOrigin-RevId: 0f55d1e5594fa503edeb13d2d262e3c73bb0366b
## Why
Once the TUI restores the terminal, another Ctrl+C becomes a Windows
console event and can terminate Codex before it prints the exit summary,
including the resume hint when available. The npm launcher can also
force-terminate the child by forwarding a Ctrl+C that Windows already
delivered to it.
## What changed
Register a Windows Ctrl+C listener before restoring the terminal and keep
it alive until the CLI or standalone TUI finishes printing the exit
summary. Skip forwarding `SIGINT` from the npm launcher on Windows.
## Testing
Add a Windows regression test that simulates `SIGINT` in the npm launcher
and checks that the child can finish and report its own exit code.
GitOrigin-RevId: cd73a4a2ecc22812bc301787e67c349f7720a93b
## Why
The slash menu uses a fixed order within each match tier, so frequently used commands can stay buried among equally good matches.
## What changed
Rank commands within each match tier by frequency over the last 50 dispatches, keeping the existing order for ties. Count `/quit` toward `/exit` and `/btw` toward `/side`. Store slash command usage locally in `slash_command_usage.json`, separate from `$` picker history, when history persistence is enabled.
If `/exit`, `/quit`, or `/logout` ranks first, require its full name or explicit menu navigation before Enter can run it.
## Testing
Cover ranking after queued and disconnected dispatches, exact-match priority, persistence after widget handoff, and explicit selection of shutdown commands.
GitOrigin-RevId: 152f2b642dcac1ece9c3347eb4541d03fc3a425c
## Why
Selecting a saved Cloud environment for a draft did not set a default
for future conversations in the same project.
## What changed
- Save the environment selected for a Cloud draft in the local user
configuration under `tui.default_cloud_environments`, keyed by project
and local user identity. Selecting Default clears the preference.
- Reuse the preference at startup, when creating a new Cloud conversation,
and when switching to Cloud. Use the normal Cloud environment selection
when the saved environment is absent from the catalog or the catalog
cannot be loaded.
- Use the v2 environment catalog, filter for eligible saved environments,
and deduplicate entries across personal and workspace results.
## Testing
Cover preference persistence and clearing, project scoping, reuse after a
config reload, fallback when the catalog is unavailable, and catalog
pagination, filtering, and deduplication.
GitOrigin-RevId: bc4f66842c5c83dc75c5b10840fd596feedd44df
## Why
Changing directories with `/cd` could force in-app resume to use the current
directory even when the saved preference was to use the session's directory.
## What changed
Use the `/cd` directory for the remembered Current choice. Explicit CLI and
remote directory overrides still select Current. If reloading configuration
fails, reuse the existing configuration only when it already belongs to the
resume directory.
## Testing
Update the in-app resume and agents overview cold-resume tests to cover using
the session directory after `/cd`.
GitOrigin-RevId: d87bc2ba96f7ca10d6fd0d5ec0414712d44238e6
## Why
A remote preview can exceed the WebSocket client's 128 MiB message limit
once the file is base64-encoded and wrapped in a JSON-RPC response.
## What changed
Check the file size with `fs/getMetadata` before calling `fs/readFile` for
remote previews. Allow for base64 expansion and reserve room for the
JSON-RPC envelope. If the reported size exceeds that budget, show a
preview error with the file's size.
Continue with the read if the server lacks `fs/getMetadata` or omits
`sizeBytes`. Apply the sidebar's existing path error handling to metadata
failures as well as read failures.
## Testing
Extend the remote preview test to cover an image at the size limit,
oversized image and text files, and both metadata compatibility fallbacks.
GitOrigin-RevId: a284b3b76d9c56fe7e80445d880ccc17d575681c
## Why
A completed write to the PTY master can reach the slave in fragments.
The startup test could run its zero-time poll or input discard before
the full sequence arrived.
## What changed
Use `FIONREAD` to wait until the full paste boundary and the subsequent
action input are each queued on the PTY slave. The wait leaves the bytes
unread and reports how many arrived if it times out.
GitOrigin-RevId: 077715814c4e11e6dfd42e63238222b0204aff4d
## Why
The `/status` palette can appear during startup, before the TUI attaches
to a thread. Waiting for the palette alone can let the test suspend the
TUI too early.
## What changed
Use the bundled model catalog to avoid model fetch delays during test
startup. Configure the status line to show `thread-id` and `run-state`,
then wait for ` · Ready` before opening the `/status` palette and
suspending the TUI.
GitOrigin-RevId: adfe1163082dca64c76791f38cee29791ea774b5
## Why
A JPEG can exceed the sidebar's 32 MiB decode budget even when its
thumbnail would fit comfortably.
## What changed
When a full JPEG decode hits the allocation limit, try building a
preview from JPEG block averages within the same budget. The fallback
supports sequential and progressive JPEGs, applies EXIF orientation,
and preserves the oriented source dimensions in the sidebar label.
## Testing
Add tests for a 6544 × 1721 sequential JPEG that produces a 768 × 202
preview and for a progressive fixture that exercises scan refinement,
restart markers, EXIF rotation, and allocation limits.
GitOrigin-RevId: 232b37d8c239fbaa602930d9032c9a784bd030e2
## Why
Startup can send a `thread/list` request while the loading screen is still
visible. Reading the terminal buffer at that point can make the saved
grouping test fail before the Command Center header has rendered.
## What changed
Capture completed terminal frames through a test-only channel. Have
`agents_overview_startup_restores_saved_grouping` wait for the grouping
header and verify that it shows `Group: Status`, the saved preference.
GitOrigin-RevId: e4479039e0663483016637be0fe5bfff62f27044
## Why
A Cloud session can have more history than the TUI scans on reconnect.
Requiring the full transcript prevents recovery even when the recent
history is enough to verify where the session left off.
## What changed
Allow recovery from a bounded history window in owned transcript mode
when it confirms the required turns and updates. Preserve completed
local history outside that window and keep older history pageable
without rendering prompts or replies twice.
Bound turn metadata lookups, including across turns without items.
Sample partial history again before restoring queued question answers
so a response from another client has another chance to appear.
## Testing
Extend reconnect tests to cover partial and overlapping history,
missing live updates, duplicate-free pagination, bounded metadata
lookups, and queued question answers.
GitOrigin-RevId: 2f12d64dc83a6e7e42ee3923baaea40ca7f663ab
## Why
The agents overview could miss cloud tasks when opened from a local
session, even when the cloud backend was already connected.
## What changed
- Refresh tasks from connected backends when opening the overview, and
have **Show more** fetch additional pages from each backend that has
more results.
- Preserve pagination progress across refreshes when it still applies,
and keep refresh errors visible until the affected backend recovers.
## Testing
Add coverage for discovering and paging through cloud tasks from a local
session, reopening the overview with pagination progress intact, and
refreshing after lifecycle events from a background backend. Add a
snapshot of the mixed local and cloud overview.
GitOrigin-RevId: 11d3108dbbd8c7033cd8fe43cfd045fb3eacccd4
## Why
The plugin detail popup passes the entire description as a single line,
so it loses the author's line breaks.
## What changed
Render each nonblank description line separately and keep dim styling and
terminal-width wrapping. Skip blank and whitespace-only lines so extra
spacing in the description cannot inflate the popup header.
## Testing
Add snapshots at 40 and 100 columns and regression tests for LF and CRLF
line endings, whitespace-only lines, literal Markdown, Unicode, and
description fallbacks. Cover navigation to the install action with a long
description in a short viewport and verify that the plugin picker stays
closed when plugins are disabled.
GitOrigin-RevId: e2f988d6e9b743a4fe318bed8e56563f495da605
## Why
On tall terminals, painting the transcript and measuring the preceding
screenful for pagination can exceed the fixed 64-entry cache. Hidden
reasoning entries in compact mode also take up cache slots, which can
force visible text to be laid out again on the next frame.
## What changed
Set the entry limit to twice the viewport height plus two, clamped to
64–512 entries, and trim the cache when the viewport shrinks. Keep the
existing byte budget and skip caching hidden reasoning in compact mode.
## Testing
Cover eviction after shrinking the viewport and verify that repeated
frames reuse visible layouts in an 88-row viewport with partial history
and 100 hidden reasoning entries.
GitOrigin-RevId: 194f39e3ad1eb72a223481c600e95463a5674fc4
## Why
When a filename is already taken, saving a conversation with `/export` ends
with an error. Users have to restart the export to choose a different name.
## What changed
Show a conflict picker with options to choose another name, replace the
existing file, or cancel. Choosing another name pre-fills an editable
numbered filename, such as `notes-3.md` when `notes.md` and `notes-2.md`
already exist.
Offer replacement only for regular files. After confirmation, check the
directory and file identities and use an atomic rename to install the new
transcript.
## Testing
Cover the picker actions and numbered filename suggestion, verify that
replacement requires confirmation, and check that replacement rejects a
changed file or redirected directory.
GitOrigin-RevId: edcb2fad858bab15a7228c69bd27a8ffd18e8d05
## Why
A fresh session could send client-side execution settings as thread
overrides, even when the destination app server had its own defaults.
The TUI also needs the destination settings when preparing the first turn.
## What changed
Use the destination defaults to prepare the first turn for session
replacement, starts from the agents overview, and backend switches.
Keep explicit launch choices and managed new-thread defaults in the
start request, and let the server resolve its own model and reasoning
effort. When `config/read` is unavailable, omit implicit execution
overrides and avoid replacing server instructions with terminal
visualization text alone.
## Testing
Extend session replacement tests to check the start request and first
turn, including shadowed launch settings, server instructions with
terminal visualization enabled, and compatibility with older servers.
GitOrigin-RevId: d66d6d51495ee067282514a138f7e39abfd91f2f
## Why
A TUI resume request could override a thread's saved service tier with a
configured tier, a model default, or the local Fast default opt-out.
CLI forks could also send a tier before the destination's settings were
resolved.
## What changed
- Send a tier on resume or CLI fork only when the invocation supplies a
tier override. In-app forks carry the current session's tier.
- On fresh startup, use the invocation's tier choice first, then the
managed default, then the startup configuration. Keep an explicit
reset (`serviceTier: null`) distinct from omitting the field.
- Use the current local Fast default opt-out when resolving tiers for
new sessions and honor feature gating for launch overrides.
## Testing
Extend request assertions to cover tier omission on resume and CLI fork,
`flex` on in-app fork, and both explicit reset and disabled Fast mode on
fresh startup.
GitOrigin-RevId: d74f0f5e98506a0d5a6ead7106e1042691d41d41
## Why
Resuming with only a model or reasoning-effort override could also
send the other value from the TUI's resolved config, overriding saved
thread settings. Startup forks could similarly carry an unrelated
default into the destination.
## What changed
Build thread requests from explicit launch overrides. Resolve model
and reasoning effort independently from invocation options and the
selected profile, honoring config precedence. On resume, omit unset
fields so the app server can restore saved values. On startup fork,
let the destination config supply unset fields.
Carry accepted model migrations into resume requests and apply managed
new-thread model defaults on fresh starts without a launch model or
effort choice.
## Testing
Extend resume coverage for model-only and effort-only requests and for
a launch effort shadowed by higher-priority managed config.
GitOrigin-RevId: 5190d9b820a36c4da6a179fbdbca27591b1e8541
## Why
An unsupported UI tag or property invalidates the entire statusline
response, so providers need a fallback for clients whose rendering
capabilities are unknown.
## What changed
- Document the available UI elements with examples for wrapping rows,
spacing fields, preserving whitespace, and displaying status badges.
- Explain how to use `app.cli_version` to check support for features such
as `spacer` and `maxLines`, and return a plain string for the entire
footer when support is unknown or absent. Carry the `spacer` guidance
into the generated TypeScript reference.
- Clarify how to diagnose provider discovery failures with F2 and check
`tools/list` metadata when a provider is missing from the picker.
## Testing
Update the scenario snapshot that verifies an explicit statusline skill
mention loads the bundled guide.
GitOrigin-RevId: 9c6ea1d356146c2d666359732d6a065ed41d9fee
## Why
The mouse wheel scrolls the help view, but browsing a long task list
requires keyboard navigation. Once the list can scroll independently of
the selection, task shortcuts need to account for an offscreen target.
## What changed
Scroll the task list without moving the selection, and keep task titles
reachable in short viewports. When the selection is offscreen, show a
reveal hint and make the first task shortcut bring the selection back
into view. Keyboard navigation resumes following the selection.
Suppress repeats from the key that revealed the task so holding a
shortcut such as Stop cannot immediately act on it. On Windows, peek at
queued console input to account for press/release pairs emitted by
legacy ConPTY input.
## Testing
Cover wheel paging and short viewports with a rendering snapshot, test
that Stop requires a fresh press after revealing a hidden selection,
and verify that the Windows release probe leaves queued input intact.
GitOrigin-RevId: ebd7c0993978de3fc07245adf930f9fc63b306c1
## Why
Short terminals can cut off agent center shortcuts and require a resize to
read them. Status filter tabs and their overflow arrows are visible but
require keyboard navigation.
## What changed
- Scroll help with the configured list navigation keys or mouse wheel.
Show a scroll hint when help extends beyond the viewport.
- Click a status tab to filter tasks, or click an overflow arrow to
select the adjacent hidden tab. Overflow arrows also work in Analytics.
- Display `/` as the primary search shortcut and retain `F3` as a binding.
## Testing
Extend regression tests for help scrolling, task paging after resizing
in help, and mouse clicks on filter tabs and overflow arrows.
GitOrigin-RevId: b01b465626a681ca48a6e20547a24cf715a9a406
## Why
MCP refresh traces show how long an operation waits for the refresh gate, but they lack the timing and operation labels needed to identify which refresh held it.
## What changed
- Tag refresh wait and hold spans with a shared gate ID and the operation name so overlapping spans show which operation held the gate while another waited.
- Carry the scheduling trace context into background MCP prewarm and add a span for the Apps catalog refresh.
## Testing
- Add a test that checks the exported wait and hold spans share a gate ID and overlap while a second operation waits for the permit.
- Make the worktree TUI test wait for the `Ready` run state before submitting input, since a directory change can appear while the composer is still busy.
GitOrigin-RevId: be2b6d2a82e4a5b553fb3f335850865f04a181ee
## Why
Serde's derived decoders could accept positional arrays for values the UI
tree schema defines as objects. For example, row props could be written
as `[1, "red"]`, tying their meaning to the order of Rust fields.
## What changed
Require JSON objects for typed elements and their props while retaining
literal string nodes and child arrays. Pass object fields directly to
the derived decoders so duplicate and unknown fields are still rejected.
## Testing
Add regression cases for positional props, positional elements at the
root and inside children, and duplicate keys. Verify that named row
layout props round-trip through JSON.
GitOrigin-RevId: 81fbd048e8b7b1df6b453d97c9e16e8194a451a6
## Why
TUI copy tests can verify the text sent to the clipboard and `PRIMARY`
without depending on the host clipboard or waiting for a background worker.
## What changed
Give each test TUI its own in-memory clipboard and `PRIMARY` selection.
Handle requests inline and expose completions through the normal worker
polling path.
## Testing
Assert copied text in transcript, sidebar preview, and turn tip tests.
Verify that a second TUI's copy leaves the first TUI's Markdown clipboard
text and plain-text `PRIMARY` selection available for paste.
GitOrigin-RevId: 159845b17f0dac26b4b12c3851c101afe8d21d2d
## What changed
Offer “Use Google Cloud Vertex AI” during eligible terminal onboarding
without requiring users to set `gcp_setup_wizard = true`.
## Testing
Use the feature default in the Google Cloud setup flow test and explicitly
disable the Google Cloud wizard in the gateway-only onboarding case.
GitOrigin-RevId: 098c3842623de13aa9c4852e188f225923c5c5d9
## What changed
Offer “Use a custom provider or gateway” in eligible terminal sign-in flows
without requiring users to set `features.gateway_setup_wizard = true`.
## Testing
Exercise the default in the gateway onboarding test, which verifies that the
selected gateway authenticates before receiving the first chat request.
GitOrigin-RevId: e140b13dc12ebe9b35f37711d5b088fd02a0707c
## Why
When the TUI omitted the provider ID, the app server defaulted to
`amazon-bedrock`. Bedrock onboarding needs to select `amazon-bedrock-runtime`
for the first thread.
## What changed
Pass `AmazonBedrockRuntime` explicitly when onboarding with an API key, an
AWS profile, environment credentials, or manually entered AWS credentials.
## Testing
Extend the daemon startup integration test to accept credentials detected in
the running daemon and verify that the first thread shows
`amazon-bedrock-runtime` in the status line. The test leaves the model unset
so the thread uses the selected provider's catalog.
GitOrigin-RevId: 57753a29c77b0bd1bcbb0494057770329cd0b67d
## Why
On Windows, a case-folded trust key can make a Git root appear as a
separate path in the folder trust prompt even when it is the current
directory.
## What changed
Display the Git root with its original casing when it matches the
current directory. Keep the selected trust key for saving the decision
and continue to show distinct trust targets.
## Testing
Cover mixed-case Git roots in trust resolution and verify that the
prompt displays a single path for a matching root while keeping
distinct targets visible.
GitOrigin-RevId: 95b459dbcb8acf0611da8b04a1a413e56663f1e4
## Why
Blank gaps in nested rows can shift end-aligned text when a row is
clipped. Blank lines can also lose their inline code or flex background.
## What changed
Suppress unpainted gaps on blank lines in aligned rows while preserving
spacer padding that clipping can reclaim for the ellipsis. Paint inline
code gaps and fill explicit flex backgrounds through the visible height
of stretched bands.
## Testing
Add rendering regressions for clipped end alignment, ellipsis placement
next to a wide glyph, and background coverage on blank lines.
GitOrigin-RevId: 2fc9d4b651dbf8a3cd8f63867bc6730a3bebd3ac
## What changed
Render named `icon` elements inline with terminal text. Badges can
display an icon on its own or place it before or after a label. For
example, a success badge can show a `check` icon next to “passing”.
Keep icons intact when wrapping or truncating text, including icons
that span multiple cells such as `code` (`</>`). Expose the new
element and badge combinations in the bundled TypeScript contract.
## Testing
Add coverage for icon and badge rendering, whole-icon truncation,
invalid icon payloads, and badge children counting toward the UI tree
node limit. Update the TypeScript contract fixture to exercise a badge
with a leading icon.
GitOrigin-RevId: 8a5afb0662a71cf1b5d16400b9866cb414c11646
## Why
Custom status lines need a way to display grouped entries with automatic
numbering and keep wrapped lines aligned with the item text.
## What changed
Add `list` and `list-item` to the UI tree and the bundled TypeScript
contract. Each direct child of a `list` is an item. Use `list-item` to
combine multiple elements under one marker.
Lists use bullets by default and accept `number` or `none` as alternatives.
Wrapped lines align with the item text, and nested numbered lists start
their own count.
## Testing
Add renderer tests for wrapping, nested numbering, marker placement in
rows, clipping, and background preservation. Extend the decoding and
TypeScript contract tests to cover invalid markers.
GitOrigin-RevId: 991d230357f035ccbe7e52956ef1cbfe5b1e2174
## Why
Rate limits and thread usage can arrive after `/status` is displayed.
Updating a status card already in terminal scrollback required rewriting
history and depended on where the card was rendered.
## What changed
- Show the report in a scrollable modal with Overview, Configuration, and
Session tabs. Apply rate limit and thread usage results to the open report
without writing status output to the transcript or terminal scrollback.
- Copy a selected field or the full report directly from the modal, and open
usage settings from the same view. Remove status fields from the `/copy`
picker.
## Testing
Add coverage for overlapping refreshes, dismissal during account or thread
changes, keyboard navigation and copying during an active turn, and scrolling
in a narrow terminal.
GitOrigin-RevId: 64961c4d013607e373d50a79182b74e3048c632f
## Why
Reattaching a cloud reply stream after a disconnect can leave gaps in
the transcript. Queued follow-ups also need to wait until the TUI has
caught up and knows whether a turn is already running.
## What changed
- Automatically resume eligible idle cloud conversations with history
recovery. Replay missed items and repair partial replies in place while
preserving the draft and native terminal scrollback.
- Hold queued follow-ups until the reattached stream has delivered its
pending events and any active turn has settled.
- Reconcile queued async question answers against recovered history.
Drop answers already recorded and return unresolved unsent answers
to the composer for review.
## Testing
Add regression coverage for transcript repair, scrollback preservation,
queued input during catch-up, and async question answer recovery.
GitOrigin-RevId: 3378479ff886204cdc473a701ef51b3fc8b6b5c0
## Why
Side chats disabled `/archive`, so users couldn't archive the current
side chat from the composer while the sidebar was hidden.
## What changed
Show a confirmation in the composer even when the sidebar is hidden.
Warn about stopping a running turn, discarding unsent input, or losing
temporary chat history when applicable.
On confirmation, return focus to the parent chat's composer. Archive
saved side chats and remove them from Side chats. Close temporary side
chats and discard their history after cleanup succeeds.
## Testing
Cover saved side-chat archiving, including retry after a failed archive,
and verify that a temporary side chat stays accessible with its queued
input when cleanup fails.
GitOrigin-RevId: 1bbe25a241719cdc2722bc8db915dea9111b6fc9
## What changed
Let the transcript reader paint into a caller-provided frame and area,
returning the delay for the next search or history-loading frame. Split
event preparation, including clipboard completions and selection ticks,
from input dispatch so the app can refresh visible rows before handling
selection input.
Extract transcript reader construction and centralize the app's overlay
input checks. Route draft snapshot flushing through `ChatWidget`.
GitOrigin-RevId: c5e093f585e264c4ffea51ebfcff0b08a1c3ff93
## Why
Switching away from an idle composer can write to the terminal even when
there are no animations to clear. Regaining focus already triggers a draw.
## What changed
On focus loss, request a redraw when composer sparkles are visible or
when an active empty-state replay is canceled.
## Testing
Add a PTY regression test that checks for zero terminal output after idle
focus loss and verifies that input is accepted immediately after focus
returns, in both inline and fullscreen modes.
GitOrigin-RevId: c961a4274049b98fff7307092f6ac89d51cf8e95
## Why
TUI preferences belong to the client. Building test settings from resolved
session fields can mask which preferences startup and reloads actually read.
## What changed
Remove the conversion from core `Config` to `LocalSettings`. Have TUI test
fixtures read preferences from the configuration layers or reuse existing
`LocalSettings`, and set runtime overrides directly on those settings.
## Testing
Update the startup test to verify that the saved agents overview grouping wins
when the resolved core field specifies a different grouping.
GitOrigin-RevId: 99a4ef475d1679e8f9ef1a870635631cad76ae40
## What changed
Reload `LocalSettings` from the effective configuration layers while
preserving the active transcript and alternate-screen modes. Reuse the
prepared settings after folder trust changes and when starting a session
from the agents overview.
Pass `LocalSettings` directly to working-directory prompts, hook review,
and history loading. Initial history loading uses a bounded item budget
when local settings are unavailable.
## Testing
Update the reload test to verify that layered preferences are applied
while the active screen modes are preserved. Check the initial history
budget when local settings are absent.
GitOrigin-RevId: e02736b7bb29e00ddfd791afa778fc0d958d358a
## What changed
Pass layer-derived `LocalSettings` through the startup draft, onboarding,
session pickers, and app launch. Refresh those settings when startup reloads
configuration, including after a resume or fork selection or picker
cancellation.
Use the local settings for rendering and screen selection, then update them
to reflect the terminal's actual alternate-screen and transcript modes.
GitOrigin-RevId: 89fcaa0c05c68e55d7de6e0052c38a48d6842d7b
## What changed
Reuse the local settings bootstrap parser on the final in-memory config
layers before applying TUI startup preferences.
## Testing
Extend the local settings test to check parity with preferences derived
from the full config and verify that a managed layer seen only by the
final load overrides the startup values for paste burst handling and
alternate screen mode.
GitOrigin-RevId: a8cc2fd667ca10fb9765be429974bd04c634e9c0
## Why
The startup folder trust prompt needs separate controls for quitting Codex and returning to the Agent Command Center.
## What changed
Use `Esc` or **Back to Agent Command Center** to return to the overview. Press `Ctrl+C` to cancel startup and shut down the session. Show the quit shortcut when the footer has room for it.
## Testing
Add a PTY regression test that sends a single `Ctrl+C` and checks for a successful exit, a cleared prompt, no Agent Command Center, and an unchanged `config.toml`.
GitOrigin-RevId: 7e3110c72e5d6a08de7c5e804ad8e1a07c69c48f
## Why
The TUI can silently omit untracked files when Git quotes their names,
when their names have leading or trailing whitespace, or when they
disappear between listing and comparison.
## What changed
Read NUL-delimited paths from `git ls-files` without trimming them,
skip directory entries for untracked nested repositories, and use Git's
`/dev/null` handling across local and remote workspaces. Warn when an
untracked file can't be compared while still showing the available patches.
## Testing
Exercise a clean repository and an untracked file named ` café.txt`
beside a nested repository. Verify that a missing file produces a warning
while tracked and other untracked patches remain visible, including a patch
that Git emits alongside a line-ending warning.
GitOrigin-RevId: b92922ea49928381504dc11b71d599c60dbb7068
## Why
A single MCP server such as `codex_apps` can expose tools from multiple
connectors. Clients that need one connector's tools currently have to
filter the server's tool inventory themselves.
## What changed
Add an optional `connectorId` parameter to `mcpServerStatus/list`. It
keeps only tools whose `_meta.connector_id` or `_meta.connectorId`
exactly matches the requested string. Servers with no matching tools
still appear with an empty `tools` map and their status. Omit the
filter or pass `null` to return all tools, and repeat the filter on
each page when paginating.
## Testing
Add integration coverage for standalone and thread-scoped requests,
including both metadata spellings, an unknown connector ID, and an
omitted filter.
GitOrigin-RevId: d6ad367dff72002b239db7b5012145ba1811ccac
## Why
The full header can clip the current grouping and its shortcut in
narrow panels.
## What changed
Use shorter header labels as space runs out and show just the grouping
in the narrowest layout. Account for the longest grouping name and the
configured shortcut when choosing a layout so the title stays stable
as users cycle groupings or move focus. Show the shortcut when it is
available and fits.
## Testing
Add snapshot coverage for Directory grouping with a custom `f11 g`
shortcut at 24, 36, and 60 columns.
GitOrigin-RevId: 9d4efe8d483d9431ff75c163a1a0ce96b7886894
## Why
When a paragraph starts with inline code after a heading in a list
item, the renderer can append the code to the heading's line.
## What changed
Honor pending line breaks before rendering inline code using the same
line-start logic as links. Table cells keep their inline layout.
## Testing
Extend the rendering and transcript copy snapshots to cover a list
item with a heading followed by inline code. The copy cases cover
both the full item and a selection within the code span.
GitOrigin-RevId: bcc480cb9aa2cbf7ab0738f1ec3667677445987a
## Why
The TUI used its local configuration to report permissions and approvals.
Pending profile selections could make those values differ from the
settings confirmed for the displayed thread. Legacy sandbox policies
can also hide restrictions of named profiles.
## What changed
- Use the displayed thread's confirmed permissions and approval settings
in `/status`, the built-in status line, and status line provider data.
Show unknown values in the UI when the thread has no confirmed settings.
- For named custom profiles, show the profile name and approval mode in
`/status`, including workspace roots where applicable.
- Omit ambiguous enforcement from provider data unless the embedded app
server can resolve it. Report confirmed approval settings independently.
## Testing
Add regression coverage for switching threads, retaining confirmed
settings after a rejected profile selection, and resolving enforcement
for a full-disk profile with networking disabled.
GitOrigin-RevId: f7b6c005d640ae9ede4bd132090b835ca6b7ea1f
## Why
Embedded sessions can use a local execution profile that differs from
the sandbox policy reported by the app server. The TUI needs a
server-confirmed snapshot for permission displays.
## What changed
Capture the server-reported sandbox profile, active profile, approval
settings, working directory, and workspace roots when a thread starts,
resumes, forks, or receives a live settings update. Restore the snapshot
from cached sessions and preserve it during transcript replay. Leave the
snapshot unset when session settings are inferred.
## Testing
Extend tests to cover differing server and local profiles, workspace
roots from live settings updates, and snapshot preservation during
transcript replay.
GitOrigin-RevId: 525fdfa1b526f5d799bca01c955ac7cfc3e60774