@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
@@ -3,903 +3,335 @@ import type { CheckSymbolExistsOutput, FindClassOutput, GetArtifactFileOutput, G
3
3
  import type { ListVersionsOutput } from "../../version-service.js";
4
4
  export declare const TASKS: readonly ["auto", "versions", "artifact", "class-overview", "class-source", "class-members", "search", "file", "list-files"];
5
5
  export declare const SUBJECT_KINDS: readonly ["version", "artifact", "class", "file", "search", "workspace"];
6
- export declare const artifactRefSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6
+ export declare const artifactRefSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  type: z.ZodLiteral<"resolved-id">;
8
8
  artifactId: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
- artifactId: string;
11
- type: "resolved-id";
12
- }, {
13
- artifactId: string;
14
- type: "resolved-id";
15
- }>, z.ZodObject<{
9
+ }, z.core.$strip>, z.ZodObject<{
16
10
  type: z.ZodLiteral<"resolve-target">;
17
11
  target: z.ZodObject<{
18
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
12
+ kind: z.ZodEnum<{
13
+ version: "version";
14
+ jar: "jar";
15
+ coordinate: "coordinate";
16
+ }>;
19
17
  value: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- kind: "version" | "jar" | "coordinate";
22
- value: string;
23
- }, {
24
- kind: "version" | "jar" | "coordinate";
25
- value: string;
26
- }>;
27
- }, "strip", z.ZodTypeAny, {
28
- target: {
29
- kind: "version" | "jar" | "coordinate";
30
- value: string;
31
- };
32
- type: "resolve-target";
33
- }, {
34
- target: {
35
- kind: "version" | "jar" | "coordinate";
36
- value: string;
37
- };
38
- type: "resolve-target";
39
- }>]>;
40
- export declare const workspaceFocusSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
18
+ }, z.core.$strip>;
19
+ }, z.core.$strip>], "type">;
20
+ export declare const workspaceFocusSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
41
21
  kind: z.ZodLiteral<"class">;
42
22
  className: z.ZodString;
43
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
23
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
44
24
  type: z.ZodLiteral<"resolved-id">;
45
25
  artifactId: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- artifactId: string;
