@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:
99 2. Plan Data Extraction
1010 3. Agent File Management (create from template or update existing)
1111 4. Content Generation (technology stack, recent changes, timestamp)
12- 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob, qoder)
12+ 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, agy, bob, qoder)
1313
1414. PARAMETER AgentType
1515Optional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist).
@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
2525#>
2626param (
2727 [Parameter (Position = 0 )]
28- [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor-agent' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' , ' roo' , ' codebuddy' , ' amp' , ' shai' , ' q' , ' bob' , ' qoder' )]
28+ [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor-agent' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' , ' roo' , ' codebuddy' , ' amp' , ' shai' , ' q' , ' agy ' , ' bob' , ' qoder' )]
2929 [string ]$AgentType
3030)
3131
@@ -59,6 +59,7 @@ $QODER_FILE = Join-Path $REPO_ROOT 'QODER.md'
5959$AMP_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
6060$SHAI_FILE = Join-Path $REPO_ROOT ' SHAI.md'
6161$Q_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
62+ $AGY_FILE = Join-Path $REPO_ROOT ' .agent/rules/specify-rules.md'
6263$BOB_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
6364
6465$TEMPLATE_FILE = Join-Path $REPO_ROOT ' .specify/templates/agent-file-template.md'
@@ -387,8 +388,9 @@ function Update-SpecificAgent {
387388 ' amp' { Update-AgentFile - TargetFile $AMP_FILE - AgentName ' Amp' }
388389 ' shai' { Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' }
389390 ' q' { Update-AgentFile - TargetFile $Q_FILE - AgentName ' Amazon Q Developer CLI' }
391+ ' agy' { Update-AgentFile - TargetFile $AGY_FILE - AgentName ' Antigravity' }
390392 ' bob' { Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' }
391- default { Write-Err " Unknown agent type '$Type '" ; Write-Err ' Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob|qoder' ; return $false }
393+ default { Write-Err " Unknown agent type '$Type '" ; Write-Err ' Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy| bob|qoder' ; return $false }
392394 }
393395}
394396
@@ -409,6 +411,7 @@ function Update-AllExistingAgents {
409411 if (Test-Path $QODER_FILE ) { if (-not (Update-AgentFile - TargetFile $QODER_FILE - AgentName ' Qoder CLI' )) { $ok = $false }; $found = $true }
410412 if (Test-Path $SHAI_FILE ) { if (-not (Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' )) { $ok = $false }; $found = $true }
411413 if (Test-Path $Q_FILE ) { if (-not (Update-AgentFile - TargetFile $Q_FILE - AgentName ' Amazon Q Developer CLI' )) { $ok = $false }; $found = $true }
414+ if (Test-Path $AGY_FILE ) { if (-not (Update-AgentFile - TargetFile $AGY_FILE - AgentName ' Antigravity' )) { $ok = $false }; $found = $true }
412415 if (Test-Path $BOB_FILE ) { if (-not (Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' )) { $ok = $false }; $found = $true }
413416 if (-not $found ) {
414417 Write-Info ' No existing agent files found, creating default Claude file...'
@@ -424,7 +427,7 @@ function Print-Summary {
424427 if ($NEW_FRAMEWORK ) { Write-Host " - Added framework: $NEW_FRAMEWORK " }
425428 if ($NEW_DB -and $NEW_DB -ne ' N/A' ) { Write-Host " - Added database: $NEW_DB " }
426429 Write-Host ' '
427- Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|bob|qoder]'
430+ Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy| bob|qoder]'
428431}
429432
430433function Main {
0 commit comments