Skip to content

Commit cd6ca63

Browse files
authored
Merge pull request #260559 from microsoft/tyriar/259668_5
Auto approve sleep commands
2 parents fd7080b + c29355f commit cd6ca63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ export const terminalChatAgentToolsConfiguration: IStringDictionary<IConfigurati
121121
du: true,
122122
df: true,
123123
jq: true,
124+
sleep: true,
125+
'Start-Sleep': true,
124126
// While these PowerShell verbs can have side effects, they are generally innocuous (eg.
125127
// updating OS-level file access info) and and often have prompts if they're more
126128
// involved (eg. Get-Credential)

0 commit comments

Comments
 (0)