hoi4-agent-tools 4.8.0 → 4.10.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 (93) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/hoi4_agent_tools/core/index.js +28 -0
  3. package/dist/hoi4_agent_tools/decision/service.js +39 -2
  4. package/dist/hoi4_agent_tools/event/graph.js +16 -2
  5. package/dist/hoi4_agent_tools/event/queries.js +25 -2
  6. package/dist/hoi4_agent_tools/event/service.js +66 -11
  7. package/dist/hoi4_agent_tools/event/source-analysis.js +35 -16
  8. package/dist/hoi4_agent_tools/impact/service.js +15 -0
  9. package/dist/hoi4_agent_tools/map/appearance-validation.js +14 -2
  10. package/dist/hoi4_agent_tools/map/gameplay/reachability.js +81 -0
  11. package/dist/hoi4_agent_tools/map/geography/resolve.js +6 -2
  12. package/dist/hoi4_agent_tools/map/operations.js +8 -0
  13. package/dist/hoi4_agent_tools/map/partition-tuning.js +2 -1
  14. package/dist/hoi4_agent_tools/map/reference-world.js +17 -3
  15. package/dist/hoi4_agent_tools/map/relief/painted-relief.js +143 -0
  16. package/dist/hoi4_agent_tools/map/relief/terrain-synthesis.js +13 -0
  17. package/dist/hoi4_agent_tools/map/tool-operations.js +41 -0
  18. package/dist/hoi4_agent_tools/map/world-edge.js +117 -15
  19. package/dist/hoi4_agent_tools/map/world.js +243 -34
  20. package/dist/hoi4_agent_tools/mcp/server/argument-errors.js +57 -9
  21. package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +1 -1
  22. package/dist/hoi4_agent_tools/mcp/server/request-lifecycle.js +1 -1
  23. package/dist/hoi4_agent_tools/mcp/tools/analysis.js +4 -2
  24. package/dist/hoi4_agent_tools/mcp/tools/event.js +13 -0
  25. package/dist/hoi4_agent_tools/mcp/tools/gui.js +1 -1
  26. package/dist/hoi4_agent_tools/mcp/tools/reference.js +25 -0
  27. package/dist/hoi4_agent_tools/probability/model.js +4 -4
  28. package/dist/hoi4_agent_tools/probability/operations.js +6 -0
  29. package/dist/hoi4_agent_tools/probability/service.js +23 -0
  30. package/dist/hoi4_agent_tools/reference/error-log.js +35 -1
  31. package/dist/hoi4_agent_tools/reference/operations.js +141 -14
  32. package/dist/hoi4_agent_tools/reference/script-validation.js +113 -2
  33. package/dist/hoi4_agent_tools/schemas/geography.js +5 -0
  34. package/dist/hoi4_agent_tools/schemas/ideas.js +4 -4
  35. package/dist/hoi4_agent_tools/schemas/map.js +61 -4
  36. package/dist/hoi4_agent_tools/schemas/script-validation.js +8 -1
  37. package/dist/hoi4_agent_tools/schemas/system.js +157 -0
  38. package/dist/hoi4_agent_tools/system/inspect.js +55 -0
  39. package/dist/hoi4_agent_tools/version.js +1 -1
  40. package/docs/analysis.md +2 -2
  41. package/docs/events.md +1 -1
  42. package/docs/map.md +31 -17
  43. package/docs/probability.md +1 -1
  44. package/docs/research/probability-adapter-evidence.md +15 -2
  45. package/docs/tools.md +49 -43
  46. package/engine/README.md +9 -0
  47. package/engine/bin/darwin-arm64/hoi4-engine +0 -0
  48. package/engine/bin/linux-arm64/hoi4-engine +0 -0
  49. package/engine/bin/linux-x64/hoi4-engine +0 -0
  50. package/engine/bin/manifest.json +8 -8
  51. package/engine/bin/win32-x64/hoi4-engine.exe +0 -0
  52. package/npm-shrinkwrap.json +2 -2
  53. package/package.json +1 -1
  54. package/schemas/configuration.schema.json +1 -1
  55. package/schemas/continuous-focus-palette.schema.json +1 -1
  56. package/schemas/custom-weighted-pool.schema.json +1 -1
  57. package/schemas/decision-inspect-input.schema.json +1 -1
  58. package/schemas/error-log-input.schema.json +1 -1
  59. package/schemas/event-feature-manifest.schema.json +1 -1
  60. package/schemas/focus-plan.schema.json +1 -1
  61. package/schemas/focus-planning-sidecar.schema.json +1 -1
  62. package/schemas/geography-model.schema.json +4 -1
  63. package/schemas/gui-animation-source.schema.json +1 -1
  64. package/schemas/gui-helper.schema.json +1 -1
  65. package/schemas/gui-scenario.schema.json +1 -1
  66. package/schemas/helper-expansion-request.schema.json +1 -1
  67. package/schemas/helper-expansion-summary.schema.json +1 -1
  68. package/schemas/impact-inspect-input.schema.json +1 -1
  69. package/schemas/map-operation.schema.json +234 -111
  70. package/schemas/mechanic-test-input.schema.json +1 -1
  71. package/schemas/mod-index-input.schema.json +1 -1
  72. package/schemas/operation-result.schema.json +1 -1
  73. package/schemas/package-check-input.schema.json +1 -1
  74. package/schemas/package-manifest.schema.json +1 -1
  75. package/schemas/probability-analysis-result.schema.json +1 -1
  76. package/schemas/probability-compare-input.schema.json +1 -1
  77. package/schemas/probability-evaluate-input.schema.json +1 -1
  78. package/schemas/probability-inspect-input.schema.json +1 -1
  79. package/schemas/probability-render-input.schema.json +1 -1
  80. package/schemas/probability-scenario-set.schema.json +1 -1
  81. package/schemas/probability-sequence-input.schema.json +1 -1
  82. package/schemas/probability-simulate-input.schema.json +1 -1
  83. package/schemas/probability-sweep-input.schema.json +1 -1
  84. package/schemas/reference-context-input.schema.json +1 -1
  85. package/schemas/reference-read-input.schema.json +1 -1
  86. package/schemas/reference-search-input.schema.json +1 -1
  87. package/schemas/reference-sheets.schema.json +1 -1
  88. package/schemas/scenario-suite.schema.json +1 -1
  89. package/schemas/scenario-test-input.schema.json +1 -1
  90. package/schemas/script-validate-input.schema.json +1 -1
  91. package/schemas/shared-scenario.schema.json +1 -1
  92. package/schemas/source-lookup-input.schema.json +1 -1
  93. package/server.json +2 -2