48
- type: "resolved-id";
49
- }, {
50
- artifactId: string;
51
- type: "resolved-id";
52
- }>, z.ZodObject<{
26
+ }, z.core.$strip>, z.ZodObject<{
53
27
  type: z.ZodLiteral<"resolve-target">;
54
28
  target: z.ZodObject<{
55
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
29
+ kind: z.ZodEnum<{
30
+ version: "version";
31
+ jar: "jar";
32
+ coordinate: "coordinate";
33
+ }>;
56
34
  value: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
58
- kind: "version" | "jar" | "coordinate";
59
- value: string;
60
- }, {
61
- kind: "version" | "jar" | "coordinate";
62
- value: string;
63
- }>;
64
- }, "strip", z.ZodTypeAny, {
65
- target: {
66
- kind: "version" | "jar" | "coordinate";
67
- value: string;
68
- };
69
- type: "resolve-target";
70
- }, {
71
- target: {
72
- kind: "version" | "jar" | "coordinate";
73
- value: string;
74
- };
75
- type: "resolve-target";
76
- }>]>>;
77
- }, "strip", z.ZodTypeAny, {
78
- kind: "class";
79
- className: string;
80
- artifact?: {
81
- artifactId: string;
82
- type: "resolved-id";
83
- } | {
84
- target: {
85
- kind: "version" | "jar" | "coordinate";
86
- value: string;
87
- };
88
- type: "resolve-target";
89
- } | undefined;
90
- }, {
91
- kind: "class";
92
- className: string;
93
- artifact?: {
94
- artifactId: string;
95
- type: "resolved-id";
96
- } | {
97
- target: {
98
- kind: "version" | "jar" | "coordinate";
99
- value: string;
100
- };
101
- type: "resolve-target";
102
- } | undefined;
103
- }>, z.ZodObject<{
35
+ }, z.core.$strip>;
36
+ }, z.core.$strip>], "type">>;
37
+ }, z.core.$strip>, z.ZodObject<{
104
38
  kind: z.ZodLiteral<"file">;
105
39
  filePath: z.ZodString;
106
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
40
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
107
41
  type: z.ZodLiteral<"resolved-id">;
108
42
  artifactId: z.ZodString;
109
- }, "strip", z.ZodTypeAny, {
110
- artifactId: string;
111
- type: "resolved-id";
112
- }, {
113
- artifactId: string;
114
- type: "resolved-id";
115
- }>, z.ZodObject<{
43
+ }, z.core.$strip>, z.ZodObject<{
116
44
  type: z.ZodLiteral<"resolve-target">;
117
45
  target: z.ZodObject<{
118
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
46
+ kind: z.ZodEnum<{
47
+ version: "version";
48
+ jar: "jar";
49
+ coordinate: "coordinate";
50
+ }>;
119
51
  value: z.ZodString;
120
- }, "strip", z.ZodTypeAny, {
121
- kind: "version" | "jar" | "coordinate";
122
- value: string;
123
- }, {
124
- kind: "version" | "jar" | "coordinate";
125
- value: string;
126
- }>;
127
- }, "strip", z.ZodTypeAny, {
128
- target: {
129
- kind: "version" | "jar" | "coordinate";
130
- value: string;
131
- };
132
- type: "resolve-target";
133
- }, {
134
- target: {
135
- kind: "version" | "jar" | "coordinate";
136
- value: string;
137
- };
138
- type: "resolve-target";
139
- }>]>>;
140
- }, "strip", z.ZodTypeAny, {
141
- kind: "file";
142
- filePath: string;
143
- artifact?: {
144
- artifactId: string;
145
- type: "resolved-id";
146
- } | {
147
- target: {
148
- kind: "version" | "jar" | "coordinate";
149
- value: string;
150
- };
151
- type: "resolve-target";
152
- } | undefined;
153
- }, {
154
- kind: "file";
155
- filePath: string;
156
- artifact?: {
157
- artifactId: string;
158
- type: "resolved-id";
159
- } | {
160
- target: {
161
- kind: "version" | "jar" | "coordinate";
162
- value: string;
163
- };
164
- type: "resolve-target";
165
- } | undefined;
166
- }>, z.ZodObject<{
52
+ }, z.core.$strip>;
53
+ }, z.core.$strip>], "type">>;
54
+ }, z.core.$strip>, z.ZodObject<{
167
55
  kind: z.ZodLiteral<"search">;
168
56
  query: z.ZodString;
169
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
57
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
170
58
  type: z.ZodLiteral<"resolved-id">;
171
59
  artifactId: z.ZodString;
172
- }, "strip", z.ZodTypeAny, {
173
- artifactId: string;
174
- type: "resolved-id";
175
- }, {
176
- artifactId: string;
177
- type: "resolved-id";
178
- }>, z.ZodObject<{
60
+ }, z.core.$strip>, z.ZodObject<{
179
61
  type: z.ZodLiteral<"resolve-target">;
180
62
  target: z.ZodObject<{
181
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
63
+ kind: z.ZodEnum<{
64
+ version: "version";
65
+ jar: "jar";
66
+ coordinate: "coordinate";
67
+ }>;
182
68
  value: z.ZodString;
183
- }, "strip", z.ZodTypeAny, {
184
- kind: "version" | "jar" | "coordinate";
185
- value: string;
186
- }, {
187
- kind: "version" | "jar" | "coordinate";
188
- value: string;
189
- }>;
190
- }, "strip", z.ZodTypeAny, {
191
- target: {
192
- kind: "version" | "jar" | "coordinate";
193
- value: string;
194
- };
195
- type: "resolve-target";
196
- }, {
197
- target: {
198
- kind: "version" | "jar" | "coordinate";
199
- value: string;
200
- };
201
- type: "resolve-target";
202
- }>]>>;
203
- intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
204
- match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
205
- symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
69
+ }, z.core.$strip>;
70
+ }, z.core.$strip>], "type">>;
71
+ intent: z.ZodOptional<z.ZodEnum<{
72
+ symbol: "symbol";
73
+ path: "path";
74
+ text: "text";
75
+ }>>;
76
+ match: z.ZodOptional<z.ZodEnum<{
77
+ exact: "exact";
78
+ prefix: "prefix";
79
+ contains: "contains";
80
+ regex: "regex";
81
+ }>>;
82
+ symbolKind: z.ZodOptional<z.ZodEnum<{
83
+ class: "class";
84
+ field: "field";
85
+ method: "method";
86
+ interface: "interface";
87
+ enum: "enum";
88
+ record: "record";
89
+ }>>;
206
90
  packagePrefix: z.ZodOptional<z.ZodString>;
207
91
  fileGlob: z.ZodOptional<z.ZodString>;
208
- queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
209
- }, "strip", z.ZodTypeAny, {
210
- kind: "search";
211
- query: string;
212
- queryMode: "auto" | "token" | "literal";
213
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
214
- artifact?: {
215
- artifactId: string;
216
- type: "resolved-id";
217
- } | {
218
- target: {
219
- kind: "version" | "jar" | "coordinate";
220
- value: string;
221
- };
222
- type: "resolve-target";
223
- } | undefined;
224
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
225
- packagePrefix?: string | undefined;
226
- intent?: "symbol" | "path" | "text" | undefined;
227
- fileGlob?: string | undefined;
228
- }, {
229
- kind: "search";
230
- query: string;
231
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
232
- artifact?: {
233
- artifactId: string;
234
- type: "resolved-id";
235
- } | {
236
- target: {
237
- kind: "version" | "jar" | "coordinate";
238
- value: string;
239
- };
240
- type: "resolve-target";
241
- } | undefined;
242
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
243
- packagePrefix?: string | undefined;
244
- intent?: "symbol" | "path" | "text" | undefined;
245
- fileGlob?: string | undefined;
246
- queryMode?: "auto" | "token" | "literal" | undefined;
247
- }>]>;
248
- export declare const subjectSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
92
+ queryMode: z.ZodDefault<z.ZodEnum<{
93
+ auto: "auto";
94
+ token: "token";
95
+ literal: "literal";
96
+ }>>;
97
+ }, z.core.$strip>], "kind">;
98
+ export declare const subjectSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
249
99
  kind: z.ZodLiteral<"version">;
