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