@@ -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, kiro-cli, agy, bob, qodercli, vibe )
12+ 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, tabnine, kiro-cli, agy, bob, vibe, qodercli )
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' , ' kiro-cli' , ' agy' , ' bob' , ' qodercli' , ' vibe' , ' generic' )]
28+ [ValidateSet (' claude' , ' gemini' , ' copilot' , ' cursor-agent' , ' qwen' , ' opencode' , ' codex' , ' windsurf' , ' kilocode' , ' auggie' , ' roo' , ' codebuddy' , ' amp' , ' shai' , ' tabnine ' , ' kiro-cli' , ' agy' , ' bob' , ' qodercli' , ' vibe' , ' generic' )]
2929 [string ]$AgentType
3030)
3131
@@ -58,6 +58,7 @@ $CODEBUDDY_FILE = Join-Path $REPO_ROOT 'CODEBUDDY.md'
5858$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'
61+ $TABNINE_FILE = Join-Path $REPO_ROOT ' TABNINE.md'
6162$KIRO_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
6263$AGY_FILE = Join-Path $REPO_ROOT ' .agent/rules/specify-rules.md'
6364$BOB_FILE = Join-Path $REPO_ROOT ' AGENTS.md'
@@ -400,12 +401,13 @@ function Update-SpecificAgent {
400401 ' qodercli' { Update-AgentFile - TargetFile $QODER_FILE - AgentName ' Qoder CLI' }
401402 ' amp' { Update-AgentFile - TargetFile $AMP_FILE - AgentName ' Amp' }
402403 ' shai' { Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' }
404+ ' tabnine' { Update-AgentFile - TargetFile $TABNINE_FILE - AgentName ' Tabnine CLI' }
403405 ' kiro-cli' { Update-AgentFile - TargetFile $KIRO_FILE - AgentName ' Kiro CLI' }
404406 ' agy' { Update-AgentFile - TargetFile $AGY_FILE - AgentName ' Antigravity' }
405407 ' bob' { Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' }
406408 ' vibe' { Update-AgentFile - TargetFile $VIBE_FILE - AgentName ' Mistral Vibe' }
407409 ' generic' { Write-Info ' Generic agent: no predefined context file. Use the agent-specific update script for your agent.' }
408- 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|kiro-cli|agy|bob|qodercli| vibe|generic' ; return $false }
410+ 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|tabnine| kiro-cli|agy|bob|vibe|qodercli |generic' ; return $false }
409411 }
410412}
411413
@@ -425,6 +427,7 @@ function Update-AllExistingAgents {
425427 if (Test-Path $CODEBUDDY_FILE ) { if (-not (Update-AgentFile - TargetFile $CODEBUDDY_FILE - AgentName ' CodeBuddy CLI' )) { $ok = $false }; $found = $true }
426428 if (Test-Path $QODER_FILE ) { if (-not (Update-AgentFile - TargetFile $QODER_FILE - AgentName ' Qoder CLI' )) { $ok = $false }; $found = $true }
427429 if (Test-Path $SHAI_FILE ) { if (-not (Update-AgentFile - TargetFile $SHAI_FILE - AgentName ' SHAI' )) { $ok = $false }; $found = $true }
430+ if (Test-Path $TABNINE_FILE ) { if (-not (Update-AgentFile - TargetFile $TABNINE_FILE - AgentName ' Tabnine CLI' )) { $ok = $false }; $found = $true }
428431 if (Test-Path $KIRO_FILE ) { if (-not (Update-AgentFile - TargetFile $KIRO_FILE - AgentName ' Kiro CLI' )) { $ok = $false }; $found = $true }
429432 if (Test-Path $AGY_FILE ) { if (-not (Update-AgentFile - TargetFile $AGY_FILE - AgentName ' Antigravity' )) { $ok = $false }; $found = $true }
430433 if (Test-Path $BOB_FILE ) { if (-not (Update-AgentFile - TargetFile $BOB_FILE - AgentName ' IBM Bob' )) { $ok = $false }; $found = $true }
@@ -443,7 +446,7 @@ function Print-Summary {
443446 if ($NEW_FRAMEWORK ) { Write-Host " - Added framework: $NEW_FRAMEWORK " }
444447 if ($NEW_DB -and $NEW_DB -ne ' N/A' ) { Write-Host " - Added database: $NEW_DB " }
445448 Write-Host ' '
446- Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|kiro-cli|agy|bob|qodercli| vibe|generic]'
449+ Write-Info ' Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine| kiro-cli|agy|bob|vibe|qodercli |generic]'
447450}
448451
449452function Main {
0 commit comments