continuedev / continuedev/continue

autoapprove

Open
#12,623 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:configuration area:tools ide:vscode kind:question os:linux
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS:MX Linux Debian 12
- Continue version:1.2.22
- IDE version: vscodium 1.116.02821
- Model:
- config:
  

  
  OR link to agent in Continue hub:
Description

Tried a few workflow, and for all the Tools I set Autoapprove, but there're certain steps I will be presented with Accept to move on. There're certain workflow I would like auto completion without me intervening - ala unattended. Wonder if that's possible? Or if that's what Autoapprove mean? Say ssh is always asking for Accept, and I also added ssh in the white list of chat.terminal.autoApprove list in vscodium config. And searching through Continue source code seems there's some commands hardcoded that are considered dangerous to need human Accept.

To reproduce
  1. set all possible Tools settings to AutoApprove
  2. create a workflow agent mode that requires ssh into another host to run a command
  3. it will stop and ask for Accept
  4. or there're other python3 code dynamically created that will require Accept too
Log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the workflow agent in VSCodium with AutoApprove enabled, using ssh and dynamically created python3 commands. Then trace the Continue source handling terminal tools, the chat.terminal.autoApprove configuration, and hardcoded dangerous commands. Done means the project clearly determines whether these commands should proceed unattended or identifies the remaining approval rule and documents it.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, typescript, vscode
Domain
devtools, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.