From c1903cdd1d5d4813fb69852973a44687fde9fba0 Mon Sep 17 00:00:00 2001 From: canvrno-oai Date: Wed, 27 May 2026 13:23:13 -0700 Subject: [PATCH] Update network config schema fixture --- codex-rs/core/config.schema.json | 39 +++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json index 2e8f7fc7cc..143ecc0150 100644 --- a/codex-rs/core/config.schema.json +++ b/codex-rs/core/config.schema.json @@ -1783,13 +1783,36 @@ }, "NetworkProxyMode": { "description": "How Codex should choose an outbound proxy when a future resolver is available.\n\nThis is intentionally configuration-only for now: it establishes the stable spelling used by the resolver work without changing any HTTP routing by itself.", - "enum": [ - "auto", - "env", - "system", - "direct" - ], - "type": "string" + "oneOf": [ + { + "description": "Prefer explicit proxy configuration, then OS/system discovery, then direct.", + "enum": [ + "auto" + ], + "type": "string" + }, + { + "description": "Only honor conventional environment/configured proxy values.", + "enum": [ + "env" + ], + "type": "string" + }, + { + "description": "Prefer OS/system proxy discovery (for example PAC/WPAD) when supported.", + "enum": [ + "system" + ], + "type": "string" + }, + { + "description": "Do not use a proxy for Codex-managed outbound clients.", + "enum": [ + "direct" + ], + "type": "string" + } + ] }, "NetworkProxyModeToml": { "enum": [ @@ -5047,4 +5070,4 @@ }, "title": "ConfigToml", "type": "object" -} \ No newline at end of file +}