mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
feat: add denyCommand handler for individual command deny listing
This commit is contained in:
parent
20363b4218
commit
a0e8c24352
2 changed files with 3 additions and 4 deletions
|
|
@ -842,9 +842,7 @@ export const webviewMessageHandler = async (
|
|||
.update("deniedCommands", validCommands, vscode.ConfigurationTarget.Global)
|
||||
|
||||
// Show confirmation to the user
|
||||
vscode.window.showInformationMessage(
|
||||
t("common:info.command_denied", { pattern: message.pattern }),
|
||||
)
|
||||
vscode.window.showInformationMessage(t("common:info.command_denied", { pattern: message.pattern }))
|
||||
|
||||
// Update the webview state
|
||||
await provider.postStateToWebview()
|
||||
|
|
|
|||
|
|
@ -103,7 +103,8 @@
|
|||
"image_saved": "Image saved to {{path}}",
|
||||
"mode_exported": "Mode '{{mode}}' exported successfully",
|
||||
"mode_imported": "Mode imported successfully",
|
||||
"command_whitelisted": "Command pattern '{{pattern}}' has been added to the allowed commands list"
|
||||
"command_whitelisted": "Command pattern '{{pattern}}' has been added to the allowed commands list",
|
||||
"command_denied": "Command pattern '{{pattern}}' has been added to the denied commands list"
|
||||
},
|
||||
"answers": {
|
||||
"yes": "Yes",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue