@adhisang/minecraft-modding-mcp 2.1.0 → 3.1.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +38 -1
  2. package/README.md +224 -802
  3. package/dist/cache-registry.d.ts +95 -0
  4. package/dist/cache-registry.js +541 -0
  5. package/dist/entry-tools/analyze-mod-service.d.ts +207 -0
  6. package/dist/entry-tools/analyze-mod-service.js +309 -0
  7. package/dist/entry-tools/analyze-symbol-service.d.ts +209 -0
  8. package/dist/entry-tools/analyze-symbol-service.js +359 -0
  9. package/dist/entry-tools/compare-minecraft-service.d.ts +210 -0
  10. package/dist/entry-tools/compare-minecraft-service.js +429 -0
  11. package/dist/entry-tools/entry-tool-schema.d.ts +6 -0
  12. package/dist/entry-tools/entry-tool-schema.js +10 -0
  13. package/dist/entry-tools/inspect-minecraft-service.d.ts +1954 -0
  14. package/dist/entry-tools/inspect-minecraft-service.js +1030 -0
  15. package/dist/entry-tools/manage-cache-service.d.ts +130 -0
  16. package/dist/entry-tools/manage-cache-service.js +264 -0
  17. package/dist/entry-tools/request-normalizers.d.ts +10 -0
  18. package/dist/entry-tools/request-normalizers.js +36 -0
  19. package/dist/entry-tools/response-contract.d.ts +45 -0
  20. package/dist/entry-tools/response-contract.js +99 -0
  21. package/dist/entry-tools/validate-project-service.d.ts +543 -0
  22. package/dist/entry-tools/validate-project-service.js +414 -0
  23. package/dist/index.js +183 -59
  24. package/dist/observability.d.ts +18 -2
  25. package/dist/observability.js +47 -10
  26. package/dist/source-service.d.ts +0 -1
  27. package/dist/source-service.js +44 -54
  28. package/dist/storage/files-repo.d.ts +1 -0
  29. package/dist/storage/files-repo.js +29 -5
  30. package/dist/tool-contract-manifest.d.ts +4 -0
  31. package/dist/tool-contract-manifest.js +139 -0
  32. package/package.json +1 -1
@@ -0,0 +1,1954 @@
1
+ import { z } from "zod";
2
+ import type { FindClassOutput, GetArtifactFileOutput, GetClassMembersOutput, GetClassSourceOutput, ListArtifactFilesOutput, ResolveArtifactOutput, SearchClassSourceOutput } from "../source-service.js";
3
+ import type { ListVersionsOutput } from "../version-service.js";
4
+ export declare const inspectMinecraftShape: {
5
+ task: z.ZodOptional<z.ZodEnum<["auto", "versions", "artifact", "class-overview", "class-source", "class-members", "search", "file", "list-files"]>>;
6
+ subject: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
7
+ kind: z.ZodLiteral<"version">;
8
+ version: z.ZodString;
9
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
10
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
11
+ projectPath: z.ZodOptional<z.ZodString>;
12
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
13
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ kind: "version";
16
+ version: string;
17
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
18
+ projectPath?: string | undefined;
19
+ scope?: "loader" | "merged" | "vanilla" | undefined;
20
+ preferProjectVersion?: boolean | undefined;
21
+ strictVersion?: boolean | undefined;
22
+ }, {
23
+ kind: "version";
24
+ version: string;
25
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
26
+ projectPath?: string | undefined;
27
+ scope?: "loader" | "merged" | "vanilla" | undefined;
28
+ preferProjectVersion?: boolean | undefined;
29
+ strictVersion?: boolean | undefined;
30
+ }>, z.ZodObject<{
31
+ kind: z.ZodLiteral<"artifact">;
32
+ artifact: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
33
+ type: z.ZodLiteral<"resolved-id">;
34
+ artifactId: z.ZodString;
35
+ }, "strip", z.ZodTypeAny, {
36
+ artifactId: string;
37
+ type: "resolved-id";
38
+ }, {
39
+ artifactId: string;
40
+ type: "resolved-id";
41
+ }>, z.ZodObject<{
42
+ type: z.ZodLiteral<"resolve-target">;
43
+ target: z.ZodObject<{
44
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
45
+ value: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ kind: "version" | "jar" | "coordinate";
48
+ value: string;
49
+ }, {
50
+ kind: "version" | "jar" | "coordinate";
51
+ value: string;
52
+ }>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type: "resolve-target";
55
+ target: {
56
+ kind: "version" | "jar" | "coordinate";
57
+ value: string;
58
+ };
59
+ }, {
60
+ type: "resolve-target";
61
+ target: {
62
+ kind: "version" | "jar" | "coordinate";
63
+ value: string;
64
+ };
65
+ }>]>;
66
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
67
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
68
+ projectPath: z.ZodOptional<z.ZodString>;
69
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
70
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ kind: "artifact";
73
+ artifact: {
74
+ artifactId: string;
75
+ type: "resolved-id";
76
+ } | {
77
+ type: "resolve-target";
78
+ target: {
79
+ kind: "version" | "jar" | "coordinate";
80
+ value: string;
81
+ };
82
+ };
83
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
84
+ projectPath?: string | undefined;
85
+ scope?: "loader" | "merged" | "vanilla" | undefined;
86
+ preferProjectVersion?: boolean | undefined;
87
+ strictVersion?: boolean | undefined;
88
+ }, {
89
+ kind: "artifact";
90
+ artifact: {
91
+ artifactId: string;
92
+ type: "resolved-id";
93
+ } | {
94
+ type: "resolve-target";
95
+ target: {
96
+ kind: "version" | "jar" | "coordinate";
97
+ value: string;
98
+ };
99
+ };
100
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
101
+ projectPath?: string | undefined;
102
+ scope?: "loader" | "merged" | "vanilla" | undefined;
103
+ preferProjectVersion?: boolean | undefined;
104
+ strictVersion?: boolean | undefined;
105
+ }>, z.ZodObject<{
106
+ kind: z.ZodLiteral<"class">;
107
+ className: z.ZodString;
108
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
109
+ type: z.ZodLiteral<"resolved-id">;
110
+ artifactId: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ artifactId: string;
113
+ type: "resolved-id";
114
+ }, {
115
+ artifactId: string;
116
+ type: "resolved-id";
117
+ }>, z.ZodObject<{
118
+ type: z.ZodLiteral<"resolve-target">;
119
+ target: z.ZodObject<{
120
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
121
+ value: z.ZodString;
122
+ }, "strip", z.ZodTypeAny, {
123
+ kind: "version" | "jar" | "coordinate";
124
+ value: string;
125
+ }, {
126
+ kind: "version" | "jar" | "coordinate";
127
+ value: string;
128
+ }>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ type: "resolve-target";
131
+ target: {
132
+ kind: "version" | "jar" | "coordinate";
133
+ value: string;
134
+ };
135
+ }, {
136
+ type: "resolve-target";
137
+ target: {
138
+ kind: "version" | "jar" | "coordinate";
139
+ value: string;
140
+ };
141
+ }>]>>;
142
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
143
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
144
+ projectPath: z.ZodOptional<z.ZodString>;
145
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
146
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ kind: "class";
149
+ className: string;
150
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
151
+ projectPath?: string | undefined;
152
+ scope?: "loader" | "merged" | "vanilla" | undefined;
153
+ preferProjectVersion?: boolean | undefined;
154
+ strictVersion?: boolean | undefined;
155
+ artifact?: {
156
+ artifactId: string;
157
+ type: "resolved-id";
158
+ } | {
159
+ type: "resolve-target";
160
+ target: {
161
+ kind: "version" | "jar" | "coordinate";
162
+ value: string;
163
+ };
164
+ } | undefined;
165
+ }, {
166
+ kind: "class";
167
+ className: string;
168
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
169
+ projectPath?: string | undefined;
170
+ scope?: "loader" | "merged" | "vanilla" | undefined;
171
+ preferProjectVersion?: boolean | undefined;
172
+ strictVersion?: boolean | undefined;
173
+ artifact?: {
174
+ artifactId: string;
175
+ type: "resolved-id";
176
+ } | {
177
+ type: "resolve-target";
178
+ target: {
179
+ kind: "version" | "jar" | "coordinate";
180
+ value: string;
181
+ };
182
+ } | undefined;
183
+ }>, z.ZodObject<{
184
+ kind: z.ZodLiteral<"file">;
185
+ filePath: z.ZodString;
186
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
187
+ type: z.ZodLiteral<"resolved-id">;
188
+ artifactId: z.ZodString;
189
+ }, "strip", z.ZodTypeAny, {
190
+ artifactId: string;
191
+ type: "resolved-id";
192
+ }, {
193
+ artifactId: string;
194
+ type: "resolved-id";
195
+ }>, z.ZodObject<{
196
+ type: z.ZodLiteral<"resolve-target">;
197
+ target: z.ZodObject<{
198
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
199
+ value: z.ZodString;
200
+ }, "strip", z.ZodTypeAny, {
201
+ kind: "version" | "jar" | "coordinate";
202
+ value: string;
203
+ }, {
204
+ kind: "version" | "jar" | "coordinate";
205
+ value: string;
206
+ }>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ type: "resolve-target";
209
+ target: {
210
+ kind: "version" | "jar" | "coordinate";
211
+ value: string;
212
+ };
213
+ }, {
214
+ type: "resolve-target";
215
+ target: {
216
+ kind: "version" | "jar" | "coordinate";
217
+ value: string;
218
+ };
219
+ }>]>>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ kind: "file";
222
+ filePath: string;
223
+ artifact?: {
224
+ artifactId: string;
225
+ type: "resolved-id";
226
+ } | {
227
+ type: "resolve-target";
228
+ target: {
229
+ kind: "version" | "jar" | "coordinate";
230
+ value: string;
231
+ };
232
+ } | undefined;
233
+ }, {
234
+ kind: "file";
235
+ filePath: string;
236
+ artifact?: {
237
+ artifactId: string;
238
+ type: "resolved-id";
239
+ } | {
240
+ type: "resolve-target";
241
+ target: {
242
+ kind: "version" | "jar" | "coordinate";
243
+ value: string;
244
+ };
245
+ } | undefined;
246
+ }>, z.ZodObject<{
247
+ kind: z.ZodLiteral<"search">;
248
+ query: z.ZodString;
249
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
250
+ type: z.ZodLiteral<"resolved-id">;
251
+ artifactId: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
253
+ artifactId: string;
254
+ type: "resolved-id";
255
+ }, {
256
+ artifactId: string;
257
+ type: "resolved-id";
258
+ }>, z.ZodObject<{
259
+ type: z.ZodLiteral<"resolve-target">;
260
+ target: z.ZodObject<{
261
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
262
+ value: z.ZodString;
263
+ }, "strip", z.ZodTypeAny, {
264
+ kind: "version" | "jar" | "coordinate";
265
+ value: string;
266
+ }, {
267
+ kind: "version" | "jar" | "coordinate";
268
+ value: string;
269
+ }>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "resolve-target";
272
+ target: {
273
+ kind: "version" | "jar" | "coordinate";
274
+ value: string;
275
+ };
276
+ }, {
277
+ type: "resolve-target";
278
+ target: {
279
+ kind: "version" | "jar" | "coordinate";
280
+ value: string;
281
+ };
282
+ }>]>>;
283
+ intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
284
+ match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
285
+ symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
286
+ packagePrefix: z.ZodOptional<z.ZodString>;
287
+ fileGlob: z.ZodOptional<z.ZodString>;
288
+ queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ kind: "search";
291
+ query: string;
292
+ queryMode: "auto" | "token" | "literal";
293
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
294
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
295
+ intent?: "symbol" | "path" | "text" | undefined;
296
+ fileGlob?: string | undefined;
297
+ artifact?: {
298
+ artifactId: string;
299
+ type: "resolved-id";
300
+ } | {
301
+ type: "resolve-target";
302
+ target: {
303
+ kind: "version" | "jar" | "coordinate";
304
+ value: string;
305
+ };
306
+ } | undefined;
307
+ packagePrefix?: string | undefined;
308
+ }, {
309
+ kind: "search";
310
+ query: string;
311
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
312
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
313
+ intent?: "symbol" | "path" | "text" | undefined;
314
+ fileGlob?: string | undefined;
315
+ artifact?: {
316
+ artifactId: string;
317
+ type: "resolved-id";
318
+ } | {
319
+ type: "resolve-target";
320
+ target: {
321
+ kind: "version" | "jar" | "coordinate";
322
+ value: string;
323
+ };
324
+ } | undefined;
325
+ packagePrefix?: string | undefined;
326
+ queryMode?: "auto" | "token" | "literal" | undefined;
327
+ }>, z.ZodObject<{
328
+ kind: z.ZodLiteral<"workspace">;
329
+ projectPath: z.ZodString;
330
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
331
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
332
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
333
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
334
+ focus: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
335
+ kind: z.ZodLiteral<"class">;
336
+ className: z.ZodString;
337
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
338
+ type: z.ZodLiteral<"resolved-id">;
339
+ artifactId: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ artifactId: string;
342
+ type: "resolved-id";
343
+ }, {
344
+ artifactId: string;
345
+ type: "resolved-id";
346
+ }>, z.ZodObject<{
347
+ type: z.ZodLiteral<"resolve-target">;
348
+ target: z.ZodObject<{
349
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
350
+ value: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ kind: "version" | "jar" | "coordinate";
353
+ value: string;
354
+ }, {
355
+ kind: "version" | "jar" | "coordinate";
356
+ value: string;
357
+ }>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ type: "resolve-target";
360
+ target: {
361
+ kind: "version" | "jar" | "coordinate";
362
+ value: string;
363
+ };
364
+ }, {
365
+ type: "resolve-target";
366
+ target: {
367
+ kind: "version" | "jar" | "coordinate";
368
+ value: string;
369
+ };
370
+ }>]>>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ kind: "class";
373
+ className: string;
374
+ artifact?: {
375
+ artifactId: string;
376
+ type: "resolved-id";
377
+ } | {
378
+ type: "resolve-target";
379
+ target: {
380
+ kind: "version" | "jar" | "coordinate";
381
+ value: string;
382
+ };
383
+ } | undefined;
384
+ }, {
385
+ kind: "class";
386
+ className: string;
387
+ artifact?: {
388
+ artifactId: string;
389
+ type: "resolved-id";
390
+ } | {
391
+ type: "resolve-target";
392
+ target: {
393
+ kind: "version" | "jar" | "coordinate";
394
+ value: string;
395
+ };
396
+ } | undefined;
397
+ }>, z.ZodObject<{
398
+ kind: z.ZodLiteral<"file">;
399
+ filePath: z.ZodString;
400
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
401
+ type: z.ZodLiteral<"resolved-id">;
402
+ artifactId: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ artifactId: string;
405
+ type: "resolved-id";
406
+ }, {
407
+ artifactId: string;
408
+ type: "resolved-id";
409
+ }>, z.ZodObject<{
410
+ type: z.ZodLiteral<"resolve-target">;
411
+ target: z.ZodObject<{
412
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
413
+ value: z.ZodString;
414
+ }, "strip", z.ZodTypeAny, {
415
+ kind: "version" | "jar" | "coordinate";
416
+ value: string;
417
+ }, {
418
+ kind: "version" | "jar" | "coordinate";
419
+ value: string;
420
+ }>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ type: "resolve-target";
423
+ target: {
424
+ kind: "version" | "jar" | "coordinate";
425
+ value: string;
426
+ };
427
+ }, {
428
+ type: "resolve-target";
429
+ target: {
430
+ kind: "version" | "jar" | "coordinate";
431
+ value: string;
432
+ };
433
+ }>]>>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ kind: "file";
436
+ filePath: string;
437
+ artifact?: {
438
+ artifactId: string;
439
+ type: "resolved-id";
440
+ } | {
441
+ type: "resolve-target";
442
+ target: {
443
+ kind: "version" | "jar" | "coordinate";
444
+ value: string;
445
+ };
446
+ } | undefined;
447
+ }, {
448
+ kind: "file";
449
+ filePath: string;
450
+ artifact?: {
451
+ artifactId: string;
452
+ type: "resolved-id";
453
+ } | {
454
+ type: "resolve-target";
455
+ target: {
456
+ kind: "version" | "jar" | "coordinate";
457
+ value: string;
458
+ };
459
+ } | undefined;
460
+ }>, z.ZodObject<{
461
+ kind: z.ZodLiteral<"search">;
462
+ query: z.ZodString;
463
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
464
+ type: z.ZodLiteral<"resolved-id">;
465
+ artifactId: z.ZodString;
466
+ }, "strip", z.ZodTypeAny, {
467
+ artifactId: string;
468
+ type: "resolved-id";
469
+ }, {
470
+ artifactId: string;
471
+ type: "resolved-id";
472
+ }>, z.ZodObject<{
473
+ type: z.ZodLiteral<"resolve-target">;
474
+ target: z.ZodObject<{
475
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
476
+ value: z.ZodString;
477
+ }, "strip", z.ZodTypeAny, {
478
+ kind: "version" | "jar" | "coordinate";
479
+ value: string;
480
+ }, {
481
+ kind: "version" | "jar" | "coordinate";
482
+ value: string;
483
+ }>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ type: "resolve-target";
486
+ target: {
487
+ kind: "version" | "jar" | "coordinate";
488
+ value: string;
489
+ };
490
+ }, {
491
+ type: "resolve-target";
492
+ target: {
493
+ kind: "version" | "jar" | "coordinate";
494
+ value: string;
495
+ };
496
+ }>]>>;
497
+ intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
498
+ match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
499
+ symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
500
+ packagePrefix: z.ZodOptional<z.ZodString>;
501
+ fileGlob: z.ZodOptional<z.ZodString>;
502
+ queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ kind: "search";
505
+ query: string;
506
+ queryMode: "auto" | "token" | "literal";
507
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
508
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
509
+ intent?: "symbol" | "path" | "text" | undefined;
510
+ fileGlob?: string | undefined;
511
+ artifact?: {
512
+ artifactId: string;
513
+ type: "resolved-id";
514
+ } | {
515
+ type: "resolve-target";
516
+ target: {
517
+ kind: "version" | "jar" | "coordinate";
518
+ value: string;
519
+ };
520
+ } | undefined;
521
+ packagePrefix?: string | undefined;
522
+ }, {
523
+ kind: "search";
524
+ query: string;
525
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
526
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
527
+ intent?: "symbol" | "path" | "text" | undefined;
528
+ fileGlob?: string | undefined;
529
+ artifact?: {
530
+ artifactId: string;
531
+ type: "resolved-id";
532
+ } | {
533
+ type: "resolve-target";
534
+ target: {
535
+ kind: "version" | "jar" | "coordinate";
536
+ value: string;
537
+ };
538
+ } | undefined;
539
+ packagePrefix?: string | undefined;
540
+ queryMode?: "auto" | "token" | "literal" | undefined;
541
+ }>]>>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ kind: "workspace";
544
+ projectPath: string;
545
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
546
+ scope?: "loader" | "merged" | "vanilla" | undefined;
547
+ preferProjectVersion?: boolean | undefined;
548
+ strictVersion?: boolean | undefined;
549
+ focus?: {
550
+ kind: "class";
551
+ className: string;
552
+ artifact?: {
553
+ artifactId: string;
554
+ type: "resolved-id";
555
+ } | {
556
+ type: "resolve-target";
557
+ target: {
558
+ kind: "version" | "jar" | "coordinate";
559
+ value: string;
560
+ };
561
+ } | undefined;
562
+ } | {
563
+ kind: "file";
564
+ filePath: string;
565
+ artifact?: {
566
+ artifactId: string;
567
+ type: "resolved-id";
568
+ } | {
569
+ type: "resolve-target";
570
+ target: {
571
+ kind: "version" | "jar" | "coordinate";
572
+ value: string;
573
+ };
574
+ } | undefined;
575
+ } | {
576
+ kind: "search";
577
+ query: string;
578
+ queryMode: "auto" | "token" | "literal";
579
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
580
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
581
+ intent?: "symbol" | "path" | "text" | undefined;
582
+ fileGlob?: string | undefined;
583
+ artifact?: {
584
+ artifactId: string;
585
+ type: "resolved-id";
586
+ } | {
587
+ type: "resolve-target";
588
+ target: {
589
+ kind: "version" | "jar" | "coordinate";
590
+ value: string;
591
+ };
592
+ } | undefined;
593
+ packagePrefix?: string | undefined;
594
+ } | undefined;
595
+ }, {
596
+ kind: "workspace";
597
+ projectPath: string;
598
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
599
+ scope?: "loader" | "merged" | "vanilla" | undefined;
600
+ preferProjectVersion?: boolean | undefined;
601
+ strictVersion?: boolean | undefined;
602
+ focus?: {
603
+ kind: "class";
604
+ className: string;
605
+ artifact?: {
606
+ artifactId: string;
607
+ type: "resolved-id";
608
+ } | {
609
+ type: "resolve-target";
610
+ target: {
611
+ kind: "version" | "jar" | "coordinate";
612
+ value: string;
613
+ };
614
+ } | undefined;
615
+ } | {
616
+ kind: "file";
617
+ filePath: string;
618
+ artifact?: {
619
+ artifactId: string;
620
+ type: "resolved-id";
621
+ } | {
622
+ type: "resolve-target";
623
+ target: {
624
+ kind: "version" | "jar" | "coordinate";
625
+ value: string;
626
+ };
627
+ } | undefined;
628
+ } | {
629
+ kind: "search";
630
+ query: string;
631
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
632
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
633
+ intent?: "symbol" | "path" | "text" | undefined;
634
+ fileGlob?: string | undefined;
635
+ artifact?: {
636
+ artifactId: string;
637
+ type: "resolved-id";
638
+ } | {
639
+ type: "resolve-target";
640
+ target: {
641
+ kind: "version" | "jar" | "coordinate";
642
+ value: string;
643
+ };
644
+ } | undefined;
645
+ packagePrefix?: string | undefined;
646
+ queryMode?: "auto" | "token" | "literal" | undefined;
647
+ } | undefined;
648
+ }>]>>;
649
+ includeSnapshots: z.ZodDefault<z.ZodBoolean>;
650
+ detail: z.ZodOptional<z.ZodEnum<["summary", "standard", "full"]>>;
651
+ include: z.ZodOptional<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
652
+ limit: z.ZodOptional<z.ZodNumber>;
653
+ cursor: z.ZodOptional<z.ZodString>;
654
+ };
655
+ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
656
+ task: z.ZodOptional<z.ZodEnum<["auto", "versions", "artifact", "class-overview", "class-source", "class-members", "search", "file", "list-files"]>>;
657
+ subject: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
658
+ kind: z.ZodLiteral<"version">;
659
+ version: z.ZodString;
660
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
661
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
662
+ projectPath: z.ZodOptional<z.ZodString>;
663
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
664
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ kind: "version";
667
+ version: string;
668
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
669
+ projectPath?: string | undefined;
670
+ scope?: "loader" | "merged" | "vanilla" | undefined;
671
+ preferProjectVersion?: boolean | undefined;
672
+ strictVersion?: boolean | undefined;
673
+ }, {
674
+ kind: "version";
675
+ version: string;
676
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
677
+ projectPath?: string | undefined;
678
+ scope?: "loader" | "merged" | "vanilla" | undefined;
679
+ preferProjectVersion?: boolean | undefined;
680
+ strictVersion?: boolean | undefined;
681
+ }>, z.ZodObject<{
682
+ kind: z.ZodLiteral<"artifact">;
683
+ artifact: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
684
+ type: z.ZodLiteral<"resolved-id">;
685
+ artifactId: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
687
+ artifactId: string;
688
+ type: "resolved-id";
689
+ }, {
690
+ artifactId: string;
691
+ type: "resolved-id";
692
+ }>, z.ZodObject<{
693
+ type: z.ZodLiteral<"resolve-target">;
694
+ target: z.ZodObject<{
695
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
696
+ value: z.ZodString;
697
+ }, "strip", z.ZodTypeAny, {
698
+ kind: "version" | "jar" | "coordinate";
699
+ value: string;
700
+ }, {
701
+ kind: "version" | "jar" | "coordinate";
702
+ value: string;
703
+ }>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ type: "resolve-target";
706
+ target: {
707
+ kind: "version" | "jar" | "coordinate";
708
+ value: string;
709
+ };
710
+ }, {
711
+ type: "resolve-target";
712
+ target: {
713
+ kind: "version" | "jar" | "coordinate";
714
+ value: string;
715
+ };
716
+ }>]>;
717
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
718
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
719
+ projectPath: z.ZodOptional<z.ZodString>;
720
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
721
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
722
+ }, "strip", z.ZodTypeAny, {
723
+ kind: "artifact";
724
+ artifact: {
725
+ artifactId: string;
726
+ type: "resolved-id";
727
+ } | {
728
+ type: "resolve-target";
729
+ target: {
730
+ kind: "version" | "jar" | "coordinate";
731
+ value: string;
732
+ };
733
+ };
734
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
735
+ projectPath?: string | undefined;
736
+ scope?: "loader" | "merged" | "vanilla" | undefined;
737
+ preferProjectVersion?: boolean | undefined;
738
+ strictVersion?: boolean | undefined;
739
+ }, {
740
+ kind: "artifact";
741
+ artifact: {
742
+ artifactId: string;
743
+ type: "resolved-id";
744
+ } | {
745
+ type: "resolve-target";
746
+ target: {
747
+ kind: "version" | "jar" | "coordinate";
748
+ value: string;
749
+ };
750
+ };
751
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
752
+ projectPath?: string | undefined;
753
+ scope?: "loader" | "merged" | "vanilla" | undefined;
754
+ preferProjectVersion?: boolean | undefined;
755
+ strictVersion?: boolean | undefined;
756
+ }>, z.ZodObject<{
757
+ kind: z.ZodLiteral<"class">;
758
+ className: z.ZodString;
759
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
760
+ type: z.ZodLiteral<"resolved-id">;
761
+ artifactId: z.ZodString;
762
+ }, "strip", z.ZodTypeAny, {
763
+ artifactId: string;
764
+ type: "resolved-id";
765
+ }, {
766
+ artifactId: string;
767
+ type: "resolved-id";
768
+ }>, z.ZodObject<{
769
+ type: z.ZodLiteral<"resolve-target">;
770
+ target: z.ZodObject<{
771
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
772
+ value: z.ZodString;
773
+ }, "strip", z.ZodTypeAny, {
774
+ kind: "version" | "jar" | "coordinate";
775
+ value: string;
776
+ }, {
777
+ kind: "version" | "jar" | "coordinate";
778
+ value: string;
779
+ }>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ type: "resolve-target";
782
+ target: {
783
+ kind: "version" | "jar" | "coordinate";
784
+ value: string;
785
+ };
786
+ }, {
787
+ type: "resolve-target";
788
+ target: {
789
+ kind: "version" | "jar" | "coordinate";
790
+ value: string;
791
+ };
792
+ }>]>>;
793
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
794
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
795
+ projectPath: z.ZodOptional<z.ZodString>;
796
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
797
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ kind: "class";
800
+ className: string;
801
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
802
+ projectPath?: string | undefined;
803
+ scope?: "loader" | "merged" | "vanilla" | undefined;
804
+ preferProjectVersion?: boolean | undefined;
805
+ strictVersion?: boolean | undefined;
806
+ artifact?: {
807
+ artifactId: string;
808
+ type: "resolved-id";
809
+ } | {
810
+ type: "resolve-target";
811
+ target: {
812
+ kind: "version" | "jar" | "coordinate";
813
+ value: string;
814
+ };
815
+ } | undefined;
816
+ }, {
817
+ kind: "class";
818
+ className: string;
819
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
820
+ projectPath?: string | undefined;
821
+ scope?: "loader" | "merged" | "vanilla" | undefined;
822
+ preferProjectVersion?: boolean | undefined;
823
+ strictVersion?: boolean | undefined;
824
+ artifact?: {
825
+ artifactId: string;
826
+ type: "resolved-id";
827
+ } | {
828
+ type: "resolve-target";
829
+ target: {
830
+ kind: "version" | "jar" | "coordinate";
831
+ value: string;
832
+ };
833
+ } | undefined;
834
+ }>, z.ZodObject<{
835
+ kind: z.ZodLiteral<"file">;
836
+ filePath: z.ZodString;
837
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
838
+ type: z.ZodLiteral<"resolved-id">;
839
+ artifactId: z.ZodString;
840
+ }, "strip", z.ZodTypeAny, {
841
+ artifactId: string;
842
+ type: "resolved-id";
843
+ }, {
844
+ artifactId: string;
845
+ type: "resolved-id";
846
+ }>, z.ZodObject<{
847
+ type: z.ZodLiteral<"resolve-target">;
848
+ target: z.ZodObject<{
849
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
850
+ value: z.ZodString;
851
+ }, "strip", z.ZodTypeAny, {
852
+ kind: "version" | "jar" | "coordinate";
853
+ value: string;
854
+ }, {
855
+ kind: "version" | "jar" | "coordinate";
856
+ value: string;
857
+ }>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ type: "resolve-target";
860
+ target: {
861
+ kind: "version" | "jar" | "coordinate";
862
+ value: string;
863
+ };
864
+ }, {
865
+ type: "resolve-target";
866
+ target: {
867
+ kind: "version" | "jar" | "coordinate";
868
+ value: string;
869
+ };
870
+ }>]>>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ kind: "file";
873
+ filePath: string;
874
+ artifact?: {
875
+ artifactId: string;
876
+ type: "resolved-id";
877
+ } | {
878
+ type: "resolve-target";
879
+ target: {
880
+ kind: "version" | "jar" | "coordinate";
881
+ value: string;
882
+ };
883
+ } | undefined;
884
+ }, {
885
+ kind: "file";
886
+ filePath: string;
887
+ artifact?: {
888
+ artifactId: string;
889
+ type: "resolved-id";
890
+ } | {
891
+ type: "resolve-target";
892
+ target: {
893
+ kind: "version" | "jar" | "coordinate";
894
+ value: string;
895
+ };
896
+ } | undefined;
897
+ }>, z.ZodObject<{
898
+ kind: z.ZodLiteral<"search">;
899
+ query: z.ZodString;
900
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
901
+ type: z.ZodLiteral<"resolved-id">;
902
+ artifactId: z.ZodString;
903
+ }, "strip", z.ZodTypeAny, {
904
+ artifactId: string;
905
+ type: "resolved-id";
906
+ }, {
907
+ artifactId: string;
908
+ type: "resolved-id";
909
+ }>, z.ZodObject<{
910
+ type: z.ZodLiteral<"resolve-target">;
911
+ target: z.ZodObject<{
912
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
913
+ value: z.ZodString;
914
+ }, "strip", z.ZodTypeAny, {
915
+ kind: "version" | "jar" | "coordinate";
916
+ value: string;
917
+ }, {
918
+ kind: "version" | "jar" | "coordinate";
919
+ value: string;
920
+ }>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ type: "resolve-target";
923
+ target: {
924
+ kind: "version" | "jar" | "coordinate";
925
+ value: string;
926
+ };
927
+ }, {
928
+ type: "resolve-target";
929
+ target: {
930
+ kind: "version" | "jar" | "coordinate";
931
+ value: string;
932
+ };
933
+ }>]>>;
934
+ intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
935
+ match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
936
+ symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
937
+ packagePrefix: z.ZodOptional<z.ZodString>;
938
+ fileGlob: z.ZodOptional<z.ZodString>;
939
+ queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ kind: "search";
942
+ query: string;
943
+ queryMode: "auto" | "token" | "literal";
944
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
945
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
946
+ intent?: "symbol" | "path" | "text" | undefined;
947
+ fileGlob?: string | undefined;
948
+ artifact?: {
949
+ artifactId: string;
950
+ type: "resolved-id";
951
+ } | {
952
+ type: "resolve-target";
953
+ target: {
954
+ kind: "version" | "jar" | "coordinate";
955
+ value: string;
956
+ };
957
+ } | undefined;
958
+ packagePrefix?: string | undefined;
959
+ }, {
960
+ kind: "search";
961
+ query: string;
962
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
963
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
964
+ intent?: "symbol" | "path" | "text" | undefined;
965
+ fileGlob?: string | undefined;
966
+ artifact?: {
967
+ artifactId: string;
968
+ type: "resolved-id";
969
+ } | {
970
+ type: "resolve-target";
971
+ target: {
972
+ kind: "version" | "jar" | "coordinate";
973
+ value: string;
974
+ };
975
+ } | undefined;
976
+ packagePrefix?: string | undefined;
977
+ queryMode?: "auto" | "token" | "literal" | undefined;
978
+ }>, z.ZodObject<{
979
+ kind: z.ZodLiteral<"workspace">;
980
+ projectPath: z.ZodString;
981
+ mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
982
+ scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
983
+ preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
984
+ strictVersion: z.ZodOptional<z.ZodBoolean>;
985
+ focus: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
986
+ kind: z.ZodLiteral<"class">;
987
+ className: z.ZodString;
988
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
989
+ type: z.ZodLiteral<"resolved-id">;
990
+ artifactId: z.ZodString;
991
+ }, "strip", z.ZodTypeAny, {
992
+ artifactId: string;
993
+ type: "resolved-id";
994
+ }, {
995
+ artifactId: string;
996
+ type: "resolved-id";
997
+ }>, z.ZodObject<{
998
+ type: z.ZodLiteral<"resolve-target">;
999
+ target: z.ZodObject<{
1000
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
1001
+ value: z.ZodString;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ kind: "version" | "jar" | "coordinate";
1004
+ value: string;
1005
+ }, {
1006
+ kind: "version" | "jar" | "coordinate";
1007
+ value: string;
1008
+ }>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ type: "resolve-target";
1011
+ target: {
1012
+ kind: "version" | "jar" | "coordinate";
1013
+ value: string;
1014
+ };
1015
+ }, {
1016
+ type: "resolve-target";
1017
+ target: {
1018
+ kind: "version" | "jar" | "coordinate";
1019
+ value: string;
1020
+ };
1021
+ }>]>>;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ kind: "class";
1024
+ className: string;
1025
+ artifact?: {
1026
+ artifactId: string;
1027
+ type: "resolved-id";
1028
+ } | {
1029
+ type: "resolve-target";
1030
+ target: {
1031
+ kind: "version" | "jar" | "coordinate";
1032
+ value: string;
1033
+ };
1034
+ } | undefined;
1035
+ }, {
1036
+ kind: "class";
1037
+ className: string;
1038
+ artifact?: {
1039
+ artifactId: string;
1040
+ type: "resolved-id";
1041
+ } | {
1042
+ type: "resolve-target";
1043
+ target: {
1044
+ kind: "version" | "jar" | "coordinate";
1045
+ value: string;
1046
+ };
1047
+ } | undefined;
1048
+ }>, z.ZodObject<{
1049
+ kind: z.ZodLiteral<"file">;
1050
+ filePath: z.ZodString;
1051
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1052
+ type: z.ZodLiteral<"resolved-id">;
1053
+ artifactId: z.ZodString;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ artifactId: string;
1056
+ type: "resolved-id";
1057
+ }, {
1058
+ artifactId: string;
1059
+ type: "resolved-id";
1060
+ }>, z.ZodObject<{
1061
+ type: z.ZodLiteral<"resolve-target">;
1062
+ target: z.ZodObject<{
1063
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
1064
+ value: z.ZodString;
1065
+ }, "strip", z.ZodTypeAny, {
1066
+ kind: "version" | "jar" | "coordinate";
1067
+ value: string;
1068
+ }, {
1069
+ kind: "version" | "jar" | "coordinate";
1070
+ value: string;
1071
+ }>;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ type: "resolve-target";
1074
+ target: {
1075
+ kind: "version" | "jar" | "coordinate";
1076
+ value: string;
1077
+ };
1078
+ }, {
1079
+ type: "resolve-target";
1080
+ target: {
1081
+ kind: "version" | "jar" | "coordinate";
1082
+ value: string;
1083
+ };
1084
+ }>]>>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ kind: "file";
1087
+ filePath: string;
1088
+ artifact?: {
1089
+ artifactId: string;
1090
+ type: "resolved-id";
1091
+ } | {
1092
+ type: "resolve-target";
1093
+ target: {
1094
+ kind: "version" | "jar" | "coordinate";
1095
+ value: string;
1096
+ };
1097
+ } | undefined;
1098
+ }, {
1099
+ kind: "file";
1100
+ filePath: string;
1101
+ artifact?: {
1102
+ artifactId: string;
1103
+ type: "resolved-id";
1104
+ } | {
1105
+ type: "resolve-target";
1106
+ target: {
1107
+ kind: "version" | "jar" | "coordinate";
1108
+ value: string;
1109
+ };
1110
+ } | undefined;
1111
+ }>, z.ZodObject<{
1112
+ kind: z.ZodLiteral<"search">;
1113
+ query: z.ZodString;
1114
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1115
+ type: z.ZodLiteral<"resolved-id">;
1116
+ artifactId: z.ZodString;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ artifactId: string;
1119
+ type: "resolved-id";
1120
+ }, {
1121
+ artifactId: string;
1122
+ type: "resolved-id";
1123
+ }>, z.ZodObject<{
1124
+ type: z.ZodLiteral<"resolve-target">;
1125
+ target: z.ZodObject<{
1126
+ kind: z.ZodEnum<["version", "jar", "coordinate"]>;
1127
+ value: z.ZodString;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ kind: "version" | "jar" | "coordinate";
1130
+ value: string;
1131
+ }, {
1132
+ kind: "version" | "jar" | "coordinate";
1133
+ value: string;
1134
+ }>;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ type: "resolve-target";
1137
+ target: {
1138
+ kind: "version" | "jar" | "coordinate";
1139
+ value: string;
1140
+ };
1141
+ }, {
1142
+ type: "resolve-target";
1143
+ target: {
1144
+ kind: "version" | "jar" | "coordinate";
1145
+ value: string;
1146
+ };
1147
+ }>]>>;
1148
+ intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
1149
+ match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
1150
+ symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
1151
+ packagePrefix: z.ZodOptional<z.ZodString>;
1152
+ fileGlob: z.ZodOptional<z.ZodString>;
1153
+ queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ kind: "search";
1156
+ query: string;
1157
+ queryMode: "auto" | "token" | "literal";
1158
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1159
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1160
+ intent?: "symbol" | "path" | "text" | undefined;
1161
+ fileGlob?: string | undefined;
1162
+ artifact?: {
1163
+ artifactId: string;
1164
+ type: "resolved-id";
1165
+ } | {
1166
+ type: "resolve-target";
1167
+ target: {
1168
+ kind: "version" | "jar" | "coordinate";
1169
+ value: string;
1170
+ };
1171
+ } | undefined;
1172
+ packagePrefix?: string | undefined;
1173
+ }, {
1174
+ kind: "search";
1175
+ query: string;
1176
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1177
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1178
+ intent?: "symbol" | "path" | "text" | undefined;
1179
+ fileGlob?: string | undefined;
1180
+ artifact?: {
1181
+ artifactId: string;
1182
+ type: "resolved-id";
1183
+ } | {
1184
+ type: "resolve-target";
1185
+ target: {
1186
+ kind: "version" | "jar" | "coordinate";
1187
+ value: string;
1188
+ };
1189
+ } | undefined;
1190
+ packagePrefix?: string | undefined;
1191
+ queryMode?: "auto" | "token" | "literal" | undefined;
1192
+ }>]>>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ kind: "workspace";
1195
+ projectPath: string;
1196
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1197
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1198
+ preferProjectVersion?: boolean | undefined;
1199
+ strictVersion?: boolean | undefined;
1200
+ focus?: {
1201
+ kind: "class";
1202
+ className: string;
1203
+ artifact?: {
1204
+ artifactId: string;
1205
+ type: "resolved-id";
1206
+ } | {
1207
+ type: "resolve-target";
1208
+ target: {
1209
+ kind: "version" | "jar" | "coordinate";
1210
+ value: string;
1211
+ };
1212
+ } | undefined;
1213
+ } | {
1214
+ kind: "file";
1215
+ filePath: string;
1216
+ artifact?: {
1217
+ artifactId: string;
1218
+ type: "resolved-id";
1219
+ } | {
1220
+ type: "resolve-target";
1221
+ target: {
1222
+ kind: "version" | "jar" | "coordinate";
1223
+ value: string;
1224
+ };
1225
+ } | undefined;
1226
+ } | {
1227
+ kind: "search";
1228
+ query: string;
1229
+ queryMode: "auto" | "token" | "literal";
1230
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1231
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1232
+ intent?: "symbol" | "path" | "text" | undefined;
1233
+ fileGlob?: string | undefined;
1234
+ artifact?: {
1235
+ artifactId: string;
1236
+ type: "resolved-id";
1237
+ } | {
1238
+ type: "resolve-target";
1239
+ target: {
1240
+ kind: "version" | "jar" | "coordinate";
1241
+ value: string;
1242
+ };
1243
+ } | undefined;
1244
+ packagePrefix?: string | undefined;
1245
+ } | undefined;
1246
+ }, {
1247
+ kind: "workspace";
1248
+ projectPath: string;
1249
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1250
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1251
+ preferProjectVersion?: boolean | undefined;
1252
+ strictVersion?: boolean | undefined;
1253
+ focus?: {
1254
+ kind: "class";
1255
+ className: string;
1256
+ artifact?: {
1257
+ artifactId: string;
1258
+ type: "resolved-id";
1259
+ } | {
1260
+ type: "resolve-target";
1261
+ target: {
1262
+ kind: "version" | "jar" | "coordinate";
1263
+ value: string;
1264
+ };
1265
+ } | undefined;
1266
+ } | {
1267
+ kind: "file";
1268
+ filePath: string;
1269
+ artifact?: {
1270
+ artifactId: string;
1271
+ type: "resolved-id";
1272
+ } | {
1273
+ type: "resolve-target";
1274
+ target: {
1275
+ kind: "version" | "jar" | "coordinate";
1276
+ value: string;
1277
+ };
1278
+ } | undefined;
1279
+ } | {
1280
+ kind: "search";
1281
+ query: string;
1282
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1283
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1284
+ intent?: "symbol" | "path" | "text" | undefined;
1285
+ fileGlob?: string | undefined;
1286
+ artifact?: {
1287
+ artifactId: string;
1288
+ type: "resolved-id";
1289
+ } | {
1290
+ type: "resolve-target";
1291
+ target: {
1292
+ kind: "version" | "jar" | "coordinate";
1293
+ value: string;
1294
+ };
1295
+ } | undefined;
1296
+ packagePrefix?: string | undefined;
1297
+ queryMode?: "auto" | "token" | "literal" | undefined;
1298
+ } | undefined;
1299
+ }>]>>;
1300
+ includeSnapshots: z.ZodDefault<z.ZodBoolean>;
1301
+ detail: z.ZodOptional<z.ZodEnum<["summary", "standard", "full"]>>;
1302
+ include: z.ZodOptional<z.ZodArray<z.ZodEnum<[string, ...string[]]>, "many">>;
1303
+ limit: z.ZodOptional<z.ZodNumber>;
1304
+ cursor: z.ZodOptional<z.ZodString>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ includeSnapshots: boolean;
1307
+ limit?: number | undefined;
1308
+ cursor?: string | undefined;
1309
+ task?: "search" | "auto" | "versions" | "class-source" | "class-members" | "artifact" | "class-overview" | "file" | "list-files" | undefined;
1310
+ subject?: {
1311
+ kind: "version";
1312
+ version: string;
1313
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1314
+ projectPath?: string | undefined;
1315
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1316
+ preferProjectVersion?: boolean | undefined;
1317
+ strictVersion?: boolean | undefined;
1318
+ } | {
1319
+ kind: "artifact";
1320
+ artifact: {
1321
+ artifactId: string;
1322
+ type: "resolved-id";
1323
+ } | {
1324
+ type: "resolve-target";
1325
+ target: {
1326
+ kind: "version" | "jar" | "coordinate";
1327
+ value: string;
1328
+ };
1329
+ };
1330
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1331
+ projectPath?: string | undefined;
1332
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1333
+ preferProjectVersion?: boolean | undefined;
1334
+ strictVersion?: boolean | undefined;
1335
+ } | {
1336
+ kind: "class";
1337
+ className: string;
1338
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1339
+ projectPath?: string | undefined;
1340
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1341
+ preferProjectVersion?: boolean | undefined;
1342
+ strictVersion?: boolean | undefined;
1343
+ artifact?: {
1344
+ artifactId: string;
1345
+ type: "resolved-id";
1346
+ } | {
1347
+ type: "resolve-target";
1348
+ target: {
1349
+ kind: "version" | "jar" | "coordinate";
1350
+ value: string;
1351
+ };
1352
+ } | undefined;
1353
+ } | {
1354
+ kind: "file";
1355
+ filePath: string;
1356
+ artifact?: {
1357
+ artifactId: string;
1358
+ type: "resolved-id";
1359
+ } | {
1360
+ type: "resolve-target";
1361
+ target: {
1362
+ kind: "version" | "jar" | "coordinate";
1363
+ value: string;
1364
+ };
1365
+ } | undefined;
1366
+ } | {
1367
+ kind: "search";
1368
+ query: string;
1369
+ queryMode: "auto" | "token" | "literal";
1370
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1371
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1372
+ intent?: "symbol" | "path" | "text" | undefined;
1373
+ fileGlob?: string | undefined;
1374
+ artifact?: {
1375
+ artifactId: string;
1376
+ type: "resolved-id";
1377
+ } | {
1378
+ type: "resolve-target";
1379
+ target: {
1380
+ kind: "version" | "jar" | "coordinate";
1381
+ value: string;
1382
+ };
1383
+ } | undefined;
1384
+ packagePrefix?: string | undefined;
1385
+ } | {
1386
+ kind: "workspace";
1387
+ projectPath: string;
1388
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1389
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1390
+ preferProjectVersion?: boolean | undefined;
1391
+ strictVersion?: boolean | undefined;
1392
+ focus?: {
1393
+ kind: "class";
1394
+ className: string;
1395
+ artifact?: {
1396
+ artifactId: string;
1397
+ type: "resolved-id";
1398
+ } | {
1399
+ type: "resolve-target";
1400
+ target: {
1401
+ kind: "version" | "jar" | "coordinate";
1402
+ value: string;
1403
+ };
1404
+ } | undefined;
1405
+ } | {
1406
+ kind: "file";
1407
+ filePath: string;
1408
+ artifact?: {
1409
+ artifactId: string;
1410
+ type: "resolved-id";
1411
+ } | {
1412
+ type: "resolve-target";
1413
+ target: {
1414
+ kind: "version" | "jar" | "coordinate";
1415
+ value: string;
1416
+ };
1417
+ } | undefined;
1418
+ } | {
1419
+ kind: "search";
1420
+ query: string;
1421
+ queryMode: "auto" | "token" | "literal";
1422
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1423
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1424
+ intent?: "symbol" | "path" | "text" | undefined;
1425
+ fileGlob?: string | undefined;
1426
+ artifact?: {
1427
+ artifactId: string;
1428
+ type: "resolved-id";
1429
+ } | {
1430
+ type: "resolve-target";
1431
+ target: {
1432
+ kind: "version" | "jar" | "coordinate";
1433
+ value: string;
1434
+ };
1435
+ } | undefined;
1436
+ packagePrefix?: string | undefined;
1437
+ } | undefined;
1438
+ } | undefined;
1439
+ detail?: "full" | "summary" | "standard" | undefined;
1440
+ include?: string[] | undefined;
1441
+ }, {
1442
+ limit?: number | undefined;
1443
+ cursor?: string | undefined;
1444
+ includeSnapshots?: boolean | undefined;
1445
+ task?: "search" | "auto" | "versions" | "class-source" | "class-members" | "artifact" | "class-overview" | "file" | "list-files" | undefined;
1446
+ subject?: {
1447
+ kind: "version";
1448
+ version: string;
1449
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1450
+ projectPath?: string | undefined;
1451
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1452
+ preferProjectVersion?: boolean | undefined;
1453
+ strictVersion?: boolean | undefined;
1454
+ } | {
1455
+ kind: "artifact";
1456
+ artifact: {
1457
+ artifactId: string;
1458
+ type: "resolved-id";
1459
+ } | {
1460
+ type: "resolve-target";
1461
+ target: {
1462
+ kind: "version" | "jar" | "coordinate";
1463
+ value: string;
1464
+ };
1465
+ };
1466
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1467
+ projectPath?: string | undefined;
1468
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1469
+ preferProjectVersion?: boolean | undefined;
1470
+ strictVersion?: boolean | undefined;
1471
+ } | {
1472
+ kind: "class";
1473
+ className: string;
1474
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1475
+ projectPath?: string | undefined;
1476
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1477
+ preferProjectVersion?: boolean | undefined;
1478
+ strictVersion?: boolean | undefined;
1479
+ artifact?: {
1480
+ artifactId: string;
1481
+ type: "resolved-id";
1482
+ } | {
1483
+ type: "resolve-target";
1484
+ target: {
1485
+ kind: "version" | "jar" | "coordinate";
1486
+ value: string;
1487
+ };
1488
+ } | undefined;
1489
+ } | {
1490
+ kind: "file";
1491
+ filePath: string;
1492
+ artifact?: {
1493
+ artifactId: string;
1494
+ type: "resolved-id";
1495
+ } | {
1496
+ type: "resolve-target";
1497
+ target: {
1498
+ kind: "version" | "jar" | "coordinate";
1499
+ value: string;
1500
+ };
1501
+ } | undefined;
1502
+ } | {
1503
+ kind: "search";
1504
+ query: string;
1505
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1506
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1507
+ intent?: "symbol" | "path" | "text" | undefined;
1508
+ fileGlob?: string | undefined;
1509
+ artifact?: {
1510
+ artifactId: string;
1511
+ type: "resolved-id";
1512
+ } | {
1513
+ type: "resolve-target";
1514
+ target: {
1515
+ kind: "version" | "jar" | "coordinate";
1516
+ value: string;
1517
+ };
1518
+ } | undefined;
1519
+ packagePrefix?: string | undefined;
1520
+ queryMode?: "auto" | "token" | "literal" | undefined;
1521
+ } | {
1522
+ kind: "workspace";
1523
+ projectPath: string;
1524
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1525
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1526
+ preferProjectVersion?: boolean | undefined;
1527
+ strictVersion?: boolean | undefined;
1528
+ focus?: {
1529
+ kind: "class";
1530
+ className: string;
1531
+ artifact?: {
1532
+ artifactId: string;
1533
+ type: "resolved-id";
1534
+ } | {
1535
+ type: "resolve-target";
1536
+ target: {
1537
+ kind: "version" | "jar" | "coordinate";
1538
+ value: string;
1539
+ };
1540
+ } | undefined;
1541
+ } | {
1542
+ kind: "file";
1543
+ filePath: string;
1544
+ artifact?: {
1545
+ artifactId: string;
1546
+ type: "resolved-id";
1547
+ } | {
1548
+ type: "resolve-target";
1549
+ target: {
1550
+ kind: "version" | "jar" | "coordinate";
1551
+ value: string;
1552
+ };
1553
+ } | undefined;
1554
+ } | {
1555
+ kind: "search";
1556
+ query: string;
1557
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1558
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1559
+ intent?: "symbol" | "path" | "text" | undefined;
1560
+ fileGlob?: string | undefined;
1561
+ artifact?: {
1562
+ artifactId: string;
1563
+ type: "resolved-id";
1564
+ } | {
1565
+ type: "resolve-target";
1566
+ target: {
1567
+ kind: "version" | "jar" | "coordinate";
1568
+ value: string;
1569
+ };
1570
+ } | undefined;
1571
+ packagePrefix?: string | undefined;
1572
+ queryMode?: "auto" | "token" | "literal" | undefined;
1573
+ } | undefined;
1574
+ } | undefined;
1575
+ detail?: "full" | "summary" | "standard" | undefined;
1576
+ include?: string[] | undefined;
1577
+ }>, {
1578
+ includeSnapshots: boolean;
1579
+ limit?: number | undefined;
1580
+ cursor?: string | undefined;
1581
+ task?: "search" | "auto" | "versions" | "class-source" | "class-members" | "artifact" | "class-overview" | "file" | "list-files" | undefined;
1582
+ subject?: {
1583
+ kind: "version";
1584
+ version: string;
1585
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1586
+ projectPath?: string | undefined;
1587
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1588
+ preferProjectVersion?: boolean | undefined;
1589
+ strictVersion?: boolean | undefined;
1590
+ } | {
1591
+ kind: "artifact";
1592
+ artifact: {
1593
+ artifactId: string;
1594
+ type: "resolved-id";
1595
+ } | {
1596
+ type: "resolve-target";
1597
+ target: {
1598
+ kind: "version" | "jar" | "coordinate";
1599
+ value: string;
1600
+ };
1601
+ };
1602
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1603
+ projectPath?: string | undefined;
1604
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1605
+ preferProjectVersion?: boolean | undefined;
1606
+ strictVersion?: boolean | undefined;
1607
+ } | {
1608
+ kind: "class";
1609
+ className: string;
1610
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1611
+ projectPath?: string | undefined;
1612
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1613
+ preferProjectVersion?: boolean | undefined;
1614
+ strictVersion?: boolean | undefined;
1615
+ artifact?: {
1616
+ artifactId: string;
1617
+ type: "resolved-id";
1618
+ } | {
1619
+ type: "resolve-target";
1620
+ target: {
1621
+ kind: "version" | "jar" | "coordinate";
1622
+ value: string;
1623
+ };
1624
+ } | undefined;
1625
+ } | {
1626
+ kind: "file";
1627
+ filePath: string;
1628
+ artifact?: {
1629
+ artifactId: string;
1630
+ type: "resolved-id";
1631
+ } | {
1632
+ type: "resolve-target";
1633
+ target: {
1634
+ kind: "version" | "jar" | "coordinate";
1635
+ value: string;
1636
+ };
1637
+ } | undefined;
1638
+ } | {
1639
+ kind: "search";
1640
+ query: string;
1641
+ queryMode: "auto" | "token" | "literal";
1642
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1643
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1644
+ intent?: "symbol" | "path" | "text" | undefined;
1645
+ fileGlob?: string | undefined;
1646
+ artifact?: {
1647
+ artifactId: string;
1648
+ type: "resolved-id";
1649
+ } | {
1650
+ type: "resolve-target";
1651
+ target: {
1652
+ kind: "version" | "jar" | "coordinate";
1653
+ value: string;
1654
+ };
1655
+ } | undefined;
1656
+ packagePrefix?: string | undefined;
1657
+ } | {
1658
+ kind: "workspace";
1659
+ projectPath: string;
1660
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1661
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1662
+ preferProjectVersion?: boolean | undefined;
1663
+ strictVersion?: boolean | undefined;
1664
+ focus?: {
1665
+ kind: "class";
1666
+ className: string;
1667
+ artifact?: {
1668
+ artifactId: string;
1669
+ type: "resolved-id";
1670
+ } | {
1671
+ type: "resolve-target";
1672
+ target: {
1673
+ kind: "version" | "jar" | "coordinate";
1674
+ value: string;
1675
+ };
1676
+ } | undefined;
1677
+ } | {
1678
+ kind: "file";
1679
+ filePath: string;
1680
+ artifact?: {
1681
+ artifactId: string;
1682
+ type: "resolved-id";
1683
+ } | {
1684
+ type: "resolve-target";
1685
+ target: {
1686
+ kind: "version" | "jar" | "coordinate";
1687
+ value: string;
1688
+ };
1689
+ } | undefined;
1690
+ } | {
1691
+ kind: "search";
1692
+ query: string;
1693
+ queryMode: "auto" | "token" | "literal";
1694
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1695
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1696
+ intent?: "symbol" | "path" | "text" | undefined;
1697
+ fileGlob?: string | undefined;
1698
+ artifact?: {
1699
+ artifactId: string;
1700
+ type: "resolved-id";
1701
+ } | {
1702
+ type: "resolve-target";
1703
+ target: {
1704
+ kind: "version" | "jar" | "coordinate";
1705
+ value: string;
1706
+ };
1707
+ } | undefined;
1708
+ packagePrefix?: string | undefined;
1709
+ } | undefined;
1710
+ } | undefined;
1711
+ detail?: "full" | "summary" | "standard" | undefined;
1712
+ include?: string[] | undefined;
1713
+ }, {
1714
+ limit?: number | undefined;
1715
+ cursor?: string | undefined;
1716
+ includeSnapshots?: boolean | undefined;
1717
+ task?: "search" | "auto" | "versions" | "class-source" | "class-members" | "artifact" | "class-overview" | "file" | "list-files" | undefined;
1718
+ subject?: {
1719
+ kind: "version";
1720
+ version: string;
1721
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1722
+ projectPath?: string | undefined;
1723
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1724
+ preferProjectVersion?: boolean | undefined;
1725
+ strictVersion?: boolean | undefined;
1726
+ } | {
1727
+ kind: "artifact";
1728
+ artifact: {
1729
+ artifactId: string;
1730
+ type: "resolved-id";
1731
+ } | {
1732
+ type: "resolve-target";
1733
+ target: {
1734
+ kind: "version" | "jar" | "coordinate";
1735
+ value: string;
1736
+ };
1737
+ };
1738
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1739
+ projectPath?: string | undefined;
1740
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1741
+ preferProjectVersion?: boolean | undefined;
1742
+ strictVersion?: boolean | undefined;
1743
+ } | {
1744
+ kind: "class";
1745
+ className: string;
1746
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1747
+ projectPath?: string | undefined;
1748
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1749
+ preferProjectVersion?: boolean | undefined;
1750
+ strictVersion?: boolean | undefined;
1751
+ artifact?: {
1752
+ artifactId: string;
1753
+ type: "resolved-id";
1754
+ } | {
1755
+ type: "resolve-target";
1756
+ target: {
1757
+ kind: "version" | "jar" | "coordinate";
1758
+ value: string;
1759
+ };
1760
+ } | undefined;
1761
+ } | {
1762
+ kind: "file";
1763
+ filePath: string;
1764
+ artifact?: {
1765
+ artifactId: string;
1766
+ type: "resolved-id";
1767
+ } | {
1768
+ type: "resolve-target";
1769
+ target: {
1770
+ kind: "version" | "jar" | "coordinate";
1771
+ value: string;
1772
+ };
1773
+ } | undefined;
1774
+ } | {
1775
+ kind: "search";
1776
+ query: string;
1777
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1778
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1779
+ intent?: "symbol" | "path" | "text" | undefined;
1780
+ fileGlob?: string | undefined;
1781
+ artifact?: {
1782
+ artifactId: string;
1783
+ type: "resolved-id";
1784
+ } | {
1785
+ type: "resolve-target";
1786
+ target: {
1787
+ kind: "version" | "jar" | "coordinate";
1788
+ value: string;
1789
+ };
1790
+ } | undefined;
1791
+ packagePrefix?: string | undefined;
1792
+ queryMode?: "auto" | "token" | "literal" | undefined;
1793
+ } | {
1794
+ kind: "workspace";
1795
+ projectPath: string;
1796
+ mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
1797
+ scope?: "loader" | "merged" | "vanilla" | undefined;
1798
+ preferProjectVersion?: boolean | undefined;
1799
+ strictVersion?: boolean | undefined;
1800
+ focus?: {
1801
+ kind: "class";
1802
+ className: string;
1803
+ artifact?: {
1804
+ artifactId: string;
1805
+ type: "resolved-id";
1806
+ } | {
1807
+ type: "resolve-target";
1808
+ target: {
1809
+ kind: "version" | "jar" | "coordinate";
1810
+ value: string;
1811
+ };
1812
+ } | undefined;
1813
+ } | {
1814
+ kind: "file";
1815
+ filePath: string;
1816
+ artifact?: {
1817
+ artifactId: string;
1818
+ type: "resolved-id";
1819
+ } | {
1820
+ type: "resolve-target";
1821
+ target: {
1822
+ kind: "version" | "jar" | "coordinate";
1823
+ value: string;
1824
+ };
1825
+ } | undefined;
1826
+ } | {
1827
+ kind: "search";
1828
+ query: string;
1829
+ match?: "exact" | "prefix" | "contains" | "regex" | undefined;
1830
+ symbolKind?: "class" | "method" | "field" | "record" | "interface" | "enum" | undefined;
1831
+ intent?: "symbol" | "path" | "text" | undefined;
1832
+ fileGlob?: string | undefined;
1833
+ artifact?: {
1834
+ artifactId: string;
1835
+ type: "resolved-id";
1836
+ } | {
1837
+ type: "resolve-target";
1838
+ target: {
1839
+ kind: "version" | "jar" | "coordinate";
1840
+ value: string;
1841
+ };
1842
+ } | undefined;
1843
+ packagePrefix?: string | undefined;
1844
+ queryMode?: "auto" | "token" | "literal" | undefined;
1845
+ } | undefined;
1846
+ } | undefined;
1847
+ detail?: "full" | "summary" | "standard" | undefined;
1848
+ include?: string[] | undefined;
1849
+ }>;
1850
+ export type InspectMinecraftInput = z.infer<typeof inspectMinecraftSchema>;
1851
+ type InspectMinecraftDeps = {
1852
+ listVersions: (input: {
1853
+ includeSnapshots?: boolean;
1854
+ limit?: number;
1855
+ }) => Promise<ListVersionsOutput>;
1856
+ resolveArtifact: (input: {
1857
+ target: {
1858
+ kind: "version" | "jar" | "coordinate";
1859
+ value: string;
1860
+ };
1861
+ mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
1862
+ scope?: "vanilla" | "merged" | "loader";
1863
+ projectPath?: string;
1864
+ preferProjectVersion?: boolean;
1865
+ strictVersion?: boolean;
1866
+ }) => Promise<ResolveArtifactOutput>;
1867
+ findClass: (input: {
1868
+ className: string;
1869
+ artifactId: string;
1870
+ limit?: number;
1871
+ }) => Promise<FindClassOutput>;
1872
+ getClassSource: (input: {
1873
+ className: string;
1874
+ artifactId?: string;
1875
+ target?: {
1876
+ kind: "version" | "jar" | "coordinate";
1877
+ value: string;
1878
+ };
1879
+ mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
1880
+ scope?: "vanilla" | "merged" | "loader";
1881
+ projectPath?: string;
1882
+ preferProjectVersion?: boolean;
1883
+ strictVersion?: boolean;
1884
+ mode?: "metadata" | "snippet" | "full";
1885
+ maxLines?: number;
1886
+ maxChars?: number;
1887
+ }) => Promise<GetClassSourceOutput>;
1888
+ getClassMembers: (input: {
1889
+ className: string;
1890
+ artifactId?: string;
1891
+ target?: {
1892
+ kind: "version" | "jar" | "coordinate";
1893
+ value: string;
1894
+ };
1895
+ mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
1896
+ scope?: "vanilla" | "merged" | "loader";
1897
+ projectPath?: string;
1898
+ preferProjectVersion?: boolean;
1899
+ strictVersion?: boolean;
1900
+ maxMembers?: number;
1901
+ }) => Promise<GetClassMembersOutput>;
1902
+ searchClassSource: (input: {
1903
+ artifactId: string;
1904
+ query: string;
1905
+ intent?: "symbol" | "text" | "path";
1906
+ match?: "exact" | "prefix" | "contains" | "regex";
1907
+ scope?: {
1908
+ packagePrefix?: string;
1909
+ fileGlob?: string;
1910
+ symbolKind?: "class" | "interface" | "enum" | "record" | "method" | "field";
1911
+ };
1912
+ queryMode?: "auto" | "token" | "literal";
1913
+ limit?: number;
1914
+ cursor?: string;
1915
+ }) => Promise<SearchClassSourceOutput>;
1916
+ getArtifactFile: (input: {
1917
+ artifactId: string;
1918
+ filePath: string;
1919
+ maxBytes?: number;
1920
+ }) => Promise<GetArtifactFileOutput>;
1921
+ listArtifactFiles: (input: {
1922
+ artifactId: string;
1923
+ prefix?: string;
1924
+ limit?: number;
1925
+ cursor?: string;
1926
+ }) => Promise<ListArtifactFilesOutput>;
1927
+ detectProjectMinecraftVersion: (projectPath: string) => Promise<string | undefined>;
1928
+ };
1929
+ export declare class InspectMinecraftService {
1930
+ private readonly deps;
1931
+ constructor(deps: InspectMinecraftDeps);
1932
+ execute(input: InspectMinecraftInput): Promise<Record<string, unknown> & {
1933
+ warnings?: string[];
1934
+ }>;
1935
+ private requireWorkspaceClassFocus;
1936
+ private requireWorkspaceSearchFocus;
1937
+ private requireWorkspaceFileFocus;
1938
+ private buildClassSubject;
1939
+ private resolveClassArtifactReference;
1940
+ private resolveWorkspaceArtifactReference;
1941
+ private resolveTask;
1942
+ private summarizeRequestedSubject;
1943
+ private resolveArtifactReference;
1944
+ private resolveArtifactRef;
1945
+ private handleVersions;
1946
+ private handleArtifact;
1947
+ private handleClassOverview;
1948
+ private handleClassSource;
1949
+ private handleClassMembers;
1950
+ private handleSearch;
1951
+ private handleFile;
1952
+ private handleListFiles;
1953
+ }
1954
+ export {};