Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions actions/setup/js/awf_model_routing.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions actions/setup/js/awf_model_routing.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions pkg/constants/version_constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pkg/constants/version_constants_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
Loading