hoi4-agent-tools 4.21.0 → 4.22.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 (100) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +2 -0
  3. package/dist/bin/setup.js +1 -0
  4. package/dist/bin/stdio.js +1 -0
  5. package/dist/hoi4_agent_tools/common-write/documented-lists.js +62 -0
  6. package/dist/hoi4_agent_tools/common-write/limits.js +35 -0
  7. package/dist/hoi4_agent_tools/common-write/paths.js +17 -0
  8. package/dist/hoi4_agent_tools/common-write/write-job-operations.js +42 -0
  9. package/dist/hoi4_agent_tools/common-write/write-operations.js +360 -0
  10. package/dist/hoi4_agent_tools/common-write/write-plan.js +34 -0
  11. package/dist/hoi4_agent_tools/core/domain-tools.js +8 -0
  12. package/dist/hoi4_agent_tools/core/job-controls.js +12 -2
  13. package/dist/hoi4_agent_tools/core/job-executor.js +8 -7
  14. package/dist/hoi4_agent_tools/core/job-operation-registration.js +4 -0
  15. package/dist/hoi4_agent_tools/core/job-store.js +97 -5
  16. package/dist/hoi4_agent_tools/core/job-worker-host.js +2 -2
  17. package/dist/hoi4_agent_tools/core/operation-result.js +118 -33
  18. package/dist/hoi4_agent_tools/core/operation-tasks.js +1 -1
  19. package/dist/hoi4_agent_tools/core/workspace.js +11 -1
  20. package/dist/hoi4_agent_tools/country/job-operations.js +42 -0
  21. package/dist/hoi4_agent_tools/country/write-operations.js +646 -0
  22. package/dist/hoi4_agent_tools/country/write-plan.js +28 -0
  23. package/dist/hoi4_agent_tools/map/engine-validation.js +1 -1
  24. package/dist/hoi4_agent_tools/map/landmass-source.js +42 -0
  25. package/dist/hoi4_agent_tools/map/landmass.js +190 -0
  26. package/dist/hoi4_agent_tools/map/operations.js +20 -6
  27. package/dist/hoi4_agent_tools/map/references.js +6 -3
  28. package/dist/hoi4_agent_tools/map/service.js +88 -8
  29. package/dist/hoi4_agent_tools/mcp/server/argument-errors.js +2 -0
  30. package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +1 -1
  31. package/dist/hoi4_agent_tools/mcp/server/create.js +4 -0
  32. package/dist/hoi4_agent_tools/mcp/server/task-tool-catalog.js +4 -0
  33. package/dist/hoi4_agent_tools/mcp/tools/common-write.js +21 -0
  34. package/dist/hoi4_agent_tools/mcp/tools/country-write.js +21 -0
  35. package/dist/hoi4_agent_tools/mcp/tools/map.js +1 -1
  36. package/dist/hoi4_agent_tools/mcp/transports/http.js +2 -0
  37. package/dist/hoi4_agent_tools/runtime.js +79 -1
  38. package/dist/hoi4_agent_tools/schemas/character-write.js +5 -1
  39. package/dist/hoi4_agent_tools/schemas/common-write.js +74 -0
  40. package/dist/hoi4_agent_tools/schemas/country-write.js +206 -0
  41. package/dist/hoi4_agent_tools/schemas/decision-write.js +5 -1
  42. package/dist/hoi4_agent_tools/schemas/doctrine-write.js +5 -1
  43. package/dist/hoi4_agent_tools/schemas/event-write.js +5 -1
  44. package/dist/hoi4_agent_tools/schemas/idea-write.js +5 -1
  45. package/dist/hoi4_agent_tools/schemas/landmass.js +129 -0
  46. package/dist/hoi4_agent_tools/schemas/localisation-write.js +10 -1
  47. package/dist/hoi4_agent_tools/schemas/map-requests.js +1 -1
  48. package/dist/hoi4_agent_tools/schemas/map.js +2 -0
  49. package/dist/hoi4_agent_tools/schemas/tech-write.js +5 -1
  50. package/dist/hoi4_agent_tools/version.js +1 -1
  51. package/docs/jobs.md +2 -2
  52. package/docs/setup.md +1 -0
  53. package/docs/tools.md +16 -2
  54. package/engine/bin/darwin-arm64/hoi4-engine +0 -0
  55. package/engine/bin/linux-arm64/hoi4-engine +0 -0
  56. package/engine/bin/linux-x64/hoi4-engine +0 -0
  57. package/engine/bin/manifest.json +8 -8
  58. package/engine/bin/win32-x64/hoi4-engine.exe +0 -0
  59. package/npm-shrinkwrap.json +43 -19
  60. package/package.json +1 -1
  61. package/schemas/configuration.schema.json +1 -1
  62. package/schemas/continuous-focus-palette.schema.json +1 -1
  63. package/schemas/custom-weighted-pool.schema.json +1 -1
  64. package/schemas/decision-inspect-input.schema.json +1 -1
  65. package/schemas/error-log-input.schema.json +1 -1
  66. package/schemas/event-feature-manifest.schema.json +1 -1
  67. package/schemas/focus-plan.schema.json +1 -1
  68. package/schemas/focus-planning-sidecar.schema.json +1 -1
  69. package/schemas/geography-model.schema.json +1 -1
  70. package/schemas/gui-animation-source.schema.json +1 -1
  71. package/schemas/gui-helper.schema.json +1 -1
  72. package/schemas/gui-scenario.schema.json +1 -1
  73. package/schemas/helper-expansion-request.schema.json +1 -1
  74. package/schemas/helper-expansion-summary.schema.json +1 -1
  75. package/schemas/impact-inspect-input.schema.json +1 -1
  76. package/schemas/map-operation.schema.json +354 -1
  77. package/schemas/mechanic-test-input.schema.json +1 -1
  78. package/schemas/mod-index-input.schema.json +1 -1
  79. package/schemas/operation-result.schema.json +1 -1
  80. package/schemas/package-check-input.schema.json +1 -1
  81. package/schemas/package-manifest.schema.json +1 -1
  82. package/schemas/probability-analysis-result.schema.json +1 -1
  83. package/schemas/probability-compare-input.schema.json +1 -1
  84. package/schemas/probability-evaluate-input.schema.json +1 -1
  85. package/schemas/probability-inspect-input.schema.json +1 -1
  86. package/schemas/probability-render-input.schema.json +1 -1
  87. package/schemas/probability-scenario-set.schema.json +1 -1
  88. package/schemas/probability-sequence-input.schema.json +1 -1
  89. package/schemas/probability-simulate-input.schema.json +1 -1
  90. package/schemas/probability-sweep-input.schema.json +1 -1
  91. package/schemas/reference-context-input.schema.json +1 -1
  92. package/schemas/reference-read-input.schema.json +1 -1
  93. package/schemas/reference-search-input.schema.json +1 -1
  94. package/schemas/reference-sheets.schema.json +1 -1
  95. package/schemas/scenario-suite.schema.json +1 -1
  96. package/schemas/scenario-test-input.schema.json +1 -1
  97. package/schemas/script-validate-input.schema.json +1 -1
  98. package/schemas/shared-scenario.schema.json +1 -1
  99. package/schemas/source-lookup-input.schema.json +1 -1
  100. package/server.json +2 -2
