@@ -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)
12+ 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob )
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' )]
28+ [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor-agent' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' , ' roo' , ' codebuddy' , ' amp' , ' shai' , ' q' , ' bob ' )]
2929 [string ]$AgentType
3030)
3131
@@ -58,6 +58,7 @@ $CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
5858$AMP_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
5959$SHAI_FILE = Join-Path $REPO_ROOT ' SHAI.md'
6060$Q_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
61+ $BOB_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
6162
6263$TEMPLATE_FILE = Join-Path $REPO_ROOT ' .specify/templates/agent-file-template.md'
6364
@@ -384,7 +385,8 @@ function Update-SpecificAgent {
384385 ' amp' { Update-AgentFile - TargetFile $AMP_FILE - AgentName ' Amp' }
385386 ' shai' { Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' }
386387 ' q' { Update-AgentFile - TargetFile $Q_FILE - AgentName ' Amazon Q Developer CLI' }
387- 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' ; return $false }
388+ ' bob' { Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' }
389+ 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' ; return $false }
388390 }
389391}
390392
@@ -404,6 +406,7 @@ function Update-AllExistingAgents {
404406 if (Test-Path $CODEBUDDY_FILE ) { if (-not (Update-AgentFile - TargetFile $CODEBUDDY_FILE - AgentName ' CodeBuddy CLI' )) { $ok = $false }; $found = $true }
405407 if (Test-Path $SHAI_FILE ) { if (-not (Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' )) { $ok = $false }; $found = $true }
406408 if (Test-Path $Q_FILE ) { if (-not (Update-AgentFile - TargetFile $Q_FILE - AgentName ' Amazon Q Developer CLI' )) { $ok = $false }; $found = $true }
409+ if (Test-Path $BOB_FILE ) { if (-not (Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' )) { $ok = $false }; $found = $true }
407410 if (-not $found ) {
408411 Write-Info ' No existing agent files found, creating default Claude file...'
409412 if (-not (Update-AgentFile - TargetFile $CLAUDE_FILE - AgentName ' Claude Code' )) { $ok = $false }
@@ -418,7 +421,7 @@ function Print-Summary {
418421 if ($NEW_FRAMEWORK ) { Write-Host " - Added framework: $NEW_FRAMEWORK " }
419422 if ($NEW_DB -and $NEW_DB -ne ' N/A' ) { Write-Host " - Added database: $NEW_DB " }
420423 Write-Host ' '
421- Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q]'
424+ 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 ]'
422425}
423426
424427function Main {
0 commit comments