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.
Files changed (36) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/hoi4_agent_tools/core/artifacts.js +126 -4
  3. package/dist/hoi4_agent_tools/core/index.js +3 -1
  4. package/dist/hoi4_agent_tools/core/scanner.js +43 -2
  5. package/dist/hoi4_agent_tools/gui/assets.js +63 -14
  6. package/dist/hoi4_agent_tools/gui/inspection-artifact.js +85 -14
  7. package/dist/hoi4_agent_tools/gui/layout.js +234 -27
  8. package/dist/hoi4_agent_tools/gui/scenario.js +1 -0
  9. package/dist/hoi4_agent_tools/gui/source-graph.js +116 -7
  10. package/dist/hoi4_agent_tools/gui/studio.js +166 -34
  11. package/dist/hoi4_agent_tools/gui/validators.js +47 -27
  12. package/dist/hoi4_agent_tools/mcp/server/progress.js +3 -0
  13. package/dist/hoi4_agent_tools/version.js +1 -1
  14. package/docs/gui.md +11 -1
  15. package/package.json +1 -1
  16. package/schemas/configuration.schema.json +1 -1
  17. package/schemas/continuous-focus-palette.schema.json +1 -1
  18. package/schemas/custom-weighted-pool.schema.json +1 -1
  19. package/schemas/event-feature-manifest.schema.json +1 -1
  20. package/schemas/focus-plan.schema.json +1 -1
  21. package/schemas/focus-planning-sidecar.schema.json +1 -1
  22. package/schemas/gui-animation-source.schema.json +1 -1
  23. package/schemas/gui-helper.schema.json +1 -1
  24. package/schemas/gui-scenario.schema.json +29 -22
  25. package/schemas/map-operation.schema.json +1 -1
  26. package/schemas/operation-result.schema.json +1 -1
  27. package/schemas/probability-analysis-result.schema.json +1 -1
  28. package/schemas/probability-compare-input.schema.json +1 -1
  29. package/schemas/probability-evaluate-input.schema.json +1 -1
  30. package/schemas/probability-inspect-input.schema.json +1 -1
  31. package/schemas/probability-render-input.schema.json +1 -1
  32. package/schemas/probability-scenario-set.schema.json +1 -1
  33. package/schemas/probability-sequence-input.schema.json +1 -1
  34. package/schemas/probability-simulate-input.schema.json +1 -1
  35. package/schemas/probability-sweep-input.schema.json +1 -1
  36. package/server.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v2.8.1/schemas/gui-scenario.schema.json",
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
- "scriptedGui": {
48
+ "values": {
49
49
  "$ref": "#/$defs/__schema18"
50
50
  },
51
- "visibility": {
51
+ "scriptedGui": {
52
52
  "$ref": "#/$defs/__schema19"
53
53
  },
54
- "elementStates": {
54
+ "visibility": {
55
55
  "$ref": "#/$defs/__schema20"
56
56
  },
57
- "selectedFrames": {
57
+ "elementStates": {
58
58
  "$ref": "#/$defs/__schema21"
59
59
  },
60
- "scrollOffsets": {
60
+ "selectedFrames": {
61
61
  "$ref": "#/$defs/__schema22"
62
62
  },
63
- "guiCosts": {
63
+ "scrollOffsets": {
64
64
  "$ref": "#/$defs/__schema23"
65
65
  },
66
- "scriptCosts": {
66
+ "guiCosts": {
67
67
  "$ref": "#/$defs/__schema24"
68
68
  },
69
- "expectations": {
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
- "__schema20": {
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
- "__schema21": {
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
- "__schema22": {
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
- "__schema23": {
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
- "__schema24": {
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
- "__schema25": {
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/__schema26"
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/__schema26"
329
+ "$ref": "#/$defs/__schema27"
323
330
  }
324
331
  },
325
332
  "containedBy": {
326
333
  "default": {},
327
334
  "type": "object",
328
335
  "propertyNames": {
329
- "$ref": "#/$defs/__schema26"
336
+ "$ref": "#/$defs/__schema27"
330
337
  },
331
338
  "additionalProperties": {
332
- "$ref": "#/$defs/__schema26"
339
+ "$ref": "#/$defs/__schema27"
333
340
  }
334
341
  },
335
342
  "centeredOn": {
336
343
  "default": {},
337
344
  "type": "object",
338
345
  "propertyNames": {
339
- "$ref": "#/$defs/__schema26"
346
+ "$ref": "#/$defs/__schema27"
340
347
  },
341
348
  "additionalProperties": {
342
- "$ref": "#/$defs/__schema26"
349
+ "$ref": "#/$defs/__schema27"
343
350
  }
344
351
  }
345
352
  },
346
353
  "additionalProperties": false
347
354
  },
348
- "__schema26": {
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.1/schemas/map-operation.schema.json",
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.1/schemas/operation-result.schema.json",
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.1/schemas/probability-analysis-result.schema.json",
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.1/schemas/probability-compare-input.schema.json",
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.1/schemas/probability-evaluate-input.schema.json",
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.1/schemas/probability-inspect-input.schema.json",
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.1/schemas/probability-render-input.schema.json",
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.1/schemas/probability-scenario-set.schema.json",
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.1/schemas/probability-sequence-input.schema.json",
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.1/schemas/probability-simulate-input.schema.json",
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.1/schemas/probability-sweep-input.schema.json",
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.1",
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.1",
16
+ "version": "2.8.3",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  }