@azure-devops/mcp 2.6.0 → 2.7.0-nightly.20260423

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/auth.js CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
package/dist/logger.js CHANGED
File without changes
File without changes
package/dist/prompts.js CHANGED
File without changes
@@ -714,7 +714,7 @@ function configureWorkItemTools(server, tokenProvider, connectionProvider, userA
714
714
  .array(z.object({
715
715
  name: z.string().describe("The name of the field, e.g., 'System.Title'."),
716
716
  value: z.string().describe("The value of the field."),
717
- format: z.enum(["Html", "Markdown"]).optional().default("Markdown").describe("the format of the field value, e.g., 'Html', 'Markdown'. Optional, defaults to 'Markdown'."),
717
+ format: z.enum(["Html", "Markdown"]).optional().describe("the format of the field value, e.g., 'Html', 'Markdown'. Optional, defaults to 'Markdown'."),
718
718
  }))
719
719
  .describe("A record of field names and values to set on the new work item. Each fild is the field name and each value is the corresponding value to set for that field."),
720
720
  }, async ({ project, workItemType, fields }) => {
@@ -735,9 +735,9 @@ function configureWorkItemTools(server, tokenProvider, connectionProvider, userA
735
735
  }));
736
736
  // Check if any field has format === "Markdown" and add the multilineFieldsFormat operation
737
737
  // this should only happen for large text fields, but since we dont't know by field name, lets assume if the users
738
- // passes a value longer than 50 characters, then we can set the format to Markdown
738
+ // passes a value longer than 100 characters, then we can set the format to Markdown
739
739
  fields.forEach(({ name, value, format }) => {
740
- if (value.length > 50 && format === "Markdown") {
740
+ if (value.length > 100 && format === "Markdown") {
741
741
  document.push({
742
742
  op: "add",
743
743
  path: `/multilineFieldsFormat/${name}`,
@@ -838,7 +838,6 @@ function configureWorkItemTools(server, tokenProvider, connectionProvider, userA
838
838
  format: z
839
839
  .enum(["Html", "Markdown"])
840
840
  .optional()
841
- .default("Markdown")
842
841
  .describe("The format of the field value. Only to be used for large text fields. e.g., 'Html', 'Markdown'. Optional, defaults to 'Markdown'."),
843
842
  }))
844
843
  .describe("An array of updates to apply to work items. Each update should include the operation (op), work item ID (id), field path (path), and new value (value)."),
@@ -858,7 +857,7 @@ function configureWorkItemTools(server, tokenProvider, connectionProvider, userA
858
857
  }));
859
858
  // Add format operations for Markdown fields
860
859
  workItemUpdates.forEach(({ path, value, format }) => {
861
- if (format === "Markdown" && value && value.length > 50) {
860
+ if (format === "Markdown" && value && value.length > 100) {
862
861
  operations.push({
863
862
  op: "Add",
864
863
  path: `/multilineFieldsFormat${path.replace("/fields", "")}`,
package/dist/tools.js CHANGED
File without changes
package/dist/useragent.js CHANGED
File without changes
package/dist/utils.js CHANGED
File without changes
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const packageVersion = "2.6.0";
1
+ export const packageVersion = "2.7.0-nightly.20260423";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-devops/mcp",
3
- "version": "2.6.0",
3
+ "version": "2.7.0-nightly.20260423",
4
4
  "mcpName": "microsoft.com/azure-devops",
5
5
  "description": "MCP server for interacting with Azure DevOps",
6
6
  "license": "MIT",