Hi, I would like to add a terminal command to the ...
# ai
m
Hi, I would like to add a terminal command to the whitelist of Junie, e.g., to avoid the confirmation step for
echo filename.txt
. Could you please provide me with a sample of how to define it? My multiple attempts did not work.
p
Junie has a brave mode that allows executing any terminal commands without confirmation
m
Thank for the answer. I am not sure, if I want to let LLM the complete power over my local machine, no problem in controlled environment like OpenAI code. I would like have control over what, can be executed, just whitelisting stuff, which are annoying to click very often.
p
Got it This is available in the latest version of Junie Junie kebab -> Settings -> Junie -> Action allowlist or you can add commands when they pop up in Junie dialog via kebab menu by the command itself
If the user is configuring the allow-list manually, they should keep in mind that there’s a special syntax to it (like “^\Q./gradlew build\E$”)
https://www.jetbrains.com/help/junie/action-allowlist.html
👍 1
m
Thank you, cool, this exactly what I was looking for