@azure-devops/mcp 2.1.0-nightly.20250914 → 2.1.0-nightly.20250916
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/repositories.js +2 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -571,7 +571,8 @@ function configureRepoTools(server, tokenProvider, connectionProvider, userAgent
|
|
|
571
571
|
}, async ({ repositoryId, pullRequestId, content, project, filePath, status, rightFileStartLine, rightFileStartOffset, rightFileEndLine, rightFileEndOffset }) => {
|
|
572
572
|
const connection = await connectionProvider();
|
|
573
573
|
const gitApi = await connection.getGitApi();
|
|
574
|
-
const
|
|
574
|
+
const normalizedFilePath = filePath && !filePath.startsWith("/") ? `/${filePath}` : filePath;
|
|
575
|
+
const threadContext = { filePath: normalizedFilePath };
|
|
575
576
|
if (rightFileStartLine !== undefined) {
|
|
576
577
|
if (rightFileStartLine < 1) {
|
|
577
578
|
throw new Error("rightFileStartLine must be greater than or equal to 1.");
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.1.0-nightly.
|
|
1
|
+
export const packageVersion = "2.1.0-nightly.20250916";
|