Whitelisting terminal commands #11984
Replies: 1 comment
-
|
If you're using the Continue CLI, there is already a command-level allowlist mechanism. The permissions matcher supports Bash patterns like
So for the CLI/TUI, the shape is basically: allow:
- Bash(ng build*)
- Bash(npm run build*)
ask:
- Bash(*)One important nuance: shell mode ( If you're asking about the IDE terminal tool rather than the CLI, I don't see the same per-command allowlist exposed there yet - the terminal tool is still permission-gated, but the command-pattern matching I found is in the CLI permissions layer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to make the terminal permissions more fine grained? I don't want to allow all commands as that would be a security risk but it's also frustrating to have to keep approving the command to compile an Angular application. Could some sort of whitelist be added to allow auto approving some commands?
Beta Was this translation helpful? Give feedback.
All reactions