## Why
Identical instructions and tool descriptions can appear in multiple
model catalog records. Each decode or clone previously allocated its own
copy of that text.
## What changed
Use `CodexCachedStr` for catalog instructions, messages, and tool
overrides. It stores short strings inline and interns longer strings so
independent decodes and clones can share storage. Resolved incremental
tool messages also reuse cached text from overrides and bundled defaults.
JSON and generated TypeScript still represent these values as strings.
## Testing
Add tests for shared storage across catalog fields, independent decodes,
clones, and incremental tool defaults. Cover plain JSON string round
trips and borrowed access to short inline UTF-8 strings.
GitOrigin-RevId: 6f53b4e19f01f6ed52a8fd364279b924cf794be2
## Why
The extension depended on the full core configuration to resolve a small
set of per-thread settings. Accepting those settings from the host lets
the extension work with other host configuration types.
## What changed
Make the extension generic over any host configuration that can provide
`ImageGenerationSettings`. Resolve the settings and artifact save root
at thread startup and refresh them when the thread configuration changes.
Share the `image_gen` namespace through `codex-config` and the
`x-codex-turn-metadata` header through `codex-api`.
GitOrigin-RevId: 3f10fd0a45c910e87bb6beea7f7c2e6c3f7eb707
## Why
SSH can forward Ghostty's `TERM=xterm-ghostty` without `COLORTERM`,
leaving Codex to use an ANSI-16 palette for a truecolor terminal.
## What changed
Centralize stdout color detection in `codex-terminal-detection`. Upgrade
an ANSI-16 result to truecolor when `TERM` is `xterm-ghostty` and neither
`FORCE_COLOR` nor an active `CLICOLOR_FORCE` override is present.
Use the shared detection for TUI colors, including shimmer and activity
indicators. Share the existing Windows Terminal palette rules between
diff rendering and theme colors.
## Testing
Cover Ghostty's `TERM` fallback, explicit color overrides, and Windows
Terminal palette detection in unit tests. Exercise theme preview,
selection, and restoration with Ghostty's `TERM` and no `COLORTERM`.
GitOrigin-RevId: e7b6832fc7e721d5e2c23ef19df5fe55fbfeb21a
## What changed
Delete `codex-agent-extension`, whose `AgentRunner` submitted resolved
agent prompts in forked legacy threads and was used only by the crate's
integration test. Remove the test, the Bazel target, and the crate's
Cargo workspace and lockfile entries.
GitOrigin-RevId: 1e966ccb7b7f37f6cdd68882975bb1e940ae85db
## Why
The SQLite message board can queue native agent mail through app-server.
In-memory boards previously relied on the host's notification callback
for delivery.
## What changed
Add `launch_in_memory_with_app_server` so runners can opt into the same
bounded, queue-only delivery as SQLite via `thread/inject_items`. The
host still resolves agent membership, and the shared notification client
queues post previews without starting a turn.
## Testing
Extend the app-server integration test to check that, after an
app-server restart, a post from each backend reaches an idle worker
exactly once on its next turn. The test also checks that app-server
delivery bypasses the in-memory host's notification callback.
GitOrigin-RevId: fc01b5e3f43dcfca5f43366f0b184c41dc07f9eb
## Why
The TUI renders `/mcp` from app-server `McpServerStatus` responses.
The legacy renderer's snapshot still exercises grouping by qualified tool
name, a path the command no longer uses.
## What changed
Delete the legacy renderer, its hyphenated-server-name snapshot test and
fixtures, and the TUI's `codex-mcp` dev-dependency.
GitOrigin-RevId: 69f1601f19b34576ea2d9dcebdd2bfb30f414d99
## Why
The prompt image cache keeps original image bytes in memory after the
last caller releases them. A later request already supplies those bytes,
so the cache only needs to remember that they decoded successfully and
could be used as-is.
## What changed
Cache the format and dimensions of validated, unchanged images with a
weak reference to the source buffer. Matching requests share the buffer
while it is live. After it is released, a cache hit takes ownership of
the new input buffer without copying or decoding it again. Concurrent
misses reuse the first live result when inserting into the cache.
Key entries by a BLAKE3 hash of the input, image mode, and decoder
choice. Keep transformed outputs in the cache and apply the byte budget
using source length for unchanged images and allocation capacity for
transformed outputs.
## Testing
Cover buffer sharing and release, reuse after release, concurrent cache
misses, and byte-budget eviction. Verify that a warm cache still rejects
a PNG with corrupt pixel data.
GitOrigin-RevId: b830ecaf8af713bdcc4d1c7782675ad77db74229
## Why
MCP tools can return structured data alongside a JSON text fallback for
clients that need it. Printing the whole result in Code Mode can show
the same data twice.
## What changed
Enable `features.code_mode_mcp_result_dedup` to let `text()` omit
`content` when it prints an original, successful MCP result whose only
content block is a plain text fallback that parses to the same JSON as
`structuredContent`. The JavaScript result retains both fields.
Carry the result format through gRPC so the host can distinguish MCP
results from ordinary JSON. The feature is off by default.
## Testing
Add coverage for both feature flag settings, for printing original MCP
results and copies through gRPC, and for comparing equivalent JSON.
GitOrigin-RevId: a8b0b42f5375d9744c235a0e663090dd5982e37e
## Why
The local code-mode host could stay running after its last session
closed. A short grace period allows nearby sessions to reuse the same
process while releasing it after sustained inactivity.
## What changed
Keep the host active while session leases or operation RPCs are in
flight. Once they drain, start a five-second idle timer. New activity
cancels retirement and starts a fresh grace period when it drains.
Process metrics only sample an existing host and leave the idle timer
untouched. Opening a session after retirement starts a fresh host.
## Testing
Add a lifecycle test that covers overlapping sessions, reuse during the
grace period, retirement despite metrics polling, and startup on the
next session.
GitOrigin-RevId: 2ebf7f7b3b3bf2d5a602b0e5b9085195eee13446
## Why
Verifier unit tests exercise the signing checks in isolation. Integration
tests cover how callers handle verification failures, including whether
they preserve an existing cache or write checkout files.
## What changed
Reuse the signed archive fixture with a mock backend to cover these paths:
- `plugin/install` accepts an unsigned archive without fetching signing keys.
- `plugin/reconcile` caches unsigned and valid signed releases, reuses a
cached version without downloading it again, and preserves that version
when a newer archive fails verification or signing keys are unavailable.
- `plugin/share/checkout` writes the checkout and local metadata after
successful verification and leaves them absent for a tampered archive.
- The measurement reference cache rejects a tampered archive and accepts
valid bytes on retry for the same plugin version.
Wire the tests into Bazel and give the new RPC suite the existing app-server
integration test concurrency limits in nextest.
GitOrigin-RevId: bfac72216ccee6c5a33fe08ef0081fad48ac842d
## Why
An SSH forward can replace its Unix socket listener while the old
keep-alive connection remains open. Reusing that connection can leave
MCP requests waiting on the old listener.
## What changed
Route `codex-desktop://<uuid>` endpoints to the corresponding Unix socket
for local `codex_app` servers with explicit HTTP authorization. Allow
`http_headers_helper` to supply supplemental headers while preserving the
configured authorization. Socket requests bypass proxies, strip
`Proxy-Authorization`, and disable redirects.
Reuse pooled connections while the socket is unchanged and discard them
when the listener is replaced or the socket disappears.
## Testing
Add coverage for authenticated Desktop startup, rejection of helper-only
authorization and other server names, and reconnection after socket
replacement while the previous connection remains open.
GitOrigin-RevId: a38e55d8cd726299506b487d1223fe64bd856e80
## Why
Remote plugin downloads need to check that the archive matches the digest
and signature supplied by the release before using its contents.
## What changed
Use the shared archive verifier for remote installs, installed-plugin
updates, shared plugin checkouts, and measurement reference downloads.
Fetch signing keys through the authenticated plugin service transport.
Reject malformed signing metadata and failed verification before extraction,
and continue accepting releases that omit signing metadata.
## Testing
Extend runtime authentication coverage to check that signing-key requests
include the product SKU header and that a prepared request fails after its
network policy is revoked.
GitOrigin-RevId: 27322921cd2778a3f06d1dee124dd8a5037c2f00
## Why
A SHA-256 digest can detect changed archive bytes, but someone who replaces
both the archive and its digest can still pass that check. A signature
verified with a Plugin Service release signing key lets callers detect
that replacement before extraction.
## What changed
Add `RemotePluginArchiveDownload::verify` to check the archive's SHA-256
digest and verify its detached RSA signature with the matching
release key from the authenticated `/ps/plugins/signing-keys` endpoint.
Allow downloads with missing or null signing metadata to proceed without
verification. Report malformed metadata when verification is called so
catalog responses can still be parsed, and omit signing metadata when
serializing download records.
## Testing
Add a signed archive fixture and tests for successful verification,
tampering with both archive bytes and the reported digest, redirected key
responses, invalid signing metadata and keys, and unsigned downloads.
GitOrigin-RevId: 8dd1575cb24ca3e531223faf57d23c12445651bf
## What changed
Register `codex-plugin-archive-verification` in the Cargo workspace and
add a Bazel library target. The library currently contains only crate
documentation describing its purpose of verifying Plugin Service archive
signatures.
GitOrigin-RevId: 6d5b4e38985ccef2423561f10eea78a8e919946b
## Why
Statsig requests need to honor the caller's proxy, TLS, and network policy
settings.
## What changed
Add a `codex-statsig` crate that adapts a caller-supplied
`RouteAwareClientPool` to the Statsig SDK's HTTP interface. The adapter
requests identity encoding, applies the SDK's timeout and optional
response body limit, and leaves HTTP status handling and retries to the SDK.
## Testing
Mock-server tests cover request forwarding, preservation of HTTP error
responses, response size limits, timeout error mapping, and policy denial
before a request reaches the server.
GitOrigin-RevId: 6e78435f1f93ee272977b2f0058afd8f485cf4e0
## Why
The code-mode host only exports traces, and Windows sandbox setup only
exports metrics. Selecting the required exporter and HTTP client at compile
time lets the linker drop unused exporter and custom client code.
## What changed
Use `BlockingHttpService` for OTLP/HTTP JSON traces in the code-mode host
and Statsig metrics during Windows sandbox setup. These providers use the
OpenTelemetry SDK's default HTTP client. Traces use the dedicated batch span
processor even inside a Tokio runtime.
Move `codex_home` from `OtelSettings` to `OtelHeadersHelper`, where it
supplies the working directory for user-configured header commands.
## Testing
Exercise the blocking providers in HTTP loopback tests for trace export
inside a current-thread Tokio runtime and cumulative metrics temporality.
GitOrigin-RevId: 21bacbdb18b603f5f536532812ce7643e4eb36d6
## Why
The detached SQLite message board could store posts but could not notify
the agents named in `agents_to_notify`.
## What changed
Add an optional `--app-server ws://127.0.0.1:PORT` flag to
`codex-message-board-mcp`. When configured, the board uses
`thread/inject_items` to queue notices in native agent mailboxes without
starting a turn. The board and app-server must share the same Codex
registry.
Delivery is best-effort. Posts stay stored if a notice fails, and the
next notice can reconnect without replaying the failed one.
## Testing
Cover concurrent requests, notice size limits, and reconnect after a
timeout without replay. Exercise the detached executable against a
restarted app-server and verify that a native child receives the queued
notice once when it resumes.
GitOrigin-RevId: 8b890b30df94590686d91921d814887eda5d9c9b
## Why
Dropping the remote client or cancelling its shutdown could leave the
WebSocket transport worker running, even if it was stalled on a socket write.
## What changed
Give the client an abort-on-drop task handle so dropping the client or
cancelling its shutdown future aborts the transport worker.
## Testing
Extend the full command queue regression test to cover shutdown, shutdown
cancellation, and direct client drop. Each case verifies that the worker
releases its command receiver and terminates.
GitOrigin-RevId: a5a83b3ab8520d4096be444bc24676ac9c444cb1
Update the resolved versions in `codex-rs/Cargo.lock` and add the
corresponding crate metadata to `MODULE.bazel.lock`.
GitOrigin-RevId: e270b2d070c09c80e848ae2d14c55fe40fc7d5ee
## Why
Dispatched invocations, model-visible Responses calls, and Code Mode's
per-cell runtime calls use IDs with different roles. A dedicated Rust type
makes the dispatch identity explicit in APIs that carry it.
## What changed
Add `codex-tool-call-id` and use its `ToolCallId` across core tool dispatch,
nested Code Mode calls, and rollout tracing. The type wraps a string and
continues to serialize as a string.
GitOrigin-RevId: 119de57a9af840c4de72895adc9acdd0ed15b4fd
## Why
App-server clients lose metadata supplied by the image backend when
Codex turns the response into a completed image generation item.
## What changed
Expose the backend's `image_metadata` as optional `imageMetadata` in
app-server items and preserve nested values through thread persistence,
resume, and legacy history replay and migration. Keep this metadata out
of model tool output.
Omit empty metadata and discard non-object, oversized, or deeply nested
metadata without dropping the generated image.
## Testing
Extend coverage for per-image parsing, metadata limits, and round trips
through app-server completion, persisted history, and thread resume.
GitOrigin-RevId: 7211a9db1149cb05e6176b08b0462ca173ac72d5
## Why
Tool schema budget checks cloned the schema and allocated a JSON buffer
just to measure its size. Building a Responses Lite catalog also cloned
tool definitions before serializing them.
## What changed
- Deserialize schemas from borrowed JSON during compaction, count
serialized bytes without allocating a buffer, and reuse the parsed
schema when it fits the budget.
- Serialize borrowed tool specs and namespace members directly, and pass
filtered specs as an iterator. Preserve the serialized namespace field
order because the bytes contribute to the `additional_tools` item ID.
## Testing
- Compare the exact serialized Responses Lite catalog against the
expected namespace layout.
- Add a `tool_catalog` benchmark for connector schema preparation and
Responses Lite catalog encoding with 1 and 64 tool specs.
GitOrigin-RevId: 6bd03a12fcedd4abfa8c3a03f298243483e98c63
## Why
The daemon's automatic update preference still permits manual updates.
Administrators need a policy that covers both paths.
## What changed
Set `features.daemon_updates = false` in managed `requirements.toml` or
local MDM policy to block scheduled updates and manual daemon package
replacements. Updates are allowed by default. User configuration cannot
override the policy, and cloud-delivered requirements reject the setting.
When policy blocks updates, the TUI hides update actions in `/daemon`,
suppresses update offers in version notices, and directs users to their
administrator where a newer daemon is required.
## Testing
Add coverage for the default, disabled, and invalid policy cases,
rejection of the setting in cloud requirements, and the TUI with daemon
updates disabled.
GitOrigin-RevId: de9e50c4acc4dc8e83bbd2b9a5e902deb8c6f477
## Why
Response item IDs and context window IDs use separate generator callbacks.
A shared allocator gives history and inference a single API for both.
## What changed
Use `ThreadContextIds` to allocate response item IDs, retained-context
revisions, and compaction window IDs. Move initial window selection into
`InitialHistory` so resumed threads reuse a valid window ID from their
rollout. Give rollout reconstruction its own allocator.
Assign hook prompt IDs through the session's normal response item
recording path.
## Testing
Move the prefixed UUIDv7 item ID test to the allocator crate and add
coverage for JSON escaping in Guardian's item ID token budget.
GitOrigin-RevId: 31232f50648382033506d1f86815ce7c1de78378
## Why
Configuration, protocol, and prompt code use in-memory policies and
previously pulled in the Starlark parser through `codex-execpolicy`.
## What changed
Move policy construction, rule validation, and evaluation into
`codex-execpolicy-rules` and use it directly from those crates. Keep
Starlark policy loading and file updates in `codex-execpolicy`, which
re-exports the shared rule types and wraps rule validation errors while
preserving their source locations.
GitOrigin-RevId: 5bc70d3cd387b43a3ad1fcc56af96ad169ac8b13
## Why
Large file reads over stdio previously allocated both a base64 string
and a complete JSON response before writing to stdout.
## What changed
Keep file contents as bytes until the stdio writer encodes them
directly into the newline-delimited JSON response through a bounded
buffer. Clients still receive the same `dataBase64` field.
## Testing
Compare streamed output byte for byte with the eagerly encoded
response for empty files, inputs that require base64 padding, and
files larger than the write buffer. Check that JSON-RPC conversion
preserves the request ID and base64 payload.
GitOrigin-RevId: 730f201f0905fd15e32b6e9c5b2ef02ca21c7532
## Why
The stalled-helper test waits 10 real seconds to check the timeout.
## What changed
Use Tokio's paused clock and a named pipe to keep the helper blocked.
Assert that it reports the expected timeout after exactly 10 seconds
of virtual time. Keep executable paths with spaces covered by a
separate test.
GitOrigin-RevId: ceabf0697576c7944708e467dd0f1a33fd644f42
## Why
Automatic mailbox wakes can start new turns while the app-server is
draining or has paused turn admission. Native child results still need
to reach the parent during drain so they can survive a daemon restart.
## What changed
- Require a turn admission permit for ordinary automatic mailbox wakes
and hold it through turn registration. Retry queued work when a
temporary pause ends. Explicit follow-ups and native child results can
still wake the parent during drain.
- Let `thread/inject_items` queue plain-text agent messages for native
child threads when native tools are enabled. Injected mail follows the
ordinary wake rules.
- Extract the remote app-server client, shared event and request types,
and WebSocket compression into `codex-app-server-remote-client` so
callers can use them without linking the app-server runtime.
## Testing
Cover delivery of queued mail when admission reopens, injection into
native child threads, and recovery of a child result after a daemon
restart.
GitOrigin-RevId: 4c5ceeca8829c2612cc2b6b74c03d0c7677a9244
## What changed
Remove the legacy framed stdio protocol and its client and server.
Local Codex launches the standalone host with `--listen grpc+stdio://`,
which is also the host's default. The `stdio` and `stdio://` aliases
now select gRPC over stdio. The `features.code_mode_host_grpc` setting
is deprecated and ignored.
Carry execution trace context into gRPC tool callbacks and
notifications. Reject oversized execute requests before sending them
so an encoding failure does not appear as a connection reset.
## Testing
Exercise gRPC callback cancellation, trace context across overlapping
yielded cells, and isolation of tool preload failures between sessions.
Check that both values of the deprecated feature setting are ignored.
GitOrigin-RevId: f5faff3901dc60958627f677f50cfad834291b69
## Why
HTTP sampling can attach private connector result bodies, but Responses
WebSocket sampling leaves them out. WebSocket requests need the same
destination and account checks before sending those bodies.
## What changed
Apply the existing HTTP eligibility checks to each WebSocket attempt and
attach only result bodies that belong to the current account and match
the input being sent, including when that input is an incremental update.
Keep prewarm requests free of private result bodies. Update
`tungstenite` and `tokio-tungstenite` to keep sensitive payload bytes
out of frame diagnostics.
## Testing
Add regression coverage for connector results reaching the server while
staying out of request observers and client logs. Cover custom-provider
requests and retries across an account change with results from both
Code Mode `exec` and `wait`.
GitOrigin-RevId: df5ec8608e59bb3a0444fafd5268279e669ccb55
## What changed
Allow config server bundle and auth loaders to discover authorization and
token endpoints, plus an optional device authorization endpoint, from OAuth
metadata when callers enable discovery and omit `config_server.oauth`.
Discovery uses the bootstrap HTTP policy, times out after five seconds,
and keeps the discovered settings in memory. Existing managed-config
entry points pass `ConfigServerDiscovery::Disabled`.
If bundle loader initialization fails, report the error on the first read
and retry on later reads until a loader and its refresh worker can start.
## Testing
Add tests for endpoint parsing and defaults, the discovery timeout,
explicit OAuth precedence, disabled discovery, and local network policy.
GitOrigin-RevId: 7cb72054147ec34f985d55dfe708fccfafcb4ba3
## Why
Proxy settings are bound to the command's execution environment. Preparing
them again at launch can overwrite the settings already bound to the
command, including credentials prepared for its shell.
## What changed
Have `SandboxManager` prepare the proxy environment and sandbox network
context together when the caller hasn't supplied a prepared route. Pass
the prepared environment through to the child and use the prepared
context for sandbox policy, including macOS Seatbelt's proxy ports and
Unix socket rules.
## Testing
Add regression coverage for preserving shell-specific credentials and
environment-bound proxy settings, reporting proxy setup errors for the
requested environment, and deriving Seatbelt rules from the prepared
route.
GitOrigin-RevId: 7a9b5822d8d53f6c93e6318a19222bf06abf0da0
## Why
Running each helper through `codex sandbox` keeps a separate Codex
supervisor process alive for each helper. A shared launcher lets one
supervisor manage multiple helpers concurrently.
## What changed
Add a launcher mode that multiplexes helper I/O and exit status over a
newline-delimited JSON protocol on stdin and stdout. Each helper uses
the host sandbox setup with its own configuration and network proxy.
The launcher applies backpressure to helper I/O, drains buffered output
on exit, and stops tracked helpers when the controller disconnects.
## Testing
Add integration coverage for per-helper filesystem isolation, stdin
backpressure, buffered output after helper exit, and controller
disconnect while output is blocked.
GitOrigin-RevId: a7f75fdedbe0928ff5b93a412c7223371d0f321a
## What changed
Update `mxc-sdk` and use its V1 API to launch commands in a
`ProcessContainer` with inherited stdio. Build the V1 request from Codex's
filesystem, network, UI, and environment settings.
Cache the SDK's ProcessContainer availability probe and surface failures
to create the security environment at launch. Let the SDK reject deny
paths the host cannot enforce and drop Codex's direct `flatbuffers`
dependency.
## Testing
Update the request-building tests to check the V1 filesystem and network
policies, including loopback access for proxied commands.
GitOrigin-RevId: 0fb9955b5df847595c142f5fd1da7a0cc83e1c28
## 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
On Unix, a mouse scroll report split across terminal reads can be
misread as keystrokes and insert stray characters into the composer.
## What changed
Advance the `crossterm` pin in Cargo and Bazel to a revision that lets
both Unix input backends wait briefly for the rest of an escape sequence
before interpreting the initial byte as an Escape keypress.
GitOrigin-RevId: 3866299999ce0f61e331f848b821e07e113c454e
## Why
Clients using `thread/search` have to wait for the search to finish before
they can show any matches. A search can also outlive the query that triggered
it, such as when a user changes their task mention query.
## What changed
- Add experimental `thread/search/stream` with best-effort
`thread/search/partial` notifications. Each notification carries the original
`requestId` and a batch of verified matches. Clients replace provisional
matches with the final page, which determines results, ordering, and cursors.
- Support connection-scoped cancellation through `thread/search/stream/cancel`
and `thread/search/cancel` for their respective search methods. Disconnecting
also stops active searches and reaps their search subprocesses.
- Cancel superseded or timed-out TUI task mention searches without delaying
available title matches.
## Testing
Add coverage for incremental results and final-page parity, slow clients,
connection-scoped cancellation and subprocess cleanup, and TUI task search
cancellation.
GitOrigin-RevId: b58abf7a1df424f191c8ede806d1d5266d299548
## Why
An enterprise identity provider can return an OpenID Connect ID token
without issuing a refresh token, even when Codex requests
`offline_access`. The refresh-token requirement blocked those sign-ins.
## What changed
For `ema_auth`, keep requesting `offline_access` and prefer a refresh
token when available. Otherwise, use the stored ID token for the ID-JAG
exchange after checking its issuer, audience, and expiry. Require
reauthentication when the ID token is expired or invalid and no refresh
token is available.
Update `rmcp` to 3.6.0 for ID token exchange support.
## Testing
Add regression coverage for sign-in with and without a refresh token,
ID token expiry and issuer binding, and the subject token type sent to
the identity provider.
GitOrigin-RevId: ee7e253627c8274f9b3096e3b87e92e2f99885ea
## What changed
- Update `plist` to `1.10.0` and `wayland-scanner` to `0.31.11` in the Cargo and Bazel lockfiles, consolidating on `quick-xml` `0.41.0` and removing `0.39.4`.
- Remove the `RUSTSEC-2026-0194` and `RUSTSEC-2026-0195` exceptions from the audit and deny configurations.
- Remove the `RUSTSEC-2024-0320` exception for `yaml-rust` from the audit configuration.
GitOrigin-RevId: 8dfddd0d0b6887a46f64f27068b4b6cc7ccd4225
## What changed
- Update `zip` to `9.0.5`, its compression dependencies, and `libz-sys` to `1.1.33` in the Cargo and Bazel lockfiles.
- Remove the `RUSTSEC-2026-0410` and `RUSTSEC-2026-0418` exceptions now that `zstd-sys` and `libz-sys` meet their patched version thresholds.
- Add matching Cargo audit and deny exceptions for unmaintained `chrono` and three `hickory-proto` advisories affecting DNSSEC validation, which is disabled in the network proxy. Document conditions for removing or reassessing these exceptions.
GitOrigin-RevId: 13892515e348b41e41cc92b0c91823b119ec55db
## What changed
Bundle a generated `statusline.d.ts` reference with the `create-statusline` skill, covering status snapshots, UI trees, colors, and canonical statusline item IDs. Add test-only `ts-rs` derives and an `UPDATE_STATUSLINE_TYPES` regeneration path.
Clarify that rate-limit usage percentages can exceed 100.
## Testing
Add a Rust test that checks key type exports in the installed skill and a strict TypeScript fixture covering provider rendering and invalid item IDs, row props, and colors.
GitOrigin-RevId: f615e0b3c2cd3d0d95a75de36ce0a84467ecd5b6
## What changed
- Make `codex tcp-tunnel` an SSH stdio helper, removing the loopback listener, stdin control protocol, and JSON diagnostics.
- Add `--token-file` for one-use credentials, consumed only after gateway verification, with environment-based OAuth routing or a legacy IPv4 `--target`.
- Honor system HTTPS proxy settings without attempting direct QUIC, and keep gateway credentials inside verified TLS.
- Race direct TCP addresses through TLS and HTTP/2 readiness so stalled peers do not block a working address.
## Testing
Add coverage for proxy credential isolation and stalled TLS peers, plus an opt-in Linux OpenSSH integration test for complete uploads and remote exit while local stdin remains open.
GitOrigin-RevId: 62423c8a8267842c9e401b3f9094c7278c47a490
## Why
SSH tunnels need a working transport when UDP is blocked or a QUIC connection cannot complete an HTTP/3 CONNECT request.
## What changed
- Race TLS HTTP/2 CONNECT against HTTP/3 after a 250 ms QUIC head start, selecting the first successful CONNECT response.
- Verify the gateway before obtaining credentials, treat CONNECT rejection as terminal, and include admission in the setup timeout.
- Preserve bounded buffering, TCP half-close behavior, and SSH exit on remote EOF over HTTP/2. Keep peer-supplied debug text out of SSH errors.
## Testing
Add local TLS HTTP/2 and HTTP/3 peer tests for transport selection, blocked UDP, stalled HTTP/3, terminal rejection, setup deadlines, certificate verification, address retries, and bidirectional forwarding with both half-close orders.
GitOrigin-RevId: a1cde88dff7a4e5e6574cf12eacb453551f01b72
## Why
Queued input can outlive its local attachment files. Reading those files only when rendering a model message can lose media submitted while turn admission is pending.
## What changed
- Introduce `ResolvedUserInput` to carry captured image bytes, audio data URLs, or read errors through session queues and agent input.
- Resolve client attachments on the submitting host before queuing, using a blocking task for local file reads.
- Render messages from captured payloads while preserving original paths and text spans for display, along with image position mappings.
## Testing
Add coverage for rendering and serialization after source files are removed, steered audio retained during pending admission, and local audio errors and display content.
GitOrigin-RevId: 4bbb6bda44167439a8cfdae15d3c476a7b1d336b
## What changed
Move local attachment snapshotting and conversion from `UserInput` to model request content out of `codex-protocol` into a dedicated `codex-user-input` crate. Update core, the TUI, and the queue extension to use the new crate, replacing the `ResponseInputItem` conversion methods with `from_user_input`.
Move the associated attachment and message conversion tests alongside the implementation, preserving coverage for image positions, media labels, serialization, and error placeholders.
GitOrigin-RevId: 77d0f94a4cd4c2edc008b9e2e63a989995aab058
## What changed
Enable OTLP HTTP Zstandard support and use it by default for the Statsig metrics exporter. Leave compression selection to the SDK when any of `OTEL_EXPORTER_OTLP_COMPRESSION`, `OTEL_EXPORTER_OTLP_METRICS_COMPRESSION`, `OTEL_EXPORTER_OTLP_HEADERS`, or `OTEL_EXPORTER_OTLP_METRICS_HEADERS` is set.
GitOrigin-RevId: 67c8088cf35fb95be3618337ea3ad2fe5a75586d
## Why
Sandbox helpers with non-UTF-8 paths can lose their exact executable path when converted into command requests. PTY launches with a custom `argv[0]` can also try to execute the dispatch name instead of the configured program.
## What changed
- Carry native executable paths through sandbox requests, local execution, shell snapshots, and sandbox integrity checks.
- Use native Unix PTY spawning when `argv[0]` differs from the executable, preserving the dispatch name and controlling terminal setup.
- Preserve PTY executable lookup through the child environment's `PATH` and fallback to its home directory when the requested working directory is missing.
## Testing
Add regression coverage for non-UTF-8 sandbox helper paths, PTY dispatch names, child `HOME`/`PATH` lookup, controlling terminals, and exit-code preservation.
GitOrigin-RevId: 6a2af0486220d98195f5d67fde2597e3c4515e11