@@ -11,7 +11,11 @@ export const techWriteRequestSchema = z
11
11
  /** add only: create the file named by file when the mod has no such common/technologies file. */
12
12
  createFile: z.boolean().optional(),
13
13
  /** The text between the technology braces. Required by add and replace, refused by remove. */
14
- body: z.string().max(32_000).optional(),
14
+ body: z
15
+ .string()
16
+ .max(32_000)
17
+ .optional()
18
+ .describe('Only the text between the technology braces, not the whole tech_id = {...} block.'),
15
19
  /** The common/technologies file. Omit it for replace and remove, and for an add when the mod has one technologynologies file. */
16
20
  file: workspaceRelativePathSchema.max(512).optional(),
17
21
  apply: z
@@ -1,6 +1,6 @@
1
1
  import { LATEST_PROTOCOL_VERSION } from '@modelcontextprotocol/sdk/types.js';
2
2
  export const PACKAGE_NAME = 'hoi4-agent-tools';
3
- export const PACKAGE_VERSION = '4.21.0';
3
+ export const PACKAGE_VERSION = '4.22.0';
4
4
  export const MCP_PROTOCOL_VERSION = LATEST_PROTOCOL_VERSION;
5
5
  export const CONFIG_VERSION = 1;
6
6
  export const TRANSACTION_VERSION = 2;
