@adhisang/minecraft-modding-mcp 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +36 -23
- package/dist/build-suggested-call.d.ts +29 -0
- package/dist/build-suggested-call.js +58 -0
- package/dist/cache-registry.d.ts +3 -1
- package/dist/cache-registry.js +50 -6
- package/dist/entry-tools/analyze-symbol-service.d.ts +16 -16
- package/dist/entry-tools/batch-class-members-service.d.ts +34 -0
- package/dist/entry-tools/batch-class-members-service.js +97 -0
- package/dist/entry-tools/batch-class-source-service.d.ts +37 -0
- package/dist/entry-tools/batch-class-source-service.js +100 -0
- package/dist/entry-tools/batch-mappings-service.d.ts +36 -0
- package/dist/entry-tools/batch-mappings-service.js +66 -0
- package/dist/entry-tools/batch-runner.d.ts +72 -0
- package/dist/entry-tools/batch-runner.js +90 -0
- package/dist/entry-tools/batch-symbol-exists-service.d.ts +46 -0
- package/dist/entry-tools/batch-symbol-exists-service.js +113 -0
- package/dist/entry-tools/compare-minecraft-service.d.ts +6 -6
- package/dist/entry-tools/inspect-minecraft/handlers/artifact.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/artifact.js +83 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-members.d.ts +6 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-members.js +80 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-overview.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-overview.js +248 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-source.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/class-source.js +60 -0
- package/dist/entry-tools/inspect-minecraft/handlers/file.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/file.js +54 -0
- package/dist/entry-tools/inspect-minecraft/handlers/list-files.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/list-files.js +100 -0
- package/dist/entry-tools/inspect-minecraft/handlers/search.d.ts +5 -0
- package/dist/entry-tools/inspect-minecraft/handlers/search.js +155 -0
- package/dist/entry-tools/inspect-minecraft/handlers/versions.d.ts +6 -0
- package/dist/entry-tools/inspect-minecraft/handlers/versions.js +49 -0
- package/dist/entry-tools/inspect-minecraft/internal.d.ts +1042 -0
- package/dist/entry-tools/inspect-minecraft/internal.js +448 -0
- package/dist/entry-tools/inspect-minecraft-service.d.ts +193 -308
- package/dist/entry-tools/inspect-minecraft-service.js +20 -1244
- package/dist/entry-tools/manage-cache-service.d.ts +16 -16
- package/dist/entry-tools/validate-project/cases/access-transformer.d.ts +6 -0
- package/dist/entry-tools/validate-project/cases/access-transformer.js +106 -0
- package/dist/entry-tools/validate-project/cases/access-widener.d.ts +6 -0
- package/dist/entry-tools/validate-project/cases/access-widener.js +86 -0
- package/dist/entry-tools/validate-project/cases/mixin.d.ts +6 -0
- package/dist/entry-tools/validate-project/cases/mixin.js +90 -0
- package/dist/entry-tools/validate-project/cases/project-summary.d.ts +97 -0
- package/dist/entry-tools/validate-project/cases/project-summary.js +346 -0
- package/dist/entry-tools/validate-project/internal.d.ts +135 -0
- package/dist/entry-tools/validate-project/internal.js +287 -0
- package/dist/entry-tools/validate-project-service.d.ts +63 -47
- package/dist/entry-tools/validate-project-service.js +12 -562
- package/dist/entry-tools/verify-mixin-target-service.d.ts +133 -0
- package/dist/entry-tools/verify-mixin-target-service.js +323 -0
- package/dist/error-mapping.d.ts +40 -0
- package/dist/error-mapping.js +139 -0
- package/dist/errors.d.ts +6 -0
- package/dist/errors.js +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +142 -1352
- package/dist/mapping/internal-types.d.ts +54 -0
- package/dist/mapping/internal-types.js +14 -0
- package/dist/mapping/loaders/mojang.d.ts +2 -0
- package/dist/mapping/loaders/mojang.js +64 -0
- package/dist/mapping/loaders/tiny-loom.d.ts +2 -0
- package/dist/mapping/loaders/tiny-loom.js +73 -0
- package/dist/mapping/loaders/tiny-maven.d.ts +2 -0
- package/dist/mapping/loaders/tiny-maven.js +104 -0
- package/dist/mapping/loaders/types.d.ts +14 -0
- package/dist/mapping/loaders/types.js +2 -0
- package/dist/mapping/lookup.d.ts +52 -0
- package/dist/mapping/lookup.js +496 -0
- package/dist/mapping/parsers/normalize.d.ts +10 -0
- package/dist/mapping/parsers/normalize.js +52 -0
- package/dist/mapping/parsers/proguard.d.ts +20 -0
- package/dist/mapping/parsers/proguard.js +138 -0
- package/dist/mapping/parsers/symbol-records.d.ts +27 -0
- package/dist/mapping/parsers/symbol-records.js +216 -0
- package/dist/mapping/parsers/tiny.d.ts +9 -0
- package/dist/mapping/parsers/tiny.js +96 -0
- package/dist/mapping/types.d.ts +147 -0
- package/dist/mapping/types.js +2 -0
- package/dist/mapping-pipeline-service.js +3 -2
- package/dist/mapping-service.d.ts +3 -144
- package/dist/mapping-service.js +19 -1201
- package/dist/mixin/access-validators.d.ts +9 -0
- package/dist/mixin/access-validators.js +257 -0
- package/dist/mixin/annotation-validators.d.ts +5 -0
- package/dist/mixin/annotation-validators.js +162 -0
- package/dist/mixin/helpers.d.ts +28 -0
- package/dist/mixin/helpers.js +315 -0
- package/dist/mixin/parsed-validator.d.ts +8 -0
- package/dist/mixin/parsed-validator.js +337 -0
- package/dist/mixin/types.d.ts +208 -0
- package/dist/mixin/types.js +28 -0
- package/dist/mixin-validator.d.ts +9 -201
- package/dist/mixin-validator.js +8 -1020
- package/dist/source/access-validate.d.ts +4 -0
- package/dist/source/access-validate.js +254 -0
- package/dist/source/artifact-resolver.d.ts +110 -0
- package/dist/source/artifact-resolver.js +1174 -0
- package/dist/source/cache-metrics.d.ts +26 -0
- package/dist/source/cache-metrics.js +172 -0
- package/dist/source/class-source/members-builder.d.ts +34 -0
- package/dist/source/class-source/members-builder.js +46 -0
- package/dist/source/class-source/snippet-builder.d.ts +19 -0
- package/dist/source/class-source/snippet-builder.js +46 -0
- package/dist/source/class-source-helpers.d.ts +34 -0
- package/dist/source/class-source-helpers.js +140 -0
- package/dist/source/class-source.d.ts +42 -0
- package/dist/source/class-source.js +883 -0
- package/dist/source/descriptor-utils.d.ts +6 -0
- package/dist/source/descriptor-utils.js +37 -0
- package/dist/source/file-access.d.ts +4 -0
- package/dist/source/file-access.js +102 -0
- package/dist/source/indexer.d.ts +82 -0
- package/dist/source/indexer.js +505 -0
- package/dist/source/lifecycle/diff-utils.d.ts +9 -0
- package/dist/source/lifecycle/diff-utils.js +107 -0
- package/dist/source/lifecycle/diff.d.ts +2 -0
- package/dist/source/lifecycle/diff.js +265 -0
- package/dist/source/lifecycle/mapping-helpers.d.ts +22 -0
- package/dist/source/lifecycle/mapping-helpers.js +327 -0
- package/dist/source/lifecycle/runtime-check.d.ts +2 -0
- package/dist/source/lifecycle/runtime-check.js +142 -0
- package/dist/source/lifecycle/trace.d.ts +2 -0
- package/dist/source/lifecycle/trace.js +231 -0
- package/dist/source/lifecycle.d.ts +4 -0
- package/dist/source/lifecycle.js +5 -0
- package/dist/source/search.d.ts +51 -0
- package/dist/source/search.js +676 -0
- package/dist/source/shared-utils.d.ts +6 -0
- package/dist/source/shared-utils.js +55 -0
- package/dist/source/state.d.ts +21 -0
- package/dist/source/state.js +19 -0
- package/dist/source/symbol-resolver.d.ts +3 -0
- package/dist/source/symbol-resolver.js +212 -0
- package/dist/source/validate-mixin/pipeline/mapping-health.d.ts +3 -0
- package/dist/source/validate-mixin/pipeline/mapping-health.js +41 -0
- package/dist/source/validate-mixin/pipeline/parse.d.ts +2 -0
- package/dist/source/validate-mixin/pipeline/parse.js +10 -0
- package/dist/source/validate-mixin/pipeline/resolve.d.ts +3 -0
- package/dist/source/validate-mixin/pipeline/resolve.js +78 -0
- package/dist/source/validate-mixin/pipeline/target-lookup.d.ts +6 -0
- package/dist/source/validate-mixin/pipeline/target-lookup.js +260 -0
- package/dist/source/validate-mixin/pipeline-context.d.ts +72 -0
- package/dist/source/validate-mixin/pipeline-context.js +93 -0
- package/dist/source/validate-mixin.d.ts +22 -0
- package/dist/source/validate-mixin.js +799 -0
- package/dist/source/workspace-target.d.ts +18 -0
- package/dist/source/workspace-target.js +305 -0
- package/dist/source-service.d.ts +147 -170
- package/dist/source-service.js +67 -6116
- package/dist/stage-emitter.d.ts +13 -0
- package/dist/stage-emitter.js +30 -0
- package/dist/stdio-supervisor.d.ts +61 -0
- package/dist/stdio-supervisor.js +326 -9
- package/dist/tool-contract-manifest.d.ts +1 -1
- package/dist/tool-contract-manifest.js +23 -6
- package/dist/tool-guidance.d.ts +82 -0
- package/dist/tool-guidance.js +734 -0
- package/dist/tool-schema-registry.d.ts +16 -0
- package/dist/tool-schema-registry.js +37 -0
- package/dist/tool-schemas.d.ts +3518 -0
- package/dist/tool-schemas.js +813 -0
- package/dist/types.d.ts +36 -0
- package/dist/version-service.js +7 -6
- package/dist/workspace-context-cache.d.ts +32 -0
- package/dist/workspace-context-cache.js +66 -0
- package/dist/workspace-mapping-service.d.ts +16 -0
- package/dist/workspace-mapping-service.js +173 -1
- package/docs/README-ja.md +414 -0
- package/docs/examples.md +483 -0
- package/docs/tool-reference.md +459 -0
- package/package.json +3 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import
|
|
3
|
-
import type { ListVersionsOutput } from "../version-service.js";
|
|
2
|
+
import { type InspectMinecraftDeps } from "./inspect-minecraft/internal.js";
|
|
4
3
|
export declare const inspectMinecraftShape: {
|
|
5
4
|
task: z.ZodOptional<z.ZodEnum<["auto", "versions", "artifact", "class-overview", "class-source", "class-members", "search", "file", "list-files"]>>;
|
|
6
5
|
subject: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -14,17 +13,17 @@ export declare const inspectMinecraftShape: {
|
|
|
14
13
|
}, "strip", z.ZodTypeAny, {
|
|
15
14
|
kind: "version";
|
|
16
15
|
version: string;
|
|
17
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
18
16
|
projectPath?: string | undefined;
|
|
19
|
-
|
|
17
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
18
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
20
19
|
preferProjectVersion?: boolean | undefined;
|
|
21
20
|
strictVersion?: boolean | undefined;
|
|
22
21
|
}, {
|
|
23
22
|
kind: "version";
|
|
24
23
|
version: string;
|
|
25
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
26
24
|
projectPath?: string | undefined;
|
|
27
|
-
|
|
25
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
26
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
28
27
|
preferProjectVersion?: boolean | undefined;
|
|
29
28
|
strictVersion?: boolean | undefined;
|
|
30
29
|
}>, z.ZodObject<{
|
|
@@ -44,22 +43,22 @@ export declare const inspectMinecraftShape: {
|
|
|
44
43
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
45
44
|
value: z.ZodString;
|
|
46
45
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
kind: "version" | "
|
|
46
|
+
kind: "version" | "jar" | "coordinate";
|
|
48
47
|
value: string;
|
|
49
48
|
}, {
|
|
50
|
-
kind: "version" | "
|
|
49
|
+
kind: "version" | "jar" | "coordinate";
|
|
51
50
|
value: string;
|
|
52
51
|
}>;
|
|
53
52
|
}, "strip", z.ZodTypeAny, {
|
|
54
53
|
type: "resolve-target";
|
|
55
54
|
target: {
|
|
56
|
-
kind: "version" | "
|
|
55
|
+
kind: "version" | "jar" | "coordinate";
|
|
57
56
|
value: string;
|
|
58
57
|
};
|
|
59
58
|
}, {
|
|
60
59
|
type: "resolve-target";
|
|
61
60
|
target: {
|
|
62
|
-
kind: "version" | "
|
|
61
|
+
kind: "version" | "jar" | "coordinate";
|
|
63
62
|
value: string;
|
|
64
63
|
};
|
|
65
64
|
}>]>;
|
|
@@ -76,13 +75,13 @@ export declare const inspectMinecraftShape: {
|
|
|
76
75
|
} | {
|
|
77
76
|
type: "resolve-target";
|
|
78
77
|
target: {
|
|
79
|
-
kind: "version" | "
|
|
78
|
+
kind: "version" | "jar" | "coordinate";
|
|
80
79
|
value: string;
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
84
82
|
projectPath?: string | undefined;
|
|
85
|
-
|
|
83
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
84
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
86
85
|
preferProjectVersion?: boolean | undefined;
|
|
87
86
|
strictVersion?: boolean | undefined;
|
|
88
87
|
}, {
|
|
@@ -93,13 +92,13 @@ export declare const inspectMinecraftShape: {
|
|
|
93
92
|
} | {
|
|
94
93
|
type: "resolve-target";
|
|
95
94
|
target: {
|
|
96
|
-
kind: "version" | "
|
|
95
|
+
kind: "version" | "jar" | "coordinate";
|
|
97
96
|
value: string;
|
|
98
97
|
};
|
|
99
98
|
};
|
|
100
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
101
99
|
projectPath?: string | undefined;
|
|
102
|
-
|
|
100
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
101
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
103
102
|
preferProjectVersion?: boolean | undefined;
|
|
104
103
|
strictVersion?: boolean | undefined;
|
|
105
104
|
}>, z.ZodObject<{
|
|
@@ -120,22 +119,22 @@ export declare const inspectMinecraftShape: {
|
|
|
120
119
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
121
120
|
value: z.ZodString;
|
|
122
121
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
kind: "version" | "
|
|
122
|
+
kind: "version" | "jar" | "coordinate";
|
|
124
123
|
value: string;
|
|
125
124
|
}, {
|
|
126
|
-
kind: "version" | "
|
|
125
|
+
kind: "version" | "jar" | "coordinate";
|
|
127
126
|
value: string;
|
|
128
127
|
}>;
|
|
129
128
|
}, "strip", z.ZodTypeAny, {
|
|
130
129
|
type: "resolve-target";
|
|
131
130
|
target: {
|
|
132
|
-
kind: "version" | "
|
|
131
|
+
kind: "version" | "jar" | "coordinate";
|
|
133
132
|
value: string;
|
|
134
133
|
};
|
|
135
134
|
}, {
|
|
136
135
|
type: "resolve-target";
|
|
137
136
|
target: {
|
|
138
|
-
kind: "version" | "
|
|
137
|
+
kind: "version" | "jar" | "coordinate";
|
|
139
138
|
value: string;
|
|
140
139
|
};
|
|
141
140
|
}>]>>;
|
|
@@ -147,9 +146,9 @@ export declare const inspectMinecraftShape: {
|
|
|
147
146
|
}, "strip", z.ZodTypeAny, {
|
|
148
147
|
kind: "class";
|
|
149
148
|
className: string;
|
|
150
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
151
149
|
projectPath?: string | undefined;
|
|
152
|
-
|
|
150
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
151
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
153
152
|
preferProjectVersion?: boolean | undefined;
|
|
154
153
|
strictVersion?: boolean | undefined;
|
|
155
154
|
artifact?: {
|
|
@@ -158,16 +157,16 @@ export declare const inspectMinecraftShape: {
|
|
|
158
157
|
} | {
|
|
159
158
|
type: "resolve-target";
|
|
160
159
|
target: {
|
|
161
|
-
kind: "version" | "
|
|
160
|
+
kind: "version" | "jar" | "coordinate";
|
|
162
161
|
value: string;
|
|
163
162
|
};
|
|
164
163
|
} | undefined;
|
|
165
164
|
}, {
|
|
166
165
|
kind: "class";
|
|
167
166
|
className: string;
|
|
168
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
169
167
|
projectPath?: string | undefined;
|
|
170
|
-
|
|
168
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
169
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
171
170
|
preferProjectVersion?: boolean | undefined;
|
|
172
171
|
strictVersion?: boolean | undefined;
|
|
173
172
|
artifact?: {
|
|
@@ -176,7 +175,7 @@ export declare const inspectMinecraftShape: {
|
|
|
176
175
|
} | {
|
|
177
176
|
type: "resolve-target";
|
|
178
177
|
target: {
|
|
179
|
-
kind: "version" | "
|
|
178
|
+
kind: "version" | "jar" | "coordinate";
|
|
180
179
|
value: string;
|
|
181
180
|
};
|
|
182
181
|
} | undefined;
|
|
@@ -198,22 +197,22 @@ export declare const inspectMinecraftShape: {
|
|
|
198
197
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
199
198
|
value: z.ZodString;
|
|
200
199
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
kind: "version" | "
|
|
200
|
+
kind: "version" | "jar" | "coordinate";
|
|
202
201
|
value: string;
|
|
203
202
|
}, {
|
|
204
|
-
kind: "version" | "
|
|
203
|
+
kind: "version" | "jar" | "coordinate";
|
|
205
204
|
value: string;
|
|
206
205
|
}>;
|
|
207
206
|
}, "strip", z.ZodTypeAny, {
|
|
208
207
|
type: "resolve-target";
|
|
209
208
|
target: {
|
|
210
|
-
kind: "version" | "
|
|
209
|
+
kind: "version" | "jar" | "coordinate";
|
|
211
210
|
value: string;
|
|
212
211
|
};
|
|
213
212
|
}, {
|
|
214
213
|
type: "resolve-target";
|
|
215
214
|
target: {
|
|
216
|
-
kind: "version" | "
|
|
215
|
+
kind: "version" | "jar" | "coordinate";
|
|
217
216
|
value: string;
|
|
218
217
|
};
|
|
219
218
|
}>]>>;
|
|
@@ -226,7 +225,7 @@ export declare const inspectMinecraftShape: {
|
|
|
226
225
|
} | {
|
|
227
226
|
type: "resolve-target";
|
|
228
227
|
target: {
|
|
229
|
-
kind: "version" | "
|
|
228
|
+
kind: "version" | "jar" | "coordinate";
|
|
230
229
|
value: string;
|
|
231
230
|
};
|
|
232
231
|
} | undefined;
|
|
@@ -239,7 +238,7 @@ export declare const inspectMinecraftShape: {
|
|
|
239
238
|
} | {
|
|
240
239
|
type: "resolve-target";
|
|
241
240
|
target: {
|
|
242
|
-
kind: "version" | "
|
|
241
|
+
kind: "version" | "jar" | "coordinate";
|
|
243
242
|
value: string;
|
|
244
243
|
};
|
|
245
244
|
} | undefined;
|
|
@@ -261,22 +260,22 @@ export declare const inspectMinecraftShape: {
|
|
|
261
260
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
262
261
|
value: z.ZodString;
|
|
263
262
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
kind: "version" | "
|
|
263
|
+
kind: "version" | "jar" | "coordinate";
|
|
265
264
|
value: string;
|
|
266
265
|
}, {
|
|
267
|
-
kind: "version" | "
|
|
266
|
+
kind: "version" | "jar" | "coordinate";
|
|
268
267
|
value: string;
|
|
269
268
|
}>;
|
|
270
269
|
}, "strip", z.ZodTypeAny, {
|
|
271
270
|
type: "resolve-target";
|
|
272
271
|
target: {
|
|
273
|
-
kind: "version" | "
|
|
272
|
+
kind: "version" | "jar" | "coordinate";
|
|
274
273
|
value: string;
|
|
275
274
|
};
|
|
276
275
|
}, {
|
|
277
276
|
type: "resolve-target";
|
|
278
277
|
target: {
|
|
279
|
-
kind: "version" | "
|
|
278
|
+
kind: "version" | "jar" | "coordinate";
|
|
280
279
|
value: string;
|
|
281
280
|
};
|
|
282
281
|
}>]>>;
|
|
@@ -301,7 +300,7 @@ export declare const inspectMinecraftShape: {
|
|
|
301
300
|
} | {
|
|
302
301
|
type: "resolve-target";
|
|
303
302
|
target: {
|
|
304
|
-
kind: "version" | "
|
|
303
|
+
kind: "version" | "jar" | "coordinate";
|
|
305
304
|
value: string;
|
|
306
305
|
};
|
|
307
306
|
} | undefined;
|
|
@@ -319,7 +318,7 @@ export declare const inspectMinecraftShape: {
|
|
|
319
318
|
} | {
|
|
320
319
|
type: "resolve-target";
|
|
321
320
|
target: {
|
|
322
|
-
kind: "version" | "
|
|
321
|
+
kind: "version" | "jar" | "coordinate";
|
|
323
322
|
value: string;
|
|
324
323
|
};
|
|
325
324
|
} | undefined;
|
|
@@ -349,22 +348,22 @@ export declare const inspectMinecraftShape: {
|
|
|
349
348
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
350
349
|
value: z.ZodString;
|
|
351
350
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
kind: "version" | "
|
|
351
|
+
kind: "version" | "jar" | "coordinate";
|
|
353
352
|
value: string;
|
|
354
353
|
}, {
|
|
355
|
-
kind: "version" | "
|
|
354
|
+
kind: "version" | "jar" | "coordinate";
|
|
356
355
|
value: string;
|
|
357
356
|
}>;
|
|
358
357
|
}, "strip", z.ZodTypeAny, {
|
|
359
358
|
type: "resolve-target";
|
|
360
359
|
target: {
|
|
361
|
-
kind: "version" | "
|
|
360
|
+
kind: "version" | "jar" | "coordinate";
|
|
362
361
|
value: string;
|
|
363
362
|
};
|
|
364
363
|
}, {
|
|
365
364
|
type: "resolve-target";
|
|
366
365
|
target: {
|
|
367
|
-
kind: "version" | "
|
|
366
|
+
kind: "version" | "jar" | "coordinate";
|
|
368
367
|
value: string;
|
|
369
368
|
};
|
|
370
369
|
}>]>>;
|
|
@@ -377,7 +376,7 @@ export declare const inspectMinecraftShape: {
|
|
|
377
376
|
} | {
|
|
378
377
|
type: "resolve-target";
|
|
379
378
|
target: {
|
|
380
|
-
kind: "version" | "
|
|
379
|
+
kind: "version" | "jar" | "coordinate";
|
|
381
380
|
value: string;
|
|
382
381
|
};
|
|
383
382
|
} | undefined;
|
|
@@ -390,7 +389,7 @@ export declare const inspectMinecraftShape: {
|
|
|
390
389
|
} | {
|
|
391
390
|
type: "resolve-target";
|
|
392
391
|
target: {
|
|
393
|
-
kind: "version" | "
|
|
392
|
+
kind: "version" | "jar" | "coordinate";
|
|
394
393
|
value: string;
|
|
395
394
|
};
|
|
396
395
|
} | undefined;
|
|
@@ -412,22 +411,22 @@ export declare const inspectMinecraftShape: {
|
|
|
412
411
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
413
412
|
value: z.ZodString;
|
|
414
413
|
}, "strip", z.ZodTypeAny, {
|
|
415
|
-
kind: "version" | "
|
|
414
|
+
kind: "version" | "jar" | "coordinate";
|
|
416
415
|
value: string;
|
|
417
416
|
}, {
|
|
418
|
-
kind: "version" | "
|
|
417
|
+
kind: "version" | "jar" | "coordinate";
|
|
419
418
|
value: string;
|
|
420
419
|
}>;
|
|
421
420
|
}, "strip", z.ZodTypeAny, {
|
|
422
421
|
type: "resolve-target";
|
|
423
422
|
target: {
|
|
424
|
-
kind: "version" | "
|
|
423
|
+
kind: "version" | "jar" | "coordinate";
|
|
425
424
|
value: string;
|
|
426
425
|
};
|
|
427
426
|
}, {
|
|
428
427
|
type: "resolve-target";
|
|
429
428
|
target: {
|
|
430
|
-
kind: "version" | "
|
|
429
|
+
kind: "version" | "jar" | "coordinate";
|
|
431
430
|
value: string;
|
|
432
431
|
};
|
|
433
432
|
}>]>>;
|
|
@@ -440,7 +439,7 @@ export declare const inspectMinecraftShape: {
|
|
|
440
439
|
} | {
|
|
441
440
|
type: "resolve-target";
|
|
442
441
|
target: {
|
|
443
|
-
kind: "version" | "
|
|
442
|
+
kind: "version" | "jar" | "coordinate";
|
|
444
443
|
value: string;
|
|
445
444
|
};
|
|
446
445
|
} | undefined;
|
|
@@ -453,7 +452,7 @@ export declare const inspectMinecraftShape: {
|
|
|
453
452
|
} | {
|
|
454
453
|
type: "resolve-target";
|
|
455
454
|
target: {
|
|
456
|
-
kind: "version" | "
|
|
455
|
+
kind: "version" | "jar" | "coordinate";
|
|
457
456
|
value: string;
|
|
458
457
|
};
|
|
459
458
|
} | undefined;
|
|
@@ -475,22 +474,22 @@ export declare const inspectMinecraftShape: {
|
|
|
475
474
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
476
475
|
value: z.ZodString;
|
|
477
476
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
kind: "version" | "
|
|
477
|
+
kind: "version" | "jar" | "coordinate";
|
|
479
478
|
value: string;
|
|
480
479
|
}, {
|
|
481
|
-
kind: "version" | "
|
|
480
|
+
kind: "version" | "jar" | "coordinate";
|
|
482
481
|
value: string;
|
|
483
482
|
}>;
|
|
484
483
|
}, "strip", z.ZodTypeAny, {
|
|
485
484
|
type: "resolve-target";
|
|
486
485
|
target: {
|
|
487
|
-
kind: "version" | "
|
|
486
|
+
kind: "version" | "jar" | "coordinate";
|
|
488
487
|
value: string;
|
|
489
488
|
};
|
|
490
489
|
}, {
|
|
491
490
|
type: "resolve-target";
|
|
492
491
|
target: {
|
|
493
|
-
kind: "version" | "
|
|
492
|
+
kind: "version" | "jar" | "coordinate";
|
|
494
493
|
value: string;
|
|
495
494
|
};
|
|
496
495
|
}>]>>;
|
|
@@ -515,7 +514,7 @@ export declare const inspectMinecraftShape: {
|
|
|
515
514
|
} | {
|
|
516
515
|
type: "resolve-target";
|
|
517
516
|
target: {
|
|
518
|
-
kind: "version" | "
|
|
517
|
+
kind: "version" | "jar" | "coordinate";
|
|
519
518
|
value: string;
|
|
520
519
|
};
|
|
521
520
|
} | undefined;
|
|
@@ -533,7 +532,7 @@ export declare const inspectMinecraftShape: {
|
|
|
533
532
|
} | {
|
|
534
533
|
type: "resolve-target";
|
|
535
534
|
target: {
|
|
536
|
-
kind: "version" | "
|
|
535
|
+
kind: "version" | "jar" | "coordinate";
|
|
537
536
|
value: string;
|
|
538
537
|
};
|
|
539
538
|
} | undefined;
|
|
@@ -542,8 +541,8 @@ export declare const inspectMinecraftShape: {
|
|
|
542
541
|
}, "strip", z.ZodTypeAny, {
|
|
543
542
|
kind: "workspace";
|
|
544
543
|
projectPath: string;
|
|
545
|
-
mapping?: "
|
|
546
|
-
scope?: "
|
|
544
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
545
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
547
546
|
preferProjectVersion?: boolean | undefined;
|
|
548
547
|
strictVersion?: boolean | undefined;
|
|
549
548
|
focus?: {
|
|
@@ -555,7 +554,7 @@ export declare const inspectMinecraftShape: {
|
|
|
555
554
|
} | {
|
|
556
555
|
type: "resolve-target";
|
|
557
556
|
target: {
|
|
558
|
-
kind: "version" | "
|
|
557
|
+
kind: "version" | "jar" | "coordinate";
|
|
559
558
|
value: string;
|
|
560
559
|
};
|
|
561
560
|
} | undefined;
|
|
@@ -568,7 +567,7 @@ export declare const inspectMinecraftShape: {
|
|
|
568
567
|
} | {
|
|
569
568
|
type: "resolve-target";
|
|
570
569
|
target: {
|
|
571
|
-
kind: "version" | "
|
|
570
|
+
kind: "version" | "jar" | "coordinate";
|
|
572
571
|
value: string;
|
|
573
572
|
};
|
|
574
573
|
} | undefined;
|
|
@@ -587,7 +586,7 @@ export declare const inspectMinecraftShape: {
|
|
|
587
586
|
} | {
|
|
588
587
|
type: "resolve-target";
|
|
589
588
|
target: {
|
|
590
|
-
kind: "version" | "
|
|
589
|
+
kind: "version" | "jar" | "coordinate";
|
|
591
590
|
value: string;
|
|
592
591
|
};
|
|
593
592
|
} | undefined;
|
|
@@ -595,8 +594,8 @@ export declare const inspectMinecraftShape: {
|
|
|
595
594
|
}, {
|
|
596
595
|
kind: "workspace";
|
|
597
596
|
projectPath: string;
|
|
598
|
-
mapping?: "
|
|
599
|
-
scope?: "
|
|
597
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
598
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
600
599
|
preferProjectVersion?: boolean | undefined;
|
|
601
600
|
strictVersion?: boolean | undefined;
|
|
602
601
|
focus?: {
|
|
@@ -608,7 +607,7 @@ export declare const inspectMinecraftShape: {
|
|
|
608
607
|
} | {
|
|
609
608
|
type: "resolve-target";
|
|
610
609
|
target: {
|
|
611
|
-
kind: "version" | "
|
|
610
|
+
kind: "version" | "jar" | "coordinate";
|
|
612
611
|
value: string;
|
|
613
612
|
};
|
|
614
613
|
} | undefined;
|
|
@@ -621,7 +620,7 @@ export declare const inspectMinecraftShape: {
|
|
|
621
620
|
} | {
|
|
622
621
|
type: "resolve-target";
|
|
623
622
|
target: {
|
|
624
|
-
kind: "version" | "
|
|
623
|
+
kind: "version" | "jar" | "coordinate";
|
|
625
624
|
value: string;
|
|
626
625
|
};
|
|
627
626
|
} | undefined;
|
|
@@ -639,7 +638,7 @@ export declare const inspectMinecraftShape: {
|
|
|
639
638
|
} | {
|
|
640
639
|
type: "resolve-target";
|
|
641
640
|
target: {
|
|
642
|
-
kind: "version" | "
|
|
641
|
+
kind: "version" | "jar" | "coordinate";
|
|
643
642
|
value: string;
|
|
644
643
|
};
|
|
645
644
|
} | undefined;
|
|
@@ -665,17 +664,17 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
665
664
|
}, "strip", z.ZodTypeAny, {
|
|
666
665
|
kind: "version";
|
|
667
666
|
version: string;
|
|
668
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
669
667
|
projectPath?: string | undefined;
|
|
670
|
-
|
|
668
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
669
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
671
670
|
preferProjectVersion?: boolean | undefined;
|
|
672
671
|
strictVersion?: boolean | undefined;
|
|
673
672
|
}, {
|
|
674
673
|
kind: "version";
|
|
675
674
|
version: string;
|
|
676
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
677
675
|
projectPath?: string | undefined;
|
|
678
|
-
|
|
676
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
677
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
679
678
|
preferProjectVersion?: boolean | undefined;
|
|
680
679
|
strictVersion?: boolean | undefined;
|
|
681
680
|
}>, z.ZodObject<{
|
|
@@ -695,22 +694,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
695
694
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
696
695
|
value: z.ZodString;
|
|
697
696
|
}, "strip", z.ZodTypeAny, {
|
|
698
|
-
kind: "version" | "
|
|
697
|
+
kind: "version" | "jar" | "coordinate";
|
|
699
698
|
value: string;
|
|
700
699
|
}, {
|
|
701
|
-
kind: "version" | "
|
|
700
|
+
kind: "version" | "jar" | "coordinate";
|
|
702
701
|
value: string;
|
|
703
702
|
}>;
|
|
704
703
|
}, "strip", z.ZodTypeAny, {
|
|
705
704
|
type: "resolve-target";
|
|
706
705
|
target: {
|
|
707
|
-
kind: "version" | "
|
|
706
|
+
kind: "version" | "jar" | "coordinate";
|
|
708
707
|
value: string;
|
|
709
708
|
};
|
|
710
709
|
}, {
|
|
711
710
|
type: "resolve-target";
|
|
712
711
|
target: {
|
|
713
|
-
kind: "version" | "
|
|
712
|
+
kind: "version" | "jar" | "coordinate";
|
|
714
713
|
value: string;
|
|
715
714
|
};
|
|
716
715
|
}>]>;
|
|
@@ -727,13 +726,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
727
726
|
} | {
|
|
728
727
|
type: "resolve-target";
|
|
729
728
|
target: {
|
|
730
|
-
kind: "version" | "
|
|
729
|
+
kind: "version" | "jar" | "coordinate";
|
|
731
730
|
value: string;
|
|
732
731
|
};
|
|
733
732
|
};
|
|
734
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
735
733
|
projectPath?: string | undefined;
|
|
736
|
-
|
|
734
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
735
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
737
736
|
preferProjectVersion?: boolean | undefined;
|
|
738
737
|
strictVersion?: boolean | undefined;
|
|
739
738
|
}, {
|
|
@@ -744,13 +743,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
744
743
|
} | {
|
|
745
744
|
type: "resolve-target";
|
|
746
745
|
target: {
|
|
747
|
-
kind: "version" | "
|
|
746
|
+
kind: "version" | "jar" | "coordinate";
|
|
748
747
|
value: string;
|
|
749
748
|
};
|
|
750
749
|
};
|
|
751
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
752
750
|
projectPath?: string | undefined;
|
|
753
|
-
|
|
751
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
752
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
754
753
|
preferProjectVersion?: boolean | undefined;
|
|
755
754
|
strictVersion?: boolean | undefined;
|
|
756
755
|
}>, z.ZodObject<{
|
|
@@ -771,22 +770,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
771
770
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
772
771
|
value: z.ZodString;
|
|
773
772
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
kind: "version" | "
|
|
773
|
+
kind: "version" | "jar" | "coordinate";
|
|
775
774
|
value: string;
|
|
776
775
|
}, {
|
|
777
|
-
kind: "version" | "
|
|
776
|
+
kind: "version" | "jar" | "coordinate";
|
|
778
777
|
value: string;
|
|
779
778
|
}>;
|
|
780
779
|
}, "strip", z.ZodTypeAny, {
|
|
781
780
|
type: "resolve-target";
|
|
782
781
|
target: {
|
|
783
|
-
kind: "version" | "
|
|
782
|
+
kind: "version" | "jar" | "coordinate";
|
|
784
783
|
value: string;
|
|
785
784
|
};
|
|
786
785
|
}, {
|
|
787
786
|
type: "resolve-target";
|
|
788
787
|
target: {
|
|
789
|
-
kind: "version" | "
|
|
788
|
+
kind: "version" | "jar" | "coordinate";
|
|
790
789
|
value: string;
|
|
791
790
|
};
|
|
792
791
|
}>]>>;
|
|
@@ -798,9 +797,9 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
798
797
|
}, "strip", z.ZodTypeAny, {
|
|
799
798
|
kind: "class";
|
|
800
799
|
className: string;
|
|
801
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
802
800
|
projectPath?: string | undefined;
|
|
803
|
-
|
|
801
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
802
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
804
803
|
preferProjectVersion?: boolean | undefined;
|
|
805
804
|
strictVersion?: boolean | undefined;
|
|
806
805
|
artifact?: {
|
|
@@ -809,16 +808,16 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
809
808
|
} | {
|
|
810
809
|
type: "resolve-target";
|
|
811
810
|
target: {
|
|
812
|
-
kind: "version" | "
|
|
811
|
+
kind: "version" | "jar" | "coordinate";
|
|
813
812
|
value: string;
|
|
814
813
|
};
|
|
815
814
|
} | undefined;
|
|
816
815
|
}, {
|
|
817
816
|
kind: "class";
|
|
818
817
|
className: string;
|
|
819
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
820
818
|
projectPath?: string | undefined;
|
|
821
|
-
|
|
819
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
820
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
822
821
|
preferProjectVersion?: boolean | undefined;
|
|
823
822
|
strictVersion?: boolean | undefined;
|
|
824
823
|
artifact?: {
|
|
@@ -827,7 +826,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
827
826
|
} | {
|
|
828
827
|
type: "resolve-target";
|
|
829
828
|
target: {
|
|
830
|
-
kind: "version" | "
|
|
829
|
+
kind: "version" | "jar" | "coordinate";
|
|
831
830
|
value: string;
|
|
832
831
|
};
|
|
833
832
|
} | undefined;
|
|
@@ -849,22 +848,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
849
848
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
850
849
|
value: z.ZodString;
|
|
851
850
|
}, "strip", z.ZodTypeAny, {
|
|
852
|
-
kind: "version" | "
|
|
851
|
+
kind: "version" | "jar" | "coordinate";
|
|
853
852
|
value: string;
|
|
854
853
|
}, {
|
|
855
|
-
kind: "version" | "
|
|
854
|
+
kind: "version" | "jar" | "coordinate";
|
|
856
855
|
value: string;
|
|
857
856
|
}>;
|
|
858
857
|
}, "strip", z.ZodTypeAny, {
|
|
859
858
|
type: "resolve-target";
|
|
860
859
|
target: {
|
|
861
|
-
kind: "version" | "
|
|
860
|
+
kind: "version" | "jar" | "coordinate";
|
|
862
861
|
value: string;
|
|
863
862
|
};
|
|
864
863
|
}, {
|
|
865
864
|
type: "resolve-target";
|
|
866
865
|
target: {
|
|
867
|
-
kind: "version" | "
|
|
866
|
+
kind: "version" | "jar" | "coordinate";
|
|
868
867
|
value: string;
|
|
869
868
|
};
|
|
870
869
|
}>]>>;
|
|
@@ -877,7 +876,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
877
876
|
} | {
|
|
878
877
|
type: "resolve-target";
|
|
879
878
|
target: {
|
|
880
|
-
kind: "version" | "
|
|
879
|
+
kind: "version" | "jar" | "coordinate";
|
|
881
880
|
value: string;
|
|
882
881
|
};
|
|
883
882
|
} | undefined;
|
|
@@ -890,7 +889,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
890
889
|
} | {
|
|
891
890
|
type: "resolve-target";
|
|
892
891
|
target: {
|
|
893
|
-
kind: "version" | "
|
|
892
|
+
kind: "version" | "jar" | "coordinate";
|
|
894
893
|
value: string;
|
|
895
894
|
};
|
|
896
895
|
} | undefined;
|
|
@@ -912,22 +911,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
912
911
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
913
912
|
value: z.ZodString;
|
|
914
913
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
kind: "version" | "
|
|
914
|
+
kind: "version" | "jar" | "coordinate";
|
|
916
915
|
value: string;
|
|
917
916
|
}, {
|
|
918
|
-
kind: "version" | "
|
|
917
|
+
kind: "version" | "jar" | "coordinate";
|
|
919
918
|
value: string;
|
|
920
919
|
}>;
|
|
921
920
|
}, "strip", z.ZodTypeAny, {
|
|
922
921
|
type: "resolve-target";
|
|
923
922
|
target: {
|
|
924
|
-
kind: "version" | "
|
|
923
|
+
kind: "version" | "jar" | "coordinate";
|
|
925
924
|
value: string;
|
|
926
925
|
};
|
|
927
926
|
}, {
|
|
928
927
|
type: "resolve-target";
|
|
929
928
|
target: {
|
|
930
|
-
kind: "version" | "
|
|
929
|
+
kind: "version" | "jar" | "coordinate";
|
|
931
930
|
value: string;
|
|
932
931
|
};
|
|
933
932
|
}>]>>;
|
|
@@ -952,7 +951,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
952
951
|
} | {
|
|
953
952
|
type: "resolve-target";
|
|
954
953
|
target: {
|
|
955
|
-
kind: "version" | "
|
|
954
|
+
kind: "version" | "jar" | "coordinate";
|
|
956
955
|
value: string;
|
|
957
956
|
};
|
|
958
957
|
} | undefined;
|
|
@@ -970,7 +969,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
970
969
|
} | {
|
|
971
970
|
type: "resolve-target";
|
|
972
971
|
target: {
|
|
973
|
-
kind: "version" | "
|
|
972
|
+
kind: "version" | "jar" | "coordinate";
|
|
974
973
|
value: string;
|
|
975
974
|
};
|
|
976
975
|
} | undefined;
|
|
@@ -1000,22 +999,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1000
999
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
1001
1000
|
value: z.ZodString;
|
|
1002
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1003
|
-
kind: "version" | "
|
|
1002
|
+
kind: "version" | "jar" | "coordinate";
|
|
1004
1003
|
value: string;
|
|
1005
1004
|
}, {
|
|
1006
|
-
kind: "version" | "
|
|
1005
|
+
kind: "version" | "jar" | "coordinate";
|
|
1007
1006
|
value: string;
|
|
1008
1007
|
}>;
|
|
1009
1008
|
}, "strip", z.ZodTypeAny, {
|
|
1010
1009
|
type: "resolve-target";
|
|
1011
1010
|
target: {
|
|
1012
|
-
kind: "version" | "
|
|
1011
|
+
kind: "version" | "jar" | "coordinate";
|
|
1013
1012
|
value: string;
|
|
1014
1013
|
};
|
|
1015
1014
|
}, {
|
|
1016
1015
|
type: "resolve-target";
|
|
1017
1016
|
target: {
|
|
1018
|
-
kind: "version" | "
|
|
1017
|
+
kind: "version" | "jar" | "coordinate";
|
|
1019
1018
|
value: string;
|
|
1020
1019
|
};
|
|
1021
1020
|
}>]>>;
|
|
@@ -1028,7 +1027,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1028
1027
|
} | {
|
|
1029
1028
|
type: "resolve-target";
|
|
1030
1029
|
target: {
|
|
1031
|
-
kind: "version" | "
|
|
1030
|
+
kind: "version" | "jar" | "coordinate";
|
|
1032
1031
|
value: string;
|
|
1033
1032
|
};
|
|
1034
1033
|
} | undefined;
|
|
@@ -1041,7 +1040,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1041
1040
|
} | {
|
|
1042
1041
|
type: "resolve-target";
|
|
1043
1042
|
target: {
|
|
1044
|
-
kind: "version" | "
|
|
1043
|
+
kind: "version" | "jar" | "coordinate";
|
|
1045
1044
|
value: string;
|
|
1046
1045
|
};
|
|
1047
1046
|
} | undefined;
|
|
@@ -1063,22 +1062,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
1062
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
1064
1063
|
value: z.ZodString;
|
|
1065
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1066
|
-
kind: "version" | "
|
|
1065
|
+
kind: "version" | "jar" | "coordinate";
|
|
1067
1066
|
value: string;
|
|
1068
1067
|
}, {
|
|
1069
|
-
kind: "version" | "
|
|
1068
|
+
kind: "version" | "jar" | "coordinate";
|
|
1070
1069
|
value: string;
|
|
1071
1070
|
}>;
|
|
1072
1071
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1072
|
type: "resolve-target";
|
|
1074
1073
|
target: {
|
|
1075
|
-
kind: "version" | "
|
|
1074
|
+
kind: "version" | "jar" | "coordinate";
|
|
1076
1075
|
value: string;
|
|
1077
1076
|
};
|
|
1078
1077
|
}, {
|
|
1079
1078
|
type: "resolve-target";
|
|
1080
1079
|
target: {
|
|
1081
|
-
kind: "version" | "
|
|
1080
|
+
kind: "version" | "jar" | "coordinate";
|
|
1082
1081
|
value: string;
|
|
1083
1082
|
};
|
|
1084
1083
|
}>]>>;
|
|
@@ -1091,7 +1090,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1091
1090
|
} | {
|
|
1092
1091
|
type: "resolve-target";
|
|
1093
1092
|
target: {
|
|
1094
|
-
kind: "version" | "
|
|
1093
|
+
kind: "version" | "jar" | "coordinate";
|
|
1095
1094
|
value: string;
|
|
1096
1095
|
};
|
|
1097
1096
|
} | undefined;
|
|
@@ -1104,7 +1103,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1104
1103
|
} | {
|
|
1105
1104
|
type: "resolve-target";
|
|
1106
1105
|
target: {
|
|
1107
|
-
kind: "version" | "
|
|
1106
|
+
kind: "version" | "jar" | "coordinate";
|
|
1108
1107
|
value: string;
|
|
1109
1108
|
};
|
|
1110
1109
|
} | undefined;
|
|
@@ -1126,22 +1125,22 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1126
1125
|
kind: z.ZodEnum<["version", "jar", "coordinate"]>;
|
|
1127
1126
|
value: z.ZodString;
|
|
1128
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1129
|
-
kind: "version" | "
|
|
1128
|
+
kind: "version" | "jar" | "coordinate";
|
|
1130
1129
|
value: string;
|
|
1131
1130
|
}, {
|
|
1132
|
-
kind: "version" | "
|
|
1131
|
+
kind: "version" | "jar" | "coordinate";
|
|
1133
1132
|
value: string;
|
|
1134
1133
|
}>;
|
|
1135
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1136
1135
|
type: "resolve-target";
|
|
1137
1136
|
target: {
|
|
1138
|
-
kind: "version" | "
|
|
1137
|
+
kind: "version" | "jar" | "coordinate";
|
|
1139
1138
|
value: string;
|
|
1140
1139
|
};
|
|
1141
1140
|
}, {
|
|
1142
1141
|
type: "resolve-target";
|
|
1143
1142
|
target: {
|
|
1144
|
-
kind: "version" | "
|
|
1143
|
+
kind: "version" | "jar" | "coordinate";
|
|
1145
1144
|
value: string;
|
|
1146
1145
|
};
|
|
1147
1146
|
}>]>>;
|
|
@@ -1166,7 +1165,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1166
1165
|
} | {
|
|
1167
1166
|
type: "resolve-target";
|
|
1168
1167
|
target: {
|
|
1169
|
-
kind: "version" | "
|
|
1168
|
+
kind: "version" | "jar" | "coordinate";
|
|
1170
1169
|
value: string;
|
|
1171
1170
|
};
|
|
1172
1171
|
} | undefined;
|
|
@@ -1184,7 +1183,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1184
1183
|
} | {
|
|
1185
1184
|
type: "resolve-target";
|
|
1186
1185
|
target: {
|
|
1187
|
-
kind: "version" | "
|
|
1186
|
+
kind: "version" | "jar" | "coordinate";
|
|
1188
1187
|
value: string;
|
|
1189
1188
|
};
|
|
1190
1189
|
} | undefined;
|
|
@@ -1193,8 +1192,8 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1193
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1193
|
kind: "workspace";
|
|
1195
1194
|
projectPath: string;
|
|
1196
|
-
mapping?: "
|
|
1197
|
-
scope?: "
|
|
1195
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1196
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1198
1197
|
preferProjectVersion?: boolean | undefined;
|
|
1199
1198
|
strictVersion?: boolean | undefined;
|
|
1200
1199
|
focus?: {
|
|
@@ -1206,7 +1205,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1206
1205
|
} | {
|
|
1207
1206
|
type: "resolve-target";
|
|
1208
1207
|
target: {
|
|
1209
|
-
kind: "version" | "
|
|
1208
|
+
kind: "version" | "jar" | "coordinate";
|
|
1210
1209
|
value: string;
|
|
1211
1210
|
};
|
|
1212
1211
|
} | undefined;
|
|
@@ -1219,7 +1218,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1219
1218
|
} | {
|
|
1220
1219
|
type: "resolve-target";
|
|
1221
1220
|
target: {
|
|
1222
|
-
kind: "version" | "
|
|
1221
|
+
kind: "version" | "jar" | "coordinate";
|
|
1223
1222
|
value: string;
|
|
1224
1223
|
};
|
|
1225
1224
|
} | undefined;
|
|
@@ -1238,7 +1237,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1238
1237
|
} | {
|
|
1239
1238
|
type: "resolve-target";
|
|
1240
1239
|
target: {
|
|
1241
|
-
kind: "version" | "
|
|
1240
|
+
kind: "version" | "jar" | "coordinate";
|
|
1242
1241
|
value: string;
|
|
1243
1242
|
};
|
|
1244
1243
|
} | undefined;
|
|
@@ -1246,8 +1245,8 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1246
1245
|
}, {
|
|
1247
1246
|
kind: "workspace";
|
|
1248
1247
|
projectPath: string;
|
|
1249
|
-
mapping?: "
|
|
1250
|
-
scope?: "
|
|
1248
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1249
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1251
1250
|
preferProjectVersion?: boolean | undefined;
|
|
1252
1251
|
strictVersion?: boolean | undefined;
|
|
1253
1252
|
focus?: {
|
|
@@ -1259,7 +1258,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1259
1258
|
} | {
|
|
1260
1259
|
type: "resolve-target";
|
|
1261
1260
|
target: {
|
|
1262
|
-
kind: "version" | "
|
|
1261
|
+
kind: "version" | "jar" | "coordinate";
|
|
1263
1262
|
value: string;
|
|
1264
1263
|
};
|
|
1265
1264
|
} | undefined;
|
|
@@ -1272,7 +1271,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1272
1271
|
} | {
|
|
1273
1272
|
type: "resolve-target";
|
|
1274
1273
|
target: {
|
|
1275
|
-
kind: "version" | "
|
|
1274
|
+
kind: "version" | "jar" | "coordinate";
|
|
1276
1275
|
value: string;
|
|
1277
1276
|
};
|
|
1278
1277
|
} | undefined;
|
|
@@ -1290,7 +1289,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1290
1289
|
} | {
|
|
1291
1290
|
type: "resolve-target";
|
|
1292
1291
|
target: {
|
|
1293
|
-
kind: "version" | "
|
|
1292
|
+
kind: "version" | "jar" | "coordinate";
|
|
1294
1293
|
value: string;
|
|
1295
1294
|
};
|
|
1296
1295
|
} | undefined;
|
|
@@ -1306,13 +1305,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1306
1305
|
includeSnapshots: boolean;
|
|
1307
1306
|
limit?: number | undefined;
|
|
1308
1307
|
cursor?: string | undefined;
|
|
1309
|
-
task?: "search" | "auto" | "file" | "versions" | "
|
|
1308
|
+
task?: "search" | "auto" | "file" | "versions" | "artifact" | "class-source" | "class-members" | "class-overview" | "list-files" | undefined;
|
|
1310
1309
|
subject?: {
|
|
1311
1310
|
kind: "version";
|
|
1312
1311
|
version: string;
|
|
1313
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1314
1312
|
projectPath?: string | undefined;
|
|
1315
|
-
|
|
1313
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1314
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1316
1315
|
preferProjectVersion?: boolean | undefined;
|
|
1317
1316
|
strictVersion?: boolean | undefined;
|
|
1318
1317
|
} | {
|
|
@@ -1323,21 +1322,21 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1323
1322
|
} | {
|
|
1324
1323
|
type: "resolve-target";
|
|
1325
1324
|
target: {
|
|
1326
|
-
kind: "version" | "
|
|
1325
|
+
kind: "version" | "jar" | "coordinate";
|
|
1327
1326
|
value: string;
|
|
1328
1327
|
};
|
|
1329
1328
|
};
|
|
1330
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1331
1329
|
projectPath?: string | undefined;
|
|
1332
|
-
|
|
1330
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1331
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1333
1332
|
preferProjectVersion?: boolean | undefined;
|
|
1334
1333
|
strictVersion?: boolean | undefined;
|
|
1335
1334
|
} | {
|
|
1336
1335
|
kind: "class";
|
|
1337
1336
|
className: string;
|
|
1338
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1339
1337
|
projectPath?: string | undefined;
|
|
1340
|
-
|
|
1338
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1339
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1341
1340
|
preferProjectVersion?: boolean | undefined;
|
|
1342
1341
|
strictVersion?: boolean | undefined;
|
|
1343
1342
|
artifact?: {
|
|
@@ -1346,7 +1345,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1346
1345
|
} | {
|
|
1347
1346
|
type: "resolve-target";
|
|
1348
1347
|
target: {
|
|
1349
|
-
kind: "version" | "
|
|
1348
|
+
kind: "version" | "jar" | "coordinate";
|
|
1350
1349
|
value: string;
|
|
1351
1350
|
};
|
|
1352
1351
|
} | undefined;
|
|
@@ -1359,7 +1358,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1359
1358
|
} | {
|
|
1360
1359
|
type: "resolve-target";
|
|
1361
1360
|
target: {
|
|
1362
|
-
kind: "version" | "
|
|
1361
|
+
kind: "version" | "jar" | "coordinate";
|
|
1363
1362
|
value: string;
|
|
1364
1363
|
};
|
|
1365
1364
|
} | undefined;
|
|
@@ -1378,15 +1377,15 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1378
1377
|
} | {
|
|
1379
1378
|
type: "resolve-target";
|
|
1380
1379
|
target: {
|
|
1381
|
-
kind: "version" | "
|
|
1380
|
+
kind: "version" | "jar" | "coordinate";
|
|
1382
1381
|
value: string;
|
|
1383
1382
|
};
|
|
1384
1383
|
} | undefined;
|
|
1385
1384
|
} | {
|
|
1386
1385
|
kind: "workspace";
|
|
1387
1386
|
projectPath: string;
|
|
1388
|
-
mapping?: "
|
|
1389
|
-
scope?: "
|
|
1387
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1388
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1390
1389
|
preferProjectVersion?: boolean | undefined;
|
|
1391
1390
|
strictVersion?: boolean | undefined;
|
|
1392
1391
|
focus?: {
|
|
@@ -1398,7 +1397,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1398
1397
|
} | {
|
|
1399
1398
|
type: "resolve-target";
|
|
1400
1399
|
target: {
|
|
1401
|
-
kind: "version" | "
|
|
1400
|
+
kind: "version" | "jar" | "coordinate";
|
|
1402
1401
|
value: string;
|
|
1403
1402
|
};
|
|
1404
1403
|
} | undefined;
|
|
@@ -1411,7 +1410,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1411
1410
|
} | {
|
|
1412
1411
|
type: "resolve-target";
|
|
1413
1412
|
target: {
|
|
1414
|
-
kind: "version" | "
|
|
1413
|
+
kind: "version" | "jar" | "coordinate";
|
|
1415
1414
|
value: string;
|
|
1416
1415
|
};
|
|
1417
1416
|
} | undefined;
|
|
@@ -1430,7 +1429,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1430
1429
|
} | {
|
|
1431
1430
|
type: "resolve-target";
|
|
1432
1431
|
target: {
|
|
1433
|
-
kind: "version" | "
|
|
1432
|
+
kind: "version" | "jar" | "coordinate";
|
|
1434
1433
|
value: string;
|
|
1435
1434
|
};
|
|
1436
1435
|
} | undefined;
|
|
@@ -1442,13 +1441,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1442
1441
|
limit?: number | undefined;
|
|
1443
1442
|
cursor?: string | undefined;
|
|
1444
1443
|
includeSnapshots?: boolean | undefined;
|
|
1445
|
-
task?: "search" | "auto" | "file" | "versions" | "
|
|
1444
|
+
task?: "search" | "auto" | "file" | "versions" | "artifact" | "class-source" | "class-members" | "class-overview" | "list-files" | undefined;
|
|
1446
1445
|
subject?: {
|
|
1447
1446
|
kind: "version";
|
|
1448
1447
|
version: string;
|
|
1449
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1450
1448
|
projectPath?: string | undefined;
|
|
1451
|
-
|
|
1449
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1450
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1452
1451
|
preferProjectVersion?: boolean | undefined;
|
|
1453
1452
|
strictVersion?: boolean | undefined;
|
|
1454
1453
|
} | {
|
|
@@ -1459,21 +1458,21 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1459
1458
|
} | {
|
|
1460
1459
|
type: "resolve-target";
|
|
1461
1460
|
target: {
|
|
1462
|
-
kind: "version" | "
|
|
1461
|
+
kind: "version" | "jar" | "coordinate";
|
|
1463
1462
|
value: string;
|
|
1464
1463
|
};
|
|
1465
1464
|
};
|
|
1466
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1467
1465
|
projectPath?: string | undefined;
|
|
1468
|
-
|
|
1466
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1467
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1469
1468
|
preferProjectVersion?: boolean | undefined;
|
|
1470
1469
|
strictVersion?: boolean | undefined;
|
|
1471
1470
|
} | {
|
|
1472
1471
|
kind: "class";
|
|
1473
1472
|
className: string;
|
|
1474
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1475
1473
|
projectPath?: string | undefined;
|
|
1476
|
-
|
|
1474
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1475
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1477
1476
|
preferProjectVersion?: boolean | undefined;
|
|
1478
1477
|
strictVersion?: boolean | undefined;
|
|
1479
1478
|
artifact?: {
|
|
@@ -1482,7 +1481,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1482
1481
|
} | {
|
|
1483
1482
|
type: "resolve-target";
|
|
1484
1483
|
target: {
|
|
1485
|
-
kind: "version" | "
|
|
1484
|
+
kind: "version" | "jar" | "coordinate";
|
|
1486
1485
|
value: string;
|
|
1487
1486
|
};
|
|
1488
1487
|
} | undefined;
|
|
@@ -1495,7 +1494,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1495
1494
|
} | {
|
|
1496
1495
|
type: "resolve-target";
|
|
1497
1496
|
target: {
|
|
1498
|
-
kind: "version" | "
|
|
1497
|
+
kind: "version" | "jar" | "coordinate";
|
|
1499
1498
|
value: string;
|
|
1500
1499
|
};
|
|
1501
1500
|
} | undefined;
|
|
@@ -1513,7 +1512,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1513
1512
|
} | {
|
|
1514
1513
|
type: "resolve-target";
|
|
1515
1514
|
target: {
|
|
1516
|
-
kind: "version" | "
|
|
1515
|
+
kind: "version" | "jar" | "coordinate";
|
|
1517
1516
|
value: string;
|
|
1518
1517
|
};
|
|
1519
1518
|
} | undefined;
|
|
@@ -1521,8 +1520,8 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1521
1520
|
} | {
|
|
1522
1521
|
kind: "workspace";
|
|
1523
1522
|
projectPath: string;
|
|
1524
|
-
mapping?: "
|
|
1525
|
-
scope?: "
|
|
1523
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1524
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1526
1525
|
preferProjectVersion?: boolean | undefined;
|
|
1527
1526
|
strictVersion?: boolean | undefined;
|
|
1528
1527
|
focus?: {
|
|
@@ -1534,7 +1533,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1534
1533
|
} | {
|
|
1535
1534
|
type: "resolve-target";
|
|
1536
1535
|
target: {
|
|
1537
|
-
kind: "version" | "
|
|
1536
|
+
kind: "version" | "jar" | "coordinate";
|
|
1538
1537
|
value: string;
|
|
1539
1538
|
};
|
|
1540
1539
|
} | undefined;
|
|
@@ -1547,7 +1546,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1547
1546
|
} | {
|
|
1548
1547
|
type: "resolve-target";
|
|
1549
1548
|
target: {
|
|
1550
|
-
kind: "version" | "
|
|
1549
|
+
kind: "version" | "jar" | "coordinate";
|
|
1551
1550
|
value: string;
|
|
1552
1551
|
};
|
|
1553
1552
|
} | undefined;
|
|
@@ -1565,7 +1564,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1565
1564
|
} | {
|
|
1566
1565
|
type: "resolve-target";
|
|
1567
1566
|
target: {
|
|
1568
|
-
kind: "version" | "
|
|
1567
|
+
kind: "version" | "jar" | "coordinate";
|
|
1569
1568
|
value: string;
|
|
1570
1569
|
};
|
|
1571
1570
|
} | undefined;
|
|
@@ -1578,13 +1577,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1578
1577
|
includeSnapshots: boolean;
|
|
1579
1578
|
limit?: number | undefined;
|
|
1580
1579
|
cursor?: string | undefined;
|
|
1581
|
-
task?: "search" | "auto" | "file" | "versions" | "
|
|
1580
|
+
task?: "search" | "auto" | "file" | "versions" | "artifact" | "class-source" | "class-members" | "class-overview" | "list-files" | undefined;
|
|
1582
1581
|
subject?: {
|
|
1583
1582
|
kind: "version";
|
|
1584
1583
|
version: string;
|
|
1585
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1586
1584
|
projectPath?: string | undefined;
|
|
1587
|
-
|
|
1585
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1586
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1588
1587
|
preferProjectVersion?: boolean | undefined;
|
|
1589
1588
|
strictVersion?: boolean | undefined;
|
|
1590
1589
|
} | {
|
|
@@ -1595,21 +1594,21 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1595
1594
|
} | {
|
|
1596
1595
|
type: "resolve-target";
|
|
1597
1596
|
target: {
|
|
1598
|
-
kind: "version" | "
|
|
1597
|
+
kind: "version" | "jar" | "coordinate";
|
|
1599
1598
|
value: string;
|
|
1600
1599
|
};
|
|
1601
1600
|
};
|
|
1602
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1603
1601
|
projectPath?: string | undefined;
|
|
1604
|
-
|
|
1602
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1603
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1605
1604
|
preferProjectVersion?: boolean | undefined;
|
|
1606
1605
|
strictVersion?: boolean | undefined;
|
|
1607
1606
|
} | {
|
|
1608
1607
|
kind: "class";
|
|
1609
1608
|
className: string;
|
|
1610
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1611
1609
|
projectPath?: string | undefined;
|
|
1612
|
-
|
|
1610
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1611
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1613
1612
|
preferProjectVersion?: boolean | undefined;
|
|
1614
1613
|
strictVersion?: boolean | undefined;
|
|
1615
1614
|
artifact?: {
|
|
@@ -1618,7 +1617,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1618
1617
|
} | {
|
|
1619
1618
|
type: "resolve-target";
|
|
1620
1619
|
target: {
|
|
1621
|
-
kind: "version" | "
|
|
1620
|
+
kind: "version" | "jar" | "coordinate";
|
|
1622
1621
|
value: string;
|
|
1623
1622
|
};
|
|
1624
1623
|
} | undefined;
|
|
@@ -1631,7 +1630,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1631
1630
|
} | {
|
|
1632
1631
|
type: "resolve-target";
|
|
1633
1632
|
target: {
|
|
1634
|
-
kind: "version" | "
|
|
1633
|
+
kind: "version" | "jar" | "coordinate";
|
|
1635
1634
|
value: string;
|
|
1636
1635
|
};
|
|
1637
1636
|
} | undefined;
|
|
@@ -1650,15 +1649,15 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1650
1649
|
} | {
|
|
1651
1650
|
type: "resolve-target";
|
|
1652
1651
|
target: {
|
|
1653
|
-
kind: "version" | "
|
|
1652
|
+
kind: "version" | "jar" | "coordinate";
|
|
1654
1653
|
value: string;
|
|
1655
1654
|
};
|
|
1656
1655
|
} | undefined;
|
|
1657
1656
|
} | {
|
|
1658
1657
|
kind: "workspace";
|
|
1659
1658
|
projectPath: string;
|
|
1660
|
-
mapping?: "
|
|
1661
|
-
scope?: "
|
|
1659
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1660
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1662
1661
|
preferProjectVersion?: boolean | undefined;
|
|
1663
1662
|
strictVersion?: boolean | undefined;
|
|
1664
1663
|
focus?: {
|
|
@@ -1670,7 +1669,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1670
1669
|
} | {
|
|
1671
1670
|
type: "resolve-target";
|
|
1672
1671
|
target: {
|
|
1673
|
-
kind: "version" | "
|
|
1672
|
+
kind: "version" | "jar" | "coordinate";
|
|
1674
1673
|
value: string;
|
|
1675
1674
|
};
|
|
1676
1675
|
} | undefined;
|
|
@@ -1683,7 +1682,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1683
1682
|
} | {
|
|
1684
1683
|
type: "resolve-target";
|
|
1685
1684
|
target: {
|
|
1686
|
-
kind: "version" | "
|
|
1685
|
+
kind: "version" | "jar" | "coordinate";
|
|
1687
1686
|
value: string;
|
|
1688
1687
|
};
|
|
1689
1688
|
} | undefined;
|
|
@@ -1702,7 +1701,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1702
1701
|
} | {
|
|
1703
1702
|
type: "resolve-target";
|
|
1704
1703
|
target: {
|
|
1705
|
-
kind: "version" | "
|
|
1704
|
+
kind: "version" | "jar" | "coordinate";
|
|
1706
1705
|
value: string;
|
|
1707
1706
|
};
|
|
1708
1707
|
} | undefined;
|
|
@@ -1714,13 +1713,13 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1714
1713
|
limit?: number | undefined;
|
|
1715
1714
|
cursor?: string | undefined;
|
|
1716
1715
|
includeSnapshots?: boolean | undefined;
|
|
1717
|
-
task?: "search" | "auto" | "file" | "versions" | "
|
|
1716
|
+
task?: "search" | "auto" | "file" | "versions" | "artifact" | "class-source" | "class-members" | "class-overview" | "list-files" | undefined;
|
|
1718
1717
|
subject?: {
|
|
1719
1718
|
kind: "version";
|
|
1720
1719
|
version: string;
|
|
1721
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1722
1720
|
projectPath?: string | undefined;
|
|
1723
|
-
|
|
1721
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1722
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1724
1723
|
preferProjectVersion?: boolean | undefined;
|
|
1725
1724
|
strictVersion?: boolean | undefined;
|
|
1726
1725
|
} | {
|
|
@@ -1731,21 +1730,21 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1731
1730
|
} | {
|
|
1732
1731
|
type: "resolve-target";
|
|
1733
1732
|
target: {
|
|
1734
|
-
kind: "version" | "
|
|
1733
|
+
kind: "version" | "jar" | "coordinate";
|
|
1735
1734
|
value: string;
|
|
1736
1735
|
};
|
|
1737
1736
|
};
|
|
1738
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1739
1737
|
projectPath?: string | undefined;
|
|
1740
|
-
|
|
1738
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1739
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1741
1740
|
preferProjectVersion?: boolean | undefined;
|
|
1742
1741
|
strictVersion?: boolean | undefined;
|
|
1743
1742
|
} | {
|
|
1744
1743
|
kind: "class";
|
|
1745
1744
|
className: string;
|
|
1746
|
-
mapping?: "intermediary" | "mojang" | "yarn" | "obfuscated" | undefined;
|
|
1747
1745
|
projectPath?: string | undefined;
|
|
1748
|
-
|
|
1746
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1747
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1749
1748
|
preferProjectVersion?: boolean | undefined;
|
|
1750
1749
|
strictVersion?: boolean | undefined;
|
|
1751
1750
|
artifact?: {
|
|
@@ -1754,7 +1753,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1754
1753
|
} | {
|
|
1755
1754
|
type: "resolve-target";
|
|
1756
1755
|
target: {
|
|
1757
|
-
kind: "version" | "
|
|
1756
|
+
kind: "version" | "jar" | "coordinate";
|
|
1758
1757
|
value: string;
|
|
1759
1758
|
};
|
|
1760
1759
|
} | undefined;
|
|
@@ -1767,7 +1766,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1767
1766
|
} | {
|
|
1768
1767
|
type: "resolve-target";
|
|
1769
1768
|
target: {
|
|
1770
|
-
kind: "version" | "
|
|
1769
|
+
kind: "version" | "jar" | "coordinate";
|
|
1771
1770
|
value: string;
|
|
1772
1771
|
};
|
|
1773
1772
|
} | undefined;
|
|
@@ -1785,7 +1784,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1785
1784
|
} | {
|
|
1786
1785
|
type: "resolve-target";
|
|
1787
1786
|
target: {
|
|
1788
|
-
kind: "version" | "
|
|
1787
|
+
kind: "version" | "jar" | "coordinate";
|
|
1789
1788
|
value: string;
|
|
1790
1789
|
};
|
|
1791
1790
|
} | undefined;
|
|
@@ -1793,8 +1792,8 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1793
1792
|
} | {
|
|
1794
1793
|
kind: "workspace";
|
|
1795
1794
|
projectPath: string;
|
|
1796
|
-
mapping?: "
|
|
1797
|
-
scope?: "
|
|
1795
|
+
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
1796
|
+
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
1798
1797
|
preferProjectVersion?: boolean | undefined;
|
|
1799
1798
|
strictVersion?: boolean | undefined;
|
|
1800
1799
|
focus?: {
|
|
@@ -1806,7 +1805,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1806
1805
|
} | {
|
|
1807
1806
|
type: "resolve-target";
|
|
1808
1807
|
target: {
|
|
1809
|
-
kind: "version" | "
|
|
1808
|
+
kind: "version" | "jar" | "coordinate";
|
|
1810
1809
|
value: string;
|
|
1811
1810
|
};
|
|
1812
1811
|
} | undefined;
|
|
@@ -1819,7 +1818,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1819
1818
|
} | {
|
|
1820
1819
|
type: "resolve-target";
|
|
1821
1820
|
target: {
|
|
1822
|
-
kind: "version" | "
|
|
1821
|
+
kind: "version" | "jar" | "coordinate";
|
|
1823
1822
|
value: string;
|
|
1824
1823
|
};
|
|
1825
1824
|
} | undefined;
|
|
@@ -1837,7 +1836,7 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1837
1836
|
} | {
|
|
1838
1837
|
type: "resolve-target";
|
|
1839
1838
|
target: {
|
|
1840
|
-
kind: "version" | "
|
|
1839
|
+
kind: "version" | "jar" | "coordinate";
|
|
1841
1840
|
value: string;
|
|
1842
1841
|
};
|
|
1843
1842
|
} | undefined;
|
|
@@ -1848,124 +1847,10 @@ export declare const inspectMinecraftSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1848
1847
|
include?: string[] | undefined;
|
|
1849
1848
|
}>;
|
|
1850
1849
|
export type InspectMinecraftInput = z.infer<typeof inspectMinecraftSchema>;
|
|
1851
|
-
type InspectMinecraftDeps = {
|
|
1852
|
-
listVersions: (input: {
|
|
1853
|
-
includeSnapshots?: boolean;
|
|
1854
|
-
limit?: number;
|
|
1855
|
-
}) => Promise<ListVersionsOutput>;
|
|
1856
|
-
resolveArtifact: (input: {
|
|
1857
|
-
target: {
|
|
1858
|
-
kind: "version" | "jar" | "coordinate";
|
|
1859
|
-
value: string;
|
|
1860
|
-
};
|
|
1861
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
|
|
1862
|
-
scope?: "vanilla" | "merged" | "loader";
|
|
1863
|
-
projectPath?: string;
|
|
1864
|
-
preferProjectVersion?: boolean;
|
|
1865
|
-
strictVersion?: boolean;
|
|
1866
|
-
}) => Promise<ResolveArtifactOutput>;
|
|
1867
|
-
findClass: (input: {
|
|
1868
|
-
className: string;
|
|
1869
|
-
artifactId: string;
|
|
1870
|
-
limit?: number;
|
|
1871
|
-
}) => Promise<FindClassOutput>;
|
|
1872
|
-
checkSymbolExists?: (input: {
|
|
1873
|
-
version: string;
|
|
1874
|
-
kind: "class" | "field" | "method";
|
|
1875
|
-
name: string;
|
|
1876
|
-
owner?: string;
|
|
1877
|
-
descriptor?: string;
|
|
1878
|
-
sourceMapping: "obfuscated" | "mojang" | "intermediary" | "yarn";
|
|
1879
|
-
sourcePriority?: "loom-first" | "maven-first";
|
|
1880
|
-
nameMode?: "fqcn" | "auto";
|
|
1881
|
-
signatureMode?: "exact" | "name-only";
|
|
1882
|
-
maxCandidates?: number;
|
|
1883
|
-
}) => Promise<CheckSymbolExistsOutput>;
|
|
1884
|
-
getClassSource: (input: {
|
|
1885
|
-
className: string;
|
|
1886
|
-
artifactId?: string;
|
|
1887
|
-
target?: {
|
|
1888
|
-
kind: "version" | "jar" | "coordinate";
|
|
1889
|
-
value: string;
|
|
1890
|
-
};
|
|
1891
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
|
|
1892
|
-
scope?: "vanilla" | "merged" | "loader";
|
|
1893
|
-
projectPath?: string;
|
|
1894
|
-
preferProjectVersion?: boolean;
|
|
1895
|
-
strictVersion?: boolean;
|
|
1896
|
-
mode?: "metadata" | "snippet" | "full";
|
|
1897
|
-
maxLines?: number;
|
|
1898
|
-
maxChars?: number;
|
|
1899
|
-
}) => Promise<GetClassSourceOutput>;
|
|
1900
|
-
getClassMembers: (input: {
|
|
1901
|
-
className: string;
|
|
1902
|
-
artifactId?: string;
|
|
1903
|
-
target?: {
|
|
1904
|
-
kind: "version" | "jar" | "coordinate";
|
|
1905
|
-
value: string;
|
|
1906
|
-
};
|
|
1907
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn";
|
|
1908
|
-
scope?: "vanilla" | "merged" | "loader";
|
|
1909
|
-
projectPath?: string;
|
|
1910
|
-
preferProjectVersion?: boolean;
|
|
1911
|
-
strictVersion?: boolean;
|
|
1912
|
-
maxMembers?: number;
|
|
1913
|
-
}) => Promise<GetClassMembersOutput>;
|
|
1914
|
-
searchClassSource: (input: {
|
|
1915
|
-
artifactId: string;
|
|
1916
|
-
query: string;
|
|
1917
|
-
intent?: "symbol" | "text" | "path";
|
|
1918
|
-
match?: "exact" | "prefix" | "contains" | "regex";
|
|
1919
|
-
scope?: {
|
|
1920
|
-
packagePrefix?: string;
|
|
1921
|
-
fileGlob?: string;
|
|
1922
|
-
symbolKind?: "class" | "interface" | "enum" | "record" | "method" | "field";
|
|
1923
|
-
};
|
|
1924
|
-
queryMode?: "auto" | "token" | "literal";
|
|
1925
|
-
limit?: number;
|
|
1926
|
-
cursor?: string;
|
|
1927
|
-
}) => Promise<SearchClassSourceOutput>;
|
|
1928
|
-
getArtifactFile: (input: {
|
|
1929
|
-
artifactId: string;
|
|
1930
|
-
filePath: string;
|
|
1931
|
-
maxBytes?: number;
|
|
1932
|
-
}) => Promise<GetArtifactFileOutput>;
|
|
1933
|
-
listArtifactFiles: (input: {
|
|
1934
|
-
artifactId: string;
|
|
1935
|
-
prefix?: string;
|
|
1936
|
-
limit?: number;
|
|
1937
|
-
cursor?: string;
|
|
1938
|
-
}) => Promise<ListArtifactFilesOutput>;
|
|
1939
|
-
detectProjectMinecraftVersion: (projectPath: string) => Promise<string | undefined>;
|
|
1940
|
-
};
|
|
1941
1850
|
export declare class InspectMinecraftService {
|
|
1942
1851
|
private readonly deps;
|
|
1943
1852
|
constructor(deps: InspectMinecraftDeps);
|
|
1944
1853
|
execute(input: InspectMinecraftInput): Promise<Record<string, unknown> & {
|
|
1945
1854
|
warnings?: string[];
|
|
1946
1855
|
}>;
|
|
1947
|
-
private requireWorkspaceClassFocus;
|
|
1948
|
-
private requireWorkspaceSearchFocus;
|
|
1949
|
-
private requireWorkspaceFileFocus;
|
|
1950
|
-
private buildClassSubject;
|
|
1951
|
-
private resolveClassArtifactReference;
|
|
1952
|
-
private resolveWorkspaceArtifactReference;
|
|
1953
|
-
private resolveTask;
|
|
1954
|
-
private summarizeRequestedSubject;
|
|
1955
|
-
private exampleVersionForSubject;
|
|
1956
|
-
private buildArtifactContextSuggestedCall;
|
|
1957
|
-
private taskForSubject;
|
|
1958
|
-
private invalidTaskSubjectError;
|
|
1959
|
-
private resolveBinaryBackedClass;
|
|
1960
|
-
private resolveArtifactReference;
|
|
1961
|
-
private resolveArtifactRef;
|
|
1962
|
-
private handleVersions;
|
|
1963
|
-
private handleArtifact;
|
|
1964
|
-
private handleClassOverview;
|
|
1965
|
-
private handleClassSource;
|
|
1966
|
-
private handleClassMembers;
|
|
1967
|
-
private handleSearch;
|
|
1968
|
-
private handleFile;
|
|
1969
|
-
private handleListFiles;
|
|
1970
1856
|
}
|
|
1971
|
-
export {};
|