Owen Lin
368314980c
reuse list convo logic
2025-11-03 10:59:33 -08:00
Owen Lin
e6a0d31353
address pr feedback
2025-11-03 09:51:01 -08:00
Owen Lin
35f4fd978d
fix thread/archive
2025-11-03 07:44:22 -08:00
Owen Lin
52d6a68ce9
fix
2025-11-03 07:32:43 -08:00
Owen Lin
d6df22efaa
Merge branch 'main' into owen/separate_v2_namespace_take_two
2025-11-03 07:28:02 -08:00
Owen Lin
2084355a8f
fix type complexity
2025-11-03 07:19:10 -08:00
Vinh Nguyen
a1ee10b438
fix: improve usage URLs in status card and snapshots ( #6111 )
...
Hi OpenAI Codex team, currently "Visit chatgpt.com/codex/settings/usage
for up-to-date information on rate limits and credits" message in status
card and error messages. For now, without the "https://" prefix, the
link cannot be clicked directly from most terminals or chat interfaces.
<img width="636" height="127" alt="Screenshot 2025-11-02 at 22 47 06"
src="https://github.com/user-attachments/assets/5ea11e8b-fb74-451c-85dc-f4d492b2678b "
/>
---
The fix is intent to improve this issue:
- It makes the link clickable in terminals that support it, hence better
accessibility
- It follows standard URL formatting practices
- It maintains consistency with other links in the application (like the
existing "https://openai.com/chatgpt/pricing " links)
Thank you!
2025-11-02 21:44:59 -08:00
Eric Traut
dccce34d84
Fix "archive conversation" on Windows ( #6124 )
...
Addresses issue https://github.com/openai/codex/issues/3582 where an
"archive conversation" command in the extension fails on Windows.
The problem is that the `archive_conversation` api server call is not
canonicalizing the path to the rollout path when performing its check to
verify that the rollout path is in the sessions directory. This causes
it to fail 100% of the time on Windows.
Testing: I was able to repro the error on Windows 100% prior to this
change. After the change, I'm no longer able to repro.
2025-11-02 21:41:05 -08:00
dependabot[bot]
f5945d7c03
chore(deps): bump actions/upload-artifact from 4 to 5 ( #6137 )
...
Bumps
[actions/upload-artifact](https://github.com/actions/upload-artifact )
from 4 to 5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/upload-artifact/releases ">actions/upload-artifact's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<p><strong>BREAKING CHANGE:</strong> this update supports Node
<code>v24.x</code>. This is not a breaking change per-se but we're
treating it as such.</p>
<ul>
<li>Update README.md by <a
href="https://github.com/GhadimiR "><code>@GhadimiR</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/681 ">actions/upload-artifact#681</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89 "><code>@nebuk89</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/712 ">actions/upload-artifact#712</a></li>
<li>Readme: spell out the first use of GHES by <a
href="https://github.com/danwkennedy "><code>@danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/727 ">actions/upload-artifact#727</a></li>
<li>Update GHES guidance to include reference to Node 20 version by <a
href="https://github.com/patrikpolyak "><code>@patrikpolyak</code></a>
in <a
href="https://redirect.github.com/actions/upload-artifact/pull/725 ">actions/upload-artifact#725</a></li>
<li>Bump <code>@actions/artifact</code> to <code>v4.0.0</code></li>
<li>Prepare <code>v5.0.0</code> by <a
href="https://github.com/danwkennedy "><code>@danwkennedy</code></a> in
<a
href="https://redirect.github.com/actions/upload-artifact/pull/734 ">actions/upload-artifact#734</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/GhadimiR "><code>@GhadimiR</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/681 ">actions/upload-artifact#681</a></li>
<li><a href="https://github.com/nebuk89 "><code>@nebuk89</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/712 ">actions/upload-artifact#712</a></li>
<li><a
href="https://github.com/danwkennedy "><code>@danwkennedy</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/727 ">actions/upload-artifact#727</a></li>
<li><a
href="https://github.com/patrikpolyak "><code>@patrikpolyak</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/725 ">actions/upload-artifact#725</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v4...v5.0.0 ">https://github.com/actions/upload-artifact/compare/v4...v5.0.0 </a></p>
<h2>v4.6.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update to use artifact 2.3.2 package & prepare for new
upload-artifact release by <a
href="https://github.com/salmanmkc "><code>@salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/685 ">actions/upload-artifact#685</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/salmanmkc "><code>@salmanmkc</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/685 ">actions/upload-artifact#685</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v4...v4.6.2 ">https://github.com/actions/upload-artifact/compare/v4...v4.6.2 </a></p>
<h2>v4.6.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Update to use artifact 2.2.2 package by <a
href="https://github.com/yacaovsnc "><code>@yacaovsnc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/673 ">actions/upload-artifact#673</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v4...v4.6.1 ">https://github.com/actions/upload-artifact/compare/v4...v4.6.1 </a></p>
<h2>v4.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Expose env vars to control concurrency and timeout by <a
href="https://github.com/yacaovsnc "><code>@yacaovsnc</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/662 ">actions/upload-artifact#662</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/upload-artifact/compare/v4...v4.6.0 ">https://github.com/actions/upload-artifact/compare/v4...v4.6.0 </a></p>
<h2>v4.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: deprecated <code>Node.js</code> version in action by <a
href="https://github.com/hamirmahal "><code>@hamirmahal</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/578 ">actions/upload-artifact#578</a></li>
<li>Add new <code>artifact-digest</code> output by <a
href="https://github.com/bdehamer "><code>@bdehamer</code></a> in <a
href="https://redirect.github.com/actions/upload-artifact/pull/656 ">actions/upload-artifact#656</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/hamirmahal "><code>@hamirmahal</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/upload-artifact/pull/578 ">actions/upload-artifact#578</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="330a01c490 "><code>330a01c</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/734 ">#734</a>
from actions/danwkennedy/prepare-5.0.0</li>
<li><a
href="03f2824452 "><code>03f2824</code></a>
Update <code>github.dep.yml</code></li>
<li><a
href="905a1ecb59 "><code>905a1ec</code></a>
Prepare <code>v5.0.0</code></li>
<li><a
href="2d9f9cdfa9 "><code>2d9f9cd</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/725 ">#725</a>
from patrikpolyak/patch-1</li>
<li><a
href="9687587dec "><code>9687587</code></a>
Merge branch 'main' into patch-1</li>
<li><a
href="2848b2cda0 "><code>2848b2c</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/727 ">#727</a>
from danwkennedy/patch-1</li>
<li><a
href="9b511775fd "><code>9b51177</code></a>
Spell out the first use of GHES</li>
<li><a
href="cd231ca1ed "><code>cd231ca</code></a>
Update GHES guidance to include reference to Node 20 version</li>
<li><a
href="de65e23aa2 "><code>de65e23</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/upload-artifact/issues/712 ">#712</a>
from actions/nebuk89-patch-1</li>
<li><a
href="8747d8cd76 "><code>8747d8c</code></a>
Update README.md</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/upload-artifact/compare/v4...v5 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 20:38:45 -08:00
Rohan Godha
5fcf923c19
fix: pasting api key stray character ( #4903 )
...
When signing in with an API key, pasting (with command+v on mac) adds a
stray `v` character to the end of the api key.
demo video (where I'm pasting in `sk-something-super-secret`)
https://github.com/user-attachments/assets/b2b34b5f-c7e4-4760-9657-c35686dd8bb8
2025-11-03 04:19:08 +00:00
Owen Lin
fed62a365c
fix export.rs
2025-11-02 16:47:36 -08:00
Owen Lin
c810a0992e
revert mcp process test change
2025-11-02 16:37:35 -08:00
Owen Lin
fa5fa861ef
turn interrupt
2025-11-02 16:36:14 -08:00
Eric Traut
0c7efa0cfd
Fix incorrect "deprecated" message about experimental config key ( #6131 )
...
When I enable `experimental_sandbox_command_assessment`, I get an
incorrect deprecation warning: "experimental_sandbox_command_assessment
is deprecated. Use experimental_sandbox_command_assessment instead."
This PR fixes this error.
2025-11-02 16:33:09 -08:00
Owen Lin
fa03208ade
auto-attach convo listener
2025-11-02 16:11:12 -08:00
Owen Lin
698c6bd1de
use thread id
2025-11-02 14:05:42 -08:00
Owen Lin
644f53a4a4
clean up boilerplate
2025-11-02 13:36:20 -08:00
Owen Lin
fbb04a608d
turn start
2025-11-02 13:31:05 -08:00
Owen Lin
d8075b923c
wip
2025-11-02 13:15:53 -08:00
Owen Lin
afd59a99af
remove order from thread/list
2025-11-02 12:15:46 -08:00
Owen Lin
fbe3078c2f
thread/list supports filtering by model providers
2025-11-02 12:04:15 -08:00
Owen Lin
6fbb3665a2
thread/list and thread/resume
2025-11-02 12:01:19 -08:00
Owen Lin
e249fcdc1d
refactor to share archive logic
2025-11-02 10:06:12 -08:00
Owen Lin
27251b597d
thread/archive
2025-11-02 10:03:21 -08:00
Owen Lin
6c9e541574
implement thread/start
2025-11-02 09:56:47 -08:00
Owen Lin
945d493f6c
enums from core
2025-11-02 09:37:44 -08:00
Owen Lin
a010c1b7fc
add v2 server notifications
2025-11-02 08:58:43 -08:00
Owen Lin
823ab56dc5
comment updates
2025-11-02 08:40:50 -08:00
Eric Traut
d5853d9c47
Changes to sandbox command assessment feature based on initial experiment feedback ( #6091 )
...
* Removed sandbox risk categories; feedback indicates that these are not
that useful and "less is more"
* Tweaked the assessment prompt to generate terser answers
* Fixed bug in orchestrator that prevents this feature from being
exposed in the extension
2025-11-01 14:52:23 -07:00
Owen Lin
72752ed85d
separate json schema generation to a v2 namespace
2025-11-01 14:32:12 -07:00
Owen Lin
cd9d93fd73
fix test
2025-11-01 13:35:56 -07:00
Owen Lin
11c87546c3
use macros to generate notifications
2025-11-01 13:34:22 -07:00
Owen Lin
a4be03d62b
expose public struct for rate limits
2025-11-01 13:15:47 -07:00
Owen Lin
59e3e7431e
move rate limits updated notification to v2
2025-11-01 11:22:44 -07:00
Owen Lin
62be8a3cde
add stub handlers in message processor and fix list models test
2025-11-01 11:02:59 -07:00
Owen Lin
276c7fbb5d
also standardize method names to follow LSP order
2025-11-01 10:50:37 -07:00
Owen Lin
7f781c6746
add thread/turn API definitions, unify List API patterns
2025-11-01 10:46:26 -07:00
Owen Lin
31f61823c9
wip thread/turn/item types
2025-11-01 10:16:23 -07:00
Owen Lin
473600a75b
remove manual list for json schema
2025-11-01 10:00:24 -07:00
Thomas Stokes
d9118c04bf
Parse the Azure OpenAI rate limit message ( #5956 )
...
Fixes #4161
Currently Codex uses a regex to parse the "Please try again in 1.898s"
OpenAI-style rate limit message, so that it can wait the correct
duration before retrying. Azure OpenAI returns a different error that
looks like "Rate limit exceeded. Try again in 35 seconds."
This PR extends the regex and parsing code to match in a more fuzzy
manner, handling anything matching the pattern "try again in
\<duration>\<unit>".
2025-11-01 09:33:13 -07:00
Owen Lin
2bd507c6fb
[app-server] generate API v2 types in its own namespace
2025-11-01 09:11:37 -07:00
Vinh Nguyen
91e65ac0ce
docs: Fix link anchor and markdown format in advanced guide ( #5649 )
...
Hi OpenAI Codex team, this PR fix an rendering issue in the Markdown
table and anchor link in the
[docs/advanced.md](https://github.com/openai/codex/blob/main/docs/advanced.md ).
Thank you!
Co-authored-by: Eric Traut <etraut@openai.com >
2025-10-31 16:53:09 -07:00
Tony Dong
1ac4fb45d2
Fixing small typo in docs ( #5659 )
...
Fixing a typo in the docs
Co-authored-by: Eric Traut <etraut@openai.com >
2025-10-31 16:41:05 -07:00
Jeremy Rose
07b8bdfbf1
tui: patch crossterm for better color queries ( #5935 )
...
See
https://github.com/crossterm-rs/crossterm/compare/master...nornagon:crossterm:nornagon/color-query
This patches crossterm to add support for querying fg/bg color as part
of the crossterm event loop, which fixes some issues where this query
would fight with other input.
- dragging screenshots into the cli would sometimes paste half of the
pathname instead of being recognized as an image
(https://github.com/openai/codex/issues/5603 )
- Fixes https://github.com/openai/codex/issues/4945
2025-10-31 16:36:41 -07:00
Anton Panasenko
0f22067242
[codex][app-server] improve error response for client requests ( #6050 )
2025-10-31 15:28:04 -07:00
Ritesh Chauhan
d7f8b97541
docs: fix broken link in contributing guide ( #4973 )
...
## Summary
This PR fixes a broken self-referencing link in the contributing
documentation.
## Changes
- Removed the phrase 'Following the [development
setup](#development-workflow) instructions above' from the Development
workflow section
- The link referenced a non-existent section and the phrase didn't make
logical sense in context
## Before
The text referenced 'development setup instructions above' but:
1. No section called 'development setup' exists
2. There were no instructions 'above' that point
3. The link pointed to the same section it was in
## After
Simplified to: 'Ensure your change is free of lint warnings and test
failures.'
## Type
Documentation fix
I have read the CLA Document and I hereby sign the CLA
Co-authored-by: Ritesh Chauhan <sagar.chauhn11@gmail.com >
2025-10-31 15:09:35 -07:00
jif-oai
611e00c862
feat: compactor 2 ( #6027 )
...
Co-authored-by: pakrym-oai <pakrym@openai.com >
2025-10-31 14:27:08 -07:00
Ahmed Ibrahim
c8ebb2a0dc
Add warning on compact ( #6052 )
...
This PR introduces the ability for `core` to send `warnings` as it can
send `errors. It also sends a warning on compaction.
<img width="811" height="187" alt="image"
src="https://github.com/user-attachments/assets/0947a42d-b720-420d-b7fd-115f8a65a46a "
/>
2025-10-31 13:27:33 -07:00
Dylan Hurd
88e083a9d0
chore: Add shell serialization tests for json ( #6043 )
...
## Summary
Can never have enough tests on this code path - checking that json
inside a shell call is deserialized correctly.
## Tests
- [x] These are tests 😎
2025-10-31 11:01:58 -07:00
Ahmed Ibrahim
1c8507b32a
Truncate total tool calls text ( #5979 )
...
Put a cap on the aggregate output of text content on tool calls.
---------
Co-authored-by: Gabriel Peal <gpeal@users.noreply.github.com >
2025-10-31 10:30:36 -07:00