Commit Graph
5299 Commits
Author SHA1 Message Date
rhan-oai 252e92e9ac Merge 3423ede1c0 into sapling-pr-archive-rhan-oai 2026-04-06 16:48:35 -07:00
rhan-oai 81f01aad8e Merge 79d7d4a95b into sapling-pr-archive-rhan-oai 2026-04-06 16:48:24 -07:00
rhan-oai 4ad624ad50 Merge f85b185d47 into sapling-pr-archive-rhan-oai 2026-04-06 16:47:40 -07:00
rhan-oai 3423ede1c0 [codex-analytics] add queued submission metadata 2026-04-06 16:45:49 -07:00
rhan-oai 79d7d4a95b [codex-analytics] add token usage metadata 2026-04-06 16:45:49 -07:00
rhan-oai f85b185d47 [codex-analytics] feature plumbing and emittance 2026-04-06 16:45:48 -07:00
Eric Traut 9f737c28dd Speed up /mcp inventory listing (#16831)
Addresses #16244

This was a performance regression introduced when we moved the TUI on
top of the app server API.

Problem: `/mcp` rebuilt a full MCP inventory through
`mcpServerStatus/list`, including resources and resource templates that
made the TUI wait on slow inventory probes.

Solution: add a lightweight `detail` mode to `mcpServerStatus/list`,
have `/mcp` request tools-and-auth only, and cover the fast path with
app-server and TUI tests.

Testing: Confirmed slow (multi-second) response prior to change and
immediate response after change.

I considered two options:
1. Change the existing `mcpServerStatus/list` API to accept an optional
"details" parameter so callers can request only a subset of the
information.
2. Add a separate `mcpServer/list` API that returns only the servers,
tools, and auth but omits the resources.

I chose option 1, but option 2 is also a reasonable approach.
2026-04-06 16:27:02 -07:00
rhan-oai 756c45ec61 [codex-analytics] add protocol-native turn timestamps (#16638)
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/16638).
* #16870
* #16706
* #16659
* #16641
* #16640
* __->__ #16638
2026-04-06 16:22:59 -07:00
rhan-oai 7fc3ec79e7 merge commit for archive created by Sapling 2026-04-06 15:51:48 -07:00
Eric Traut e88c2cf4d7 tui: route device-code auth through app server (#16827)
Addresses #7646
Also enables device code auth for remote TUI sessions

Problem: TUI onboarding handled device-code login directly rather than
using the recently-added app server support for device auth. Also, auth
screens kept animating while users needed to copy login details.

Solution: Route device-code onboarding through app-server login APIs and
make the auth screens static while those copy-oriented flows are
visible.
2026-04-06 15:47:26 -07:00
Eric Traut 54faa76960 Respect residency requirements in mcp-server (#16952)
Addresses #16951

Problem: codex mcp-server did not apply the configured residency
requirement, so requests from non-US regions could miss the `residency`
header and fail with a 401.

Solution: Set the default client residency requirement after loading
config in the MCP server startup path, matching the existing exec and
TUI behavior.
2026-04-06 15:46:55 -07:00
rhan-oai f9dea6ff99 [codex-analytics] feature plumbing and emittance 2026-04-06 15:43:33 -07:00
xl-openai e62d645e67 feat: refresh non-curated cache from plugin list. (#16191)
1. Use versions for non-curated plugin (defined in plugin.json) for
cache refresh
2. Trigger refresh from plugin/list roots
2026-04-06 15:40:00 -07:00
xl-openai 03edd4fbee feat: fallback curated plugin download from backend endpint. (#16947)
Add one more fallback for downloading the curated plugin repo from
chatgpt.com.

Have to be the last fallback for now as it is a lagging backup.
2026-04-06 15:36:20 -07:00
rhan-oai e27233fcbc Merge b5474cf38c into sapling-pr-archive-rhan-oai 2026-04-06 15:12:35 -07:00
viyatb-oai 36cd163504 [codex] Allow PyTorch libomp shm in Seatbelt (#16945)
## Summary
- Add a targeted macOS Seatbelt allow rule for PyTorch/libomp KMP
registration shared-memory objects.
- Scope the rule to read/create/unlink operations on names matching
`^/__KMP_REGISTERED_LIB_[0-9]+$`.
- Add a base-policy regression assertion in `seatbelt_tests.rs`.

## Why
Importing PyTorch on macOS under the Codex sandbox can abort when libomp
attempts to create the KMP registration POSIX shm object and Seatbelt
denies `ipc-posix-shm-write-create`.

## Validation
- `just fmt`
- `cargo test -p codex-sandboxing`
- `cargo clippy -p codex-sandboxing --all-targets`
- `just argument-comment-lint`
- `git diff --check`
- End-to-end PyTorch import under `codex sandbox macos` exited `0` with
no KMP shm denial
- `cargo clean`
2026-04-06 22:12:30 +00:00
rhan-oai f01d37036e [codex-analytics] add protocol-native turn timestamps 2026-04-06 15:11:09 -07:00
rhan-oai b5474cf38c [codex-analytics] denormalize thread metadata onto turn events 2026-04-06 15:11:09 -07:00
rhan-oai 4639cbb251 [codex-analytics] add steering metadata 2026-04-06 15:11:09 -07:00
rhan-oai 35a16a4979 [codex-analytics] add queued submission metadata 2026-04-06 15:11:09 -07:00
rhan-oai fc5ffc3d22 [codex-analytics] add token usage metadata 2026-04-06 15:11:09 -07:00
rhan-oai 9c63a0c333 [codex-analytics] feature plumbing and emittance 2026-04-06 15:11:09 -07:00
rhan-oai 27714976b0 merge commit for archive created by Sapling 2026-04-06 14:58:01 -07:00
Ruslan Nigmatullin 73dab2046f app-server: Add transport for remote control (#15951) 2026-04-06 14:55:59 -07:00
rhan-oai b78c41e176 [codex-analytics] denormalize thread metadata onto turn events 2026-04-06 14:54:19 -07:00
rhan-oai 504b5336f6 [codex-analytics] add steering metadata 2026-04-06 14:54:19 -07:00
rhan-oai 0467cc1f41 [codex-analytics] add queued submission metadata 2026-04-06 14:54:19 -07:00
rhan-oai a33fa56f46 [codex-analytics] add token usage metadata 2026-04-06 14:54:19 -07:00
rhan-oai f3ff02108d [codex-analytics] feature plumbing and emittance 2026-04-06 14:54:19 -07:00
rhan-oai 964a9a5aed [codex-analytics] add protocol-native turn timestamps 2026-04-06 14:54:19 -07:00
rhan-oai eb80dac256 merge commit for archive created by Sapling 2026-04-06 14:46:32 -07:00
rhan-oai bb12a847d1 [codex-analytics] denormalize thread metadata onto turn events 2026-04-06 14:46:13 -07:00
rhan-oai 00b840ec2a [codex-analytics] add steering metadata 2026-04-06 14:46:13 -07:00
rhan-oai 2d41b51551 [codex-analytics] add queued submission metadata 2026-04-06 14:46:13 -07:00
rhan-oai 849f379028 [codex-analytics] add token usage metadata 2026-04-06 14:46:13 -07:00
rhan-oai 46bfa52228 [codex-analytics] feature plumbing and emittance 2026-04-06 14:46:13 -07:00
rhan-oai 5aec095559 [codex-analytics] add protocol-native turn timestamps 2026-04-06 14:46:13 -07:00
rhan-oai e4d62495df Merge c10e642b9d into sapling-pr-archive-rhan-oai 2026-04-06 14:38:27 -07:00
rhan-oai cc53e0a88f merge commit for archive created by Sapling 2026-04-06 14:31:45 -07:00
joeytrasatti-openai 03c07956cf Revert "[codex-backend] Make thread metadata updates tolerate pending backfill" (#16923)
Reverts openai/codex#16877
2026-04-06 21:25:05 +00:00
rhan-oai c10e642b9d [codex-analytics] denormalize thread metadata onto turn events 2026-04-06 14:23:25 -07:00
rhan-oai a548a383cb [codex-analytics] add steering metadata 2026-04-06 14:23:25 -07:00
rhan-oai 3364e5711d [codex-analytics] add queued submission metadata 2026-04-06 14:23:25 -07:00
rhan-oai 0d848f34d4 [codex-analytics] add token usage metadata 2026-04-06 14:23:25 -07:00
rhan-oai 23f327c304 [codex-analytics] feature plumbing and emittance 2026-04-06 14:22:49 -07:00
rhan-oai 81394bede0 [codex-analytics] add protocol-native turn timestamps 2026-04-06 14:22:49 -07:00
Matthew Zeng 756ba8baae Fix clippy warning (#16939)
- [x] Fix clippy warning
2026-04-06 14:08:55 -07:00
rhan-oai 56ed421c37 merge commit for archive created by Sapling 2026-04-06 13:54:38 -07:00
rhan-oai 71db64b48a [codex-analytics] feature plumbing and emittance 2026-04-06 13:52:25 -07:00
rhan-oai bab096c2b1 [codex-analytics] add protocol-native turn timestamps 2026-04-06 13:50:42 -07:00