Repository navigation
Integrate upstream rust-v0.171.0 - #286
Merged
Merged
Conversation
## What changed - Point `Apply for Daybreak` to `https://chatgpt.com/admin/status-and-access`. - Point the Astra notice’s `Learn more` link to the Daybreak overview’s model-specific reduced-refusals section. - Update notice snapshots to reflect the new URLs and line wrapping. GitOrigin-RevId: 14068e8d6e56ec1a3bf3a0f896b5c36204a9eff8
…i#61403) ## What changed Add a serializable `StatuslineState` containing app and status-line configuration, thread identity, agent state, model settings, approvals, and permissions. Reuse the displayed status line's run-state and profile logic, and serialize status-line items with their canonical configuration IDs. Omit the snapshot for read-only history or when no thread is attached. Omit service-tier, approval, and permission fields until thread settings are confirmed. Use an inferred child thread's reported model and reasoning effort without inheriting the parent's collaboration mode. ## Testing Add coverage for serialized settings and canonical item IDs, inferred child-thread values, settings confirmation, and snapshot availability before and after interactive resume. GitOrigin-RevId: 512bdff9b92d886a7764f16955206109f56437d3
…61405) ## Why The primary executor's working directory can differ from the app-server's. Displaying the app-server directory can misidentify the workspace, and abbreviating a remote path using the TUI's home directory can be misleading. ## What changed - Carry the primary environment's working directory through thread initialization, restoration, and settings updates. - Use it for the status line and terminal title's current-directory item, and expose it as `thread.workspace.cwd` in the statusline state. - Preserve the known environment directory when settings omit environments; fall back to the app-server directory when the environment list is empty. - Apply home-directory abbreviation only to server-local workspaces on local connections. ## Testing Add regression coverage for remote executor paths, omitted and empty environment settings, local-only directory abbreviation, and workspace state for inactive threads. Update the resumed-thread snapshot to display the executor directory. GitOrigin-RevId: 9f3bcad186e07f942ea00d1f4233cf09f022571f
## What changed Add `thread.usage.total` to the provider-facing statusline snapshot with total input, cache-read input, cache-write input, other input, and output token counts. Preserve cache-write counts when converting app-server token reports for the TUI. Omit totals when usage is unavailable, the breakdown is invalid, or the report represents a synthetic context fill. Keep measured zero totals. ## Testing Add coverage for the reported token breakdown, cache counts exceeding total input, synthetic context fills, and measured zero usage. GitOrigin-RevId: 6c506af30d6e51a49a780a0316304ef9c067fe43
## What changed Add `thread.usage.context` with optional `context_window_size`, `used_tokens`, and `used_percentage` fields. Use the latest token report for context usage and the built-in footer's window size and percentage calculations. Omit unavailable fields, including the percentage when the context window is unknown. ## Testing Extend statusline state tests to cover missing usage, unknown context windows, and footer-consistent percentages, with context usage distinct from cumulative token totals. GitOrigin-RevId: 699b65f6c047e76fcc7d1ba729eebd19a19e4bcd
…penai#61410) ## Why A replacement chat widget can receive a previous widget's usage result for the same thread. Statusline state also lacks the estimated costs available in the built-in status line. ## What changed - Add optional `thread.usage.cost.total_cost_usd` and `total_credits` fields, using the built-in status line's plan-specific values. Convert micro-units to ordinary units and omit unavailable or negative values. - Use UUIDs for thread usage requests and verify that each request is still pending before fetching usage or accepting its result. ## Testing Add regression coverage for rejecting a previous widget's usage result and assertions for serialized costs across supported enterprise plans. GitOrigin-RevId: 91c3f7cead0249b673979d17cc108ceae1088df2
…i#61411) ## Why Workspace headline request counters restart when the chat widget is replaced, allowing a response for the previous widget to match a new pending request. Archived headlines can also be selected for the status line. ## What changed - Use UUIDs for workspace headline requests and reject refresh events and responses that do not match the current widget's pending request. - Skip archived messages when selecting the first non-empty workspace headline. ## Testing Add a regression test verifying that a replacement widget rejects the previous widget's response while retaining its own pending request. Extend headline selection coverage to include an archived headline before the active one. GitOrigin-RevId: 44b98ab8c6cb70b7cf8e8b9341f27c99c1e1490a
…#61415) ## What changed Include the cached workspace headline as `account.workspace.headline` in the structured status-line snapshot. Serialize `account` as an empty object when no headline is available. ## Testing Extend status-line tests to assert headline serialization and the empty `account` object. GitOrigin-RevId: 50a923ff3f8bc2fdb0bab3487547979e6d837980
## What changed Add `account.rate_limits` to the statusline snapshot, including the `codex` limit's name, primary and secondary usage percentages, window lengths, and Unix reset timestamps. Emit an empty array when no Codex rate-limit windows are available, and exclude other limit IDs. Preserve raw reset timestamps alongside the formatted display values. ## Testing Extend serialization assertions to cover both rate-limit windows, a missing reset timestamp, exclusion of other limit IDs, and the empty-array default. GitOrigin-RevId: f775c281a17ea2b72cbca810db397f00f16ea5e9
## What changed Reject workspace routing to `gov.chatgpt.com` when the workspace backend is `NO_CONSTRAINT`, whether the backend comes from the required or effective base URL. Return an invalid-request error from account reads with `reason: "governmentWorkspaceRequired"` and `action: "relogin"`, prompting users to sign in to a government workspace. ## Testing Add routing tests covering required and effective government backend URLs, including hostname case and the default HTTPS port. GitOrigin-RevId: a54b990d2b0dc716122124ee6924538aa06d30d2
## Why Pasted Windows drive paths were mapped unconditionally to `/mnt/<drive>`, even when that mount was unavailable or WSL used a different mapping. ## What changed Use `/bin/wslpath -u` with a one-second deadline and require an absolute result. Fall back to `/mnt/<drive>` only when the helper is missing and `/proc/self/mountinfo` confirms the mount exists. Reject fallback paths that traverse above the drive root and return no path when conversion fails. Share the bounded subprocess output helper with tmux probing. ## Testing Update coverage for quoted and unquoted Windows paths with spaces. Add fallback tests for a mounted drive, a missing drive mount, and traversal above the drive root. GitOrigin-RevId: f6a05045b2108722a686e9e5b766fc8cb233bea0
## Why A user-configured `model_providers.gcp.base_url` previously blocked GCP setup, requiring manual removal before configuring a project and location. ## What changed Have `account/gcp/setup` clear the active user configuration’s `base_url` override after obtaining an access token, allowing the requested project and location to determine the Vertex AI endpoint. Continue rejecting configuration layers that would still supply an endpoint override or otherwise conflict with the request. Document this behavior. ## Testing Update integration tests to cover clearing an existing override on success, preserving it when authentication fails, and rejecting a managed endpoint override. GitOrigin-RevId: 26a725133d9069ad63dfb0bb06ddf3c5d1545cad
## Why Model lookups through the startup catalog can use the wrong provider's capabilities or instructions after a default provider switch or when a thread has its own catalog. ## What changed - Resolve model metadata for sampling, prediction forks, and memory writes through the owning thread's catalog. - Make the thread's models manager available to extensions before startup callbacks and use it for guardian sampler configuration. - Import external sessions using the destination provider and originator's catalog, loading its offline cache only when no refreshed catalog is available. ## Testing Add regression coverage for sampling after a default provider switch, parent-specific prediction fork capabilities, thread-scoped model lookups, and imported sessions retaining destination provider instructions and originator. GitOrigin-RevId: c86081b9e55c5e2b42a7f082966485d7fb5139d4
## What changed - Add configurable `pager.mark_markdown`, bound to the leader followed by `v`, to mark the table cell under the selection caret. - Use arrows or `hjkl` to extend a rectangular cell selection, `o` to swap corners, and `y` to copy. Press `v` to select text within the active cell without including neighboring cells, including across wrapped lines. - Show table-specific footer hints and route the marking chord in both the main transcript and transcript overlays. ## Testing Add coverage for cell rectangles, header-only selections, empty cells, wrapped text, Unicode and escaped pipes, Markdown copying, search cancellation, mouse takeover, and chord routing with remapped find and leader keys. GitOrigin-RevId: 81ed9e52092bba3c7ef064e95043d2c070df0f4c
) ## Why Collapsing a tool group while reading its expanded details can leave the scroll anchor beyond the new bottom limit, leaving available transcript space unfilled. ## What changed Clamp the reading position to the bottom limit during collapse layout and persist it after the final viewport height is known. Keep activity focus and reading mode intact, including when copy confirmation changes the composer layout. ## Testing Add regression coverage for collapsing a scrolled tool group, preserving the resulting view across renders, and rendering a collapsed group with clipboard confirmation. GitOrigin-RevId: f48271720f7b400736bc02b08b6eafefdb60ac63
## What changed Enable `incremental_tools_legacy` by default so both Amazon Bedrock providers publish tool declarations through `additional_tools` input items. Users can still opt out by setting `incremental_tools_legacy = false`. ## Testing Update the incremental tool scenarios to cover the default behavior and explicit opt-out for both Bedrock providers. Adjust the Bedrock multi-agent test to verify collaboration tools in `additional_tools` declarations. GitOrigin-RevId: 7a54aed24039d178f9b7d7f5a3f49fe4d588ffa7
## What changed Require `x-portals-auth-mode: oauth` in CONNECT metadata when the TCP tunnel listener connects to a known Portals gateway. Reject missing or non-OAuth metadata before reading credentials. Remove local tunnel JWT type and version checks and treat tokens as opaque bearer credentials. Drop the unused `base64` dependency from `codex-tcp-tunnel`. ## Testing Replace JWT validation tests with coverage that rejects missing OAuth metadata and accepts OAuth metadata with an opaque access token. GitOrigin-RevId: 746816f0227280524c019dd90df203b182934751
…ai#61429) ## Why Installing a plugin without connector tools must still refresh a cached cloud skill catalog so its skills are visible to the next inference. ## What changed - Rely on step preparation for cloud plugin and skill discovery, removing their turn-start callbacks and the `requires_mcp_runtime` lifecycle hook. - Request an MCP runtime refresh after every completed plugin install, including skills-only installs. ## Testing Add regression coverage for skills becoming visible immediately after a connector-free install. Update lifecycle tests to cover discovery after MCP reconciliation, prewarm skipping discovery, cancellation allowing subsequent preparation, and reuse of unchanged connections. Use deterministic DNS lookups in network proxy authorization tests. GitOrigin-RevId: 76036bd29253fb8987e606c3c28411c689590fc4
## What changed - Record acquisition counts, wait durations, and hold durations for file and secrets store locks, tagged by store, lock mode, operation, and originating client. Acquisition metrics also report outcome and contention. - Preserve the resolved credential store's originating client across storage operations and lock release, and exclude nonblocking probes from lock metrics. - Add `record_global_duration` for standalone durations with the existing buffering limits and metrics opt-out behavior. ## Testing Extend tests to verify lock metrics for shared and exclusive access, contention, timeouts, probe exclusion, and originating-client attribution. Add coverage for standalone duration buffering, validation, and opt-out behavior. GitOrigin-RevId: 96de8bd195477d61bc8cd966c5fbf72ae7156273
## Why Interrupting a turn while a tool awaits approval can leave its rollout trace execution marked as running without an end timestamp. ## What changed Record an `Aborted` end event when a tool dispatch trace is dropped before producing a result. Make completion and failure methods consume the trace handle so each dispatch is closed once. ## Testing Add coverage for dropping a pending dispatch and for interrupting a turn with a pending command approval, verifying that replay reports an aborted execution with an end timestamp. GitOrigin-RevId: 63cf68312fcbff8c6b85a01a7713cf4460c9d795
## Why Bundled `turn_ended` hooks can start an unused REPL server solely to clean it up, even though its deferred startup means there is no process to clean up. ## What changed Allow bundled cleanup calls for `node_repl` and `cua_repl` to return an empty successful result when startup has never been requested. Limit this behavior to configured, unshared local stdio connections using the legacy MCP protocol. Other calls continue to wait for server startup. ## Testing Add coverage for the connection eligibility checks and extend subagent hook tests to verify that bundled cleanup leaves unused REPL servers dormant while ordinary hooks can still start cached tools hidden from the model. GitOrigin-RevId: 0a07772fccd670c53348ff7a702b4bee353e263c
## What changed
- Save default provider selections through `modelProvider/default/set` instead of a generic configuration write.
- Use provider display names in save notices, falling back to the provider ID when the name is blank. Replace the restart hint with “New chats now use {name}.”
- Prompt users to update the connected app server when it does not support the default provider RPC.
## Testing
Update provider tests and snapshots to verify the dedicated RPC, display-name confirmation, and upgrade guidance. Check that only ambiguous write failures invalidate the model catalog.
GitOrigin-RevId: cd383a8b85b5d497e7707691cc0b994110716a09
…1444) ## What changed - Add hidden app-server options `--plugin-mcp-launch-cwd` and `--mcp-launch-cwd` for host-supplied local stdio server launch directories without writing them to shared configuration. - Apply these directories when both `mcp_shared_repl_cwd` and `mcp_connection_sharing` are enabled. For configured servers, require a matching executable and preserve any explicit working directory. - Attach thread-specific sandbox state to direct MCP tool calls for servers advertising support, stripping caller-supplied sandbox and launcher metadata first. ## Testing Add regression tests for launch-directory feature toggling and executable matching, and for direct MCP calls using each thread's sandbox working directory despite forged caller metadata. GitOrigin-RevId: d7f78ea92163ec0ee9311f68ef17e87a6694b13b
## Why Clients reconciling saved thread IDs need to retrieve matching summaries within the current list filters, including threads beyond the first page of history. ## What changed - Add `includedThreadIds` with up to 100 entries, applied before pagination alongside existing filters. Exclusions take precedence, and results retain the requested list sort. - Treat omitted or null inclusions as unrestricted and an empty array as matching nothing. Reject invalid IDs and oversized arrays without truncating them. - Use indexed metadata and primary-key lookups for local inclusion queries, without scanning rollouts for repairs. IDs absent from the index do not match. - Update protocol schemas, generated bindings, and documentation, including guidance to verify server support before treating missing saved IDs as removals. ## Testing Add coverage for saved IDs across project moves and archiving, pagination, exclusions, validation limits, and combinations with search, account, and relationship filters. Add a SQLite query-plan test for primary-key lookups across scopes. GitOrigin-RevId: 90b02a12aee5716f872a9d5d6168d23cf86c6333
## Why Hosts need to refresh cloud plugin and skill catalogs without starting a turn or waiting for step preparation. ## What changed - Add `CodexThread::refresh_cloud_plugins()` and a turn-independent extension callback that bypass cached catalog reuse and failure cooldowns. - Run catalog contributors concurrently while serializing publication with step snapshot capture. Invalidate MCP resource caches before explicit discovery and schedule MCP reconciliation afterward. - Accept complete and partial catalogs, report discovery errors, and keep failed or cancelled refreshes retryable. - Allow hosts to gate cloud plugin discovery through effective configuration. ## Testing Add coverage for discovery before turn admission, catalog replacement and reuse, immediate retry after failure, concurrent contributors, and cancellation-safe publication and invalidation. GitOrigin-RevId: 83e847fcab6562581af2c9e831b1d2a310f2b270
…1452) ## What changed Add the token-budget setting `context_window_as_tool_output`, defaulting to `false`. When enabled, render agent identity, context window IDs, and associated hints as an `agent.thread_hint` tool output. Use the same format for agent identity updates in forked threads. Preserve this setting when applying model token-budget defaults without treating it as an explicit budget override. ## Testing Update fork scenario snapshots to cover tool output rendering, including a child agent's window hint after its inherited parent context and a prediction fork above the compaction threshold. GitOrigin-RevId: e1a7089935bd0aed44ffd15f0ae3ec41a2607218
…ai#61461) ## What changed - Consume the optional delivery handle directly when recording inter-agent messages. - Capture compaction resume metadata before constructing the `CompactedItem`. - Move the existing inter-agent message rollout and resume test into `mail_publication_tests.rs`, preserving its assertions for turn IDs, timestamps, persisted metadata, and restored history. GitOrigin-RevId: 761a837922377d5a72266d775622211e43fa87d3
Export `serialized_json_bytes` from `codex-utils-string` and update core callers to use the shared helper. Preserve byte counting without retaining the serialized output. GitOrigin-RevId: 9c75b05592d3171b9a0d54517f8f3a4281fde987
…penai#61473) ## What changed - Record voice transcripts as `frame` items with a `voice_transcript` channel for eligible threads, while retaining legacy transcript support and the existing app-server live and mixed timeline representation. - Assign first-observed timestamps that never move backward, retain them through completion, and restore the clock floor from history and compaction checkpoints. - Flush realtime records before completion notifications, including file and initial directory durability barriers for local rollouts. - Generate a distinct default session ID for each new call, use the call ID when attaching to an existing call, and derive opening record IDs from session IDs. - Add protocol types for turn-input acceptance and session-end input receipts, excluding those receipts from live notifications and mixed timelines. Update generated schemas and SDK types. ## Testing Add coverage for frame serialization and required voice payloads, clock rollback and checkpoint restoration, durability barrier failures and retries, per-call session IDs, and persisted transcript availability immediately after completion. GitOrigin-RevId: 3f6632b517d563861aee085b723475b8945c391c
## What changed Add experimental `thread/realtime/list` reads independent of turn pagination or a live runtime. Support session, observation-time, and event-ID filters, with ordering by observation time or committed position. Keep cursor pagination within a fixed snapshot and expose positions for catching up on events committed later. Return `unsupported`, `pending`, or `ready` coverage so clients can distinguish unavailable history from events awaiting indexing. Limit fork reads to the child's own realtime history. ## Testing Add SQLite tests for snapshot stability, late-event catch-up, cursor validation, and coverage tracking. Extend app-server tests to cover filtering, exact event lookup, and fork isolation. GitOrigin-RevId: 8158df53f10d948ede4911654aa8adbc7297b258
## Why App-server clients receive `account/updated` both when routing is ready for a saved ChatGPT workspace and when a user logs in, logs out, or switches workspaces. The notification payload gives clients no explicit way to identify the initial routing update. ## What changed Add a nullable `reason` to `account/updated`. Set it to `workspaceRoutingReady` on the initial saved-workspace routing notification when the authenticated owner is unchanged, including when routing is ready before the connection initializes. Login, logout, and workspace-switch updates send `null`. Update the protocol schemas, TypeScript types, and Python SDK models. ## Testing Extend the app-server integration tests to check the reason in the JSON payloads for saved-workspace discovery, login, workspace switching, and logout. GitOrigin-RevId: 96758519985a6bdb07474e48307ed53b125823ee
## Why Rapid wheel input can trigger a synchronous transcript redraw for each tick, even when the current layout can still be used. ## What changed Accumulate wheel movement in the main transcript and side panes until the next frame when the rendered layout is safe to reuse. Refresh first when the transcript has changed, cached content can change height, or the side pane has buffered reply text. Refresh immediately when toggling side-pane zoom so subsequent mouse events use the new layout. Start composer scrolling from the caret-adjusted viewport after an edit so wheel ticks can accumulate before the next frame. ## Testing Cover wheel bursts while the plan menu is open, composer scrolling after edits, refresh requirements for mutable history and buffered side replies, and immediate layout updates when toggling side-pane zoom. GitOrigin-RevId: 342d4d4c014d8a41b2e690b91622197ee97fc059
) ## Why The sidebar chooser lists side chats and files. Adding subagents lets users check their progress and switch to their conversations from the same menu. ## What changed - Add a `Subagents` section for the main conversation's spawn tree. Show each agent's name and status, and let users select an agent to switch to its conversation. - Keep explicit outcomes such as `Completed`, `Stopped`, and `Failed` visible through idle or unloaded updates. Restore outcomes from saved activity and give live updates precedence over in-flight discovery. ## Testing Add wide and narrow chooser snapshots and regression tests for outcome retention and discovery updates that race with live notifications. GitOrigin-RevId: 93092e6bd5c59724f69f52785e3c22aa2c1313d8
## Why An in-flight Cloud task list from the agents overview can keep the Cloud worker busy while the TUI waits for a session request, such as listing tasks in the resume picker or unsubscribing from a discarded blank task. ## What changed Cancel the affected backend's Cloud overview refresh when dismissing the overview or before session operations that need the same worker. Wait for the aborted task to drop its request before proceeding. When opening the resume picker, clear queued Cloud refreshes first so canceling the active refresh cannot start another page ahead of the picker's requests. ## Testing Add regression tests that hold Cloud list requests open while returning to the current chat, opening the resume picker, or switching backends. Cover canceling a refresh before starting a fresh plan implementation session and preserving another backend's in-flight page during archive. GitOrigin-RevId: 94993aa0014ac895a30f454e3ff5f4cbc45bb429
…62151) ## Why A cloud reply stream can drop again shortly after reconnecting, leaving users in a cycle of disconnects and recovery. ## What changed Delay recovery by 500 ms for each replacement stream already installed in the current recovery sequence. After three replacements, return an error that tells users their transcript and draft are still available. Clear the count when recovery state is reset or when a stream disconnects after staying connected for at least 15 seconds. GitOrigin-RevId: 6ae2e88023464fc41d8e26d47dd94af624660d5f
## Why SSE-only mocks return 404 on WebSocket upgrades by default, causing retries before the tests reach the HTTP stream. In parallel runs, each CLI subprocess can also start a Tokio worker per host CPU. ## What changed - Share an SSE mock that returns HTTP 426 on WebSocket upgrades to trigger immediate HTTP fallback. Reuse it in the fallback test. - Set `TOKIO_WORKER_THREADS=2` for CLI subprocesses launched by the affected test helpers. Run streaming and resume cases that don't need the repository checkout in temporary working directories. - Test promptless `codex exec fork` option validation without creating a source thread. In the successful promptless fork case, keep stdin open and rely on the test runner's timeout to catch a blocked read. GitOrigin-RevId: 94c20d4b2fd7cc65bc0f2a1cd0318ac188f59f22
## Why Selecting a subagent from the sidebar switched the active conversation to that agent. Keeping the parent conversation visible makes it easier to review the agent's work in context. ## What changed - Open the selected subagent in a sidebar tab alongside its parent conversation. Switch focus between the two panes as needed. - Show parent-owned subagents in a watch-only reader with transcript navigation, search, and selection. - Press `Esc` from the reader to return to the subagent list with the same agent selected. The tab also supports the sidebar's close button and close shortcut. ## Testing Add a TUI integration test that opens a saved subagent through the sidebar, snapshots the watch-only view, and covers transcript navigation, search, resizing, and tab dismissal. GitOrigin-RevId: 60da0759b7c046c33b665abdbb063153c5beafa4
## Why When a transcript mentions a subagent, readers have to find it in the sidebar chooser to inspect its work. ## What changed Underline subagent labels in transcript activity when the sidebar is available. Clicking a label opens that agent's transcript beside the parent conversation, including when the link is in an unfocused pane. Use backend ancestry to confirm that the linked agent belongs to the current conversation. If a click arrives while agent discovery is in progress after resume, resolve it when discovery finishes. ## Testing Cover clicks from the parent transcript and a nested-agent link in an unfocused pane, along with clicks during discovery and inherited activity from a fork. Snapshot the underline across a wrapped label. GitOrigin-RevId: 75b343c56eac4a009d644f0cfc135b6d9bfbe3a0
## Why The system `bwrap` user namespace probe checks for child exit at fixed intervals. A pidfd signals exit as soon as the child terminates, even when a descendant still holds its stderr pipe open. ## What changed Poll the probe child's pidfd for the time remaining before the deadline. Keep the bounded `try_wait` loop to collect the exit status and handle systems where `pidfd_open` fails. GitOrigin-RevId: f69f10aa49404a7760c33bbcbfde456513ebdaa0
## Why Fixed delays make notification-order assertions sensitive to when the mock directory and tool requests finish. Model discovery can also make network requests while these tests exercise app listing. ## What changed - Pause mock directory responses until the tests receive the expected tool update. During forced refetch, assert that the next notification includes the fresh directory so an intermediate inaccessible-only update fails the test. - Use the bundled model catalog through `model_catalog_json` and preserve that setting when the thread feature flag test rewrites `config.toml`. GitOrigin-RevId: 0356d757391f15cdcee99a6ac3311dc78b8df00b
## What changed Move the stdio-to-Unix-socket relay used by `codex app-server proxy` into the CLI crate. Remove the standalone `codex-stdio-to-uds` crate and binary and the hidden `codex stdio-to-uds` subcommand. ## Testing Replace the standalone binary test with a CLI integration test that runs `codex app-server proxy --sock` and checks that the socket receives the bytes from stdin and the reply appears on stdout. GitOrigin-RevId: e630f8f70e93ce90b0005e4992a3d0b257b208db
## Why MCP tool catalogs can change during startup, so a search binding captured during startup may go uncached. That makes the test's per-turn discovery request count depend on startup timing. ## What changed When hosted search is allowed, wait for the thread's connector to report `ready` before starting the first turn. This lets the test check discovery reuse with a stable binding. GitOrigin-RevId: 50d77eca6bfa7a6bfd5657e4c1ed3aad52beb8c5
## What changed Move subscription state updates, history hydration, and resumed session setup into `finish_thread_resume`. Let callers supply a `HistoryHydrationScope` and keep using `HistoryHydrationScope::Initial` for the existing resume path. GitOrigin-RevId: ebb8b422827a2374d8dce194e8d59afe57327f29
The MCP permission request hook tests depend on a Python interpreter to run their fixture, so running them requires Python on the host or in Bazel's test inputs. Run the Rust test binary as the hook subprocess. It reads the hook payload from stdin, appends it to the JSON Lines log, and writes the configured response to stdout. Drop the Python runtime and files from the core Bazel test dependencies. GitOrigin-RevId: b9e26384c6b455b0f0936c7009a445d3eabfe2c6
## Why When the composer footer gains or loses a hint row, typing the first character or deleting the last one can move the caret vertically. ## What changed Reserve a row for passive footer hints when the status line is visible and there is room after laying out the input, slash-command suggestions, and previews. The row can stay blank until a hint appears. ## Testing Add a regression test that checks the caret row before typing, after typing one character, and after pressing Backspace. Extend coverage to check that slash-command suggestions and a short status line fit together when space is tight. GitOrigin-RevId: 25df697826cebc4b7cb4aab4460c432b7454d5ea
## Why An immediate redraw can happen before the TUI receives a resize event. For example, submitting a turn just after shrinking the terminal can render the frame using the previous dimensions. ## What changed Resolve the screen size and run resize handling before immediate paints for turn submission, session lifecycle actions, startup modals, Cloud switching, and shutdown. Consume the reserved size when drawing the frame and preserve the scheduled recheck for settled terminal dimensions. ## Testing Add regression coverage for fullscreen turn submission and archive progress after a terminal shrink, plus checks that a draw consumes its reserved size and an early paint preserves the scheduled size recheck. GitOrigin-RevId: 494c746cb02712350cc600ea4aea64460c608639
## Why App-server clients received the generic `other` error code for biology policy errors, so they couldn't distinguish them by code. ## What changed Map the core `BioPolicy` error to `bioPolicy` in app-server v2 and include the new value in the generated JSON schemas, TypeScript types, and Python SDK enum. ## Testing Update the error conversion test to assert that `BioPolicy` serializes as `"bioPolicy"`. GitOrigin-RevId: 77fa969a3d8cbd4c12fe6f7aa5d4833f6adaa99b
## Why Workspace-relative permission rules need to resolve against the execution host's workspace roots so a grant applies to the intended directory. Restricted launches also need to check that the host can provide the required sandbox. ## What changed - Select the platform sandbox while preparing a launch, using the permission profile, network requirements, and Windows sandbox settings. - Pass workspace roots into policy resolution for local commands and shell snapshots. Already-bound command profiles validate their concrete paths without resolving Windows launcher hints on hosts that do not use them. - Share local launch preparation between tool commands and shell snapshots, and require a platform sandbox for exec-server launches that request one. ## Testing Cover network-only restrictions and verify that a `:workspace_roots` write grant allows writes to the configured subdirectory under the command's working directory while denying writes to a sibling file and the corresponding subdirectory under the parent. Exercise the path grant through both app-server command execution and WebSocket exec-server execution. GitOrigin-RevId: 492fe7ab8deddf30cfd2e2bdabf28d02d67e00c5
## Why An interactive tunnel can stall when a buffered local writer holds data that the client needs before it can reply. ## What changed Flush the local TCP writer after each HTTP/2 data chunk, before releasing receive flow-control capacity. ## Testing Extend the relay test to verify that the client receives the server's initial bytes through a buffered writer before sending its upload. GitOrigin-RevId: 7c6c37a707319ce77f2abb627924337b0c944c32
## Why Custom status lines previously depended on a feature flag in the TUI client's configuration. When the TUI connects to a separate app server, that flag can differ from the setting in the server's active profile. ## What changed Add **Custom status line** to `/experimental` as an opt-in feature. Save the toggle on the connected app server, restart the TUI, then use `/statusline` to choose a provider. Read `tui_extensions_statusline` from the app server's effective configuration at startup. Keep that value when switching conversations or reloading local status line preferences, so toggling the feature takes effect on the next TUI launch. ## Testing Add a menu snapshot and regression coverage for saving the toggle in a server profile while preserving the active provider across a thread change. GitOrigin-RevId: 4025c9771e560d6d7b1e6bd97236bffc44201556
- Added GPT-6.2 Sol and Astra to model catalogs, with Sol as the default catalog selection. (openai#62106) - Enabled the TUI workspace by default, with searchable document previews, image previews, and subagent transcripts alongside the main conversation. (openai#61352, openai#61888, openai#61889, openai#61919, openai#62157) - Added configurable undo and redo shortcuts to the non-Vim prompt composer, including restoration of attachments and large pastes. (openai#61954) - Added `codex exec --remote <ADDR>` to start or resume noninteractive sessions on an existing app server. (openai#61707) - Added `/rc` and `/remote` to manage local remote control and display device pairing codes from the TUI. (openai#62121) - Added custom MCP status line selection and authoring through `/statusline` when `tui_extensions_statusline` is enabled. (openai#61979, openai#61988, openai#62037) ## Bug Fixes - Preserved drafts, queued follow-ups, and interrupted input with their original threads when switching or resuming sessions. (openai#61216) - Kept permission profiles intact when changing working directories. (openai#61195) - Prevented late completion events from cancelling approvals for a newer turn. (openai#61801) - Preserved earlier edits in aggregate diffs when steering an active turn. (openai#61820) - Fixed scrolling that inserted stray characters, composer caret jumps, and redraws using stale terminal dimensions. (openai#62139, openai#62174, openai#62175) - Fixed enterprise MCP sign-in for identity providers that issue ID tokens without refresh tokens. (openai#62129) ## Chores - Updated source builds and release tooling to Rust 1.99.1. (openai#61205) - Updated XML dependencies and removed obsolete security advisory exceptions. (openai#62068) ## Changelog Full Changelog: openai/codex@rust-v0.170.0...rust-v0.171.0 - openai#61178 Enable conversation-scoped speed selection for Cloud turns @bc-openai - openai#61180 Reclaim abandoned trusted Git repositories @etraut-openai - openai#61181 Fix pagination for unindexed threads sorted by ascending recency @etraut-openai - openai#61182 Support renaming cloud threads @bc-openai - openai#61183 Fix fork parent metadata in reconstructed TUI sessions @fcoury-oai - openai#61185 Defer Guardian context limits to request preparation @ioanbudea-OAI - openai#61186 Keep plan item IDs unique after completion @neerajrj-oai - openai#61187 Add authenticated GCS caching for Bazel CI and releases @dkovalenko-oai - openai#61194 Remove redundant legacy permission helpers @ioanbudea-OAI - openai#61195 Preserve permission profiles across working directory updates @ioanbudea-OAI - openai#61196 Clear inline image previews before history insertion can scroll them @dob-oai - openai#61197 Clarify remote message board and clock documentation @anp-oai - openai#61198 Add graceful agent-tree suspension and recovery @bryanashley - openai#61199 Align rollout trace replay with the same-binary contract @cassirer-openai - openai#61200 Unify TUI status content and layout caching in `StatusLine` @fcoury-oai - openai#61201 Clean up Rust error handling and OTLP test assertions @ioanbudea-OAI - openai#61205 Upgrade the Rust toolchain to 1.99.1 @ioanbudea-OAI - openai#61206 Enforce Linux seccomp restrictions for x32 syscalls @dhavalkapil-oai - openai#61207 Add SPIFFE JWT-SVID support for workload identity authentication @cooper-oai - openai#61210 Retain TUI delegation prompts in thread model history @won-openai - openai#61211 Add local status line provider configuration @joesavona - openai#61212 Add persistence support for status line provider selections @joesavona - openai#61213 Support model catalog Apps usage instructions @goodman-oai - openai#61215 Track dictation usage from accepted user inputs @chrisdong-oai - openai#61216 Preserve thread input across TUI session resumes @bc-openai - openai#61218 Hide attached threads from the agents overview @fcoury-oai - openai#61219 Hide TUI status details for read-only history @joesavona - openai#61220 Deduplicate overlapping Apps startup tool listings @charliemarsh-oai - openai#61221 Forward repeated signals through the npm wrapper @etraut-openai - openai#61222 Store rollout trace payloads in compressed shards @cassirer-openai - openai#61224 Include AppX event IDs in Windows runtime registration errors @zm-oai - openai#61227 Include Win32 error codes in MXC process launch failures @zm-oai - openai#61228 Add a missing semicolon in the realtime call test helper @bc-openai - openai#61248 Add MCP inventory support for statusline providers @joesavona - openai#61249 Resolve MCP statusline providers and read thread-scoped resources @joesavona - openai#61250 Add bounded streaming discovery for statusline providers @joesavona - openai#61251 Refactor history and notes tools around backend traits @euroelessar - openai#61253 Move rollout trace recording to a background worker @cassirer-openai - openai#61254 Fix Bazel tool resolution for bubblewrap and voice builds @bencodes-oai - openai#61255 Honor `PIP_INDEX_URL` for V8 Python dependencies @bencodes-oai - openai#61256 Block `request_key` in Linux network sandbox filters @dhavalkapil-oai - openai#61257 Preserve MCP registration scope across client operations @sayan-oai - openai#61259 Update realtime model and honor provider-specific voice defaults @cooper-oai - openai#61260 Accept ERS v1 and v2 tunnel JWTs @dines-oai - openai#61263 Refactor session window access and async compaction test setup @maxj-oai - openai#61264 Enable gzip and zstd support in the shared HTTP client @joeyp-openai - openai#61272 Set the environment field in statusline MCP requests @anp-oai - openai#61276 Consolidate Windows filesystem helper sandbox preparation @viyatb-oai - openai#61283 Accept explicit contribution context for MCP runtime configuration @sayan-oai - openai#61286 Add and preserve the marketplace auto-update setting @smurching-oai - openai#61337 Centralize managed network proxy startup @viyatb-oai - openai#61338 Record host-confirmed Code Mode wait targets in rollout traces @tz-openai - openai#61339 Add session-scoped stores for stable model-facing IDs @anp-oai - openai#61341 Add opt-in prompt image sanitization @vivi - openai#61342 Cancel abandoned cloud thread list requests @bc-openai - openai#61343 Title saved side chats from their first direct input @fcoury-oai - openai#61344 Add per-item retention policies for injected history @vivi - openai#61345 Add opt-in elastic budgeting for asynchronous Guardian requests @ioanbudea-OAI - openai#61346 Apply elastic entry caps to Guardian classifier evidence @ioanbudea-OAI - openai#61347 Reserve item ID overhead before elastic context allocation @ioanbudea-OAI - openai#61349 Add managed CA defaults for Deno and Google Cloud SDK @viyatb-oai - openai#61350 Reflect accepted cloud model selections in TUI status @bc-openai - openai#61351 Expose canonical network proxy policy patterns @viyatb-oai - openai#61352 Mark the TUI workspace as stable and enable it by default @fcoury-oai - openai#61353 Centralize TUI read-only view checks @bc-openai - openai#61354 Avoid rewriting unchanged Guardian channel descriptions @felixxia-oai - openai#61355 Upgrade Bazel rules_rs to 0.2.3 @seanh-oai - openai#61356 Add deferred MCP reprojection for the next regular turn @kchainani-oai - openai#61357 Clarify removal scope for profile MCP servers @etraut-openai - openai#61358 Add structured error kinds for exec-server process starts @andrewgu-oai - openai#61359 Resolve queued attachment paths against the thread working directory @etraut-openai - openai#61365 Limit MCP status discovery to the requested page @charliemarsh-oai - openai#61369 Use native permission profiles for diagnostics and sandbox checks @ioanbudea-OAI - openai#61370 Remove BuildBuddy presets from the checked-in Bazel configuration @hintz-openai - openai#61371 Add opt-in signer-service support for macOS releases @tarunoai - openai#61372 Add opt-in transparent TCP routing for Linux sandboxes @viyatb-oai - openai#61374 Delegate installed plugin recommendation filtering to the endpoint @zamoshchin-openai - openai#61379 Remove unused workspace entries and simplify Rust code @andrewgu-oai - openai#61380 Add cell-aware mouse selection to transcript tables @fcoury-oai - openai#61381 Update the harness provenance comment in context history @vivi - openai#61382 Make clock reads synchronous and remove client clock requests @euroelessar - openai#61383 Keep the composer responsive while opening new conversations @bc-openai - openai#61384 Support Orbit originators in model catalog partitioning @bromano-oai - openai#61385 Add configurable idle heartbeats to Code Mode gRPC streams @surajs-oai - openai#61386 Reuse cloud plugin catalogs across turns until invalidated @TAFOYA-OAI - openai#61387 Refresh plugin recommendations when tooling state changes @zamoshchin-openai - openai#61388 Include the Windows sandbox service in release builds @zm-oai - openai#61389 Reduce session submission channel memory with boxed payloads @charliemarsh-oai - openai#61390 Preserve active additional context across compaction @dylan-hurd-oai - openai#61391 Normalize managed network requirements before merging @viyatb-oai - openai#61393 Add optional release IDs to cloud plugin source locations @zamoshchin-openai - openai#61394 Add opt-in file-backed tool audio @hung-oai - openai#61395 Remove legacy sandbox-policy accessors from configuration @ioanbudea-OAI - openai#61397 Add default model provider selection to the app server @abhinav-oai - openai#61398 Restore shared connector metadata for Codex Apps tools @mzeng-openai - openai#61400 Retry incomplete cloud catalogs with exponential backoff @TAFOYA-OAI - openai#61401 Release MCP OAuth read locks before keyring access @celia-oai - openai#61402 Update Daybreak links in TUI cybersecurity notices @jamy-OAI - openai#61403 Add a structured status-line snapshot for the displayed thread @joesavona - openai#61405 Show the primary executor's workspace in TUI status surfaces @joesavona - openai#61408 Expose token usage totals in statusline state @joesavona - openai#61409 Expose context usage in statusline state @joesavona - openai#61410 Expose thread costs in statusline state and reject stale usage reads @joesavona - openai#61411 Ignore stale workspace headline requests and archived messages @joesavona - openai#61415 Expose the workspace headline in structured status-line state @joesavona - openai#61417 Expose Codex rate limits in statusline state @joesavona - openai#61418 Require a government workspace for the government backend @jackz100 - openai#61419 Resolve pasted Windows paths with wslpath in WSL @etraut-openai - openai#61420 Clear the user endpoint override during GCP setup @alexsong-oai - openai#61421 Use thread-scoped model catalogs for model lookups @abhinav-oai - openai#61422 Add keyboard table selection to the transcript @fcoury-oai - openai#61424 Refill the transcript viewport when collapsing tool groups @fcoury-oai - openai#61426 Enable incremental tools by default for Amazon Bedrock @akira-oai - openai#61428 Require OAuth CONNECT metadata for Portals TCP tunnels @apanasenko-oai - openai#61429 Refresh cloud plugin and skill catalogs during step preparation @TAFOYA-OAI - openai#61430 Instrument MCP OAuth credential store locks @celia-oai - openai#61434 Close abandoned tool dispatch traces as aborted @maxj-oai - openai#61437 Avoid starting dormant REPL servers for cleanup hooks @dob-oai - openai#61438 Use the provider default RPC in the TUI @abhinav-oai - openai#61444 Add process-local launch directories for shared MCP servers @charliemarsh-oai - openai#61446 Add thread ID inclusion filters to `thread/list` @btraut-openai - openai#61449 Add explicit cloud catalog refresh before turn admission @TAFOYA-OAI - openai#61452 Add optional tool output rendering for context window hints @euroelessar - openai#61461 Refactor session mail recording and compaction metadata capture @euroelessar - openai#61465 Move JSON byte counting into `codex-utils-string` @euroelessar - openai#61473 Persist timestamped realtime frames before acknowledging completion @zahan-oai - openai#61480 Add snapshot pagination for persisted realtime history @zahan-oai - openai#61481 Allow Ctrl+C to quit during Cloud session switches @bc-openai - openai#61486 Keep archived threads read-only and support unarchiving in the TUI @bc-openai - openai#61488 Harden Git remote collection and limit remote URL metadata @ningyi-oai - openai#61490 Preserve the current Cloud task until navigation is ready @bc-openai - openai#61494 Describe context and permissions per environment behind a feature flag @sayan-oai - openai#61535 Add trusted request-country metadata to Responses requests @goodman-oai - openai#61562 Unify model request hook lifecycles across sampling and compaction @tz-openai - openai#61577 Add response processing after completion and usage accounting @tz-openai - openai#61578 Recheck rollout budgets before starting tool work @tz-openai - openai#61579 Support fractional rollout budgets and configurable context reminders @tz-openai - openai#61580 Account for synchronous MCP post-hook costs in rollout budgets @tz-openai - openai#61581 Record neutral interruption markers for rollout budget stops @tz-openai - openai#61582 Gate new rollout work on shared budget exhaustion @tz-openai - openai#61583 Refactor rollout budget checks and turn completion state @tz-openai - openai#61587 Add request IDs and attempt numbers to model request hooks @tz-openai - openai#61595 Scope TUI history item lookups to their owning turns @etraut-openai - openai#61596 Keep agent overview refresh state scoped to each backend @bc-openai - openai#61599 Report Cloud stream recovery failures and cancel abandoned reads @bc-openai - openai#61600 Enable automatic titles for Cloud conversations @bc-openai - openai#61619 Return to the command center while archiving a task @bc-openai - openai#61622 Clarify window ID discovery in history tool guidance @euroelessar - openai#61663 Fix config reads with relative working directories @charliemarsh-oai - openai#61686 Defer plugin manifest loading until marketplace entries are selected @charliemarsh-oai - openai#61688 Add TUI review ownership and risk guidance @bc-openai - openai#61690 Keep pasted text inline in TUI goals @etraut-openai - openai#61692 Fix status detail truncation for wide Unicode characters @etraut-openai - openai#61694 Discard unsaved experimental feature edits on cancel @etraut-openai - openai#61697 Restore the terminal's original alternate-scroll mode @etraut-openai - openai#61706 Refactor exec to use the shared app-server client @etraut-openai - openai#61707 Support remote app servers in `codex exec` @etraut-openai - openai#61709 Avoid legacy transcript reads in the agents overview @etraut-openai - openai#61710 Enable slash-command completion for unavailable threads @etraut-openai - openai#61711 Open Windows desktop sessions through the registered URL handler @etraut-openai - openai#61713 Restore raw mode after returning from external editors @etraut-openai - openai#61724 Use `clip.exe` for single-line ASCII clipboard copies in WSL @etraut-openai - openai#61725 Fix Unicode grapheme highlighting in history search @etraut-openai - openai#61726 Preserve graphemes in mention search match highlighting @etraut-openai - openai#61727 Optimize default and attached thread listings with targeted indexes @dkovalenko-oai - openai#61730 Fix thread listing migration numbering and test setup @charliemarsh-oai - openai#61731 Keep bidirectional TUI headers stable during shimmer @etraut-openai - openai#61737 Preserve agent message phases in the cloud backend @bc-openai - openai#61738 Reuse matching thread inventories for lightweight MCP status pages @charliemarsh-oai - openai#61742 Mark cloud threads with a cloud icon in the TUI @bc-openai - openai#61744 Clarify shell-specific login guidance for `exec_command` @zm-oai - openai#61747 Refactor history and notes tool registration @euroelessar - openai#61762 Fix the missing label style in the mention truncation test @tz-openai - openai#61764 Simplify history and notes tool registration @euroelessar - openai#61771 Remove numeric positions from project responses @apanasenko-oai - openai#61784 Centralize permission profile compatibility helpers in protocol @ioanbudea-OAI - openai#61785 Strengthen workspace-write configuration tests @ioanbudea-OAI - openai#61795 Add lifecycle-managed Guardian housekeeping @felixxia-oai - openai#61797 Wire Guardian V3 housekeeping into the app server @felixxia-oai - openai#61798 Add a dedicated Guardian v3 housekeeper inference client @felixxia-oai - openai#61799 Route Guardian housekeeping through its dedicated sampler @felixxia-oai - openai#61800 Clarify managed human command checkpoint stability @felixxia-oai - openai#61801 Preserve active turn approvals when an earlier turn finishes late @jif-oai - openai#61817 Isolate app-server turn metadata by turn ID @jif-oai - openai#61820 Preserve aggregate turn diffs across steering @jif-oai - openai#61833 Avoid unnecessary rollout item copies during child thread creation @charliemarsh-oai - openai#61837 Avoid redundant store reads for loaded thread metadata @charliemarsh-oai - openai#61840 Resolve fork ancestry lazily for descending history pages @charliemarsh-oai - openai#61841 Close late command approval items when turns are interrupted @jif-oai - openai#61845 Defer code-mode tool catalog construction until first access @charliemarsh-oai - openai#61846 Reuse code-mode tool catalogs across executions @charliemarsh-oai - openai#61851 Allow network policy to enable transparent TCP capture @viyatb-oai - openai#61852 Broadcast read-state changes to experimental clients @yiqian-oai - openai#61854 Allow model metadata to control multi-agent tools in code mode @jif-oai - openai#61860 Add opt-in tool-call attribution for upstream proxies @hbuyle-oai - openai#61865 Report remote plugin local versions from matching cached packages @charliemarsh-oai - openai#61866 Preserve SQLite row metadata in thread listings @charliemarsh-oai - openai#61871 Preserve plugin skill picker ranking across version changes @bc-openai - openai#61878 Support flat subgraphs in native Mermaid flowcharts @etraut-openai - openai#61880 Preserve local Markdown document targets in transcript rendering @fcoury-oai - openai#61887 Add app-server file preview read helpers @fcoury-oai - openai#61888 Add read-only document previews to the TUI sidebar @fcoury-oai - openai#61889 Add search, selection, and link navigation to document previews @fcoury-oai - openai#61890 Open source file links at line and column targets in the TUI @fcoury-oai - openai#61894 Acknowledge agent messages and clarify how to wake idle recipients @rjmarsan - openai#61896 Bound rollout trace capture with configurable storage limits @cassirer-openai - openai#61897 Add opt-in UTC dates to environment context @sayan-oai - openai#61898 Tie Linux sandbox proxy bridges to the launcher lifetime @viyatb-oai - openai#61900 Fix proc mount fallback detection for Bubblewrap 0.12 @viyatb-oai - openai#61902 Filter thread listings before scanning rollout previews @charliemarsh-oai - openai#61908 Pass a per-call voice session ID through TUI realtime startup @chrisdong-oai - openai#61909 Add opt-in item-boundary interrupts for subagents @jif-oai - openai#61910 Preserve native sandbox executable paths and PTY dispatch names @viyatb-oai - openai#61911 Default Statsig metrics exports to Zstandard compression @tvh-openai - openai#61915 Fall back to the built-in status line for invalid providers @joesavona - openai#61916 Preserve remote compaction summaries when interrupting child agents @jif-oai - openai#61919 Add sidebar image previews and present generated images after answers @fcoury-oai - openai#61920 Track conversation files for the TUI sidebar @fcoury-oai - openai#61922 Add conversation files to the TUI sidebar chooser @fcoury-oai - openai#61926 Allow agent search by thread ID and Git branch @bc-openai - openai#61928 Encapsulate app-server thread-list locking in `ThreadListState` @charliemarsh-oai - openai#61929 Freeze Guardian review views at ordered evidence cutoffs @felixxia-oai - openai#61931 Log Windows MXC deny-read glob expansion timings @iceweasel-oai - openai#61934 Allow independent app-server thread resumes to overlap @charliemarsh-oai - openai#61939 Preserve partial Git metadata when worktree status is slow @ningyi-oai - openai#61940 Add saved environment listing to the Cloud client @bc-openai - openai#61941 Route turn-start client metadata through a dedicated helper @chrisdong-oai - openai#61942 Centralize exec-server launches in `WrappedSandboxCommand` @viyatb-oai - openai#61945 Allow host-started forks to inherit the root session ID @rhan-oai - openai#61946 Include enclosing tool context in nested Guardian approvals @ankushg - openai#61947 Mask system SSH config drop-ins in the Linux sandbox @viyatb-oai - openai#61949 Extract user input preparation into `codex-user-input` @anp-oai - openai#61951 Refactor composer undo and redo history @etraut-openai - openai#61954 Add undo and redo to the non-Vim prompt composer @etraut-openai - openai#61955 Bound item loading for paginated `read_thread` calls @charliemarsh-oai - openai#61956 Support saved environments when starting Cloud threads @bc-openai - openai#61958 Support turn-scoped exhaustion in host usage accounting @rhan-oai - openai#61959 Prewarm restored file images on cold resume @bkotsopoulos - openai#61962 Capture local attachments before queuing turn input @anp-oai - openai#61964 Add HTTP/2 fallback for SSH tunnels @richardopenai - openai#61969 Set explicit image detail in the restored-history prewarm test @bc-openai - openai#61973 Preserve accepted tool outputs and local resets in rollout traces @cassirer-openai - openai#61974 Add a Cloud environment picker for new TUI conversations @bc-openai - openai#61975 Simplify SSH tunneling and honor system HTTPS proxies @richardopenai - openai#61976 Add mouse scroll speed to the TUI config panel @xma-oai - openai#61977 Keep TUI quota state scoped to the active provider @joesavona - openai#61978 Use the current billing plan for TUI thread usage @joesavona - openai#61979 Render selected MCP statusline providers in the TUI footer @joesavona - openai#61981 Poll MCP statusline providers with fresh state and bounded reads @joesavona - openai#61985 Refresh status line providers on config and connection changes @joesavona - openai#61986 Preserve statusline provider selections across thread startup @joesavona - openai#61988 Add a status line provider picker to `/statusline` @joesavona - openai#61990 Classify status line provider failures and shorten error messages @joesavona - openai#61993 Surface status line discovery failures and lookup timeouts @joesavona - openai#62034 Add TypeScript contracts for custom statusline providers @joesavona - openai#62036 Add a bundled skill for authoring MCP statuslines @joesavona - openai#62037 Add custom status line authoring to `/statusline` @joesavona - openai#62041 Add aggregate metrics for status line provider usage @joesavona - openai#62045 Record statusline mode on the first prompt of each thread visit @joesavona - openai#62046 Record status line provider starts and failures @joesavona - openai#62047 Distinguish image and tool audio attachment uploads @seanh-oai - openai#62048 Add a keyboard diagram to TUI shortcut help @bc-openai - openai#62050 Centralize sandbox network and shell credential setup @viyatb-oai - openai#62051 Expand the `spawn_agent` model listing cap to 16 @rhan-oai - openai#62055 Escape installer PATH entries for shell metacharacters @etraut-openai - openai#62058 Stop masking system SSH configuration drop-ins in Linux sandboxes @viyatb-oai - openai#62061 Use Bazel's Python runtime for MCP permission hook tests @bencodes-oai - openai#62065 Reject conflicting remote endpoints for resume and fork @etraut-openai - openai#62066 Fix turn interrupt reply ordering and shutdown handling @jif-oai - openai#62067 Refresh dependency locks and RustSec advisory exceptions @jif-oai - openai#62068 Upgrade XML dependencies and remove obsolete advisory ignores @jif-oai - openai#62070 Allow the expanded agent model shortlist in prompt-prefix tests @jif-oai - openai#62071 Test prompt-prefix preservation across app-server resume @jif-oai - openai#62072 Preserve client attribution when spawning subagents @jif-oai - openai#62074 Simplify Guardian history review preambles @swastik-oai - openai#62076 Reuse regexes across rollout snippet searches @charliemarsh-oai - openai#62079 Support device-code login for config servers @vishnu-oai - openai#62080 Add policy-checked dispatch for bundled App hooks @jif-oai - openai#62083 Isolate Guardian v2 score caches by policy revision @ioanbudea-OAI - openai#62085 Skip redundant history materialization on flush @charliemarsh-oai - openai#62089 Avoid an admission deadlock in the code mode spawn test @jif-oai - openai#62090 Append transcript provenance to Guardian JSON instructions @jif-oai - openai#62092 Skip recent rollouts before reading headers during compression @charliemarsh-oai - openai#62093 Return empty success output from v2 `send_message` @surajs-oai - openai#62094 Ensure Windows sandbox passwords include every character class @dylan-hurd-oai - openai#62095 Normalize Bedrock Mantle commentary before replay @adhajar-oai - openai#62096 Centralize app-server turn error conversion @adi-oai - openai#62099 Clarify recovery guidance for stale Guardian authorization @rjmarsan - openai#62100 Support transparent TCP with inherited PID namespaces @adaml-oai - openai#62102 Stabilize app-server and login integration tests @dylan-hurd-oai - openai#62103 Preserve trace context during WebSocket startup prewarm @wiltzius-openai - openai#62105 Preserve plugin runtimes across catalog metadata updates @charliemarsh-oai - openai#62106 Add GPT-6.2 Sol and Astra to model catalogs @andrewgu-oai - openai#62107 Log macOS user verification enrollment failure diagnostics @bz-openai - openai#62110 Support OTel header helpers in local managed requirements @abhinav-oai - openai#62112 Trust the bundled Memory session hook without saved hashes @nvogt-oai - openai#62114 Add external header auth for existing realtime calls @shuo-openai - openai#62116 Stabilize TUI startup tests and strengthen daemon recovery coverage @dylan-hurd-oai - openai#62120 Fix Node launcher detection in the standalone installer @etraut-openai - openai#62121 Add `/rc` to manage remote control from the TUI @etraut-openai - openai#62122 Restrict control of the Windows sandbox service @chess-oai - openai#62124 Refresh tool hashes in core scenario snapshots @andrewgu-oai - openai#62125 Include classifier turn IDs in Guardian v2 analytics @marksteinbrick-oai - openai#62126 Share picker setup for the TUI status line and terminal title @bc-openai - openai#62127 Use the local session index in the multi-backend resume picker @charliemarsh-oai - openai#62128 Preserve base and developer instructions in host child preparation @jif-oai - openai#62129 Support enterprise MCP sign-in without refresh tokens @nicksteele-oai - openai#62131 Isolate auth storage attribution tests from account switches @dylan-hurd-oai - openai#62132 Stream partial thread search results and support cancellation @matthewdavis-oai - openai#62133 Add live evidence retrieval for Guardian v3 reviewers @felixxia-oai - openai#62134 Add reusable per-agent reviewer conversations to Guardian v3 @felixxia-oai - openai#62135 Use live evidence retrieval and subscriber inboxes in Guardian @felixxia-oai - openai#62136 Deliver subscribed evidence to idle Guardian reviewers @felixxia-oai - openai#62137 Remove fixed message-board views and bulk subscriptions @felixxia-oai - openai#62138 Use the state database first for TUI analytics thread lists @charliemarsh-oai - openai#62139 Update `crossterm` to fix stray input when scrolling @bc-openai - openai#62140 Hold Cloud reply streams until history can be refreshed @bc-openai - openai#62141 Repair missing or stale Windows sandbox Core registration @zm-oai - openai#62142 Add audio transcription to the backend client @ax-openai - openai#62144 Preserve web search provider ownership across thread resumes @owenlin0 - openai#62145 Signal workspace routing readiness in account updates @jonluca - openai#62146 Batch mouse wheel scrolling in the TUI @bc-openai - openai#62149 Show subagents and their status in the TUI sidebar chooser @fcoury-oai - openai#62150 Cancel Cloud overview refreshes that block TUI navigation @bc-openai - openai#62151 Limit recovery after repeated cloud reply stream disconnects @bc-openai - openai#62153 Reduce overhead in CLI integration tests @dylan-hurd-oai - openai#62157 Open subagent transcripts in the TUI sidebar @fcoury-oai - openai#62159 Open subagent transcripts from activity links in the TUI @fcoury-oai - openai#62160 Wait for the system `bwrap` probe with a pidfd @bc-openai - openai#62162 Stabilize app-server `app/list` integration tests @dylan-hurd-oai - openai#62163 Move the app-server socket relay into the Codex CLI @bolinfest - openai#62165 Wait for the search connector in hosted web search tests @dylan-hurd-oai - openai#62171 Extract TUI thread resume finalization @bc-openai - openai#62172 Remove Python from MCP permission request hook tests @seanh-oai - openai#62174 Keep the TUI composer caret anchored while typing @etraut-openai - openai#62175 Fix stale terminal dimensions in immediate TUI redraws @etraut-openai - openai#62176 Expose `bioPolicy` errors in app-server v2 @owenlin0 - openai#62183 Select process sandboxes during launch preparation @viyatb-oai - openai#62186 Flush HTTP/2 tunnel data to the local TCP writer @richardopenai
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
JJLiebig
marked this pull request as ready for review
November 20, 2026 13:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Integrate upstream
rust-v0.171.0(ccf9be8cc4) with its original commits.Retain foreground account failover through the upstream sampling and compaction APIs. Carry completion claims through the upstream turn-budget and mailbox-admission rules. Preserve fork startup, TUI, browser, and Windows launch integrations. Regenerate protocol and configuration schemas and align the native release build with Rust 1.99.1.
Validation
543a424f7fpassedcargo check --locked -p codex-cli --bin codexandjust fmtleft the tree clean.The full workspace test suite and native Windows and macOS builds were outside local validation. Hosted PR checks are disabled for this branch.