Commit Graph

4965 Commits

Author SHA1 Message Date
Michael Bolin
9f4671613e merge commit for archive created by Sapling 2025-11-19 11:36:49 -08:00
Michael Bolin
56da8869fc fix: prepare ExecPolicy in exec-server for execpolicy2 cutover 2025-11-19 11:36:05 -08:00
Michael Bolin
2ef5d2d4ad merge commit for archive created by Sapling 2025-11-19 11:16:25 -08:00
Michael Bolin
000ae54852 fix: prepare ExecPolicy in exec-server for execpolicy2 cutover 2025-11-19 11:16:19 -08:00
Michael Bolin
5dc22b4eb6 merge commit for archive created by Sapling 2025-11-19 10:31:47 -08:00
Michael Bolin
9ed0ab7017 fix: prepare ExecPolicy in exec-server for execpolicy2 cutover 2025-11-19 10:31:27 -08:00
Michael Bolin
430247b062 merge commit for archive created by Sapling 2025-11-19 10:18:14 -08:00
Michael Bolin
0f60c84786 fix: prepare ExecPolicy in exec-server for execpolicy2 cutover 2025-11-19 10:17:23 -08:00
Michael Bolin
8e40fa28a4 Merge 4c82f9a609 into sapling-pr-archive-bolinfest 2025-11-19 00:37:19 -08:00
Michael Bolin
4c82f9a609 fix: prepare ExecPolicy in exec-server for execpolicy2 cutover 2025-11-19 00:37:11 -08:00
Michael Bolin
a75321a64c fix: add more fields to ThreadStartResponse and ThreadResumeResponse (#6847)
This adds the following fields to `ThreadStartResponse` and
`ThreadResumeResponse`:

```rust
    pub model: String,
    pub model_provider: String,
    pub cwd: PathBuf,
    pub approval_policy: AskForApproval,
    pub sandbox: SandboxPolicy,
    pub reasoning_effort: Option<ReasoningEffort>,
```

This is important because these fields are optional in
`ThreadStartParams` and `ThreadResumeParams`, so the caller needs to be
able to determine what values were ultimately used to start/resume the
conversation. (Though note that any of these could be changed later
between turns in the conversation.)

Though to get this information reliably, it must be read from the
internal `SessionConfiguredEvent` that is created in response to the
start of a conversation. Because `SessionConfiguredEvent` (as defined in
`codex-rs/protocol/src/protocol.rs`) did not have all of these fields, a
number of them had to be added as part of this PR.

Because `SessionConfiguredEvent` is referenced in many tests, test
instances of `SessionConfiguredEvent` had to be updated, as well, which
is why this PR touches so many files.
2025-11-18 21:18:43 -08:00
ae
7508e4fd2d chore: update windows sandbox docs (#6872) 2025-11-18 21:02:04 -08:00
pakrym-oai
cac0a6a29d Remote compaction on by-default (#6866) 2025-11-19 02:21:57 +00:00
Celia Chen
b395dc1be6 [app-server] introduce turn/completed v2 event (#6800)
similar to logic in
`codex/codex-rs/exec/src/event_processor_with_jsonl_output.rs`.
translation of v1 -> v2 events:
`codex/event/task_complete` -> `turn/completed`
`codex/event/turn_aborted` -> `turn/completed` with `interrupted` status
`codex/event/error` -> `turn/completed` with `error` status

this PR also makes `items` field in `Turn` optional. For now, we only
populate it when we resume a thread, and leave it as None for all other
places until we properly rewrite core to keep track of items.

tested using the codex app server client. example new event:
```
< {
<   "method": "turn/completed",
<   "params": {
<     "turn": {
<       "id": "0",
<       "items": [],
<       "status": "interrupted"
<     }
<   }
< }
```
2025-11-19 01:55:24 +00:00
Michael Bolin
3e7601731b merge commit for archive created by Sapling 2025-11-18 17:52:24 -08:00
Michael Bolin
58712c5aab fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:52:20 -08:00
Michael Bolin
708c2a3a12 merge commit for archive created by Sapling 2025-11-18 17:48:20 -08:00
Michael Bolin
933cd79f22 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:48:15 -08:00
zhao-oai
4288091f63 update credit status details (#6862) 2025-11-19 01:40:22 +00:00
Michael Bolin
7e4ecad7c4 Merge b2db629f8c into sapling-pr-archive-bolinfest 2025-11-18 17:29:42 -08:00
Michael Bolin
b2db629f8c fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:29:39 -08:00
Michael Bolin
cc8f5823f4 merge commit for archive created by Sapling 2025-11-18 17:22:32 -08:00
Michael Bolin
b00a738989 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:22:26 -08:00
Michael Bolin
b7207161a3 merge commit for archive created by Sapling 2025-11-18 17:06:12 -08:00
Michael Bolin
cce419a136 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:06:06 -08:00
Michael Bolin
41d15fd8a3 merge commit for archive created by Sapling 2025-11-18 17:00:44 -08:00
Michael Bolin
4206194fd8 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 17:00:37 -08:00
Michael Bolin
f553da058b merge commit for archive created by Sapling 2025-11-18 16:47:52 -08:00
Michael Bolin
4a8e9b5353 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 16:47:41 -08:00
Jeremy Rose
526eb3ff82 tui: add branch to 'codex resume', filter by cwd (#6232)
By default, show only sessions that shared a cwd with the current cwd.
`--all` shows all sessions in all cwds. Also, show the branch name from
the rollout metadata.

<img width="1091" height="638" alt="Screenshot 2025-11-04 at 3 30 47 PM"
src="https://github.com/user-attachments/assets/aae90308-6115-455f-aff7-22da5f1d9681"
/>
2025-11-19 00:47:37 +00:00
iceweasel-oai
b952bd2649 smoketest for browser vuln, rough draft of Windows security doc (#6822) 2025-11-18 16:43:34 -08:00
iceweasel-oai
cf57320b9f windows sandbox: support multiple workspace roots (#6854)
The Windows sandbox did not previously support multiple workspace roots
via config. Now it does
2025-11-18 16:35:00 -08:00
Michael Bolin
911ed29966 Merge a271bc8fba into sapling-pr-archive-bolinfest 2025-11-18 16:29:45 -08:00
Michael Bolin
a271bc8fba fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 16:29:41 -08:00
zhao-oai
4fb714fb46 updating codex backend models (#6855) 2025-11-18 16:25:50 -08:00
Michael Bolin
07ab004637 merge commit for archive created by Sapling 2025-11-18 16:24:38 -08:00
Michael Bolin
acffc0361f fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 16:24:33 -08:00
Jeremy Rose
c1391b9f94 exec-server (#6630) 2025-11-19 00:20:19 +00:00
Michael Bolin
e2d7a339f7 Merge a32c611c70 into sapling-pr-archive-bolinfest 2025-11-18 16:01:05 -08:00
Michael Bolin
a32c611c70 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 15:59:42 -08:00
Eric Traut
9275e93364 Fix tests so they don't emit an extraneous config.toml in the source tree (#6853)
This PR fixes the `release_event_does_not_change_selection` test so it
doesn't cause an extra `config.toml` to be emitted in the sources when
running the tests locally. Prior to this fix, I needed to delete this
file every time I ran the tests to prevent it from showing up as an
uncommitted source file.
2025-11-18 15:27:45 -08:00
Owen Lin
b3a824ae3c [app-server-test-client] feat: auto approve command (#6852) 2025-11-18 15:25:02 -08:00
Eric Traut
ab30453dee Improved runtime of generated_ts_has_no_optional_nullable_fields test (#6851)
The `generated_ts_has_no_optional_nullable_fields` test was occasionally
failing on slow CI nodes because of a timeout. This change reduces the
work done by the test. It adds some "options" for the `generate_ts`
function so it can skip work that's not needed for the test.
2025-11-18 15:24:32 -08:00
jif-oai
c56d0c159b fix: local compaction (#6844) 2025-11-18 22:18:10 +00:00
Michael Bolin
fc497a428b Merge c3eb64f432 into sapling-pr-archive-bolinfest 2025-11-18 14:09:14 -08:00
Michael Bolin
c3eb64f432 fix: add more fields to ThreadStartResponse and ThreadResumeResponse 2025-11-18 14:09:04 -08:00
simister
0bf857bc91 Fix typo in config.md for MCP server (#6845)
# 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-11-18 14:06:13 -08:00
Anton Panasenko
f7a921039c [codex][otel] support mtls configuration (#6228)
fix for https://github.com/openai/codex/issues/6153

supports mTLS configuration and includes TLS features in the library
build to enable secure HTTPS connections with custom root certificates.

grpc:
https://docs.rs/tonic/0.13.1/src/tonic/transport/channel/endpoint.rs.html#63
https:
https://docs.rs/reqwest/0.12.23/src/reqwest/async_impl/client.rs.html#516
2025-11-18 14:01:01 -08:00
jif-oai
8ddae8cde3 feat: review in app server (#6613) 2025-11-18 21:58:54 +00:00
Dylan Hurd
29ca89c414 chore(config) enable shell_command (#6843)
## Summary
Enables shell_command as default for `gpt-5*` and `codex-*` models.

## Testing
- [x] Updated unit tests
2025-11-18 12:46:02 -08:00