Skip to content

Commit c29355f

Browse files
committed
Auto approve sleep commands
Part of #259668
1 parent fbefb06 commit c29355f

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
@@ -122,6 +122,8 @@ export const terminalChatAgentToolsConfiguration: IStringDictionary<IConfigurati
122122
du: true,
123123
df: true,
124124
jq: true,
125+
sleep: true,
126+
'Start-Sleep': true,
125127
// While these PowerShell verbs can have side effects, they are generally innocuous (eg.
126128
// updating OS-level file access info) and and often have prompts if they're more
127129
// involved (eg. Get-Credential)

0 commit comments

Comments
 (0)