style: apply prettier formatting

Co-authored-by: Chris Lloyd <chrislloyd@users.noreply.github.com>
This commit is contained in:
claude[bot]
2025-08-15 05:19:32 +00:00
committed by Ashwin Bhat
parent a328bf4b16
commit e55fe60b4e
2 changed files with 5 additions and 6 deletions

View File

@@ -101,11 +101,7 @@ export function buildRemoteAgentAllowedToolsString(
); );
// Add safe git tools only (read-only operations) // Add safe git tools only (read-only operations)
baseTools.push( baseTools.push("Bash(git status:*)", "Bash(git diff:*)", "Bash(git log:*)");
"Bash(git status:*)",
"Bash(git diff:*)",
"Bash(git log:*)",
);
// Add GitHub Actions MCP tools if enabled // Add GitHub Actions MCP tools if enabled
if (includeActionsTools) { if (includeActionsTools) {

View File

@@ -1248,7 +1248,10 @@ describe("buildRemoteAgentAllowedToolsString", () => {
test("should never include dangerous git tools regardless of parameters", () => { test("should never include dangerous git tools regardless of parameters", () => {
const dangerousCustomTools = ["Bash(git commit:*)", "Bash(git config:*)"]; const dangerousCustomTools = ["Bash(git commit:*)", "Bash(git config:*)"];
const result = buildRemoteAgentAllowedToolsString(dangerousCustomTools, true); const result = buildRemoteAgentAllowedToolsString(
dangerousCustomTools,
true,
);
// The function should still include dangerous tools if explicitly provided in custom tools // The function should still include dangerous tools if explicitly provided in custom tools
// This is by design - if someone explicitly adds them, they should be included // This is by design - if someone explicitly adds them, they should be included