From 30ab8912dd391cc57853d06a97a722e2051f2e2a Mon Sep 17 00:00:00 2001 From: Jan Burzinski <156842394+janburzinski@users.noreply.github.com> Date: Wed, 1 Jul 2026 15:06:34 +0200 Subject: [PATCH 1/3] fix(codex): update model selector --- .../plugins/src/agents/impl/codex/index.ts | 21 +++++++++++-------- .../plugins/src/agents/impl/index.test.ts | 18 ++++++++++++++++ 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/packages/plugins/src/agents/impl/codex/index.ts b/packages/plugins/src/agents/impl/codex/index.ts index c302537c7e..eb1ed7e7be 100644 --- a/packages/plugins/src/agents/impl/codex/index.ts +++ b/packages/plugins/src/agents/impl/codex/index.ts @@ -35,17 +35,20 @@ export const plugin = definePlugin( models: { kind: 'selectable', modelOptions: { - 'codex-mini-latest': { - name: 'Codex Mini', - modelFeatures: { intelligence: 3, speed: 5 }, + 'gpt-5.5': { + name: 'GPT-5.5', + description: 'Recommended Codex model for complex coding and agentic workflows.', + modelFeatures: { intelligence: 5, speed: 3 }, }, - 'o4-mini': { - name: 'o4-mini', - modelFeatures: { intelligence: 4, speed: 4 }, + 'gpt-5.4-mini': { + name: 'GPT-5.4 Mini', + description: 'Faster Codex model for lighter coding tasks and subagents.', + modelFeatures: { intelligence: 4, speed: 5 }, }, - o3: { - name: 'o3', - modelFeatures: { intelligence: 5, speed: 2 }, + 'gpt-5.3-codex-spark': { + name: 'GPT-5.3 Codex Spark', + description: 'Research-preview Codex model optimized for near-instant iteration.', + modelFeatures: { intelligence: 4, speed: 5 }, }, }, }, diff --git a/packages/plugins/src/agents/impl/index.test.ts b/packages/plugins/src/agents/impl/index.test.ts index 7b15bdcb96..9ee84b6d4d 100644 --- a/packages/plugins/src/agents/impl/index.test.ts +++ b/packages/plugins/src/agents/impl/index.test.ts @@ -144,6 +144,24 @@ describe('pluginRegistry', () => { }); }); + it('exposes current Codex models instead of deprecated o-series defaults', () => { + const codex = pluginRegistry.get('codex')!; + + expect(codex.capabilities.models).toMatchObject({ + kind: 'selectable', + modelOptions: { + 'gpt-5.5': { name: 'GPT-5.5' }, + 'gpt-5.4-mini': { name: 'GPT-5.4 Mini' }, + 'gpt-5.3-codex-spark': { name: 'GPT-5.3 Codex Spark' }, + }, + }); + expect(codex.capabilities.models.kind).toBe('selectable'); + if (codex.capabilities.models.kind !== 'selectable') return; + expect(codex.capabilities.models.modelOptions).not.toHaveProperty('codex-mini-latest'); + expect(codex.capabilities.models.modelOptions).not.toHaveProperty('o4-mini'); + expect(codex.capabilities.models.modelOptions).not.toHaveProperty('o3'); + }); + it('uses current Grok docs, npm release source, Windows install, and model flag', () => { const grok = pluginRegistry.get('grok')!; From 27940f45b97f7e5346c0a85dd0004a90f29f544f Mon Sep 17 00:00:00 2001 From: Jan Burzinski <156842394+janburzinski@users.noreply.github.com> Date: Wed, 1 Jul 2026 15:08:37 +0200 Subject: [PATCH 2/3] test(codex): remove model selector coverage --- packages/plugins/src/agents/impl/index.test.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/plugins/src/agents/impl/index.test.ts b/packages/plugins/src/agents/impl/index.test.ts index 9ee84b6d4d..7b15bdcb96 100644 --- a/packages/plugins/src/agents/impl/index.test.ts +++ b/packages/plugins/src/agents/impl/index.test.ts @@ -144,24 +144,6 @@ describe('pluginRegistry', () => { }); }); - it('exposes current Codex models instead of deprecated o-series defaults', () => { - const codex = pluginRegistry.get('codex')!; - - expect(codex.capabilities.models).toMatchObject({ - kind: 'selectable', - modelOptions: { - 'gpt-5.5': { name: 'GPT-5.5' }, - 'gpt-5.4-mini': { name: 'GPT-5.4 Mini' }, - 'gpt-5.3-codex-spark': { name: 'GPT-5.3 Codex Spark' }, - }, - }); - expect(codex.capabilities.models.kind).toBe('selectable'); - if (codex.capabilities.models.kind !== 'selectable') return; - expect(codex.capabilities.models.modelOptions).not.toHaveProperty('codex-mini-latest'); - expect(codex.capabilities.models.modelOptions).not.toHaveProperty('o4-mini'); - expect(codex.capabilities.models.modelOptions).not.toHaveProperty('o3'); - }); - it('uses current Grok docs, npm release source, Windows install, and model flag', () => { const grok = pluginRegistry.get('grok')!; From c01409e681067e2ea6bd04c1845dd2d21bf683f1 Mon Sep 17 00:00:00 2001 From: Jan Burzinski <156842394+janburzinski@users.noreply.github.com> Date: Wed, 1 Jul 2026 15:17:57 +0200 Subject: [PATCH 3/3] fix(codex): lower spark intelligence rating --- packages/plugins/src/agents/impl/codex/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/src/agents/impl/codex/index.ts b/packages/plugins/src/agents/impl/codex/index.ts index eb1ed7e7be..9ca0c5f048 100644 --- a/packages/plugins/src/agents/impl/codex/index.ts +++ b/packages/plugins/src/agents/impl/codex/index.ts @@ -48,7 +48,7 @@ export const plugin = definePlugin( 'gpt-5.3-codex-spark': { name: 'GPT-5.3 Codex Spark', description: 'Research-preview Codex model optimized for near-instant iteration.', - modelFeatures: { intelligence: 4, speed: 5 }, + modelFeatures: { intelligence: 2, speed: 5 }, }, }, },