hoi4-agent-tools 2.8.1 → 2.8.3
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 +13 -0
- package/dist/hoi4_agent_tools/core/artifacts.js +126 -4
- package/dist/hoi4_agent_tools/core/index.js +3 -1
- package/dist/hoi4_agent_tools/core/scanner.js +43 -2
- package/dist/hoi4_agent_tools/gui/assets.js +63 -14
- package/dist/hoi4_agent_tools/gui/inspection-artifact.js +85 -14
- package/dist/hoi4_agent_tools/gui/layout.js +234 -27
- package/dist/hoi4_agent_tools/gui/scenario.js +1 -0
- package/dist/hoi4_agent_tools/gui/source-graph.js +116 -7
- package/dist/hoi4_agent_tools/gui/studio.js +166 -34
- package/dist/hoi4_agent_tools/gui/validators.js +47 -27
- package/dist/hoi4_agent_tools/mcp/server/progress.js +3 -0
- package/dist/hoi4_agent_tools/version.js +1 -1
- package/docs/gui.md +11 -1
- package/package.json +1 -1
- package/schemas/configuration.schema.json +1 -1
- package/schemas/continuous-focus-palette.schema.json +1 -1
- package/schemas/custom-weighted-pool.schema.json +1 -1
- package/schemas/event-feature-manifest.schema.json +1 -1
- package/schemas/focus-plan.schema.json +1 -1
- package/schemas/focus-planning-sidecar.schema.json +1 -1
- package/schemas/gui-animation-source.schema.json +1 -1
- package/schemas/gui-helper.schema.json +1 -1
- package/schemas/gui-scenario.schema.json +29 -22
- package/schemas/map-operation.schema.json +1 -1
- package/schemas/operation-result.schema.json +1 -1
- package/schemas/probability-analysis-result.schema.json +1 -1
- package/schemas/probability-compare-input.schema.json +1 -1
- package/schemas/probability-evaluate-input.schema.json +1 -1
- package/schemas/probability-inspect-input.schema.json +1 -1
- package/schemas/probability-render-input.schema.json +1 -1
- package/schemas/probability-scenario-set.schema.json +1 -1
- package/schemas/probability-sequence-input.schema.json +1 -1
- package/schemas/probability-simulate-input.schema.json +1 -1
- package/schemas/probability-sweep-input.schema.json +1 -1
- package/server.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/gui-scenario.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -45,29 +45,32 @@
|
|
|
45
45
|
"localisation": {
|
|
46
46
|
"$ref": "#/$defs/__schema17"
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"values": {
|
|
49
49
|
"$ref": "#/$defs/__schema18"
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"scriptedGui": {
|
|
52
52
|
"$ref": "#/$defs/__schema19"
|
|
53
53
|
},
|
|
54
|
-
"
|
|
54
|
+
"visibility": {
|
|
55
55
|
"$ref": "#/$defs/__schema20"
|
|
56
56
|
},
|
|
57
|
-
"
|
|
57
|
+
"elementStates": {
|
|
58
58
|
"$ref": "#/$defs/__schema21"
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"selectedFrames": {
|
|
61
61
|
"$ref": "#/$defs/__schema22"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"scrollOffsets": {
|
|
64
64
|
"$ref": "#/$defs/__schema23"
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"guiCosts": {
|
|
67
67
|
"$ref": "#/$defs/__schema24"
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"scriptCosts": {
|
|
70
70
|
"$ref": "#/$defs/__schema25"
|
|
71
|
+
},
|
|
72
|
+
"expectations": {
|
|
73
|
+
"$ref": "#/$defs/__schema26"
|
|
71
74
|
}
|
|
72
75
|
},
|
|
73
76
|
"required": [
|
|
@@ -235,6 +238,10 @@
|
|
|
235
238
|
"$ref": "#/$defs/__schema12"
|
|
236
239
|
},
|
|
237
240
|
"__schema19": {
|
|
241
|
+
"default": {},
|
|
242
|
+
"$ref": "#/$defs/__schema12"
|
|
243
|
+
},
|
|
244
|
+
"__schema20": {
|
|
238
245
|
"default": {},
|
|
239
246
|
"type": "object",
|
|
240
247
|
"propertyNames": {
|
|
@@ -244,7 +251,7 @@
|
|
|
244
251
|
"type": "boolean"
|
|
245
252
|
}
|
|
246
253
|
},
|
|
247
|
-
"
|
|
254
|
+
"__schema21": {
|
|
248
255
|
"default": {},
|
|
249
256
|
"type": "object",
|
|
250
257
|
"propertyNames": {
|
|
@@ -254,7 +261,7 @@
|
|
|
254
261
|
"$ref": "#/$defs/__schema7"
|
|
255
262
|
}
|
|
256
263
|
},
|
|
257
|
-
"
|
|
264
|
+
"__schema22": {
|
|
258
265
|
"default": {},
|
|
259
266
|
"type": "object",
|
|
260
267
|
"propertyNames": {
|
|
@@ -266,7 +273,7 @@
|
|
|
266
273
|
"maximum": 9007199254740991
|
|
267
274
|
}
|
|
268
275
|
},
|
|
269
|
-
"
|
|
276
|
+
"__schema23": {
|
|
270
277
|
"default": {},
|
|
271
278
|
"type": "object",
|
|
272
279
|
"propertyNames": {
|
|
@@ -277,7 +284,7 @@
|
|
|
277
284
|
"minimum": 0
|
|
278
285
|
}
|
|
279
286
|
},
|
|
280
|
-
"
|
|
287
|
+
"__schema24": {
|
|
281
288
|
"default": {},
|
|
282
289
|
"type": "object",
|
|
283
290
|
"propertyNames": {
|
|
@@ -287,7 +294,7 @@
|
|
|
287
294
|
"type": "number"
|
|
288
295
|
}
|
|
289
296
|
},
|
|
290
|
-
"
|
|
297
|
+
"__schema25": {
|
|
291
298
|
"default": {},
|
|
292
299
|
"type": "object",
|
|
293
300
|
"propertyNames": {
|
|
@@ -297,7 +304,7 @@
|
|
|
297
304
|
"type": "number"
|
|
298
305
|
}
|
|
299
306
|
},
|
|
300
|
-
"
|
|
307
|
+
"__schema26": {
|
|
301
308
|
"default": {
|
|
302
309
|
"visible": [],
|
|
303
310
|
"hidden": [],
|
|
@@ -311,7 +318,7 @@
|
|
|
311
318
|
"maxItems": 10000,
|
|
312
319
|
"type": "array",
|
|
313
320
|
"items": {
|
|
314
|
-
"$ref": "#/$defs/
|
|
321
|
+
"$ref": "#/$defs/__schema27"
|
|
315
322
|
}
|
|
316
323
|
},
|
|
317
324
|
"hidden": {
|
|
@@ -319,33 +326,33 @@
|
|
|
319
326
|
"maxItems": 10000,
|
|
320
327
|
"type": "array",
|
|
321
328
|
"items": {
|
|
322
|
-
"$ref": "#/$defs/
|
|
329
|
+
"$ref": "#/$defs/__schema27"
|
|
323
330
|
}
|
|
324
331
|
},
|
|
325
332
|
"containedBy": {
|
|
326
333
|
"default": {},
|
|
327
334
|
"type": "object",
|
|
328
335
|
"propertyNames": {
|
|
329
|
-
"$ref": "#/$defs/
|
|
336
|
+
"$ref": "#/$defs/__schema27"
|
|
330
337
|
},
|
|
331
338
|
"additionalProperties": {
|
|
332
|
-
"$ref": "#/$defs/
|
|
339
|
+
"$ref": "#/$defs/__schema27"
|
|
333
340
|
}
|
|
334
341
|
},
|
|
335
342
|
"centeredOn": {
|
|
336
343
|
"default": {},
|
|
337
344
|
"type": "object",
|
|
338
345
|
"propertyNames": {
|
|
339
|
-
"$ref": "#/$defs/
|
|
346
|
+
"$ref": "#/$defs/__schema27"
|
|
340
347
|
},
|
|
341
348
|
"additionalProperties": {
|
|
342
|
-
"$ref": "#/$defs/
|
|
349
|
+
"$ref": "#/$defs/__schema27"
|
|
343
350
|
}
|
|
344
351
|
}
|
|
345
352
|
},
|
|
346
353
|
"additionalProperties": false
|
|
347
354
|
},
|
|
348
|
-
"
|
|
355
|
+
"__schema27": {
|
|
349
356
|
"type": "string",
|
|
350
357
|
"minLength": 1,
|
|
351
358
|
"maxLength": 256
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/map-operation.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/operation-result.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-analysis-result.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-compare-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-evaluate-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-inspect-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-render-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-scenario-set.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-sequence-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-simulate-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.3/schemas/probability-sweep-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.klimPaskov/hoi4-agent-tools",
|
|
4
4
|
"title": "HOI4 Agent Tools",
|
|
5
5
|
"description": "Analyze HOI4 events, tech trees, AI weights, and MTTH; build focus trees, GUIs, and maps.",
|
|
6
|
-
"version": "2.8.
|
|
6
|
+
"version": "2.8.3",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/klimPaskov/hoi4-agent-tools",
|
|
9
9
|
"source": "github"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "hoi4-agent-tools",
|
|
16
|
-
"version": "2.8.
|
|
16
|
+
"version": "2.8.3",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|