Michael Bolin
29450fbdca
merge commit for archive created by Sapling
2025-08-07 14:47:14 -07:00
Michael Bolin
fe2d786d5b
chore: make CodexAuth::api_key a private field
2025-08-07 14:47:05 -07:00
Michael Bolin
1f18d6bcbf
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 14:47:05 -07:00
Michael Bolin
d2c804a956
merge commit for archive created by Sapling
2025-08-07 14:45:59 -07:00
Michael Bolin
5c19391ea6
chore: make CodexAuth::api_key a private field
2025-08-07 14:45:46 -07:00
Michael Bolin
fc329350b9
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 14:45:46 -07:00
Michael Bolin
5d0d56b320
Merge 6db81d73d2 into sapling-pr-archive-bolinfest
2025-08-07 14:19:46 -07:00
Michael Bolin
6db81d73d2
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 14:19:41 -07:00
Michael Bolin
7d67159587
fix: public load_auth() fn always called with include_env_var=true ( #1961 )
...
Apparently `include_env_var=false` was only used for testing, so clean
up the API a little to make that clear.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/1961 ).
* #1962
* __->__ #1961
2025-08-07 14:19:30 -07:00
Michael Bolin
602fe9b5bf
Merge 667754c5ec into sapling-pr-archive-bolinfest
2025-08-07 14:11:37 -07:00
Michael Bolin
667754c5ec
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 14:11:31 -07:00
Michael Bolin
f458db4f6b
fix: public load_auth() fn always called with include_env_var=true
2025-08-07 14:11:31 -07:00
Michael Bolin
e7ff112e90
Merge c865a34ae6 into sapling-pr-archive-bolinfest
2025-08-07 14:04:41 -07:00
Michael Bolin
c865a34ae6
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 14:04:33 -07:00
Michael Bolin
b33652a1ca
Merge d6f1585429 into sapling-pr-archive-bolinfest
2025-08-07 14:00:00 -07:00
Michael Bolin
d6f1585429
fix: public load_auth() fn always called with include_env_var=true
2025-08-07 13:59:54 -07:00
Michael Bolin
f74fe7af7b
fix: fix mistaken bitwise OR in #1949 ( #1957 )
...
This is hard for me to test conclusively because I have the default of
`ctrl left/right` used to migrate between Spaces on macOS.
2025-08-07 20:11:06 +00:00
Michael Bolin
5e727988cb
merge commit for archive created by Sapling
2025-08-07 13:04:43 -07:00
Michael Bolin
f245930d94
fix: fix mistaken bitwise OR in #1949
2025-08-07 13:04:39 -07:00
Michael Bolin
8fe1ad901f
merge commit for archive created by Sapling
2025-08-07 13:04:32 -07:00
Michael Bolin
50f2616e25
fix: fix mistaken bitwise OR in #1949
2025-08-07 13:04:26 -07:00
Michael Bolin
8f434ce34b
Merge efed517439 into sapling-pr-archive-bolinfest
2025-08-07 12:54:44 -07:00
Michael Bolin
efed517439
fix: fix mistaken bitwise OR in #1949
2025-08-07 12:54:38 -07:00
Jeremy Rose
c787603812
ctrl+arrows also move words ( #1949 )
...
this was removed at some point, but this is a common keybind for word
left/right.
2025-08-07 18:27:44 +00:00
Ed Bayes
e07776ccc9
update readme ( #1948 )
...
Co-authored-by: Alexander Embiricos <ae@openai.com >
2025-08-07 11:20:53 -07:00
pakrym-oai
f23c3066c8
Add capacity error ( #1947 )
2025-08-07 10:46:43 -07:00
pakrym-oai
a593b1c3ab
Use different field for error type ( #1945 )
2025-08-07 10:20:33 -07:00
Michael Bolin
107d2ce4e7
fix: change OPENAI_DEFAULT_MODEL to "gpt-5" ( #1943 )
2025-08-07 10:13:13 -07:00
Michael Bolin
e666aae4f3
merge commit for archive created by Sapling
2025-08-07 10:07:26 -07:00
Michael Bolin
5099624cfd
fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model"
2025-08-07 10:07:19 -07:00
Ed Bayes
09adbf9132
remove composer bg ( #1944 )
...
passes local tests
2025-08-07 10:04:49 -07:00
Michael Bolin
53ee3f1d0a
Merge 66cbe5ac63 into sapling-pr-archive-bolinfest
2025-08-07 09:49:37 -07:00
Michael Bolin
66cbe5ac63
fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model"
2025-08-07 09:49:32 -07:00
pakrym-oai
62ed5907f9
Better usage errors ( #1941 )
...
<img width="771" height="279" alt="image"
src="https://github.com/user-attachments/assets/e56f967f-bcd7-49f7-8a94-3d88df68b65a "
/>
2025-08-07 09:46:13 -07:00
Dylan
bc28b87c7b
[config] Onboarding flow with persistence ( #1929 )
...
## Summary
In collaboration with @gpeal: upgrade the onboarding flow, and persist
user settings.
---------
Co-authored-by: Gabriel Peal <gabriel@openai.com >
2025-08-07 09:27:38 -07:00
pakrym-oai
7e9ecfbc6a
Rename the model ( #1942 )
2025-08-07 09:07:51 -07:00
Michael Bolin
6a3c050193
Merge 21ce054ffd into sapling-pr-archive-bolinfest
2025-08-07 08:57:16 -07:00
Michael Bolin
21ce054ffd
fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model"
2025-08-07 08:56:28 -07:00
pakrym-oai
c87fb83d81
Calculate remaining context based on last token usage ( #1940 )
...
We should only take last request size (in tokens) into account
2025-08-07 05:17:18 -07:00
ae
81b148bda2
feat: update system prompt ( #1939 )
2025-08-07 04:29:50 -07:00
ae
12d29c2779
feat: add tip to upgrade to ChatGPT plan ( #1938 )
2025-08-07 11:10:13 +00:00
ae
c4dc6a80bf
feat: improve output of /status ( #1936 )
...
Now it looks like this:
```
/status
📂 Workspace
• Path: ~/code/codex/codex-rs
• Approval Mode: on-request
• Sandbox: workspace-write
👤 Account
• Signed in with ChatGPT
• Login: example@example.com
• Plan: Pro
🧠 Model
• Name: ?!?!?!?!?!
• Provider: OpenAI
📊 Token Usage
• Input: 11940 (+ 7999 cached)
• Output: 2639
• Total: 14579
```
2025-08-07 12:02:58 +01:00
ae
7c20160676
feat: /prompts slash command ( #1937 )
...
- Shows several example prompts which include @-mentions
------
https://chatgpt.com/codex/tasks/task_i_6894779ba8cc832ca0c871d17ee06aae
2025-08-07 11:55:59 +01:00
Ed Bayes
1e4bf81653
Update copy ( #1935 )
...
Updated copy
---------
Co-authored-by: pap-openai <pap@openai.com >
2025-08-07 03:29:33 -07:00
aibrahim-oai
5589c6089b
approval ui ( #1933 )
...
Asking for approval:
<img width="269" height="41" alt="image"
src="https://github.com/user-attachments/assets/b9ced569-3297-4dae-9ce7-0b015c9e14ea "
/>
Allow:
<img width="400" height="31" alt="image"
src="https://github.com/user-attachments/assets/92056b22-efda-4d49-854d-e2943d5fcf17 "
/>
Reject:
<img width="372" height="30" alt="image"
src="https://github.com/user-attachments/assets/be9530a9-7d41-4800-bb42-abb9a24fc3ea "
/>
Always Approve:
<img width="410" height="36" alt="image"
src="https://github.com/user-attachments/assets/acf871ba-4c26-4501-b303-7956d0151754 "
/>
2025-08-07 02:02:56 -07:00
Michael Bolin
c2c327c723
feat: change shell_environment_policy to default to inherit="all" ( #1904 )
...
Trying to use `core` as the default has been "too clever." Users can
always take responsibility for controlling the env without this setting
at all by specifying the `env` they use when calling `codex` in the
first place.
See https://github.com/openai/codex/issues/1249 .
2025-08-07 01:55:41 -07:00
Ed Bayes
20084facfe
Add spinner animation to TUI status indicator ( #1917 )
...
## Summary
- add a pulsing dot loader before the shimmering `Working` label in the
status indicator widget and include a small test asserting the spinner
character is rendered
- also fix a small bug in the ran command header by adding a space
between the ⚡ and `Ran command`
https://github.com/user-attachments/assets/6768c9d2-e094-49cb-ad51-44bcac10aa6f
## Testing
- `just fmt`
- `just fix` *(failed: E0658 `let` expressions in core/src/client.rs)*
- `cargo test --all-features` *(failed: E0658 `let` expressions in
core/src/client.rs)*
------
https://chatgpt.com/codex/tasks/task_i_68941bffdb948322b0f4190bc9dbe7f6
---------
Co-authored-by: aibrahim-oai <aibrahim@openai.com >
2025-08-07 08:45:04 +00:00
Michael Bolin
8ffb674793
merge commit for archive created by Sapling
2025-08-07 01:37:45 -07:00
Michael Bolin
a9a02305f2
feat: change shell_environment_policy to default to inherit="all"
2025-08-07 01:37:33 -07:00
Michael Bolin
7e8863be16
Merge 108d61f15b into sapling-pr-archive-bolinfest
2025-08-07 01:33:44 -07:00