Commit Graph
8002 Commits
Author SHA1 Message Date
Michael Bolin 3374782fba feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 22:17:38 -08:00
Michael Bolin d01869ee92 Merge fe14df10a7 into sapling-pr-archive-bolinfest 2025-12-19 22:04:05 -08:00
Michael Bolin fe14df10a7 feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 22:04:02 -08:00
Michael Bolin 09ec2300f2 merge commit for archive created by Sapling 2025-12-19 22:02:11 -08:00
Michael Bolin c35f47c9b4 feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 22:02:07 -08:00
Michael Bolin c6c98abee9 merge commit for archive created by Sapling 2025-12-19 22:01:49 -08:00
Michael Bolin cc2a4ed7e6 feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 22:01:44 -08:00
Michael Bolin 804a6ad870 merge commit for archive created by Sapling 2025-12-19 21:52:45 -08:00
Michael Bolin 5176630127 feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 21:52:39 -08:00
Michael Bolin 740d2e0d53 merge commit for archive created by Sapling 2025-12-19 20:20:35 -08:00
Michael Bolin d54427812e feat: support in-repo .codex/config.toml entries as sources of config info 2025-12-19 20:20:06 -08:00
Michael Bolin a6974087e5 chore: enusre the logic that creates ConfigLayerStack has access to cwd (#8353)
`load_config_layers_state()` should load config from a
`.codex/config.toml` in any folder between the `cwd` for a thread and
the project root. Though in order to do that,
`load_config_layers_state()` needs to know what the `cwd` is, so this PR
does the work to thread the `cwd` through for existing callsites.

A notable exception is the `/config` endpoint in app server for which a
`cwd` is not guaranteed to be associated with the query, so the `cwd`
param is `Option<AbsolutePathBuf>` to account for this case.

The logic to make use of the `cwd` will be done in a follow-up PR.
2025-12-19 20:11:27 -08:00
Michael Bolin 8ea54d5e9e Merge b11a453498 into sapling-pr-archive-bolinfest 2025-12-19 18:43:21 -08:00
Michael Bolin b11a453498 chore: enusre the logic that creates ConfigLayerStack has access to cwd 2025-12-19 18:43:17 -08:00
Michael Bolin 64fea6e7e6 merge commit for archive created by Sapling 2025-12-19 18:41:26 -08:00
Michael Bolin 4edd4d3c3f chore: enusre the logic that creates ConfigLayerStack has access to cwd 2025-12-19 18:41:18 -08:00
Michael Bolin 3e4f654bce merge commit for archive created by Sapling 2025-12-19 18:35:40 -08:00
Michael Bolin 08a2f423ba chore: enusre the logic that creates ConfigLayerStack has access to cwd 2025-12-19 18:35:31 -08:00
Michael Bolin 8e3c84f6c7 merge commit for archive created by Sapling 2025-12-19 18:13:08 -08:00
Michael Bolin e3c9421f7f chore: enusre the logic that creates ConfigLayerStack has access to cwd 2025-12-19 18:13:00 -08:00
Michael Bolin 13c4bd7e6b Merge 41833c879b into sapling-pr-archive-bolinfest 2025-12-19 18:02:33 -08:00
Michael Bolin 41833c879b chore: enusre the logic that creates ConfigLayerStack has access to cwd 2025-12-19 18:02:24 -08:00
Ahmed Ibrahim f0dc6fd3c7 Rename OpenAI models to models manager (#8346)
# 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-12-19 16:20:05 -08:00
sayan-oai 797a68b9f2 bump cargo-deny-action ver (#8345) 2025-12-19 15:23:02 -08:00
Michael Bolin dc61fc5f50 feat: support allowed_sandbox_modes in requirements.toml (#8298)
This adds support for `allowed_sandbox_modes` in `requirements.toml` and
provides legacy support for constraining sandbox modes in
`managed_config.toml`. This is converted to `Constrained<SandboxPolicy>`
in `ConfigRequirements` and applied to `Config` such that constraints
are enforced throughout the harness.

Note that, because `managed_config.toml` is deprecated, we do not add
support for the new `external-sandbox` variant recently introduced in
https://github.com/openai/codex/pull/8290. As noted, that variant is not
supported in `config.toml` today, but can be configured programmatically
via app server.
2025-12-19 21:09:20 +00:00
Michael Bolin 736a04f71d merge commit for archive created by Sapling 2025-12-19 12:52:57 -08:00
Michael Bolin 88bb409c84 feat: support allowed_sandbox_modes in requirements.toml 2025-12-19 12:52:52 -08:00
RQfreefly ec3738b47e feat: move file name derivation into codex-file-search (#8334)
## Summary

  - centralize file name derivation in codex-file-search
  - reuse the helper in app-server fuzzy search to avoid duplicate logic
  - add unit tests for file_name_from_path

  ## Testing

  - cargo test -p codex-file-search
  - cargo test -p codex-app-server
2025-12-19 12:50:55 -08:00
Josh McKinney 1d4463ba81 feat(tui2): coalesce transcript scroll redraws (#8295)
Problem
- Mouse wheel events were scheduling a redraw on every event, which
could backlog and create lag during fast scrolling.

Solution
- Schedule transcript scroll redraws with a short delay (16ms) so the
frame requester coalesces bursts into fewer draws.

Why
- Smooths rapid wheel scrolling while keeping the UI responsive.

Testing
- Manual: Scrolled in iTerm and Ghostty; no lag observed.
- `cargo clippy --fix --all-features --tests --allow-dirty
--allow-no-vcs -p codex-tui2`
2025-12-19 12:19:01 -08:00
Michael Bolin a585800106 merge commit for archive created by Sapling 2025-12-19 12:17:39 -08:00
Michael Bolin 552df01861 feat: support allowed_sandbox_modes in requirements.toml 2025-12-19 12:13:59 -08:00
github-actions[bot]andaibrahim-oai e3d3445748 Update models.json (#8168)
Automated update of models.json.

Co-authored-by: aibrahim-oai <219906144+aibrahim-oai@users.noreply.github.com>
2025-12-19 12:06:34 -08:00
Michael Bolin 40a5809cc6 merge commit for archive created by Sapling 2025-12-19 11:29:56 -08:00
Michael Bolin a2fd63643e feat: support allowed_sandbox_modes in requirements.toml 2025-12-19 11:29:49 -08:00
Michael Bolin 0a7021de72 fix: enable resume_warning that was missing from mod.rs (#8333)
This test was introduced in https://github.com/openai/codex/pull/6507,
but was not included in `mod.rs`. It does not appear that it was getting
compiled?
2025-12-19 19:21:47 +00:00
Michael Bolin ce429b29c3 Merge fc9fb9c8a2 into sapling-pr-archive-bolinfest 2025-12-19 11:16:32 -08:00
Michael Bolin fc9fb9c8a2 feat: support allowed_sandbox_modes in requirements.toml 2025-12-19 11:16:28 -08:00
Michael Bolin 90fa72af4d Merge 15f93caaa6 into sapling-pr-archive-bolinfest 2025-12-19 11:05:25 -08:00
Michael Bolin 15f93caaa6 fix: enable resume_warning that was missing from mod.rs 2025-12-19 11:05:18 -08:00
Michael Bolin 7e5c343ef5 feat: make ConstraintError an enum (#8330)
This will make it easier to test for expected errors in unit tests since
we can compare based on the field values rather than the message (which
might change over time). See https://github.com/openai/codex/pull/8298
for an example.

It also ensures more consistency in the way a `ConstraintError` is
constructed.
2025-12-19 19:03:50 +00:00
Michael Bolin 6b38025a5b merge commit for archive created by Sapling 2025-12-19 10:46:33 -08:00
Michael Bolin b87a7b7d09 feat: make ConstraintError an enum 2025-12-19 10:46:21 -08:00
Michael Bolin 1b0ccbcdf6 Merge 402f9c67c9 into sapling-pr-archive-bolinfest 2025-12-19 10:20:49 -08:00
Michael Bolin 402f9c67c9 feat: make ConstraintError an enum 2025-12-19 10:18:23 -08:00
GalaxyDetective 014235f533 Fix: /undo destructively interacts with git staging (#8214) (#8303)
Fixes #8214 by removing the '--staged' flag from the undo git restore
command. This ensures that while the working tree is reverted to the
snapshot state, the user's staged changes (index) are preserved,
preventing data loss. Also adds a regression test.
2025-12-19 10:07:41 -08:00
jdijk-deventit b15b5082c6 Fix link to contributing.md in experimental.md (#8311)
# 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-12-19 09:42:56 -08:00
Michael Bolin b1a0a60555 merge commit for archive created by Sapling 2025-12-19 09:35:59 -08:00
Michael Bolin 159b0d088b feat: support allowed_sandbox_modes in requirements.toml 2025-12-19 09:35:51 -08:00
Gav Verma 37071e7e5c Update system skills from OSS repo (#8328)
https://github.com/openai/skills/tree/main/skills/.system
2025-12-19 09:31:04 -08:00
xl-openai eeda6a5004 Revert "Keep skills feature flag default OFF for windows." (#8325)
Reverts openai/codex#8308
2025-12-19 16:22:14 +00:00