hoi4-agent-tools 3.5.1 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +137 -116
  3. package/dist/hoi4_agent_tools/core/engine.js +7 -7
  4. package/dist/hoi4_agent_tools/core/file-glob.js +164 -0
  5. package/dist/hoi4_agent_tools/core/index-segments.js +4 -0
  6. package/dist/hoi4_agent_tools/core/job-operation-registration.js +31 -0
  7. package/dist/hoi4_agent_tools/core/job-worker-host.js +27 -11
  8. package/dist/hoi4_agent_tools/core/job-worker.js +8 -16
  9. package/dist/hoi4_agent_tools/core/persistent-analysis-cache.js +37 -6
  10. package/dist/hoi4_agent_tools/core/scanner.js +133 -47
  11. package/dist/hoi4_agent_tools/core/source/cache.js +4 -0
  12. package/dist/hoi4_agent_tools/gui/layout.js +237 -11
  13. package/dist/hoi4_agent_tools/gui/renderer.js +36 -3
  14. package/dist/hoi4_agent_tools/gui/scenario.js +18 -0
  15. package/dist/hoi4_agent_tools/gui/studio.js +73 -21
  16. package/dist/hoi4_agent_tools/map/service.js +2 -2
  17. package/dist/hoi4_agent_tools/mcp/server/instructions.js +1 -1
  18. package/dist/hoi4_agent_tools/mcp/tools/reference.js +10 -1
  19. package/dist/hoi4_agent_tools/reference/lines.js +12 -0
  20. package/dist/hoi4_agent_tools/reference/operations.js +45 -2
  21. package/dist/hoi4_agent_tools/reference/script-validation.js +277 -0
  22. package/dist/hoi4_agent_tools/reference/service.js +139 -67
  23. package/dist/hoi4_agent_tools/reference/source-lookup.js +91 -15
  24. package/dist/hoi4_agent_tools/reference/source-navigation.js +130 -0
  25. package/dist/hoi4_agent_tools/schemas/reference.js +55 -0
  26. package/dist/hoi4_agent_tools/schemas/script-validation.js +69 -0
  27. package/dist/hoi4_agent_tools/version.js +1 -1
  28. package/docs/README.md +34 -18
  29. package/docs/examples.md +75 -0
  30. package/docs/gui.md +23 -0
  31. package/docs/reference.md +43 -2
  32. package/docs/research/reference-benchmark.md +41 -0
  33. package/docs/setup.md +50 -26
  34. package/docs/tools.md +65 -0
  35. package/npm-shrinkwrap.json +7088 -0
  36. package/package.json +10 -7
  37. package/schemas/configuration.schema.json +1 -1
  38. package/schemas/continuous-focus-palette.schema.json +1 -1
  39. package/schemas/custom-weighted-pool.schema.json +1 -1
  40. package/schemas/decision-inspect-input.schema.json +1 -1
  41. package/schemas/event-feature-manifest.schema.json +1 -1
  42. package/schemas/focus-plan.schema.json +1 -1
  43. package/schemas/focus-planning-sidecar.schema.json +1 -1
  44. package/schemas/gui-animation-source.schema.json +1 -1
  45. package/schemas/gui-helper.schema.json +1 -1
  46. package/schemas/gui-scenario.schema.json +139 -89
  47. package/schemas/helper-expansion-request.schema.json +1 -1
  48. package/schemas/helper-expansion-summary.schema.json +1 -1
  49. package/schemas/impact-inspect-input.schema.json +1 -1
  50. package/schemas/map-operation.schema.json +1 -1
  51. package/schemas/mechanic-test-input.schema.json +1 -1
  52. package/schemas/operation-result.schema.json +1 -1
  53. package/schemas/package-check-input.schema.json +1 -1
  54. package/schemas/package-manifest.schema.json +1 -1
  55. package/schemas/probability-analysis-result.schema.json +1 -1
  56. package/schemas/probability-compare-input.schema.json +1 -1
  57. package/schemas/probability-evaluate-input.schema.json +1 -1
  58. package/schemas/probability-inspect-input.schema.json +1 -1
  59. package/schemas/probability-render-input.schema.json +1 -1
  60. package/schemas/probability-scenario-set.schema.json +1 -1
  61. package/schemas/probability-sequence-input.schema.json +1 -1
  62. package/schemas/probability-simulate-input.schema.json +1 -1
  63. package/schemas/probability-sweep-input.schema.json +1 -1
  64. package/schemas/reference-context-input.schema.json +1 -1
  65. package/schemas/reference-read-input.schema.json +9 -1
  66. package/schemas/reference-search-input.schema.json +1 -1
  67. package/schemas/scenario-suite.schema.json +1 -1
  68. package/schemas/scenario-test-input.schema.json +1 -1
  69. package/schemas/script-validate-input.schema.json +92 -0
  70. package/schemas/shared-scenario.schema.json +1 -1
  71. package/schemas/source-lookup-input.schema.json +68 -2
  72. package/server.json +3 -3
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
3
  "mcpName": "io.github.klimPaskov/hoi4-agent-tools",