250
100
  version: z.ZodString;
251
- mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
252
- scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
101
+ mapping: z.ZodOptional<z.ZodEnum<{
102
+ obfuscated: "obfuscated";
103
+ mojang: "mojang";
104
+ intermediary: "intermediary";
105
+ yarn: "yarn";
106
+ }>>;
107
+ scope: z.ZodOptional<z.ZodEnum<{
108
+ vanilla: "vanilla";
109
+ merged: "merged";
110
+ loader: "loader";
111
+ }>>;
253
112
  projectPath: z.ZodOptional<z.ZodString>;
254
113
  gradleUserHome: z.ZodOptional<z.ZodString>;
255
114
  preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
256
115
  strictVersion: z.ZodOptional<z.ZodBoolean>;
257
- }, "strip", z.ZodTypeAny, {
258
- kind: "version";
259
- version: string;
260
- projectPath?: string | undefined;
261
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
262
- scope?: "vanilla" | "merged" | "loader" | undefined;
263
- preferProjectVersion?: boolean | undefined;
264
- strictVersion?: boolean | undefined;
265
- gradleUserHome?: string | undefined;
266
- }, {
267
- kind: "version";
268
- version: string;
269
- projectPath?: string | undefined;
270
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
271
- scope?: "vanilla" | "merged" | "loader" | undefined;
272
- preferProjectVersion?: boolean | undefined;
273
- strictVersion?: boolean | undefined;
274
- gradleUserHome?: string | undefined;
275
- }>, z.ZodObject<{
116
+ }, z.core.$strip>, z.ZodObject<{
276
117
  kind: z.ZodLiteral<"artifact">;
277
- artifact: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
118
+ artifact: z.ZodDiscriminatedUnion<[z.ZodObject<{
278
119
  type: z.ZodLiteral<"resolved-id">;
279
120
  artifactId: z.ZodString;
280
- }, "strip", z.ZodTypeAny, {
281
- artifactId: string;
282
- type: "resolved-id";
283
- }, {
284
- artifactId: string;
285
- type: "resolved-id";
286
- }>, z.ZodObject<{
121
+ }, z.core.$strip>, z.ZodObject<{
287
122
  type: z.ZodLiteral<"resolve-target">;
288
123
  target: z.ZodObject<{
289
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
124
+ kind: z.ZodEnum<{
125
+ version: "version";
126
+ jar: "jar";
127
+ coordinate: "coordinate";
128
+ }>;
290
129
  value: z.ZodString;
291
- }, "strip", z.ZodTypeAny, {
292
- kind: "version" | "jar" | "coordinate";
293
- value: string;
294
- }, {
295
- kind: "version" | "jar" | "coordinate";
296
- value: string;
297
- }>;
298
- }, "strip", z.ZodTypeAny, {
299
- target: {
300
- kind: "version" | "jar" | "coordinate";
301
- value: string;
302
- };
303
- type: "resolve-target";
304
- }, {
305
- target: {
306
- kind: "version" | "jar" | "coordinate";
307
- value: string;
308
- };
309
- type: "resolve-target";
310
- }>]>;
311
- mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
312
- scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
130
+ }, z.core.$strip>;
131
+ }, z.core.$strip>], "type">;
132
+ mapping: z.ZodOptional<z.ZodEnum<{
133
+ obfuscated: "obfuscated";
134
+ mojang: "mojang";
135
+ intermediary: "intermediary";
136
+ yarn: "yarn";
137
+ }>>;
138
+ scope: z.ZodOptional<z.ZodEnum<{
139
+ vanilla: "vanilla";
140
+ merged: "merged";
141
+ loader: "loader";
142
+ }>>;
313
143
  projectPath: z.ZodOptional<z.ZodString>;
314
144
  gradleUserHome: z.ZodOptional<z.ZodString>;
315
145
  preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
316
146
  strictVersion: z.ZodOptional<z.ZodBoolean>;