package/docs/tools.md CHANGED
@@ -15,17 +15,20 @@ MCP clients may ask for approval to create review files.
15
15
 
16
16
  ## References and source
17
17
 
18
- | Tool | Purpose | Writes |
19
- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ |
20
- | `hoi4.reference_context` | Get compact, cited wiki and installed documentation pointers for a modding surface. | — |
21
- | `hoi4.reference_search` | Search local documentation in plain words or script names; each result names its answering line. | — |
22
- | `hoi4.reference_read` | Read one revision-bound section: up to 80 lines (40 by default) and 8,000 bytes, with line continuation. | — |
23
- | `hoi4.source_lookup` | Find exact definitions, overrides and usages across game, DLC and mod, or the definition containing a file line. | — |
24
- | `hoi4.script_validate` | Check a snippet or a whole mod file for syntax, command kinds, and scopes against local documentation. | — |
25
- | `hoi4.error_log` | Group the game's `error.log` from its last launch by category, with the source file, line and layer, and whether that file changed since. | — |
26
- | `hoi4.mod_index` | Summarize the mod's descriptor and definitions, or find the next free numbered ID for an event namespace or prefix across every layer. | — |
27
- | `hoi4.localisation_inspect` | Read localisation in every language: one key per language with file, line and layer, or audit the mod for undefined, untranslated and duplicate keys and file problems. Runs on the Rust engine. | — |
28
- | `hoi4.idea_inspect` | Read an idea (picture, modifiers, conditions, name in every language, advisor) or a character (roles, traits, portraits), or audit every idea or character of the mod. Runs on the Rust engine. | — |
18
+ | Tool | Purpose | Writes |
19
+ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
20
+ | `hoi4.reference_context` | Get compact, cited wiki and installed documentation pointers for a modding surface. | — |
21
+ | `hoi4.reference_search` | Search local documentation in plain words or script names; each result names its answering line. | — |
22
+ | `hoi4.reference_read` | Read one revision-bound section: up to 80 lines (40 by default) and 8,000 bytes, with line continuation. | — |
23
+ | `hoi4.source_lookup` | Find exact definitions, overrides and usages across game, DLC and mod, or the definition containing a file line. | — |
24
+ | `hoi4.script_validate` | Check a snippet or a whole mod file for syntax, command kinds, and scopes against local documentation. | — |
25
+ | `hoi4.error_log` | Group the game's `error.log` from its last launch by category, with the source file, line and layer, and whether that file changed since. | — |
26
+ | `hoi4.mod_index` | Summarize the mod's descriptor and definitions, or find the next free numbered ID for an event namespace or prefix across every layer. | — |
27
+ | `hoi4.localisation_inspect` | Read localisation in every language: one key per language with file, line and layer, or audit the mod for undefined, untranslated and duplicate keys and file problems. Runs on the Rust engine. | — |
28
+ | `hoi4.idea_inspect` | Read an idea (picture, modifiers, conditions, name in every language, advisor) or a character (roles, traits, portraits), or audit every idea or character of the mod. Runs on the Rust engine. | — |
29
+ | `hoi4.system_inspect` | Read one definition of a newer system (an on_actions hook, a MIO or policy, a balance of power, a special project, reward, specialization or tag, an operation, phase or token, a raid or raid category) with its parts, each reference and whether something defines it, pictures and names in every language, or audit every one the mod makes. Runs on the Rust engine. | — |
30
+ | `hoi4.unit_inspect` | Read an order of battle (templates on the designer grid, divisions, fleets, air wings), a sub-unit, equipment or module (slots, default modules, upgrades), or an equipment variant, with each name it uses and whether something defines it, or audit every one the mod makes. The audit also finds `oob` and `set_oob` names no history/units file has. Runs on the Rust engine. | — |
31
+ | `hoi4.asset_inspect` | Read a sprite (its texture with size, format and mipmaps, and its frames), a sound, sound effect, category or music track (its audio file and the sounds it plays), or a flag (all three sizes), or audit every one the mod defines. The flag audit also finds country tags without any flag. Runs on the Rust engine. | — |
29
32
 
