Skip to content

Commit fcfe17c

Browse files
codex-acp-ci-app[bot]github-actions[bot]NikolaiSviridov
authored
Update codex to 0.107.0 (#50)
* Update codex to 0.107.0 * fix typecheck for codex update 0.107.0 * update test files * update test files --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nikolai.Sviridov <nikolai.sviridov@jetbrains.com>
1 parent a50043e commit fcfe17c

18 files changed

Lines changed: 118 additions & 40 deletions

package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"license": "ISC",
2929
"type": "module",
3030
"devDependencies": {
31-
"@openai/codex": "^0.106.0",
31+
"@openai/codex": "^0.107.0",
3232
"@types/node": "^24.10.1",
3333
"mcp-hello-world": "^1.1.2",
3434
"tsx": "^4.20.6",

src/CodexEventHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class CodexEventHandler {
9696
case "item/commandExecution/terminalInteraction":
9797
case "item/fileChange/outputDelta":
9898
case "item/mcpToolCall/progress":
99+
case "serverRequest/resolved":
99100
case "account/updated":
100101
return null;
101102
case "account/rateLimits/updated":

src/__tests__/CodexACPAgent/CodexAcpClient.test.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ describe('ACP server test', { timeout: 40_000 }, () => {
125125
id: "gpt-5",
126126
model: "gpt-5",
127127
upgrade: null,
128+
upgradeInfo: null,
129+
availabilityNux: null,
128130
displayName: "gpt-5",
129131
description: "test model",
130132
hidden: false,
@@ -539,6 +541,9 @@ describe('ACP server test', { timeout: 40_000 }, () => {
539541
{
540542
id: '5.2-codex',
541543
model: '5.2-codex',
544+
upgrade: null,
545+
upgradeInfo: null,
546+
availabilityNux: null,
542547
displayName: 'Codex 5.2',
543548
description: 'Coding model',
544549
hidden: false,
@@ -549,12 +554,14 @@ describe('ACP server test', { timeout: 40_000 }, () => {
549554
defaultReasoningEffort: 'medium',
550555
supportsPersonality: false,
551556
isDefault: false,
552-
upgrade: null,
553557
inputModalities: []
554558
},
555559
{
556560
id: '5.1',
557561
model: '5.1',
562+
upgrade: null,
563+
upgradeInfo: null,
564+
availabilityNux: null,
558565
displayName: 'Standard 5.1',
559566
description: 'Standard model',
560567
hidden: false,
@@ -564,7 +571,6 @@ describe('ACP server test', { timeout: 40_000 }, () => {
564571
defaultReasoningEffort: 'low',
565572
supportsPersonality: false,
566573
isDefault: true,
567-
upgrade: null,
568574
inputModalities: []
569575
}
570576
];

src/__tests__/CodexACPAgent/data/auth-with-key.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
"id": "id",
9393
"model": "model",
9494
"upgrade": "upgrade",
95+
"upgradeInfo": null,
96+
"availabilityNux": null,
9597
"displayName": "gpt-5.3-codex",
9698
"description": "Latest frontier agentic coding model.",
9799
"hidden": false,
@@ -108,6 +110,13 @@
108110
"id": "id",
109111
"model": "model",
110112
"upgrade": "upgrade",
113+
"upgradeInfo": {
114+
"model": "model",
115+
"upgradeCopy": null,
116+
"modelLink": null,
117+
"migrationMarkdown": "**Codex just got an upgrade. Introducing {model_to}.**\n\nCodex is now powered by {model_to}, our most capable agentic coding model yet. It's built for long-running, project-scale work, with mid-turn steering + frequent progress updates so you can collaborate while it runs (and it's faster too).\n\nLearn more: https://openai.com/index/introducing-gpt-5-3-codex/\n\nYou can keep using {model_from} if you prefer.\n"
118+
},
119+
"availabilityNux": null,
111120
"displayName": "gpt-5.2-codex",
112121
"description": "Frontier agentic coding model.",
113122
"hidden": false,
@@ -124,6 +133,13 @@
124133
"id": "id",
125134
"model": "model",
126135
"upgrade": "upgrade",
136+
"upgradeInfo": {
137+
"model": "model",
138+
"upgradeCopy": null,
139+
"modelLink": null,
140+
"migrationMarkdown": "**Codex just got an upgrade. Introducing {model_to}.**\n\nCodex is now powered by {model_to}, our most capable agentic coding model yet. It's built for long-running, project-scale work, with mid-turn steering + frequent progress updates so you can collaborate while it runs (and it's faster too).\n\nLearn more: https://openai.com/index/introducing-gpt-5-3-codex/\n\nYou can keep using {model_from} if you prefer.\n"
141+
},
142+
"availabilityNux": null,
127143
"displayName": "gpt-5.1-codex-max",
128144
"description": "Codex-optimized flagship for deep and fast reasoning.",
129145
"hidden": false,
@@ -140,6 +156,13 @@
140156
"id": "id",
141157
"model": "model",
142158
"upgrade": "upgrade",
159+
"upgradeInfo": {
160+
"model": "model",
161+
"upgradeCopy": null,
162+
"modelLink": null,
163+
"migrationMarkdown": "**Codex just got an upgrade. Introducing {model_to}.**\n\nCodex is now powered by {model_to}, our most capable agentic coding model yet. It's built for long-running, project-scale work, with mid-turn steering + frequent progress updates so you can collaborate while it runs (and it's faster too).\n\nLearn more: https://openai.com/index/introducing-gpt-5-3-codex/\n\nYou can keep using {model_from} if you prefer.\n"
164+
},
165+
"availabilityNux": null,
143166
"displayName": "gpt-5.2",
144167
"description": "Latest frontier model with improvements across knowledge, reasoning and coding",
145168
"hidden": false,
@@ -156,6 +179,13 @@
156179
"id": "id",
157180
"model": "model",
158181
"upgrade": "upgrade",
182+
"upgradeInfo": {
183+
"model": "model",
184+
"upgradeCopy": null,
185+
"modelLink": null,
186+
"migrationMarkdown": "**Codex just got an upgrade. Introducing {model_to}.**\n\nCodex is now powered by {model_to}, our most capable agentic coding model yet. It's built for long-running, project-scale work, with mid-turn steering + frequent progress updates so you can collaborate while it runs (and it's faster too).\n\nLearn more: https://openai.com/index/introducing-gpt-5-3-codex/\n\nYou can keep using {model_from} if you prefer.\n"
187+
},
188+
"availabilityNux": null,
159189
"displayName": "gpt-5.1-codex-mini",
160190
"description": "Optimized for codex. Cheaper, faster, but less capable.",
161191
"hidden": false,

src/__tests__/CodexACPAgent/list-sessions.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ describe("CodexACPAgent - list sessions", () => {
1515
const threadA: Thread = {
1616
id: "sess-1",
1717
preview: "First session",
18+
ephemeral: false,
1819
modelProvider: "openai",
1920
createdAt: 100,
2021
updatedAt: 200,
@@ -32,6 +33,7 @@ describe("CodexACPAgent - list sessions", () => {
3233
const threadB: Thread = {
3334
id: "sess-2",
3435
preview: "Other session",
36+
ephemeral: false,
3537
modelProvider: "openai",
3638
createdAt: 300,
3739
updatedAt: 400,

src/__tests__/CodexACPAgent/load-session.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ describe("CodexACPAgent - loadSession", () => {
2222
id: "gpt-5.2",
2323
model: "gpt-5.2",
2424
upgrade: null,
25+
upgradeInfo: null,
26+
availabilityNux: null,
2527
displayName: "GPT-5.2",
2628
description: "Test model",
2729
hidden: false,
@@ -42,6 +44,7 @@ describe("CodexACPAgent - loadSession", () => {
4244
const thread: Thread = {
4345
id: "session-1",
4446
preview: "Hi",
47+
ephemeral: false,
4548
modelProvider: "openai",
4649
createdAt: 123,
4750
updatedAt: 124,

src/__tests__/CodexACPAgent/model-filtering.test.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,53 +16,61 @@ describe("Model filtering", () => {
1616
{
1717
id: "gpt-5.2",
1818
model: "gpt-5.2-model-field",
19+
upgrade: null,
20+
upgradeInfo: null,
21+
availabilityNux: null,
1922
displayName: "GPT-5.2",
2023
description: "Allowed by id.",
2124
hidden: false,
2225
supportedReasoningEfforts: efforts,
2326
defaultReasoningEffort: "medium",
2427
supportsPersonality: false,
2528
isDefault: false,
26-
upgrade: null,
2729
inputModalities: []
2830
},
2931
{
3032
id: "other-id",
3133
model: "gpt-5.2",
34+
upgrade: null,
35+
upgradeInfo: null,
36+
availabilityNux: null,
3237
displayName: "gpt-5.2",
3338
description: "Allowed",
3439
hidden: false,
3540
supportedReasoningEfforts: [defaultEffort],
3641
defaultReasoningEffort: "medium",
3742
supportsPersonality: false,
3843
isDefault: false,
39-
upgrade: null,
4044
inputModalities: []
4145
},
4246
{
4347
id: "gpt-5.1-codex-mini",
4448
model: "other-model",
49+
upgrade: null,
50+
upgradeInfo: null,
51+
availabilityNux: null,
4552
displayName: "Other",
4653
description: "Allowed by id.",
4754
hidden: false,
4855
supportedReasoningEfforts: [defaultEffort],
4956
defaultReasoningEffort: "medium",
5057
supportsPersonality: false,
5158
isDefault: false,
52-
upgrade: null,
5359
inputModalities: []
5460
},
5561
{
5662
id: "gpt-4o",
5763
model: "gpt-4o",
64+
upgrade: null,
65+
upgradeInfo: null,
66+
availabilityNux: null,
5867
displayName: "gpt-4o",
5968
description: "Allowed.",
6069
hidden: false,
6170
supportedReasoningEfforts: [defaultEffort],
6271
defaultReasoningEffort: "medium",
6372
supportsPersonality: false,
6473
isDefault: false,
65-
upgrade: null,
6674
inputModalities: []
6775
},
6876
];
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// GENERATED CODE! DO NOT MODIFY BY HAND!
22

33
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
4+
import type { AbsolutePathBuf } from "./AbsolutePathBuf";
45

5-
export type FileSystemPermissions = { read: Array<string> | null, write: Array<string> | null, };
6+
export type FileSystemPermissions = { read: Array<AbsolutePathBuf> | null, write: Array<AbsolutePathBuf> | null, };

src/app-server/ResponseItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export type ResponseItem = { "type": "message", role: string, content: Array<Con
1515
/**
1616
* Set when using the Responses API.
1717
*/
18-
call_id: string | null, status: LocalShellStatus, action: LocalShellAction, } | { "type": "function_call", name: string, arguments: string, call_id: string, } | { "type": "function_call_output", call_id: string, output: FunctionCallOutputPayload, } | { "type": "custom_tool_call", status?: string, call_id: string, name: string, input: string, } | { "type": "custom_tool_call_output", call_id: string, output: string, } | { "type": "web_search_call", status?: string, action?: WebSearchAction, } | { "type": "ghost_snapshot", ghost_commit: GhostCommit, } | { "type": "compaction", encrypted_content: string, } | { "type": "other" };
18+
call_id: string | null, status: LocalShellStatus, action: LocalShellAction, } | { "type": "function_call", name: string, arguments: string, call_id: string, } | { "type": "function_call_output", call_id: string, output: FunctionCallOutputPayload, } | { "type": "custom_tool_call", status?: string, call_id: string, name: string, input: string, } | { "type": "custom_tool_call_output", call_id: string, output: FunctionCallOutputPayload, } | { "type": "web_search_call", status?: string, action?: WebSearchAction, } | { "type": "ghost_snapshot", ghost_commit: GhostCommit, } | { "type": "compaction", encrypted_content: string, } | { "type": "other" };

0 commit comments

Comments
 (0)