4
- "version": "3.5.1",
5
- "description": "Analyze HOI4 events, decisions, impact, tech, AI, and MTTH; build focus trees, GUIs, and maps.",
4
+ "version": "3.7.0",
5
+ "description": "HOI4 modding tools for agents: local references, visual previews, focus trees, interfaces and maps.",
6
6
  "type": "module",
7
7
  "license": "Apache-2.0",
8
8
  "author": "HOI4 Agent Tools contributors",
@@ -40,6 +40,8 @@
40
40
  "dist/",
41
41
  "docs/README.md",
42
42
  "docs/setup.md",
43
+ "docs/examples.md",
44
+ "docs/tools.md",
43
45
  "docs/events.md",
44
46
  "docs/analysis.md",
45
47
  "docs/mechanics.md",
@@ -62,7 +64,8 @@
62
64
  "README.md",
63
65
  "CHANGELOG.md",
64
66
  "LICENSE",
65
- "SECURITY.md"
67
+ "SECURITY.md",
68
+ "npm-shrinkwrap.json"
66
69
  ],
67
70
  "bin": {
68
71
  "hoi4-agent-tools": "./dist/bin/stdio.js",
@@ -112,8 +115,8 @@
112
115
  "@modelcontextprotocol/sdk": "1.30.0",
113
116
  "@modelcontextprotocol/server": "2.0.0",
114
117
  "express": "5.2.1",
115
- "fast-glob": "3.3.3",
116
118
  "fontkit": "2.0.4",
119
+ "glob": "13.0.6",
117
120
  "iconv-lite": "0.7.3",
118
121
  "jose": "6.2.8",
119
122
  "sharp": "0.35.4",
@@ -141,12 +144,12 @@
141
144
  },
142
145
  "overrides": {
143
146
  "@hono/node-server": "2.1.0",
144
- "brace-expansion": "5.0.9",
145
- "fast-uri": "3.1.7",
147
+ "brace-expansion": "5.0.12",
148
+ "fast-uri": "3.1.8",
146
149
  "qs": "6.16.0",
147
150
  "hono": "4.13.8",
148
151
  "nanoid": "3.3.18",
149
- "ip-address": "10.4.0",
152
+ "ip-address": "10.7.3",
150
153
  "postcss": "8.5.26",
151
154
  "shell-quote": "1.10.0"
152
155
  },
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.5.1/schemas/configuration.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/configuration.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/v3.5.1/schemas/continuous-focus-palette.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/continuous-focus-palette.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/v3.5.1/schemas/custom-weighted-pool.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/custom-weighted-pool.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/v3.5.1/schemas/decision-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/decision-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/v3.5.1/schemas/event-feature-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/event-feature-manifest.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/v3.5.1/schemas/focus-plan.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/focus-plan.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/v3.5.1/schemas/focus-planning-sidecar.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/focus-planning-sidecar.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/v3.5.1/schemas/gui-animation-source.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/gui-animation-source.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/v3.5.1/schemas/gui-helper.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/gui-helper.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,88 +1,91 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.5.1/schemas/gui-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/gui-scenario.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "id": {
7
7
  "$ref": "#/$defs/__schema0"
8
8
  },