30
33
  ## Focus trees
31
34
 
@@ -112,38 +115,41 @@ Every tool description in `tools/list` ends with a call like these, and an inval
112
115
  Fields not shown take their defaults; `workspaceId` is `"current"` unless you pass one.
113
116
  The CI stdio smoke suite sends each of these shapes to a real server process.
114
117
 
115
- | Tool | Example arguments |
116
- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
117
- | `hoi4.reference_context` | `{"surface":"event","question":"fire an event after a delay"}` |
118
- | `hoi4.reference_search` | `{"query":"add_timed_idea"}` |
119
- | `hoi4.reference_read` | `{"id":"<hit id>","revision":"<hit revision>"}` from a search or context hit |
120
- | `hoi4.source_lookup` | `{"symbol":"my_scripted_effect"}` or `{"path":"events/my_events.txt","line":42}` |
121
- | `hoi4.script_validate` | `{"source":"add_political_power = 10","kind":"effect","scope":"country"}` or `{"path":"events/my_events.txt"}` |
122
- | `hoi4.error_log` | `{"scope":"mod","category":"effect"}` |
123
- | `hoi4.mod_index` | `{"mode":"overview"}` or `{"mode":"next_id","kind":"event","namespace":"my_mod"}` |
124
- | `hoi4.localisation_inspect` | `{"mode":"key","key":"my_event.1.t"}` or `{"mode":"audit"}` |
125
- | `hoi4.idea_inspect` | `{"kind":"idea","id":"my_idea"}` or `{"kind":"character","audit":true}` |
126
- | `hoi4.focus_inspect` | `{"treeId":"my_focus_tree"}` |
127
- | `hoi4.focus_render` | `{"relativePath":"common/national_focus/my_tree.txt","treeId":"my_focus_tree"}` |
128
- | `hoi4.focus_rewrite` | `{"relativePath":"common/national_focus/my_tree.txt","treeId":"my_focus_tree","layoutMode":"compact"}` |
129
- | `hoi4.gui_inspect` | `{"windowName":"my_window"}` |
130
- | `hoi4.gui_render` | `{"windowName":"my_window","scenario":{"id":"normal"}}` |
131
- | `hoi4.gui_rewrite` | `{"mode":"helpers","relativePath":"interface/my_window.gui","windowName":"my_window","scenario":{"id":"normal"},"helper":{…}}` |
132
- | `hoi4.map_inspect` | `{"query":"Brandenburg","lookupOnly":true}` or `{"layer":"state","tile":{"x":2600,"y":500,"width":256,"height":256}}` |
133
- | `hoi4.map_rewrite` | `{"operations":[{"id":"s1","kind":"create_state","provinceIds":[120,121],"displayName":"New State"}]}` |
134
- | `hoi4.event_inspect` | `{"mode":"trace","selector":"my_mod.1","direction":"downstream"}` |
135
- | `hoi4.event_render` | `{"view":"overview","selector":"my_mod"}` |
136
- | `hoi4.tech_inspect` | `{"mode":"explain","technologyId":"my_tech"}` |
137
- | `hoi4.tech_render` | `{"view":"folder","folderId":"my_folder"}` |
138
- | `hoi4.probability_inspect` | `{"candidatePool":["my_decision"],"scenarioSet":[{"actor":"GER","state":{"has_war":false}}]}` |
139
- | `hoi4.probability_analyze` | `{"analysis":"sweep","source":"common/decisions/my_decisions.txt","candidatePool":["my_decision"],"scenarioSet":[{"actor":"GER","state":{"variable.pressure":10}}],"sweep":{"paths":["variable.pressure"],"steps":10}}` |
140
- | `hoi4.impact_inspect` | `{"symbols":[{"kind":"scripted_effect","id":"my_effect"}]}` |
141
- | `hoi4.decision_inspect` | `{"mode":"inspect","id":"my_decision","scenarios":[{"id":"base","actor":"GER","state":{}}]}` |
142
- | `hoi4.mechanic_test` | `{"test":{"id":"t","scenario":{…},"steps":[…],"assertions":[…]}}`, see [Mechanic tests](mechanics.md) |
143
- | `hoi4.package_check` | `{"manifest":{"schemaVersion":"1.0","id":"my_package","definitions":[{"kind":"scripted_effect","id":"my_effect"}]}}` |
144
- | `hoi4.scenario_test` | `{"suitePath":"tests/my_suite.json","maxCases":20}` |
145
- | `hoi4.job_inspect` | `{"jobId":"job_<64 hex characters>"}` from a native task id |
146
- | `hoi4.job_cancel` | `{"jobId":"job_<64 hex characters>"}` |
118
+ | Tool | Example arguments |
119
+ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
120
+ | `hoi4.reference_context` | `{"surface":"event","question":"fire an event after a delay"}` |
121
+ | `hoi4.reference_search` | `{"query":"add_timed_idea"}` |
122
+ | `hoi4.reference_read` | `{"id":"<hit id>","revision":"<hit revision>"}` from a search or context hit |
123
+ | `hoi4.source_lookup` | `{"symbol":"my_scripted_effect"}` or `{"path":"events/my_events.txt","line":42}` |
124
+ | `hoi4.script_validate` | `{"source":"add_political_power = 10","kind":"effect","scope":"country"}` or `{"path":"events/my_events.txt"}` |
125
+ | `hoi4.error_log` | `{"scope":"mod","category":"effect"}` |
126
+ | `hoi4.mod_index` | `{"mode":"overview"}` or `{"mode":"next_id","kind":"event","namespace":"my_mod"}` |
127
+ | `hoi4.localisation_inspect` | `{"mode":"key","key":"my_event.1.t"}` or `{"mode":"audit"}` |
128
+ | `hoi4.idea_inspect` | `{"kind":"idea","id":"my_idea"}` or `{"kind":"character","audit":true}` |
129
+ | `hoi4.system_inspect` | `{"kind":"mio","id":"my_organization"}` or `{"kind":"on_actions","audit":true}` |
130
+ | `hoi4.unit_inspect` | `{"kind":"oob","id":"GER_1936"}` or `{"kind":"variant","audit":true}` |
131
+ | `hoi4.asset_inspect` | `{"kind":"sprite","id":"GFX_my_icon"}` or `{"kind":"flag","audit":true}` |
132
+ | `hoi4.focus_inspect` | `{"treeId":"my_focus_tree"}` |
133
+ | `hoi4.focus_render` | `{"relativePath":"common/national_focus/my_tree.txt","treeId":"my_focus_tree"}` |
134
+ | `hoi4.focus_rewrite` | `{"relativePath":"common/national_focus/my_tree.txt","treeId":"my_focus_tree","layoutMode":"compact"}` |
135
+ | `hoi4.gui_inspect` | `{"windowName":"my_window"}` |
136
+ | `hoi4.gui_render` | `{"windowName":"my_window","scenario":{"id":"normal"}}` |
137
+ | `hoi4.gui_rewrite` | `{"mode":"helpers","relativePath":"interface/my_window.gui","windowName":"my_window","scenario":{"id":"normal"},"helper":{"root":{"id":"my_window","kind":"column","name":"my_window","width":320,"height":200,"children":[]}}}` |
138
+ | `hoi4.map_inspect` | `{"query":"Brandenburg","lookupOnly":true}` or `{"layer":"state","tile":{"x":2600,"y":500,"width":256,"height":256}}` |
139
+ | `hoi4.map_rewrite` | `{"operations":[{"id":"s1","kind":"create_state","provinceIds":[120,121],"displayName":"New State"}]}` |
140
+ | `hoi4.event_inspect` | `{"mode":"trace","selector":"my_mod.1","direction":"downstream"}` |
141
+ | `hoi4.event_render` | `{"view":"overview","selector":"my_mod"}` |
142
+ | `hoi4.tech_inspect` | `{"mode":"explain","technologyId":"my_tech"}` |
143
+ | `hoi4.tech_render` | `{"view":"folder","folderId":"my_folder"}` |
144
+ | `hoi4.probability_inspect` | `{"candidatePool":["my_decision"],"scenarioSet":[{"actor":"GER","state":{"has_war":false}}]}` |
145
+ | `hoi4.probability_analyze` | `{"analysis":"sweep","source":"common/decisions/my_decisions.txt","candidatePool":["my_decision"],"scenarioSet":[{"actor":"GER","state":{"variable.pressure":10}}],"sweep":{"paths":["variable.pressure"],"steps":10}}` |
146
+ | `hoi4.impact_inspect` | `{"symbols":[{"kind":"scripted_effect","id":"my_effect"}]}` |
147
+ | `hoi4.decision_inspect` | `{"mode":"inspect","id":"my_decision","scenarios":[{"id":"base","actor":"GER","state":{}}]}` |
148
+ | `hoi4.mechanic_test` | `{"test":{"id":"t","scenario":{"schemaVersion":"1.0","id":"t","state":{}},"steps":[{"kind":"effect","source":{"kind":"scripted_effect","id":"e"}}],"assertions":[{"id":"a","kind":"conservation","paths":[{"key":"x"},{"key":"y"}]}]}}`, see [Mechanic tests](mechanics.md) |
149
+ | `hoi4.package_check` | `{"manifest":{"schemaVersion":"1.0","id":"my_package","definitions":[{"kind":"scripted_effect","id":"my_effect"}]}}` |
150
+ | `hoi4.scenario_test` | `{"suitePath":"tests/my_suite.json","maxCases":20}` |
151
+ | `hoi4.job_inspect` | `{"jobId":"job_<64 hex characters>"}` from a native task id |
152
+ | `hoi4.job_cancel` | `{"jobId":"job_<64 hex characters>"}` |
147
153
 