package/docs/jobs.md CHANGED
@@ -15,14 +15,14 @@ A modern native task handoff ends that request's heartbeat without declaring the
15
15
 
16
16
  ## Supported tools
17
17
 
18
- Optional tasks are available for all 20 domain tools; the 7 reference tools and the 2 job tools always answer in the foreground.
18
+ Optional tasks are available for all 27 domain tools; the 7 reference tools and the 2 job tools always answer in the foreground.
19
19
 
20
20
  - `hoi4.event_inspect` and `hoi4.event_render`
21
21
  - `hoi4.impact_inspect`, `hoi4.decision_inspect`, `hoi4.mechanic_test`, `hoi4.package_check`, and `hoi4.scenario_test`
22
22
  - `hoi4.tech_inspect` and `hoi4.tech_render`
23
23
  - `hoi4.probability_inspect` and `hoi4.probability_analyze`
24
24
  - `hoi4.map_inspect` and `hoi4.map_rewrite`
25
- - `hoi4.localisation_write`, `hoi4.idea_write`, `hoi4.character_write`, `hoi4.event_write`, `hoi4.decision_write`, `hoi4.tech_write` and `hoi4.doctrine_write`
25
+ - `hoi4.localisation_write`, `hoi4.idea_write`, `hoi4.character_write`, `hoi4.country_write`, `hoi4.event_write`, `hoi4.decision_write`, `hoi4.tech_write`, `hoi4.doctrine_write` and `hoi4.common_write`
26
26
  - `hoi4.gui_inspect`, `hoi4.gui_render`, and `hoi4.gui_rewrite`
27
27
  - `hoi4.focus_inspect`, `hoi4.focus_render`, and `hoi4.focus_rewrite`
28
28
 
package/docs/setup.md CHANGED
@@ -31,6 +31,7 @@ The command prints four alternatives:
31
31
  | `codexToml` | Codex `config.toml` through `npx` |
32
32
 
33
33
  Copy one of them into your MCP client; the printed command is correct for your platform.
