@ui5/mcp-server 0.1.5 → 0.2.0

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.
@@ -1,66 +1,32 @@
1
1
  import { z } from "zod";
2
2
  export declare const inputSchema: {
3
- frameworkName: z.ZodEnum<["OpenUI5", "SAPUI5"]>;
3
+ frameworkName: z.ZodEnum<{
4
+ OpenUI5: "OpenUI5";
5
+ SAPUI5: "SAPUI5";
6
+ }>;
4
7
  };
5
8
  export declare const inputSchemaObject: z.ZodObject<{
6
- frameworkName: z.ZodEnum<["OpenUI5", "SAPUI5"]>;
7
- }, "strip", z.ZodTypeAny, {
8
- frameworkName: "OpenUI5" | "SAPUI5";
9
- }, {
10
- frameworkName: "OpenUI5" | "SAPUI5";
11
- }>;
9
+ frameworkName: z.ZodEnum<{
10
+ OpenUI5: "OpenUI5";
11
+ SAPUI5: "SAPUI5";
12
+ }>;
13
+ }, z.core.$strip>;
12
14
  export declare const versionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
13
15
  version: z.ZodString;
14
16
  support: z.ZodString;
15
17
  lts: z.ZodBoolean;
16
- }, "strip", z.ZodTypeAny, {
17
- version: string;
18
- support: string;
19
- lts: boolean;
20
- }, {
21
- version: string;
22
- support: string;
23
- lts: boolean;
24
- }>>;
18
+ }, z.core.$strip>>;
25
19
  export declare const outputSchema: {
26
20
  versions: z.ZodRecord<z.ZodString, z.ZodObject<{
27
21
  version: z.ZodString;
28
22
  support: z.ZodString;
29
23
  lts: z.ZodBoolean;
30
- }, "strip", z.ZodTypeAny, {
31
- version: string;
32
- support: string;
33
- lts: boolean;
34
- }, {
35
- version: string;
36
- support: string;
37
- lts: boolean;
38
- }>>;
24
+ }, z.core.$strip>>;
39
25
  };
40
26
  export declare const outputSchemaObject: z.ZodObject<{
41
27
  versions: z.ZodRecord<z.ZodString, z.ZodObject<{
42
28
  version: z.ZodString;
43
29
  support: z.ZodString;
44
30
  lts: z.ZodBoolean;
45
- }, "strip", z.ZodTypeAny, {
46
- version: string;
47
- support: string;
48
- lts: boolean;
49
- }, {
50
- version: string;
51
- support: string;
52
- lts: boolean;
53
- }>>;
54
- }, "strip", z.ZodTypeAny, {
55
- versions: Record<string, {
56
- version: string;
57
- support: string;
58
- lts: boolean;
59
- }>;
60
- }, {
61
- versions: Record<string, {
62
- version: string;
63
- support: string;
64
- lts: boolean;
65
- }>;
66
- }>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
@@ -51,19 +51,16 @@ export default function registerTool(registerTool, context) {
51
51
  content.push({
52
52
  type: "resource",
53
53
  resource: {
54
- title: migrationGuide.title,
55
54
  text: migrationGuide.text,
56
55
  uri: migrationGuide.uri,
57
56
  mimeType: "text/markdown",
58
57
  },
59
58
  });
60
59
  }