317
- }, "strip", z.ZodTypeAny, {
318
- kind: "artifact";
319
- artifact: {
320
- artifactId: string;
321
- type: "resolved-id";
322
- } | {
323
- target: {
324
- kind: "version" | "jar" | "coordinate";
325
- value: string;
326
- };
327
- type: "resolve-target";
328
- };
329
- projectPath?: string | undefined;
330
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
331
- scope?: "vanilla" | "merged" | "loader" | undefined;
332
- preferProjectVersion?: boolean | undefined;
333
- strictVersion?: boolean | undefined;
334
- gradleUserHome?: string | undefined;
335
- }, {
336
- kind: "artifact";
337
- artifact: {
338
- artifactId: string;
339
- type: "resolved-id";
340
- } | {
341
- target: {
342
- kind: "version" | "jar" | "coordinate";
343
- value: string;
344
- };
345
- type: "resolve-target";
346
- };
347
- projectPath?: string | undefined;
348
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
349
- scope?: "vanilla" | "merged" | "loader" | undefined;
350
- preferProjectVersion?: boolean | undefined;
351
- strictVersion?: boolean | undefined;
352
- gradleUserHome?: string | undefined;
353
- }>, z.ZodObject<{
147
+ }, z.core.$strip>, z.ZodObject<{
354
148
  kind: z.ZodLiteral<"class">;
355
149
  className: z.ZodString;
356
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
150
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
357
151
  type: z.ZodLiteral<"resolved-id">;
358
152
  artifactId: z.ZodString;
359
- }, "strip", z.ZodTypeAny, {
360
- artifactId: string;
361
- type: "resolved-id";
362
- }, {
363
- artifactId: string;
364
- type: "resolved-id";
365
- }>, z.ZodObject<{
153
+ }, z.core.$strip>, z.ZodObject<{
366
154
  type: z.ZodLiteral<"resolve-target">;
367
155
  target: z.ZodObject<{
368
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
156
+ kind: z.ZodEnum<{
157
+ version: "version";
158
+ jar: "jar";
159
+ coordinate: "coordinate";
160
+ }>;
369
161
  value: z.ZodString;
370
- }, "strip", z.ZodTypeAny, {
371
- kind: "version" | "jar" | "coordinate";
372
- value: string;
373
- }, {
374
- kind: "version" | "jar" | "coordinate";
375
- value: string;
376
- }>;
377
- }, "strip", z.ZodTypeAny, {
378
- target: {
379
- kind: "version" | "jar" | "coordinate";
380
- value: string;
381
- };
382
- type: "resolve-target";
383
- }, {
384
- target: {
385
- kind: "version" | "jar" | "coordinate";
386
- value: string;
387
- };
388
- type: "resolve-target";
389
- }>]>>;
390
- mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
391
- scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
162
+ }, z.core.$strip>;
163
+ }, z.core.$strip>], "type">>;
164
+ mapping: z.ZodOptional<z.ZodEnum<{
165
+ obfuscated: "obfuscated";
166
+ mojang: "mojang";
167
+ intermediary: "intermediary";
168
+ yarn: "yarn";
169
+ }>>;
170
+ scope: z.ZodOptional<z.ZodEnum<{
171
+ vanilla: "vanilla";
172
+ merged: "merged";
173
+ loader: "loader";
174
+ }>>;
392
175
  projectPath: z.ZodOptional<z.ZodString>;
393
176
  gradleUserHome: z.ZodOptional<z.ZodString>;
394
177
  preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
395
178
  strictVersion: z.ZodOptional<z.ZodBoolean>;
396
- }, "strip", z.ZodTypeAny, {
397
- kind: "class";
398
- className: string;
399
- projectPath?: string | undefined;
400
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
401
- scope?: "vanilla" | "merged" | "loader" | undefined;
402
- preferProjectVersion?: boolean | undefined;
403
- strictVersion?: boolean | undefined;
404
- artifact?: {
405
- artifactId: string;
406
- type: "resolved-id";
407
- } | {
408
- target: {
409
- kind: "version" | "jar" | "coordinate";
410
- value: string;
411
- };
412
- type: "resolve-target";
413
- } | undefined;
414
- gradleUserHome?: string | undefined;
415
- }, {
416
- kind: "class";
417
- className: string;
418
- projectPath?: string | undefined;
419
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
420
- scope?: "vanilla" | "merged" | "loader" | undefined;
421
- preferProjectVersion?: boolean | undefined;
422
- strictVersion?: boolean | undefined;
423
- artifact?: {
424
- artifactId: string;
425
- type: "resolved-id";
426
- } | {
427
- target: {
428
- kind: "version" | "jar" | "coordinate";
429
- value: string;
430
- };
431
- type: "resolve-target";
432
- } | undefined;
433
- gradleUserHome?: string | undefined;
434
- }>, z.ZodObject<{
179
+ }, z.core.$strip>, z.ZodObject<{
435
180
  kind: z.ZodLiteral<"file">;
436
181
  filePath: z.ZodString;
437
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
182
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
438
183
  type: z.ZodLiteral<"resolved-id">;
439
184
  artifactId: z.ZodString;
440
- }, "strip", z.ZodTypeAny, {
441
- artifactId: string;
442
- type: "resolved-id";
443
- }, {
444
- artifactId: string;
445
- type: "resolved-id";
446
- }>, z.ZodObject<{
185
+ }, z.core.$strip>, z.ZodObject<{
447
186
  type: z.ZodLiteral<"resolve-target">;
448
187
  target: z.ZodObject<{
449
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
188
+ kind: z.ZodEnum<{
189
+ version: "version";
190
+ jar: "jar";
191
+ coordinate: "coordinate";
192
+ }>;
450
193
  value: z.ZodString;
451
- }, "strip", z.ZodTypeAny, {
452
- kind: "version" | "jar" | "coordinate";
453
- value: string;
454
- }, {
455
- kind: "version" | "jar" | "coordinate";
456
- value: string;
457
- }>;
458
- }, "strip", z.ZodTypeAny, {
459
- target: {
460
- kind: "version" | "jar" | "coordinate";
461
- value: string;
462
- };
463
- type: "resolve-target";
464
- }, {
465
- target: {
466
- kind: "version" | "jar" | "coordinate";
467
- value: string;
468
- };
469
- type: "resolve-target";
470
- }>]>>;
471
- }, "strip", z.ZodTypeAny, {
472
- kind: "file";
473
- filePath: string;
474
- artifact?: {
475
- artifactId: string;
476
- type: "resolved-id";
477
- } | {
478
- target: {
479
- kind: "version" | "jar" | "coordinate";
480
- value: string;
481
- };
482
- type: "resolve-target";
483
- } | undefined;
484
- }, {
485
- kind: "file";
486
- filePath: string;
487
- artifact?: {
488
- artifactId: string;
489
- type: "resolved-id";
490
- } | {
491
- target: {
492
- kind: "version" | "jar" | "coordinate";
493
- value: string;
494
- };
495
- type: "resolve-target";
496
- } | undefined;
497
- }>, z.ZodObject<{
194
+ }, z.core.$strip>;
195
+ }, z.core.$strip>], "type">>;
196
+ }, z.core.$strip>, z.ZodObject<{
498
197
  kind: z.ZodLiteral<"search">;
499
198
  query: z.ZodString;
500
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
199
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
501
200
  type: z.ZodLiteral<"resolved-id">;
502
201
  artifactId: z.ZodString;
503
- }, "strip", z.ZodTypeAny, {
504
- artifactId: string;
505
- type: "resolved-id";
506
- }, {
507
- artifactId: string;
508
- type: "resolved-id";
509
- }>, z.ZodObject<{
202
+ }, z.core.$strip>, z.ZodObject<{
510
203
  type: z.ZodLiteral<"resolve-target">;
511
204
  target: z.ZodObject<{
512
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
205
+ kind: z.ZodEnum<{
206
+ version: "version";
207
+ jar: "jar";
208
+ coordinate: "coordinate";
209
+ }>;
513
210
  value: z.ZodString;
514
- }, "strip", z.ZodTypeAny, {
515
- kind: "version" | "jar" | "coordinate";
516
- value: string;
517
- }, {
518
- kind: "version" | "jar" | "coordinate";
519
- value: string;
520
- }>;
521
- }, "strip", z.ZodTypeAny, {
522
- target: {
523
- kind: "version" | "jar" | "coordinate";
524
- value: string;
525
- };
526
- type: "resolve-target";
527
- }, {
528
- target: {
529
- kind: "version" | "jar" | "coordinate";
530
- value: string;
531
- };
532
- type: "resolve-target";
533
- }>]>>;
534
- intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
535
- match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
536
- symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
211
+ }, z.core.$strip>;
212
+ }, z.core.$strip>], "type">>;
213
+ intent: z.ZodOptional<z.ZodEnum<{
214
+ symbol: "symbol";
215
+ path: "path";
216
+ text: "text";
217
+ }>>;
218
+ match: z.ZodOptional<z.ZodEnum<{
219
+ exact: "exact";
220
+ prefix: "prefix";
221
+ contains: "contains";
222
+ regex: "regex";
223
+ }>>;
224
+ symbolKind: z.ZodOptional<z.ZodEnum<{
225
+ class: "class";
226
+ field: "field";
227
+ method: "method";
228
+ interface: "interface";
229
+ enum: "enum";
230
+ record: "record";
231
+ }>>;
537
232
  packagePrefix: z.ZodOptional<z.ZodString>;
538
233
  fileGlob: z.ZodOptional<z.ZodString>;
