chore: improve inclusive-language (#7558)

This commit is contained in:
Jack Wotherspoon
2025-09-02 18:09:28 -06:00
committed by GitHub
parent 5e1651954d
commit 39c35e7d61
6 changed files with 12 additions and 12 deletions

View File

@@ -648,7 +648,7 @@ export const SETTINGS_SCHEMA = {
category: 'MCP',
requiresRestart: true,
default: undefined as string[] | undefined,
description: 'A whitelist of MCP servers to allow.',
description: 'A list of MCP servers to allow.',
showInDialog: false,
},
excluded: {
@@ -657,7 +657,7 @@ export const SETTINGS_SCHEMA = {
category: 'MCP',
requiresRestart: true,
default: undefined as string[] | undefined,
description: 'A blacklist of MCP servers to exclude.',
description: 'A list of MCP servers to exclude.',
showInDialog: false,
},
},

View File

@@ -380,7 +380,7 @@ describe('ShellTool', () => {
});
describe('shouldConfirmExecute', () => {
it('should request confirmation for a new command and whitelist it on "Always"', async () => {
it('should request confirmation for a new command and allowlist it on "Always"', async () => {
const params = { command: 'npm install' };
const invocation = shellTool.build(params);
const confirmation = await invocation.shouldConfirmExecute(
@@ -395,7 +395,7 @@ describe('ShellTool', () => {
ToolConfirmationOutcome.ProceedAlways,
);
// Should now be whitelisted
// Should now be allowlisted
const secondInvocation = shellTool.build({ command: 'npm test' });
const secondConfirmation = await secondInvocation.shouldConfirmExecute(
new AbortController().signal,

View File

@@ -77,7 +77,7 @@ class ShellToolInvocation extends BaseToolInvocation<
);
if (commandsToConfirm.length === 0) {
return false; // already approved and whitelisted
return false; // already approved and allowlisted
}
const confirmationDetails: ToolExecuteConfirmationDetails = {