hoi4-agent-tools 4.21.0 → 4.22.1
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.
- package/CHANGELOG.md +34 -0
- package/README.md +3 -1
- package/dist/bin/setup.js +1 -0
- package/dist/bin/stdio.js +1 -0
- package/dist/hoi4_agent_tools/common-write/documented-lists.js +62 -0
- package/dist/hoi4_agent_tools/common-write/limits.js +35 -0
- package/dist/hoi4_agent_tools/common-write/paths.js +17 -0
- package/dist/hoi4_agent_tools/common-write/write-job-operations.js +42 -0
- package/dist/hoi4_agent_tools/common-write/write-operations.js +360 -0
- package/dist/hoi4_agent_tools/common-write/write-plan.js +34 -0
- package/dist/hoi4_agent_tools/core/bounded-source.js +1 -1
- package/dist/hoi4_agent_tools/core/domain-tools.js +8 -0
- package/dist/hoi4_agent_tools/core/engine-client.js +3 -1
- package/dist/hoi4_agent_tools/core/image-diff.js +1 -1
- package/dist/hoi4_agent_tools/core/job-controls.js +12 -2
- package/dist/hoi4_agent_tools/core/job-executor.js +8 -7
- package/dist/hoi4_agent_tools/core/job-operation-registration.js +4 -0
- package/dist/hoi4_agent_tools/core/job-store.js +97 -5
- package/dist/hoi4_agent_tools/core/job-worker-host.js +2 -2
- package/dist/hoi4_agent_tools/core/lazy-native.js +26 -0
- package/dist/hoi4_agent_tools/core/operation-result.js +118 -33
- package/dist/hoi4_agent_tools/core/operation-tasks.js +1 -1
- package/dist/hoi4_agent_tools/core/svg-text.js +1 -1
- package/dist/hoi4_agent_tools/core/workspace.js +11 -1
- package/dist/hoi4_agent_tools/country/job-operations.js +42 -0
- package/dist/hoi4_agent_tools/country/write-operations.js +646 -0
- package/dist/hoi4_agent_tools/country/write-plan.js +28 -0
- package/dist/hoi4_agent_tools/event/render.js +1 -1
- package/dist/hoi4_agent_tools/focus/continuous-render.js +1 -1
- package/dist/hoi4_agent_tools/focus/game-view-output.js +1 -1
- package/dist/hoi4_agent_tools/focus/limits.js +3 -0
- package/dist/hoi4_agent_tools/focus/quality/schematic.js +1 -1
- package/dist/hoi4_agent_tools/focus/render.js +3 -3
- package/dist/hoi4_agent_tools/gui/assets.js +2 -2
- package/dist/hoi4_agent_tools/gui/limits.js +2 -0
- package/dist/hoi4_agent_tools/gui/renderer.js +1 -1
- package/dist/hoi4_agent_tools/gui/studio.js +2 -4
- package/dist/hoi4_agent_tools/map/engine-validation.js +1 -1
- package/dist/hoi4_agent_tools/map/geography/preview.js +1 -1
- package/dist/hoi4_agent_tools/map/landmass-source.js +42 -0
- package/dist/hoi4_agent_tools/map/landmass.js +190 -0
- package/dist/hoi4_agent_tools/map/operations.js +20 -6
- package/dist/hoi4_agent_tools/map/reference-import.js +1 -1
- package/dist/hoi4_agent_tools/map/reference-labels.js +1 -1
- package/dist/hoi4_agent_tools/map/reference-preparation.js +1 -1
- package/dist/hoi4_agent_tools/map/reference-world.js +1 -1
- package/dist/hoi4_agent_tools/map/references.js +6 -3
- package/dist/hoi4_agent_tools/map/render.js +1 -1
- package/dist/hoi4_agent_tools/map/service.js +88 -8
- package/dist/hoi4_agent_tools/map/world-preview.js +1 -1
- package/dist/hoi4_agent_tools/mcp/server/argument-errors.js +2 -0
- package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +1 -1
- package/dist/hoi4_agent_tools/mcp/server/create.js +4 -0
- package/dist/hoi4_agent_tools/mcp/server/task-tool-catalog.js +4 -0
- package/dist/hoi4_agent_tools/mcp/tools/common-write.js +21 -0
- package/dist/hoi4_agent_tools/mcp/tools/country-write.js +21 -0
- package/dist/hoi4_agent_tools/mcp/tools/focus.js +3 -2
- package/dist/hoi4_agent_tools/mcp/tools/map.js +1 -1
- package/dist/hoi4_agent_tools/mcp/transports/http.js +2 -0
- package/dist/hoi4_agent_tools/probability/render.js +1 -1
- package/dist/hoi4_agent_tools/reference/known-mistakes.js +65 -0
- package/dist/hoi4_agent_tools/reference/known-mistakes.json +19 -0
- package/dist/hoi4_agent_tools/reference/operations.js +15 -2
- package/dist/hoi4_agent_tools/runtime.js +79 -1
- package/dist/hoi4_agent_tools/schemas/character-write.js +5 -1
- package/dist/hoi4_agent_tools/schemas/common-write.js +74 -0
- package/dist/hoi4_agent_tools/schemas/country-write.js +206 -0
- package/dist/hoi4_agent_tools/schemas/decision-write.js +5 -1
- package/dist/hoi4_agent_tools/schemas/doctrine-write.js +5 -1
- package/dist/hoi4_agent_tools/schemas/event-write.js +5 -1
- package/dist/hoi4_agent_tools/schemas/focus-requests.js +1 -1
- package/dist/hoi4_agent_tools/schemas/gui-requests.js +2 -1
- package/dist/hoi4_agent_tools/schemas/idea-write.js +5 -1
- package/dist/hoi4_agent_tools/schemas/landmass.js +129 -0
- package/dist/hoi4_agent_tools/schemas/localisation-write.js +10 -1
- package/dist/hoi4_agent_tools/schemas/map-requests.js +1 -1
- package/dist/hoi4_agent_tools/schemas/map.js +2 -0
- package/dist/hoi4_agent_tools/schemas/tech-write.js +5 -1
- package/dist/hoi4_agent_tools/technology/render.js +1 -1
- package/dist/hoi4_agent_tools/version.js +1 -1
- package/docs/focus.md +1 -1
- package/docs/jobs.md +2 -2
- package/docs/reference.md +10 -9
- package/docs/setup.md +13 -1
- package/docs/tools.md +16 -2
- package/engine/bin/darwin-arm64/hoi4-engine +0 -0
- package/engine/bin/darwin-x64/hoi4-engine +0 -0
- package/engine/bin/linux-arm64/hoi4-engine +0 -0
- package/engine/bin/linux-x64/hoi4-engine +0 -0
- package/engine/bin/manifest.json +13 -8
- package/engine/bin/win32-x64/hoi4-engine.exe +0 -0
- package/npm-shrinkwrap.json +43 -19
- package/package.json +1 -1
- package/schemas/configuration.schema.json +1 -1
- package/schemas/continuous-focus-palette.schema.json +1 -1
- package/schemas/custom-weighted-pool.schema.json +1 -1
- package/schemas/decision-inspect-input.schema.json +1 -1
- package/schemas/error-log-input.schema.json +1 -1
- package/schemas/event-feature-manifest.schema.json +1 -1
- package/schemas/focus-plan.schema.json +1 -1
- package/schemas/focus-planning-sidecar.schema.json +1 -1
- package/schemas/geography-model.schema.json +1 -1
- package/schemas/gui-animation-source.schema.json +1 -1
- package/schemas/gui-helper.schema.json +1 -1
- package/schemas/gui-scenario.schema.json +1 -1
- package/schemas/helper-expansion-request.schema.json +1 -1
- package/schemas/helper-expansion-summary.schema.json +1 -1
- package/schemas/impact-inspect-input.schema.json +1 -1
- package/schemas/map-operation.schema.json +354 -1
- package/schemas/mechanic-test-input.schema.json +1 -1
- package/schemas/mod-index-input.schema.json +1 -1
- package/schemas/operation-result.schema.json +1 -1
- package/schemas/package-check-input.schema.json +1 -1
- package/schemas/package-manifest.schema.json +1 -1
- package/schemas/probability-analysis-result.schema.json +1 -1
- package/schemas/probability-compare-input.schema.json +1 -1
- package/schemas/probability-evaluate-input.schema.json +1 -1
- package/schemas/probability-inspect-input.schema.json +1 -1
- package/schemas/probability-render-input.schema.json +1 -1
- package/schemas/probability-scenario-set.schema.json +1 -1
- package/schemas/probability-sequence-input.schema.json +1 -1
- package/schemas/probability-simulate-input.schema.json +1 -1
- package/schemas/probability-sweep-input.schema.json +1 -1
- package/schemas/reference-context-input.schema.json +1 -1
- package/schemas/reference-read-input.schema.json +1 -1
- package/schemas/reference-search-input.schema.json +1 -1
- package/schemas/reference-sheets.schema.json +1 -1
- package/schemas/scenario-suite.schema.json +1 -1
- package/schemas/scenario-test-input.schema.json +1 -1
- package/schemas/script-validate-input.schema.json +1 -1
- package/schemas/shared-scenario.schema.json +1 -1
- package/schemas/source-lookup-input.schema.json +1 -1
- package/server.json +2 -2
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
|
|
|
@@ -46,7 +47,18 @@ Every tool the server lists costs the agent context on every turn, so a session
|
|
|
46
47
|
| `map` | The world map builder (`map_inspect`, `map_rewrite`) and the job controls |
|
|
47
48
|
| `advanced` | Focus, GUI, event, technology, decision and probability editors, renders and analyses, the other inspect tools, compatibility checks and the job controls |
|
|
48
49
|
|
|
49
|
-
Set `HOI4_AGENT_TOOLS_PROFILES` in the client's server entry to list more, for example `"env": { "HOI4_AGENT_TOOLS_PROFILES": "core,map" }
|
|
50
|
+
Set `HOI4_AGENT_TOOLS_PROFILES` in the client's server entry to list more, for example `"env": { "HOI4_AGENT_TOOLS_PROFILES": "core,map" }`. The `profiles` key of the configuration file does the same for every client. A tool outside the listed profiles still answers when a call names it.
|
|
51
|
+
|
|
52
|
+
Pick the profiles for the work at hand. The size of the tool list the client loads, measured on 4.22.0:
|
|
53
|
+
|
|
54
|
+
| Setting | Tools | Tool list |
|
|
55
|
+
| --------------- | ----- | --------- |
|
|
56
|
+
| `core` | 13 | 24 KB |
|
|
57
|
+
| `core,map` | 17 | 35 KB |
|
|
58
|
+
| `core,advanced` | 45 | 103 KB |
|
|
59
|
+
| `all` | 47 | 112 KB |
|
|
60
|
+
|
|
61
|
+
A client that loads every listed definition into each turn pays that size every turn. Use `all` only in a client that loads tool definitions on demand, such as Claude Code with tool search.
|
|
50
62
|
|
|
51
63
|
### How the server picks your mod
|
|
52
64
|
|
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
|
|
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
|
|
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
|
|
Binary file
|
package/engine/bin/manifest.json
CHANGED
|
@@ -4,23 +4,28 @@
|
|
|
4
4
|
"binaries": {
|
|
5
5
|
"darwin-arm64": {
|
|
6
6
|
"file": "darwin-arm64/hoi4-engine",
|
|
7
|
-
"sha256": "
|
|
8
|
-
"size":
|
|
7
|
+
"sha256": "fd7d554b509ee8ae36e4fcf982679a8bbb38b0c825cc27cd9a462f5ac2cbebef",
|
|
8
|
+
"size": 14672256
|
|
9
|
+
},
|
|
10
|
+
"darwin-x64": {
|
|
11
|
+
"file": "darwin-x64/hoi4-engine",
|
|
12
|
+
"sha256": "72f1a8c535409e9017767f5c747111989a1987a3b1b5bf5423e2cb63d57ccb21",
|
|
13
|
+
"size": 16255912
|
|
9
14
|
},
|
|
10
15
|
"linux-arm64": {
|
|
11
16
|
"file": "linux-arm64/hoi4-engine",
|
|
12
|
-
"sha256": "
|
|
13
|
-
"size":
|
|
17
|
+
"sha256": "039e6b769630c1baeb6f9ae6502a14e593dd01e1c6556c5ef3cdcc1d3a1eede3",
|
|
18
|
+
"size": 15920008
|
|
14
19
|
},
|
|
15
20
|
"linux-x64": {
|
|
16
21
|
"file": "linux-x64/hoi4-engine",
|
|
17
|
-
"sha256": "
|
|
18
|
-
"size":
|
|
22
|
+
"sha256": "f037c7c185adcda44cc7c1ecb1701492d00ba8329b93a6dada03d1831e96ed55",
|
|
23
|
+
"size": 17829584
|
|
19
24
|
},
|
|
20
25
|
"win32-x64": {
|
|
21
26
|
"file": "win32-x64/hoi4-engine.exe",
|
|
22
|
-
"sha256": "
|
|
23
|
-
"size":
|
|
27
|
+
"sha256": "1f99de21c149216e1174923c29ec74283283a216c1962733862d25c8c509ea43",
|
|
28
|
+
"size": 16136704
|
|
24
29
|
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
Binary file
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hoi4-agent-tools",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "hoi4-agent-tools",
|
|
9
|
-
"version": "4.
|
|
9
|
+
"version": "4.22.1",
|
|
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.
|
|
628
|
-
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.
|
|
629
|
-
"integrity": "sha512-
|
|
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": "^
|
|
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.
|
|
723
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.
|
|
724
|
-
"integrity": "sha512-
|
|
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.
|
|
1757
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.
|
|
1758
|
-
"integrity": "sha512-
|
|
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.
|
|
3502
|
-
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.
|
|
3503
|
-
"integrity": "sha512-
|
|
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.
|
|
7138
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.
|
|
7139
|
-
"integrity": "sha512-
|
|
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.
|
|
4
|
+
"version": "4.22.1",
|
|
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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/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.
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v4.22.1/schemas/impact-inspect-input.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|