Skip to content

Commit a077f28

Browse files
fix(server): match bundled compatibility ranges to main's adapters
Main's Codex adapter has no version-gated app-server call, so Codex gets no entry. Claude's supported floor follows the newest model (2.1.280). Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent dcdfdd5 commit a077f28

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

‎apps/server/src/provider/model-manifest.json‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,10 @@
1313
"antigravity": ["gemini-3.8-flash-high", "gemini-3.8-flash-medium", "gemini-3.8-flash-low"]
1414
},
1515
"compatibility": {
16-
"codex": [
17-
{
18-
"ranges": [
19-
{ "range": ">=0.141.0", "status": "supported" },
20-
{
21-
"range": "<0.141.0",
22-
"status": "unsupported",
23-
"message": "This Codex version lacks app-server APIs T3 Code uses, such as stopping background terminals. Update Codex to 0.141 or newer."
24-
}
25-
]
26-
}
27-
],
2816
"claudeAgent": [
2917
{
3018
"ranges": [
31-
{ "range": ">=2.1.257", "status": "supported" },
19+
{ "range": ">=2.1.280", "status": "supported" },
3220
{
3321
"range": ">=2.1.111",
3422
"status": "graceful",

‎apps/server/src/provider/providerCompatibility.test.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ describe("evaluateProviderCompatibility", () => {
108108
const bundled = decode(bundledManifest.compatibility);
109109
const check = (driver: string, version: string) =>
110110
evaluateProviderCompatibility({ compatibility: bundled, driver, version })?.status;
111-
expect(check("codex", "0.141.0")).toBe("supported");
112-
expect(check("codex", "0.140.0")).toBe("unsupported");
113-
expect(check("claudeAgent", "2.1.257")).toBe("supported");
114-
expect(check("claudeAgent", "2.1.200")).toBe("graceful");
111+
expect(check("claudeAgent", "2.1.280")).toBe("supported");
112+
expect(check("claudeAgent", "2.1.257")).toBe("graceful");
113+
expect(check("codex", "0.100.0")).toBeUndefined();
115114
expect(check("claudeAgent", "2.1.100")).toBe("unsupported");
116115
});
117116
});

0 commit comments

Comments
 (0)