@azure-devops/mcp 2.7.0-nightly.20260621 → 2.7.0-nightly.20260623
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 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1241,7 +1241,7 @@ function configureRepoTools(server, tokenProvider, connectionProvider, userAgent
|
|
|
1241
1241
|
try {
|
|
1242
1242
|
const connection = await connectionProvider();
|
|
1243
1243
|
const gitApi = await connection.getGitApi();
|
|
1244
|
-
const comment = await gitApi.createComment({ content }, repositoryId, pullRequestId, threadId, project);
|
|
1244
|
+
const comment = await gitApi.createComment({ content, commentType: 1 }, repositoryId, pullRequestId, threadId, project);
|
|
1245
1245
|
// Check if the comment was successfully created
|
|
1246
1246
|
if (!comment) {
|
|
1247
1247
|
return {
|
|
@@ -1372,7 +1372,7 @@ function configureRepoTools(server, tokenProvider, connectionProvider, userAgent
|
|
|
1372
1372
|
};
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
|
-
const thread = await gitApi.createThread({ comments: [{ content: content }], threadContext: threadContext, status: CommentThreadStatus[status] }, repositoryId, pullRequestId, project);
|
|
1375
|
+
const thread = await gitApi.createThread({ comments: [{ content: content, commentType: 1 }], threadContext: threadContext, status: CommentThreadStatus[status] }, repositoryId, pullRequestId, project);
|
|
1376
1376
|
const trimmedThread = trimPullRequestThread(thread);
|
|
1377
1377
|
return {
|
|
1378
1378
|
content: [{ type: "text", text: JSON.stringify(trimmedThread, null, 2) }],
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.7.0-nightly.
|
|
1
|
+
export const packageVersion = "2.7.0-nightly.20260623";
|