Commit Graph

9945 Commits

Author SHA1 Message Date
Michael Bolin
a7bb009653 Merge 75f47a060e into sapling-pr-archive-bolinfest 2026-03-20 13:03:19 -07:00
Michael Bolin
75f47a060e fix: fall back to vendored bubblewrap when system bwrap lacks --argv0 2026-03-20 13:03:11 -07:00
Michael Bolin
343bfe6eb3 merge commit for archive created by Sapling 2026-03-20 12:35:58 -07:00
Michael Bolin
708d86ba9e fix: fall back to vendored bubblewrap when system bwrap lacks --argv0 2026-03-20 12:35:45 -07:00
Channing Conger
1350477150 Add v8-poc consumer of our new built v8 (#15203)
This adds a dummy v8-poc project that in Cargo links against our
prebuilt binaries and the ones provided by rusty_v8 for non musl
platforms. This demonstrates that we can successfully link and use v8 on
all platforms that we want to target.

In bazel things are slightly more complicated. Since the libraries as
published have libc++ linked in already we end up with a lot of double
linked symbols if we try to use them in bazel land. Instead we fall back
to building rusty_v8 and v8 from source (cached of course) on the
platforms we ship to.

There is likely some compatibility drift in the windows bazel builder
that we'll need to reconcile before we can re-enable them. I'm happy to
be on the hook to unwind that.
2026-03-20 12:08:25 -07:00
Michael Bolin
b71c13ebf0 merge commit for archive created by Sapling 2026-03-20 12:03:01 -07:00
Michael Bolin
d90caa52a9 fix: fall back to vendored bubblewrap when system bwrap lacks --argv0 2026-03-20 12:02:45 -07:00
Channing Conger
a941d8439d Bump aws-lc-rs (#15337)
Bump our dep.

RUSTSEC-2026-0048
Advisory: https://rustsec.org/advisories/RUSTSEC-2026-0048
2026-03-20 18:59:13 +00:00
Michael Bolin
fabfdff909 Merge e1b1e33021 into sapling-pr-archive-bolinfest 2026-03-20 11:57:52 -07:00
Michael Bolin
e1b1e33021 fix: fall back to vendored bubblewrap when system bwrap lacks --argv0 2026-03-20 11:57:38 -07:00
Shaqayeq
9e31aeadce Pin Python SDK app-server stdio to UTF-8 on Windows (#15244)
## TL;DR
Pin the Python app-server SDK subprocess pipes to UTF-8 so Windows users
on non-UTF-8 locales do not hit `UnicodeDecodeError` when the `codex`
child emits UTF-8 text.

- add `encoding="utf-8"` to the `subprocess.Popen(...)` call in
`AppServerClient.start()`
- add a focused regression test that asserts the client launches the
subprocess with UTF-8 text I/O
- validates with `python -m pytest
sdk/python/tests/test_client_rpc_methods.py
sdk/python/tests/test_client_process_launch.py
sdk/python/tests/test_public_api_runtime_behavior.py`

Fixes #14311.
2026-03-20 18:26:24 +00:00
jif-oai
79ad7b247b feat: change multi-agent to use path-like system instead of uuids (#15313)
This PR add an URI-based system to reference agents within a tree. This
comes from a sync between research and engineering.

The main agent (the one manually spawned by a user) is always called
`/root`. Any sub-agent spawned by it will be `/root/agent_1` for example
where `agent_1` is chosen by the model.

Any agent can contact any agents using the path.

Paths can be used either in absolute or relative to the calling agents

Resume is not supported for now on this new path
2026-03-20 18:23:48 +00:00
Michael Bolin
553449b2df merge commit for archive created by Sapling 2026-03-20 10:58:15 -07:00
Michael Bolin
c59669d603 fix: flip use_legacy_landlock feature so it defaults to true again 2026-03-20 10:57:59 -07:00
pakrym-oai
4ddde54c19 Add remote test skill (#15324)
Teach codex to run remote tests.
2026-03-20 10:37:57 -07:00
jif-oai
b9fa08ec61 try to fix bazel (#15328)
Fix Bazel macOS CI failures caused by the llvm module's pinned macOS SDK
URL returning 403 Forbidden from Apple's CDN.

Bump llvm to 0.6.8, switch to the new osx.from_archive(...) /
osx.frameworks(...) API, and refresh MODULE.bazel.lock so Bazel uses the
updated SDK archive configuration.
2026-03-20 10:18:19 -07:00
Eric Traut
4f28b64abc Add temporary app-server originator fallback for codex-tui (#15218)
## Summary
- make app-server treat `clientInfo.name == "codex-tui"` as a legacy
compatibility case
- fall back to `DEFAULT_ORIGINATOR` instead of sending `codex-tui` as
the originator header
- add a TODO noting this is a temporary workaround that should be
removed later

## Testing
- Not run (not requested)
2026-03-20 10:51:21 -06:00
pakrym-oai
ba85a58039 Add remote env CI matrix and integration test (#14869)
`CODEX_TEST_REMOTE_ENV` will make `test_codex` start the executor
"remotely" (inside a docker container) turning any integration test into
remote test.
2026-03-20 08:02:50 -07:00
xl-openai
e5f4d1fef5 feat: prefer git for curated plugin sync (#15275)
start with git clone, fallback to http.
2026-03-20 00:06:24 -07:00
Michael Bolin
a224097924 merge commit for archive created by Sapling 2026-03-19 23:45:09 -07:00
Michael Bolin
65dfa94c29 core: add stdin-backed sandboxed fs writes 2026-03-19 23:44:57 -07:00
Michael Bolin
16588ffc6d core: route view_image through a sandbox-backed fs helper 2026-03-19 23:44:57 -07:00
Michael Bolin
29633f0578 core: add a sandbox-backed fs helper 2026-03-19 23:44:56 -07:00
Michael Bolin
f71639542e merge commit for archive created by Sapling 2026-03-19 23:38:47 -07:00
Michael Bolin
7aca0d8e9e core: route view_image through a sandbox-backed fs helper 2026-03-19 23:34:23 -07:00
Michael Bolin
20d1ddfecd merge commit for archive created by Sapling 2026-03-19 23:05:48 -07:00
Michael Bolin
7ed4bf734a core: add stdin-backed sandboxed fs writes 2026-03-19 23:05:25 -07:00
Michael Bolin
512f7ed02e core: route view_image through a sandbox-backed fs helper 2026-03-19 23:05:24 -07:00
Michael Bolin
b6af17385d core: add a sandbox-backed fs helper 2026-03-19 23:05:01 -07:00
Won Park
461ba012fc Feat/restore image generation history (#15223)
Restore image generation items in resumed thread history
2026-03-19 22:57:16 -07:00
Michael Bolin
dab86facb8 merge commit for archive created by Sapling 2026-03-19 22:57:00 -07:00
Michael Bolin
e800c8bafb core: add stdin-backed sandboxed fs writes 2026-03-19 22:56:50 -07:00
Michael Bolin
09fd6cd7c1 core: route view_image through a sandbox-backed fs helper 2026-03-19 22:56:50 -07:00
Michael Bolin
76ecd98408 core: add a sandbox-backed fs helper 2026-03-19 22:56:50 -07:00
Michael Bolin
bb43550a15 merge commit for archive created by Sapling 2026-03-19 22:50:00 -07:00
Michael Bolin
a50f24d6d1 core: add stdin-backed sandboxed fs writes 2026-03-19 22:49:49 -07:00
Michael Bolin
97c5db35cc core: route view_image through a sandbox-backed fs helper 2026-03-19 22:49:49 -07:00
Michael Bolin
4bf454e71b core: add a sandbox-backed fs helper 2026-03-19 22:49:48 -07:00
Charley Cunningham
b3a4da84da Add guardian follow-up reminder (#15262)
## Summary
- add a short guardian follow-up developer reminder before reused
reviews
- cache prior-review state on the guardian session instead of rescanning
full history on each request
- update guardian follow-up coverage and snapshot expectations

---------

Co-authored-by: Codex <noreply@openai.com>
2026-03-19 22:35:52 -07:00
Michael Bolin
d38301db08 merge commit for archive created by Sapling 2026-03-19 22:33:31 -07:00
Michael Bolin
9c3dd13d2b core: add stdin-backed sandboxed fs writes 2026-03-19 22:32:40 -07:00
Michael Bolin
c56d2f1f48 core: route view_image through a sandbox-backed fs helper 2026-03-19 22:32:40 -07:00
Michael Bolin
013b9a46f6 core: add a sandbox-backed fs helper 2026-03-19 22:32:40 -07:00
Michael Bolin
d662c2815c merge commit for archive created by Sapling 2026-03-19 22:12:34 -07:00
Michael Bolin
c3f1765779 core: add a sandbox-backed fs helper 2026-03-19 22:12:19 -07:00
xl-openai
b1570d6c23 feat: Add One-Time Startup Remote Plugin Sync (#15264)
For early users who have already enabled apps, we should enable plugins
as part of the initial setup.
2026-03-20 05:01:39 +00:00
Andrei Eternal
cc192763e1 Disable hooks on windows for now (#15252)
We'll verify a bit later that all of this works correctly and re-enable
2026-03-19 21:31:56 -07:00
canvrno-oai
f7201e5a9f Initial plugins TUI menu - list and read only. tui + tui_app_server (#15215)
### Preliminary /plugins TUI menu
- Adds a preliminary /plugins menu flow in both tui and tui_app_server.
- Fetches plugin list data asynchronously and shows loading/error/cached
states.
  - Limits this first pass to the curated ChatGPT marketplace.
  - Shows available plugins with installed/status metadata.
- Supports in-menu search over plugin display name, plugin id, plugin
name, and marketplace label.
- Opens a plugin detail view on selection, including summaries for
Skills, Apps, and MCP Servers, with back navigation.

### Testing
  - Launch codex-cli with plugins enabled (`--enable plugins`).
  - Run /plugins and verify:
      - loading state appears first
      - plugin list is shown
      - search filters results
- selecting a plugin opens detail view, with a list of
skills/connectors/MCP servers for the plugin
      - back action returns to the list.
- Verify disabled behavior by running /plugins without plugins enabled
(shows “Plugins are disabled” message).
- Launch with `--enable tui_app_server` (and plugins enabled) and repeat
the same /plugins flow; behavior should match.
2026-03-19 21:28:33 -07:00
Michael Bolin
f3acc02dfd merge commit for archive created by Sapling 2026-03-19 20:34:15 -07:00
Michael Bolin
6fc6a7889a core: add stdin-backed sandboxed fs writes 2026-03-19 20:33:44 -07:00