You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
agent-hostIssues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersterminal-auto-approveRelated to the terminal's auto approve logicverifiedVerification succeeded
Context: chat.tools.terminal.enableAutoApprove Probably over-stepping if this leads to enabling all other tool.
We should consider bringing chat.tools.terminal.autoApprove over as well, especially if it's running outside of sandbox. Potentially another step we'd want runtime to go through before they call their built-in shell tool.
This is lot intuitive with our custom terminal tool for AH, but I need to look into how the flow will work with shell tool from CLI SDK.
Seems like there is copilot --allow-tool <pass_in_terminal_commands_here> that folks use when first launching Copilot but will need to see what is available for consumers for SDK.
PR 1: Respect EnableAutoApprove chat.tools.terminal.enableAutoApprove
In Agent Host Default Approvals, terminal auto-approve can still happen even when chat.tools.terminal.enableAutoApprove=false, as long as the shell request reaches AH’s unsandboxed command-rule path.
PR 2: Use The Real Terminal AutoApprove Setting chat.tools.terminal.autoApprove
Goal: replace the hardcoded default-only behavior with the actual VS Code terminal auto-approve configuration.
agent-hostIssues for the agent-host implementation (not the protocol)bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersterminal-auto-approveRelated to the terminal's auto approve logicverifiedVerification succeeded
Activity
anthonykim1 commentedon Jun 19, 2026
Seems like there is
copilot --allow-tool <pass_in_terminal_commands_here>that folks use when first launching Copilot but will need to see what is available for consumers for SDK.anthonykim1 commentedon Jun 19, 2026
Plan:
PR 1: Respect EnableAutoApprove
chat.tools.terminal.enableAutoApproveIn Agent Host Default Approvals, terminal auto-approve can still happen even when chat.tools.terminal.enableAutoApprove=false, as long as the shell request reaches AH’s unsandboxed command-rule path.
PR 2: Use The Real Terminal AutoApprove Setting
chat.tools.terminal.autoApproveGoal: replace the hardcoded default-only behavior with the actual VS Code terminal auto-approve configuration.