Commit Graph
8422 Commits
Author SHA1 Message Date
Michael Bolin 8680369cd0 fix: update build cache key in .github/workflows/codex.yml 2025-08-20 15:48:59 -07:00
ae 250ae37c84 tui: link docs when no MCP servers configured (#2516) 2025-08-20 14:58:04 -07:00
Ahmed Ibrahim c579ae41ae Fix login for internal employees (#2528)
This PR:
- fixes for internal employee because we currently want to prefer SIWC
for them.
- fixes retrying forever on unauthorized access. we need to break
eventually on max retries.
2025-08-20 14:05:20 -07:00
Michael Bolin 05e2941521 Merge 7c94e4cab9 into sapling-pr-archive-bolinfest 2025-08-20 13:59:46 -07:00
Michael Bolin 7c94e4cab9 feat: exec-command-mcp 2025-08-20 13:59:42 -07:00
Michael Bolin 509aa700ce merge commit for archive created by Sapling 2025-08-20 13:50:53 -07:00
Michael Bolin bb2d88acd8 feat: exec-command-mcp 2025-08-20 13:50:49 -07:00
Jeremy Rose 0d12380c3b refactor onboarding screen to a separate "app" (#2524)
this is in preparation for adding more separate "modes" to the tui, in
particular, a "transcript mode" to view a full history once #2316 lands.

1. split apart "tui events" from "app events".
2. remove onboarding-related events from AppEvent.
3. move several general drawing tools out of App and into a new Tui
class
2025-08-20 20:47:24 +00:00
Michael Bolin c764f1a76c merge commit for archive created by Sapling 2025-08-20 13:42:00 -07:00
Michael Bolin e3d1f10ce4 feat: exec-command-mcp 2025-08-20 13:41:55 -07:00
Dylan 1a1516a80b [apply-patch] Fix applypatch for heredocs (#2477)
## Summary
Follow up to #2186 for #2072 - we added handling for `applypatch` in
default commands, but forgot to add detection to the heredocs logic.

## Testing
- [x] Added unit tests
2025-08-20 12:16:01 -07:00
Jeremy Rose 61bbabe7d9 tui: switch to using tokio + EventStream for processing crossterm events (#2489)
bringing the tui more into tokio-land to make it easier to factorize.

fyi @bolinfest
2025-08-20 17:11:09 +00:00
Jeremy Rose 8481eb4c6e tui: tab-completing a command moves the cursor to the end (#2362)
also tweak agents.md for faster `just fix`
2025-08-20 09:57:55 -07:00
Jeremy Rose 0ad4e11c84 detect terminal and include in request headers (#2437)
This adds the terminal version to the UA header.
2025-08-20 16:54:26 +00:00
ae ee8c4ad23a feat: copy tweaks (#2502)
- For selectable options, use sentences starting in lowercase and not
ending with periods. To be honest I don't love this style, but better to
be consistent for now.
- Tweak some other strings.
- Put in more compelling suggestions on launch. Excited to put `/mcp` in
there next.
2025-08-20 07:26:14 +00:00
Michael Bolin 1a8deea019 Merge b869de7cb2 into sapling-pr-archive-bolinfest 2025-08-19 23:33:34 -07:00
Michael Bolin b869de7cb2 feat: exec-command-mcp 2025-08-19 23:32:45 -07:00
Ahmed Ibrahimandae 202af12926 Add a slash command to control permissions (#2474)
A slash command to control permissions



https://github.com/user-attachments/assets/c0edafcd-2085-4e09-8009-ba69c4f1c153

---------

Co-authored-by: ae <ae@openai.com>
2025-08-20 05:34:37 +00:00
Michael Bolin ce434b1219 fix: prefer config var to env var (#2495) 2025-08-20 04:51:59 +00:00
Michael Bolin 197a9de1d3 Merge 10cd4d18a7 into sapling-pr-archive-bolinfest 2025-08-19 21:45:52 -07:00
Michael Bolin 10cd4d18a7 fix: prefer config var to env var 2025-08-19 21:45:43 -07:00
Ahmed Ibrahim d1f1e36836 Refresh ChatGPT auth token (#2484)
ChatGPT token's live for only 1 hour. If the session is longer we don't
refresh the token. We should get the expiry timestamp and attempt to
refresh before it.
2025-08-19 21:01:31 -07:00
Gabriel Peal eaae56a1b0 Client headers (#2487) 2025-08-19 23:32:15 -04:00
Gabriel Peal 77148a5c61 Diff command (#2476) 2025-08-19 22:50:28 -04:00
Jamie Magee 17c98a7fd3 Enable Dependabot updates for Rust toolchain (#2460)
This change allows Dependabot to update the Rust toolchain version
defined in `rust-toolchain.toml`. See [Dependabot now supports Rust
toolchain updates - GitHub
Changelog](https://github.blog/changelog/2025-08-19-dependabot-now-supports-rust-toolchain-updates/)
for more details.
2025-08-19 18:07:21 -07:00
Ahmed Ibrahim bc298e47ca Fix: Sign in appear even if using other providers. (#2475)
We shouldn't show the login screen when using other providers.
2025-08-19 23:56:49 +00:00
Ahmed Ibrahim 0d6678936f fix apply patch when only one file is rendered (#2468)
<img width="809" height="87" alt="image"
src="https://github.com/user-attachments/assets/6fe69643-10d7-4420-bbf2-e30c092b800f"
/>
2025-08-19 23:49:08 +00:00
Michael Bolin e58125e6c1 chore: Rust 1.89 promoted file locking to the standard library, so prefer stdlib to fs2 (#2467)
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/2467).
* __->__ #2467
* #2465
2025-08-19 13:22:46 -07:00
Michael Bolin 50c48e88f5 chore: upgrade to Rust 1.89 (#2465)
Codex created this PR from the following prompt:

> upgrade this entire repo to Rust 1.89. Note that this requires
updating codex-rs/rust-toolchain.toml as well as the workflows in
.github/. Make sure that things are "clippy clean" as this change will
likely uncover new Clippy errors. `just fmt` and `cargo clippy --tests`
are sufficient to check for correctness

Note this modifies a lot of lines because it folds nested `if`
statements using `&&`.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/2465).
* #2467
* __->__ #2465
2025-08-19 13:22:02 -07:00
Michael Bolin 140b67ef53 Merge 4bcf3dd104 into sapling-pr-archive-bolinfest 2025-08-19 12:57:50 -07:00
Michael Bolin 4bcf3dd104 chore: Rust 1.89 promoted file locking to the standard library, so prefer stdlib to fs2 2025-08-19 12:57:38 -07:00
Michael Bolin a288da30d8 chore: upgrade to Rust 1.89 2025-08-19 12:57:38 -07:00
Michael Bolin aafa00dbe0 fix: prefer cargo check to cargo build to save time and space (#2466)
The `ubuntu-24.04 - x86_64-unknown-linux-gnu` build is failing with `No
space left on device` on #2465, so let's get this in first, which should
help.

Note that `cargo check` should be faster and use less disk than `cargo
build` because it does not write out the object files.
2025-08-19 12:57:31 -07:00
Michael Bolin 0c2bb9eb40 Merge 66401b5062 into sapling-pr-archive-bolinfest 2025-08-19 12:47:59 -07:00
Michael Bolin 66401b5062 fix: prefer cargo check to cargo build to save time and space 2025-08-19 12:47:53 -07:00
Michael Bolin ec36522aa7 Merge 76d33fcf8f into sapling-pr-archive-bolinfest 2025-08-19 12:17:13 -07:00
Michael Bolin 76d33fcf8f chore: upgrade to Rust 1.89 2025-08-19 12:17:09 -07:00
Michael Bolin 67b2821556 merge commit for archive created by Sapling 2025-08-19 12:12:05 -07:00
Michael Bolin 3cc22c0b2c chore: upgrade to Rust 1.89 2025-08-19 12:12:00 -07:00
Michael Bolin e5a18be1b8 Merge 6114c3166c into sapling-pr-archive-bolinfest 2025-08-19 12:09:58 -07:00
Michael Bolin 6114c3166c chore: upgrade to Rust 1.89 2025-08-19 12:09:54 -07:00
Michael Bolin c95538d21c merge commit for archive created by Sapling 2025-08-19 12:03:08 -07:00
Michael Bolin c6f4144b49 chore: upgrade to Rust 1.89 2025-08-19 12:02:54 -07:00
Michael Bolin b4fc8b3ace merge commit for archive created by Sapling 2025-08-19 12:02:11 -07:00
Michael Bolin 5ac2cbed2e chore: upgrade to Rust 1.89 2025-08-19 12:02:01 -07:00
Michael Bolin b8dce24090 Merge 186c0ff659 into sapling-pr-archive-bolinfest 2025-08-19 12:01:31 -07:00
Michael Bolin 186c0ff659 chore: upgrade to Rust 1.89 2025-08-19 12:01:21 -07:00
Michael Bolin 1f5638b0f3 docs: document writable_roots for sandbox_workspace_write (#2464)
As discovered on https://github.com/openai/codex/issues/2444, this was
missing from the docs.
2025-08-19 11:39:31 -07:00
Michael Bolin 8f291441a7 Merge d88eebc303 into sapling-pr-archive-bolinfest 2025-08-19 11:31:29 -07:00
Michael Bolin d88eebc303 docs: document writable_roots for sandbox_workspace_write 2025-08-19 11:31:20 -07:00