## 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
## Why
Pasting an image or an image file path could leave a temporary copy on disk
even if the image never reached the app server. Drafts still need those
copies during the session, and saved turns can reference them after exit.
## What changed
Track pasted-image copies for the lifetime of the TUI session, including
across backend switches and reconnects. Delete the remaining tracked copies
on exit. Preserve copies when a turn is admitted or when a lost response
leaves admission uncertain.
Check model support before writing a clipboard image for an ordinary
composer paste. In WSL, read PNG bytes from PowerShell's standard output
so the fallback uses the same cleanup path.
## Testing
Extend paste tests to verify that a copied image survives changes to the
source file and a change of event sender, and that cleanup removes the
copy while preserving the source. Verify that queueing a submission still
leaves the copy eligible for cleanup.
GitOrigin-RevId: 36d51af242901306be0ff319949d26a01ca71200
## Why
The full-screen diff pager takes the conversation off screen. A sidebar tab lets users review working-tree changes alongside the conversation.
## What changed
- Open a read-only `Diff` tab when the sidebar is available, and fall back to the full-screen pager otherwise.
- Reuse the tab on repeated runs. Keep the previous patch visible while Git runs, preserve the reading position on refresh, and apply only the latest result without stealing focus.
- Render large patches in chunks and derive scroll indicators from visible rows so redraws can skip layout of the off-screen tail.
## Testing
Cover tab reuse, stale result handling, and the visibility of the last hunk across resize and refresh. Verify that scroll indicators render without laying out the off-screen tail.
GitOrigin-RevId: 812ea99896dfd3131af9cf356cb844f4f0f7c267
## Why
Persisted history can still show a turn as in progress after its task
has stopped. A review interrupted by a crash can also lack an exit
event, leaving the resumed TUI in review mode.
## What changed
- Treat in-progress turns as interrupted when legacy or anchored resume
history reports a non-active thread. Preserve in-progress turns on
unanchored pages, which can include a turn started after the status
was read.
- Reconcile buffered thread status updates during resume. An idle update
clears activity restored from history while preserving newer live
turns and retaining elapsed time for a later completion event.
- Reset review state when replay reaches an interrupted turn and end
review mode at the same boundary when backtracking.
## Testing
Extend resume and replay coverage for stale and live turns, buffered
idle updates, and elapsed time when completion arrives after idle.
GitOrigin-RevId: ac46b271e86960e7e7b7e81d1c45f7ef655118fa
## Why
Depth values in commands like `fd -Hd 1 . repro/scripts` can be
mistaken for search queries, obscuring the actual pattern and directory
in the exploration summary.
## What changed
Skip values for supported `fd` options, including depth options and
grouped short options that take a separate value. Preserve positional
arguments after `--` so patterns that start with a dash are recognized.
## Testing
Add parser cases for depth options, grouped flags, and dash-prefixed
patterns. Extend the exec history test to check that an `fd` command
with depth, type, and extension filters displays `Search . in scripts`.
GitOrigin-RevId: d6e2ab4f0cdb35b0715ef3484ff97856268c9437
## 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
MCP startup could show `Working` before a user turn began, and
reloading MCP servers could temporarily hide an unread `Done` status.
## What changed
Derive the terminal program status from user turn activity, active
goals, blocked states, and the stored turn result.
## Testing
Extend the status regression test to check that the TUI stays idle
while MCP starts, reports `Working` when a turn begins before MCP is
ready, and keeps `Done` visible throughout an MCP reload until the
result is acknowledged.
GitOrigin-RevId: f05fab26e54e610743f0f799ef30306835d5cbdd
## 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
Streaming reasoning summaries can replace the status heading before the
current line finishes, making fast updates hard to read.
## What changed
With shimmer active, sample the latest usable reasoning heading every
3.5 seconds while letting the visible line finish as its text arrives.
Fade out the previous heading and reveal the next one across the visible
terminal columns. Retry messages still appear immediately, and reduced
motion and unsupported terminals keep the static display.
Use the same prepared frame for layout and rendering so the status row
can reflow when the heading changes.
## Testing
Cover chunks that finish one heading and start another before a draw,
delayed frames, and split Markdown bold markers. Snapshot the transition
in light and dark themes and verify that hook status text reflows at the
fade boundary.
GitOrigin-RevId: 63c579602f030f461ac81c4841106b29755710b1
## Why
In tmux, Kitty passthrough deletes can reach the outer terminal before
the pane updates its image placeholders. The fullscreen text redraw
can also clear those placeholders between animation frames.
## What changed
Alternate between two Kitty image IDs for the ambient pet and keep
the displayed image alive while its replacement is drawn. Reserve
both IDs alongside the picker preview so transcript images cannot
reuse them.
Preserve the pet's placeholder cells during fullscreen text redraws
that have a pet image pass, and keep clear-to-end-of-line commands
from erasing skipped cells.
## Testing
Extend regression coverage for image ID rotation and cleanup,
placeholder preservation, and visibility of the fork progress message.
GitOrigin-RevId: 58830b81c0cb18b4d3113e6b7b2ba401ae6aba31
## Why
MCP forms with numeric fields fell back to a generic approval prompt,
where users had no way to enter the requested values. That prompt also
offered acceptance for forms whose required fields could not be filled in.
## What changed
- Render `integer` and `number` fields with schema defaults, validate
minimum and maximum bounds, and submit answers as JSON numbers.
- Show the requesting server on forms, allow users to skip blank optional
inputs with the submit key, and add `F6` to decline a form. `Esc` cancels
the request.
- Explain when a form cannot be displayed and offer acceptance without
answers only when the form has no required fields.
## Testing
Exercise invalid numeric input and defaults, exact large integer
submission, blank optional fields, and queue advancement after declining.
Snapshot the numeric validation error and the fallback prompts for
unsupported forms with and without required fields.
GitOrigin-RevId: 1dd65b78fb271a027d9ae479c6fc9754607189f2
## Why
Streaming output hides the working status row and its interrupt shortcut.
When a message without a phase finishes before the turn does, the status
row can also stay hidden while Codex is still working.
## What changed
Show the configured interrupt shortcut in the composer footer while output
streams and the status row is hidden. With the default binding, the footer
shows `esc twice to interrupt` in Vim insert mode.
Keep the status row visible through whitespace-only output. Restore it
after a message without a phase completes and the stream queues drain if
the turn is still running.
## Testing
Cover whitespace-only output, footer hints with a draft and in Vim modes,
hint layout at narrow widths, and status restoration before turn completion.
GitOrigin-RevId: 246180593baf2d6ead0e84634bf7bd8ee4ec3ea5
## Why
A background command can outlive the turn that launched it. Its result
could be dropped when no turn was active or appear as a separate
transcript entry if later output had already displaced its running row.
## What changed
- Show background commands as they start, including commands that don't
match a recognized tool action. Keep tracking their exits after a
turn ends or is interrupted.
- Update the original transcript row with the exit status and output,
including when the command finishes in a parked side conversation.
- In rich terminal scrollback, label an unfinished launch `Started`.
If the launch has already printed, append the result in order.
Otherwise, replace the queued launch with the completed entry.
## Testing
Cover late exits after turn completion and interruption, completion
during a side conversation handoff, and result ordering behind queued
scrollback.
GitOrigin-RevId: 65f069af28c112078d85613da2c95e5c1c4f29bf
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
Switching back to a thread restores its current settings before replaying
older updates. Those updates can trigger reasoning effort animations and
leave the status line temporarily showing an older effort level.
## What changed
Set the composer's reasoning effort baseline before refreshing it for
each replayed settings update. The status line reflects the replayed
effort immediately, and live changes still animate.
## Testing
Add a regression test that replays earlier effort changes after restoring
a thread, checks the displayed effort, and verifies that a subsequent
live change starts the animation.
GitOrigin-RevId: 3daadc7b8b5917eba1055940c67399b8ab729eda
## Why
The ChatGPT plan shown in `/status` can differ from the plan reported alongside the rate limits. Refreshing the limits could leave the card showing the old plan.
## What changed
Use the cached quota plan for new status cards when available. If a rate-limit refresh changes the plan label, update the existing card in place, including when `/status` runs before a thread starts.
## Testing
Cover a rate-limit response that changes the label from Plus to Pro 200 in terminal scrollback, copied status output, and subsequent `/status` cards.
GitOrigin-RevId: c8def774ac2b344a2bb14b5eb834dec1d07d0099
## Why
Terminals that leave bidirectional ordering to the application can display
Arabic and Hebrew transcript text in the wrong order, especially when it
includes URLs, numbers, or inline code.
## What changed
Use the terminal's bidirectional mode report when available on a direct
connection, with a fallback for Windows Terminal, Ghostty, and Alacritty.
Resolve direction before wrapping and reorder graphemes for display in the
live transcript and scrollback. Preserve styling, hyperlink destinations,
and logical text for copying. Keep URLs and inline literals left to right,
and skip reordering for code blocks, tables, and lines with shell syntax
that could be misrepresented.
Measure hyperlink columns by painted graphemes so Arabic ligatures do not
shift clickable ranges in the transcript or composer.
## Testing
Cover agreement between streaming and finalized scrollback, preservation
of shell command boundaries, startup probe reply handling, and wrapped
composer links following Arabic text.
GitOrigin-RevId: 9ffa0f491a93c78fef423acfc6a951cb037abd4d
## Why
A resumed thread can use a different provider from the server default.
A successful account quota read can then show warnings and banners for
quota the thread does not use.
## What changed
Apply account quota reads and prefetch quota only when the active
provider uses account quota. Preserve remote provider definitions when
reloading local preferences, refresh custom provider definitions on
remote resume, and clear cached quota when the provider or its
definition changes.
For providers with independent quota, use turn updates for warnings and
composer notices. Keep omitted windows from sparse updates, clear the
notice when reported usage falls below the warning threshold, and omit
the `/status` hint. Limit the model-switch prompt to the built-in OpenAI
provider.
## Testing
Extend coverage for starting and resuming sessions across providers,
including an authentication change under the same provider ID. Verify
that custom-provider turn updates can show and clear a quota notice
without triggering a model-switch prompt.
GitOrigin-RevId: 4e6c95efe46ec420cee7b09d5f5a94862307530c
## Why
Codex stored voice selections in `realtime.voice` and supplied voice overrides when starting realtime sessions. Reading and saving the ChatGPT account preference lets Codex use the same voice selection as ChatGPT.
## What changed
- Add experimental `account/voiceSettings/read` and `account/voiceSettings/write` methods. The terminal voice picker shows the selected voice and available display names, then saves the chosen voice ID to the connected app server's ChatGPT account, including when the server is remote.
- Require ChatGPT sign-in for terminal voice chat and create its WebRTC calls through the ChatGPT backend.
- Remove voice overrides from realtime session startup. Existing `realtime.voice` entries still parse but are ignored.
## Testing
Cover voice picker loading and saving, remote catalog failures, the ChatGPT sign-in requirement for local calls, and omission of voice overrides from realtime call payloads.
GitOrigin-RevId: 9e6f30b8020c47701d3c1604075063924f191685
## What changed
Use `terminal_capabilities` to select notification protocols, apply
Ghostty's 255-byte notification limit, and provide the focused-window
notice for notification tests. Reuse the shared tmux passthrough encoder
for OSC notifications.
Move program-status support checks and startup telemetry labels into the
same module.
## Testing
Extend the OSC 9 capability test to verify the notification body limit
for each supported terminal.
GitOrigin-RevId: ef3c9806dfafceba77cce3714073472224f1d173
## What changed
Reuse shared terminal session detection and tmux passthrough escaping for
image commands. Drive image rendering with explicit checks for fullscreen
virtual placement, pixel data retention after placement removal, and
whether a protocol's images survive history insertion.
## Testing
Extend the automatic pet image protocol test to check that either `TMUX`
or `TMUX_PANE` alone requires virtual placement.
GitOrigin-RevId: 5d85e09bd9d1dcdfd01588adc8c2f0f4c6019ea1
## Why
Terminal checks for clipboard behavior are spread across the clipboard
worker, local settings, and right-click paste handling.
## What changed
Use `terminal_capabilities` to determine whether the terminal forwards
copy shortcuts or handles paste itself, whether X11 primary selection is
available, and how to send OSC 52 through tmux or GNU Screen. Have TUI
callers use the same SSH and WSL session checks.
Keep the automatic copy-on-select decision in settings and base it on
whether the terminal forwards the copy shortcut. Route tmux clipboard
copies through the client buffer with OSC 52 as a fallback.
GitOrigin-RevId: 623599783b70d66a06c52458fc82305a422cf507
## Why
A pending steering message offers a shortcut to interrupt the running turn
and send the message immediately. If Codex accepts the message before the
terminal redraws, pressing the shortcut while that hint is still visible
can interrupt the turn even though the message has already been accepted.
## What changed
Track whether the interrupt-and-send hint appeared in the last terminal
frame. If Codex has since accepted the last pending steer for the running
turn, ignore one interrupt press and its key repeats and briefly show
“Message received. Ignored one interrupt.” A fresh press can still interrupt
the turn. If the hint was never drawn or a redraw has removed it, the first
press interrupts as usual.
## Testing
Add regression coverage in both TUI rendering modes for an interrupt before
and after redraw, a hint that was never displayed, held-key repeats, and an
image submission in progress.
GitOrigin-RevId: 8be3bd51c623af44c108987fe0c2148eeb4515c7
## 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
A native clipboard write inside a dev container can succeed on the
container's desktop while leaving the host clipboard unchanged.
## What changed
Detect VS Code dev containers with `REMOTE_CONTAINERS=true` and route
clipboard copies through tmux or OSC 52. On Linux with a nonempty
`WAYLAND_DISPLAY`, use the native clipboard for copies over the
100,000-byte terminal limit and retain clipboard ownership.
Host delivery remains unconfirmed on both paths. The copy status asks
users to try pasting and points them to `/export` if the text is missing.
Keep that status out of exported transcripts.
## Testing
Add coverage for dev container detection, terminal send success and
failure, and clipboard ownership at the terminal size limit and one
byte over it.
GitOrigin-RevId: 057f7956fce8a16c8a3022b697e443b524740376
## Why
A final answer hides the Working indicator. If a Stop hook then asks
Codex to continue, the TUI can look idle while the turn is still running.
## What changed
Restore the indicator when a completed `HookPrompt` belongs to the
current running turn, both during live updates and when replaying a
thread snapshot.
## Testing
Add a regression test that snapshots the restored Working row during a
live retry, checks that snapshot replay also restores it, and verifies
that replaying the prompt after turn completion leaves it hidden.
GitOrigin-RevId: 67909c92b628ff5389ea9b417e7e5133a9acdeec
## Why
The terminal pet could settle into its idle animation while a task was
still running or waiting for approval. Its running notification also
expired after three minutes, even if the task was still active.
## What changed
Use the terminal program status to select the pet's reaction on redraw.
Loop the running, waiting, and failed animations while their notifications
are active. Play the review reaction three times before returning to idle
animation, and clear the reaction when the program status returns to idle.
Apply the same playback rules to custom task animations.
Schedule animation redraws only when the pet can be drawn and the sprite
can change. A pet that cannot fit or is covered by the shortcut HUD
requests no animation frames.
## Testing
Extend tests to check sprite selection through approval, completion,
failure, and acknowledgment, along with custom animation playback and
redraw scheduling when the pet is hidden.
GitOrigin-RevId: 09ef2a8558190eb2f63f5c286b4271838f228f67
## What changed
Remove `ChatWidget`'s prefetch and poller shutdown hooks from widget
creation, teardown, and the transition to background voice mode.
Prefetch only called the empty shutdown hook.
GitOrigin-RevId: c25c33a53d63be982d8cfebf405401a4c4f0e0c4
## Why
Required MCP servers can finish at different times even when their startup
notifications arrive together. Notification arrival times cannot show how long
each server took to start.
## What changed
Measure each startup attempt and expose its elapsed milliseconds as
`durationMs` on `ready` and `failed` updates from
`mcpServer/startupStatus/updated`. Successful Codex Apps reconnects report
their own duration. Reused connections, `starting`, and `cancelled` updates
carry `null`. The protocol accepts notifications from older servers that omit
the field.
## Testing
Cover distinct durations for fast and slow required servers, timing through
lease registration for newly opened shared connections, and a fresh duration
after Codex Apps recovery.
GitOrigin-RevId: 39c0c418149dd2b220828be04d998085f57acf2d
## Why
When automatic reconnect failed in a remote conversation, users had to
relaunch Codex to try again and copy any unsent draft they wanted to keep.
## What changed
Press `Ctrl+R` in an eligible disconnected conversation to start a fresh
reconnect attempt while keeping the draft editable. In Vim mode, the
shortcut works in Insert mode and leaves Normal mode redo intact.
Show the retry shortcut in the chat footer, direct users back to the
conversation from the agents overview, and show a fresh timer only while
a reconnect attempt is running.
Clear stale MCP startup activity on disconnect while preserving the busy
state of an active turn. Check whether a selected slash command is
available before submitting it from the offline completion menu.
## Testing
Extend coverage for retry after timeout, draft preservation, Vim Normal
mode, reconnect status, and offline slash-command handling. Verify that
disconnect clears stale MCP startup activity while an active turn stays
busy.
GitOrigin-RevId: 0742219e891be89a78418c9b8bbc789cd660cec5
## Why
A resumed thread can use a different model provider from the app server's
default. A single catalog can show models from the wrong provider when the
user opens `/model` in that thread.
## What changed
Fetch and cache model lists by provider on servers that support provider
selection, and clear cached lists when the account changes. Keep the server's
default catalog available for new threads.
Apply model choices for alternate providers to the current session only.
When a non-Cloud server's catalog cannot be scoped to a provider, show the
server's default models and limit changes to the current session as well.
## Testing
Cover provider-scoped requests, fallback to unscoped lists, session-only
picker actions, and preservation of new-thread defaults after refreshing an
alternate provider's catalog.
GitOrigin-RevId: 9e82c99613dba5de73cb2210dc61835b812cedf5
## Why
Going offline can change the slash command menu while a user is choosing a
command. With `/ex` typed and `/export` selected, a disconnect could move the
highlight to `/exit` and cause Enter to quit Codex.
## What changed
- Keep the same command highlighted when it remains in the menu. If it
disappears, clear the selection and prevent submission from falling back to
the draft. Restore the cursor, selection, and popup dismissal on reconnect.
- Honor configured submit chords in restricted slash command menus and prevent
Tab from queuing the draft there.
- When users try to report an issue offline, scroll to the latest transcript
entry to show the thread ID and prompt them to reconnect and retry.
## Testing
Add regression coverage for the `/export` to `/exit` case, popup state after
reconnect, offline Tab and submit chords, Vim command submission, and thread ID
visibility while scrolled back.
GitOrigin-RevId: 8143534f9d40e77a389d80d1dff3db993e194a23
## Why
`/diff` runs Git through standalone app-server commands, so it can pick up
the server's default permissions even when the active session uses a
different profile.
## What changed
- Use the session's named profile for all Git commands when the local daemon
can resolve it for the session's single workspace root. Use server defaults
when the profile depends on session-only settings or the workspace cannot
be represented by the command's working directory.
- Disable Git transports and lazy fetching for profiled diff commands.
Surface repository discovery errors under the selected profile.
- Display asynchronous diff results only when both the thread and working
directory still match.
## Testing
Cover profile fallback after reattaching to a live thread, missing blobs
without lazy fetching, and stale results from another thread or directory.
GitOrigin-RevId: be8259d8d7af536c2d542d2edce2c601ed4482d0
`collab_mode_applies_default_preset` already checks that submitting a
message sends a user turn with `ModeKind::Default`. Remove
`collab_mode_is_sent_after_enabling`, which repeats that assertion after
explicitly enabling collaboration modes.
GitOrigin-RevId: 44e27b989d3106988a629be3ff0002d53554251e
## Why
Commands often update progress in place using carriage returns and ANSI
erase-line sequences. Treating those writes as ordinary text can leave
stale progress visible, and treating each streamed chunk as a line can
split a single update in `/ps`.
## What changed
Resolve redraws into the visible row before laying out live and completed
command output or rendering transcript entries. Preserve the unwritten
suffix on a shorter overwrite, honor line erases, and retain ANSI styling
for the text that survives. Buffer partial rows across output chunks so
`/ps` shows the latest visible lines as plain text.
## Testing
Cover split escape sequences and CRLF, styled and wide-character
overwrites, and redraws after the live output byte limit. Check that live
and completed previews agree and that replayed background terminals and
historical command fallbacks show the resolved text.
GitOrigin-RevId: cabb3d33442fbf119e23a12b2c66cb62d88bd06c
## Why
The TUI skipped the frame that flushed buffered input, so pasted text
and pending Vim replacement keys only appeared on a follow-up redraw.
## What changed
Refresh startup recovery after a flush and render in the current frame
once all editors have finished buffering. If an editor is still
buffering, defer rendering and schedule another tick.
## Testing
Update the multiline paste test to require the text to appear on the
first draw after the paste timeout. Update the startup recovery test to
check that committing a pending Vim replacement key allows that frame
to render.
GitOrigin-RevId: 8c92f075aa2c9ada3b60ecdf83b1f677ffd52f1a
## Why
A dropped cloud stream can leave the displayed conversation without replies
that were saved while the terminal was disconnected.
## What changed
Reattach the displayed cloud conversation in the background when no user turn
is pending or running and no question answers need to be restored. Keep the
draft and queued messages while sending is paused. Check that paginated
history is complete and includes the conversation already shown before
applying it and accepting live events. If history cannot be verified, keep
sending paused and show an error.
## Testing
Add regression coverage for preserving drafts and queued messages, recovering
delayed history, rejecting incomplete history, and switching conversations
during recovery.
GitOrigin-RevId: bc38958170ea7905452cdc4fbadc838b53400641
## Why
A streamed Markdown table can briefly disappear as the inline TUI moves
it from the live response into scrollback. A resize during that handoff
can also leave queued history wrapped to the previous terminal width.
## What changed
Keep the last frame visible while stream consolidation is pending, while
still accepting keyboard input. Clear and replay terminal history in the
same synchronized update. If the terminal resizes before a queued
replay is painted, rebuild it at the new width without waiting for the
resize debounce.
## Testing
Add a regression test that keeps a streamed table visible while accepting
typeahead, then widens the terminal and checks that the table moves into
scrollback and the next message fits on one line. Extend the terminal
lifecycle test to cover resuming with a replay pending.
GitOrigin-RevId: 11eb2ca0eef90e9e014383546e807cb73cdacfd8
## Why
A warning or paste error can break the trailing run of streamed answer
fragments. Finalizing only that run can leave part of the answer duplicated
in the transcript and after a terminal resize.
## What changed
Use the current stream's fragment count to consolidate the answer into one
Markdown cell, preserving the order of notices after it. Preserve the
transcript reader's position and active search match during regrouping.
When a visible notice splits output already printed to native scrollback,
reflow it to restore the answer and notice order.
## Testing
Regression coverage checks transcript rendering and resize reflow with
interleaved and trailing notices, search match retention, and output queued
behind a running tool.
GitOrigin-RevId: 8899a1d1d9ea0264548442001a80e1cb8948022a
## Why
A question with numbered options can take focus while someone is typing
in the composer or searching a picker. A digit intended for a draft
such as `Phase 2` can then submit an answer.
## What changed
If a question opens with numbered options, wait for one second of input
inactivity and for any pending key chord to finish. Count editor and
picker input, including custom editing keys and cursor movement, toward
the idle delay.
Keep the original auto-resolution timer running while the question is
hidden and preserve the underlying picker if the question times out
after opening. Treat delayed questions as pending during startup draft
handoff, and clear queued prompts on disconnect.
## Testing
Cover digits reaching the draft before the delay and selecting options
afterward, pending key chords outlasting the idle delay, and timeouts
during paste capture or over an open picker.
GitOrigin-RevId: 6f9945c264fb8ed336041cf13b1be7c00b4b3f21
## Why
The current task can already be visible while initial discovery is still
running. Opening a different task can also involve several backend requests,
leaving the user waiting without an indication that their selection took effect.
## What changed
- Show “Loading additional tasks…” in the footer during initial discovery,
with “Loading tasks…” in narrower layouts.
- Mark the selected row “Opening…” and show “Opening task…” in the footer
during resume, including across backends. Keep the outgoing frame visible
until the destination is ready to draw.
- Draw the replayed transcript before scanning for loaded subagents, then
replay their pending requests. Suppress repeats of the selection key so a
held key cannot act on an approval dialog opened during replay.
## Testing
Add regression coverage for the discovery footer, cross-backend opening
progress and held-key suppression, and replay of a pending subagent request
after discovery.
GitOrigin-RevId: 7c5088edd620a76c5157919c63566b95ad456664
## Why
Slash-command completion only suggested positional arguments, leaving users
to recall named flags and their accepted values.
## What changed
Suggest flags for `/model`, `/permissions`, `/title`, `/statusline`, and
`/mcp login` using the same flag definitions as command parsing. Tab
completes known values in both `--name=value` and `--name value` forms.
For example, `/model --speed=f` completes to `/model --speed=flex`.
Named completion also works in multiline drafts and filters out flags
already present in the command.
## Testing
Add composer tests for both value forms, multiline completion, duplicate
flags, and quoted arguments, plus a snapshot of the `/model` flag popup.
GitOrigin-RevId: f874f67c4601012252775e811ddf496dbc6c4817
## Why
On X11, a clipboard owner can answer an image request with text, causing the image read to fail even though text is available. Submitting or queueing a draft while its clipboard read is pending can also send it without the intended paste.
## What changed
- Enable `Ctrl+V` text fallback on local Linux outside SSH and WSL, and allow `Shift+Insert` text fallback across platforms.
- Try text after eligible Linux image-read failures. Report the original image error if the fallback yields no text.
- Keep pending pastes alive across key releases. While a paste targets the current draft, intercept submit and queue shortcuts and show a reminder to review the draft before sending.
## Testing
Extend clipboard worker coverage to exercise submit during an active read and queue after a read completes but before its text reaches the draft. Snapshot the pending-paste reminder.
GitOrigin-RevId: 21bec5e405e13631a2a72f440482338611307ff3
## What changed
Choose Auto, Concise, Detailed, or None under Sessions in `/config`.
The picker saves `model_reasoning_summary` through the connected app server
for new chats. The panel shows the effective value and reports when a config
or launch setting overrides the saved choice.
## Testing
Add coverage for the picker and for saving Auto explicitly when the setting
was previously unset. Verify that the active chat keeps its setting and
that the panel reflects a profile override.
GitOrigin-RevId: cd027a6b16879a656b8d8b21488f0588c98f9077
## Why
The TUI left the reasoning summary unset on turn submission, so OpenAI
requests could use `concise` even when the user had chosen no summary
setting. Embedded WebSocket prewarming and the first turn need to use
the same summary setting to reuse the warmup response.
## What changed
- Send the configured `model_reasoning_summary` with TUI turns, defaulting
to `auto` for OpenAI providers. Use the same fallback when prewarming
through the in-process app server.
- Read reasoning summary settings and custom provider definitions from
the app server's effective config while honoring explicit launch
settings. When resuming a remote session, use its working directory
for the config lookup unless a remote directory override is set.
## Testing
Cover summary defaults and explicit settings in Responses requests,
and verify that the first embedded WebSocket turn uses `auto` and
reuses the warmup response.
GitOrigin-RevId: 1a2edfa44abdd031691a0d421eba077b0796ebe1