Commit Graph
14251 Commits
Author SHA1 Message Date
Michael Bolin e88895f190 merge commit for archive created by Sapling 2026-04-29 02:39:43 -07:00
Michael Bolin 138eef5524 permissions: expose active profile metadata 2026-04-29 02:39:32 -07:00
Michael Bolin d2bc5aa713 merge commit for archive created by Sapling 2026-04-29 02:33:27 -07:00
Michael Bolin 40d564e6ae permissions: expose active profile metadata 2026-04-29 02:33:14 -07:00
Michael Bolin e673e6e737 merge commit for archive created by Sapling 2026-04-29 01:36:18 -07:00
Michael Bolin b56d4132b0 permissions: expose active profile metadata 2026-04-29 01:36:06 -07:00
Michael Bolin b8c5a644bf merge commit for archive created by Sapling 2026-04-29 01:18:46 -07:00
Michael Bolin 3e15fd0558 permissions: expose active profile metadata 2026-04-29 01:18:35 -07:00
Michael Bolin 2d7314262a merge commit for archive created by Sapling 2026-04-29 01:05:01 -07:00
Michael Bolin c62ea103b5 permissions: expose active profile metadata 2026-04-29 01:04:30 -07:00
Michael Bolin ffe4019335 Merge 4cdda12134 into sapling-pr-archive-bolinfest 2026-04-29 00:58:00 -07:00
Michael Bolin 4cdda12134 permissions: expose active profile metadata 2026-04-29 00:57:28 -07:00
Michael Bolin 96c4e42455 merge commit for archive created by Sapling 2026-04-29 00:53:39 -07:00
Michael Bolin 3d917ce846 permissions: expose active profile metadata 2026-04-29 00:53:06 -07:00
Michael Bolin d1c6711f26 merge commit for archive created by Sapling 2026-04-29 00:42:09 -07:00
Michael Bolin 2456dc92cd permissions: expose active profile metadata 2026-04-29 00:40:44 -07:00
Michael Bolin 8d5c94fcc9 merge commit for archive created by Sapling 2026-04-29 00:22:56 -07:00
Michael Bolin d02956bd3d permissions: expose active profile metadata 2026-04-29 00:22:46 -07:00
Michael Bolin e0ce75b201 merge commit for archive created by Sapling 2026-04-28 23:50:59 -07:00
Michael Bolin acdc76a0f8 permissions: expose active profile metadata 2026-04-28 23:50:17 -07:00
Michael Bolin 4846377216 merge commit for archive created by Sapling 2026-04-28 22:47:33 -07:00
Michael Bolin a70a0d91ca permissions: expose active profile metadata 2026-04-28 22:47:26 -07:00
Michael Bolin 8e5addb952 merge commit for archive created by Sapling 2026-04-28 21:41:23 -07:00
Michael Bolin 8cae849aba permissions: expose active profile metadata 2026-04-28 21:41:14 -07:00
Michael Bolin d9d77866e2 merge commit for archive created by Sapling 2026-04-28 21:30:53 -07:00
Michael Bolin 44b2e362fe permissions: expose active profile metadata 2026-04-28 21:30:46 -07:00
Michael Bolin a83071f45d merge commit for archive created by Sapling 2026-04-28 21:29:37 -07:00
Michael Bolin 1fff1e046f permissions: expose active profile metadata 2026-04-28 21:29:22 -07:00
Michael Bolin b4d83212e9 Merge 9d8708a70c into sapling-pr-archive-bolinfest 2026-04-28 20:51:26 -07:00
Michael Bolin 9d8708a70c permissions: expose active profile metadata 2026-04-28 20:51:18 -07:00
Michael Bolin 8f3e20aba6 merge commit for archive created by Sapling 2026-04-28 20:47:53 -07:00
Michael Bolin 0bc22bd61d permissions: expose active profile metadata 2026-04-28 20:47:44 -07:00
Michael Bolin f2ac84ae58 merge commit for archive created by Sapling 2026-04-28 19:59:35 -07:00
Michael Bolin e2ae150346 permissions: expose active profile metadata 2026-04-28 19:59:28 -07:00
Michael Bolin 9a4b662ff6 merge commit for archive created by Sapling 2026-04-28 19:56:01 -07:00
Michael Bolin bd7080bdb9 permissions: expose active profile metadata 2026-04-28 19:55:45 -07:00
Michael Bolin d881d9105b Merge 9e4bfa31a4 into sapling-pr-archive-bolinfest 2026-04-28 19:48:21 -07:00
Michael Bolin 9e4bfa31a4 tests: add no-wait helper for apply patch event tests 2026-04-28 19:46:18 -07:00
Michael Bolin f4329369d2 Merge 2c797bdd84 into sapling-pr-archive-bolinfest 2026-04-28 19:44:46 -07:00
Michael Bolin 2c797bdd84 permissions: expose active profile metadata 2026-04-28 19:44:38 -07:00
Michael Bolin e6db1a9442 linux-sandbox: switch helper plumbing to PermissionProfile (#20106)
## Why

`PermissionProfile` is the canonical runtime permission model in the
Rust workspace, but the Linux sandbox helper still accepted a legacy
`SandboxPolicy` plus separate filesystem and network policy flags. That
translation layer made the helper interface harder to reason about and
left `linux-sandbox`-specific callers and tests coupled to the legacy
policy representation.

This change moves the helper onto `PermissionProfile` directly so the
Linux sandbox plumbing matches the rest of the permission stack.

## What changed

- changed `codex-linux-sandbox` to accept `--permission-profile` and
derive the runtime filesystem and network policies internally
- updated the in-process seccomp and legacy Landlock path in
`codex-rs/linux-sandbox` to operate on `PermissionProfile`
- updated Linux sandbox argv construction in `codex-rs/sandboxing`,
`codex-rs/core`, and the CLI debug sandbox path to pass the canonical
profile instead of serializing compatibility policy projections
- simplified the Linux sandbox tests to build the exact permission
profile under test, including the managed-proxy path and
direct-runtime-enforcement carveout coverage
- removed helper-local `SandboxPolicy` usage from `bwrap` tests where
`FileSystemSandboxPolicy` is already the value being exercised

## Testing

- `cargo test -p codex-sandboxing`
- `cargo test -p codex-linux-sandbox` (on this macOS host, the crate
compiled cleanly and its Linux-only tests were cfg-gated)
- `cargo test -p codex-core --no-run`
- `cargo test -p codex-cli --no-run`
2026-04-28 19:43:44 -07:00
Celia Chen 80fb0704ee feat: update Bedrock Mantle endpoint and GPT-5.4 model ID (#20109)
## Summary

Amazon Bedrock Mantle's OpenAI-compatible endpoint now lives under
`/openai/v1`, and the GPT-5.4 Mantle model ID no longer uses the `-cmb`
suffix. This updates Codex's built-in Bedrock provider configuration so
generated providers and the static Bedrock catalog use the current
endpoint and model ID.

## Changes

- Update the Bedrock Mantle base URL from
`https://bedrock-mantle.{region}.api.aws/v1` to
`https://bedrock-mantle.{region}.api.aws/openai/v1`.
- Update the Amazon Bedrock default base URL in
`codex-model-provider-info`.
- Change the Bedrock GPT-5.4 catalog slug from `openai.gpt-5.4-cmb` to
`openai.gpt-5.4`.
- Align provider and catalog tests with the new URL and model ID.

## Test Plan

- Manual smoke test:

  ```shell
  target/debug/codex \
      -m openai.gpt-5.4 \
      -c 'model_provider="amazon-bedrock"' \
      -c 'model_providers.amazon-bedrock.aws.region="us-west-2"'
  ```
2026-04-29 01:37:21 +00:00
Celia Chen 8c47e36504 feat: expose provider capability bounds to app server clients (#20049)
follow up of #19442. The app server now exposes provider-derived bounds
through a new v2 `modelProvider/read` method. The response reports the
configured provider map key as `modelProvider` and returns the effective
capability booleans so clients can align their UI with the same
provider-owned limits used by core.
2026-04-29 01:36:19 +00:00
canvrno-oai 4c39ad33cb Fix plugin list workspace settings test isolation (#20086)
Fixes test that often fails locally when running `cargo test`
- Add an app-server test helper that combines managed-config isolation
with custom env overrides.
- Isolate `HOME` / `USERPROFILE` in plugin-list workspace settings tests
so host home marketplaces do not affect results.
2026-04-28 18:34:38 -07:00
Michael Bolin b5167907ef merge commit for archive created by Sapling 2026-04-28 18:29:00 -07:00
Michael Bolin 2bc25571ee linux-sandbox: use PermissionProfile in helper 2026-04-28 18:28:45 -07:00
Michael Bolin b69942010e Merge 4a41f9124f into sapling-pr-archive-bolinfest 2026-04-28 18:26:05 -07:00
Michael Bolin cddd0523f8 merge commit for archive created by Sapling 2026-04-28 18:25:32 -07:00
Michael Bolin 3a8940f03e tests: add no-wait helper for apply patch event tests 2026-04-28 18:25:09 -07:00
Michael Bolin 4a41f9124f linux-sandbox: use PermissionProfile in helper 2026-04-28 18:24:22 -07:00