Commit Graph
5175 Commits
Author SHA1 Message Date
pakrym-oaiandGitHub f6fcfc361c Promote shell config tool to model family config (#6351) 2025-11-07 10:11:11 -08:00
Owen LinandGitHub 603617b2be [app-server] doc: update README for threads and turns (#6368)
Self explanatory!
2025-11-07 17:02:49 +00:00
Celia ChenandGitHub 90530795e6 [App-server] Add auth v2 doc & update codex mcp interface auth section (#6353)
Added doc for auth v2 endpoints. Updated the auth section in Codex MCP
interface doc too.
2025-11-07 08:17:19 -08:00
James Peter c66999f02d Merge branch 'code-branch-20251107-064222' into main 2025-11-07 22:17:31 +10:00
James Peter 56b9b2557b chore(upstream): virtual sync with codex-rs (auth refresh, retry-after, compaction) 2025-11-07 21:34:49 +10:00
James Peter e0f3d197cb test(tui): add compact prompt fields to cli smoke 2025-11-07 21:34:41 +10:00
James Peter e881053acc feat(tui): render compaction summary row 2025-11-07 21:23:03 +10:00
James Peter 8b413b20b5 feat(compaction): add per-message summary record 2025-11-07 21:04:52 +10:00
James Peter 705583fb29 chore(upstream): virtual sync with codex-rs (auth refresh, retry-after, compaction warning, prompt override)
Documented alignment work with upstream openai/codex:
- Auth refresh classification (permanent vs transient) and auto-drive respect.
- Retry-After normalization (headers + body phrasing) with resume_at surfacing.
- Compaction checkpoint warning events wired through core + TUI.
- Compaction prompt override plumbing plus template refresh.

Intentional divergences remain for our custom UX surfaces and auto-drive flows; no code changes in this commit.
2025-11-07 20:33:18 +10:00
James Peter cc9582859f feat(client): normalize retry-after handling 2025-11-07 20:31:17 +10:00
James Peter 20d2607067 feat(compaction): add prompt override and update default prompt 2025-11-07 19:59:53 +10:00
James Peter 872d0c8b87 feat(compaction): surface checkpoint warning 2025-11-07 19:06:13 +10:00
James Peter 7b40fab1ed fix(auth): classify refresh failures 2025-11-07 18:33:51 +10:00
GitHub Action 33f9aaa1b7 chore(release): 0.4.10 [skip ci] v0.4.10 2025-11-07 07:39:51 +00:00
James Peter d3cd08ab72 fix(core): treat insufficient quota as fatal 2025-11-07 17:35:27 +10:00
James Peter 1b7d80ecc3 fix(core/client): surface rate-limit resume time 2025-11-07 17:24:00 +10:00
James Peter c46e206f99 test(tui/vt100): refresh settings help overlay snapshots 2025-11-07 17:20:59 +10:00
James Peter 54f68c49ad Merge branch 'main' of https://github.com/just-every/code into main 2025-11-07 16:38:45 +10:00
James Peter caa1004b9b Merge branch 'issue-376-upgrade-repo' into main
# Conflicts:
#	code-rs/core/src/environment_context.rs
2025-11-07 16:32:19 +10:00
James Peter 218f628b03 Merge branch 'issue-5922-altgr' into main 2025-11-07 16:31:33 +10:00
James Peter 8ad76869bd prompt tweak 2025-11-07 15:54:46 +10:00
James Peter 99873da2bf prompt tweak 2025-11-07 15:48:04 +10:00
James Peter 50cb0a274e Merge branch 'code-branch-20251106-110021' into main 2025-11-07 15:34:21 +10:00
James Peter 7ad81dd5ef Merge branch 'code-branch-20251106-060724' into main 2025-11-07 15:34:19 +10:00
James Peter a14264daf9 Merge branch 'code-branch-20251105-131940' into main 2025-11-07 15:34:16 +10:00
James Peter 9b91a3dcfc feat(tui/settings): move auto-resolve controls to review section 2025-11-07 14:39:56 +10:00
James Peter d9b5f74bdd chore(git): ignore generated reports 2025-11-07 14:18:26 +10:00
Owen LinandGitHub 3cc05ddf00 [app-server] feat: expose additional fields on Thread (#6338)
Add the following fields to Thread:

```
    pub preview: String,
    pub model_provider: String,
    pub created_at: i64,
```

Will prob need another PR once this lands:
https://github.com/openai/codex/pull/6337
2025-11-07 04:08:45 +00:00
James Peter 981d8febff fix(tui/history): avoid extra footer spacer 2025-11-07 13:54:08 +10:00
Celia ChenandGitHub a28efeda0c [App-server] Implement account/read endpoint (#6336)
This PR does two things:
1. add a new function in core that maps the core-internal plan type to
the external plan type;
2. implement account/read that get account status (v2 of
`getAuthStatus`).
2025-11-06 19:43:13 -08:00
pakrym-oaiandGitHub 01cd9438b9 Prefer wait_for_event over wait_for_event_with_timeout (#6349) 2025-11-06 18:11:11 -08:00
ebcd9f40f4 Fix apply_patch rename move path resolution (#5486)
Fixes https://github.com/openai/codex/issues/5485.

Fixed rename hunks so `apply_patch` resolves the destination path using
the verifier’s effective cwd, ensuring patches that run under `cd
<worktree> && apply_patch` stay inside the worktree.

Added a regression test
(`test_apply_patch_resolves_move_path_with_effective_cwd`) that
reproduced the old behavior (dest path resolved in the main repo) and
now passes.

Related to https://github.com/openai/codex/issues/5483.

Co-authored-by: Eric Traut <[email protected]>
2025-11-06 17:02:09 -08:00
pakrym-oaiandGitHub facd8ca112 Prefer wait_for_event over wait_for_event_with_timeout. (#6346)
No need to specify the timeout in most cases.
2025-11-06 16:14:43 -08:00
Eric TrautandGitHub d9177ba2f0 Updated the AI labeler rules to match the most recent issue tracker labels (#6347)
This PR updates the AI prompt used for the workflow that adds automated
labels to incoming issues. I've been updating and refining the list of
labels as I work through the issue backlog, and the old prompt was
becoming somewhat outdated.
2025-11-06 16:02:12 -08:00
pakrym-oaiandGitHub 5a34e2e89b Remove shell tool when unified exec is enabled (#6345)
Also drop streameable shell that's just an alias for unified exec.
2025-11-06 15:46:24 -08:00
Eric TrautandGitHub 26f9688a7c Don't retry "insufficient_quota" errors (#6340)
This PR makes an "insufficient quota" error fatal so we don't attempt to
retry it multiple times in the agent loop.

We have multiple bug reports from users about intermittent retry
behaviors, and this could explain some of them. With this change, we'll
eliminate the retries and surface a clear error message.

The PR is a nearly identical copy of [this
PR](https://github.com/openai/codex/pull/4837) contributed by
@abimaelmartell. The original PR has gone stale. Rather than wait for
the contributor to resolve merge conflicts, I wanted to get this change
in.
2025-11-06 15:12:01 -08:00
9b1f20c3ef feat: Enable CTRL-n and CTRL-p for navigating slash commands, files, history (#1994)
Adds CTRL-n and CTRL-p navigation for slash commands, files, and
history.
Closes #1992

Co-authored-by: Eric Traut <[email protected]>
2025-11-06 14:58:18 -08:00
Jeremy RoseandGitHub 98034adec1 tui: fix backtracking past /status (#6335)
Fixes https://github.com/openai/codex/issues/4722

Supersedes https://github.com/openai/codex/pull/5058

Ideally we'd have a clearer way of separating history per-session than
by detecting a specific history cell type, but this is a fairly minimal
fix for now.
2025-11-06 14:50:07 -08:00
Gabriel PealandGitHub 00b09267e1 Make generate_ts prettier output warn-only (#6342)
Before, every file would be outputted with the time prettier spent
formatting it. This made downstream scripts way too noisy.
2025-11-06 17:45:51 -05:00
pakrym-oaiandGitHub 84d13c19c6 Freeform unified exec output formatting (#6233) 2025-11-06 22:14:27 +00:00
Gabriel PealandGitHub c8d9f5e951 [App Server] Add more session metadata to listConversations (#6337)
This unlocks a few new product experience for app server consumers
2025-11-06 17:13:24 -05:00
Jeremy RoseandGitHub 60c70ced5b core: widen sandbox to allow certificate ops when network is enabled (#5980)
This allows `gh api` to work in the workspace-write sandbox w/ network
enabled. Without this we see e.g.

```
$ codex debug seatbelt --full-auto gh api repos/openai/codex/pulls --paginate -X GET -F state=all
Get "https://api.github.com/repos/openai/codex/pulls?per_page=100&state=all": tls: failed to verify certificate: x509: OSStatus -26276
```
2025-11-06 12:47:20 -08:00
James Peter ddac279ff1 fix(tui/update): harden version cache refresh 2025-11-07 06:27:23 +10:00
James Peter c5a23795de fix(tui/input): avoid ctrl+alt text on non-Windows 2025-11-07 06:17:13 +10:00
Eric TrautandGitHub 39c4ca4e71 Updated contributing guidelines and PR template to request link to bug report in PR notes (#6332)
Some PRs are being submitted without reference to existing bug reports
or feature requests. This updates the PR template and contributing
guidelines to request that all PRs from the community contain such a
link. This provides additional context and helps prioritize, track, and
assess PRs.
2025-11-06 12:02:39 -08:00
Thibault SottiauxandGitHub 21ca46a382 feat: clarify that gpt-5-codex should not amend commits unless requested (#6333) 2025-11-06 11:42:47 -08:00
Owen LinandGitHub 33db639362 chore: move relevant tests to app-server/tests/suite/v2 (#6289)
These are technically app-server v2 APIs, so move them to the same
directory as the others.
2025-11-06 10:53:17 -08:00
iceweasel-oaiandGitHub 90b45c9228 Windows Sandbox: Show Everyone-writable directory warning (#6283)
Show a warning when Auto Sandbox mode becomes enabled, if we detect
Everyone-writable directories, since they cannot be protected by the
current implementation of the Sandbox.

This PR also includes changes to how we detect Everyone-writable to be
*much* faster
2025-11-06 10:44:42 -08:00
Ahmed IbrahimandGitHub 7abeb9201b chore: fix grammar mistakes (#6326) 2025-11-06 09:48:59 -08:00
vladislav dosterandGitHub 744d95c1a7 docs: Fix code fence and typo in advanced guide (#6295)
- add `bash` to code fence
- fix spelling of `JavaScript`
2025-11-06 09:00:28 -08:00