From 60b8d8fad232a2b7c30d1e84ebcf3c9b8ec0f8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Den=20Delimarsky=20=F0=9F=8C=BA?= <53200638+localden@users.noreply.github.com> Date: Sat, 20 Sep 2025 10:26:22 -0700 Subject: [PATCH] Update update-agent-context.ps1 --- scripts/powershell/update-agent-context.ps1 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/powershell/update-agent-context.ps1 b/scripts/powershell/update-agent-context.ps1 index 0a12728..133b454 100644 --- a/scripts/powershell/update-agent-context.ps1 +++ b/scripts/powershell/update-agent-context.ps1 @@ -77,6 +77,7 @@ switch ($AgentType) { 'qwen' { Update-AgentFile $qwenFile 'Qwen Code' } 'opencode' { Update-AgentFile $agentsFile 'opencode' } 'windsurf' { Update-AgentFile $windsurfFile 'Windsurf' } + 'codex' { Update-AgentFile $agentsFile 'Codex CLI' } '' { foreach ($pair in @( @{file=$claudeFile; name='Claude Code'}, @@ -85,7 +86,8 @@ switch ($AgentType) { @{file=$cursorFile; name='Cursor IDE'}, @{file=$qwenFile; name='Qwen Code'}, @{file=$agentsFile; name='opencode'}, - @{file=$windsurfFile; name='Windsurf'} + @{file=$windsurfFile; name='Windsurf'}, + @{file=$agentsFile; name='Codex CLI'} )) { if (Test-Path $pair.file) { Update-AgentFile $pair.file $pair.name } } @@ -94,7 +96,7 @@ switch ($AgentType) { Update-AgentFile $claudeFile 'Claude Code' } } - Default { Write-Error "ERROR: Unknown agent type '$AgentType'. Use: claude, gemini, copilot, cursor, qwen, opencode, windsurf or leave empty for all."; exit 1 } + Default { Write-Error "ERROR: Unknown agent type '$AgentType'. Use: claude, gemini, copilot, cursor, qwen, opencode, windsurf, codex or leave empty for all."; exit 1 } } Write-Output '' @@ -104,4 +106,4 @@ if ($newFramework) { Write-Output "- Added framework: $newFramework" } if ($newDb -and $newDb -ne 'N/A') { Write-Output "- Added database: $newDb" } Write-Output '' -Write-Output 'Usage: ./update-agent-context.ps1 [claude|gemini|copilot|cursor|qwen|opencode|windsurf]' +Write-Output 'Usage: ./update-agent-context.ps1 [claude|gemini|copilot|cursor|qwen|opencode|windsurf|codex]'