@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.
- package/CHANGELOG.md +71 -0
- package/README.md +21 -5
- package/dist/cache-policy.d.ts +71 -0
- package/dist/cache-policy.js +83 -0
- package/dist/cache-registry.js +6 -6
- package/dist/cli.js +74 -3
- package/dist/compat-stdio-transport.d.ts +1 -1
- package/dist/compat-stdio-transport.js +13 -1
- package/dist/config.d.ts +3 -0
- package/dist/config.js +8 -2
- package/dist/decompiler/vineflower.d.ts +1 -0
- package/dist/decompiler/vineflower.js +8 -5
- package/dist/entry-tools/analyze-mod-service.d.ts +70 -136
- package/dist/entry-tools/analyze-symbol-service.d.ts +112 -150
- package/dist/entry-tools/compare-minecraft-service.d.ts +59 -145
- package/dist/entry-tools/entry-tool-schema.d.ts +38 -4
- package/dist/entry-tools/entry-tool-schema.js +4 -1
- package/dist/entry-tools/inspect-minecraft/internal.d.ts +235 -799
- package/dist/entry-tools/inspect-minecraft/internal.js +65 -28
- package/dist/entry-tools/inspect-minecraft-service.d.ts +372 -1736
- package/dist/entry-tools/inspect-minecraft-service.js +1 -1
- package/dist/entry-tools/manage-cache-service.d.ts +81 -91
- package/dist/entry-tools/validate-project/cases/project-summary.d.ts +7 -7
- package/dist/entry-tools/validate-project-service.d.ts +164 -592
- package/dist/entry-tools/verify-mixin-target-service.d.ts +3 -19
- package/dist/era-classifier.d.ts +161 -0
- package/dist/era-classifier.js +292 -0
- package/dist/error-mapping.js +9 -2
- package/dist/index.d.ts +42 -4
- package/dist/index.js +637 -475
- package/dist/java-process.d.ts +2 -0
- package/dist/java-process.js +22 -2
- package/dist/json-rpc-framing.d.ts +77 -1
- package/dist/json-rpc-framing.js +249 -13
- package/dist/mapping/loaders/tiny-loom-selection.d.ts +88 -0
- package/dist/mapping/loaders/tiny-loom-selection.js +223 -0
- package/dist/mapping/loaders/tiny-loom.js +45 -33
- package/dist/mapping/loaders/tiny-maven.js +6 -11
- package/dist/mapping/parsers/tiny.d.ts +57 -0
- package/dist/mapping/parsers/tiny.js +99 -22
- package/dist/mapping-service.d.ts +19 -0
- package/dist/mapping-service.js +93 -9
- package/dist/mcp-helpers.d.ts +19 -2
- package/dist/mcp-helpers.js +48 -6
- package/dist/minecraft-explorer-service.d.ts +1 -1
- package/dist/mixin/types.d.ts +8 -0
- package/dist/mod-analyzer.js +7 -7
- package/dist/mod-decompile-service.js +1 -0
- package/dist/nbt/java-nbt-codec.js +12 -2
- package/dist/nbt/json-patch.js +14 -3
- package/dist/nbt/pipeline.js +40 -3
- package/dist/nbt/typed-json.js +26 -1
- package/dist/registration-adapter.d.ts +32 -0
- package/dist/registration-adapter.js +52 -0
- package/dist/request-context.d.ts +7 -0
- package/dist/request-context.js +9 -0
- package/dist/resources.d.ts +1 -1
- package/dist/resources.js +25 -19
- package/dist/server-identity.d.ts +27 -0
- package/dist/server-identity.js +26 -0
- package/dist/source/access-validate.js +53 -0
- package/dist/source/artifact-resolver.d.ts +69 -1
- package/dist/source/artifact-resolver.js +215 -14
- package/dist/source/class-source.d.ts +22 -0
- package/dist/source/class-source.js +162 -29
- package/dist/source/did-you-mean.d.ts +12 -1
- package/dist/source/did-you-mean.js +6 -2
- package/dist/source/file-access.js +150 -46
- package/dist/source/indexer.js +1 -0
- package/dist/source/nested-jars.d.ts +19 -0
- package/dist/source/nested-jars.js +90 -21
- package/dist/source/shared-utils.d.ts +21 -0
- package/dist/source/shared-utils.js +23 -0
- package/dist/source-service.d.ts +12 -0
- package/dist/source-service.js +3 -0
- package/dist/stdio-supervisor.d.ts +357 -2
- package/dist/stdio-supervisor.js +1031 -80
- package/dist/storage/db.d.ts +2 -1
- package/dist/storage/db.js +15 -8
- package/dist/synthetic-decorator.d.ts +24 -0
- package/dist/synthetic-decorator.js +48 -0
- package/dist/tool-contract-manifest.js +1 -1
- package/dist/tool-guidance.d.ts +17 -1
- package/dist/tool-guidance.js +417 -13
- package/dist/tool-schema-registry.d.ts +2 -0
- package/dist/tool-schema-registry.js +4 -0
- package/dist/tool-schemas.d.ts +2214 -3915
- package/dist/tool-schemas.js +34 -7
- package/dist/types.d.ts +35 -0
- package/dist/v1-parity-schemas.d.ts +7 -0
- package/dist/v1-parity-schemas.js +5584 -0
- package/dist/version-diff-service.d.ts +33 -0
- package/dist/version-diff-service.js +148 -3
- package/dist/version-service.js +36 -14
- package/dist/warning-details.js +18 -1
- package/docs/README-ja.md +9 -3
- package/docs/tool-reference.md +267 -22
- package/package.json +12 -9
|
@@ -48,657 +48,229 @@ export type TaskStatusReport = {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
export declare const validateProjectShape: {
|
|
51
|
-
task: z.ZodEnum<
|
|
52
|
-
|
|
51
|
+
task: z.ZodEnum<{
|
|
52
|
+
"project-summary": "project-summary";
|
|
53
|
+
mixin: "mixin";
|
|
54
|
+
"access-widener": "access-widener";
|
|
55
|
+
"access-transformer": "access-transformer";
|
|
56
|
+
}>;
|
|
57
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
58
|
kind: z.ZodLiteral<"workspace">;
|
|
54
59
|
projectPath: z.ZodString;
|
|
55
60
|
gradleUserHome: z.ZodOptional<z.ZodString>;
|
|
56
|
-
discover: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}, {
|
|
63
|
-
kind: "workspace";
|
|
64
|
-
projectPath: string;
|
|
65
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
66
|
-
gradleUserHome?: string | undefined;
|
|
67
|
-
}>, z.ZodObject<{
|
|
61
|
+
discover: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
62
|
+
mixins: "mixins";
|
|
63
|
+
"access-wideners": "access-wideners";
|
|
64
|
+
"access-transformers": "access-transformers";
|
|
65
|
+
}>>>;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
67
|
kind: z.ZodLiteral<"mixin">;
|
|
69
|
-
input: z.ZodDiscriminatedUnion<
|
|
68
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
70
69
|
mode: z.ZodLiteral<"inline">;
|
|
71
70
|
source: z.ZodString;
|
|
72
|
-
},
|
|
73
|
-
source: string;
|
|
74
|
-
mode: "inline";
|
|
75
|
-
}, {
|
|
76
|
-
source: string;
|
|
77
|
-
mode: "inline";
|
|
78
|
-
}>, z.ZodObject<{
|
|
71
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
72
|
mode: z.ZodLiteral<"path">;
|
|
80
73
|
path: z.ZodString;
|
|
81
|
-
},
|
|
82
|
-
path: string;
|
|
83
|
-
mode: "path";
|
|
84
|
-
}, {
|
|
85
|
-
path: string;
|
|
86
|
-
mode: "path";
|
|
87
|
-
}>, z.ZodObject<{
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
75
|
mode: z.ZodLiteral<"paths">;
|
|
89
|
-
paths: z.ZodArray<z.ZodString
|
|
90
|
-
},
|
|
91
|
-
mode: "paths";
|
|
92
|
-
paths: string[];
|
|
93
|
-
}, {
|
|
94
|
-
mode: "paths";
|
|
95
|
-
paths: string[];
|
|
96
|
-
}>, z.ZodObject<{
|
|
76
|
+
paths: z.ZodArray<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
78
|
mode: z.ZodLiteral<"config">;
|
|
98
|
-
configPaths: z.ZodArray<z.ZodString
|
|
99
|
-
},
|
|
100
|
-
mode: "config";
|
|
101
|
-
configPaths: string[];
|
|
102
|
-
}, {
|
|
103
|
-
mode: "config";
|
|
104
|
-
configPaths: string[];
|
|
105
|
-
}>, z.ZodObject<{
|
|
79
|
+
configPaths: z.ZodArray<z.ZodString>;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
81
|
mode: z.ZodLiteral<"project">;
|
|
107
82
|
path: z.ZodString;
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
mode: "project";
|
|
111
|
-
}, {
|
|
112
|
-
path: string;
|
|
113
|
-
mode: "project";
|
|
114
|
-
}>]>;
|
|
115
|
-
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
kind: "mixin";
|
|
117
|
-
input: {
|
|
118
|
-
source: string;
|
|
119
|
-
mode: "inline";
|
|
120
|
-
} | {
|
|
121
|
-
path: string;
|
|
122
|
-
mode: "path";
|
|
123
|
-
} | {
|
|
124
|
-
mode: "paths";
|
|
125
|
-
paths: string[];
|
|
126
|
-
} | {
|
|
127
|
-
mode: "config";
|
|
128
|
-
configPaths: string[];
|
|
129
|
-
} | {
|
|
130
|
-
path: string;
|
|
131
|
-
mode: "project";
|
|
132
|
-
};
|
|
133
|
-
}, {
|
|
134
|
-
kind: "mixin";
|
|
135
|
-
input: {
|
|
136
|
-
source: string;
|
|
137
|
-
mode: "inline";
|
|
138
|
-
} | {
|
|
139
|
-
path: string;
|
|
140
|
-
mode: "path";
|
|
141
|
-
} | {
|
|
142
|
-
mode: "paths";
|
|
143
|
-
paths: string[];
|
|
144
|
-
} | {
|
|
145
|
-
mode: "config";
|
|
146
|
-
configPaths: string[];
|
|
147
|
-
} | {
|
|
148
|
-
path: string;
|
|
149
|
-
mode: "project";
|
|
150
|
-
};
|
|
151
|
-
}>, z.ZodObject<{
|
|
83
|
+
}, z.core.$strip>], "mode">;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
152
85
|
kind: z.ZodLiteral<"access-widener">;
|
|
153
|
-
input: z.ZodDiscriminatedUnion<
|
|
86
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
154
87
|
mode: z.ZodLiteral<"inline">;
|
|
155
88
|
content: z.ZodString;
|
|
156
|
-
},
|
|
157
|
-
content: string;
|
|
158
|
-
mode: "inline";
|
|
159
|
-
}, {
|
|
160
|
-
content: string;
|
|
161
|
-
mode: "inline";
|
|
162
|
-
}>, z.ZodObject<{
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
90
|
mode: z.ZodLiteral<"path">;
|
|
164
91
|
path: z.ZodString;
|
|
165
|
-
},
|
|
166
|
-
|
|
167
|
-
mode: "path";
|
|
168
|
-
}, {
|
|
169
|
-
path: string;
|
|
170
|
-
mode: "path";
|
|
171
|
-
}>]>;
|
|
172
|
-
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
kind: "access-widener";
|
|
174
|
-
input: {
|
|
175
|
-
content: string;
|
|
176
|
-
mode: "inline";
|
|
177
|
-
} | {
|
|
178
|
-
path: string;
|
|
179
|
-
mode: "path";
|
|
180
|
-
};
|
|
181
|
-
}, {
|
|
182
|
-
kind: "access-widener";
|
|
183
|
-
input: {
|
|
184
|
-
content: string;
|
|
185
|
-
mode: "inline";
|
|
186
|
-
} | {
|
|
187
|
-
path: string;
|
|
188
|
-
mode: "path";
|
|
189
|
-
};
|
|
190
|
-
}>, z.ZodObject<{
|
|
92
|
+
}, z.core.$strip>], "mode">;
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
94
|
kind: z.ZodLiteral<"access-transformer">;
|
|
192
|
-
input: z.ZodDiscriminatedUnion<
|
|
95
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
193
96
|
mode: z.ZodLiteral<"inline">;
|
|
194
97
|
content: z.ZodString;
|
|
195
|
-
},
|
|
196
|
-
content: string;
|
|
197
|
-
mode: "inline";
|
|
198
|
-
}, {
|
|
199
|
-
content: string;
|
|
200
|
-
mode: "inline";
|
|
201
|
-
}>, z.ZodObject<{
|
|
98
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
99
|
mode: z.ZodLiteral<"path">;
|
|
203
100
|
path: z.ZodString;
|
|
204
|
-
},
|
|
205
|
-
|
|
206
|
-
mode: "path";
|
|
207
|
-
}, {
|
|
208
|
-
path: string;
|
|
209
|
-
mode: "path";
|
|
210
|
-
}>]>;
|
|
211
|
-
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
kind: "access-transformer";
|
|
213
|
-
input: {
|
|
214
|
-
content: string;
|
|
215
|
-
mode: "inline";
|
|
216
|
-
} | {
|
|
217
|
-
path: string;
|
|
218
|
-
mode: "path";
|
|
219
|
-
};
|
|
220
|
-
}, {
|
|
221
|
-
kind: "access-transformer";
|
|
222
|
-
input: {
|
|
223
|
-
content: string;
|
|
224
|
-
mode: "inline";
|
|
225
|
-
} | {
|
|
226
|
-
path: string;
|
|
227
|
-
mode: "path";
|
|
228
|
-
};
|
|
229
|
-
}>]>;
|
|
101
|
+
}, z.core.$strip>], "mode">;
|
|
102
|
+
}, z.core.$strip>], "kind">;
|
|
230
103
|
version: z.ZodOptional<z.ZodString>;
|
|
231
|
-
mapping: z.ZodOptional<z.ZodEnum<
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
104
|
+
mapping: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
obfuscated: "obfuscated";
|
|
106
|
+
mojang: "mojang";
|
|
107
|
+
intermediary: "intermediary";
|
|
108
|
+
yarn: "yarn";
|
|
109
|
+
}>>;
|
|
110
|
+
atNamespace: z.ZodOptional<z.ZodEnum<{
|
|
111
|
+
obfuscated: "obfuscated";
|
|
112
|
+
mojang: "mojang";
|
|
113
|
+
srg: "srg";
|
|
114
|
+
}>>;
|
|
115
|
+
sourcePriority: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
"loom-first": "loom-first";
|
|
117
|
+
"maven-first": "maven-first";
|
|
118
|
+
}>>;
|
|
119
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
vanilla: "vanilla";
|
|
121
|
+
merged: "merged";
|
|
122
|
+
loader: "loader";
|
|
123
|
+
}>>;
|
|
235
124
|
preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
|
|
236
125
|
preferProjectMapping: z.ZodDefault<z.ZodBoolean>;
|
|
237
|
-
detail: z.ZodOptional<z.ZodEnum<
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
126
|
+
detail: z.ZodOptional<z.ZodEnum<{
|
|
127
|
+
summary: "summary";
|
|
128
|
+
standard: "standard";
|
|
129
|
+
full: "full";
|
|
130
|
+
}>>;
|
|
131
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
132
|
+
[x: string]: string;
|
|
133
|
+
}>>>;
|
|
134
|
+
sourceRoots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
+
configPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
136
|
+
minSeverity: z.ZodDefault<z.ZodEnum<{
|
|
137
|
+
all: "all";
|
|
138
|
+
error: "error";
|
|
139
|
+
warning: "warning";
|
|
140
|
+
}>>;
|
|
242
141
|
hideUncertain: z.ZodDefault<z.ZodBoolean>;
|
|
243
142
|
explain: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
-
warningMode: z.ZodOptional<z.ZodEnum<
|
|
245
|
-
|
|
143
|
+
warningMode: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
full: "full";
|
|
145
|
+
aggregated: "aggregated";
|
|
146
|
+
}>>;
|
|
147
|
+
warningCategoryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
148
|
+
mapping: "mapping";
|
|
149
|
+
configuration: "configuration";
|
|
150
|
+
validation: "validation";
|
|
151
|
+
resolution: "resolution";
|
|
152
|
+
parse: "parse";
|
|
153
|
+
}>>>;
|
|
246
154
|
treatInfoAsWarning: z.ZodDefault<z.ZodBoolean>;
|
|
247
155
|
includeIssues: z.ZodDefault<z.ZodBoolean>;
|
|
248
|
-
reportMode: z.ZodDefault<z.ZodEnum<
|
|
156
|
+
reportMode: z.ZodDefault<z.ZodEnum<{
|
|
157
|
+
full: "full";
|
|
158
|
+
compact: "compact";
|
|
159
|
+
"summary-first": "summary-first";
|
|
160
|
+
}>>;
|
|
249
161
|
};
|
|
250
|
-
export declare const validateProjectSchema: z.
|
|
251
|
-
task: z.ZodEnum<
|
|
252
|
-
|
|
162
|
+
export declare const validateProjectSchema: z.ZodObject<{
|
|
163
|
+
task: z.ZodEnum<{
|
|
164
|
+
"project-summary": "project-summary";
|
|
165
|
+
mixin: "mixin";
|
|
166
|
+
"access-widener": "access-widener";
|
|
167
|
+
"access-transformer": "access-transformer";
|
|
168
|
+
}>;
|
|
169
|
+
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
170
|
kind: z.ZodLiteral<"workspace">;
|
|
254
171
|
projectPath: z.ZodString;
|
|
255
172
|
gradleUserHome: z.ZodOptional<z.ZodString>;
|
|
256
|
-
discover: z.ZodOptional<z.ZodArray<z.ZodEnum<
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}, {
|
|
263
|
-
kind: "workspace";
|
|
264
|
-
projectPath: string;
|
|
265
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
266
|
-
gradleUserHome?: string | undefined;
|
|
267
|
-
}>, z.ZodObject<{
|
|
173
|
+
discover: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
174
|
+
mixins: "mixins";
|
|
175
|
+
"access-wideners": "access-wideners";
|
|
176
|
+
"access-transformers": "access-transformers";
|
|
177
|
+
}>>>;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
179
|
kind: z.ZodLiteral<"mixin">;
|
|
269
|
-
input: z.ZodDiscriminatedUnion<
|
|
180
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
270
181
|
mode: z.ZodLiteral<"inline">;
|
|
271
182
|
source: z.ZodString;
|
|
272
|
-
},
|
|
273
|
-
source: string;
|
|
274
|
-
mode: "inline";
|
|
275
|
-
}, {
|
|
276
|
-
source: string;
|
|
277
|
-
mode: "inline";
|
|
278
|
-
}>, z.ZodObject<{
|
|
183
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
279
184
|
mode: z.ZodLiteral<"path">;
|
|
280
185
|
path: z.ZodString;
|
|
281
|
-
},
|
|
282
|
-
path: string;
|
|
283
|
-
mode: "path";
|
|
284
|
-
}, {
|
|
285
|
-
path: string;
|
|
286
|
-
mode: "path";
|
|
287
|
-
}>, z.ZodObject<{
|
|
186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
187
|
mode: z.ZodLiteral<"paths">;
|
|
289
|
-
paths: z.ZodArray<z.ZodString
|
|
290
|
-
},
|
|
291
|
-
mode: "paths";
|
|
292
|
-
paths: string[];
|
|
293
|
-
}, {
|
|
294
|
-
mode: "paths";
|
|
295
|
-
paths: string[];
|
|
296
|
-
}>, z.ZodObject<{
|
|
188
|
+
paths: z.ZodArray<z.ZodString>;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
297
190
|
mode: z.ZodLiteral<"config">;
|
|
298
|
-
configPaths: z.ZodArray<z.ZodString
|
|
299
|
-
},
|
|
300
|
-
mode: "config";
|
|
301
|
-
configPaths: string[];
|
|
302
|
-
}, {
|
|
303
|
-
mode: "config";
|
|
304
|
-
configPaths: string[];
|
|
305
|
-
}>, z.ZodObject<{
|
|
191
|
+
configPaths: z.ZodArray<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
306
193
|
mode: z.ZodLiteral<"project">;
|
|
307
194
|
path: z.ZodString;
|
|
308
|
-
},
|
|
309
|
-
|
|
310
|
-
mode: "project";
|
|
311
|
-
}, {
|
|
312
|
-
path: string;
|
|
313
|
-
mode: "project";
|
|
314
|
-
}>]>;
|
|
315
|
-
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
kind: "mixin";
|
|
317
|
-
input: {
|
|
318
|
-
source: string;
|
|
319
|
-
mode: "inline";
|
|
320
|
-
} | {
|
|
321
|
-
path: string;
|
|
322
|
-
mode: "path";
|
|
323
|
-
} | {
|
|
324
|
-
mode: "paths";
|
|
325
|
-
paths: string[];
|
|
326
|
-
} | {
|
|
327
|
-
mode: "config";
|
|
328
|
-
configPaths: string[];
|
|
329
|
-
} | {
|
|
330
|
-
path: string;
|
|
331
|
-
mode: "project";
|
|
332
|
-
};
|
|
333
|
-
}, {
|
|
334
|
-
kind: "mixin";
|
|
335
|
-
input: {
|
|
336
|
-
source: string;
|
|
337
|
-
mode: "inline";
|
|
338
|
-
} | {
|
|
339
|
-
path: string;
|
|
340
|
-
mode: "path";
|
|
341
|
-
} | {
|
|
342
|
-
mode: "paths";
|
|
343
|
-
paths: string[];
|
|
344
|
-
} | {
|
|
345
|
-
mode: "config";
|
|
346
|
-
configPaths: string[];
|
|
347
|
-
} | {
|
|
348
|
-
path: string;
|
|
349
|
-
mode: "project";
|
|
350
|
-
};
|
|
351
|
-
}>, z.ZodObject<{
|
|
195
|
+
}, z.core.$strip>], "mode">;
|
|
196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
352
197
|
kind: z.ZodLiteral<"access-widener">;
|
|
353
|
-
input: z.ZodDiscriminatedUnion<
|
|
198
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
354
199
|
mode: z.ZodLiteral<"inline">;
|
|
355
200
|
content: z.ZodString;
|
|
356
|
-
},
|
|
357
|
-
content: string;
|
|
358
|
-
mode: "inline";
|
|
359
|
-
}, {
|
|
360
|
-
content: string;
|
|
361
|
-
mode: "inline";
|
|
362
|
-
}>, z.ZodObject<{
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
202
|
mode: z.ZodLiteral<"path">;
|
|
364
203
|
path: z.ZodString;
|
|
365
|
-
},
|
|
366
|
-
|
|
367
|
-
mode: "path";
|
|
368
|
-
}, {
|
|
369
|
-
path: string;
|
|
370
|
-
mode: "path";
|
|
371
|
-
}>]>;
|
|
372
|
-
}, "strip", z.ZodTypeAny, {
|
|
373
|
-
kind: "access-widener";
|
|
374
|
-
input: {
|
|
375
|
-
content: string;
|
|
376
|
-
mode: "inline";
|
|
377
|
-
} | {
|
|
378
|
-
path: string;
|
|
379
|
-
mode: "path";
|
|
380
|
-
};
|
|
381
|
-
}, {
|
|
382
|
-
kind: "access-widener";
|
|
383
|
-
input: {
|
|
384
|
-
content: string;
|
|
385
|
-
mode: "inline";
|
|
386
|
-
} | {
|
|
387
|
-
path: string;
|
|
388
|
-
mode: "path";
|
|
389
|
-
};
|
|
390
|
-
}>, z.ZodObject<{
|
|
204
|
+
}, z.core.$strip>], "mode">;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
391
206
|
kind: z.ZodLiteral<"access-transformer">;
|
|
392
|
-
input: z.ZodDiscriminatedUnion<
|
|
207
|
+
input: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
393
208
|
mode: z.ZodLiteral<"inline">;
|
|
394
209
|
content: z.ZodString;
|
|
395
|
-
},
|
|
396
|
-
content: string;
|
|
397
|
-
mode: "inline";
|
|
398
|
-
}, {
|
|
399
|
-
content: string;
|
|
400
|
-
mode: "inline";
|
|
401
|
-
}>, z.ZodObject<{
|
|
210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
402
211
|
mode: z.ZodLiteral<"path">;
|
|
403
212
|
path: z.ZodString;
|
|
404
|
-
},
|
|
405
|
-
|
|
406
|
-
mode: "path";
|
|
407
|
-
}, {
|
|
408
|
-
path: string;
|
|
409
|
-
mode: "path";
|
|
410
|
-
}>]>;
|
|
411
|
-
}, "strip", z.ZodTypeAny, {
|
|
412
|
-
kind: "access-transformer";
|
|
413
|
-
input: {
|
|
414
|
-
content: string;
|
|
415
|
-
mode: "inline";
|
|
416
|
-
} | {
|
|
417
|
-
path: string;
|
|
418
|
-
mode: "path";
|
|
419
|
-
};
|
|
420
|
-
}, {
|
|
421
|
-
kind: "access-transformer";
|
|
422
|
-
input: {
|
|
423
|
-
content: string;
|
|
424
|
-
mode: "inline";
|
|
425
|
-
} | {
|
|
426
|
-
path: string;
|
|
427
|
-
mode: "path";
|
|
428
|
-
};
|
|
429
|
-
}>]>;
|
|
213
|
+
}, z.core.$strip>], "mode">;
|
|
214
|
+
}, z.core.$strip>], "kind">;
|
|
430
215
|
version: z.ZodOptional<z.ZodString>;
|
|
431
|
-
mapping: z.ZodOptional<z.ZodEnum<
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
216
|
+
mapping: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
obfuscated: "obfuscated";
|
|
218
|
+
mojang: "mojang";
|
|
219
|
+
intermediary: "intermediary";
|
|
220
|
+
yarn: "yarn";
|
|
221
|
+
}>>;
|
|
222
|
+
atNamespace: z.ZodOptional<z.ZodEnum<{
|
|
223
|
+
obfuscated: "obfuscated";
|
|
224
|
+
mojang: "mojang";
|
|
225
|
+
srg: "srg";
|
|
226
|
+
}>>;
|
|
227
|
+
sourcePriority: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
"loom-first": "loom-first";
|
|
229
|
+
"maven-first": "maven-first";
|
|
230
|
+
}>>;
|
|
231
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
vanilla: "vanilla";
|
|
233
|
+
merged: "merged";
|
|
234
|
+
loader: "loader";
|
|
235
|
+
}>>;
|
|
435
236
|
preferProjectVersion: z.ZodOptional<z.ZodBoolean>;
|
|
436
237
|
preferProjectMapping: z.ZodDefault<z.ZodBoolean>;
|
|
437
|
-
detail: z.ZodOptional<z.ZodEnum<
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
238
|
+
detail: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
summary: "summary";
|
|
240
|
+
standard: "standard";
|
|
241
|
+
full: "full";
|
|
242
|
+
}>>;
|
|
243
|
+
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
244
|
+
[x: string]: string;
|
|
245
|
+
}>>>;
|
|
246
|
+
sourceRoots: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
247
|
+
configPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
minSeverity: z.ZodDefault<z.ZodEnum<{
|
|
249
|
+
all: "all";
|
|
250
|
+
error: "error";
|
|
251
|
+
warning: "warning";
|
|
252
|
+
}>>;
|
|
442
253
|
hideUncertain: z.ZodDefault<z.ZodBoolean>;
|
|
443
254
|
explain: z.ZodDefault<z.ZodBoolean>;
|
|
444
|
-
warningMode: z.ZodOptional<z.ZodEnum<
|
|
445
|
-
|
|
255
|
+
warningMode: z.ZodOptional<z.ZodEnum<{
|
|
256
|
+
full: "full";
|
|
257
|
+
aggregated: "aggregated";
|
|
258
|
+
}>>;
|
|
259
|
+
warningCategoryFilter: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
260
|
+
mapping: "mapping";
|
|
261
|
+
configuration: "configuration";
|
|
262
|
+
validation: "validation";
|
|
263
|
+
resolution: "resolution";
|
|
264
|
+
parse: "parse";
|
|
265
|
+
}>>>;
|
|
446
266
|
treatInfoAsWarning: z.ZodDefault<z.ZodBoolean>;
|
|
447
267
|
includeIssues: z.ZodDefault<z.ZodBoolean>;
|
|
448
|
-
reportMode: z.ZodDefault<z.ZodEnum<
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
reportMode: "full" | "summary-first" | "compact";
|
|
455
|
-
treatInfoAsWarning: boolean;
|
|
456
|
-
includeIssues: boolean;
|
|
457
|
-
task: "project-summary" | "mixin" | "access-transformer" | "access-widener";
|
|
458
|
-
subject: {
|
|
459
|
-
kind: "workspace";
|
|
460
|
-
projectPath: string;
|
|
461
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
462
|
-
gradleUserHome?: string | undefined;
|
|
463
|
-
} | {
|
|
464
|
-
kind: "mixin";
|
|
465
|
-
input: {
|
|
466
|
-
source: string;
|
|
467
|
-
mode: "inline";
|
|
468
|
-
} | {
|
|
469
|
-
path: string;
|
|
470
|
-
mode: "path";
|
|
471
|
-
} | {
|
|
472
|
-
mode: "paths";
|
|
473
|
-
paths: string[];
|
|
474
|
-
} | {
|
|
475
|
-
mode: "config";
|
|
476
|
-
configPaths: string[];
|
|
477
|
-
} | {
|
|
478
|
-
path: string;
|
|
479
|
-
mode: "project";
|
|
480
|
-
};
|
|
481
|
-
} | {
|
|
482
|
-
kind: "access-widener";
|
|
483
|
-
input: {
|
|
484
|
-
content: string;
|
|
485
|
-
mode: "inline";
|
|
486
|
-
} | {
|
|
487
|
-
path: string;
|
|
488
|
-
mode: "path";
|
|
489
|
-
};
|
|
490
|
-
} | {
|
|
491
|
-
kind: "access-transformer";
|
|
492
|
-
input: {
|
|
493
|
-
content: string;
|
|
494
|
-
mode: "inline";
|
|
495
|
-
} | {
|
|
496
|
-
path: string;
|
|
497
|
-
mode: "path";
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
version?: string | undefined;
|
|
501
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
502
|
-
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
503
|
-
preferProjectVersion?: boolean | undefined;
|
|
504
|
-
sourcePriority?: "loom-first" | "maven-first" | undefined;
|
|
505
|
-
warningMode?: "full" | "aggregated" | undefined;
|
|
506
|
-
sourceRoots?: string[] | undefined;
|
|
507
|
-
warningCategoryFilter?: ("mapping" | "parse" | "validation" | "configuration" | "resolution")[] | undefined;
|
|
508
|
-
configPaths?: string[] | undefined;
|
|
509
|
-
detail?: "summary" | "standard" | "full" | undefined;
|
|
510
|
-
include?: string[] | undefined;
|
|
511
|
-
atNamespace?: "obfuscated" | "mojang" | "srg" | undefined;
|
|
512
|
-
}, {
|
|
513
|
-
task: "project-summary" | "mixin" | "access-transformer" | "access-widener";
|
|
514
|
-
subject: {
|
|
515
|
-
kind: "workspace";
|
|
516
|
-
projectPath: string;
|
|
517
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
518
|
-
gradleUserHome?: string | undefined;
|
|
519
|
-
} | {
|
|
520
|
-
kind: "mixin";
|
|
521
|
-
input: {
|
|
522
|
-
source: string;
|
|
523
|
-
mode: "inline";
|
|
524
|
-
} | {
|
|
525
|
-
path: string;
|
|
526
|
-
mode: "path";
|
|
527
|
-
} | {
|
|
528
|
-
mode: "paths";
|
|
529
|
-
paths: string[];
|
|
530
|
-
} | {
|
|
531
|
-
mode: "config";
|
|
532
|
-
configPaths: string[];
|
|
533
|
-
} | {
|
|
534
|
-
path: string;
|
|
535
|
-
mode: "project";
|
|
536
|
-
};
|
|
537
|
-
} | {
|
|
538
|
-
kind: "access-widener";
|
|
539
|
-
input: {
|
|
540
|
-
content: string;
|
|
541
|
-
mode: "inline";
|
|
542
|
-
} | {
|
|
543
|
-
path: string;
|
|
544
|
-
mode: "path";
|
|
545
|
-
};
|
|
546
|
-
} | {
|
|
547
|
-
kind: "access-transformer";
|
|
548
|
-
input: {
|
|
549
|
-
content: string;
|
|
550
|
-
mode: "inline";
|
|
551
|
-
} | {
|
|
552
|
-
path: string;
|
|
553
|
-
mode: "path";
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
version?: string | undefined;
|
|
557
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
558
|
-
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
559
|
-
preferProjectVersion?: boolean | undefined;
|
|
560
|
-
hideUncertain?: boolean | undefined;
|
|
561
|
-
explain?: boolean | undefined;
|
|
562
|
-
preferProjectMapping?: boolean | undefined;
|
|
563
|
-
minSeverity?: "all" | "error" | "warning" | undefined;
|
|
564
|
-
reportMode?: "full" | "summary-first" | "compact" | undefined;
|
|
565
|
-
treatInfoAsWarning?: boolean | undefined;
|
|
566
|
-
includeIssues?: boolean | undefined;
|
|
567
|
-
sourcePriority?: "loom-first" | "maven-first" | undefined;
|
|
568
|
-
warningMode?: "full" | "aggregated" | undefined;
|
|
569
|
-
sourceRoots?: string[] | undefined;
|
|
570
|
-
warningCategoryFilter?: ("mapping" | "parse" | "validation" | "configuration" | "resolution")[] | undefined;
|
|
571
|
-
configPaths?: string[] | undefined;
|
|
572
|
-
detail?: "summary" | "standard" | "full" | undefined;
|
|
573
|
-
include?: string[] | undefined;
|
|
574
|
-
atNamespace?: "obfuscated" | "mojang" | "srg" | undefined;
|
|
575
|
-
}>, {
|
|
576
|
-
hideUncertain: boolean;
|
|
577
|
-
explain: boolean;
|
|
578
|
-
preferProjectMapping: boolean;
|
|
579
|
-
minSeverity: "all" | "error" | "warning";
|
|
580
|
-
reportMode: "full" | "summary-first" | "compact";
|
|
581
|
-
treatInfoAsWarning: boolean;
|
|
582
|
-
includeIssues: boolean;
|
|
583
|
-
task: "project-summary" | "mixin" | "access-transformer" | "access-widener";
|
|
584
|
-
subject: {
|
|
585
|
-
kind: "workspace";
|
|
586
|
-
projectPath: string;
|
|
587
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
588
|
-
gradleUserHome?: string | undefined;
|
|
589
|
-
} | {
|
|
590
|
-
kind: "mixin";
|
|
591
|
-
input: {
|
|
592
|
-
source: string;
|
|
593
|
-
mode: "inline";
|
|
594
|
-
} | {
|
|
595
|
-
path: string;
|
|
596
|
-
mode: "path";
|
|
597
|
-
} | {
|
|
598
|
-
mode: "paths";
|
|
599
|
-
paths: string[];
|
|
600
|
-
} | {
|
|
601
|
-
mode: "config";
|
|
602
|
-
configPaths: string[];
|
|
603
|
-
} | {
|
|
604
|
-
path: string;
|
|
605
|
-
mode: "project";
|
|
606
|
-
};
|
|
607
|
-
} | {
|
|
608
|
-
kind: "access-widener";
|
|
609
|
-
input: {
|
|
610
|
-
content: string;
|
|
611
|
-
mode: "inline";
|
|
612
|
-
} | {
|
|
613
|
-
path: string;
|
|
614
|
-
mode: "path";
|
|
615
|
-
};
|
|
616
|
-
} | {
|
|
617
|
-
kind: "access-transformer";
|
|
618
|
-
input: {
|
|
619
|
-
content: string;
|
|
620
|
-
mode: "inline";
|
|
621
|
-
} | {
|
|
622
|
-
path: string;
|
|
623
|
-
mode: "path";
|
|
624
|
-
};
|
|
625
|
-
};
|
|
626
|
-
version?: string | undefined;
|
|
627
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
628
|
-
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
629
|
-
preferProjectVersion?: boolean | undefined;
|
|
630
|
-
sourcePriority?: "loom-first" | "maven-first" | undefined;
|
|
631
|
-
warningMode?: "full" | "aggregated" | undefined;
|
|
632
|
-
sourceRoots?: string[] | undefined;
|
|
633
|
-
warningCategoryFilter?: ("mapping" | "parse" | "validation" | "configuration" | "resolution")[] | undefined;
|
|
634
|
-
configPaths?: string[] | undefined;
|
|
635
|
-
detail?: "summary" | "standard" | "full" | undefined;
|
|
636
|
-
include?: string[] | undefined;
|
|
637
|
-
atNamespace?: "obfuscated" | "mojang" | "srg" | undefined;
|
|
638
|
-
}, {
|
|
639
|
-
task: "project-summary" | "mixin" | "access-transformer" | "access-widener";
|
|
640
|
-
subject: {
|
|
641
|
-
kind: "workspace";
|
|
642
|
-
projectPath: string;
|
|
643
|
-
discover?: ("mixins" | "access-wideners" | "access-transformers")[] | undefined;
|
|
644
|
-
gradleUserHome?: string | undefined;
|
|
645
|
-
} | {
|
|
646
|
-
kind: "mixin";
|
|
647
|
-
input: {
|
|
648
|
-
source: string;
|
|
649
|
-
mode: "inline";
|
|
650
|
-
} | {
|
|
651
|
-
path: string;
|
|
652
|
-
mode: "path";
|
|
653
|
-
} | {
|
|
654
|
-
mode: "paths";
|
|
655
|
-
paths: string[];
|
|
656
|
-
} | {
|
|
657
|
-
mode: "config";
|
|
658
|
-
configPaths: string[];
|
|
659
|
-
} | {
|
|
660
|
-
path: string;
|
|
661
|
-
mode: "project";
|
|
662
|
-
};
|
|
663
|
-
} | {
|
|
664
|
-
kind: "access-widener";
|
|
665
|
-
input: {
|
|
666
|
-
content: string;
|
|
667
|
-
mode: "inline";
|
|
668
|
-
} | {
|
|
669
|
-
path: string;
|
|
670
|
-
mode: "path";
|
|
671
|
-
};
|
|
672
|
-
} | {
|
|
673
|
-
kind: "access-transformer";
|
|
674
|
-
input: {
|
|
675
|
-
content: string;
|
|
676
|
-
mode: "inline";
|
|
677
|
-
} | {
|
|
678
|
-
path: string;
|
|
679
|
-
mode: "path";
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
version?: string | undefined;
|
|
683
|
-
mapping?: "obfuscated" | "mojang" | "intermediary" | "yarn" | undefined;
|
|
684
|
-
scope?: "vanilla" | "merged" | "loader" | undefined;
|
|
685
|
-
preferProjectVersion?: boolean | undefined;
|
|
686
|
-
hideUncertain?: boolean | undefined;
|
|
687
|
-
explain?: boolean | undefined;
|
|
688
|
-
preferProjectMapping?: boolean | undefined;
|
|
689
|
-
minSeverity?: "all" | "error" | "warning" | undefined;
|
|
690
|
-
reportMode?: "full" | "summary-first" | "compact" | undefined;
|
|
691
|
-
treatInfoAsWarning?: boolean | undefined;
|
|
692
|
-
includeIssues?: boolean | undefined;
|
|
693
|
-
sourcePriority?: "loom-first" | "maven-first" | undefined;
|
|
694
|
-
warningMode?: "full" | "aggregated" | undefined;
|
|
695
|
-
sourceRoots?: string[] | undefined;
|
|
696
|
-
warningCategoryFilter?: ("mapping" | "parse" | "validation" | "configuration" | "resolution")[] | undefined;
|
|
697
|
-
configPaths?: string[] | undefined;
|
|
698
|
-
detail?: "summary" | "standard" | "full" | undefined;
|
|
699
|
-
include?: string[] | undefined;
|
|
700
|
-
atNamespace?: "obfuscated" | "mojang" | "srg" | undefined;
|
|
701
|
-
}>;
|
|
268
|
+
reportMode: z.ZodDefault<z.ZodEnum<{
|
|
269
|
+
full: "full";
|
|
270
|
+
compact: "compact";
|
|
271
|
+
"summary-first": "summary-first";
|
|
272
|
+
}>>;
|
|
273
|
+
}, z.core.$strip>;
|
|
702
274
|
export type ValidateProjectInput = z.infer<typeof validateProjectSchema>;
|
|
703
275
|
export type ValidateProjectExecuteOptions = {
|
|
704
276
|
stageEmitter?: StageEmitter;
|