@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
2525#>
2626param (
2727 [Parameter (Position = 0 )]
28- [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' )]
28+ [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' , ' roo ' )]
2929 [string ]$AgentType
3030)
3131
@@ -53,6 +53,7 @@ $AGENTS_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
5353$WINDSURF_FILE = Join-Path $REPO_ROOT ' .windsurf/rules/specify-rules.md'
5454$KILOCODE_FILE = Join-Path $REPO_ROOT ' .kilocode/rules/specify-rules.md'
5555$AUGGIE_FILE = Join-Path $REPO_ROOT ' .augment/rules/specify-rules.md'
56+ $ROO_FILE = Join-Path $REPO_ROOT ' .roo/rules/specify-rules.md'
5657
5758$TEMPLATE_FILE = Join-Path $REPO_ROOT ' .specify/templates/agent-file-template.md'
5859
@@ -374,7 +375,8 @@ function Update-SpecificAgent {
374375 ' windsurf' { Update-AgentFile - TargetFile $WINDSURF_FILE - AgentName ' Windsurf' }
375376 ' kilocode' { Update-AgentFile - TargetFile $KILOCODE_FILE - AgentName ' Kilo Code' }
376377 ' auggie' { Update-AgentFile - TargetFile $AUGGIE_FILE - AgentName ' Auggie CLI' }
377- default { Write-Err " Unknown agent type '$Type '" ; Write-Err ' Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie' ; return $false }
378+ ' roo' { Update-AgentFile - TargetFile $ROO_FILE - AgentName ' Roo Code' }
379+ default { Write-Err " Unknown agent type '$Type '" ; Write-Err ' Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo' ; return $false }
378380 }
379381}
380382
@@ -390,6 +392,7 @@ function Update-AllExistingAgents {
390392 if (Test-Path $WINDSURF_FILE ) { if (-not (Update-AgentFile - TargetFile $WINDSURF_FILE - AgentName ' Windsurf' )) { $ok = $false }; $found = $true }
391393 if (Test-Path $KILOCODE_FILE ) { if (-not (Update-AgentFile - TargetFile $KILOCODE_FILE - AgentName ' Kilo Code' )) { $ok = $false }; $found = $true }
392394 if (Test-Path $AUGGIE_FILE ) { if (-not (Update-AgentFile - TargetFile $AUGGIE_FILE - AgentName ' Auggie CLI' )) { $ok = $false }; $found = $true }
395+ if (Test-Path $ROO_FILE ) { if (-not (Update-AgentFile - TargetFile $ROO_FILE - AgentName ' Roo Code' )) { $ok = $false }; $found = $true }
393396 if (-not $found ) {
394397 Write-Info ' No existing agent files found, creating default Claude file...'
395398 if (-not (Update-AgentFile - TargetFile $CLAUDE_FILE - AgentName ' Claude Code' )) { $ok = $false }
@@ -404,7 +407,7 @@ function Print-Summary {
404407 if ($NEW_FRAMEWORK ) { Write-Host " - Added framework: $NEW_FRAMEWORK " }
405408 if ($NEW_DB -and $NEW_DB -ne ' N/A' ) { Write-Host " - Added database: $NEW_DB " }
406409 Write-Host ' '
407- Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie]'
410+ Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo ]'
408411}
409412
410413function Main {
0 commit comments