@zereight/mcp-gitlab 1.0.52 → 1.0.53

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.
Files changed (2) hide show
  1. package/build/schemas.js +6 -6
  2. package/package.json +1 -1
package/build/schemas.js CHANGED
@@ -572,21 +572,21 @@ export const GitLabDiscussionNoteSchema = z.object({
572
572
  old_path: z.string(),
573
573
  new_path: z.string(),
574
574
  position_type: z.enum(["text", "image", "file"]),
575
- old_line: z.number().nullable(),
576
- new_line: z.number().nullable(),
575
+ old_line: z.number().nullish(), // This is missing for image diffs
576
+ new_line: z.number().nullish(), // This is missing for image diffs
577
577
  line_range: z
578
578
  .object({
579
579
  start: z.object({
580
580
  line_code: z.string(),
581
581
  type: z.enum(["new", "old", "expanded"]),
582
- old_line: z.number().nullable(),
583
- new_line: z.number().nullable(),
582
+ old_line: z.number().nullish(), // This is missing for image diffs
583
+ new_line: z.number().nullish(), // This is missing for image diffs
584
584
  }),
585
585
  end: z.object({
586
586
  line_code: z.string(),
587
587
  type: z.enum(["new", "old", "expanded"]),
588
- old_line: z.number().nullable(),
589
- new_line: z.number().nullable(),
588
+ old_line: z.number().nullish(), // This is missing for image diffs
589
+ new_line: z.number().nullish(), // This is missing for image diffs
590
590
  }),
591
591
  })
592
592
  .nullable()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zereight/mcp-gitlab",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "MCP server for using the GitLab API",
5
5
  "license": "MIT",
6
6
  "author": "zereight",