Skip to content

Validate allowList and denyList before using them #252977

Closed
microsoft/vscode-copilot-chat
#47
@Tyriar

Description

@Tyriar

Seeing this:

Image

It's caused by using the WIP setting format:

  "github.copilot.chat.agent.terminal.allowList": {
    "echo": false,
    "Write-Host": false,
    "ls": true,
    "Get-ChildItem": true,
    "cat": true,
    "Get-Content": true,
    "pwd": true,
    "Get-Location": true,
    "cd": true,
    "Set-Location": true
  },

When it still expects an array in Insiders.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchat-terminalThe run in terminal tool in chatimportantIssue identified as high-priority

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions