hoi4-agent-tools 4.3.0 → 4.4.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 (110) hide show
  1. package/CHANGELOG.md +25 -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/operation-context.js +17 -1
  5. package/dist/hoi4_agent_tools/core/temporary-directories.js +7 -2
  6. package/dist/hoi4_agent_tools/core/transaction-limits.js +18 -4
  7. package/dist/hoi4_agent_tools/core/transactions.js +23 -4
  8. package/dist/hoi4_agent_tools/core/workspace-json.js +54 -0
  9. package/dist/hoi4_agent_tools/core/workspace.js +42 -6
  10. package/dist/hoi4_agent_tools/map/appearance-validation.js +1110 -0
  11. package/dist/hoi4_agent_tools/map/bmp.js +9 -1
  12. package/dist/hoi4_agent_tools/map/border-quality-input.js +209 -0
  13. package/dist/hoi4_agent_tools/map/border-quality.js +1180 -0
  14. package/dist/hoi4_agent_tools/map/colormap.js +128 -0
  15. package/dist/hoi4_agent_tools/map/geography/geometry.js +284 -0
  16. package/dist/hoi4_agent_tools/map/geography/index.js +6 -0
  17. package/dist/hoi4_agent_tools/map/geography/model.js +196 -0
  18. package/dist/hoi4_agent_tools/map/geography/preparation.js +120 -0
  19. package/dist/hoi4_agent_tools/map/geography/preview.js +647 -0
  20. package/dist/hoi4_agent_tools/map/geography/raster.js +253 -0
  21. package/dist/hoi4_agent_tools/map/geography/resolve.js +1467 -0
  22. package/dist/hoi4_agent_tools/map/model.js +15 -2
  23. package/dist/hoi4_agent_tools/map/operations.js +111 -8
  24. package/dist/hoi4_agent_tools/map/partition-fields.js +398 -0
  25. package/dist/hoi4_agent_tools/map/partition-geography.js +113 -0
  26. package/dist/hoi4_agent_tools/map/partition-graph.js +165 -0
  27. package/dist/hoi4_agent_tools/map/partition-groups.js +164 -0
  28. package/dist/hoi4_agent_tools/map/partition-provinces.js +727 -0
  29. package/dist/hoi4_agent_tools/map/partition-tuning.js +101 -0
  30. package/dist/hoi4_agent_tools/map/partition-watershed.js +252 -0
  31. package/dist/hoi4_agent_tools/map/partition.js +163 -0
  32. package/dist/hoi4_agent_tools/map/reference-import.js +333 -0
  33. package/dist/hoi4_agent_tools/map/reference-preparation.js +138 -5
  34. package/dist/hoi4_agent_tools/map/reference-sheets.js +231 -0
  35. package/dist/hoi4_agent_tools/map/reference-world.js +104 -13
  36. package/dist/hoi4_agent_tools/map/relief/checks.js +281 -0
  37. package/dist/hoi4_agent_tools/map/relief/fields.js +15 -0
  38. package/dist/hoi4_agent_tools/map/relief/full-resolution.js +133 -0
  39. package/dist/hoi4_agent_tools/map/relief/grid.js +190 -0
  40. package/dist/hoi4_agent_tools/map/relief/hydrology.js +1315 -0
  41. package/dist/hoi4_agent_tools/map/relief/index.js +27 -0
  42. package/dist/hoi4_agent_tools/map/relief/land.js +110 -0
  43. package/dist/hoi4_agent_tools/map/relief/macro-relief.js +535 -0
  44. package/dist/hoi4_agent_tools/map/relief/math.js +93 -0
  45. package/dist/hoi4_agent_tools/map/relief/river-raster.js +680 -0
  46. package/dist/hoi4_agent_tools/map/relief/terrain-synthesis.js +304 -0
  47. package/dist/hoi4_agent_tools/map/render.js +36 -0
  48. package/dist/hoi4_agent_tools/map/service.js +191 -16
  49. package/dist/hoi4_agent_tools/map/tool-operations.js +208 -2
  50. package/dist/hoi4_agent_tools/map/validation.js +9 -0
  51. package/dist/hoi4_agent_tools/map/water.js +227 -0
  52. package/dist/hoi4_agent_tools/map/world-context.js +24 -1
  53. package/dist/hoi4_agent_tools/map/world-edge.js +335 -0
  54. package/dist/hoi4_agent_tools/map/world-noise.js +34 -0
  55. package/dist/hoi4_agent_tools/map/world-partition.js +119 -0
  56. package/dist/hoi4_agent_tools/map/world-provinces.js +131 -56
  57. package/dist/hoi4_agent_tools/map/world.js +462 -124
  58. package/dist/hoi4_agent_tools/mcp/tools/map.js +69 -1
  59. package/dist/hoi4_agent_tools/reference/operations.js +3 -2
  60. package/dist/hoi4_agent_tools/schemas/geography.js +325 -0
  61. package/dist/hoi4_agent_tools/schemas/map-requests.js +20 -2
  62. package/dist/hoi4_agent_tools/schemas/map.js +209 -2
  63. package/dist/hoi4_agent_tools/schemas/reference-sheets.js +92 -0
  64. package/dist/hoi4_agent_tools/version.js +1 -1
  65. package/docs/configuration.md +17 -14
  66. package/docs/map.md +258 -15
  67. package/docs/tools.md +4 -4
  68. package/docs/troubleshooting.md +11 -11
  69. package/npm-shrinkwrap.json +109 -91
  70. package/package.json +3 -3
  71. package/schemas/configuration.schema.json +65 -58
  72. package/schemas/continuous-focus-palette.schema.json +1 -1
  73. package/schemas/custom-weighted-pool.schema.json +1 -1
  74. package/schemas/decision-inspect-input.schema.json +1 -1
  75. package/schemas/error-log-input.schema.json +1 -1
  76. package/schemas/event-feature-manifest.schema.json +1 -1
  77. package/schemas/focus-plan.schema.json +1 -1
  78. package/schemas/focus-planning-sidecar.schema.json +1 -1
  79. package/schemas/geography-model.schema.json +1148 -0
  80. package/schemas/gui-animation-source.schema.json +1 -1
  81. package/schemas/gui-helper.schema.json +5 -11
  82. package/schemas/gui-scenario.schema.json +1 -1
  83. package/schemas/helper-expansion-request.schema.json +1 -1
  84. package/schemas/helper-expansion-summary.schema.json +1 -1
  85. package/schemas/impact-inspect-input.schema.json +1 -1
  86. package/schemas/map-operation.schema.json +2156 -259
  87. package/schemas/mechanic-test-input.schema.json +1 -1
  88. package/schemas/mod-index-input.schema.json +1 -1
  89. package/schemas/operation-result.schema.json +1 -1
  90. package/schemas/package-check-input.schema.json +1 -1
  91. package/schemas/package-manifest.schema.json +1 -1
  92. package/schemas/probability-analysis-result.schema.json +25 -7
  93. package/schemas/probability-compare-input.schema.json +1 -1
  94. package/schemas/probability-evaluate-input.schema.json +1 -1
  95. package/schemas/probability-inspect-input.schema.json +1 -1
  96. package/schemas/probability-render-input.schema.json +1 -1
  97. package/schemas/probability-scenario-set.schema.json +1 -1
  98. package/schemas/probability-sequence-input.schema.json +1 -1
  99. package/schemas/probability-simulate-input.schema.json +1 -1
  100. package/schemas/probability-sweep-input.schema.json +1 -1
  101. package/schemas/reference-context-input.schema.json +1 -1
  102. package/schemas/reference-read-input.schema.json +1 -1
  103. package/schemas/reference-search-input.schema.json +1 -1
  104. package/schemas/reference-sheets.schema.json +267 -0
  105. package/schemas/scenario-suite.schema.json +1 -1
  106. package/schemas/scenario-test-input.schema.json +1 -1
  107. package/schemas/script-validate-input.schema.json +1 -1
  108. package/schemas/shared-scenario.schema.json +1 -1
  109. package/schemas/source-lookup-input.schema.json +1 -1
  110. package/server.json +2 -2
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hoi4-agent-tools",
9
- "version": "4.3.0",
9
+ "version": "4.4.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@fontsource-variable/roboto": "5.3.0",
@@ -22,7 +22,7 @@
22
22
  "jose": "6.2.8",
23
23
  "sharp": "0.35.5",
24
24
  "tesseract.js": "7.0.0",
25
- "zod": "4.4.3"
25
+ "zod": "4.6.7"
26
26
  },
27
27
  "bin": {
28
28
  "hoi4-agent-tools": "dist/bin/stdio.js",
@@ -2094,13 +2094,13 @@
2094
2094
  }
2095
2095
  },
2096
2096
  "node_modules/@oxc-project/types": {
2097
- "version": "0.143.0",
2098
- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.143.0.tgz",
2099
- "integrity": "sha512-u6JZdLBTLotrNC9Vd6vPssINdzcCzleKAH6EJKImQb7GtYvX5keN2dxkoK44stCc4tffE6QQRtZTXVSzsLUlWA==",
2097
+ "version": "0.155.0",
2098
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.155.0.tgz",
2099
+ "integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==",
2100
2100
  "dev": true,
2101
2101
  "license": "MIT",
2102
2102
  "funding": {
2103
- "url": "https://github.com/sponsors/Boshen"
2103
+ "url": "https://github.com/sponsors/oxc-project"
2104
2104
  }
2105
2105
  },
2106
2106
  "node_modules/@pinojs/redact": {
@@ -2110,10 +2110,27 @@
2110
2110
  "dev": true,
2111
2111
  "license": "MIT"
2112
2112
  },
2113
+ "node_modules/@rolldown/binding-android-arm-eabi": {
2114
+ "version": "1.2.15",
2115
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz",
2116
+ "integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==",
2117
+ "cpu": [
2118
+ "arm"
2119
+ ],
2120
+ "dev": true,
2121
+ "license": "MIT",
2122
+ "optional": true,
2123
+ "os": [
2124
+ "android"
2125
+ ],
2126
+ "engines": {
2127
+ "node": "^20.19.0 || >=22.12.0"
2128
+ }
2129
+ },
2113
2130
  "node_modules/@rolldown/binding-android-arm64": {
2114
- "version": "1.2.3",
2115
- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.3.tgz",
2116
- "integrity": "sha512-zrJtHDcaZJ1Fp7xf4hNl+7seH9Cn/N5TwLYkhgXREtBwAd/jaqW3uqeHxpDugJLVICWg4eW44kOQEGJ1r6jCGw==",
2131
+ "version": "1.2.15",
2132
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz",
2133
+ "integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==",
2117
2134
  "cpu": [
2118
2135
  "arm64"
2119
2136
  ],
@@ -2128,9 +2145,9 @@
2128
2145
  }
2129
2146
  },
2130
2147
  "node_modules/@rolldown/binding-darwin-arm64": {
2131
- "version": "1.2.3",
2132
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.3.tgz",
2133
- "integrity": "sha512-ieIiibVCp0tX7TLu2cafoNPv8wJyYi01ekXpbf8q2j7F4rGAhhXb/eQh7ge9DRBY78GwmRQtvjZDux7EDbA8kA==",
2148
+ "version": "1.2.15",
2149
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz",
2150
+ "integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==",
2134
2151
  "cpu": [
2135
2152
  "arm64"
2136
2153
  ],
@@ -2145,9 +2162,9 @@
2145
2162
  }
2146
2163
  },
2147
2164
  "node_modules/@rolldown/binding-darwin-x64": {
2148
- "version": "1.2.3",
2149
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.3.tgz",
2150
- "integrity": "sha512-Zh9tCon19eDXJoihx0rqKhMUlMYqzwj3aPsSuHmI4RWZh62dWUL+DJN4C5YQya5TcQBJU/Fe8+rY0jhXTQITqA==",
2165
+ "version": "1.2.15",
2166
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz",
2167
+ "integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==",
2151
2168
  "cpu": [
2152
2169
  "x64"
2153
2170
  ],
@@ -2162,9 +2179,9 @@
2162
2179
  }
2163
2180
  },
2164
2181
  "node_modules/@rolldown/binding-freebsd-x64": {
2165
- "version": "1.2.3",
2166
- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.3.tgz",
2167
- "integrity": "sha512-nGbJWewA1wrXXZiQhjAT5rhibGfns5ZNkDVqxsO6zJ3f3YvpoDNNmGMSbbhLuXKjNScaBJVOAboztAWVespQMg==",
2182
+ "version": "1.2.15",
2183
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz",
2184
+ "integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==",
2168
2185
  "cpu": [
2169
2186
  "x64"
2170
2187
  ],
@@ -2179,9 +2196,9 @@
2179
2196
  }
2180
2197
  },
2181
2198
  "node_modules/@rolldown/binding-linux-arm-gnueabihf": {
2182
- "version": "1.2.3",
2183
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.3.tgz",
2184
- "integrity": "sha512-QNniJr5Kml0kDEB98jiDOJjXNroxIIi0IXIbdYzY26Xt1pVbeP62+KnoIZLwirOymX/0jDk/2gI/bNUv7A7OIw==",
2199
+ "version": "1.2.15",
2200
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz",
2201
+ "integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==",
2185
2202
  "cpu": [
2186
2203
  "arm"
2187
2204
  ],
@@ -2196,9 +2213,9 @@
2196
2213
  }
2197
2214
  },
2198
2215
  "node_modules/@rolldown/binding-linux-arm64-gnu": {
2199
- "version": "1.2.3",
2200
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.3.tgz",
2201
- "integrity": "sha512-TkqEAcmmvH3I/q4114NB4RVt6241Dao48pF45uLcFGrwAaIn0iITgTAKP/dLjbN0R4buJjGb91+UHSoFmpgIWw==",
2216
+ "version": "1.2.15",
2217
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz",
2218
+ "integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==",
2202
2219
  "cpu": [
2203
2220
  "arm64"
2204
2221
  ],
@@ -2213,9 +2230,9 @@
2213
2230
  }
2214
2231
  },
2215
2232
  "node_modules/@rolldown/binding-linux-arm64-musl": {
2216
- "version": "1.2.3",
2217
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.3.tgz",
2218
- "integrity": "sha512-NHqjnxpsndf4MPymxteFAWHHfkTL8HjWh1KB7z23ofZ6QO2euONuxDXjat69dKZRALnGypg8k8SsK8vZJoXv1Q==",
2233
+ "version": "1.2.15",
2234
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz",
2235
+ "integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==",
2219
2236
  "cpu": [
2220
2237
  "arm64"
2221
2238
  ],
@@ -2230,9 +2247,9 @@
2230
2247
  }
2231
2248
  },
2232
2249
  "node_modules/@rolldown/binding-linux-ppc64-gnu": {
2233
- "version": "1.2.3",
2234
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.3.tgz",
2235
- "integrity": "sha512-6tbrbwfz5GB9DQ4Jwo6hy9v+vR31xZlvzZ6n5Xut6Hhx5PvrA9q/HsK8KMaYQp063iqZGXwNvZtYNLD7EM/x0w==",
2250
+ "version": "1.2.15",
2251
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz",
2252
+ "integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==",
2236
2253
  "cpu": [
2237
2254
  "ppc64"
2238
2255
  ],
@@ -2247,9 +2264,9 @@
2247
2264
  }
2248
2265
  },
2249
2266
  "node_modules/@rolldown/binding-linux-s390x-gnu": {
2250
- "version": "1.2.3",
2251
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.3.tgz",
2252
- "integrity": "sha512-oyuXxXmoZHjXC917IAPFAAv4wWAa0cM9afk8nx1+9/jNNOX1uPf8yDA6p7G0RypOfw/X0PQt5IfoquY1um+zSg==",
2267
+ "version": "1.2.15",
2268
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz",
2269
+ "integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==",
2253
2270
  "cpu": [
2254
2271
  "s390x"
2255
2272
  ],
@@ -2264,9 +2281,9 @@
2264
2281
  }
2265
2282
  },
2266
2283
  "node_modules/@rolldown/binding-linux-x64-gnu": {
2267
- "version": "1.2.3",
2268
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.3.tgz",
2269
- "integrity": "sha512-TytMwF2KVGqP2tgd0I1OY0PAv78dZRAYcF5ssDzjM34SUXCED3uXvSd5+lHoC0bTD6eEdFz7LdQNCO1y0oVk9w==",
2284
+ "version": "1.2.15",
2285
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz",
2286
+ "integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==",
2270
2287
  "cpu": [
2271
2288
  "x64"
2272
2289
  ],
@@ -2281,9 +2298,9 @@
2281
2298
  }
2282
2299
  },
2283
2300
  "node_modules/@rolldown/binding-linux-x64-musl": {
2284
- "version": "1.2.3",
2285
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.3.tgz",
2286
- "integrity": "sha512-/E9m3qstrJFVPoULV25mVQblSNExY2+kBsYe4sy0Tn0yOOgJ8wZbZt3KnRbF/XeU2Gl1STKUQnDNTqhIE5MD4A==",
2301
+ "version": "1.2.15",
2302
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz",
2303
+ "integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==",
2287
2304
  "cpu": [
2288
2305
  "x64"
2289
2306
  ],
@@ -2298,9 +2315,9 @@
2298
2315
  }
2299
2316
  },
2300
2317
  "node_modules/@rolldown/binding-openharmony-arm64": {
2301
- "version": "1.2.3",
2302
- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.3.tgz",
2303
- "integrity": "sha512-Kr0OcsoQI816i6HOl3vFHpd1K0eZyh76zgfj4c1nTyaTsd5r2Mj1lwM4R90y/qaCfmTn9eHy0SKwi98eitRxug==",
2318
+ "version": "1.2.15",
2319
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz",
2320
+ "integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==",
2304
2321
  "cpu": [
2305
2322
  "arm64"
2306
2323
  ],
@@ -2315,9 +2332,9 @@
2315
2332
  }
2316
2333
  },
2317
2334
  "node_modules/@rolldown/binding-win32-arm64-msvc": {
2318
- "version": "1.2.3",
2319
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.3.tgz",
2320
- "integrity": "sha512-hOtMwTqnME+/gJcH/PCZ0wn0zPUjiWOgkHpxbSJpfGKMezHltx1S7/k1SitzVa7Ww2cqrDDaFbZEhcJZO8o+Jw==",
2335
+ "version": "1.2.15",
2336
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz",
2337
+ "integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==",
2321
2338
  "cpu": [
2322
2339
  "arm64"
2323
2340
  ],
@@ -2332,9 +2349,9 @@
2332
2349
  }
2333
2350
  },
2334
2351
  "node_modules/@rolldown/binding-win32-x64-msvc": {
2335
- "version": "1.2.3",
2336
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.3.tgz",
2337
- "integrity": "sha512-ekcqMMkI2PlhYnfzQnB/cEdYUVVJViWvoUyLrbzgDoi3Snfc1mVBwdnc306ufA5ejy8JSPjT2RlW1nQSjW7efg==",
2352
+ "version": "1.2.15",
2353
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz",
2354
+ "integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==",
2338
2355
  "cpu": [
2339
2356
  "x64"
2340
2357
  ],
@@ -3147,18 +3164,18 @@
3147
3164
  "license": "MIT"
3148
3165
  },
3149
3166
  "node_modules/body-parser": {
3150
- "version": "2.3.0",
3151
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
3152
- "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
3167
+ "version": "2.4.0",
3168
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz",
3169
+ "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==",
3153
3170
  "license": "MIT",
3154
3171
  "dependencies": {
3155
3172
  "bytes": "^3.1.2",
3156
- "content-type": "^2.0.0",
3173
+ "content-type": "^2.1.0",
3157
3174
  "debug": "^4.4.3",
3158
3175
  "http-errors": "^2.0.1",
3159
- "iconv-lite": "^0.7.2",
3176
+ "iconv-lite": "^0.7.3",
3160
3177
  "on-finished": "^2.4.1",
3161
- "qs": "^6.15.2",
3178
+ "qs": "^6.16.1",
3162
3179
  "raw-body": "^3.0.2",
3163
3180
  "type-is": "^2.1.0"
3164
3181
  },
@@ -3171,9 +3188,9 @@
3171
3188
  }
