diff --git a/actions/setup/js/awf_model_routing.cjs b/actions/setup/js/awf_model_routing.cjs index 1ac565b044a..b8af7166f8e 100644 --- a/actions/setup/js/awf_model_routing.cjs +++ b/actions/setup/js/awf_model_routing.cjs @@ -88,8 +88,8 @@ function mapAWFRoutingEffort(engine, effort) { if (engine === "copilot") return { effort, error: null }; const supported = { claude: new Set(["low", "medium", "high", "xhigh", "max"]), - // Reviewed for the pinned Codex 0.166.0 (DefaultCodexVersion): its ReasoningEffort preserves all - // seven AWF routing-contract values unchanged (openai/codex rust-v0.166.0 + // Reviewed for the pinned Codex 0.167.0 (DefaultCodexVersion): its ReasoningEffort preserves all + // seven AWF routing-contract values unchanged (openai/codex rust-v0.167.0 // codex-rs/protocol/src/openai_models.rs). Although Codex also parses ultra, persistent, and // arbitrary non-empty values, they remain outside this routing contract. // Per-model eligibility is AWF's candidate catalogue, not this client-capability list. diff --git a/actions/setup/js/awf_model_routing.test.cjs b/actions/setup/js/awf_model_routing.test.cjs index b5b4cc5aac3..d319ef42d8b 100644 --- a/actions/setup/js/awf_model_routing.test.cjs +++ b/actions/setup/js/awf_model_routing.test.cjs @@ -205,11 +205,11 @@ describe("awf_model_routing.cjs", () => { }); it("codex_routing_effort_contract_requires_pin_review", () => { - // Reviewed pair: Codex 0.166.0 preserves all seven AWF routing-contract efforts unchanged - // (openai/codex rust-v0.166.0 codex-rs/protocol/src/openai_models.rs). Its additional parser + // Reviewed pair: Codex 0.167.0 preserves all seven AWF routing-contract efforts unchanged + // (openai/codex rust-v0.167.0 codex-rs/protocol/src/openai_models.rs). Its additional parser // values remain outside this contract. Both values are hard-coded on purpose; a pin bump must // re-review the Codex entry in mapAWFRoutingEffort. - const reviewedCodexVersion = "0.166.0"; + const reviewedCodexVersion = "0.167.0"; const reviewedCodexEfforts = ["none", "minimal", "low", "medium", "high", "xhigh", "max"]; const versionConstants = fs.readFileSync(new URL("../../../pkg/constants/version_constants.go", import.meta.url), "utf8"); const pinned = versionConstants.match(/^const DefaultCodexVersion Version = "([^"]+)"/m)?.[1]; diff --git a/pkg/constants/version_constants.go b/pkg/constants/version_constants.go index 813736ea66d..7f0b77514d0 100644 --- a/pkg/constants/version_constants.go +++ b/pkg/constants/version_constants.go @@ -32,7 +32,7 @@ func (v Version) IsValid() bool { type ModelName string // DefaultClaudeCodeVersion is the default version of the Claude Code CLI. -const DefaultClaudeCodeVersion Version = "2.1.317" +const DefaultClaudeCodeVersion Version = "2.1.319" // DefaultCopilotVersion is the default version of the GitHub Copilot CLI. // @@ -55,7 +55,7 @@ const CopilotSessionIDMinVersion Version = "1.0.35" const DefaultCopilotSDKVersion Version = "1.0.16" // DefaultCodexVersion is the default version of the OpenAI Codex CLI -const DefaultCodexVersion Version = "0.166.0" +const DefaultCodexVersion Version = "0.167.0" // DefaultGeminiVersion is the default version of the Google Gemini CLI const DefaultGeminiVersion Version = "0.64.0" diff --git a/pkg/constants/version_constants_test.go b/pkg/constants/version_constants_test.go index 1bea6050979..7f037f021c4 100644 --- a/pkg/constants/version_constants_test.go +++ b/pkg/constants/version_constants_test.go @@ -15,10 +15,10 @@ func TestDefaultCLIMCPVersions(t *testing.T) { got Version want Version }{ - {"Claude Code", DefaultClaudeCodeVersion, "2.1.317"}, + {"Claude Code", DefaultClaudeCodeVersion, "2.1.319"}, {"Copilot CLI", DefaultCopilotVersion, "1.0.103"}, {"Copilot SDK", DefaultCopilotSDKVersion, "1.0.16"}, - {"Codex", DefaultCodexVersion, "0.166.0"}, + {"Codex", DefaultCodexVersion, "0.167.0"}, {"Gemini CLI", DefaultGeminiVersion, "0.64.0"}, {"Agy CLI", DefaultAgyVersion, "1.3.6"}, {"Pi CLI", DefaultPiVersion, "1.5.0"},