Commit Graph
6095 Commits
Author SHA1 Message Date
GitHub Action bdfa403f42 docs(changelog): update for v0.6.3 [skip ci] 2025-12-12 07:14:51 +00:00
GitHub Action 7256370ae6 chore(release): 0.6.3 [skip ci] v0.6.3 2025-12-12 07:12:01 +00:00
James Peter ece04de6fb fix(build-fast): avoid concurrent tmp-bin races 2025-12-12 16:50:51 +10:00
James Peter ea9101919b Merge origin/main: adopt v0.6.2 release metadata 2025-12-12 16:45:22 +10:00
James Peter c8460d4b43 fix(tui/history): handle background wait call_id
Only treat wait/kill call_id as ExecCallId when that exec is still running, preventing orphaned Waiting cells for background waits.
2025-12-12 16:40:06 +10:00
James Peter 9aeea85847 fix(tui/onboarding): match trust directory prompt styling 2025-12-12 15:51:15 +10:00
GitHub Action b26f338767 docs(changelog): update for v0.6.2 [skip ci] 2025-12-12 05:25:19 +00:00
GitHub Action d9ddfc8e20 chore(release): 0.6.2 [skip ci] v0.6.2 2025-12-12 05:23:14 +00:00
James Peter 22a4dbcefb fix(core/tests): allow missing code-linux-sandbox binary
Also document .githooks pre-push pre-release hook.
2025-12-12 15:02:57 +10:00
James Peter 33027c0f8b Merge origin/mid-turn-assistant-styling: add mid-turn assistant styling 2025-12-12 13:20:00 +10:00
James Peter 2885bf8b58 Merge origin/main: sync latest main changes 2025-12-12 13:18:40 +10:00
James Peter d4afe51361 fix(tui/history): hide gutter on mid-turn answers 2025-12-12 13:17:35 +10:00
James Peter d379ee86f7 fix(tui/review): reclaim stale background auto reviews 2025-12-12 13:02:09 +10:00
James Peter db06d7fe15 test(tui): accept updated vt100 snapshots 2025-12-12 12:57:06 +10:00
James Peter b791f61aab fix(tui/history): track mid-turn answer streams 2025-12-12 12:42:25 +10:00
James Peter 06d9640932 Merge branch 'code-branch-20251212-015939' 2025-12-12 12:30:33 +10:00
James Peter a2cf01d503 fix(tui/history): demote earlier Answer outputs mid-turn
Add `mid_turn` to assistant history records and cells, and retroactively mark previous Answer streams as mid‑turn when a new Answer id arrives so only the final output gets gutter/bold styling.

Also upgrade legacy `gpt-5-codex` slugs to `gpt-5.1-codex`, bump GPT‑5 profile/review defaults to `gpt-5.2`, and refresh related TUI snapshots.
2025-12-12 12:29:43 +10:00
James Peter 34f08700d7 fix(tui/history): collapse consecutive reasoning cells 2025-12-12 12:17:25 +10:00
James Peter 2d20c99a8a feat(models): add GPT-5.2 defaults and preserve effort preference
Add GPT-5.2 to presets/agents and upgrade prompts. Persist preferred reasoning effort separately from effective clamped effort, and keep the TUI spinner running until TaskComplete for multi-message turns.
2025-12-12 11:58:09 +10:00
Code Snapshot 122bec2335 auto review snapshot 2025-12-12 10:54:15 +10:00
James Peter c866e3cb26 Merge auto-review worktree: apply auto-review fixes 2025-12-12 10:53:59 +10:00
James Peter ca7505e02a feat(models): add gpt-5.2 upgrade flow 2025-12-12 10:53:10 +10:00
Code Snapshot 70a7d1dd9f auto review baseline snapshot 2025-12-12 10:32:16 +10:00
Code Snapshot 1e6ef960af auto review snapshot 2025-12-12 10:29:01 +10:00
Code Snapshot 69eae65c25 auto review baseline snapshot 2025-12-12 10:27:29 +10:00
James Peter e83acbe131 Merge upstream/main: keep release script, drop contributing doc 2025-12-12 09:34:37 +10:00
James Peter 6eb82a3fc0 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 1622a6c1f5 Merge branch 'code-branch-20251211-122541' 2025-12-12 08:00:47 +10:00
James Peter 6d0df508b5 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 e0e7e7f195 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 587440c0bd 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 4394466dcd 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 fedf87fd12 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