539
- queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
540
- }, "strip", z.ZodTypeAny, {
541
- kind: "search";
542
- query: string;
543
- queryMode: "auto" | "token" | "literal";
544
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
545
- artifact?: {
546
- artifactId: string;
547
- type: "resolved-id";
548
- } | {
549
- target: {
550
- kind: "version" | "jar" | "coordinate";
551
- value: string;
552
- };
553
- type: "resolve-target";
554
- } | undefined;
555
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
556
- packagePrefix?: string | undefined;
557
- intent?: "symbol" | "path" | "text" | undefined;
558
- fileGlob?: string | undefined;
559
- }, {
560
- kind: "search";
561
- query: string;
562
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
563
- artifact?: {
564
- artifactId: string;
565
- type: "resolved-id";
566
- } | {
567
- target: {
568
- kind: "version" | "jar" | "coordinate";
569
- value: string;
570
- };
571
- type: "resolve-target";
572
- } | undefined;
573
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
574
- packagePrefix?: string | undefined;
575
- intent?: "symbol" | "path" | "text" | undefined;
576
- fileGlob?: string | undefined;
577
- queryMode?: "auto" | "token" | "literal" | undefined;
578
- }>, z.ZodObject<{
234
+ queryMode: z.ZodDefault<z.ZodEnum<{
235
+ auto: "auto";
236
+ token: "token";
237
+ literal: "literal";
238
+ }>>;
239
+ }, z.core.$strip>, z.ZodObject<{
579
240
  kind: z.ZodLiteral<"workspace">;
580
241
  projectPath: z.ZodString;
581
- mapping: z.ZodOptional<z.ZodEnum<["obfuscated", "mojang", "intermediary", "yarn"]>>;
582
- scope: z.ZodOptional<z.ZodEnum<["vanilla", "merged", "loader"]>>;
242
+ mapping: z.ZodOptional<z.ZodEnum<{
243
+ obfuscated: "obfuscated";
244
+ mojang: "mojang";
245
+ intermediary: "intermediary";
246
+ yarn: "yarn";
247
+ }>>;
248
+ scope: z.ZodOptional<z.ZodEnum<{
249
+ vanilla: "vanilla";
250
+ merged: "merged";
251
+ loader: "loader";
252
+ }>>;
583
253
  gradleUserHome: z.ZodOptional<z.ZodString>;
584
254
  preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
585
255
  strictVersion: z.ZodOptional<z.ZodBoolean>;
586
- focus: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
256
+ focus: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
587
257
  kind: z.ZodLiteral<"class">;
588
258
  className: z.ZodString;
589
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
259
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
590
260
  type: z.ZodLiteral<"resolved-id">;
591
261
  artifactId: z.ZodString;
592
- }, "strip", z.ZodTypeAny, {
593
- artifactId: string;
594
- type: "resolved-id";
595
- }, {
596
- artifactId: string;
597
- type: "resolved-id";
598
- }>, z.ZodObject<{
262
+ }, z.core.$strip>, z.ZodObject<{
599
263
  type: z.ZodLiteral<"resolve-target">;
600
264
  target: z.ZodObject<{
601
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
265
+ kind: z.ZodEnum<{
266
+ version: "version";
267
+ jar: "jar";
268
+ coordinate: "coordinate";
269
+ }>;
602
270
  value: z.ZodString;
603
- }, "strip", z.ZodTypeAny, {
604
- kind: "version" | "jar" | "coordinate";
605
- value: string;
606
- }, {
607
- kind: "version" | "jar" | "coordinate";
608
- value: string;
609
- }>;
610
- }, "strip", z.ZodTypeAny, {
611
- target: {
612
- kind: "version" | "jar" | "coordinate";
613
- value: string;
614
- };
615
- type: "resolve-target";
616
- }, {
617
- target: {
618
- kind: "version" | "jar" | "coordinate";
619
- value: string;
620
- };
621
- type: "resolve-target";
622
- }>]>>;
623
- }, "strip", z.ZodTypeAny, {
624
- kind: "class";
625
- className: string;
626
- artifact?: {
627
- artifactId: string;
628
- type: "resolved-id";
629
- } | {
630
- target: {
631
- kind: "version" | "jar" | "coordinate";
632
- value: string;
633
- };
634
- type: "resolve-target";
635
- } | undefined;
636
- }, {
637
- kind: "class";
638
- className: string;
639
- artifact?: {
640
- artifactId: string;
641
- type: "resolved-id";
642
- } | {
643
- target: {
644
- kind: "version" | "jar" | "coordinate";
645
- value: string;
646
- };
647
- type: "resolve-target";
648
- } | undefined;
649
- }>, z.ZodObject<{
271
+ }, z.core.$strip>;
272
+ }, z.core.$strip>], "type">>;
273
+ }, z.core.$strip>, z.ZodObject<{
650
274
  kind: z.ZodLiteral<"file">;
651
275
  filePath: z.ZodString;
652
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
276
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
653
277
  type: z.ZodLiteral<"resolved-id">;
654
278
  artifactId: z.ZodString;
655
- }, "strip", z.ZodTypeAny, {
656
- artifactId: string;
657
- type: "resolved-id";
658
- }, {
659
- artifactId: string;
660
- type: "resolved-id";
661
- }>, z.ZodObject<{
279
+ }, z.core.$strip>, z.ZodObject<{
662
280
  type: z.ZodLiteral<"resolve-target">;
663
281
  target: z.ZodObject<{
664
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
282
+ kind: z.ZodEnum<{
283
+ version: "version";
284
+ jar: "jar";
285
+ coordinate: "coordinate";
286
+ }>;
665
287
  value: z.ZodString;
666
- }, "strip", z.ZodTypeAny, {
667
- kind: "version" | "jar" | "coordinate";
668
- value: string;
669
- }, {
670
- kind: "version" | "jar" | "coordinate";
671
- value: string;
672
- }>;
673
- }, "strip", z.ZodTypeAny, {
674
- target: {
675
- kind: "version" | "jar" | "coordinate";
676
- value: string;
677
- };
678
- type: "resolve-target";
679
- }, {
680
- target: {
681
- kind: "version" | "jar" | "coordinate";
682
- value: string;
683
- };
684
- type: "resolve-target";
685
- }>]>>;
686
- }, "strip", z.ZodTypeAny, {
687
- kind: "file";
688
- filePath: string;
689
- artifact?: {
690
- artifactId: string;
691
- type: "resolved-id";
692
- } | {
693
- target: {
694
- kind: "version" | "jar" | "coordinate";
695
- value: string;
696
- };
697
- type: "resolve-target";
698
- } | undefined;
699
- }, {
700
- kind: "file";
701
- filePath: string;
702
- artifact?: {
703
- artifactId: string;
704
- type: "resolved-id";
705
- } | {
706
- target: {
707
- kind: "version" | "jar" | "coordinate";
708
- value: string;
709
- };
710
- type: "resolve-target";
711
- } | undefined;
712
- }>, z.ZodObject<{
288
+ }, z.core.$strip>;
289
+ }, z.core.$strip>], "type">>;
290
+ }, z.core.$strip>, z.ZodObject<{
713
291
  kind: z.ZodLiteral<"search">;
714
292
  query: z.ZodString;
715
- artifact: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
293
+ artifact: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
716
294
  type: z.ZodLiteral<"resolved-id">;
717
295
  artifactId: z.ZodString;
718
- }, "strip", z.ZodTypeAny, {
719
- artifactId: string;
720
- type: "resolved-id";
721
- }, {
722
- artifactId: string;
723
- type: "resolved-id";
724
- }>, z.ZodObject<{
296
+ }, z.core.$strip>, z.ZodObject<{
725
297
  type: z.ZodLiteral<"resolve-target">;
726
298
  target: z.ZodObject<{
727
- kind: z.ZodEnum<["version", "jar", "coordinate"]>;
299
+ kind: z.ZodEnum<{
300
+ version: "version";
301
+ jar: "jar";
302
+ coordinate: "coordinate";
303
+ }>;
728
304
  value: z.ZodString;
729
- }, "strip", z.ZodTypeAny, {
730
- kind: "version" | "jar" | "coordinate";
731
- value: string;
732
- }, {
733
- kind: "version" | "jar" | "coordinate";
734
- value: string;
735
- }>;
736
- }, "strip", z.ZodTypeAny, {
737
- target: {
738
- kind: "version" | "jar" | "coordinate";
739
- value: string;
740
- };
741
- type: "resolve-target";
742
- }, {
743
- target: {
744
- kind: "version" | "jar" | "coordinate";
745
- value: string;
746
- };
747
- type: "resolve-target";
748
- }>]>>;
749
- intent: z.ZodOptional<z.ZodEnum<["symbol", "text", "path"]>>;
750
- match: z.ZodOptional<z.ZodEnum<["exact", "prefix", "contains", "regex"]>>;
751
- symbolKind: z.ZodOptional<z.ZodEnum<["class", "interface", "enum", "record", "method", "field"]>>;
305
+ }, z.core.$strip>;
306
+ }, z.core.$strip>], "type">>;
307
+ intent: z.ZodOptional<z.ZodEnum<{
308
+ symbol: "symbol";
309
+ path: "path";
310
+ text: "text";
311
+ }>>;
312
+ match: z.ZodOptional<z.ZodEnum<{
313
+ exact: "exact";
314
+ prefix: "prefix";
315
+ contains: "contains";
316
+ regex: "regex";
317
+ }>>;
318
+ symbolKind: z.ZodOptional<z.ZodEnum<{
319
+ class: "class";
320
+ field: "field";
321
+ method: "method";
322
+ interface: "interface";
323
+ enum: "enum";
324
+ record: "record";
325
+ }>>;
752
326
  packagePrefix: z.ZodOptional<z.ZodString>;