148
154
  ## Result sizes
149
155
 
package/engine/README.md CHANGED
@@ -39,6 +39,9 @@ hoi4-engine drawio sketch.drawio --prefix GER
39
39
  hoi4-engine focus-layout --request request.json
40
40
  hoi4-engine localisation --request request.json
41
41
  hoi4-engine ideas --request request.json
42
+ hoi4-engine system --request request.json
43
+ hoi4-engine units --request request.json
44
+ hoi4-engine assets --request request.json
42
45
  hoi4-engine texture <file or folder>... [--format text|json] [--output out.png]
43
46
  hoi4-engine focus-render [--game DIR] [--mod DIR] [--dependency DIR]... --output out.png [--request FILE]
44
47
  hoi4-engine serve
@@ -53,6 +56,12 @@ and writes its answer to stdout. It backs `hoi4.localisation_inspect`; see `crat
53
56
 
54
57
  `ideas` reads one JSON request with `game`, `mod`, `dependencies`, `includeDlc`, `kind` (`idea` or `character`), `id` or `audit`, and `limit`. It backs `hoi4.idea_inspect`; see `crates/engine/src/ideas.rs`.
55
58
 
59
+ `system` reads one JSON request with `game`, `mod`, `dependencies`, `includeDlc`, `kind` (`on_actions`, `mio`, `balance_of_power`, `special_project`, `operation` or `raid`), `id` or `audit`, and `limit`. It backs `hoi4.system_inspect`; see `crates/engine/src/system.rs`.
60
+
61
+ `units` reads the same request with `kind` `oob`, `sub_unit`, `equipment` (equipment and modules) or `variant`. It backs `hoi4.unit_inspect`; see `crates/engine/src/system/units.rs`.
62
+
63
+ `assets` reads the same request with `kind` `sprite`, `sound` (sounds, sound effects, categories and music) or `flag`. It backs `hoi4.asset_inspect`; see `crates/engine/src/assets.rs`.
64
+
56
65
  `--game` defaults to the `HOI4_GAME_DIR` environment variable. Without `--mod` the game itself is
57
66
  checked. `--dependency` adds a mod loaded before the checked one; repeat it in load order.
58
67
 
Binary file
Binary file
Binary file
@@ -4,23 +4,23 @@
4
4
  "binaries": {
5
5
  "darwin-arm64": {
6
6
  "file": "darwin-arm64/hoi4-engine",
7
- "sha256": "a4f149373732c99e3cedf879a8364e8d4e4072f448841d28d1a7cd11f1e7fc7f",
8
- "size": 3775040
7
+ "sha256": "d3e0b0e06aa93cc2039de9b82a022921993e45c0fbf94b39c9d83ac53b08a781",
8
+ "size": 4215168
9
9
  },
10
10
  "linux-arm64": {
11
11
  "file": "linux-arm64/hoi4-engine",
12
- "sha256": "d892fb924b864fa902668a76d9bf4005454ca760415213aab7fc902ef3770636",
13
- "size": 4054824
12
+ "sha256": "c391e2e541bc1da6a3e71b8cd21906edfe9b713985e4a34a26fa9d97b418d340",
13
+ "size": 4559512
14
14
  },
15
15
  "linux-x64": {
16
16
  "file": "linux-x64/hoi4-engine",
17
- "sha256": "a71b2c673ee007a28512ef84cede4714681faa023d025e776445a4101267e8dd",
18
- "size": 4397064
17
+ "sha256": "faf47c3b27da419e534e530871ae509a0c98b8b10dc23697f779029a78080720",
18
+ "size": 4927760
19
19
  },
20
20
  "win32-x64": {
21
21
  "file": "win32-x64/hoi4-engine.exe",
22
- "sha256": "e9171a5664629e71bb7a49a35b3e13f098de5cf5ecd685820fdd3dcb2f6dddc5",
23
- "size": 3631616
22
+ "sha256": "42b7ac7b2566399f118c5a97a17c6878de613b6ef4d4830628d9bad8a798f1ad",
23
+ "size": 4125184
24
24
  }
25
25
  }
26
26
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
- "version": "4.8.0",
3
+ "version": "4.10.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hoi4-agent-tools",
9
- "version": "4.8.0",
9
+ "version": "4.10.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@fontsource-variable/roboto": "5.3.0",
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.8.0",
4
+ "version": "4.10.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",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.8.0/schemas/configuration.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/continuous-focus-palette.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/custom-weighted-pool.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/decision-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/error-log-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/error-log-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.8.0/schemas/event-feature-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/focus-plan.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/focus-planning-sidecar.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/geography-model.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/geography-model.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -387,6 +387,9 @@
387
387
  }
388
388
  },
389
389
  "additionalProperties": false
390
+ },
391
+ "impassable": {
392
+ "type": "boolean"
390
393
  }
391
394
  },
392
395
  "required": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.8.0/schemas/gui-animation-source.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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/v4.8.0/schemas/gui-helper.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.8.0/schemas/gui-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/gui-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.8.0/schemas/helper-expansion-request.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.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": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.8.0/schemas/helper-expansion-summary.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/helper-expansion-summary.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.8.0/schemas/impact-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.10.0/schemas/impact-inspect-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {