James Peter
6b2e61baed
feat(cli/demo): add --demo developer message injection
2025-12-12 17:00:54 +10:00
James Peter
122cbdb721
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
9ecc17627d
Merge origin/mid-turn-assistant-styling: add mid-turn assistant styling
2025-12-12 13:20:00 +10:00
James Peter
ddc5b342e4
Merge origin/main: sync latest main changes
2025-12-12 13:18:40 +10:00
James Peter
89e485dbb2
fix(tui/history): hide gutter on mid-turn answers
2025-12-12 13:17:35 +10:00
James Peter
f55a83d92e
fix(tui/review): reclaim stale background auto reviews
2025-12-12 13:02:09 +10:00
James Peter
3e384243e9
test(tui): accept updated vt100 snapshots
2025-12-12 12:57:06 +10:00
James Peter
0991bf2463
fix(tui/history): track mid-turn answer streams
2025-12-12 12:42:25 +10:00
James Peter
0cd88a9f2c
Merge branch 'code-branch-20251212-015939'
2025-12-12 12:30:33 +10:00
James Peter
fe40d37adc
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
d79442abb5
fix(tui/history): collapse consecutive reasoning cells
2025-12-12 12:17:25 +10:00
James Peter
d9f886a069
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
e912734a24
auto review snapshot
2025-12-12 10:54:15 +10:00
James Peter
d430381172
Merge auto-review worktree: apply auto-review fixes
2025-12-12 10:53:59 +10:00
James Peter
ee9fc1f382
feat(models): add gpt-5.2 upgrade flow
2025-12-12 10:53:10 +10:00
Code Snapshot
5c125859e7
auto review baseline snapshot
2025-12-12 10:32:16 +10:00
Code Snapshot
c9970cc4a4
auto review snapshot
2025-12-12 10:29:01 +10:00
Code Snapshot
b1ae1c1421
auto review baseline snapshot
2025-12-12 10:27:29 +10:00
James Peter
b965a384b3
Merge upstream/main: keep release script, drop contributing doc
2025-12-12 09:34:37 +10:00
James Peter
33a6be3957
Refresh codex-rs mirror to upstream/main
2025-12-12 09:33:40 +10:00
Eric Traut and GitHub
43e6e75317
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-openai and GitHub
36610d975a
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 Bolin and GitHub
e0d7ac51d3
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 Rose and GitHub
bacbe871c8
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 Ibrahim and GitHub
b7fa7ca8e9
Update Model Info ( #7853 )
2025-12-11 14:06:07 -08:00
James Peter
9f5742fc60
Merge branch 'code-branch-20251211-122541'
2025-12-12 08:00:47 +10:00
James Peter
edbec47815
fix(auto-review): send shutdown and align agent info fields
2025-12-12 08:00:33 +10:00
iceweasel-oai and GitHub
3e81ed4b91
Elevated Sandbox 3 ( #7809 )
...
dedicated sandbox command runner exe.
2025-12-11 13:51:27 -08:00
Ahmed Ibrahim and GitHub
c4f3f566a5
remove release script ( #7885 )
2025-12-11 13:40:48 -08:00
Ahmed Ibrahim and GitHub
b9fb3b81e5
Chore: limit find family visability ( #7891 )
...
a little bit more code quality of life
2025-12-11 13:30:56 -08:00
Anton Panasenko and GitHub
0af7e4a195
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 Anton and GitHub
8c4c6a19e0
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-oai and GitHub
703bf12b36
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-oai and GitHub
bb8fdb20dc
Revert "Only show Worked for after the final assistant message" ( #7884 )
...
Reverts openai/codex#7854
2025-12-11 09:11:42 -08:00
238ce7dfad
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
d1a36f0318
fix(tui/exec): close exec when history has begin but runner missing
2025-12-12 00:48:44 +10:00
jif-oai and GitHub
d4554ce6c8
fix: flaky tests 4 ( #7875 )
2025-12-11 14:26:27 +00:00
James Peter
66e650cea7
fix(tui/exec): pair early exec end with begin and flush safely
2025-12-12 00:01:40 +10:00
jif-oai and GitHub
29381ba5c2
feat: add shell snapshot for shell command ( #7786 )
2025-12-11 13:46:43 +00:00
James Peter
1e66674215
fix(exec): guard process spawns against resource exhaustion
2025-12-11 22:53:47 +10:00
jif-oai and GitHub
b2280d6205
feat: warning for long snapshots ( #7870 )
2025-12-11 12:42:47 +00:00
James Peter
e780d8248e
fix(exec/history): keep live output flowing and cap previews
2025-12-11 22:23:29 +10:00
dca7f4cb60
fix(stuff) ( #7855 )
...
Co-authored-by: Ahmed Ibrahim <[email protected] >
2025-12-11 00:39:47 -08:00
James Peter
de9805278c
Merge auto-review snapshot 600b44744
2025-12-11 17:29:09 +10:00
Code Snapshot
600b447444
auto review snapshot
2025-12-11 17:09:02 +10:00
Code Snapshot
bbc7f5eedd
auto review baseline snapshot
2025-12-11 17:04:20 +10:00
James Peter
808c47ed58
Merge branch 'code-branch-20251211-030349'
2025-12-11 16:16:31 +10:00
iceweasel-oai and GitHub
13c0919bff
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-oai and GitHub
83aac0f985
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 Traut and GitHub
057250020a
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