hoi4-agent-tools 4.3.0 → 4.5.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 (119) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/dist/hoi4_agent_tools/core/bounded-source.js +31 -9
  3. package/dist/hoi4_agent_tools/core/configuration.js +11 -0
  4. package/dist/hoi4_agent_tools/core/managed-outputs.js +26 -6
  5. package/dist/hoi4_agent_tools/core/operation-context.js +17 -1
  6. package/dist/hoi4_agent_tools/core/source/encoding.js +56 -2
  7. package/dist/hoi4_agent_tools/core/source/parser.js +16 -1
  8. package/dist/hoi4_agent_tools/core/temporary-directories.js +7 -2
  9. package/dist/hoi4_agent_tools/core/transaction-limits.js +18 -4
  10. package/dist/hoi4_agent_tools/core/transactions.js +23 -4
  11. package/dist/hoi4_agent_tools/core/workspace-json.js +54 -0
  12. package/dist/hoi4_agent_tools/core/workspace.js +42 -6
  13. package/dist/hoi4_agent_tools/focus/drift.js +34 -0
  14. package/dist/hoi4_agent_tools/focus/service.js +9 -3
  15. package/dist/hoi4_agent_tools/focus/tool-operations.js +2 -0
  16. package/dist/hoi4_agent_tools/map/appearance-validation.js +1110 -0
  17. package/dist/hoi4_agent_tools/map/bmp.js +9 -1
  18. package/dist/hoi4_agent_tools/map/border-quality-input.js +209 -0
  19. package/dist/hoi4_agent_tools/map/border-quality.js +1180 -0
  20. package/dist/hoi4_agent_tools/map/colormap.js +128 -0
  21. package/dist/hoi4_agent_tools/map/geography/geometry.js +284 -0
  22. package/dist/hoi4_agent_tools/map/geography/index.js +6 -0
  23. package/dist/hoi4_agent_tools/map/geography/model.js +196 -0
  24. package/dist/hoi4_agent_tools/map/geography/preparation.js +120 -0
  25. package/dist/hoi4_agent_tools/map/geography/preview.js +647 -0
  26. package/dist/hoi4_agent_tools/map/geography/raster.js +253 -0
  27. package/dist/hoi4_agent_tools/map/geography/resolve.js +1467 -0
  28. package/dist/hoi4_agent_tools/map/model.js +17 -3
  29. package/dist/hoi4_agent_tools/map/operations.js +284 -14
  30. package/dist/hoi4_agent_tools/map/partition-fields.js +398 -0
  31. package/dist/hoi4_agent_tools/map/partition-geography.js +113 -0
  32. package/dist/hoi4_agent_tools/map/partition-graph.js +165 -0
  33. package/dist/hoi4_agent_tools/map/partition-groups.js +164 -0
  34. package/dist/hoi4_agent_tools/map/partition-provinces.js +727 -0
  35. package/dist/hoi4_agent_tools/map/partition-tuning.js +101 -0
  36. package/dist/hoi4_agent_tools/map/partition-watershed.js +252 -0
  37. package/dist/hoi4_agent_tools/map/partition.js +163 -0
  38. package/dist/hoi4_agent_tools/map/reference-import.js +333 -0
  39. package/dist/hoi4_agent_tools/map/reference-preparation.js +142 -6
  40. package/dist/hoi4_agent_tools/map/reference-sheets.js +231 -0
  41. package/dist/hoi4_agent_tools/map/reference-world.js +104 -13
  42. package/dist/hoi4_agent_tools/map/relief/checks.js +281 -0
  43. package/dist/hoi4_agent_tools/map/relief/fields.js +15 -0
  44. package/dist/hoi4_agent_tools/map/relief/full-resolution.js +133 -0
  45. package/dist/hoi4_agent_tools/map/relief/grid.js +190 -0
  46. package/dist/hoi4_agent_tools/map/relief/hydrology.js +1315 -0
  47. package/dist/hoi4_agent_tools/map/relief/index.js +27 -0
  48. package/dist/hoi4_agent_tools/map/relief/land.js +110 -0
  49. package/dist/hoi4_agent_tools/map/relief/macro-relief.js +535 -0
  50. package/dist/hoi4_agent_tools/map/relief/math.js +93 -0
  51. package/dist/hoi4_agent_tools/map/relief/river-raster.js +680 -0
  52. package/dist/hoi4_agent_tools/map/relief/terrain-synthesis.js +304 -0
  53. package/dist/hoi4_agent_tools/map/render.js +36 -0
  54. package/dist/hoi4_agent_tools/map/service.js +206 -16
  55. package/dist/hoi4_agent_tools/map/tool-operations.js +249 -3
  56. package/dist/hoi4_agent_tools/map/validation.js +9 -0
  57. package/dist/hoi4_agent_tools/map/water.js +227 -0
  58. package/dist/hoi4_agent_tools/map/world-context.js +47 -1
  59. package/dist/hoi4_agent_tools/map/world-edge.js +335 -0
  60. package/dist/hoi4_agent_tools/map/world-noise.js +34 -0
  61. package/dist/hoi4_agent_tools/map/world-outputs.js +22 -10
  62. package/dist/hoi4_agent_tools/map/world-partition.js +119 -0
  63. package/dist/hoi4_agent_tools/map/world-provinces.js +131 -56
  64. package/dist/hoi4_agent_tools/map/world-realms.js +152 -0
  65. package/dist/hoi4_agent_tools/map/world.js +562 -163
  66. package/dist/hoi4_agent_tools/mcp/tools/map.js +69 -1
  67. package/dist/hoi4_agent_tools/reference/operations.js +3 -2
  68. package/dist/hoi4_agent_tools/schemas/geography.js +325 -0
  69. package/dist/hoi4_agent_tools/schemas/map-requests.js +20 -2
  70. package/dist/hoi4_agent_tools/schemas/map.js +280 -15
  71. package/dist/hoi4_agent_tools/schemas/reference-sheets.js +92 -0
  72. package/dist/hoi4_agent_tools/version.js +1 -1
  73. package/docs/configuration.md +17 -14
  74. package/docs/focus.md +6 -0
  75. package/docs/map.md +292 -15
  76. package/docs/tools.md +4 -4
  77. package/docs/troubleshooting.md +11 -11
  78. package/npm-shrinkwrap.json +109 -91
  79. package/package.json +3 -3
  80. package/schemas/configuration.schema.json +65 -58
  81. package/schemas/continuous-focus-palette.schema.json +1 -1
  82. package/schemas/custom-weighted-pool.schema.json +1 -1
  83. package/schemas/decision-inspect-input.schema.json +1 -1
  84. package/schemas/error-log-input.schema.json +1 -1
  85. package/schemas/event-feature-manifest.schema.json +1 -1
  86. package/schemas/focus-plan.schema.json +1 -1
  87. package/schemas/focus-planning-sidecar.schema.json +1 -1
  88. package/schemas/geography-model.schema.json +1148 -0
  89. package/schemas/gui-animation-source.schema.json +1 -1
  90. package/schemas/gui-helper.schema.json +5 -11
  91. package/schemas/gui-scenario.schema.json +1 -1
  92. package/schemas/helper-expansion-request.schema.json +1 -1
  93. package/schemas/helper-expansion-summary.schema.json +1 -1
  94. package/schemas/impact-inspect-input.schema.json +1 -1
  95. package/schemas/map-operation.schema.json +2325 -292
  96. package/schemas/mechanic-test-input.schema.json +1 -1
  97. package/schemas/mod-index-input.schema.json +1 -1
  98. package/schemas/operation-result.schema.json +1 -1
  99. package/schemas/package-check-input.schema.json +1 -1
  100. package/schemas/package-manifest.schema.json +1 -1
  101. package/schemas/probability-analysis-result.schema.json +25 -7
  102. package/schemas/probability-compare-input.schema.json +1 -1
  103. package/schemas/probability-evaluate-input.schema.json +1 -1
  104. package/schemas/probability-inspect-input.schema.json +1 -1
  105. package/schemas/probability-render-input.schema.json +1 -1
  106. package/schemas/probability-scenario-set.schema.json +1 -1
  107. package/schemas/probability-sequence-input.schema.json +1 -1
  108. package/schemas/probability-simulate-input.schema.json +1 -1
  109. package/schemas/probability-sweep-input.schema.json +1 -1
  110. package/schemas/reference-context-input.schema.json +1 -1
  111. package/schemas/reference-read-input.schema.json +1 -1
  112. package/schemas/reference-search-input.schema.json +1 -1
  113. package/schemas/reference-sheets.schema.json +267 -0
  114. package/schemas/scenario-suite.schema.json +1 -1
  115. package/schemas/scenario-test-input.schema.json +1 -1
  116. package/schemas/script-validate-input.schema.json +1 -1
  117. package/schemas/shared-scenario.schema.json +1 -1
  118. package/schemas/source-lookup-input.schema.json +1 -1
  119. package/server.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.3.0/schemas/mechanic-test-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/mechanic-test-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/v4.3.0/schemas/mod-index-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/mod-index-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/v4.3.0/schemas/operation-result.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/package-check-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/package-check-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/v4.3.0/schemas/package-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/package-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/v4.3.0/schemas/probability-analysis-result.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/probability-analysis-result.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -928,7 +928,10 @@
