Skip to content

Commit 5c8f5cb

Browse files
committed
Codex Infinity v1.3.38 - merge upstream + maintain custom features
2 parents 6a210b3 + 5e73737 commit 5c8f5cb

340 files changed

Lines changed: 21755 additions & 13642 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/setup-bazel-ci/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
run: Copy-Item (Get-Command dotslash).Source -Destination "$env:LOCALAPPDATA\Microsoft\WindowsApps\dotslash.exe"
3434

3535
- name: Set up Bazel
36-
uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3
36+
uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0
3737

3838
- name: Configure Bazel repository cache
3939
id: configure_bazel_repository_cache

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# External (non-OpenAI) Pull Request Requirements
22

3-
Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed:
3+
External code contributions are by invitation only. Please read the dedicated "Contributing" markdown file for details:
44
https://github.com/openai/codex/blob/main/docs/contributing.md
55

66
If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes.

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,16 @@ jobs:
4545
GH_TOKEN: ${{ github.token }}
4646
run: |
4747
set -euo pipefail
48-
# Use a rust-release version that includes all native binaries.
49-
CODEX_VERSION=0.115.0
48+
# Use a recent successful rust-release run that published the full
49+
# cross-platform native payload required by the npm package layout.
50+
# Passing the workflow URL directly avoids relying on old rust-v*
51+
# branches remaining discoverable via `gh run list --branch ...`.
52+
CODEX_VERSION=0.125.0
53+
WORKFLOW_URL="https://github.com/openai/codex/actions/runs/24901475298"
5054
OUTPUT_DIR="${RUNNER_TEMP}"
5155
python3 ./scripts/stage_npm_packages.py \
5256
--release-version "$CODEX_VERSION" \
57+
--workflow-url "$WORKFLOW_URL" \
5358
--package codex \
5459
--output-dir "$OUTPUT_DIR"
5560
PACK_OUTPUT="${OUTPUT_DIR}/codex-npm-${CODEX_VERSION}.tgz"

.github/workflows/rusty-v8-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ jobs:
7878
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7979

8080
- name: Set up Bazel
81-
uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3
81+
uses: ./.github/actions/setup-bazel-ci
82+
with:
83+
target: ${{ matrix.target }}
8284

8385
- name: Set up Python
8486
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6

.github/workflows/v8-canary.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: v8-canary
33
on:
44
pull_request:
55
paths:
6+
- ".github/actions/setup-bazel-ci/**"
67
- ".github/scripts/rusty_v8_bazel.py"
78
- ".github/workflows/rusty-v8-release.yml"
89
- ".github/workflows/v8-canary.yml"
@@ -16,6 +17,7 @@ on:
1617
branches:
1718
- main
1819
paths:
20+
- ".github/actions/setup-bazel-ci/**"
1921
- ".github/scripts/rusty_v8_bazel.py"
2022
- ".github/workflows/rusty-v8-release.yml"
2123
- ".github/workflows/v8-canary.yml"
@@ -75,7 +77,9 @@ jobs:
7577
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7678

7779
- name: Set up Bazel
78-
uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3
80+
uses: ./.github/actions/setup-bazel-ci
81+
with:
82+
target: ${{ matrix.target }}
7983

8084
- name: Set up Python
8185
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6

MODULE.bazel.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codex-rs/Cargo.lock

Lines changed: 44 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codex-rs/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ members = [
3636
"hooks",
3737
"secrets",
3838
"exec",
39+
"file-system",
3940
"exec-server",
4041
"execpolicy",
4142
"execpolicy-legacy",
@@ -142,6 +143,7 @@ codex-core-plugins = { path = "core-plugins" }
142143
codex-core-skills = { path = "core-skills" }
143144
codex-device-key = { path = "device-key" }
144145
codex-exec = { path = "exec" }
146+
codex-file-system = { path = "file-system" }
145147
codex-exec-server = { path = "exec-server" }
146148
codex-execpolicy = { path = "execpolicy" }
147149
codex-experimental-api-macros = { path = "codex-experimental-api-macros" }
@@ -258,6 +260,7 @@ encoding_rs = "0.8.35"
258260
env-flags = "0.1.1"
259261
env_logger = "0.11.9"
260262
eventsource-stream = "0.2.3"
263+
flate2 = "1.1.8"
261264
futures = { version = "0.3", default-features = false }
262265
gethostname = "1.1.0"
263266
gix = { version = "0.81.0", default-features = false, features = ["sha1"] }
@@ -350,6 +353,7 @@ strum_macros = "0.28.0"
350353
supports-color = "3.0.2"
351354
syntect = "5"
352355
sys-locale = "0.3.2"
356+
tar = { version = "=0.4.45", default-features = false }
353357
tempfile = "3.23.0"
354358
test-log = "0.2.19"
355359
textwrap = "0.16.2"

codex-rs/agent-identity/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ pub fn build_abom(session_source: SessionSource) -> AgentBillOfMaterials {
322322
| SessionSource::Exec
323323
| SessionSource::Mcp
324324
| SessionSource::Custom(_)
325+
| SessionSource::Internal(_)
325326
| SessionSource::SubAgent(_)
326327
| SessionSource::Unknown => "codex-cli".to_string(),
327328
},

codex-rs/analytics/src/reducer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ impl ThreadMetadataState {
106106
| SessionSource::Exec
107107
| SessionSource::Mcp
108108
| SessionSource::Custom(_)
109+
| SessionSource::Internal(_)
109110
| SessionSource::Unknown => (None, None),
110111
};
111112
Self {

0 commit comments

Comments
 (0)