Commit Graph
1379 Commits
Author SHA1 Message Date
Owen Lin dd2638edbc update shape of v2 rate limit window 2025-11-03 15:09:38 -08:00
Owen Lin 27fcbf9a24 remove turn on Thread object for now, it's not populated yet 2025-11-03 15:00:00 -08:00
Owen Lin dcab045cf6 clean up conversation listener state 2025-11-03 14:29:59 -08:00
Owen Lin 9d153ee1f3 update tests 2025-11-03 14:15:34 -08:00
Owen Lin d11f9cc2e4 remove sort on model list, add back comment 2025-11-03 13:39:26 -08:00
Owen Lin ce35cb16b2 clean up 2025-11-03 13:30:30 -08:00
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
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
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
jif-oaiandpakrym-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