Add Set-Location to auto-approve list and tests

Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-26 16:11:10 +00:00
parent b8e9286754
commit d1a6c4722a
2 changed files with 2 additions and 0 deletions

View File

@@ -236,6 +236,7 @@ export const terminalChatAgentToolsConfiguration: IStringDictionary<IConfigurati
'Get-Date': true,
'Get-Random': true,
'Get-Location': true,
'Set-Location': true,
'Write-Host': true,
'Write-Output': true,
'Out-String': true,

View File

@@ -237,6 +237,7 @@ suite('RunInTerminalTool', () => {
'Get-Date',
'Get-Random',
'Get-Location',
'Set-Location C:\\Users\\test',
'Write-Host "Hello"',
'Write-Output "Test"',
'Out-String',