34
+ The entries list only the `core` tools until you [choose more tool profiles](#choose-tool-profiles).
34
35
  The Codex entries also set `startup_timeout_sec = 120`, `tool_timeout_sec = 600` and an idle limit, because the first scan of a large mod and long renders exceed Codex's default timeouts.
35
36
  The [client examples](../examples/clients) show the same entries without your paths.
36
37
 
package/docs/tools.md CHANGED
@@ -58,6 +58,12 @@ A test fails when this page differs from `tools/list`, so edit the tool descript
58
58
  | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
59
59
  | `hoi4.character_write` | Add, replace or remove one character in a mod common/characters file, touching only that block. add needs body (the text between the braces: name, portraits, country_leader, advisor, unit leaders); replace and remove find the character. apply false returns the diff; true writes it. createFile (add only) makes a missing file. Warns about a missing name localisation key or portrait sprite. | mod files |
60
60
 
61
+ ## Countries
62
+
63
+ | Tool | Purpose | Writes |
64
+ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
65
+ | `hoi4.country_write` | Add, update or remove one mod country in one write: tag line, country file, colors.txt, history, localisation names and an optional bookmark entry. add needs name, graphicalCulture, color and history; update changes only what is given; remove refuses while mod files name the tag. Warns about missing flags or text. apply false returns diffs. | mod files |
66
+
61
67
  ## Decisions
62
68
 
63
69
  | Tool | Purpose | Writes |
@@ -85,7 +91,7 @@ A test fails when this page differs from `tools/list`, so edit the tool descript
85
91
  | Tool | Purpose | Writes |
86
92
  | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
87
93
  | `hoi4.map_inspect` | Explore and preview the map. Find provinces, states and regions by name, ID or coordinates, inspect map problems and script references, or render a layer, tile or area. Use lookupOnly for a quick lookup and references:true for script references. | review files |
88
- | `hoi4.map_rewrite` | Build a world from a reference image or a geography model (geography, geographyPath), or edit provinces, states, regions and supply. | mod files |
94
+ | `hoi4.map_rewrite` | Build a world from a reference image or geography model (geography, geographyPath), add an island to the map (add_landmass), or edit provinces, states, regions and supply. | mod files |
89
95
 
90
96
  ## Events
91
97
 
@@ -104,6 +110,12 @@ A test fails when this page differs from `tools/list`, so edit the tool descript
104
110
  | `hoi4.tech_write` | Add, replace or remove one technology in a mod common/technologies file, touching only that block. add needs body (the text between the braces); replace (also a move in the tree) and remove find the technology by id. apply false returns the diff; true writes it. createFile (add only) makes a missing file. Warns about missing localisation, icon, folder or unlock; apply refuses an undefined folder. | mod files |
105
111
  | `hoi4.doctrine_write` | Add, replace or remove one grand doctrine, track or subdoctrine in a mod common/doctrines file, touching only that block. add needs kind (grand_doctrine, track or subdoctrine) unless file says where, and body (the text between the braces); replace and remove find the doctrine by id. apply false returns the diff; true writes it. createFile (add only) makes a missing file. Warns about a missing name, icon, folder or track. | mod files |
106
112
 
113
+ ## Balance of power, AI and on_actions
114
+
115
+ | Tool | Purpose | Writes |
116
+ | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
117
+ | `hoi4.common_write` | Add, replace or remove one definition in a mod common file, touching only that block: kind bop, ai_strategy, ai_strategy_plan or on_action. body is raw script, the text between the braces; it must parse and is written as given. on_action add appends to the key; blockIndex picks one child block. apply false returns the diff. A bop whose ranges do not cover -1 to 1 once is refused. | mod files |
118
+
107
119
  ## AI weights and timing
108
120
 
109
121
  | Tool | Purpose | Writes |
@@ -180,6 +192,7 @@ The CI stdio smoke suite sends each of these shapes to a real server process.
180
192
  | `hoi4.localisation_write` | `{"mode":"add","entries":[{"key":"my_focus","text":"My focus"}]}` |
181
193
  | `hoi4.idea_write` | `{"operation":"add","id":"my_spirit","category":"country","body":"picture = my_spirit"}` |
182
194
  | `hoi4.character_write` | `{"operation":"add","id":"TAG_jane_doe","body":"name = TAG_jane_doe"}` |
195
+ | `hoi4.country_write` | `{"operation":"update","tag":"ABC","history":{"capital":5,"stability":0.6},"apply":false}` |
183
196
  | `hoi4.decision_write` | `{"operation":"add","id":"my_decision","category":"my_category","body":"icon = generic_research"}` |
184
197
  | `hoi4.focus_inspect` | `{"treeId":"my_focus_tree"}` |
185
198
  | `hoi4.focus_render` | `{"relativePath":"common/national_focus/my_tree.txt","treeId":"my_focus_tree"}` |
@@ -196,6 +209,7 @@ The CI stdio smoke suite sends each of these shapes to a real server process.
196
209
  | `hoi4.tech_render` | `{"view":"folder","folderId":"my_folder"}` |
197
210
  | `hoi4.tech_write` | `{"operation":"add","id":"my_tech","body":"research_cost = 1.5 start_year = 1936"}` |
198
211
  | `hoi4.doctrine_write` | `{"operation":"add","kind":"track","id":"my_track","body":"name = my_track"}` |
212
+ | `hoi4.common_write` | `{"kind":"ai_strategy","operation":"remove","id":"my_strategy"}` |
199
213
  | `hoi4.probability_inspect` | `{"candidatePool":["my_decision"],"scenarioSet":[{"actor":"GER","state":{"has_war":false}}]}` |
200
214
  | `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}}` |
201
215
  | `hoi4.impact_inspect` | `{"symbols":[{"kind":"scripted_effect","id":"my_effect"}]}` |
@@ -228,7 +242,7 @@ Archive images you need to keep rather than relying on temporary server storage.
228
242
 
229
243
  ## Longer operations
230
244
 
231
- All 20 domain tools accept negotiated MCP tasks, so a client that supports tasks can retrieve a long operation after reconnecting.
245
+ All 27 domain tools accept negotiated MCP tasks, so a client that supports tasks can retrieve a long operation after reconnecting.
232
246
  The 7 reference tools and the 2 job tools always answer in the foreground.
233
247
  Other clients receive the ordinary synchronous result.
234
248
  Use `hoi4.job_inspect` to inspect an authorized job or retrieve its result, and `hoi4.job_cancel` to request cancellation.
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": "7129d97a7eca7ceeabc4f67bdb98e4a53f4fcb9ffb0ddf829f6f84aa56ab5e41",
8
- "size": 12606080
7
+ "sha256": "a4635bbda4a0c63ab2f560c3edfb771c46a9388aa051180e8166ad009e002c3f",
8
+ "size": 14651216
9
9
  },
