Skip to content

Commit 626b1f6

Browse files
github-actions[bot]slapoguzov
authored andcommitted
fix: resolve post-update type and test regressions
1 parent da6f96e commit 626b1f6

2 files changed

Lines changed: 32 additions & 5 deletions

File tree

src/CodexEventHandler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ export class CodexEventHandler {
8888
return null;
8989
case "item/commandExecution/outputDelta":
9090
return this.createCommandOutputDeltaEvent(notification.params);
91+
case "command/exec/outputDelta":
92+
case "hook/started":
93+
case "hook/completed":
94+
return null;
9195
case "item/reasoning/summaryTextDelta": //TODO streaming reasoning?
9296
case "item/reasoning/summaryPartAdded":
9397
//skipped events

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

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@
8282
"id": "id",
8383
"model": "model",
8484
"upgrade": "upgrade",
85-
"upgradeInfo": null,
85+
"upgradeInfo": {
86+
"model": "model",
87+
"upgradeCopy": null,
88+
"modelLink": null,
89+
"migrationMarkdown": "Introducing GPT-5.4\n\nCodex just got an upgrade with GPT-5.4, our most capable model for professional work. It outperforms prior models while being more token efficient, with notable improvements on long-running tasks, tool calling, computer use, and frontend development.\n\nLearn more: https://openai.com/index/introducing-gpt-5-4\n\nYou can always keep using GPT-5.3-Codex if you prefer.\n"
90+
},
8691
"availabilityNux": null,
8792
"displayName": "gpt-5.3-codex",
8893
"description": "Latest frontier agentic coding model.",
@@ -96,6 +101,24 @@
96101
"supportsPersonality": true,
97102
"isDefault": true
98103
},
104+
{
105+
"id": "id",
106+
"model": "model",
107+
"upgrade": "upgrade",
108+
"upgradeInfo": null,
109+
"availabilityNux": null,
110+
"displayName": "gpt-5.4",
111+
"description": "Latest frontier agentic coding model.",
112+
"hidden": false,
113+
"supportedReasoningEfforts": "supportedReasoningEfforts",
114+
"defaultReasoningEffort": "medium",
115+
"inputModalities": [
116+
"text",
117+
"image"
118+
],
119+
"supportsPersonality": true,
120+
"isDefault": false
121+
},
99122
{
100123
"id": "id",
101124
"model": "model",
@@ -104,7 +127,7 @@
104127
"model": "model",
105128
"upgradeCopy": null,
106129
"modelLink": null,
107-
"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"
130+
"migrationMarkdown": "Introducing GPT-5.4\n\nCodex just got an upgrade with GPT-5.4, our most capable model for professional work. It outperforms prior models while being more token efficient, with notable improvements on long-running tasks, tool calling, computer use, and frontend development.\n\nLearn more: https://openai.com/index/introducing-gpt-5-4\n\nYou can always keep using GPT-5.3-Codex if you prefer.\n"
108131
},
109132
"availabilityNux": null,
110133
"displayName": "gpt-5.2-codex",
@@ -127,7 +150,7 @@
127150
"model": "model",
128151
"upgradeCopy": null,
129152
"modelLink": null,
130-
"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"
153+
"migrationMarkdown": "Introducing GPT-5.4\n\nCodex just got an upgrade with GPT-5.4, our most capable model for professional work. It outperforms prior models while being more token efficient, with notable improvements on long-running tasks, tool calling, computer use, and frontend development.\n\nLearn more: https://openai.com/index/introducing-gpt-5-4\n\nYou can always keep using GPT-5.3-Codex if you prefer.\n"
131154
},
132155
"availabilityNux": null,
133156
"displayName": "gpt-5.1-codex-max",
@@ -150,7 +173,7 @@
150173
"model": "model",
151174
"upgradeCopy": null,
152175
"modelLink": null,
153-
"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"
176+
"migrationMarkdown": "Introducing GPT-5.4\n\nCodex just got an upgrade with GPT-5.4, our most capable model for professional work. It outperforms prior models while being more token efficient, with notable improvements on long-running tasks, tool calling, computer use, and frontend development.\n\nLearn more: https://openai.com/index/introducing-gpt-5-4\n\nYou can always keep using GPT-5.3-Codex if you prefer.\n"
154177
},
155178
"availabilityNux": null,
156179
"displayName": "gpt-5.2",
@@ -173,7 +196,7 @@
173196
"model": "model",
174197
"upgradeCopy": null,
175198
"modelLink": null,
176-
"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"
199+
"migrationMarkdown": "Introducing GPT-5.4\n\nCodex just got an upgrade with GPT-5.4, our most capable model for professional work. It outperforms prior models while being more token efficient, with notable improvements on long-running tasks, tool calling, computer use, and frontend development.\n\nLearn more: https://openai.com/index/introducing-gpt-5-4\n\nYou can always keep using GPT-5.3-Codex if you prefer.\n"
177200
},
178201
"availabilityNux": null,
179202
"displayName": "gpt-5.1-codex-mini",

0 commit comments

Comments
 (0)