753
327
  fileGlob: z.ZodOptional<z.ZodString>;
754
- queryMode: z.ZodDefault<z.ZodEnum<["auto", "token", "literal"]>>;
755
- }, "strip", z.ZodTypeAny, {
756
- kind: "search";
757
- query: string;
758
- queryMode: "auto" | "token" | "literal";
759
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
760
- artifact?: {
761
- artifactId: string;
762
- type: "resolved-id";
763
- } | {
764
- target: {
765
- kind: "version" | "jar" | "coordinate";
766
- value: string;
767
- };
768
- type: "resolve-target";
769
- } | undefined;
770
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
771
- packagePrefix?: string | undefined;
772
- intent?: "symbol" | "path" | "text" | undefined;
773
- fileGlob?: string | undefined;
774
- }, {
775
- kind: "search";
776
- query: string;
777
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
778
- artifact?: {
779
- artifactId: string;
780
- type: "resolved-id";
781
- } | {
782
- target: {
783
- kind: "version" | "jar" | "coordinate";
784
- value: string;
785
- };
786
- type: "resolve-target";
787
- } | undefined;
788
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
789
- packagePrefix?: string | undefined;
790
- intent?: "symbol" | "path" | "text" | undefined;
791
- fileGlob?: string | undefined;
792
- queryMode?: "auto" | "token" | "literal" | undefined;
793
- }>]>>;
794
- }, "strip", z.ZodTypeAny, {
795
- kind: "workspace";
796
- projectPath: string;
797
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
798
- scope?: "vanilla" | "merged" | "loader" | undefined;
799
- preferProjectVersion?: boolean | undefined;
800
- strictVersion?: boolean | undefined;
801
- gradleUserHome?: string | undefined;
802
- focus?: {
803
- kind: "class";
804
- className: string;
805
- artifact?: {
806
- artifactId: string;
807
- type: "resolved-id";
808
- } | {
809
- target: {
810
- kind: "version" | "jar" | "coordinate";
811
- value: string;
812
- };
813
- type: "resolve-target";
814
- } | undefined;
815
- } | {
816
- kind: "file";
817
- filePath: string;
818
- artifact?: {
819
- artifactId: string;
820
- type: "resolved-id";
821
- } | {
822
- target: {
823
- kind: "version" | "jar" | "coordinate";
824
- value: string;
825
- };
826
- type: "resolve-target";
827
- } | undefined;
828
- } | {
829
- kind: "search";
830
- query: string;
831
- queryMode: "auto" | "token" | "literal";
832
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
833
- artifact?: {
834
- artifactId: string;
835
- type: "resolved-id";
836
- } | {
837
- target: {
838
- kind: "version" | "jar" | "coordinate";
839
- value: string;
840
- };
841
- type: "resolve-target";
842
- } | undefined;
843
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
844
- packagePrefix?: string | undefined;
845
- intent?: "symbol" | "path" | "text" | undefined;
846
- fileGlob?: string | undefined;
847
- } | undefined;
848
- }, {
849
- kind: "workspace";
850
- projectPath: string;
851
- mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
852
- scope?: "vanilla" | "merged" | "loader" | undefined;
853
- preferProjectVersion?: boolean | undefined;
854
- strictVersion?: boolean | undefined;
855
- gradleUserHome?: string | undefined;
856
- focus?: {
857
- kind: "class";
858
- className: string;
859
- artifact?: {
860
- artifactId: string;
861
- type: "resolved-id";
862
- } | {
863
- target: {
864
- kind: "version" | "jar" | "coordinate";
865
- value: string;
866
- };
867
- type: "resolve-target";
868
- } | undefined;
869
- } | {
870
- kind: "file";
871
- filePath: string;
872
- artifact?: {
873
- artifactId: string;
874
- type: "resolved-id";
875
- } | {
876
- target: {
877
- kind: "version" | "jar" | "coordinate";
878
- value: string;
879
- };
880
- type: "resolve-target";
881
- } | undefined;
882
- } | {
883
- kind: "search";
884
- query: string;
885
- match?: "exact" | "prefix" | "contains" | "regex" | undefined;
886
- artifact?: {
887
- artifactId: string;
888
- type: "resolved-id";
889
- } | {
890
- target: {
891
- kind: "version" | "jar" | "coordinate";
892
- value: string;
893
- };
894
- type: "resolve-target";
895
- } | undefined;
896
- symbolKind?: "class" | "field" | "method" | "record" | "interface" | "enum" | undefined;
897
- packagePrefix?: string | undefined;
898
- intent?: "symbol" | "path" | "text" | undefined;
899
- fileGlob?: string | undefined;
900
- queryMode?: "auto" | "token" | "literal" | undefined;
901
- } | undefined;
902
- }>]>;
328
+ queryMode: z.ZodDefault<z.ZodEnum<{
329
+ auto: "auto";
330
+ token: "token";
331
+ literal: "literal";
332
+ }>>;
333
+ }, z.core.$strip>], "kind">>;
334
+ }, z.core.$strip>], "kind">;
903
335
  export type ArtifactRef = z.infer<typeof artifactRefSchema>;