928
928
  {
929
929
  "type": "string"
930
930
  }
931
- ]
931
+ ],
932
+ "items": false,
933
+ "minItems": 2,
934
+ "maxItems": 2
932
935
  },
933
936
  "gap": {
934
937
  "type": "number",
@@ -1121,7 +1124,10 @@
1121
1124
  {
1122
1125
  "type": "number"
1123
1126
  }
1124
- ]
1127
+ ],
1128
+ "items": false,
1129
+ "minItems": 2,
1130
+ "maxItems": 2
1125
1131
  },
1126
1132
  "beforeLeader": {
1127
1133
  "type": "string"
@@ -1176,7 +1182,10 @@
1176
1182
  {
1177
1183
  "type": "number"
1178
1184
  }
1179
- ]
1185
+ ],
1186
+ "items": false,
1187
+ "minItems": 2,
1188
+ "maxItems": 2
1180
1189
  },
1181
1190
  "slope": {
1182
1191
  "type": "number"
@@ -1213,7 +1222,10 @@
1213
1222
  {
1214
1223
  "type": "string"
1215
1224
  }
1216
- ]
1225
+ ],
1226
+ "items": false,
1227
+ "minItems": 2,
1228
+ "maxItems": 2
1217
1229
  },
1218
1230
  "candidateId": {
1219
1231
  "type": "string"
@@ -1237,7 +1249,10 @@
1237
1249
  {
1238
1250
  "type": "number"
1239
1251
  }
1240
- ]
1252
+ ],
1253
+ "items": false,
1254
+ "minItems": 2,
1255
+ "maxItems": 2
1241
1256
  },
