@structured-world/gitlab-mcp 4.0.0 → 4.1.1

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 (86) hide show
  1. package/README.md +90 -4
  2. package/dist/entities/core/registry.js +162 -70
  3. package/dist/entities/core/registry.js.map +1 -1
  4. package/dist/entities/core/schema-readonly.d.ts +421 -199
  5. package/dist/entities/core/schema-readonly.js +222 -131
  6. package/dist/entities/core/schema-readonly.js.map +1 -1
  7. package/dist/entities/core/schema.d.ts +152 -61
  8. package/dist/entities/core/schema.js +111 -55
  9. package/dist/entities/core/schema.js.map +1 -1
  10. package/dist/entities/files/registry.js +5 -5
  11. package/dist/entities/files/registry.js.map +1 -1
  12. package/dist/entities/files/schema-readonly.d.ts +124 -24
  13. package/dist/entities/files/schema.d.ts +82 -17
  14. package/dist/entities/labels/registry.js +23 -34
  15. package/dist/entities/labels/registry.js.map +1 -1
  16. package/dist/entities/labels/schema-readonly.d.ts +26 -10
  17. package/dist/entities/labels/schema-readonly.js +5 -15
  18. package/dist/entities/labels/schema-readonly.js.map +1 -1
  19. package/dist/entities/labels/schema.d.ts +40 -11
  20. package/dist/entities/labels/schema.js +8 -23
  21. package/dist/entities/labels/schema.js.map +1 -1
  22. package/dist/entities/milestones/registry.js +44 -61
  23. package/dist/entities/milestones/registry.js.map +1 -1
  24. package/dist/entities/milestones/schema-readonly.d.ts +105 -30
  25. package/dist/entities/milestones/schema-readonly.js +7 -15
  26. package/dist/entities/milestones/schema-readonly.js.map +1 -1
  27. package/dist/entities/milestones/schema.d.ts +52 -19
  28. package/dist/entities/milestones/schema.js +8 -28
  29. package/dist/entities/milestones/schema.js.map +1 -1
  30. package/dist/entities/mrs/registry.js +20 -20
  31. package/dist/entities/mrs/registry.js.map +1 -1
  32. package/dist/entities/mrs/schema-readonly.d.ts +243 -68
  33. package/dist/entities/mrs/schema-readonly.js +83 -54
  34. package/dist/entities/mrs/schema-readonly.js.map +1 -1
  35. package/dist/entities/mrs/schema.d.ts +885 -142
  36. package/dist/entities/mrs/schema.js +113 -37
  37. package/dist/entities/mrs/schema.js.map +1 -1
  38. package/dist/entities/pipelines/registry.js +12 -12
  39. package/dist/entities/pipelines/registry.js.map +1 -1
  40. package/dist/entities/pipelines/schema-readonly.d.ts +525 -115
  41. package/dist/entities/pipelines/schema.d.ts +104 -30
  42. package/dist/entities/shared.d.ts +787 -110
  43. package/dist/entities/utils.d.ts +2 -2
  44. package/dist/entities/variables/registry.js +23 -33
  45. package/dist/entities/variables/registry.js.map +1 -1
  46. package/dist/entities/variables/schema-readonly.d.ts +30 -7
  47. package/dist/entities/variables/schema-readonly.js +4 -13
  48. package/dist/entities/variables/schema-readonly.js.map +1 -1
  49. package/dist/entities/variables/schema.d.ts +83 -26
  50. package/dist/entities/variables/schema.js +6 -21
  51. package/dist/entities/variables/schema.js.map +1 -1
  52. package/dist/entities/wiki/registry.js +25 -42
  53. package/dist/entities/wiki/registry.js.map +1 -1
  54. package/dist/entities/wiki/schema-readonly.d.ts +37 -8
  55. package/dist/entities/wiki/schema-readonly.js +4 -13
  56. package/dist/entities/wiki/schema-readonly.js.map +1 -1
  57. package/dist/entities/wiki/schema.d.ts +34 -9
  58. package/dist/entities/wiki/schema.js +6 -21
  59. package/dist/entities/wiki/schema.js.map +1 -1
  60. package/dist/entities/workitems/registry.js +94 -13
  61. package/dist/entities/workitems/registry.js.map +1 -1
  62. package/dist/entities/workitems/schema-readonly.d.ts +29 -32
  63. package/dist/entities/workitems/schema-readonly.js +7 -2
  64. package/dist/entities/workitems/schema-readonly.js.map +1 -1
  65. package/dist/entities/workitems/schema.d.ts +45 -21
  66. package/dist/graphql/workItems.d.ts +34 -1
  67. package/dist/graphql/workItems.js +349 -2
  68. package/dist/graphql/workItems.js.map +1 -1
  69. package/dist/handlers.js +44 -0
  70. package/dist/handlers.js.map +1 -1
  71. package/dist/registry-manager.d.ts +1 -0
  72. package/dist/registry-manager.js +54 -0
  73. package/dist/registry-manager.js.map +1 -1
  74. package/dist/services/ConnectionManager.js +3 -3
  75. package/dist/services/ConnectionManager.js.map +1 -1
  76. package/dist/services/SchemaIntrospector.js +3 -3
  77. package/dist/services/SchemaIntrospector.js.map +1 -1
  78. package/dist/services/ToolAvailability.js +30 -1
  79. package/dist/services/ToolAvailability.js.map +1 -1
  80. package/dist/structured-world-gitlab-mcp-4.1.1.tgz +0 -0
  81. package/dist/tsconfig.build.tsbuildinfo +1 -1
  82. package/dist/utils/namespace.d.ts +6 -0
  83. package/dist/utils/namespace.js +52 -0
  84. package/dist/utils/namespace.js.map +1 -0
  85. package/package.json +5 -3
  86. package/dist/structured-world-gitlab-mcp-4.0.0.tgz +0 -0
