Fetch Requirements from cloud (#10167)

Load requirements from Codex Backend. It only does this for enterprise
customers signed in with ChatGPT.

Todo in follow-up PRs:
* Add to app-server and exec too
* Switch from fail-open to fail-closed on failure
This commit is contained in:
gt-oai authored and GitHub committed 2026-01-30 12:03:29 +00:00
1 parent 1ef5455eb6
commit e85d019daa
17 files changed
+673 -17

No files matched your search

+20
View File
@@ -1292,6 +1292,25 @@ dependencies = [
"zstd",
]
[[package]]
name = "codex-cloud-requirements"
version = "0.0.0"
dependencies = [
"async-trait",
"base64",
"codex-app-server-protocol",
"codex-backend-client",
"codex-core",
"codex-otel",
"codex-protocol",
"pretty_assertions",
"serde_json",
"tempfile",
"tokio",
"toml 0.9.5",
"tracing",
]
[[package]]
name = "codex-cloud-tasks"
version = "0.0.0"
@@ -1895,6 +1914,7 @@ dependencies = [
"codex-backend-client",
"codex-chatgpt",
"codex-cli",
"codex-cloud-requirements",
"codex-common",
"codex-core",
"codex-feedback",