904
336
  export type Subject = z.infer<typeof subjectSchema>;
905
337
  export type WorkspaceSubject = Extract<Subject, {
@@ -930,6 +362,10 @@ export type InspectMinecraftDeps = {
930
362
  target: {
931
363
  kind: "version" | "jar" | "coordinate";
932
364
  value: string;
365
+ } | {
366
+ kind: "workspace";
367
+ scope?: "vanilla" | "merged" | "loader";
368
+ strict?: boolean;
933
369
  };
934
370
  mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
935
371
  scope?: "vanilla" | "merged" | "loader";
@@ -1044,7 +480,7 @@ export declare function resolveWorkspaceArtifactReference(deps: InspectMinecraft
1044
480
  version?: string;
1045
481
  warnings: string[];
1046
482
  }>;
1047
- export declare function resolveTask(task: InspectMinecraftTask | undefined, subject: Subject | undefined): "search" | "class-source" | "artifact" | "file" | "versions" | "class-members" | "class-overview" | "list-files";
483
+ export declare function resolveTask(task: InspectMinecraftTask | undefined, subject: Subject | undefined): "search" | "class-source" | "artifact" | "versions" | "class-overview" | "class-members" | "file" | "list-files";
1048
484
  export declare function summarizeRequestedSubject(subject: Subject): Record<string, unknown>;
1049
485
  export declare function taskForSubject(subject: Subject): ConcreteInspectMinecraftTask;
1050
486
  export declare function invalidTaskSubjectError(task: ConcreteInspectMinecraftTask, subject: Subject): never;