You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -347,7 +347,7 @@ function extractTextContent(result: vscode.LanguageModelToolResult): string {
347
347
? `/bin/bash: /tmp/${marker}.txt: Operation not permitted`
348
348
: `/usr/bin/bash: line 1: /tmp/${marker}.txt: Read-only file system`;
349
349
constsandboxBody=[
350
-
`- If it would be reasonable to extend the sandbox rules, work with the user to update allowWrite for file system access problems in ${sandboxFileSystemSetting}, or to add required domains to chat.agent.sandboxNetwork.allowedDomains.`,
350
+
`- If it would be reasonable to extend the sandbox rules, work with the user to update allowWrite for file system access problems in ${sandboxFileSystemSetting}, or to add required domains to chat.agent.sandbox.allowedNetworkDomains.`,
351
351
'- Otherwise, immediately retry the command with requestUnsandboxedExecution=true. Do NOT ask the user \u2014 setting this flag automatically shows a confirmation prompt to the user.',
returnlocalize('runInTerminal.unsandboxed.domain.reason.denied.single',"This command accesses {0}, which is blocked by chat.agent.sandboxNetwork.deniedDomains.",blockedDomains[0]);
904
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.denied.single',"This command accesses {0}, which is blocked by chat.agent.sandbox.deniedNetworkDomains.",blockedDomains[0]);
905
905
}
906
-
returnlocalize('runInTerminal.unsandboxed.domain.reason.denied.multi',"This command accesses {0} and {1} more domains that are blocked by chat.agent.sandboxNetwork.deniedDomains.",blockedDomains[0],blockedDomains.length-1);
906
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.denied.multi',"This command accesses {0} and {1} more domains that are blocked by chat.agent.sandbox.deniedNetworkDomains.",blockedDomains[0],blockedDomains.length-1);
907
907
}
908
908
if(deniedDomains.length>0){
909
909
if(blockedDomains.length===1){
910
-
returnlocalize('runInTerminal.unsandboxed.domain.reason.mixed.single',"This command accesses {0}, which is blocked by chat.agent.sandboxNetwork.deniedDomains or not added to chat.agent.sandboxNetwork.allowedDomains.",blockedDomains[0]);
910
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.mixed.single',"This command accesses {0}, which is blocked by chat.agent.sandbox.deniedNetworkDomains or not added to chat.agent.sandbox.allowedNetworkDomains.",blockedDomains[0]);
911
911
}
912
-
returnlocalize('runInTerminal.unsandboxed.domain.reason.mixed.multi',"This command accesses {0} and {1} more domains that are blocked by chat.agent.sandboxNetwork.deniedDomains or not added to chat.agent.sandboxNetwork.allowedDomains.",blockedDomains[0],blockedDomains.length-1);
912
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.mixed.multi',"This command accesses {0} and {1} more domains that are blocked by chat.agent.sandbox.deniedNetworkDomains or not added to chat.agent.sandbox.allowedNetworkDomains.",blockedDomains[0],blockedDomains.length-1);
913
913
}
914
914
if(blockedDomains.length===1){
915
-
returnlocalize('runInTerminal.unsandboxed.domain.reason.single',"This command accesses {0}, which is not permitted by the current chat.agent.sandboxNetwork configuration.",blockedDomains[0]);
915
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.single',"This command accesses {0}, which is not permitted by the current chat.agent.sandbox configuration.",blockedDomains[0]);
916
916
}
917
-
returnlocalize('runInTerminal.unsandboxed.domain.reason.multi',"This command accesses {0} and {1} more domains that are not permitted by the current chat.agent.sandboxNetwork configuration.",blockedDomains[0],blockedDomains.length-1);
917
+
returnlocalize('runInTerminal.unsandboxed.domain.reason.multi',"This command accesses {0} and {1} more domains that are not permitted by the current chat.agent.sandbox configuration.",blockedDomains[0],blockedDomains.length-1);
0 commit comments