This warning appears when I uninstall and install cody.However, the setting does not exist.I could not see it in the cody setting in visual studio tools and jetbrain rider settings.
‘cody.agentic.context.experimentalShell’ to true
This warning appears when I uninstall and install cody.However, the setting does not exist.I could not see it in the cody setting in visual studio tools and jetbrain rider settings.
‘cody.agentic.context.experimentalShell’ to true
Hey @serdar
Since the latest pre-release, the correct configurations you need to provide in the settings.json file are:
"cody.agentic.context": {
"shell": {
"allow": [
"*"
],
"block": [
"git"
]
}
}
Where the base blocked commands are this:
BASE_DISALLOWED_COMMANDS = [
'rm',
'chmod',
'shutdown',
'history',
'user',
'sudo',
'su',
'passwd',
'chown',
'chgrp',
'kill',
'reboot',
'poweroff',
'init',
'systemctl',
'journalctl',
'dmesg',
'lsblk',
'lsmod',
'modprobe',
'insmod',
'rmmod',
'lsusb',
'lspci',
]
I hope that helps