Commit Graph
6071 Commits
Author SHA1 Message Date
Code Snapshot 7f7aebb256 auto review baseline snapshot 2025-12-12 10:27:29 +10:00
James Peter ffb7876b3d Merge upstream/main: keep release script, drop contributing doc 2025-12-12 09:34:37 +10:00
James Peter b6a57ae617 Refresh codex-rs mirror to upstream/main 2025-12-12 09:33:40 +10:00
Eric TrautandGitHub 449d20247a Added deprecation notice for "chat" wire_api (#7897)
This PR adds a deprecation notice that appears once per invocation of
codex (not per conversation) when a conversation is started using a
custom model provider configured with the "chat" wire_api. We have
[announced](https://github.com/openai/codex/discussions/7782) that this
feature is deprecated and will be removed in early Feb 2026, so we want
to notify users of this fact.

The deprecation notice was added in a way that works with the
non-interactive "codex exec", the TUI, and with the extension. Screen
shots of each are below.

<img width="1000" height="89" alt="image"
src="https://github.com/user-attachments/assets/72cc08bb-d158-4a89-b3c8-7a896abd016f"
/>

<img width="1000" height="38" alt="Screenshot 2025-12-11 at 2 22 29 PM"
src="https://github.com/user-attachments/assets/7b2128ca-9afc-48be-9ce1-2ce81bc00fcb"
/>

<img width="479" height="106" alt="Screenshot 2025-12-11 at 2 21 26 PM"
src="https://github.com/user-attachments/assets/858ec1cc-ebfc-4c99-b22b-63015154d752"
/>
2025-12-11 15:24:43 -08:00
dank-openaiandGitHub 6d2f2f392f Fix toasts on Windows under WSL 2 (#7137)
Before this: no notifications or toasts when using Codex CLI in WSL 2.

After this: I get toasts from Codex
2025-12-11 15:09:00 -08:00
Michael BolinandGitHub 99de0ddb4a fix: policy/*.codexpolicy -> rules/*.rules (#7888)
We decided that `*.rules` is a more fitting (and concise) file extension
than `*.codexpolicy`, so we are changing the file extension for the
"execpolicy" effort. We are also changing the subfolder of `$CODEX_HOME`
from `policy` to `rules` to match.

This PR updates the in-repo docs and we will update the public docs once
the next CLI release goes out.

Locally, I created `~/.codex/rules/default.rules` with the following
contents:

```
prefix_rule(pattern=["gh", "pr", "view"])
```

And then I asked Codex to run:

```
gh pr view 7888 --json title,body,comments
```

and it was able to!
2025-12-11 14:46:00 -08:00
Jeremy RoseandGitHub afe8c005d3 Update RMCP client config guidance (#7895)
## Summary
- update CLI OAuth guidance to reference `features.rmcp_client` instead
of the deprecated experimental flag
- keep login/logout help text consistent with the new feature flag

## Testing
- `cargo test -p codex-cli`


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_i_693b3e0bf27c832cb66d585847a552ab)
2025-12-11 14:43:55 -08:00
Ahmed IbrahimandGitHub d9428612ef Update Model Info (#7853) 2025-12-11 14:06:07 -08:00
James Peter e1248d902b Merge branch 'code-branch-20251211-122541' 2025-12-12 08:00:47 +10:00
James Peter 243d21add5 fix(auto-review): send shutdown and align agent info fields 2025-12-12 08:00:33 +10:00
iceweasel-oaiandGitHub 50a5a839af Elevated Sandbox 3 (#7809)
dedicated sandbox command runner exe.
2025-12-11 13:51:27 -08:00
Ahmed IbrahimandGitHub e97dcaf69f remove release script (#7885) 2025-12-11 13:40:48 -08:00
Ahmed IbrahimandGitHub d6b2bfff40 Chore: limit find family visability (#7891)
a little bit more code quality of life
2025-12-11 13:30:56 -08:00
Anton PanasenkoandGitHub ccc5c78991 fix: omit reasoning summary when ReasoningSummary::None (#7845)
```
{
  "error": {
    "message": "Invalid value: 'none'. Supported values are: 'concise', 'detailed', and 'auto'.",
    "type": "invalid_request_error",
    "param": "reasoning.summary",
    "code": "invalid_value"
  }
}
```
2025-12-11 11:59:40 -08:00
Tyler AntonandGitHub ea870a7513 fix: drop stale filedescriptor output hash for nix (#7865)
Fixes: #7863 

- Remove the `filedescriptor-0.8.3` entry from `codex-rs/default.nix`
output hashes because the crate now comes from crates.io.
2025-12-11 10:43:50 -08:00
sayan-oaiandGitHub e58166f6c3 fix: dont quit on 'q' in onboarding ApiKeyEntry state (#7869)
### What

Don't treat `q` as a special quit character on the API key paste page in
the onboarding flow.

This addresses #7413, where pasting API keys with `q` would cause codex
to quit on Windows.

### Test Plan

Tested on Windows and MacOS.
2025-12-11 09:57:59 -08:00
pakrym-oaiandGitHub 411895ffcb Revert "Only show Worked for after the final assistant message" (#7884)
Reverts openai/codex#7854
2025-12-11 09:11:42 -08:00
76556cee65 feat: robin (#7882)
<img width="554" height="554" alt="image"
src="https://github.com/user-attachments/assets/aa86f4c8-fb34-4b0e-8b03-3a9980dfdb08"
/>

---------

Co-authored-by: Dylan Hurd <[email protected]>
2025-12-11 09:04:08 -08:00
James Peter 53f7b32e44 fix(tui/exec): close exec when history has begin but runner missing 2025-12-12 00:48:44 +10:00
jif-oaiandGitHub dbdd518038 fix: flaky tests 4 (#7875) 2025-12-11 14:26:27 +00:00
James Peter 9918a15edf fix(tui/exec): pair early exec end with begin and flush safely 2025-12-12 00:01:40 +10:00
jif-oaiandGitHub 6f78cebc19 feat: add shell snapshot for shell command (#7786) 2025-12-11 13:46:43 +00:00
James Peter 04d3ea24b0 fix(exec): guard process spawns against resource exhaustion 2025-12-11 22:53:47 +10:00
jif-oaiandGitHub 76c21d5f02 feat: warning for long snapshots (#7870) 2025-12-11 12:42:47 +00:00
James Peter 06898c995f fix(exec/history): keep live output flowing and cap previews 2025-12-11 22:23:29 +10:00
caf5fbde38 fix(stuff) (#7855)
Co-authored-by: Ahmed Ibrahim <[email protected]>
2025-12-11 00:39:47 -08:00
James Peter 0a57add8a1 Merge auto-review snapshot a0241e83b 2025-12-11 17:29:09 +10:00
Code Snapshot a0241e83bc auto review snapshot 2025-12-11 17:09:02 +10:00
Code Snapshot b95146adf1 auto review baseline snapshot 2025-12-11 17:04:20 +10:00
James Peter ac448bcb73 Merge branch 'code-branch-20251211-030349' 2025-12-11 16:16:31 +10:00
iceweasel-oaiandGitHub 4332e7f7cb Elevated Sandbox 2 (#7792)
- DPAPI helpers for storing Sandbox user passwords securely
- creation of Offline/Online sandbox users
- ACL setup for sandbox users
- firewall rule setup
2025-12-10 21:23:16 -08:00
pakrym-oaiandGitHub 0404a9f723 Only show Worked for after the final assistant message (#7854)
Before:
<img width="1908" height="246" alt="image"
src="https://github.com/user-attachments/assets/f4d5993a-8d37-4982-a6fd-d37f449215b2"
/>
After:
<img width="1102" height="586" alt="image"
src="https://github.com/user-attachments/assets/e833140d-690a-4c33-8bc7-e2b69b9dc92d"
/>
2025-12-10 21:13:13 -08:00
Eric TrautandGitHub f78ad4ea68 Fixed regression that broke fuzzy matching for slash commands (#7859)
This addresses bug #7857 which was introduced recently as part of PR
#7704.
2025-12-10 20:42:45 -08:00
James Peter 65fcda4bd8 fix(core,tui): hook events, resume name, gpt aliases
Fixes #453. Fixes #447. Fixes #444.
2025-12-11 13:57:01 +10:00
James Peter 690f940fff fix(tui/exec): flush queued exec ends after stream idle 2025-12-11 13:43:28 +10:00
James Peter d9a8cadbb5 docs(readme): refresh v0.6 highlights 2025-12-11 12:57:20 +10:00
James Peter 3d3412cc92 fix(config): set gpt-5.1-codex-max as defaults 2025-12-11 12:46:53 +10:00
James Peter a99c87c278 Merge upstream/main: keep local workflow/doc removals 2025-12-11 12:19:17 +10:00
James Peter f3bdb14c2d Refresh codex-rs mirror to upstream/main 2025-12-11 12:17:57 +10:00
Michael BolinandGitHub 741240d5db fix: remove inaccurate #[allow(dead_code)] marker (#7851)
Me reading this clippy warning:

<img width="263" height="191" alt="image"
src="https://github.com/user-attachments/assets/3a936a17-f91d-47bc-a08a-cafb154e9e32"
/>
2025-12-10 17:48:46 -08:00
Celia ChenandGitHub 339c4ba94b [app-server] Update readme to include mcp endpoints (#7850)
n/a
2025-12-11 01:08:31 +00:00
Michael BolinandGitHub 917b2c2fb6 fix: add a hopefully-temporary sleep to reduce test flakiness (#7848)
Let's see if this `sleep()` call is good enough to fix the test
flakiness we currently see in CI. It will take me some time to upstream
a proper fix, and I would prefer not to disable this test in the
interim.
2025-12-11 00:51:33 +00:00
James Peter fa2502b6ab Merge branch 'code-branch-20251211-001540' 2025-12-11 10:43:51 +10:00
James Peter 48cfba0c87 fix(tui/wait): let user input interrupt wait-only execs 2025-12-11 10:43:08 +10:00
James Peter fda1da516e fix(ci/release): fail fast on missing npm auth with links 2025-12-11 10:37:00 +10:00
James Peter 46f855641e fix(ci/release): skip publish when npm auth missing 2025-12-11 10:21:37 +10:00
Celia ChenandGitHub 815eeffa3c [app-server] make app server not throw error when login id is not found (#7831)
Our previous design of cancellation endpoint is not idempotent, which
caused a bunch of flaky tests. Make app server just returned a not_found
status instead of throwing an error if the login id is not found. Keep
V1 endpoint behavior the same.
2025-12-10 16:19:40 -08:00
zhao-oaiandGitHub 4976c5ea30 fixing typo in execpolicy docs (#7847) 2025-12-10 16:11:46 -08:00
James Peter 3937d90819 Merge branch 'code-branch-20251210-195544' 2025-12-11 09:40:13 +10:00
James Peter c0866f34a8 fix(tui/redraw): force nonblocking frame after backpressure stalls 2025-12-11 09:28:55 +10:00