61
- ;
62
60
  for (const doc of documentationResources) {
63
61
  content.push({
64
62
  type: "resource",
65
63
  resource: {
66
- title: doc.title,
67
64
  text: doc.text,
68
65
  uri: doc.uri,
69
66
  mimeType: "text/markdown",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/run_ui5_linter/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAEtD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAGtC,OAAO,EAAC,aAAa,EAAC,MAAM,UAAU,CAAC;AAEvC,MAAM,GAAG,GAAG,SAAS,CAAC,sBAAsB,CAAC,CAAC;AAE9C,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,YAA0B,EAAE,OAAgB;IAChF,YAAY,CAAC,gBAAgB,EAAE;QAC9B,WAAW,EACV,oGAAoG;YACpG,kBAAkB;YAClB,wGAAwG;YACxG,aAAa;QACd,WAAW,EAAE;YACZ,KAAK,EAAE,YAAY;YACnB,YAAY,EAAE,KAAK;SACnB;QACD,WAAW;QACX,YAAY;K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AI,gBAAgB,CAAC,MAAM,EAAE,CAAC;gBAC7B,OAAO,CAAC,IAAI,CAAC;oBACZ,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC;iBAC/C,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO;YACN,OAAO;YACP,iBAAiB,EAAE,OAAO;SAC1B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC"}
@@ -2,25 +2,15 @@ import { z } from "zod";
2
2
  export declare const inputSchema: {
3
3
  projectDir: z.ZodString;
4
4
  fix: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5
- filePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ filePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  provideContextInformation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7
7
  };
8
8
  export declare const inputSchemaObject: z.ZodObject<{
9
9
  projectDir: z.ZodString;
10
10
  fix: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11
- filePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
+ filePatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
12
  provideContextInformation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
13
- }, "strip", z.ZodTypeAny, {
14
- projectDir: string;
15
- fix: boolean;
16
- provideContextInformation: boolean;
17
- filePatterns?: string[] | undefined;
18
- }, {
19
- projectDir: string;
20
- fix?: boolean | undefined;
21
- filePatterns?: string[] | undefined;
22
- provideContextInformation?: boolean | undefined;
23
- }>;
13
+ }, z.core.$strip>;
24
14
  export declare const outputSchema: {
25
15
  projectDir: z.ZodString;
26
16
  frameworkVersion: z.ZodOptional<z.ZodString>;
@@ -34,117 +24,25 @@ export declare const outputSchema: {
34
24
  fatal: z.ZodOptional<z.ZodBoolean>;
35
25
  message: z.ZodString;
36
26
  messageDetails: z.ZodOptional<z.ZodString>;
37
- }, "strip", z.ZodTypeAny, {
38
- message: string;
39
- severity: number;
40
- ruleId: string;
41
- line?: number | undefined;
42
- messageDetails?: string | undefined;
43
- fatal?: boolean | undefined;
44
- column?: number | undefined;
45
- }, {
46
- message: string;
47
- severity: number;
48
- ruleId: string;
49
- line?: number | undefined;
50
- messageDetails?: string | undefined;
51
- fatal?: boolean | undefined;
52
- column?: number | undefined;
53
- }>, "many">;
54
- }, "strip", z.ZodTypeAny, {
55
- messages: {
56
- message: string;
57
- severity: number;
58
- ruleId: string;
59
- line?: number | undefined;
60
- messageDetails?: string | undefined;
61
- fatal?: boolean | undefined;
62
- column?: number | undefined;
63
- }[];
64
- filePath: string;
65
- }, {
66
- messages: {
67
- message: string;
68
- severity: number;
69
- ruleId: string;
70
- line?: number | undefined;
71
- messageDetails?: string | undefined;
72
- fatal?: boolean | undefined;
73
- column?: number | undefined;
74
- }[];
75
- filePath: string;
76
- }>, "many">;
27
+ }, z.core.$strip>>;
28
+ }, z.core.$strip>>;
77
29
  contextInformation: z.ZodOptional<z.ZodObject<{
78
30
  ruleDescriptions: z.ZodArray<z.ZodObject<{
79
31
  ruleId: z.ZodString;
80
32
  description: z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
82
- description: string;
83
- ruleId: string;
84
- }, {
85
- description: string;
86
- ruleId: string;
87
- }>, "many">;
33
+ }, z.core.$strip>>;
88
34
  migrationGuides: z.ZodArray<z.ZodObject<{
89
35
  title: z.ZodString;
90
36
  text: z.ZodString;
91
37
  uri: z.ZodString;
92
- }, "strip", z.ZodTypeAny, {
93
- title: string;
94
- text: string;
95
- uri: string;
96
- }, {
97
- title: string;
98
- text: string;
99
- uri: string;
100
- }>, "many">;
101
- apiReferences: z.ZodArray<z.ZodAny, "many">;
38
+ }, z.core.$strip>>;
39
+ apiReferences: z.ZodArray<z.ZodAny>;
102
40
  documentationResources: z.ZodArray<z.ZodObject<{
103
41
  title: z.ZodString;
104
42
  text: z.ZodString;
105
43
  uri: z.ZodString;
106
- }, "strip", z.ZodTypeAny, {
107
- title: string;
108
- text: string;
109
- uri: string;
110
- }, {
111
- title: string;
112
- text: string;
113
- uri: string;
114
- }>, "many">;
115
- }, "strip", z.ZodTypeAny, {
116
- ruleDescriptions: {
117
- description: string;
118
- ruleId: string;
119
- }[];
120
- migrationGuides: {
121
- title: string;
122
- text: string;
123
- uri: string;
124
- }[];
125
- apiReferences: any[];
126
- documentationResources: {
127
- title: string;
128
- text: string;
129
- uri: string;
130
- }[];
131
- }, {
132
- ruleDescriptions: {
133
- description: string;
134
- ruleId: string;
135
- }[];
136
- migrationGuides: {
137
- title: string;
138
- text: string;
139
- uri: string;
140
- }[];
141
- apiReferences: any[];
142
- documentationResources: {
143
- title: string;
144
- text: string;
145
- uri: string;
146
- }[];
147
- }>>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>>;
148
46
  };