@@ -1,49 +1,123 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CreatePipelineSchema: z.ZodObject<{
3
- project_id: z.ZodCoercedString<unknown>;
3
+ project_id: z.ZodString;
4
4
  ref: z.ZodString;
5
5
  variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  key: z.ZodString;
7
7
  value: z.ZodString;
8
- variable_type: z.ZodOptional<z.ZodEnum<{
9
- file: "file";
10
- env_var: "env_var";
11
- }>>;
12
- }, z.core.$strip>>>;
13
- }, z.core.$strip>;
8
+ variable_type: z.ZodOptional<z.ZodEnum<["env_var", "file"]>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ key: string;
11
+ value: string;
12
+ variable_type?: "file" | "env_var" | undefined;
13
+ }, {
14
+ key: string;
15
+ value: string;
16
+ variable_type?: "file" | "env_var" | undefined;
17
+ }>, "many">>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ project_id: string;
20
+ ref: string;
21
+ variables?: {
22
+ key: string;
23
+ value: string;
24
+ variable_type?: "file" | "env_var" | undefined;
25
+ }[] | undefined;
26
+ }, {
27
+ project_id: string;
28
+ ref: string;
29
+ variables?: {
30
+ key: string;
31
+ value: string;
32
+ variable_type?: "file" | "env_var" | undefined;
33
+ }[] | undefined;
34
+ }>;
14
35
  export declare const RetryPipelineSchema: z.ZodObject<{
15
- project_id: z.ZodCoercedString<unknown>;
16
- pipeline_id: z.ZodCoercedString<unknown>;
17
- }, z.core.$strip>;
36
+ project_id: z.ZodString;
37
+ pipeline_id: z.ZodString;
38
+ }, "strip", z.ZodTypeAny, {
39
+ project_id: string;
40
+ pipeline_id: string;
41
+ }, {
42
+ project_id: string;
43
+ pipeline_id: string;
44
+ }>;
18
45
  export declare const CancelPipelineSchema: z.ZodObject<{
19
- project_id: z.ZodCoercedString<unknown>;
20
- pipeline_id: z.ZodCoercedString<unknown>;
21
- }, z.core.$strip>;
46
+ project_id: z.ZodString;
47
+ pipeline_id: z.ZodString;
48
+ }, "strip", z.ZodTypeAny, {
49
+ project_id: string;
50
+ pipeline_id: string;
51
+ }, {
52
+ project_id: string;
53
+ pipeline_id: string;
54
+ }>;
22
55
  export declare const PlayPipelineJobSchema: z.ZodObject<{
23
- project_id: z.ZodCoercedString<unknown>;
24
- job_id: z.ZodCoercedString<unknown>;
56
+ project_id: z.ZodString;
57
+ job_id: z.ZodString;
25
58
  job_variables_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
59
  key: z.ZodString;
27
60
  value: z.ZodString;
28
- variable_type: z.ZodOptional<z.ZodEnum<{
29
- file: "file";
30
- env_var: "env_var";
31
- }>>;
32
- }, z.core.$strip>>>;
33
- }, z.core.$strip>;
61
+ variable_type: z.ZodOptional<z.ZodEnum<["env_var", "file"]>>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ key: string;
64
+ value: string;
65
+ variable_type?: "file" | "env_var" | undefined;
66
+ }, {
67
+ key: string;
68
+ value: string;
69
+ variable_type?: "file" | "env_var" | undefined;
70
+ }>, "many">>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ project_id: string;
73
+ job_id: string;
74
+ job_variables_attributes?: {
75
+ key: string;
76
+ value: string;
77
+ variable_type?: "file" | "env_var" | undefined;
78
+ }[] | undefined;
79
+ }, {
80
+ project_id: string;
81
+ job_id: string;
82
+ job_variables_attributes?: {
83
+ key: string;
84
+ value: string;
85
+ variable_type?: "file" | "env_var" | undefined;
86
+ }[] | undefined;
87
+ }>;
34
88
  export declare const PipelineJobControlSchema: z.ZodObject<{
35
- project_id: z.ZodCoercedString<unknown>;
36
- job_id: z.ZodCoercedString<unknown>;
37
- }, z.core.$strip>;
89
+ project_id: z.ZodString;
90
+ job_id: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ project_id: string;
93
+ job_id: string;
94
+ }, {
95
+ project_id: string;
96
+ job_id: string;
97
+ }>;
38
98
  export declare const RetryPipelineJobSchema: z.ZodObject<{
39
- project_id: z.ZodCoercedString<unknown>;
40
- job_id: z.ZodCoercedString<unknown>;
41
- }, z.core.$strip>;
99
+ project_id: z.ZodString;
100
+ job_id: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ project_id: string;
103
+ job_id: string;
104
+ }, {
105
+ project_id: string;
106
+ job_id: string;
107
+ }>;
42
108
  export declare const CancelPipelineJobSchema: z.ZodObject<{
43
- project_id: z.ZodCoercedString<unknown>;
44
- job_id: z.ZodCoercedString<unknown>;
109
+ project_id: z.ZodString;
110
+ job_id: z.ZodString;
45
111
  force: z.ZodOptional<z.ZodBoolean>;
46
- }, z.core.$strip>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ project_id: string;
114
+ job_id: string;
115
+ force?: boolean | undefined;
116
+ }, {
117
+ project_id: string;
118
+ job_id: string;
119
+ force?: boolean | undefined;
120
+ }>;
47
121
  export type CreatePipelineOptions = z.infer<typeof CreatePipelineSchema>;
48
122
  export type RetryPipelineOptions = z.infer<typeof RetryPipelineSchema>;
49
123
  export type CancelPipelineOptions = z.infer<typeof CancelPipelineSchema>;