diff --git a/mcp.ts b/mcp.ts index 1c2334b..c2c5c58 100644 --- a/mcp.ts +++ b/mcp.ts @@ -55,12 +55,15 @@ export const TOOLS: Tool[] = [ export class ToolServer { private _callCount = 0; + private readonly pr: PRContext; + private readonly workspace: string | null; + private readonly maxToolCalls: number; - constructor( - private readonly pr: PRContext, - private readonly workspace: string | null, - private readonly maxToolCalls: number, - ) {} + constructor(pr: PRContext, workspace: string | null, maxToolCalls: number) { + this.pr = pr; + this.workspace = workspace; + this.maxToolCalls = maxToolCalls; + } get tools(): Tool[] { return TOOLS;