149
47
  export declare const outputSchemaObject: z.ZodObject<{
150
48
  projectDir: z.ZodString;
@@ -159,182 +57,26 @@ export declare const outputSchemaObject: z.ZodObject<{
159
57
  fatal: z.ZodOptional<z.ZodBoolean>;
160
58
  message: z.ZodString;
161
59
  messageDetails: z.ZodOptional<z.ZodString>;
162
- }, "strip", z.ZodTypeAny, {
163
- message: string;
164
- severity: number;
165
- ruleId: string;
166
- line?: number | undefined;
167
- messageDetails?: string | undefined;
168
- fatal?: boolean | undefined;
169
- column?: number | undefined;
170
- }, {
171
- message: string;
172
- severity: number;
173
- ruleId: string;
174
- line?: number | undefined;
175
- messageDetails?: string | undefined;
176
- fatal?: boolean | undefined;
177
- column?: number | undefined;
178
- }>, "many">;
179
- }, "strip", z.ZodTypeAny, {
180
- messages: {
181
- message: string;
182
- severity: number;
183
- ruleId: string;
184
- line?: number | undefined;
185
- messageDetails?: string | undefined;
186
- fatal?: boolean | undefined;
187
- column?: number | undefined;
188
- }[];
189
- filePath: string;
190
- }, {
191
- messages: {
192
- message: string;
193
- severity: number;
194
- ruleId: string;
195
- line?: number | undefined;
196
- messageDetails?: string | undefined;
197
- fatal?: boolean | undefined;
198
- column?: number | undefined;
199
- }[];
200
- filePath: string;
201
- }>, "many">;
60
+ }, z.core.$strip>>;
61
+ }, z.core.$strip>>;
202
62
  contextInformation: z.ZodOptional<z.ZodObject<{
203
63
  ruleDescriptions: z.ZodArray<z.ZodObject<{
204
64
  ruleId: z.ZodString;
205
65
  description: z.ZodString;
206
- }, "strip", z.ZodTypeAny, {
207
- description: string;
208
- ruleId: string;
209
- }, {
210
- description: string;
211
- ruleId: string;
212
- }>, "many">;
66
+ }, z.core.$strip>>;
213
67
  migrationGuides: z.ZodArray<z.ZodObject<{
214
68
  title: z.ZodString;
215
69
  text: z.ZodString;
216
70
  uri: z.ZodString;
217
- }, "strip", z.ZodTypeAny, {
218
- title: string;
219
- text: string;
220
- uri: string;
221
- }, {
222
- title: string;
223
- text: string;
224
- uri: string;
225
- }>, "many">;
226
- apiReferences: z.ZodArray<z.ZodAny, "many">;
71
+ }, z.core.$strip>>;
72
+ apiReferences: z.ZodArray<z.ZodAny>;
227
73
  documentationResources: z.ZodArray<z.ZodObject<{
228
74
  title: z.ZodString;
229
75
  text: z.ZodString;
230
76
  uri: z.ZodString;
231
- }, "strip", z.ZodTypeAny, {
232
- title: string;
233
- text: string;
234
- uri: string;
235
- }, {
236
- title: string;
237
- text: string;
238
- uri: string;
239
- }>, "many">;
240
- }, "strip", z.ZodTypeAny, {
241
- ruleDescriptions: {
242
- description: string;
243
- ruleId: string;
244
- }[];
245
- migrationGuides: {
246
- title: string;
247
- text: string;
248
- uri: string;
249
- }[];
250
- apiReferences: any[];
251
- documentationResources: {
252
- title: string;
253
- text: string;
254
- uri: string;
255
- }[];
256
- }, {
257
- ruleDescriptions: {
258
- description: string;
259
- ruleId: string;
260
- }[];
261
- migrationGuides: {
262
- title: string;
263
- text: string;
264
- uri: string;
265
- }[];
266
- apiReferences: any[];
267
- documentationResources: {
268
- title: string;
269
- text: string;
270
- uri: string;
271
- }[];
272
- }>>;
273
- }, "strip", z.ZodTypeAny, {
274
- projectDir: string;
275
- results: {
276
- messages: {
277
- message: string;
278
- severity: number;
279
- ruleId: string;
280
- line?: number | undefined;
281
- messageDetails?: string | undefined;
282
- fatal?: boolean | undefined;
283
- column?: number | undefined;
284
- }[];
285
- filePath: string;
286
- }[];
287
- frameworkVersion?: string | undefined;
288
- contextInformation?: {
289
- ruleDescriptions: {
290
- description: string;
291
- ruleId: string;
292
- }[];
293
- migrationGuides: {
294
- title: string;
295
- text: string;
296
- uri: string;
297
- }[];
298
- apiReferences: any[];
299
- documentationResources: {
300
- title: string;
301
- text: string;
302
- uri: string;
303
- }[];
304
- } | undefined;
305
- }, {
306
- projectDir: string;
307
- results: {
308
- messages: {
309
- message: string;
310
- severity: number;
311
- ruleId: string;
312
- line?: number | undefined;
313
- messageDetails?: string | undefined;
314
- fatal?: boolean | undefined;
315
- column?: number | undefined;
316
- }[];
317
- filePath: string;
318
- }[];
319
- frameworkVersion?: string | undefined;
320
- contextInformation?: {
321
- ruleDescriptions: {
322
- description: string;
323
- ruleId: string;
324
- }[];
325
- migrationGuides: {
326
- title: string;
327
- text: string;
328
- uri: string;
329
- }[];
330
- apiReferences: any[];
331
- documentationResources: {
332
- title: string;
333
- text: string;
334
- uri: string;
335
- }[];
336
- } | undefined;
337
- }>;
77
+ }, z.core.$strip>>;
78
+ }, z.core.$strip>>;
79
+ }, z.core.$strip>;
338
80
  export type RunUi5LinterParams = z.infer<typeof inputSchemaObject>;
339
81
  export type RunUi5LinterResult = z.infer<typeof outputSchemaObject>;
340
82
  export type RunUi5LinterResultContext = z.infer<typeof outputSchema.contextInformation>;
@@ -1,4 +1,7 @@
1
1
  import { z } from "zod";
2
- export declare const Ui5FrameworkSchema: z.ZodEnum<["OpenUI5", "SAPUI5"]>;
2
+ export declare const Ui5FrameworkSchema: z.ZodEnum<{
3
+ OpenUI5: "OpenUI5";
4
+ SAPUI5: "SAPUI5";
5
+ }>;
3
6
  export type Ui5Framework = z.infer<typeof Ui5FrameworkSchema>;
4
7
  export declare function isUi5Framework(value: unknown): value is Ui5Framework;