10
10
  "linux-arm64": {
11
11
  "file": "linux-arm64/hoi4-engine",
12
- "sha256": "17f504a2da464c598fe4b1561910ed650eb00f52238d7fcc10cc6800a0bb7acc",
13
- "size": 13723152
12
+ "sha256": "7a8f96687fed832ecc3372b8666ccca1acf4fce9c97a53214a5b67c8ba186a41",
13
+ "size": 15901696
14
14
  },
15
15
  "linux-x64": {
16
16
  "file": "linux-x64/hoi4-engine",
17
- "sha256": "ca4ed02d1e4686c7b1f193e7505dcdaf2e7095614e81e1e64a38c548e2b0ca36",
18
- "size": 15286720
17
+ "sha256": "298782a02c18c60282727c532830e9aa429111ec8d36a2e3088cad3f55594a55",
18
+ "size": 17819896
19
19
  },
20
20
  "win32-x64": {
21
21
  "file": "win32-x64/hoi4-engine.exe",
22
- "sha256": "84cf6bfa9f6abaa6bcee4e157edb37881b71c2f9baa0cb99d15585b23a7872fe",
23
- "size": 13414912
22
+ "sha256": "6fb7e7d544cb9b826fc39e81787bba39ba0aa67a10bc13cf0a4b359421634681",
23
+ "size": 16133120
24
24
  }
25
25
  }
26
26
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
- "version": "4.21.0",
3
+ "version": "4.22.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "hoi4-agent-tools",
9
- "version": "4.21.0",
9
+ "version": "4.22.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@fontsource-variable/roboto": "5.3.0",
@@ -624,20 +624,37 @@
624
624
  }
625
625
  },
626
626
  "node_modules/@eslint/config-array": {
627
- "version": "0.23.5",
628
- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz",
629
- "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==",
627
+ "version": "0.23.7",
628
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.7.tgz",
629
+ "integrity": "sha512-Ix1tmZjA7/OmE7ROAfORe83hVnqlDzLpZVHFjHQt5mvLm1U03qMexpaxKqFIL362QV32SoPaZqmKQr3tdqFY2w==",
630
630
  "dev": true,
631
631
  "license": "Apache-2.0",
632
632
  "dependencies": {
633
633
  "@eslint/object-schema": "^3.0.5",
634
634
  "debug": "^4.3.1",
635
- "minimatch": "^10.2.4"
635
+ "minimatch": "^11.0.5"
636
636
  },
637
637
  "engines": {
638
638
  "node": "^20.19.0 || ^22.13.0 || >=24"
639
639
  }
640
640
  },
641
+ "node_modules/@eslint/config-array/node_modules/minimatch": {
642
+ "version": "11.0.10",
643
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.10.tgz",
644
+ "integrity": "sha512-L3/cjhQ5E6lft0VCp/2mO3Ic74RnutKy3rz7iGwp/6w1hKcO262g2rbfacFyw6eBig5OdI0nu5PpuA0/WQs9Tw==",
645
+ "dev": true,
646
+ "license": "BlueOak-1.0.0",
647
+ "dependencies": {
648
+ "@isaacs/nonrecursive-glob-match": "^1.1.0",
649
+ "brace-expansion": "^5.0.12"
650
+ },
651
+ "engines": {
652
+ "node": "20 || >=22"
653
+ },
654
+ "funding": {
655
+ "url": "https://github.com/sponsors/isaacs"
656
+ }
657
+ },
641
658
  "node_modules/@eslint/config-helpers": {
642
659
  "version": "0.7.0",
643
660
  "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz",
@@ -719,15 +736,15 @@
719
736
  }
