67
68
constructor(
70
>
private readonly _autoMergeMethod: AutoMergeMethod | undefined,
71
>
private readonly _getSessionState: (sessionKey: string) => ISessionWithDefaultChat | undefined,
72
>
private readonly _onPullRequestCreated: (event: PullRequestCreatedEvent) => void,
73
>
@IAgentService private readonly _agentService: IAgentService,
74
>
@IAgentHostGitService private readonly _gitService: IAgentHostGitService,
75
>
@IAgentHostOctoKitService private readonly _octoKitService: IAgentHostOctoKitService,
76
>
@IAgentHostGitHubEndpointService private readonly _gitHubEndpointService: IAgentHostGitHubEndpointService,
77
>
@ICopilotApiService private readonly _copilotApiService: ICopilotApiService,
78
>
@ILogService private readonly _logService: ILogService,
79
>
) { }
80
81
async invoke(params: InvokeChangesetOperationParams, token: CancellationToken): Promise<InvokeChangesetOperationResult> {