1242
1257
  "right": {
1243
1258
  "type": "array",
@@ -1248,7 +1263,10 @@
1248
1263
  {
1249
1264
  "type": "number"
1250
1265
  }
1251
- ]
1266
+ ],
1267
+ "items": false,
1268
+ "minItems": 2,
1269
+ "maxItems": 2
1252
1270
  }
1253
1271
  },
1254
1272
  "required": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.3.0/schemas/probability-compare-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-evaluate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-render-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-scenario-set.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-sequence-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-simulate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/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/v4.3.0/schemas/probability-sweep-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/probability-sweep-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/v4.3.0/schemas/reference-context-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/reference-context-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/v4.3.0/schemas/reference-read-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/reference-read-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/v4.3.0/schemas/reference-search-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/reference-search-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -0,0 +1,267 @@
1
+ {
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/reference-sheets.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "version": {
7
+ "$ref": "#/$defs/__schema0"
8
+ },
9
+ "source": {
10
+ "$ref": "#/$defs/__schema1"
11
+ },
12
+ "fill": {
13
+ "$ref": "#/$defs/__schema3"
14
+ },
15
+ "sheets": {
16
+ "$ref": "#/$defs/__schema5"
17
+ }
18
+ },
19
+ "required": [
20
+ "version",
21
+ "sheets"
22
+ ],
23
+ "additionalProperties": false,
24
+ "description": "Registration of a drawn picture made of sheets onto the world frame (ADR 0067). Coordinates are normalised: picture coordinates to the picture, world coordinates to width x height.",
25
+ "$defs": {
26
+ "__schema0": {
27
+ "type": "number",
28
+ "const": 1
29
+ },
30
+ "__schema1": {
31
+ "description": "The picture these registrations were made for; a picture of another size or hash is refused.",
32
+ "$ref": "#/$defs/__schema2"
33
+ },
34
+ "__schema2": {
35
+ "type": "object",
36
+ "properties": {
37
+ "width": {
38
+ "type": "integer",
39
+ "exclusiveMinimum": 0,
40
+ "maximum": 9007199254740991
41
+ },
42
+ "height": {
43
+ "type": "integer",
44
+ "exclusiveMinimum": 0,
45
+ "maximum": 9007199254740991
46
+ },
47
+ "sha256": {
48
+ "type": "string",
49
+ "pattern": "^[a-f0-9]{64}$"
50
+ }
51
+ },
52
+ "required": [
53
+ "width",
54
+ "height"
55
+ ],
56
+ "additionalProperties": false
57
+ },
58
+ "__schema3": {
59
+ "default": "sea",
60
+ "description": "What world pixels outside every sheet become: open sea, or an error.",
61
+ "$ref": "#/$defs/__schema4"
62
+ },
63
+ "__schema4": {
64
+ "type": "string",
65
+ "enum": [
66
+ "sea",
67
+ "error"
68
+ ]
69
+ },
70
+ "__schema5": {
71
+ "minItems": 1,
72
+ "maxItems": 64,
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "#/$defs/__schema6"
76
+ }
77
+ },
78
+ "__schema6": {
79
+ "type": "object",
80
+ "properties": {
81
+ "id": {
82
+ "$ref": "#/$defs/__schema7"
83
+ },
84
+ "box": {
85
+ "$ref": "#/$defs/__schema8"
86
+ },
87
+ "clip": {
88
+ "$ref": "#/$defs/__schema10"
89
+ },
90
+ "anchor": {
91
+ "$ref": "#/$defs/__schema13"
92
+ },
93
+ "target": {
94
+ "$ref": "#/$defs/__schema15"
95
+ },
96
+ "scale": {
97
+ "$ref": "#/$defs/__schema18"
98
+ },
99
+ "affine": {
100
+ "$ref": "#/$defs/__schema20"
101
+ },
102
+ "order": {
103
+ "$ref": "#/$defs/__schema22"
104
+ }
105
+ },
106
+ "required": [
107
+ "id",
108
+ "box"
109
+ ],
110
+ "additionalProperties": false
111
+ },
112
+ "__schema7": {
113
+ "type": "string",
114
+ "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$",
115
+ "description": "Unique sheet id, named in diagnostics and artifacts."
116
+ },
117
+ "__schema8": {
118
+ "type": "array",
119
+ "prefixItems": [
120
+ {
121
+ "$ref": "#/$defs/__schema9"
122
+ },
123
+ {
124
+ "$ref": "#/$defs/__schema9"
125
+ },
126
+ {
127
+ "$ref": "#/$defs/__schema9"
128
+ },
129
+ {
130
+ "$ref": "#/$defs/__schema9"
131
+ }
132
+ ],
133
+ "items": false,
134
+ "minItems": 4,
135
+ "maxItems": 4,
136
+ "description": "[left, top, right, bottom] of the sheet in normalised picture coordinates."
137
+ },
138
+ "__schema9": {
139
+ "type": "number",
140
+ "minimum": 0,
141
+ "maximum": 1
142
+ },
143
+ "__schema10": {
144
+ "description": "Polygon in picture coordinates that cuts the sheet out of its box, so a neighbouring sheet inside the box is not pulled in.",
145
+ "$ref": "#/$defs/__schema11"
146
+ },
147
+ "__schema11": {
148
+ "minItems": 3,
149
+ "maxItems": 512,
150
+ "type": "array",
151
+ "items": {
152
+ "$ref": "#/$defs/__schema12"
153
+ }
154
+ },
155
+ "__schema12": {
156
+ "type": "array",
157
+ "prefixItems": [
158
+ {
159
+ "$ref": "#/$defs/__schema9"
160
+ },
161
+ {
162
+ "$ref": "#/$defs/__schema9"
163
+ }
164
+ ],
165
+ "items": false,
166
+ "minItems": 2,
167
+ "maxItems": 2
168
+ },
169
+ "__schema13": {
170
+ "description": "Picture point that maps to target.",
171
+ "$ref": "#/$defs/__schema14"
172
+ },
173
+ "__schema14": {
174
+ "type": "array",
175
+ "prefixItems": [
176
+ {
177
+ "$ref": "#/$defs/__schema9"
178
+ },
179
+ {
180
+ "$ref": "#/$defs/__schema9"
181
+ }
182
+ ],
183
+ "items": false,
184
+ "minItems": 2,
185
+ "maxItems": 2
186
+ },
187
+ "__schema15": {
188
+ "description": "World point of the anchor.",
189
+ "$ref": "#/$defs/__schema16"
190
+ },
191
+ "__schema16": {
192
+ "type": "array",
193
+ "prefixItems": [
194
+ {
195
+ "$ref": "#/$defs/__schema17"
196
+ },
197
+ {
198
+ "$ref": "#/$defs/__schema17"
199
+ }
200
+ ],
201
+ "items": false,
202
+ "minItems": 2,
203
+ "maxItems": 2
204
+ },
205
+ "__schema17": {
206
+ "type": "number"
207
+ },
208
+ "__schema18": {
209
+ "description": "World units per picture unit along x and y; a negative value mirrors.",
210
+ "$ref": "#/$defs/__schema19"
211
+ },
212
+ "__schema19": {
213
+ "type": "array",
214
+ "prefixItems": [
215
+ {
216
+ "$ref": "#/$defs/__schema17"
217
+ },
218
+ {
219
+ "$ref": "#/$defs/__schema17"
220
+ }
221
+ ],
222
+ "items": false,
223
+ "minItems": 2,
224
+ "maxItems": 2
225
+ },
226
+ "__schema20": {
227
+ "description": "General map [a, b, c, d, e, f] from picture to world, instead of anchor, target and scale.",
228
+ "$ref": "#/$defs/__schema21"
229
+ },
230
+ "__schema21": {
231
+ "type": "array",
232
+ "prefixItems": [
233
+ {
234
+ "$ref": "#/$defs/__schema17"
235
+ },
236
+ {
237
+ "$ref": "#/$defs/__schema17"
238
+ },
239
+ {
240
+ "$ref": "#/$defs/__schema17"
241
+ },
242
+ {
243
+ "$ref": "#/$defs/__schema17"
244
+ },
245
+ {
246
+ "$ref": "#/$defs/__schema17"
247
+ },
248
+ {
249
+ "$ref": "#/$defs/__schema17"
250
+ }
251
+ ],
252
+ "items": false,
253
+ "minItems": 6,
254
+ "maxItems": 6
255
+ },
256
+ "__schema22": {
257
+ "default": 0,
258
+ "description": "Where targets overlap the higher order wins; equal orders that overlap are an error.",
259
+ "$ref": "#/$defs/__schema23"
260
+ },
261
+ "__schema23": {
262
+ "type": "integer",
263
+ "minimum": 0,
264
+ "maximum": 1000
265
+ }
266
+ }
267
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.3.0/schemas/scenario-suite.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/scenario-suite.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/v4.3.0/schemas/scenario-test-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/scenario-test-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/v4.3.0/schemas/script-validate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/script-validate-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/v4.3.0/schemas/shared-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/shared-scenario.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/v4.3.0/schemas/source-lookup-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.5.0/schemas/source-lookup-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": "Build HOI4 mods: focus trees, events, decisions, worlds, GUI previews, docs and AI balance.",
6
- "version": "4.3.0",
6
+ "version": "4.5.0",
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": "4.3.0",
16
+ "version": "4.5.0",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  }