720
737
  },
721
738
  "node_modules/@hono/node-server": {
722
- "version": "2.1.3",
723
- "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.3.tgz",
724
- "integrity": "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==",
739
+ "version": "2.1.11",
740
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.11.tgz",
741
+ "integrity": "sha512-KzKz9vl4vvr1vgLHamj+g5uonbrj5NwAdO3yzOS6cd2HjALVeOgTgeZOyAzNxejbkfOOPIcvuf/Tg8l1pEFLog==",
725
742
  "license": "MIT",
726
743
  "engines": {
727
744
  "node": ">=20"
728
745
  },
729
746
  "peerDependencies": {
730
- "hono": "^4"
747
+ "hono": "^4 || ^5.0.0-0"
731
748
  }
732
749
  },
733
750
  "node_modules/@humanfs/core": {
@@ -1296,6 +1313,13 @@
1296
1313
  "url": "https://opencollective.com/libvips"
1297
1314
  }
1298
1315
  },
1316
+ "node_modules/@isaacs/nonrecursive-glob-match": {
1317
+ "version": "1.1.0",
1318
+ "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
1319
+ "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
1320
+ "dev": true,
1321
+ "license": "BlueOak-1.0.0"
1322
+ },
1299
1323
  "node_modules/@jridgewell/resolve-uri": {
1300
1324
  "version": "3.1.2",
1301
1325
  "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
@@ -1753,9 +1777,9 @@
1753
1777
  }
1754
1778
  },
1755
1779
  "node_modules/@modelcontextprotocol/node/node_modules/@hono/node-server": {
1756
- "version": "1.19.17",
1757
- "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.17.tgz",
1758
- "integrity": "sha512-dSneS5qhiauZWGDCeK4o695Xd9nUNjviSZCMQrj10eetr8Uln1ucn6bbphOM6UynAMMtNIzZNSpL9vnASJwrPQ==",
1780
+ "version": "1.19.19",
1781
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.19.tgz",
1782
+ "integrity": "sha512-Fy9R7PACOzHU9LDpfnuzVyuVYevKQRcEG2mZhmfc+DRdmayEd3RVfa2XOt2IgGcPNgA77Yk63KBszepcMFK5Ng==",
1759
1783
  "license": "MIT",
1760
1784
  "engines": {
1761
1785
  "node": ">=18.14.1"
@@ -3498,9 +3522,9 @@
3498
3522
  }
3499
3523
  },
3500
3524
  "node_modules/cross-spawn": {
3501
- "version": "7.0.6",
3502
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
3503
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
3525
+ "version": "7.1.2",
3526
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.1.2.tgz",
3527
+ "integrity": "sha512-8BPK2r+sKWC8sDinRwLwrFMq2lXTBBwzYYEB9LiCznfMurOi4FOvQflq3XOLGG+HPdMSVpe+k/s96+AtDEOgPg==",
3504
3528
  "license": "MIT",
3505
3529
  "dependencies": {
3506
3530
  "path-key": "^3.1.0",
@@ -7134,9 +7158,9 @@
7134
7158
  "license": "ISC"
7135
7159
  },
7136
7160
  "node_modules/ws": {
7137
- "version": "8.21.3",
7138
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",
7139
- "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",
7161
+ "version": "8.23.1",
7162
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.23.1.tgz",
7163
+ "integrity": "sha512-1rzWDSN0NOi3tpwgHsQExjWRoKUGtjCkJ2gZRaaRtzhYLboMytOI9pj9PU7yCgY37auqdd4OyLofZDbkeuZmPA==",
7140
7164
  "dev": true,
7141
7165
  "license": "MIT",
7142
7166
  "engines": {
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.21.0",
4
+ "version": "4.22.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.21.0/schemas/configuration.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/continuous-focus-palette.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/custom-weighted-pool.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/decision-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/error-log-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/event-feature-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/focus-plan.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/focus-planning-sidecar.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/geography-model.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.0/schemas/geography-model.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.21.0/schemas/gui-animation-source.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/gui-helper.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/gui-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/helper-expansion-request.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/helper-expansion-summary.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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.21.0/schemas/impact-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.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": {