Skip to content

Commit b891f84

Browse files
lee101claude
andcommitted
Codex Infinity v1.3.25 - merge upstream + maintain custom features
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 parents 7840c27 + 4cc6818 commit b891f84

399 files changed

Lines changed: 15052 additions & 3862 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.

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ common --remote_timeout=3600
4444
common --noexperimental_throttle_remote_action_building
4545
common --experimental_remote_execution_keepalive
4646
common --grpc_keepalive_time=30s
47+
common --experimental_remote_downloader=grpcs://remote.buildbuddy.io
4748

4849
# This limits both in-flight executions and concurrent downloads. Even with high number
4950
# of jobs execution will still be limited by CPU cores, so this just pays a bit of

.github/workflows/bazel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
# Save bazel repository cache explicitly; make non-fatal so cache uploading
224224
# never fails the overall job. Only save when key wasn't hit.
225225
- name: Save bazel repository cache
226-
if: always() && !cancelled() && steps.cache_bazel_repository_restore.outputs.cache-hit != 'true'
226+
if: always() && !cancelled()
227227
continue-on-error: true
228228
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
229229
with:

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ In the codex-rs folder where the rust code lives:
2121
- Newly added traits should include doc comments that explain their role and how implementations are expected to use them.
2222
- When writing tests, prefer comparing the equality of entire objects over fields one by one.
2323
- When making a change that adds or changes an API, ensure that the documentation in the `docs/` folder is up to date if applicable.
24+
- Prefer private modules and explicitly exported public crate API.
2425
- If you change `ConfigToml` or nested config types, run `just write-config-schema` to update `codex-rs/core/config.schema.json`.
2526
- If you change Rust dependencies (`Cargo.toml` or `Cargo.lock`), run `just bazel-lock-update` from the
2627
repo root to refresh `MODULE.bazel.lock`, and include that lockfile update in the same change.

MODULE.bazel

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,18 @@ inject_repo(crate, "zstd")
228228
use_repo(crate, "argument_comment_lint_crates")
229229

230230
bazel_dep(name = "bzip2", version = "1.0.8.bcr.3")
231+
single_version_override(
232+
module_name = "bzip2",
233+
patch_strip = 1,
234+
patches = [
235+
"//patches:bzip2_windows_stack_args.patch",
236+
],
237+
)
231238

232239
crate.annotation(
233240
crate = "bzip2-sys",
234-
gen_build_script = "on",
241+
gen_build_script = "off",
242+
deps = ["@bzip2//:bz2"],
235243
)
236244

237245
inject_repo(crate, "bzip2")
@@ -245,14 +253,25 @@ crate.annotation(
245253

246254
inject_repo(crate, "zlib")
247255

248-
# TODO(zbarsky): Enable annotation after fixing windows arm64 builds.
256+
bazel_dep(name = "xz", version = "5.4.5.bcr.8")
257+
single_version_override(
258+
module_name = "xz",
259+
patch_strip = 1,
260+
patches = [
261+
"//patches:xz_windows_stack_args.patch",
262+
],
263+
)
264+
249265
crate.annotation(
250266
crate = "lzma-sys",
251-
gen_build_script = "on",
267+
gen_build_script = "off",
268+
deps = ["@xz//:lzma"],
252269
)
253270

254271
bazel_dep(name = "openssl", version = "3.5.4.bcr.0")
255272

273+
inject_repo(crate, "xz")
274+
256275
crate.annotation(
257276
build_script_data = [
258277
"@openssl//:gen_dir",

MODULE.bazel.lock

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

codex-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codex-infinity/codex-infinity",
3-
"version": "1.3.24",
3+
"version": "1.3.25",
44
"license": "Apache-2.0",
55
"description": "Codex Infinity - a smarter coding agent that can run forever",
66
"bin": {

codex-rs/Cargo.lock

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

codex-rs/app-server-client/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,9 @@ mod tests {
10601060
items: Vec::new(),
10611061
status: codex_app_server_protocol::TurnStatus::Completed,
10621062
error: None,
1063+
started_at: None,
1064+
completed_at: Some(0),
1065+
duration_ms: Some(1),
10631066
},
10641067
})
10651068
}
@@ -1834,6 +1837,9 @@ mod tests {
18341837
items: Vec::new(),
18351838
status: codex_app_server_protocol::TurnStatus::Completed,
18361839
error: None,
1840+
started_at: None,
1841+
completed_at: Some(0),
1842+
duration_ms: None,
18371843
},
18381844
}
18391845
)

codex-rs/app-server-protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ clap = { workspace = true, features = ["derive"] }
1717
codex-experimental-api-macros = { workspace = true }
1818
codex-git-utils = { workspace = true }
1919
codex-protocol = { workspace = true }
20+
codex-shell-command = { workspace = true }
2021
codex-utils-absolute-path = { workspace = true }
2122
schemars = { workspace = true }
2223
serde = { workspace = true, features = ["derive"] }
2324
serde_json = { workspace = true }
2425
serde_with = { workspace = true }
25-
shlex = { workspace = true }
2626
strum_macros = { workspace = true }
2727
thiserror = { workspace = true }
2828
rmcp = { workspace = true, default-features = false, features = [

codex-rs/app-server-protocol/schema/json/ClientRequest.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,17 @@
10421042
"null"
10431043
]
10441044
},
1045+
"detail": {
1046+
"anyOf": [
1047+
{
1048+
"$ref": "#/definitions/McpServerStatusDetail"
1049+
},
1050+
{
1051+
"type": "null"
1052+
}
1053+
],
1054+
"description": "Controls how much MCP inventory data to fetch for each server. Defaults to `Full` when omitted."
1055+
},
10451056
"limit": {
10461057
"description": "Optional page size; defaults to a server-defined value.",
10471058
"format": "uint32",
@@ -1208,6 +1219,25 @@
12081219
}
12091220
]
12101221
},
1222+
"McpResourceReadParams": {
1223+
"properties": {
1224+
"server": {
1225+
"type": "string"
1226+
},
1227+
"threadId": {
1228+
"type": "string"
1229+
},
1230+
"uri": {
1231+
"type": "string"
1232+
}
1233+
},
1234+
"required": [
1235+
"server",
1236+
"threadId",
1237+
"uri"
1238+
],
1239+
"type": "object"
1240+
},
12111241
"McpServerOauthLoginParams": {
12121242
"properties": {
12131243
"name": {
@@ -1235,6 +1265,13 @@
12351265
],
12361266
"type": "object"
12371267
},
1268+
"McpServerStatusDetail": {
1269+
"enum": [
1270+
"full",
1271+
"toolsAndAuthOnly"
1272+
],
1273+
"type": "string"
1274+
},
12381275
"MergeStrategy": {
12391276
"enum": [
12401277
"replace",
@@ -4420,6 +4457,30 @@
44204457
"title": "McpServerStatus/listRequest",
44214458
"type": "object"
44224459
},
4460+
{
4461+
"properties": {
4462+
"id": {
4463+
"$ref": "#/definitions/RequestId"
4464+
},
4465+
"method": {
4466+
"enum": [
4467+
"mcpServer/resource/read"
4468+
],
4469+
"title": "McpServer/resource/readRequestMethod",
4470+
"type": "string"
4471+
},
4472+
"params": {
4473+
"$ref": "#/definitions/McpResourceReadParams"
4474+
}
4475+
},
4476+
"required": [
4477+
"id",
4478+
"method",
4479+
"params"
4480+
],
4481+
"title": "McpServer/resource/readRequest",
4482+
"type": "object"
4483+
},
44234484
{
44244485
"properties": {
44254486
"id": {

0 commit comments

Comments
 (0)