mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-06 09:53:07 +00:00
chore: update Codex SDK to version 0.98.0 and add GPT-5.3-Codex model
- Upgraded @openai/codex-sdk from version 0.77.0 to 0.98.0 in package-lock.json and package.json. - Introduced new model 'GPT-5.3-Codex' with enhanced capabilities in codex-models.ts and related files. - Updated descriptions for existing models to reflect their latest features and improvements. - Adjusted Codex model configuration and display to include the new model and its attributes. These changes enhance the Codex model offerings and ensure compatibility with the latest SDK version.
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
"@automaker/utils": "1.0.0",
|
"@automaker/utils": "1.0.0",
|
||||||
"@github/copilot-sdk": "^0.1.16",
|
"@github/copilot-sdk": "^0.1.16",
|
||||||
"@modelcontextprotocol/sdk": "1.25.2",
|
"@modelcontextprotocol/sdk": "1.25.2",
|
||||||
"@openai/codex-sdk": "^0.77.0",
|
"@openai/codex-sdk": "^0.98.0",
|
||||||
"cookie-parser": "1.4.7",
|
"cookie-parser": "1.4.7",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"dotenv": "17.2.3",
|
"dotenv": "17.2.3",
|
||||||
|
|||||||
@@ -19,12 +19,11 @@ const MAX_OUTPUT_16K = 16000;
|
|||||||
export const CODEX_MODELS: ModelDefinition[] = [
|
export const CODEX_MODELS: ModelDefinition[] = [
|
||||||
// ========== Recommended Codex Models ==========
|
// ========== Recommended Codex Models ==========
|
||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt52Codex,
|
id: CODEX_MODEL_MAP.gpt53Codex,
|
||||||
name: 'GPT-5.2-Codex',
|
name: 'GPT-5.3-Codex',
|
||||||
modelString: CODEX_MODEL_MAP.gpt52Codex,
|
modelString: CODEX_MODEL_MAP.gpt53Codex,
|
||||||
provider: 'openai',
|
provider: 'openai',
|
||||||
description:
|
description: 'Latest frontier agentic coding model.',
|
||||||
'Most advanced agentic coding model for complex software engineering (default for ChatGPT users).',
|
|
||||||
contextWindow: CONTEXT_WINDOW_256K,
|
contextWindow: CONTEXT_WINDOW_256K,
|
||||||
maxOutputTokens: MAX_OUTPUT_32K,
|
maxOutputTokens: MAX_OUTPUT_32K,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
@@ -33,12 +32,25 @@ export const CODEX_MODELS: ModelDefinition[] = [
|
|||||||
default: true,
|
default: true,
|
||||||
hasReasoning: true,
|
hasReasoning: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: CODEX_MODEL_MAP.gpt52Codex,
|
||||||
|
name: 'GPT-5.2-Codex',
|
||||||
|
modelString: CODEX_MODEL_MAP.gpt52Codex,
|
||||||
|
provider: 'openai',
|
||||||
|
description: 'Frontier agentic coding model.',
|
||||||
|
contextWindow: CONTEXT_WINDOW_256K,
|
||||||
|
maxOutputTokens: MAX_OUTPUT_32K,
|
||||||
|
supportsVision: true,
|
||||||
|
supportsTools: true,
|
||||||
|
tier: 'premium' as const,
|
||||||
|
hasReasoning: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt51CodexMax,
|
id: CODEX_MODEL_MAP.gpt51CodexMax,
|
||||||
name: 'GPT-5.1-Codex-Max',
|
name: 'GPT-5.1-Codex-Max',
|
||||||
modelString: CODEX_MODEL_MAP.gpt51CodexMax,
|
modelString: CODEX_MODEL_MAP.gpt51CodexMax,
|
||||||
provider: 'openai',
|
provider: 'openai',
|
||||||
description: 'Optimized for long-horizon, agentic coding tasks in Codex.',
|
description: 'Codex-optimized flagship for deep and fast reasoning.',
|
||||||
contextWindow: CONTEXT_WINDOW_256K,
|
contextWindow: CONTEXT_WINDOW_256K,
|
||||||
maxOutputTokens: MAX_OUTPUT_32K,
|
maxOutputTokens: MAX_OUTPUT_32K,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
@@ -51,7 +63,7 @@ export const CODEX_MODELS: ModelDefinition[] = [
|
|||||||
name: 'GPT-5.1-Codex-Mini',
|
name: 'GPT-5.1-Codex-Mini',
|
||||||
modelString: CODEX_MODEL_MAP.gpt51CodexMini,
|
modelString: CODEX_MODEL_MAP.gpt51CodexMini,
|
||||||
provider: 'openai',
|
provider: 'openai',
|
||||||
description: 'Smaller, more cost-effective version for faster workflows.',
|
description: 'Optimized for codex. Cheaper, faster, but less capable.',
|
||||||
contextWindow: CONTEXT_WINDOW_128K,
|
contextWindow: CONTEXT_WINDOW_128K,
|
||||||
maxOutputTokens: MAX_OUTPUT_16K,
|
maxOutputTokens: MAX_OUTPUT_16K,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
@@ -66,7 +78,7 @@ export const CODEX_MODELS: ModelDefinition[] = [
|
|||||||
name: 'GPT-5.2',
|
name: 'GPT-5.2',
|
||||||
modelString: CODEX_MODEL_MAP.gpt52,
|
modelString: CODEX_MODEL_MAP.gpt52,
|
||||||
provider: 'openai',
|
provider: 'openai',
|
||||||
description: 'Best general agentic model for tasks across industries and domains.',
|
description: 'Latest frontier model with improvements across knowledge, reasoning and coding.',
|
||||||
contextWindow: CONTEXT_WINDOW_256K,
|
contextWindow: CONTEXT_WINDOW_256K,
|
||||||
maxOutputTokens: MAX_OUTPUT_32K,
|
maxOutputTokens: MAX_OUTPUT_32K,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
|
|||||||
@@ -27,25 +27,30 @@ interface CodexModelInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const CODEX_MODEL_INFO: Record<CodexModelId, CodexModelInfo> = {
|
const CODEX_MODEL_INFO: Record<CodexModelId, CodexModelInfo> = {
|
||||||
|
'codex-gpt-5.3-codex': {
|
||||||
|
id: 'codex-gpt-5.3-codex',
|
||||||
|
label: 'GPT-5.3-Codex',
|
||||||
|
description: 'Latest frontier agentic coding model',
|
||||||
|
},
|
||||||
'codex-gpt-5.2-codex': {
|
'codex-gpt-5.2-codex': {
|
||||||
id: 'codex-gpt-5.2-codex',
|
id: 'codex-gpt-5.2-codex',
|
||||||
label: 'GPT-5.2-Codex',
|
label: 'GPT-5.2-Codex',
|
||||||
description: 'Most advanced agentic coding model for complex software engineering',
|
description: 'Frontier agentic coding model',
|
||||||
},
|
},
|
||||||
'codex-gpt-5.1-codex-max': {
|
'codex-gpt-5.1-codex-max': {
|
||||||
id: 'codex-gpt-5.1-codex-max',
|
id: 'codex-gpt-5.1-codex-max',
|
||||||
label: 'GPT-5.1-Codex-Max',
|
label: 'GPT-5.1-Codex-Max',
|
||||||
description: 'Optimized for long-horizon, agentic coding tasks in Codex',
|
description: 'Codex-optimized flagship for deep and fast reasoning',
|
||||||
},
|
},
|
||||||
'codex-gpt-5.1-codex-mini': {
|
'codex-gpt-5.1-codex-mini': {
|
||||||
id: 'codex-gpt-5.1-codex-mini',
|
id: 'codex-gpt-5.1-codex-mini',
|
||||||
label: 'GPT-5.1-Codex-Mini',
|
label: 'GPT-5.1-Codex-Mini',
|
||||||
description: 'Smaller, more cost-effective version for faster workflows',
|
description: 'Optimized for codex. Cheaper, faster, but less capable',
|
||||||
},
|
},
|
||||||
'codex-gpt-5.2': {
|
'codex-gpt-5.2': {
|
||||||
id: 'codex-gpt-5.2',
|
id: 'codex-gpt-5.2',
|
||||||
label: 'GPT-5.2',
|
label: 'GPT-5.2',
|
||||||
description: 'Best general agentic model for tasks across industries and domains',
|
description: 'Latest frontier model with improvements across knowledge, reasoning and coding',
|
||||||
},
|
},
|
||||||
'codex-gpt-5.1': {
|
'codex-gpt-5.1': {
|
||||||
id: 'codex-gpt-5.1',
|
id: 'codex-gpt-5.1',
|
||||||
@@ -160,6 +165,7 @@ export function CodexModelConfiguration({
|
|||||||
|
|
||||||
function supportsReasoningEffort(modelId: string): boolean {
|
function supportsReasoningEffort(modelId: string): boolean {
|
||||||
const reasoningModels = [
|
const reasoningModels = [
|
||||||
|
'codex-gpt-5.3-codex',
|
||||||
'codex-gpt-5.2-codex',
|
'codex-gpt-5.2-codex',
|
||||||
'codex-gpt-5.1-codex-max',
|
'codex-gpt-5.1-codex-max',
|
||||||
'codex-gpt-5.2',
|
'codex-gpt-5.2',
|
||||||
|
|||||||
@@ -54,13 +54,19 @@ export function getClaudeCliPaths(): string[] {
|
|||||||
|
|
||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
const appData = process.env.APPDATA || path.join(os.homedir(), 'AppData', 'Roaming');
|
const appData = process.env.APPDATA || path.join(os.homedir(), 'AppData', 'Roaming');
|
||||||
return [
|
const nvmSymlink = process.env.NVM_SYMLINK;
|
||||||
|
const paths = [
|
||||||
path.join(os.homedir(), '.local', 'bin', 'claude.exe'),
|
path.join(os.homedir(), '.local', 'bin', 'claude.exe'),
|
||||||
path.join(appData, 'npm', 'claude.cmd'),
|
path.join(appData, 'npm', 'claude.cmd'),
|
||||||
path.join(appData, 'npm', 'claude'),
|
path.join(appData, 'npm', 'claude'),
|
||||||
path.join(appData, '.npm-global', 'bin', 'claude.cmd'),
|
path.join(appData, '.npm-global', 'bin', 'claude.cmd'),
|
||||||
path.join(appData, '.npm-global', 'bin', 'claude'),
|
path.join(appData, '.npm-global', 'bin', 'claude'),
|
||||||
];
|
];
|
||||||
|
// nvm4w (NVM for Windows) symlink path
|
||||||
|
if (nvmSymlink) {
|
||||||
|
paths.push(path.join(nvmSymlink, 'claude.cmd'), path.join(nvmSymlink, 'claude'));
|
||||||
|
}
|
||||||
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
@@ -130,7 +136,8 @@ export function getCodexCliPaths(): string[] {
|
|||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
const appData = process.env.APPDATA || path.join(homeDir, 'AppData', 'Roaming');
|
const appData = process.env.APPDATA || path.join(homeDir, 'AppData', 'Roaming');
|
||||||
const localAppData = process.env.LOCALAPPDATA || path.join(homeDir, 'AppData', 'Local');
|
const localAppData = process.env.LOCALAPPDATA || path.join(homeDir, 'AppData', 'Local');
|
||||||
return [
|
const nvmSymlink = process.env.NVM_SYMLINK;
|
||||||
|
const paths = [
|
||||||
path.join(homeDir, '.local', 'bin', 'codex.exe'),
|
path.join(homeDir, '.local', 'bin', 'codex.exe'),
|
||||||
path.join(appData, 'npm', 'codex.cmd'),
|
path.join(appData, 'npm', 'codex.cmd'),
|
||||||
path.join(appData, 'npm', 'codex'),
|
path.join(appData, 'npm', 'codex'),
|
||||||
@@ -142,6 +149,11 @@ export function getCodexCliPaths(): string[] {
|
|||||||
path.join(localAppData, 'pnpm', 'codex.cmd'),
|
path.join(localAppData, 'pnpm', 'codex.cmd'),
|
||||||
path.join(localAppData, 'pnpm', 'codex'),
|
path.join(localAppData, 'pnpm', 'codex'),
|
||||||
];
|
];
|
||||||
|
// nvm4w (NVM for Windows) symlink path
|
||||||
|
if (nvmSymlink) {
|
||||||
|
paths.push(path.join(nvmSymlink, 'codex.cmd'), path.join(nvmSymlink, 'codex'));
|
||||||
|
}
|
||||||
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Include NVM bin paths for codex installed via npm global under NVM
|
// Include NVM bin paths for codex installed via npm global under NVM
|
||||||
@@ -1126,7 +1138,8 @@ export function getOpenCodeCliPaths(): string[] {
|
|||||||
if (isWindows) {
|
if (isWindows) {
|
||||||
const appData = process.env.APPDATA || path.join(homeDir, 'AppData', 'Roaming');
|
const appData = process.env.APPDATA || path.join(homeDir, 'AppData', 'Roaming');
|
||||||
const localAppData = process.env.LOCALAPPDATA || path.join(homeDir, 'AppData', 'Local');
|
const localAppData = process.env.LOCALAPPDATA || path.join(homeDir, 'AppData', 'Local');
|
||||||
return [
|
const nvmSymlink = process.env.NVM_SYMLINK;
|
||||||
|
const paths = [
|
||||||
// OpenCode's default installation directory
|
// OpenCode's default installation directory
|
||||||
path.join(homeDir, '.opencode', 'bin', 'opencode.exe'),
|
path.join(homeDir, '.opencode', 'bin', 'opencode.exe'),
|
||||||
path.join(homeDir, '.local', 'bin', 'opencode.exe'),
|
path.join(homeDir, '.local', 'bin', 'opencode.exe'),
|
||||||
@@ -1143,6 +1156,11 @@ export function getOpenCodeCliPaths(): string[] {
|
|||||||
path.join(homeDir, 'go', 'bin', 'opencode.exe'),
|
path.join(homeDir, 'go', 'bin', 'opencode.exe'),
|
||||||
path.join(process.env.GOPATH || path.join(homeDir, 'go'), 'bin', 'opencode.exe'),
|
path.join(process.env.GOPATH || path.join(homeDir, 'go'), 'bin', 'opencode.exe'),
|
||||||
];
|
];
|
||||||
|
// nvm4w (NVM for Windows) symlink path
|
||||||
|
if (nvmSymlink) {
|
||||||
|
paths.push(path.join(nvmSymlink, 'opencode.cmd'), path.join(nvmSymlink, 'opencode'));
|
||||||
|
}
|
||||||
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Include NVM bin paths for opencode installed via npm global under NVM
|
// Include NVM bin paths for opencode installed via npm global under NVM
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
* IMPORTANT: All Codex models use 'codex-' prefix to distinguish from Cursor CLI models
|
* IMPORTANT: All Codex models use 'codex-' prefix to distinguish from Cursor CLI models
|
||||||
*/
|
*/
|
||||||
export type CodexModelId =
|
export type CodexModelId =
|
||||||
|
| 'codex-gpt-5.3-codex'
|
||||||
| 'codex-gpt-5.2-codex'
|
| 'codex-gpt-5.2-codex'
|
||||||
| 'codex-gpt-5.1-codex-max'
|
| 'codex-gpt-5.1-codex-max'
|
||||||
| 'codex-gpt-5.1-codex-mini'
|
| 'codex-gpt-5.1-codex-mini'
|
||||||
@@ -29,31 +30,38 @@ export interface CodexModelConfig {
|
|||||||
* All keys use 'codex-' prefix to distinguish from Cursor CLI models
|
* All keys use 'codex-' prefix to distinguish from Cursor CLI models
|
||||||
*/
|
*/
|
||||||
export const CODEX_MODEL_CONFIG_MAP: Record<CodexModelId, CodexModelConfig> = {
|
export const CODEX_MODEL_CONFIG_MAP: Record<CodexModelId, CodexModelConfig> = {
|
||||||
|
'codex-gpt-5.3-codex': {
|
||||||
|
id: 'codex-gpt-5.3-codex',
|
||||||
|
label: 'GPT-5.3-Codex',
|
||||||
|
description: 'Latest frontier agentic coding model',
|
||||||
|
hasThinking: true,
|
||||||
|
supportsVision: true,
|
||||||
|
},
|
||||||
'codex-gpt-5.2-codex': {
|
'codex-gpt-5.2-codex': {
|
||||||
id: 'codex-gpt-5.2-codex',
|
id: 'codex-gpt-5.2-codex',
|
||||||
label: 'GPT-5.2-Codex',
|
label: 'GPT-5.2-Codex',
|
||||||
description: 'Most advanced agentic coding model for complex software engineering',
|
description: 'Frontier agentic coding model',
|
||||||
hasThinking: true,
|
hasThinking: true,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
},
|
},
|
||||||
'codex-gpt-5.1-codex-max': {
|
'codex-gpt-5.1-codex-max': {
|
||||||
id: 'codex-gpt-5.1-codex-max',
|
id: 'codex-gpt-5.1-codex-max',
|
||||||
label: 'GPT-5.1-Codex-Max',
|
label: 'GPT-5.1-Codex-Max',
|
||||||
description: 'Optimized for long-horizon, agentic coding tasks in Codex',
|
description: 'Codex-optimized flagship for deep and fast reasoning',
|
||||||
hasThinking: true,
|
hasThinking: true,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
},
|
},
|
||||||
'codex-gpt-5.1-codex-mini': {
|
'codex-gpt-5.1-codex-mini': {
|
||||||
id: 'codex-gpt-5.1-codex-mini',
|
id: 'codex-gpt-5.1-codex-mini',
|
||||||
label: 'GPT-5.1-Codex-Mini',
|
label: 'GPT-5.1-Codex-Mini',
|
||||||
description: 'Smaller, more cost-effective version for faster workflows',
|
description: 'Optimized for codex. Cheaper, faster, but less capable',
|
||||||
hasThinking: false,
|
hasThinking: false,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
},
|
},
|
||||||
'codex-gpt-5.2': {
|
'codex-gpt-5.2': {
|
||||||
id: 'codex-gpt-5.2',
|
id: 'codex-gpt-5.2',
|
||||||
label: 'GPT-5.2 (Codex)',
|
label: 'GPT-5.2 (Codex)',
|
||||||
description: 'Best general agentic model for tasks across industries and domains via Codex',
|
description: 'Latest frontier model with improvements across knowledge, reasoning and coding',
|
||||||
hasThinking: true,
|
hasThinking: true,
|
||||||
supportsVision: true,
|
supportsVision: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -72,10 +72,18 @@ export const CLAUDE_MODELS: ModelOption[] = [
|
|||||||
* Official models from https://developers.openai.com/codex/models/
|
* Official models from https://developers.openai.com/codex/models/
|
||||||
*/
|
*/
|
||||||
export const CODEX_MODELS: (ModelOption & { hasReasoning?: boolean })[] = [
|
export const CODEX_MODELS: (ModelOption & { hasReasoning?: boolean })[] = [
|
||||||
|
{
|
||||||
|
id: CODEX_MODEL_MAP.gpt53Codex,
|
||||||
|
label: 'GPT-5.3-Codex',
|
||||||
|
description: 'Latest frontier agentic coding model.',
|
||||||
|
badge: 'Premium',
|
||||||
|
provider: 'codex',
|
||||||
|
hasReasoning: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt52Codex,
|
id: CODEX_MODEL_MAP.gpt52Codex,
|
||||||
label: 'GPT-5.2-Codex',
|
label: 'GPT-5.2-Codex',
|
||||||
description: 'Most advanced agentic coding model for complex software engineering.',
|
description: 'Frontier agentic coding model.',
|
||||||
badge: 'Premium',
|
badge: 'Premium',
|
||||||
provider: 'codex',
|
provider: 'codex',
|
||||||
hasReasoning: true,
|
hasReasoning: true,
|
||||||
@@ -83,7 +91,7 @@ export const CODEX_MODELS: (ModelOption & { hasReasoning?: boolean })[] = [
|
|||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt51CodexMax,
|
id: CODEX_MODEL_MAP.gpt51CodexMax,
|
||||||
label: 'GPT-5.1-Codex-Max',
|
label: 'GPT-5.1-Codex-Max',
|
||||||
description: 'Optimized for long-horizon, agentic coding tasks in Codex.',
|
description: 'Codex-optimized flagship for deep and fast reasoning.',
|
||||||
badge: 'Premium',
|
badge: 'Premium',
|
||||||
provider: 'codex',
|
provider: 'codex',
|
||||||
hasReasoning: true,
|
hasReasoning: true,
|
||||||
@@ -91,7 +99,7 @@ export const CODEX_MODELS: (ModelOption & { hasReasoning?: boolean })[] = [
|
|||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt51CodexMini,
|
id: CODEX_MODEL_MAP.gpt51CodexMini,
|
||||||
label: 'GPT-5.1-Codex-Mini',
|
label: 'GPT-5.1-Codex-Mini',
|
||||||
description: 'Smaller, more cost-effective version for faster workflows.',
|
description: 'Optimized for codex. Cheaper, faster, but less capable.',
|
||||||
badge: 'Speed',
|
badge: 'Speed',
|
||||||
provider: 'codex',
|
provider: 'codex',
|
||||||
hasReasoning: false,
|
hasReasoning: false,
|
||||||
@@ -99,7 +107,7 @@ export const CODEX_MODELS: (ModelOption & { hasReasoning?: boolean })[] = [
|
|||||||
{
|
{
|
||||||
id: CODEX_MODEL_MAP.gpt52,
|
id: CODEX_MODEL_MAP.gpt52,
|
||||||
label: 'GPT-5.2',
|
label: 'GPT-5.2',
|
||||||
description: 'Best general agentic model for tasks across industries and domains.',
|
description: 'Latest frontier model with improvements across knowledge, reasoning and coding.',
|
||||||
badge: 'Balanced',
|
badge: 'Balanced',
|
||||||
provider: 'codex',
|
provider: 'codex',
|
||||||
hasReasoning: true,
|
hasReasoning: true,
|
||||||
@@ -211,6 +219,7 @@ export function getModelDisplayName(model: ModelAlias | string): string {
|
|||||||
haiku: 'Claude Haiku',
|
haiku: 'Claude Haiku',
|
||||||
sonnet: 'Claude Sonnet',
|
sonnet: 'Claude Sonnet',
|
||||||
opus: 'Claude Opus',
|
opus: 'Claude Opus',
|
||||||
|
[CODEX_MODEL_MAP.gpt53Codex]: 'GPT-5.3-Codex',
|
||||||
[CODEX_MODEL_MAP.gpt52Codex]: 'GPT-5.2-Codex',
|
[CODEX_MODEL_MAP.gpt52Codex]: 'GPT-5.2-Codex',
|
||||||
[CODEX_MODEL_MAP.gpt51CodexMax]: 'GPT-5.1-Codex-Max',
|
[CODEX_MODEL_MAP.gpt51CodexMax]: 'GPT-5.1-Codex-Max',
|
||||||
[CODEX_MODEL_MAP.gpt51CodexMini]: 'GPT-5.1-Codex-Mini',
|
[CODEX_MODEL_MAP.gpt51CodexMini]: 'GPT-5.1-Codex-Mini',
|
||||||
|
|||||||
@@ -50,15 +50,17 @@ export const LEGACY_CLAUDE_ALIAS_MAP: Record<string, ClaudeCanonicalId> = {
|
|||||||
*/
|
*/
|
||||||
export const CODEX_MODEL_MAP = {
|
export const CODEX_MODEL_MAP = {
|
||||||
// Recommended Codex-specific models
|
// Recommended Codex-specific models
|
||||||
/** Most advanced agentic coding model for complex software engineering (default for ChatGPT users) */
|
/** Latest frontier agentic coding model */
|
||||||
|
gpt53Codex: 'codex-gpt-5.3-codex',
|
||||||
|
/** Frontier agentic coding model */
|
||||||
gpt52Codex: 'codex-gpt-5.2-codex',
|
gpt52Codex: 'codex-gpt-5.2-codex',
|
||||||
/** Optimized for long-horizon, agentic coding tasks in Codex */
|
/** Codex-optimized flagship for deep and fast reasoning */
|
||||||
gpt51CodexMax: 'codex-gpt-5.1-codex-max',
|
gpt51CodexMax: 'codex-gpt-5.1-codex-max',
|
||||||
/** Smaller, more cost-effective version for faster workflows */
|
/** Optimized for codex. Cheaper, faster, but less capable */
|
||||||
gpt51CodexMini: 'codex-gpt-5.1-codex-mini',
|
gpt51CodexMini: 'codex-gpt-5.1-codex-mini',
|
||||||
|
|
||||||
// General-purpose GPT models (also available in Codex)
|
// General-purpose GPT models (also available in Codex)
|
||||||
/** Best general agentic model for tasks across industries and domains */
|
/** Latest frontier model with improvements across knowledge, reasoning and coding */
|
||||||
gpt52: 'codex-gpt-5.2',
|
gpt52: 'codex-gpt-5.2',
|
||||||
/** Great for coding and agentic tasks across domains */
|
/** Great for coding and agentic tasks across domains */
|
||||||
gpt51: 'codex-gpt-5.1',
|
gpt51: 'codex-gpt-5.1',
|
||||||
@@ -71,6 +73,7 @@ export const CODEX_MODEL_IDS = Object.values(CODEX_MODEL_MAP);
|
|||||||
* These models can use reasoning.effort parameter
|
* These models can use reasoning.effort parameter
|
||||||
*/
|
*/
|
||||||
export const REASONING_CAPABLE_MODELS = new Set([
|
export const REASONING_CAPABLE_MODELS = new Set([
|
||||||
|
CODEX_MODEL_MAP.gpt53Codex,
|
||||||
CODEX_MODEL_MAP.gpt52Codex,
|
CODEX_MODEL_MAP.gpt52Codex,
|
||||||
CODEX_MODEL_MAP.gpt51CodexMax,
|
CODEX_MODEL_MAP.gpt51CodexMax,
|
||||||
CODEX_MODEL_MAP.gpt52,
|
CODEX_MODEL_MAP.gpt52,
|
||||||
|
|||||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -45,7 +45,7 @@
|
|||||||
"@automaker/utils": "1.0.0",
|
"@automaker/utils": "1.0.0",
|
||||||
"@github/copilot-sdk": "^0.1.16",
|
"@github/copilot-sdk": "^0.1.16",
|
||||||
"@modelcontextprotocol/sdk": "1.25.2",
|
"@modelcontextprotocol/sdk": "1.25.2",
|
||||||
"@openai/codex-sdk": "^0.77.0",
|
"@openai/codex-sdk": "^0.98.0",
|
||||||
"cookie-parser": "1.4.7",
|
"cookie-parser": "1.4.7",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"dotenv": "17.2.3",
|
"dotenv": "17.2.3",
|
||||||
@@ -3949,9 +3949,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@openai/codex-sdk": {
|
"node_modules/@openai/codex-sdk": {
|
||||||
"version": "0.77.0",
|
"version": "0.98.0",
|
||||||
"resolved": "https://registry.npmjs.org/@openai/codex-sdk/-/codex-sdk-0.77.0.tgz",
|
"resolved": "https://registry.npmjs.org/@openai/codex-sdk/-/codex-sdk-0.98.0.tgz",
|
||||||
"integrity": "sha512-bvJQ4dASnZ7jgfxmseViQwdRupHxs0TwHSZFeYB0gpdOAXnWwDWdGJRCMyphLSHwExRp27JNOk7EBFVmZRBanQ==",
|
"integrity": "sha512-TbPgrBpuSNMJyOXys0HNsh6UoP5VIHu1fVh2KDdACi5XyB0vuPtzBZC+qOsxHz7WXEQPFlomPLyxS6JnE5Okmg==",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
|||||||
Reference in New Issue
Block a user