Format code with prettier

This commit is contained in:
km-anthropic
2025-08-13 09:54:57 -07:00
parent e3b5697276
commit d24561da51
4 changed files with 31 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ export async function prepareMcpConfig(
const hasGitHubMcpTools = allowedToolsList.some((tool) =>
tool.startsWith("mcp__github__"),
);
const hasInlineCommentTools = allowedToolsList.some((tool) =>
tool.startsWith("mcp__github_inline_comment__"),
);
@@ -115,9 +115,13 @@ export async function prepareMcpConfig(
},
};
}
// Include inline comment server for PRs when requested via allowed tools
if (isEntityContext(context) && context.isPR && (hasGitHubMcpTools || hasInlineCommentTools)) {
if (
isEntityContext(context) &&
context.isPR &&
(hasGitHubMcpTools || hasInlineCommentTools)
) {
baseMcpConfig.mcpServers.github_inline_comment = {
command: "bun",
args: [