@azure-devops/mcp 2.1.0-nightly.20250913 → 2.1.0-nightly.20250915
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/README.md +3 -3
- package/dist/tools/repositories.js +2 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,10 +255,10 @@ For example, use `"-d", "core", "work", "work-items"` to load only Work Item rel
|
|
|
255
255
|
}
|
|
256
256
|
],
|
|
257
257
|
"servers": {
|
|
258
|
-
"
|
|
258
|
+
"ado_with_filtered_domains": {
|
|
259
259
|
"type": "stdio",
|
|
260
|
-
"command": "
|
|
261
|
-
"args": ["${input:ado_org}", "-d", "core", "work", "work-items"]
|
|
260
|
+
"command": "npx",
|
|
261
|
+
"args": ["-y", "@azure-devops/mcp", "${input:ado_org}", "-d", "core", "work", "work-items"]
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
}
|
|
@@ -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.20250915";
|