Commit Graph

7959 Commits

Author SHA1 Message Date
Felipe Coury
70d4255207 feat(terminal-browser): support managed proxy sandbox 2026-07-06 16:42:07 -03:00
Felipe Coury
2046175b2c feat(terminal-browser): use cdp pipe transport 2026-07-06 16:41:41 -03:00
Felipe Coury
23484dd8d5 feat(pty): support child fd mappings 2026-07-06 16:21:34 -03:00
Felipe Coury
8287563e5c feat(tui): integrate carbonyl browser panel 2026-07-06 11:05:17 -03:00
Felipe Coury
34038b638f feat(tui): expose terminal browser tools 2026-07-06 10:24:40 -03:00
Felipe Coury
29e7d97698 feat(tui): own terminal browser lifecycle 2026-07-06 10:24:40 -03:00
Felipe Coury
4cb937a1e7 feat(tui): preserve browser takeover input 2026-07-06 10:24:40 -03:00
Felipe Coury
6dcc65fba1 fix(terminal-browser): terminate on app teardown 2026-07-06 10:24:39 -03:00
Felipe Coury
a80dffef64 feat(tui): add carbonyl browser panel adapter 2026-07-06 10:24:39 -03:00
Felipe Coury
8e878f6871 feat(terminal-browser): import hardened carbonyl runtime 2026-07-06 10:24:39 -03:00
Felipe Coury
6289c176b7 feat(tui): add responsive owned-screen frame 2026-07-05 21:54:32 -03:00
Felipe Coury
7f75cd211d feat(tui): retain owned-screen stream source 2026-07-05 19:57:26 -03:00
Felipe Coury
ba9d8dd59c feat(tui): preserve owned-screen drag selections 2026-07-05 18:54:49 -03:00
Felipe Coury
25093076bb fix(tui): render single markdown blank rows 2026-07-05 16:03:25 -03:00
Felipe Coury
d52a1360e5 feat(tui): expand owned-screen text selection 2026-07-05 15:56:06 -03:00
Felipe Coury
402e5da0b0 feat(tui): copy owned-screen mouse selections 2026-07-04 23:38:13 -03:00
Felipe Coury
e1ce98870f feat(tui): select retained conversation text 2026-07-04 23:37:41 -03:00
Felipe Coury
11a48b6460 feat(tui): expose selectable history projections 2026-07-04 23:36:36 -03:00
Felipe Coury
1077203e36 feat(tui): map rendered cells to source text 2026-07-04 23:36:10 -03:00
Felipe Coury
c899573f99 feat(tui): resize owned conversation panes 2026-07-04 22:30:36 -03:00
Felipe Coury
3cb7cef03d feat(tui): focus owned panes on click 2026-07-04 21:00:37 -03:00
Felipe Coury
589b9dde10 fix(tui): synchronize owned pane navigation 2026-07-04 19:33:35 -03:00
Felipe Coury
c6a5833f3f fix(tui): coordinate terminal pane surfaces 2026-07-04 19:28:13 -03:00
Felipe Coury
894e9b2ac1 fix(tui): synchronize shared pane state 2026-07-04 19:25:32 -03:00
Felipe Coury
95ac6b2bfc fix(tui): preserve side after parent closure 2026-07-04 18:47:49 -03:00
Felipe Coury
3ef12ab1d2 fix(tui): harden side conversation switching 2026-07-04 18:46:59 -03:00
Felipe Coury
b3edff66a9 feat(tui): keep side conversations live 2026-07-04 17:49:35 -03:00
Felipe Coury
4aa82bb77d feat(tui): render side conversation panes 2026-07-04 17:13:59 -03:00
Felipe Coury
ecce09c53e refactor(tui): run live conversation panes 2026-07-04 16:53:26 -03:00
Felipe Coury
b4ffbb1730 refactor(tui): encapsulate conversation pane state 2026-07-04 16:39:33 -03:00
Felipe Coury
231945a73e refactor(tui): scope conversation presentation events 2026-07-04 16:11:51 -03:00
Felipe Coury
0b0abcbbc3 refactor(tui): scope conversation operations 2026-07-04 15:41:22 -03:00
Felipe Coury
c973ecd069 fix(tui): preserve user prompt block styling 2026-07-04 14:43:39 -03:00
Felipe Coury
bcafbd142c feat(tui): add owned screen wheel scrolling 2026-07-04 13:24:36 -03:00
Felipe Coury
df5fdcf5bf feat(tui): add owned screen navigation 2026-07-04 02:03:36 -03:00
Felipe Coury
9f06929e21 feat(tui): own alternate screen in always mode 2026-07-04 01:50:07 -03:00
Felipe Coury
b537258fee refactor(tui): add retained conversation viewport 2026-07-04 01:02:50 -03:00
Felipe Coury
85f780f2a8 refactor(tui): centralize alternate screen ownership 2026-07-04 00:59:15 -03:00
Dylan Hurd
db887d03e1 fix(core) Remove full text websocket trace (#30757)
## Summary
This is a follow-up to https://github.com/openai/codex/pull/29432 to
remove one additional trace statement that is not being filtered by
https://github.com/openai/codex/pull/29457.


## Testing
- [x] Unit tests pass
2026-06-30 21:18:22 +00:00
Eric Traut
020828170f [codex] Update safety notice wording (#30645)
## Summary

The TUI biosafety block still included obsolete copy telling approved
researchers they may be able to apply for Trusted Access.

Remove that sentence and update the UI snapshot to match the approved
wording.
2026-06-30 09:31:06 -07:00
richardopenai
cfead68e5d [codex] disable Nagle on Rendezvous WebSockets (#30269)
## Summary

Disable Nagle unconditionally for both exec-server Rendezvous WebSocket
connections.

- pass `disable_nagle=true` at the executor and harness connection call
sites
- keep the existing signed URL, protocol, and connection flow unchanged
- add no feature flag, rollout schema, path variant, or
experiment-specific telemetry

The companion internal PR enables `TCP_NODELAY` on accepted Rendezvous
sockets: https://github.com/openai/openai/pull/1082463

## Why

Rendezvous carries small, latency-sensitive relay and JSON-RPC frames.
Three staging runs of 30 steady-state `process/read` calls per
configuration measured p50 improving from 139.1 ms to 81.5 ms and p95
from 162.0 ms to 95.8 ms with Nagle disabled.

The expected packet overhead is small at the current connection scale.
We will use existing latency, error, packet, and CPU monitoring and
revert normally if production regresses.

## Rollout and rollback

The client and accepted-socket changes can deploy independently. New
connections receive the setting as each side deploys. Rollback is a
normal code revert; there is no persisted assignment or gate state to
unwind.

## Validation

- `just test -p codex-exec-server --lib`: 164 passed
- `just fix -p codex-exec-server`: passed
- `just fmt`: passed
- independent final review found no actionable issue
2026-06-29 19:14:47 -05:00
Eric Traut
4808c162ee [codex] auto-label AWS Bedrock issues (#30607)
## Summary

AWS Bedrock issues currently fall under broader labels, which makes
provider-specific reports harder to find. The issue tracker now has an
`aws-bedrock` label, but the automated labeler does not know to apply
it.

Teach the issue labeler to select `aws-bedrock` for Amazon Bedrock
provider or Bedrock Mantle issues while excluding generic AWS
references.
2026-06-29 11:10:38 -07:00
Eric Traut
9d13291955 Update safety check links (#30491)
## Summary

Bio/Cyber safety surfaces in the TUI could send users to stale Trusted
Access pages, and safety buffering did not always expose the Help
Center.

This follow-up to #30317 adds the missing Learn more action, refreshes
the Bio access URL and block copy, and updates the affected snapshots
while preserving the existing retry and wait behavior.
2026-06-29 11:10:11 -07:00
Shijie Rao
80f54d1266 [codex] Treat max as a first-class reasoning effort (#30467)
## Why

The Bedrock GPT-5.6 catalog advertises `max`, but Codex treated it as an
opaque custom effort. That made the reasoning picker render it as
lowercase `max` while known efforts use productized labels.

Making `max` a known effort aligns catalog data, parsing, and UI
presentation without changing the `max` wire value or persisted
representation.

## What changed

- Add first-class `ReasoningEffort::Max` parsing and serialization.
- Use the typed effort in the Bedrock catalog and render it as `Max` in
the TUI.
- Preserve forward-compatible custom-effort coverage with a genuinely
unknown `future` value.

### Before
<img width="559" height="124" alt="Screenshot 2026-06-28 at 12 08 47 PM"
src="https://github.com/user-attachments/assets/7c43cf4f-020b-4605-9239-0a9c97eb7364"
/>

### After
<img width="558" height="107" alt="Screenshot 2026-06-28 at 12 09 10 PM"
src="https://github.com/user-attachments/assets/b9cc5ded-c940-43b4-b024-bba25abe0a17"
/>
2026-06-29 09:38:49 -07:00
Dylan Hurd
ccdfb4f342 Revert "Make auto-review on-request prompt more proactive" (#30508)
Reverts openai/codex#26496
2026-06-28 20:40:55 -07:00
Ahmed Ibrahim
8dac605901 [codex] Restore v1 delegation guidance (#30511)
## Summary

- restore the v1 clarification that requests for depth, research, or
investigation do not authorize subagent spawning
- restore guidance for keeping critical-path, urgent, tightly coupled,
or difficult work local
- update the focused v1 tool-search and spawn-description coverage

## Why

PR #27919 simplified the v1 `spawn_agent` prompt by removing its
delegation decision guidance. That left the authorization rule intact,
but removed the instructions that constrained what should be delegated
after spawning was authorized.

Restore those guardrails while preserving later support for explicit
delegation authorization from applicable AGENTS.md and skill
instructions. Multi-agent v2 prompts are unchanged.

## User impact

Models using the v1 multi-agent tool surface receive clearer guidance to
delegate independent side work while keeping blocking work on the main
rollout.

## Validation

- `just fmt`
- `git diff --check`
- tests not run locally per repository guidance; CI will validate the
focused coverage
2026-06-28 20:34:47 -07:00
ani-oai
6b5f5743b3 [codex] Use model metadata for skills usage instructions (#29740)
## Summary

- add a false-by-default `include_skills_usage_instructions` model
metadata field
- enable the field for the bundled `gpt-5.5` model metadata
- consume the metadata in both core and extension skill rendering
- remove hardcoded legacy-model matching and its marker plumbing
2026-06-29 09:44:36 +09:00
Felipe Coury
850da19dc4 fix(tui): clear completed safety buffering prompt (#30490)
## Why

The safety-buffering prompt is a modal TUI view, but the normal
successful-turn path only hid the running status indicator. If the turn
completed while the prompt was open, the stale modal remained over the
composer until the user dismissed it or another turn started.

This aligns the TUI with the app behavior: keep the safety notice
visible while the turn is active, then remove it when the turn becomes
terminal. It also prevents the stale retry action from changing the
model and reasoning effort for a future turn after the buffered turn has
already completed.

| New copy |
|---|
| <img width="1014" height="313" alt="CleanShot 2026-06-28 at 20 27 18"
src="https://github.com/user-attachments/assets/f0f37359-5d77-442f-add2-9d1874bdc422"
/> |

## What changed

- Clear the active safety-buffering view and retry state when a turn
completes successfully.
- Update the retry-capable message to say “Hang tight or retry with a
faster model”.
- Extend the safety-buffering regression coverage to verify that the
prompt remains visible after assistant output starts and disappears when
the turn completes.
- Update the TUI snapshot for the revised copy.

This is a follow-up to #29919.

## How to Test

1. Start a TUI turn that receives `model/safetyBuffering/updated` with
`showBufferingUi: true` and a `fasterModel`.
2. Confirm the prompt says “Hang tight or retry with a faster model”.
3. Let the turn continue and confirm the prompt remains visible while
the turn is active.
4. Let the turn finish successfully and confirm the prompt disappears
and the composer is restored without requiring an extra keypress.
5. Confirm a buffering update without a faster model still shows the
shorter non-retry message.

Targeted automated coverage:

- `just test -p codex-tui safety_buffering` — 4 passed.
- `just test -p codex-tui` — 2,951 passed; two unrelated Guardian
feature-flag tests failed identically on `main` in this environment.

The argument-comment lint was also audited manually. The workspace Bazel
invocation was blocked by a missing external LLVM `compiler-rt` BUILD
file, and the packaged per-crate fallback uses a nightly older than the
current `sqlx` minimum Rust version.
2026-06-28 20:55:53 -03:00
xl-openai
e428a12d22 [codex] Enable remote plugins by default (#30297)
## Summary

- enable the remote plugin feature by default
- promote the remote plugin feature from under development to stable
- preserve the existing `features.remote_plugin` override for explicitly
disabling it
- keep legacy disabled-path coverage explicit in TUI and app-server
tests

## Impact

Remote plugin functionality is enabled by default for configurations
that do not set the feature flag. The existing Codex backend
authentication gate still applies.

## Validation

- `just fmt`
- `just test -p codex-features`
- `just test -p codex-tui
plugins_popup_remote_section_fallback_states_snapshot`
- targeted `codex-app-server` plugin-list and skills-list tests
- `git diff --check`

The full TUI and app-server suites were also exercised locally. All
remote-plugin-related coverage passed; unrelated local
sandbox/test-binary failures remain outside this change.
2026-06-28 11:46:25 -07:00
rka-oai
bdd282f3bb [app-server] increase currentTime/read timeout (#30384)
## Summary

Increase the external currentTime/read request timeout from 5 seconds to
10 seconds.

## Validation

- just fmt
- Focused app-server test build was stopped to defer validation to CI.
2026-06-27 16:42:03 -07:00