3172
3189
  },
3173
3190
  "node_modules/body-parser/node_modules/content-type": {
3174
- "version": "2.0.0",
3175
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
3176
- "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
3191
+ "version": "2.1.0",
3192
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz",
3193
+ "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
3177
3194
  "license": "MIT",
3178
3195
  "engines": {
3179
3196
  "node": ">=18"
@@ -5838,9 +5855,9 @@
5838
5855
  "license": "MIT"
5839
5856
  },
5840
5857
  "node_modules/qs": {
5841
- "version": "6.16.0",
5842
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",
5843
- "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
5858
+ "version": "6.16.1",
5859
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.1.tgz",
5860
+ "integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
5844
5861
  "license": "BSD-3-Clause",
5845
5862
  "dependencies": {
5846
5863
  "es-define-property": "^1.0.1",
@@ -5982,13 +5999,13 @@
5982
5999
  "license": "MIT"
5983
6000
  },
5984
6001
  "node_modules/rolldown": {
5985
- "version": "1.2.3",
5986
- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.3.tgz",
5987
- "integrity": "sha512-rn9wpmxplLf7NLNyCk9FyWh3FM43DbY8jOzCdEPzH7uflhTftRbCEpqi6Ly2osgoU8OwObtmavMbWLaWy4LX7A==",
6002
+ "version": "1.2.15",
6003
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.15.tgz",
6004
+ "integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==",
5988
6005
  "dev": true,
5989
6006
  "license": "MIT",
5990
6007
  "dependencies": {
5991
- "@oxc-project/types": "=0.143.0",
6008
+ "@oxc-project/types": "=0.155.0",
5992
6009
  "@rolldown/pluginutils": "^1.0.0"
5993
6010
  },
5994
6011
  "bin": {
@@ -5998,20 +6015,21 @@
5998
6015
  "node": "^20.19.0 || >=22.12.0"
5999
6016
  },
6000
6017
  "optionalDependencies": {
6001
- "@rolldown/binding-android-arm64": "1.2.3",
6002
- "@rolldown/binding-darwin-arm64": "1.2.3",
6003
- "@rolldown/binding-darwin-x64": "1.2.3",
6004
- "@rolldown/binding-freebsd-x64": "1.2.3",
6005
- "@rolldown/binding-linux-arm-gnueabihf": "1.2.3",
6006
- "@rolldown/binding-linux-arm64-gnu": "1.2.3",
6007
- "@rolldown/binding-linux-arm64-musl": "1.2.3",
6008
- "@rolldown/binding-linux-ppc64-gnu": "1.2.3",
6009
- "@rolldown/binding-linux-s390x-gnu": "1.2.3",
6010
- "@rolldown/binding-linux-x64-gnu": "1.2.3",
6011
- "@rolldown/binding-linux-x64-musl": "1.2.3",
6012
- "@rolldown/binding-openharmony-arm64": "1.2.3",
6013
- "@rolldown/binding-win32-arm64-msvc": "1.2.3",
6014
- "@rolldown/binding-win32-x64-msvc": "1.2.3"
6018
+ "@rolldown/binding-android-arm-eabi": "1.2.15",
6019
+ "@rolldown/binding-android-arm64": "1.2.15",
6020
+ "@rolldown/binding-darwin-arm64": "1.2.15",
6021
+ "@rolldown/binding-darwin-x64": "1.2.15",
6022
+ "@rolldown/binding-freebsd-x64": "1.2.15",
6023
+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.15",
6024
+ "@rolldown/binding-linux-arm64-gnu": "1.2.15",
6025
+ "@rolldown/binding-linux-arm64-musl": "1.2.15",
6026
+ "@rolldown/binding-linux-ppc64-gnu": "1.2.15",
6027
+ "@rolldown/binding-linux-s390x-gnu": "1.2.15",
6028
+ "@rolldown/binding-linux-x64-gnu": "1.2.15",
6029
+ "@rolldown/binding-linux-x64-musl": "1.2.15",
6030
+ "@rolldown/binding-openharmony-arm64": "1.2.15",
6031
+ "@rolldown/binding-win32-arm64-msvc": "1.2.15",
6032
+ "@rolldown/binding-win32-x64-msvc": "1.2.15"
6015
6033
  }
6016
6034
  },
6017
6035
  "node_modules/router": {
@@ -6738,9 +6756,9 @@
6738
6756
  }
6739
6757
  },
6740
6758
  "node_modules/undici": {
6741
- "version": "8.11.2",
6742
- "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz",
6743
- "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==",
6759
+ "version": "8.12.3",
6760
+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz",
6761
+ "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==",
6744
6762
  "dev": true,
6745
6763
  "license": "MIT",
6746
6764
  "engines": {
@@ -6803,17 +6821,17 @@
6803
6821
  }
6804
6822
  },
6805
6823
  "node_modules/vite": {
6806
- "version": "8.2.1",
6807
- "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.1.tgz",
6808
- "integrity": "sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==",
6824
+ "version": "8.2.4",
6825
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.4.tgz",
6826
+ "integrity": "sha512-lfauXnrf2x0p+UoA+wXh0dgFWnUjCyG6Js95KBkgaCwUU9k0DAHI4W6Q0WCx+h+5g+Alce1y4Zi2QjjK0UvGBw==",
6809
6827
  "dev": true,
6810
6828
  "license": "MIT",
6811
6829
  "peer": true,
6812
6830
  "dependencies": {
6813
6831
  "lightningcss": "^1.33.0",
6814
6832
  "picomatch": "^4.0.5",
6815
- "postcss": "^8.5.25",
6816
- "rolldown": "~1.2.1",
6833
+ "postcss": "^8.5.26",
6834
+ "rolldown": "~1.2.4",
6817
6835
  "tinyglobby": "^0.2.17"
6818
6836
  },
6819
6837
  "bin": {
@@ -6830,7 +6848,7 @@
6830
6848
  },
6831
6849
  "peerDependencies": {
6832
6850
  "@types/node": "^20.19.0 || >=22.12.0",
6833
- "@vitejs/devtools": "^0.4.0",
6851
+ "@vitejs/devtools": "^0.4.0 || ^0.5.0",
6834
6852
  "esbuild": "^0.27.0 || ^0.28.0",
6835
6853
  "jiti": ">=1.21.0",
6836
6854
  "less": "^4.0.0",
@@ -7200,9 +7218,9 @@
7200
7218
  }
7201
7219
  },
7202
7220
  "node_modules/zod": {
7203
- "version": "4.4.3",
7204
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
7205
- "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
7221
+ "version": "4.6.7",
7222
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
7223
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
7206
7224
  "license": "MIT",
7207
7225
  "peer": true,
7208
7226
  "funding": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
3
  "mcpName": "io.github.klimPaskov/hoi4-agent-tools",
4
- "version": "4.3.0",
4
+ "version": "4.4.0",
5
5
  "description": "Build HOI4 mods: focus trees, events, decisions, worlds, GUI previews, docs and AI balance.",
6
6
  "type": "module",
7
7
  "license": "Apache-2.0",
@@ -128,7 +128,7 @@
128
128
  "jose": "6.2.8",
129
129
  "sharp": "0.35.5",
130
130
  "tesseract.js": "7.0.0",
131
- "zod": "4.4.3"
131
+ "zod": "4.6.7"
132
132
  },
133
133
  "devDependencies": {
134
134
  "@eslint/js": "10.0.1",
@@ -154,7 +154,7 @@
154
154
  "overrides": {
155
155
  "brace-expansion": "5.0.12",
156
156
  "fast-uri": "3.1.8",
157
- "qs": "6.16.0",
157
+ "qs": "6.16.1",
158
158
  "hono": "4.13.8",
159
159
  "nanoid": "3.3.18",
160
160
  "ip-address": "10.7.3",