Commit Graph
268 Commits
Author SHA1 Message Date
GitHub Action 3774ebcda2 docs(changelog): update for v0.5.14 [skip ci] 2025-11-28 07:14:02 +00:00
GitHub Action 55da232d9a docs(changelog): update for v0.5.13 [skip ci] 2025-11-27 13:13:10 +00:00
GitHub Action b990cc5f22 docs(changelog): update for v0.5.12 [skip ci] 2025-11-27 08:53:50 +00:00
GitHub Action acd007f48b docs(changelog): update for v0.5.10 [skip ci] 2025-11-27 04:49:46 +00:00
James Peter a80e568dd1 Merge origin/main: adopt release 0.5.8 metadata 2025-11-27 13:28:00 +10:00
James Peter 5e74970a22 docs: add user guides for auto drive, agents, settings 2025-11-27 12:30:18 +10:00
James Peter 2c3d2de2d0 docs: refresh CLI docs for Every Code rebrand 2025-11-27 11:22:42 +10:00
James Peter fd9171ac72 chore(docs): remove archive folder 2025-11-27 10:30:12 +10:00
James Peter 4a1a545404 index update 2025-11-27 10:20:09 +10:00
James Peter 14bd0d1f17 docs: consolidate user docs and relocate release notes 2025-11-27 10:19:06 +10:00
James Peter b3ed4ddb56 chore(docs): consolidate working notes and simplify layout 2025-11-27 09:35:49 +10:00
James Peter 070f39cf6b chore(docs): drop obsolete experimental and postmortem notes 2025-11-27 09:30:16 +10:00
James Peter cfc9704105 Merge branch 'code-branch-20251126-213608' 2025-11-27 09:28:11 +10:00
James Peter e16e1df29a chore(docs): reorganize working docs and remove old archive 2025-11-27 08:50:34 +10:00
James Peter 486d9b944b chore(docs): tidy markdown layout and sync CLAUDE guidance 2025-11-27 08:18:01 +10:00
James Peter 64aec3242a docs(agents): clarify Windows PATH guidance and error messaging (refs discussion #435) 2025-11-27 08:11:28 +10:00
James Peter e7a6816c21 Merge upstream/main: keep local workflows 2025-11-26 13:55:47 +10:00
Gabriel PealandGitHub 6fa7a1b0a3 Allow enterprises to skip upgrade checks and messages (#7213)
This is a feature primarily for enterprises who centrally manage Codex
updates.
2025-11-24 15:04:49 -05:00
Eric TrautandGitHub 5fb23a86c8 Removed streamable_shell from docs (#7235)
This config option no longer exists

Addresses #7207
2025-11-24 11:47:57 -08:00
James Peter f94ad1f8c3 closes #423 2025-11-24 13:43:02 +10:00
zhao-oaiandGitHub b2674b7c19 move execpolicy quickstart (#7127) 2025-11-21 19:13:51 -05:00
iceweasel-oaiandGitHub 6959c79425 Windows: flag some invocations that launch browsers/URLs as dangerous (#7111)
Prevent certain Powershell/cmd invocations from reaching the sandbox
when they are trying to launch a browser, or run a command with a URL,
etc.
2025-11-21 13:36:17 -08:00
jif-oaiandGitHub bca2d9c011 chore: drop model_max_output_tokens (#7100) 2025-11-21 17:42:54 +00:00
James Peter d86f0d9e78 docs(release): prep 0.5.0 notes and rebrand 2025-11-21 22:06:11 +10:00
Eric TrautandGitHub 82c1848c6a Added feature switch to disable animations in TUI (#6870)
This PR adds support for a new feature flag `tui.animations`. By
default, the TUI uses animations in its welcome screen, "working"
spinners, and "shimmer" effects. This animations can interfere with
screen readers, so it's good to provide a way to disable them.

This change is inspired by [a
PR](https://github.com/openai/codex/pull/4014) contributed by @Orinks.
That PR has faltered a bit, but I think the core idea is sound. This
version incorporates feedback from @aibrahim-oai. In particular:
1. It uses a feature flag (`tui.animations`) rather than the unqualified
CLI key `no-animations`. Feature flags are the preferred way to expose
boolean switches. They are also exposed via CLI command switches.
2. It includes more complete documentation.
3. It disables a few animations that the other PR omitted.
2025-11-20 10:40:08 -08:00
James Peter 1d83e2c704 feat(models): add gpt-5.1-codex-max default and migration flow 2025-11-21 00:52:37 +10:00
James Peter c867ccdb7f Merge upstream/main (f16e07c5): sync mirror and workflow policy 2025-11-20 12:25:26 +10:00
43fea2d0a4 feat: arcticfox in the wild (#6906)
<img width="485" height="600" alt="image"
src="https://github.com/user-attachments/assets/4341740d-dd58-4a3e-b69a-33a3be0606c5"
/>

---------

Co-authored-by: jif-oai <[email protected]>
2025-11-19 16:31:06 +00:00
Ahmed IbrahimandGitHub 770bc661fc fix: typos in model picker (#6859)
# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.

Include a link to a bug report or enhancement request.
2025-11-19 06:29:02 +00:00
aeandGitHub 2589e321fd chore: update windows sandbox docs (#6872) 2025-11-18 21:02:04 -08:00
Jeremy RoseandGitHub 0dd5ac142a tui: add branch to 'codex resume', filter by cwd (#6232)
By default, show only sessions that shared a cwd with the current cwd.
`--all` shows all sessions in all cwds. Also, show the branch name from
the rollout metadata.

<img width="1091" height="638" alt="Screenshot 2025-11-04 at 3 30 47 PM"
src="https://github.com/user-attachments/assets/aae90308-6115-455f-aff7-22da5f1d9681"
/>
2025-11-19 00:47:37 +00:00
iceweasel-oaiandGitHub 8352c269f6 smoketest for browser vuln, rough draft of Windows security doc (#6822) 2025-11-18 16:43:34 -08:00
simisterandGitHub c8743baed4 Fix typo in config.md for MCP server (#6845)
# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.

Include a link to a bug report or enhancement request.
2025-11-18 14:06:13 -08:00
Anton PanasenkoandGitHub 3b2df35ff0 [codex][otel] support mtls configuration (#6228)
fix for https://github.com/openai/codex/issues/6153

supports mTLS configuration and includes TLS features in the library
build to enable secure HTTPS connections with custom root certificates.

grpc:
https://docs.rs/tonic/0.13.1/src/tonic/transport/channel/endpoint.rs.html#63
https:
https://docs.rs/reqwest/0.12.23/src/reqwest/async_impl/client.rs.html#516
2025-11-18 14:01:01 -08:00
Ahmed IbrahimandGitHub e2d5b62348 Add the utility to truncate by tokens (#6746)
- This PR is to make it on path for truncating by tokens. This path will
be initially used by unified exec and context manager (responsible for
MCP calls mainly).
- We are exposing new config `calls_output_max_tokens`
- Use `tokens` as the main budget unit but truncate based on the model
family by Introducing `TruncationPolicy`.
- Introduce `truncate_text` as a router for truncation based on the
mode.

In next PRs:
- remove truncate_with_line_bytes_budget
- Add the ability to the model to override the token budget.
2025-11-18 11:36:23 -08:00
Alejandro PeñaandGitHub 1aabffec47 Update faq.md section on supported models (#6832)
Update faq.md to recommend usage of GPT-5.1 Codex, the latest Codex
model from OpenAI.
2025-11-18 09:38:45 -08:00
Ahmed IbrahimandGitHub fd42430d6a Update defaults to gpt-5.1 (#6652)
## Summary
- update documentation, example configs, and automation defaults to
reference gpt-5.1 / gpt-5.1-codex
- bump the CLI and core configuration defaults, model presets, and error
messaging to the new models while keeping the model-family/tool coverage
for legacy slugs
- refresh tests, fixtures, and TUI snapshots so they expect the upgraded
defaults

## Testing
- `cargo test -p codex-core
config::tests::test_precedence_fixture_with_gpt5_profile`


------
[Codex
Task](https://chatgpt.com/codex/tasks/task_i_6916c5b3c2b08321ace04ee38604fc6b)
2025-11-17 17:40:11 -08:00
bb6fe78b9f LM Studio OSS Support (#2312)
## Overview

Adds LM Studio OSS support. Closes #1883


### Changes
This PR enhances the behavior of `--oss` flag to support LM Studio as a
provider. Additionally, it introduces a new flag`--local-provider` which
can take in `lmstudio` or `ollama` as values if the user wants to
explicitly choose which one to use.

If no provider is specified `codex --oss` will auto-select the provider
based on whichever is running.

#### Additional enhancements 
The default can be set using `oss-provider` in config like:

```
oss_provider = "lmstudio"
```

For non-interactive users, they will need to either provide the provider
as an arg or have it in their `config.toml`

### Notes
For best performance, [set the default context
length](https://lmstudio.ai/docs/app/advanced/per-model) for gpt-oss to
the maximum your machine can support

---------

Co-authored-by: Matt Clayton <[email protected]>
Co-authored-by: Eric Traut <[email protected]>
2025-11-17 11:49:09 -08:00
James Peter f79e8e699d feat(tui/resume): async picker + /push command 2025-11-17 16:35:07 +10:00
James Peter 0c3e17cc3a tests 2025-11-16 10:50:50 +10:00
e469236733 Fix documentation errors for Custom Prompts named arguments and add canonical examples (#5910)
The Custom Prompts documentation (docs/prompts.md) was incomplete for
named arguments:

1. **Documentation for custom prompts was incomplete** - named argument
usage was mentioned briefly but lacked comprehensive canonical examples
showing proper syntax and behavior.

2. **Fixed by adding canonical, tested syntax and examples:**
   - Example 1: Basic named arguments with TICKET_ID and TICKET_TITLE
   - Example 2: Mixed positional and named arguments with FILE and FOCUS
   - Example 3: Using positional arguments
- Example 4: Updated draftpr example to use proper $FEATURE_NAME syntax
   - Added clear usage examples showing KEY=value syntax
   - Added expanded prompt examples showing the result
   - Documented error handling and validation requirements

3. **Added Implementation Reference section** that references the
relevant feature implementation from the codebase (PRs #4470 and #4474
for initial implementation, #5332 and #5403 for clarifications).

This addresses issue #5039 by providing complete, accurate documentation
for named argument usage in custom prompts.

---------

Co-authored-by: Eric Traut <[email protected]>
2025-11-15 09:25:46 -08:00
James Peter a684e36286 feat(core): port config loader and usage tracking docs 2025-11-15 11:37:49 +10:00
Jeremy RoseandGitHub 4fb6fd5f1a Enable TUI notifications by default (#6633)
## Summary
- default the `tui.notifications` setting to enabled so desktop
notifications work out of the box
- update configuration tests and documentation to reflect the new
default

## Testing
- `cargo test -p codex-core` *(fails:
`exec::tests::kill_child_process_group_kills_grandchildren_on_timeout`
is flaky in this sandbox because the spawned grandchild process stays
alive)*
- `cargo test -p codex-core
exec::tests::kill_child_process_group_kills_grandchildren_on_timeout`
*(fails: same sandbox limitation as above)*

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_i_69166f811144832c9e8aaf8ee2642373)
2025-11-14 09:28:09 -08:00
James Peter 9a463969c3 chore(auto-drive): rename code agent slugs to gpt-5.1 2025-11-14 21:07:20 +10:00
James Peter be268c2ccf feat(core/models): migrate defaults to gpt-5.1 2025-11-14 08:19:52 +10:00
James Peter 97cd41890e added gpt-5-mini agent 2025-11-12 11:56:54 +10:00
Ahmed IbrahimandGitHub 92897ee368 Add opt-out for rate limit model nudge (#6433)
## Summary
- add a `hide_rate_limit_model_nudge` notice flag plus config edit
plumbing so the rate limit reminder preference is persisted and
documented
- extend the chat widget prompt with a "never show again" option, and
wire new app events so selecting it hides future nudges immediately and
writes the config
- add unit coverage and refresh the snapshot for the three-option prompt

## Testing
- `just fmt`
- `just fix -p codex-tui`
- `just fix -p codex-core`
- `cargo test -p codex-tui`
- `cargo test -p codex-core` *(fails at
`exec::tests::kill_child_process_group_kills_grandchildren_on_timeout`:
grandchild process still alive)*

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_i_6910d7f407748321b2661fc355416994)
2025-11-10 09:21:53 -08:00
Eric TrautandGitHub 9a05e59f2a Updated docs to reflect recent changes in web_search configuration (#6376)
This is a simplified version of [a
PR](https://github.com/openai/codex/pull/6134) supplied by a community
member.

It updates the docs to reflect a recent config deprecation.
2025-11-10 07:57:56 -08:00
James Peter 7ad81dd5ef Merge branch 'code-branch-20251106-060724' into main 2025-11-07 15:34:19 +10:00
James Peter 9b91a3dcfc feat(tui/settings): move auto-resolve controls to review section 2025-11-07 14:39:56 +10:00