## 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
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
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
## 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
## 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
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
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
Terminal hosts need to know when Codex is waiting for a startup decision, including while a chat status record is active.
## What changed
Emit a separate `OSC 7501` blocked record while waiting for directory trust, startup hook review, or an update decision. Report trust and hook review as permission prompts and the update prompt as a question.
Clear the dialog record when the prompt closes or Codex suspends. Report it again if Codex resumes waiting for input. Dialog records can coexist with the chat status record.
## Testing
Extend the connected directory trust PTY test to check blocked and clear records for consent and hook review. Exercise Ctrl-Z in a PTY without a controlling terminal and verify that the pending trust record stays active until the prompt is answered.
GitOrigin-RevId: 9801e03b28a19b75f62a09e3e927de0dd59c5448
## What changed
- Use table-driven tests for Markdown file links, credit display, and text
truncation so related cases share setup and assertions.
- Combine checks for history search deduplication and boundaries, Vim cursor
movement with arrow keys and `hjkl`, and status-line previews that mix runtime
values with placeholders.
- Remove standalone tests and snapshots, including the Windows paused-goal
footer snapshot, while retaining the test that checks Esc pauses the goal.
GitOrigin-RevId: b508e7d46e81451186b04d4d9e9d3557596e04c3
## Why
Scrollback mode could switch between a parent conversation and a live side
chat, but it could neither save side chats nor reopen them after resuming
the parent.
## What changed
- With the TUI workspace feature enabled and a compatible local backend,
save new scrollback side chats as attached threads. Use `Ctrl+/` to
discover saved chats and cycle from the parent through them and back.
- Show the current side chat's position and loading status. Keep input in
the source draft while a switch is pending, and let `Esc` cancel it.
- Delete the parent and its saved side chats in one `thread/delete`
request. The experimental `savedSideChatIds` parameter lets the server
verify that each requested chat belongs to the parent and check for
blocking attachments before deleting anything.
## Testing
Add coverage for cycling after resume, preserving pasted drafts during a
pending switch, and limiting parent deletion to verified saved side chats.
GitOrigin-RevId: 7c797f1b69dff73ff0343eb73dd3c048e856b319
## Why
Apple Terminal can lose the background color of spaces painted by an erase
sequence when a later redraw clears part of the same row.
## What changed
Print spaces with a non-default background as styled cells. Use
clear-to-end-of-line only for trailing blanks with the default background.
## Testing
Add a VT100 regression test that narrows a shaded row and checks that the
remaining shading includes the message's trailing spaces.
GitOrigin-RevId: 5c9ba7b7ad79f827d74cc4cc618142375cb6abb6
Add a `badge` element to the statusline UI tree and TypeScript contract.
It renders one string as a padded, single-line label with normalized
whitespace. The optional `color` accepts `secondary` (the default),
`info`, `success`, `warning`, or `danger`. The renderer uses the
active theme for the label and blends the fill with the surrounding
background when its color is known.
Badges wrap as a unit. When a line limit requires an ellipsis after
earlier content, a trailing badge that cannot fit is dropped. At the
viewport edge, the right padding can clip while the full label remains
visible.
## Testing
Add rendering tests for wrapping, clipping, theme colors, and linked
badges, along with checks for UI tree limits and the TypeScript contract.
GitOrigin-RevId: be9e9799d6832976d325ba5fda48f5793dbbc722
## Why
Statusline authors can set fixed gaps or justify a whole row. An expandable gap lets them place a field at the far edge by putting a spacer between it and the other fields.
## What changed
Add the empty `spacer` element to the statusline renderer and its bundled TypeScript contract. Spacers share the remaining width on each wrapped row line before `justify` is applied. In columns stretched by a taller sibling, spacers share the added height.
## Testing
Add renderer tests for wrapped and nested layouts, background fill, and clipping. Cover empty spacer declarations and reject spacer children in the parser and TypeScript contract tests.
GitOrigin-RevId: d8bb58304b2a1f10ac0c60ec198aa3c25a169cae
## What changed
Custom status lines can choose between row and column layouts by setting
`direction` on a `box`. Omitting `direction` stacks children in a column.
Both layouts require `gap`, and only rows accept `wrap` and `justify`.
Horizontal boxes group adjacent strings into one layout item even when
`justify` is omitted. Use separate elements to insert a gap between
text items.
## Testing
Add renderer tests for default column layout, wrapping and alignment in
rows, and spacing around empty boxes. Extend the TypeScript contract
checks to cover dynamic direction, required gaps, and rejection of
row-only props on columns.
GitOrigin-RevId: 3ff9b4a8be6ae79b90512c1ad1ec1c16dafad0cf
## Why
Long statusline text can wrap across enough lines to push fields below it out of view.
## What changed
Set `maxLines` to a positive safe integer to cap a text block after wrapping. If content exceeds the cap, the last visible line ends with an ellipsis when space permits. Long words can break at grapheme boundaries so a clamped block can shrink alongside other fields.
## Testing
Cover invalid limits, visibility of neighboring fields, and truncation that preserves whole graphemes and leaves the ellipsis outside hyperlinks.
GitOrigin-RevId: 42f57b3f92e81860f888b733ce6121bb94dc78c3
## Why
When a terminal sends pasted text as individual keystrokes, the TUI can
mistake a pasted newline for a submit key. This can happen after a short
Unicode prefix or after a redraw has already displayed a pasted line.
## What changed
Keep the paste detection window open after buffered text becomes visible.
Treat plain Enter within that window as a pasted newline and buffer any
following indentation with it. A single IME character still allows Enter
to submit in the regular composer.
Apply the same paste timing to startup drafts so Enter can confirm the
draft once the paste window expires. Keep newline-and-tab-only pastes
literal inside blockquotes.
## Testing
Cover multiline pastes with Unicode prefixes, tabs after pasted newlines,
and Enter handling before and after the paste window expires.
GitOrigin-RevId: e8f63dfead0cc97d44001000e961a6f6d05d4900
## Why
Status line text collapses spaces and tabs by default. Authors need a
way to retain indentation and alignment while styling parts of the text.
## What changed
Add the optional `preserveWhitespace` prop to text nodes. When enabled,
it preserves spaces and tabs across nested styles and uses the same
wrapping rules as inline code. Inline code continues to preserve
whitespace automatically.
## Testing
Add a rendering test that compares styled and unstyled text across
terminal widths and checks tab expansion and bold styling. Add a
TypeScript contract fixture that uses the new prop.
GitOrigin-RevId: 525ae1d7df2df036d74990e18092286030041b23
## Why
Ordinary status line text collapses spaces and tabs, so it cannot
preserve the spacing of commands and other literals.
## What changed
Add a `code` element to the terminal UI tree and expose it as
`CodeElement` in the status line TypeScript contract. Code spans
preserve literal spacing, expand tabs to terminal tab stops, and use
theme-aware foreground and background colors. They prefer word breaks
and can wrap long tokens at grapheme boundaries in narrow layouts.
## Testing
Add renderer coverage for whitespace, wrapping across styled children,
clipping, and theme contrast. Extend the TypeScript contract fixture to
check that `CodeElement` requires a child list.
GitOrigin-RevId: 626d7624829a25e342fc052ab5194ff53b2a7673
## What changed
Add a `col` element that stacks children vertically with a required `gap` measured in blank terminal rows. Rows and columns can nest, and a column inside styled text starts a new block while inheriting the surrounding style.
In both `row` and `col`, adjacent strings form one layout item. Null children and standalone whitespace are skipped, while explicit empty elements still count when spacing items.
## Testing
Add renderer tests for nested layouts, wrapping, viewport clipping, and spacing around empty elements. Extend the TypeScript contract checks to cover `ColElement` and its required `gap`.
GitOrigin-RevId: cca7d0057582de001bd8f5008fe949a05d7ebe22
## Why
Agents could send async user messages only through a top-level tool call, even in code mode.
## What changed
Set `features.send_message_to_user_async.direct_only` to `false` to make the tool follow the session's tool mode. Direct mode exposes it as a top-level tool, code mode allows both top-level and nested calls, and code-mode-only sessions require nested calls and reject direct calls. The default keeps the tool top-level only. Existing agent opt-ins still apply.
## Testing
Add integration coverage for tool visibility, call results, and message delivery across all three tool modes with both values of `direct_only`. Improve failure diagnostics in the multiline shell snapshot test and paste `/status` as a single input event in the daemon compatibility test.
GitOrigin-RevId: c69bb2fba8bf776eff01382d8869fc869fc9d479
## Why
After Ctrl-Z suspends Codex, `bg` continues the process while the shell
still owns the terminal. Restoring the TUI at that point can interfere
with the shell's terminal settings. A later `fg` can return the terminal
without sending another `SIGCONT`.
## What changed
Wait until the Codex process group owns the foreground before restoring
terminal modes, reading input, or redrawing. Preserve the TUI when
standard input has no controlling terminal at suspension time, and exit
if the controlling terminal disappears while waiting.
## Testing
Add PTY regression tests that check for unchanged shell terminal modes
and no TUI output during background continuation, then exercise
foreground handoff without a second `SIGCONT` and terminal detachment
on Linux.
GitOrigin-RevId: 4ee601a35c84a3e0aee984246b40bc3119c923f0
## Why
Rewinding to edit an earlier prompt restores it in the composer. If a
second rewind gesture is already buffered, its Enter can submit the
restored prompt before the user edits it. [Prompt rewind behavior](https://github.com/openai/codex/pull/45845)
## What changed
Pause terminal input as soon as a rewind is queued. Drain buffered input
before showing the restored prompt, and use the same drain after forks
from a locked thread or the agents overview. Retry in bounded batches
while input is still pending, deliver buffered focus changes in order,
and recheck terminal size when the drain finishes.
## Testing
Extend PTY coverage to verify that repeated rewind keystrokes and a
trailing Escape leave the restored prompt ready for a fresh edit and
submission. Cover delayed paste completion, focus event ordering,
and terminal resize during a drain.
GitOrigin-RevId: 65ba4f343892ed3ba2eeb120172f66bfbebe120f
## Why
Sending the terminal's default cursor shape can overwrite a shape
already set by the host, even when Codex never requested a custom shape.
## What changed
Leave the cursor shape alone during draws that use the default shape
until Codex applies an override. Track whether an override was applied
so cleanup resets the shape only when needed and still makes the
cursor visible.
## Testing
Check that default sessions and sessions using terminal scrollback emit
no cursor-shape reset. Keep exercising cursor repair with an explicit
shape override.
GitOrigin-RevId: 1f6f1cad0bfc04307896cea1d75b9535fc21031d
## Why
`codex resume` can wait for the app server connection and login status
before the session picker opens, leaving the terminal blank while they wait.
## What changed
Display “Loading sessions…” during startup using the same styling as the
picker. Clear the inline indicator after the login status check or when
startup fails or is canceled.
## Testing
Add a terminal test that holds open a Unix socket to stall the connection,
checks that `codex resume --no-alt-screen` displays the loading indicator,
then closes the socket and verifies that the error replaces the indicator.
GitOrigin-RevId: 04b1a40343be284e2c56fd9519bb57a2b2fa6ecd
## Why
A launcher that shares stdin with Codex can clear `O_NONBLOCK` on the
terminal probe's duplicated descriptor. After reading a partial reply,
the probe can then block waiting for more input past its deadline.
## What changed
Poll for readable input with a zero timeout before every probe read.
When no bytes are ready, return to the probe's deadline-aware wait.
## Testing
Add a pseudoterminal regression test that clears `O_NONBLOCK`, answers
only the cursor position query, and checks that the startup screen
appears without another keystroke.
GitOrigin-RevId: 7b6e11db6ac3634f77147ab1251f5321be4355cb
## Why
Status line authors can start rows at the leading edge or distribute
extra space between items. They also need to center or right-align a
group while keeping its configured gaps.
## What changed
Add `justify: "center"` and `justify: "end"` to the row renderer and
TypeScript contract. Align each wrapped line independently within its
available width.
Leading padding uses the row background, stays outside hyperlink
targets, and leaves blank lines unpainted. When the last visible line
fills the width and more lines follow, the renderer can reclaim a
padding cell for the overflow ellipsis.
## Testing
Add rendering coverage for wrapped and nested rows, wide characters,
blank lines, hyperlink boundaries, and overflow. Extend the TypeScript
contract check to cover both new values.
GitOrigin-RevId: 85dd907fe60b5d2cfb759b32058d0876430dd9e6
## Why
A fixed gap cannot keep two statusline groups at opposite edges as the terminal width changes.
## What changed
Set `justify: "between"` on a root `row` to distribute spare footer columns between its items on each line, in addition to the configured `gap`. Nested rows size to their content within the available width, so they can keep related fields together.
Use `justify: "start"` to pack items at the leading edge with the configured gap. Both explicit modes group adjacent bare strings into one item. Separate `text` or `row` elements can be positioned independently. Omitting `justify` preserves the existing gaps between authored children.
## Testing
Add renderer tests for edge alignment during resizing, spacing on wrapped lines, and root versus nested rows. Extend the row decoding tests and the TypeScript contract fixture to cover `justify`.
GitOrigin-RevId: 3319e688f3adfe6d35709ef279345f1db3eb9693
## Why
Model fetches can delay the startup screens that PTY tests wait for. Daemon compatibility recovery also probes the daemon version on a separate connection before offering a recovery choice.
## What changed
- Configure the daemon compatibility and external editor tests with a local catalog of bundled models to avoid model-fetch delays.
- Return a complete `InitializeResponse` from the mock daemon and verify the version probe's `initialize`/`initialized` handshake before selecting recovery.
- Keep the daemon listener open and assert that the TUI does not reconnect after choosing to run without the daemon, for both explicit feature enable and disable scenarios.
GitOrigin-RevId: 243f5075fca42d1192f0087e2cc21a6b0796226b
## What changed
- Add “Create a custom status line” when `tui_extensions_statusline` is enabled outside cloud mode. Open a new conversation with an editable draft bound to the bundled `create-statusline` skill when available, falling back to a plain request otherwise.
- Preserve the previous thread’s draft and queued input, including input restored by a late interrupt, while switching conversations.
- Guard against stale create actions and held Enter submitting the new draft. Rename the provider action to “Choose a status line provider”.
## Testing
Add regression coverage for draft editing, bundled skill binding, input preservation, activation-key handling, dismissed setup actions, and hiding the create action in cloud mode.
GitOrigin-RevId: d40dd12914cf38968e605987f67d1ddee5ba7dd1
## What changed
Bundle a generated `statusline.d.ts` reference with the `create-statusline` skill, covering status snapshots, UI trees, colors, and canonical statusline item IDs. Add test-only `ts-rs` derives and an `UPDATE_STATUSLINE_TYPES` regeneration path.
Clarify that rate-limit usage percentages can exceed 100.
## Testing
Add a Rust test that checks key type exports in the installed skill and a strict TypeScript fixture covering provider rendering and invalid item IDs, row props, and colors.
GitOrigin-RevId: f615e0b3c2cd3d0d95a75de36ce0a84467ecd5b6
## What changed
Replace the generic provider error with concise status line messages for unavailable providers, timed-out reads, and other failures. Each message includes `/statusline` to help users reselect a provider.
Classify lookup, snapshot, transport, RPC, and resource validation failures, and log the failure category without carrying raw RPC errors or resource content.
## Testing
Update tests to assert specific resource validation errors and the displayed messages for invalid content, RPC failures, read timeouts, and provider lookup timeouts.
GitOrigin-RevId: 4ae4953cf2552c1c146d77463680655697d0d444
## What changed
- Add a "Choose a statusline plugin" action when status line extensions are enabled. Discover MCP providers, show the current selection, and let users save a provider or return to the default status line.
- Preserve the highlighted row when discovery completes and start reading provider contents only after an explicit selection.
- Keep the item editor open across picker transitions and disconnects, allow switching to the default while offline, and guard transitions against repeated activation keys.
- Limit displayed numeric shortcuts to the first nine selectable rows.
## Testing
Add tests for discovery focus, stale discovery results, explicit reader activation, repeated Enter keys, disconnect handling, and numeric shortcuts. Extend the terminal integration test to switch between the default status line and an MCP provider through the picker.
GitOrigin-RevId: 76a254d7afee3a1b8cfc801617a2176893276e0e
## What changed
- Refresh the status line after reloading configuration so provider and feature-gate changes take effect.
- Restart the provider reader after saving a selection, including reselecting the same provider to retry a failed read.
- Cancel provider reads and show the built-in status line while disconnected, then restart the provider after reconnecting.
## Testing
Add regression coverage for configuration reloads, provider changes, retrying failed reads, and discarding stale results after provider changes or reconnects. Extend the terminal integration test to verify that a new thread picks up a provider changed in `config.toml`.
GitOrigin-RevId: e86531321d190786e8a41a0a0c93167c8a5298e6
## Why
MCP statusline resources were read only once, leaving the footer stale when thread state or the display mode changed.
## What changed
- Read the selected provider again one second after each successful read, capturing fresh statusline state for every request.
- Enforce a one-second resource read deadline and stop polling with an error footer on timeouts, RPC errors, or invalid content.
- Cancel outstanding reads when the reader is retired, including thread switches and parking a voice session, and disable provider reads in voice-only mode.
## Testing
Add paused-time tests for polling cadence, fresh state, empty content, failure handling, deadlines, and cancellation. Extend the stdio provider integration test to verify that switching out of raw mode updates the provider footer.
GitOrigin-RevId: 159f17ad9291923e438117d919c875051c9d9426
## What changed
- With `tui_extensions_statusline` enabled, resolve the saved MCP provider and read its resource with a snapshot of the displayed thread's statusline state.
- Show initialization and error messages, validate the JSON UI tree response, and preserve provider content through native statusline refreshes. Ignore stale results when the thread, provider, or working directory changes.
- Request workspace headlines and thread usage for custom providers even when no built-in statusline items are selected.
## Testing
Add unit coverage for response validation and footer lifecycle, plus end-to-end tests for embedded and remote app servers, startup delays, current thread metadata, and rejection of project-level provider overrides.
GitOrigin-RevId: 80a46ec780c1f1536f1fd4749f468629627dedf6
## Why
An editor's suspend/resume cycle can change terminal settings while crossterm still considers raw mode enabled, preventing Codex from restoring raw mode on return.
## What changed
On Unix, clear crossterm's raw-mode cache before reapplying TUI terminal modes after an external program exits.
## Testing
Extend the external-editor PTY test to simulate an editor restoring canonical mode with `stty sane` and verify that canonical input and echo are disabled after returning to Codex.
GitOrigin-RevId: 4ae151deaf073bddf5a1c7fdfb5a1b5f4a480375
## Why
Threads need a visible title while automatic generation is pending or fails. Hidden title-generation requests must also stay out of the foreground conversation, including during skill installation prompts.
## What changed
- Immediately display a Markdown-stripped, single-line excerpt of the first message, capped at 60 characters. Replace it with the generated title, or save the excerpt if generation fails or returns an invalid title.
- Give title threads explicit read-only permissions and request the `never` approval policy, subject to managed policy constraints. Keep blocking input requests on the hidden thread until timeout.
- Interrupt timed-out temporary structured turns before detaching them.
## Testing
Add coverage for provisional title replacement, fallback persistence, managed permission and approval policies, and hidden input requests. Add a terminal integration test that verifies title generation after choosing “Continue anyway” on a skill installation prompt.
GitOrigin-RevId: f408f3061e5e7f0d9d6bc1f2f9674303e9e68400
## Why
Status content and footer hints need to fit within the composer's height budget while preserving room for editing and active search controls.
## What changed
- Share row allocation between composer measurement and rendering. Cap status and hints at two rows in inline scrollback, and scale the fullscreen cap from two to four rows with the available budget.
- Reserve space for active footer controls, give suggestions and image previews priority over additional status rows, and avoid reserving an empty hints row when status is enabled.
- Keep textarea row counts and scroll offsets as `usize`, saturating only the terminal height so very tall drafts remain scrollable with a visible caret.
## Testing
Add layout and snapshot coverage for constrained height budgets, status and hints, image previews, slash suggestions, and transcript search cursors. Add a regression test for rendering a draft beyond the `u16` row limit.
GitOrigin-RevId: 20fb0384ffc976dfd12e648004763feff0597dda
## What changed
Only allow the cancel action to dismiss the agents overview when a chat is displayed or a startup thread is pending. Hide the `esc back` footer hint when there is no chat to return to, while retaining back hints for help and metadata editing.
## Testing
Add coverage for returning to a chat that is still starting and for pressing Escape in the overview after cancelling folder trust. Update snapshots and test setup to reflect whether a chat is available.
GitOrigin-RevId: af259330eb2a743fde449bbbd47c7f0eb6fa937e
## Why
Custom-provider sign-in previously required a saved gateway configuration and stopped at an error when none existed.
## What changed
- Add “Create a custom provider or gateway” to the sign-in picker, reusing the settings form and provider-write handling.
- Return to the picker after saving, highlight the new provider, and require explicit selection before setting it as the default and completing sign-in.
- Preserve entered fields after validation failures and keep the focused field or Save action visible in short terminals.
- Use consistent custom-provider and gateway wording across sign-in, settings, and validation messages.
## Testing
Add onboarding tests and snapshots for an empty picker, creation, validation retries, short-terminal rendering, and explicit default selection. Extend app-server coverage for rejecting the reserved `ollama-chat` provider ID.
GitOrigin-RevId: 339ac5807c5eecdae08df4dbd89874ea7c764d35
## What changed
- Add the disabled-by-default `gateway_setup_wizard` feature to let users choose a saved custom gateway during eligible local sign-in onboarding.
- Save the selection as `model_provider`, restart the embedded app server with that provider, and complete required primary authentication and gateway OAuth before starting the first chat.
- Show gateway loading and configuration errors, browser sign-in links, and an OAuth retry action. Respect provider policy and launch overrides.
## Testing
Add coverage for onboarding eligibility, saved gateway selection and persistence, and gateway error and OAuth screens. Add a terminal integration test verifying that the selected gateway receives the first chat with authentication.
GitOrigin-RevId: 92bd2da3abd28d6c2274c91b2d7561bf359f0ca0
## What changed
- Extend server-owned fresh-start bootstrap to embedded connections, preserving explicit profile and launch overrides.
- Require `config/read` to succeed before starting a fresh thread, including on servers that do not support the method.
- Prefetch `model/list` alongside `hooks/list` and reuse the result during bootstrap.
## Testing
Extend startup coverage for managed model and reasoning-effort defaults across embedded, daemon, and remote connections. Verify startup failure shuts down all initial backends, and directory-trust startup requests the model catalog exactly once while `hooks/list` is outstanding.
GitOrigin-RevId: c96edfbc13c98203b7c2a809a87d225e05cf5f1b
## Why
Changing the default model provider should not prevent users from resuming or continuing a thread that uses another configured provider.
## What changed
- Resolve cold resumes using the thread's saved provider and reject explicit attempts to switch it on resume.
- Use retained provider configuration for loaded threads without reloading the current default selection, while continuing to enforce managed provider policy.
- Preserve errors for missing provider definitions and policy conflicts.
## Testing
Update app-server and TUI coverage for resuming with a different default, recovering after restoring a missing provider definition, preserving drafts across resume retries, and continuing loaded threads with malformed system defaults.
GitOrigin-RevId: c5bf3b03cacde7349480c94c2f10bac827a0eb1f
## What changed
Honor `features.daemon_auto_start` as a stable, default-enabled setting instead of ignoring it with a deprecation warning. Apply it to interactive daemon auto-start and remote-control daemon eligibility, and accept it in managed feature requirements.
Preserve explicit `false` values when saving the setting, even when the server reports a disabled default. Record the setting and disabled auto-start outcomes in launch telemetry.
## Testing
Update coverage for restarting a discovered daemon with auto-start disabled and for persisting an explicit opt-out when the server default is disabled. Adjust embedded-backend tests to disable auto-start through configuration.
GitOrigin-RevId: cbf079e3e27b4a7e6e802bf8f19dae653dd7472c
## Why
Tests need to distinguish slow subprocess startup from operation timeouts and wait for asynchronous work before asserting results or cleaning up fixtures.
## What changed
- Synchronize subprocess readiness, queued-turn completion, and matching UI events; allow more time for cold startup and separate startup from shutdown deadlines.
- Adapt Windows fixtures and permission expectations, provide the voice-host test runtime DLL path, and normalize platform paths and animated status snapshots.
- Use current configuration permissions when changing directories in embedded TUI sessions, while retaining saved permissions for remote sessions.
- Allow the release prompt-prefix comparison to accept the exact image-tool description update that removes image detail options, and refresh the corresponding tool snapshot.
## Testing
Extend inherited-session metadata coverage to both legacy and paginated thread history, including persisted history mode and revision-aware resume.
GitOrigin-RevId: 0afb38403fc0adb0d83175344749584f0cdf9979
## What changed
Eligible interactive launches now start or reuse the shared daemon regardless of `features.daemon_auto_start`. Remote-control daemon eligibility also no longer checks this flag. Use `--no-daemon` to run without the shared background server.
Treat `daemon_auto_start` as removed: ignore configured values with a migration notice, ignore managed requirements with a warning, and hide the flag from experimental feature discovery. Remove its launch telemetry tag.
## Testing
Extend retired-feature requirement coverage and add a migration-notice snapshot. Update CLI and TUI integration tests for daemon startup and explicit `--no-daemon` usage.
GitOrigin-RevId: e0290e5acd4bc0169a0f71c3296c567e46269ce3
## Why
Switching model providers can hide saved chats from resume lookup or prevent them from opening. Keep their history readable when the server rejects resuming because of a provider mismatch, missing configuration, or policy conflict.
## What changed
- Include all providers in the resume picker, named resume lookup, and `resume --last`, while retaining provider filtering for fork lookup.
- Open chats with provider errors as read-only history and show an explanation with recovery shortcuts: `c` to continue in a new chat, `n` to start fresh, and `Esc` to choose another chat.
- Continuing in a new chat prepares an editable, unsent prompt referencing the saved conversation.
- Preserve drafts and rejected prompts or steers, suppress automatic submission, and retry provider admission when reopening the chat.
## Testing
Add coverage for cross-provider discovery, read-only history, configuration recovery, continuation drafts, rejected input recovery, error rendering, and Escape handling during transcript browsing.
GitOrigin-RevId: 5aaa7a404b9a6231101599adef18d2f1e4a8020a