Skip to content

Consider auto approving of file writes to /tmp #288327

@Tyriar

Description

@Tyriar

Copilot may want to run something like this:

npm run test:server:main 2>&1 | tee /tmp/test_output.log

This will not be auto approved currently because:

  • tee isn't auto approved
  • Even if it was, it's writing to /tmp which we don't allow anywhere atm

We should consider adding auto approve for tee as well as allowing writes to /tmp as part of chat.tools.terminal.blockDetectedFileWrites

Metadata

Metadata

Assignees

Labels

chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions