Summary
Extend repo_create_pull_request_thread to support left-file coordinates so automated PR reviewers can create inline comment threads on deleted files. Deleted content only exists on the left (base) side of a diff, so right-file coordinates alone are insufficient for anchoring comments on removed lines.
Parameters
Add the following optional parameters to repo_create_pull_request_thread (create action), mirroring the existing right-file coordinate support:
leftFileStartLine
leftFileStartOffset
leftFileEndLine
leftFileEndOffset
These should map to the Azure DevOps CommentThreadContext fields leftFileStart and leftFileEnd, which are already supported by:
Rules
- Adhere strictly to existing project standards and coding conventions.
- Ensure each tool/function exposes all API parameters (required and optional).
- Use the official Azure DevOps Node API to interact with the APIs.
Special treat
Summary
Extend
repo_create_pull_request_threadto support left-file coordinates so automated PR reviewers can create inline comment threads on deleted files. Deleted content only exists on the left (base) side of a diff, so right-file coordinates alone are insufficient for anchoring comments on removed lines.Parameters
Add the following optional parameters to
repo_create_pull_request_thread(create action), mirroring the existing right-file coordinate support:leftFileStartLineleftFileStartOffsetleftFileEndLineleftFileEndOffsetThese should map to the Azure DevOps
CommentThreadContextfieldsleftFileStartandleftFileEnd, which are already supported by:GitApi.createThread/CommentThreadContext)Rules
Special treat