9
- "description": {
9
+ "tooltip": {
10
10
  "$ref": "#/$defs/__schema1"
11
11
  },
12
+ "description": {
13
+ "$ref": "#/$defs/__schema7"
14
+ },
12
15
  "date": {
13
- "$ref": "#/$defs/__schema2"
16
+ "$ref": "#/$defs/__schema8"
14
17
  },
15
18
  "controls": {
16
- "$ref": "#/$defs/__schema3"
19
+ "$ref": "#/$defs/__schema9"
17
20
  },
18
21
  "resolution": {
19
- "$ref": "#/$defs/__schema6"
22
+ "$ref": "#/$defs/__schema12"
20
23
  },
21
24
  "uiScale": {
22
- "$ref": "#/$defs/__schema9"
25
+ "$ref": "#/$defs/__schema15"
23
26
  },
24
27
  "state": {
25
- "$ref": "#/$defs/__schema11"
28
+ "$ref": "#/$defs/__schema17"
26
29
  },
27
30
  "language": {
28
- "$ref": "#/$defs/__schema13"
31
+ "$ref": "#/$defs/__schema19"
29
32
  },
30
33
  "animationTimeSeconds": {
31
- "$ref": "#/$defs/__schema14"
34
+ "$ref": "#/$defs/__schema20"
32
35
  },
33
36
  "visibleTimeSeconds": {
34
- "$ref": "#/$defs/__schema15"
37
+ "$ref": "#/$defs/__schema21"
35
38
  },
36
39
  "country": {
37
- "$ref": "#/$defs/__schema16"
40
+ "$ref": "#/$defs/__schema22"
38
41
  },
39
42
  "stateValues": {
40
- "$ref": "#/$defs/__schema18"
43
+ "$ref": "#/$defs/__schema24"
41
44
  },
42
45
  "scopes": {
43
- "$ref": "#/$defs/__schema19"
46
+ "$ref": "#/$defs/__schema25"
44
47
  },
45
48
  "conditionResults": {
46
- "$ref": "#/$defs/__schema22"
49
+ "$ref": "#/$defs/__schema28"
47
50
  },
48
51
  "variables": {
49
- "$ref": "#/$defs/__schema24"
52
+ "$ref": "#/$defs/__schema30"
50
53
  },
51
54
  "flags": {
52
- "$ref": "#/$defs/__schema25"
55
+ "$ref": "#/$defs/__schema31"
53
56
  },
54
57
  "lists": {
55
- "$ref": "#/$defs/__schema26"
58
+ "$ref": "#/$defs/__schema32"
56
59
  },
57
60
  "localisation": {
58
- "$ref": "#/$defs/__schema27"
61
+ "$ref": "#/$defs/__schema33"
59
62
  },
60
63
  "values": {
61
- "$ref": "#/$defs/__schema28"
64
+ "$ref": "#/$defs/__schema34"
62
65
  },
63
66
  "scriptedGui": {
64
- "$ref": "#/$defs/__schema29"
67
+ "$ref": "#/$defs/__schema35"
65
68
  },
66
69
  "visibility": {
67
- "$ref": "#/$defs/__schema30"
70
+ "$ref": "#/$defs/__schema36"
68
71
  },
69
72
  "elementStates": {
70
- "$ref": "#/$defs/__schema31"
73
+ "$ref": "#/$defs/__schema37"
71
74
  },
72
75
  "selectedFrames": {
73
- "$ref": "#/$defs/__schema32"
76
+ "$ref": "#/$defs/__schema38"
74
77
  },
75
78
  "scrollOffsets": {
76
- "$ref": "#/$defs/__schema33"
79
+ "$ref": "#/$defs/__schema39"
77
80
  },
78
81
  "guiCosts": {
79
- "$ref": "#/$defs/__schema34"
82
+ "$ref": "#/$defs/__schema40"
80
83
  },
81
84
  "scriptCosts": {
82
- "$ref": "#/$defs/__schema35"
85
+ "$ref": "#/$defs/__schema41"
83
86
  },
84
87
  "expectations": {
85
- "$ref": "#/$defs/__schema36"
88
+ "$ref": "#/$defs/__schema42"
86
89
  }
87
90
  },
88
91
  "required": [
@@ -97,31 +100,83 @@
97
100
  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
98
101
  },
