@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
25
25
#>
26
26
param (
27
27
[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 ' )]
29
29
[string ]$AgentType
30
30
)
31
31
@@ -53,6 +53,7 @@ $AGENTS_FILE = Join-Path $REPO_ROOT 'AGENTS.md'
53
53
$WINDSURF_FILE = Join-Path $REPO_ROOT ' .windsurf/rules/specify-rules.md'
54
54
$KILOCODE_FILE = Join-Path $REPO_ROOT ' .kilocode/rules/specify-rules.md'
55
55
$AUGGIE_FILE = Join-Path $REPO_ROOT ' .augment/rules/specify-rules.md'
56
+ $ROO_FILE = Join-Path $REPO_ROOT ' .roo/rules/specify-rules.md'
56
57
57
58
$TEMPLATE_FILE = Join-Path $REPO_ROOT ' .specify/templates/agent-file-template.md'
58
59
@@ -374,7 +375,8 @@ function Update-SpecificAgent {
374
375
' windsurf' { Update-AgentFile - TargetFile $WINDSURF_FILE - AgentName ' Windsurf' }
375
376
' kilocode' { Update-AgentFile - TargetFile $KILOCODE_FILE - AgentName ' Kilo Code' }
376
377
' 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 }
378
380
}
379
381
}
380
382
@@ -390,6 +392,7 @@ function Update-AllExistingAgents {
390
392
if (Test-Path $WINDSURF_FILE ) { if (-not (Update-AgentFile - TargetFile $WINDSURF_FILE - AgentName ' Windsurf' )) { $ok = $false }; $found = $true }
391
393
if (Test-Path $KILOCODE_FILE ) { if (-not (Update-AgentFile - TargetFile $KILOCODE_FILE - AgentName ' Kilo Code' )) { $ok = $false }; $found = $true }
392
394
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 }
393
396
if (-not $found ) {
394
397
Write-Info ' No existing agent files found, creating default Claude file...'
395
398
if (-not (Update-AgentFile - TargetFile $CLAUDE_FILE - AgentName ' Claude Code' )) { $ok = $false }
@@ -404,7 +407,7 @@ function Print-Summary {
404
407
if ($NEW_FRAMEWORK ) { Write-Host " - Added framework: $NEW_FRAMEWORK " }
405
408
if ($NEW_DB -and $NEW_DB -ne ' N/A' ) { Write-Host " - Added database: $NEW_DB " }
406
409
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 ]'
408
411
}
409
412
410
413
function Main {
0 commit comments