99
102
  "__schema1": {
103
+ "type": "object",
104
+ "properties": {
105
+ "target": {
106
+ "$ref": "#/$defs/__schema2"
107
+ },
108
+ "x": {
109
+ "$ref": "#/$defs/__schema3"
110
+ },
111
+ "y": {
112
+ "$ref": "#/$defs/__schema4"
113
+ },
114
+ "width": {
115
+ "$ref": "#/$defs/__schema5"
116
+ },
117
+ "padding": {
118
+ "$ref": "#/$defs/__schema6"
119
+ }
120
+ },
121
+ "required": [
122
+ "target",
123
+ "x",
124
+ "y",
125
+ "width",
126
+ "padding"
127
+ ],
128
+ "additionalProperties": false
129
+ },
130
+ "__schema2": {
131
+ "type": "string",
132
+ "minLength": 1,
133
+ "maxLength": 256
134
+ },
135
+ "__schema3": {
136
+ "type": "number",
137
+ "minimum": 0
138
+ },
139
+ "__schema4": {
140
+ "type": "number",
141
+ "minimum": 0
142
+ },
143
+ "__schema5": {
144
+ "type": "number",
145
+ "exclusiveMinimum": 0,
146
+ "maximum": 16384
147
+ },
148
+ "__schema6": {
149
+ "type": "number",
150
+ "minimum": 0,
151
+ "maximum": 8192,
152
+ "description": "Caller-declared inset on each side, in viewport pixels; no native padding is inferred."
153
+ },
154
+ "__schema7": {
100
155
  "type": "string",
101
156
  "maxLength": 500
102
157
  },
103
- "__schema2": {
158
+ "__schema8": {
104
159
  "type": "string",
105
160
  "maxLength": 16
106
161
  },
107
- "__schema3": {
162
+ "__schema9": {
108
163
  "type": "object",
109
164
  "propertyNames": {
110
- "$ref": "#/$defs/__schema4"
165
+ "$ref": "#/$defs/__schema10"
111
166
  },
112
167
  "additionalProperties": {
113
- "$ref": "#/$defs/__schema5"
168
+ "$ref": "#/$defs/__schema11"
114
169
  }
115
170
  },
116
- "__schema4": {
171
+ "__schema10": {
117
172
  "type": "string",
118
173
  "pattern": "^[1-9][0-9]{0,8}$"
119
174
  },
120
- "__schema5": {
175
+ "__schema11": {
121
176
  "type": "string",
122
177
  "pattern": "^[A-Z0-9]{3}$"
123
178
  },
124
- "__schema6": {
179
+ "__schema12": {
125
180
  "default": {
126
181
  "width": 1920,
127
182
  "height": 1080
@@ -129,10 +184,10 @@
129
184
  "type": "object",
130
185
  "properties": {
131
186
  "width": {
132
- "$ref": "#/$defs/__schema7"
187
+ "$ref": "#/$defs/__schema13"
133
188
  },
134
189
  "height": {
135
- "$ref": "#/$defs/__schema8"
190
+ "$ref": "#/$defs/__schema14"
136
191
  }
137
192
  },
138
193
  "required": [
@@ -141,31 +196,31 @@
141
196
  ],
142
197
  "additionalProperties": false
143
198
  },
144
- "__schema7": {
199
+ "__schema13": {
145
200
  "type": "integer",
146
201
  "minimum": 320,
147
202
  "maximum": 16384
148
203
  },
149
- "__schema8": {
204
+ "__schema14": {
150
205
  "type": "integer",
151
206
  "minimum": 200,
152
207
  "maximum": 16384
153
208
  },
154
- "__schema9": {
209
+ "__schema15": {
155
210
  "default": 1,
156
211
  "description": "In-game UI scale. Use 1 for the normal 1920x1080 layout; this changes layout geometry and is not an output-image zoom.",
157
- "$ref": "#/$defs/__schema10"
212
+ "$ref": "#/$defs/__schema16"
158
213
  },
159
- "__schema10": {
214
+ "__schema16": {
160
215
  "type": "number",
161
216
  "minimum": 0.25,
162
217
  "maximum": 4
163
218
  },
164
- "__schema11": {
219
+ "__schema17": {
165
220
  "default": "normal",
166
- "$ref": "#/$defs/__schema12"
221
+ "$ref": "#/$defs/__schema18"
167
222
  },
168
- "__schema12": {
223
+ "__schema18": {
169
224
  "type": "string",
170
225
  "enum": [
171
226
  "normal",
@@ -184,26 +239,26 @@
184
239
  "missing-localisation"
185
240
  ]
186
241
  },
187
- "__schema13": {
242
+ "__schema19": {
188
243
  "default": "l_english",
189
244
  "type": "string",
190
245
  "pattern": "^l_[a-z_]+$"
191
246
  },
192
- "__schema14": {
247
+ "__schema20": {
193
248
  "default": 0,
194
249
  "type": "number",
195
250
  "minimum": 0,
196
251
  "maximum": 86400
197
252
  },
198
- "__schema15": {
253
+ "__schema21": {
199
254
  "type": "number",
200
255
  "minimum": 0,
201
256
  "maximum": 86400
202
257
  },
203
- "__schema16": {
204
- "$ref": "#/$defs/__schema17"
258
+ "__schema22": {
259
+ "$ref": "#/$defs/__schema23"
205
260
  },
206
- "__schema17": {
261
+ "__schema23": {
207
262
  "type": "object",
208
263
  "propertyNames": {
209
264
  "type": "string"
@@ -223,10 +278,10 @@
223
278
  ]
224
279
  }
225
280
  },
226
- "__schema18": {
227
- "$ref": "#/$defs/__schema17"
281
+ "__schema24": {
282
+ "$ref": "#/$defs/__schema23"
228
283
  },
229
- "__schema19": {
284
+ "__schema25": {
230
285
  "type": "object",
231
286
  "propertyNames": {
232
287
  "type": "string",
@@ -266,13 +321,13 @@
266
321
  "additionalProperties": {
267
322
  "anyOf": [
268
323
  {
269
- "$ref": "#/$defs/__schema20"
324
+ "$ref": "#/$defs/__schema26"
270
325
  },
271
326
  {
272
327
  "maxItems": 10000,
273
328
  "type": "array",
274
329
  "items": {
275
- "$ref": "#/$defs/__schema20"
330
+ "$ref": "#/$defs/__schema26"
276
331
  }
277
332
  }
278
333
  ]
@@ -282,7 +337,7 @@
282
337
  "maxItems": 10000,
283
338
  "type": "array",
284
339
  "items": {
285
- "$ref": "#/$defs/__schema21"
340
+ "$ref": "#/$defs/__schema27"
286
341
  }
287
342
  },
288
343
  "eventTargets": {
@@ -313,7 +368,7 @@
313
368
  "additionalProperties": false
314
369
  }
315
370
  },
316
- "__schema20": {
371
+ "__schema26": {
317
372
  "anyOf": [
318
373
  {
319
374
  "type": "string",
@@ -330,18 +385,18 @@
330
385
  }
331
386
  ]
332
387
  },
333
- "__schema21": {
388
+ "__schema27": {
334
389
  "type": "string",
335
390
  "maxLength": 256
336
391
  },
337
- "__schema22": {
392
+ "__schema28": {
338
393
  "maxItems": 10000,
339
394
  "type": "array",
340
395
  "items": {
341
- "$ref": "#/$defs/__schema23"
396
+ "$ref": "#/$defs/__schema29"
342
397
  }
343
398
  },
344
- "__schema23": {
399
+ "__schema29": {
345
400
  "type": "object",
346
401
  "properties": {
347
402
  "token": {
@@ -376,7 +431,7 @@
376
431
  ],
377
432
  "additionalProperties": false
378
433
  },
379
- "__schema24": {
434
+ "__schema30": {
380
435
  "default": {},
381
436
  "type": "object",
382
437
  "propertyNames": {
@@ -386,7 +441,7 @@
386
441
  "type": "number"
387
442
  }
388
443
  },
389
- "__schema25": {
444
+ "__schema31": {
390
445
  "default": {},
391
446
  "type": "object",
392
447
  "propertyNames": {
@@ -396,7 +451,7 @@
396
451
  "type": "boolean"
397
452
  }
398
453
  },
399
- "__schema26": {
454
+ "__schema32": {
400
455
  "default": {},
401
456
  "type": "object",
402
457
  "propertyNames": {
@@ -406,11 +461,11 @@
406
461
  "maxItems": 10000,
407
462
  "type": "array",
408
463
  "items": {
409
- "$ref": "#/$defs/__schema17"
464
+ "$ref": "#/$defs/__schema23"
410
465
  }
411
466
  }
412
467
  },
413
- "__schema27": {
468
+ "__schema33": {
414
469
  "default": {},
415
470
  "type": "object",
416
471
  "propertyNames": {
@@ -420,15 +475,15 @@
420
475
  "type": "string"
421
476
  }
422
477
  },
423
- "__schema28": {
478
+ "__schema34": {
424
479
  "default": {},
425
- "$ref": "#/$defs/__schema17"
480
+ "$ref": "#/$defs/__schema23"
426
481
  },
427
- "__schema29": {
482
+ "__schema35": {
428
483
  "default": {},
429
- "$ref": "#/$defs/__schema17"
484
+ "$ref": "#/$defs/__schema23"
430
485
  },
431
- "__schema30": {
486
+ "__schema36": {
432
487
  "default": {},
433
488
  "type": "object",
434
489
  "propertyNames": {
@@ -438,17 +493,17 @@
438
493
  "type": "boolean"
439
494
  }
440
495
  },
441
- "__schema31": {
496
+ "__schema37": {
442
497
  "default": {},
443
498
  "type": "object",
444
499
  "propertyNames": {
445
500
  "type": "string"
446
501
  },
447
502
  "additionalProperties": {
448
- "$ref": "#/$defs/__schema12"
503
+ "$ref": "#/$defs/__schema18"
449
504
  }
450
505
  },
451
- "__schema32": {
506
+ "__schema38": {
452
507
  "default": {},
453
508
  "type": "object",
454
509
  "propertyNames": {
@@ -460,7 +515,7 @@
460
515
  "maximum": 9007199254740991
461
516
  }
462
517
  },
463
- "__schema33": {
518
+ "__schema39": {
464
519
  "default": {},
465
520
  "type": "object",
466
521
  "propertyNames": {
@@ -471,7 +526,7 @@
471
526
  "minimum": 0
472
527
  }
473
528
  },
474
- "__schema34": {
529
+ "__schema40": {
475
530
  "default": {},
476
531
  "type": "object",
477
532
  "propertyNames": {
@@ -481,7 +536,7 @@
481
536
  "type": "number"
482
537
  }
483
538
  },
484
- "__schema35": {
539
+ "__schema41": {
485
540
  "default": {},
486
541
  "type": "object",
487
542
  "propertyNames": {
@@ -491,7 +546,7 @@
491
546
  "type": "number"
492
547
  }
493
548
  },
494
- "__schema36": {
549
+ "__schema42": {
495
550
  "default": {
496
551
  "visible": [],
497
552
  "hidden": [],
@@ -505,7 +560,7 @@
505
560
  "maxItems": 10000,
506
561
  "type": "array",
507
562
  "items": {
508
- "$ref": "#/$defs/__schema37"
563
+ "$ref": "#/$defs/__schema2"
509
564
  }
510
565
  },
511
566
  "hidden": {
@@ -513,36 +568,31 @@
513
568
  "maxItems": 10000,
514
569
  "type": "array",
515
570
  "items": {
516
- "$ref": "#/$defs/__schema37"
571
+ "$ref": "#/$defs/__schema2"
517
572
  }
518
573
  },
519
574
  "containedBy": {
520
575
  "default": {},
521
576
  "type": "object",
522
577
  "propertyNames": {
523
- "$ref": "#/$defs/__schema37"
578
+ "$ref": "#/$defs/__schema2"
524
579
  },
525
580
  "additionalProperties": {
526
- "$ref": "#/$defs/__schema37"
581
+ "$ref": "#/$defs/__schema2"
527
582
  }
528
583
  },
529
584
  "centeredOn": {
530
585
  "default": {},
531
586
  "type": "object",
532
587
  "propertyNames": {
533
- "$ref": "#/$defs/__schema37"
588
+ "$ref": "#/$defs/__schema2"
534
589
  },
535
590
  "additionalProperties": {
536
- "$ref": "#/$defs/__schema37"
591
+ "$ref": "#/$defs/__schema2"
537
592
  }
538
593
  }
539
594
  },
540
595
  "additionalProperties": false
541
- },
542
- "__schema37": {
543
- "type": "string",
544
- "minLength": 1,
545
- "maxLength": 256
546
596
  }
547
597
  }
548
598
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.5.1/schemas/helper-expansion-request.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.7.0/schemas/helper-expansion-request.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {