hoi4-agent-tools 3.0.9 → 3.2.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 (145) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/README.md +10 -2
  3. package/dist/bin/stdio.js +23 -12
  4. package/dist/hoi4_agent_tools/core/analysis-checkpoints.js +82 -0
  5. package/dist/hoi4_agent_tools/core/analysis-evidence.js +9 -0
  6. package/dist/hoi4_agent_tools/core/analysis-job-operations.js +38 -0
  7. package/dist/hoi4_agent_tools/core/artifact-resource.js +173 -0
  8. package/dist/hoi4_agent_tools/core/artifacts.js +84 -2
  9. package/dist/hoi4_agent_tools/core/condition-evaluator.js +16 -0
  10. package/dist/hoi4_agent_tools/core/dependency-pages.js +216 -0
  11. package/dist/hoi4_agent_tools/core/dependency-walk.js +266 -0
  12. package/dist/hoi4_agent_tools/core/domain-validation.js +188 -0
  13. package/dist/hoi4_agent_tools/core/engine.js +48 -5
  14. package/dist/hoi4_agent_tools/core/helper-expansion.js +186 -0
  15. package/dist/hoi4_agent_tools/core/impact-comparison.js +49 -0
  16. package/dist/hoi4_agent_tools/core/impact-graph.js +301 -0
  17. package/dist/hoi4_agent_tools/core/impact-semantic.js +256 -0
  18. package/dist/hoi4_agent_tools/core/index-segments.js +137 -0
  19. package/dist/hoi4_agent_tools/core/index.js +47 -4
  20. package/dist/hoi4_agent_tools/core/job-controls.js +109 -0
  21. package/dist/hoi4_agent_tools/core/job-executor.js +190 -0
  22. package/dist/hoi4_agent_tools/core/job-service.js +112 -0
  23. package/dist/hoi4_agent_tools/core/job-store.js +641 -0
  24. package/dist/hoi4_agent_tools/core/job-transactions.js +126 -0
  25. package/dist/hoi4_agent_tools/core/job-worker-host.js +202 -0
  26. package/dist/hoi4_agent_tools/core/job-worker.js +64 -0
  27. package/dist/hoi4_agent_tools/core/operation-context.js +31 -0
  28. package/dist/hoi4_agent_tools/core/operation-result.js +412 -0
  29. package/dist/hoi4_agent_tools/core/operation-tasks.js +387 -0
  30. package/dist/hoi4_agent_tools/core/persistent-analysis-cache.js +383 -0
  31. package/dist/hoi4_agent_tools/core/result.js +1 -0
  32. package/dist/hoi4_agent_tools/core/scanner.js +15 -75
  33. package/dist/hoi4_agent_tools/core/semantic-dependencies.js +233 -0
  34. package/dist/hoi4_agent_tools/core/shared-request-capacity.js +43 -11
  35. package/dist/hoi4_agent_tools/core/source/cache.js +107 -0
  36. package/dist/hoi4_agent_tools/core/source/parser.js +11 -1
  37. package/dist/hoi4_agent_tools/core/source-overlay.js +125 -0
  38. package/dist/hoi4_agent_tools/core/transaction-execution.js +134 -0
  39. package/dist/hoi4_agent_tools/core/transactions.js +80 -27
  40. package/dist/hoi4_agent_tools/decision/ai.js +104 -0
  41. package/dist/hoi4_agent_tools/decision/comparison.js +106 -0
  42. package/dist/hoi4_agent_tools/decision/cost.js +177 -0
  43. package/dist/hoi4_agent_tools/decision/evaluation.js +256 -0
  44. package/dist/hoi4_agent_tools/decision/lifecycle.js +114 -0
  45. package/dist/hoi4_agent_tools/decision/service.js +172 -0
  46. package/dist/hoi4_agent_tools/decision/source-inventory.js +182 -0
  47. package/dist/hoi4_agent_tools/event/graph.js +214 -290
  48. package/dist/hoi4_agent_tools/event/helper-expansion.js +33 -0
  49. package/dist/hoi4_agent_tools/event/job-operations.js +51 -0
  50. package/dist/hoi4_agent_tools/event/operations.js +179 -0
  51. package/dist/hoi4_agent_tools/event/service.js +67 -15
  52. package/dist/hoi4_agent_tools/event/source-analysis.js +5 -4
  53. package/dist/hoi4_agent_tools/focus/job-operations.js +77 -0
  54. package/dist/hoi4_agent_tools/focus/tool-operations.js +669 -0
  55. package/dist/hoi4_agent_tools/focus/tool-support.js +123 -0
  56. package/dist/hoi4_agent_tools/gui/job-operations.js +81 -0
  57. package/dist/hoi4_agent_tools/gui/tool-operations.js +270 -0
  58. package/dist/hoi4_agent_tools/impact/scenario-suites.js +74 -0
  59. package/dist/hoi4_agent_tools/impact/service.js +127 -0
  60. package/dist/hoi4_agent_tools/map/job-operations.js +76 -0
  61. package/dist/hoi4_agent_tools/map/tool-operations.js +493 -0
  62. package/dist/hoi4_agent_tools/mcp/prompts/probability.js +25 -0
  63. package/dist/hoi4_agent_tools/mcp/prompts/register-modern.js +29 -0
  64. package/dist/hoi4_agent_tools/mcp/resources/register-modern.js +34 -0
  65. package/dist/hoi4_agent_tools/mcp/resources/register.js +4 -150
  66. package/dist/hoi4_agent_tools/mcp/server/base-tools.js +3 -219
  67. package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +188 -0
  68. package/dist/hoi4_agent_tools/mcp/server/create.js +18 -6
  69. package/dist/hoi4_agent_tools/mcp/server/instructions.js +2 -0
  70. package/dist/hoi4_agent_tools/mcp/server/job-task-store.js +67 -0
  71. package/dist/hoi4_agent_tools/mcp/server/legacy-task-tools.js +20 -0
  72. package/dist/hoi4_agent_tools/mcp/server/modern-tasks.js +168 -0
  73. package/dist/hoi4_agent_tools/mcp/server/progress.js +17 -15
  74. package/dist/hoi4_agent_tools/mcp/server/request-lifecycle.js +45 -0
  75. package/dist/hoi4_agent_tools/mcp/server/result.js +2 -412
  76. package/dist/hoi4_agent_tools/mcp/server/task-request-context.js +9 -0
  77. package/dist/hoi4_agent_tools/mcp/server/task-tool-catalog.js +16 -0
  78. package/dist/hoi4_agent_tools/mcp/server/task-tool-definition.js +1 -0
  79. package/dist/hoi4_agent_tools/mcp/server/transaction-execution.js +1 -123
  80. package/dist/hoi4_agent_tools/mcp/tools/analysis.js +65 -0
  81. package/dist/hoi4_agent_tools/mcp/tools/chaosx.js +38 -21
  82. package/dist/hoi4_agent_tools/mcp/tools/event.js +24 -315
  83. package/dist/hoi4_agent_tools/mcp/tools/focus.js +34 -1039
  84. package/dist/hoi4_agent_tools/mcp/tools/gui.js +19 -504
  85. package/dist/hoi4_agent_tools/mcp/tools/job.js +46 -0
  86. package/dist/hoi4_agent_tools/mcp/tools/map.js +21 -600
  87. package/dist/hoi4_agent_tools/mcp/tools/probability.js +39 -463
  88. package/dist/hoi4_agent_tools/mcp/tools/technology.js +40 -304
  89. package/dist/hoi4_agent_tools/mcp/transports/http.js +58 -1
  90. package/dist/hoi4_agent_tools/mcp/transports/modern-task-routing.js +109 -0
  91. package/dist/hoi4_agent_tools/mcp/transports/negotiated-stdio.js +121 -0
  92. package/dist/hoi4_agent_tools/probability/job-operations.js +58 -0
  93. package/dist/hoi4_agent_tools/probability/operations.js +183 -0
  94. package/dist/hoi4_agent_tools/probability/service.js +24 -3
  95. package/dist/hoi4_agent_tools/schemas/analysis.js +228 -0
  96. package/dist/hoi4_agent_tools/schemas/common.js +2 -0
  97. package/dist/hoi4_agent_tools/schemas/event.js +72 -1
  98. package/dist/hoi4_agent_tools/schemas/focus-requests.js +189 -0
  99. package/dist/hoi4_agent_tools/schemas/gui-requests.js +193 -0
  100. package/dist/hoi4_agent_tools/schemas/helper-expansion.js +58 -0
  101. package/dist/hoi4_agent_tools/schemas/map-requests.js +85 -0
  102. package/dist/hoi4_agent_tools/schemas/probability-requests.js +168 -0
  103. package/dist/hoi4_agent_tools/schemas/technology.js +90 -1
  104. package/dist/hoi4_agent_tools/schemas/transaction.js +1 -0
  105. package/dist/hoi4_agent_tools/technology/graph.js +83 -78
  106. package/dist/hoi4_agent_tools/technology/helper-expansion.js +33 -0
  107. package/dist/hoi4_agent_tools/technology/job-operations.js +60 -0
  108. package/dist/hoi4_agent_tools/technology/operations.js +125 -0
  109. package/dist/hoi4_agent_tools/technology/service.js +89 -15
  110. package/dist/hoi4_agent_tools/technology/source-analysis.js +2 -1
  111. package/dist/hoi4_agent_tools/version.js +1 -1
  112. package/docs/README.md +3 -0
  113. package/docs/analysis.md +100 -0
  114. package/docs/development.md +2 -0
  115. package/docs/events.md +7 -2
  116. package/docs/helper-expansion.md +78 -0
  117. package/docs/http.md +2 -0
  118. package/docs/jobs.md +86 -0
  119. package/docs/technology.md +6 -2
  120. package/package.json +15 -6
  121. package/schemas/configuration.schema.json +1 -1
  122. package/schemas/continuous-focus-palette.schema.json +1 -1
  123. package/schemas/custom-weighted-pool.schema.json +1 -1
  124. package/schemas/decision-inspect-input.schema.json +290 -0
  125. package/schemas/event-feature-manifest.schema.json +1 -1
  126. package/schemas/focus-plan.schema.json +1 -1
  127. package/schemas/focus-planning-sidecar.schema.json +1 -1
  128. package/schemas/gui-animation-source.schema.json +1 -1
  129. package/schemas/gui-helper.schema.json +1 -1
  130. package/schemas/gui-scenario.schema.json +1 -1
  131. package/schemas/helper-expansion-request.schema.json +44 -0
  132. package/schemas/helper-expansion-summary.schema.json +70 -0
  133. package/schemas/impact-inspect-input.schema.json +203 -0
  134. package/schemas/map-operation.schema.json +1 -1
  135. package/schemas/operation-result.schema.json +1 -1
  136. package/schemas/probability-analysis-result.schema.json +1 -1
  137. package/schemas/probability-compare-input.schema.json +1 -1
  138. package/schemas/probability-evaluate-input.schema.json +1 -1
  139. package/schemas/probability-inspect-input.schema.json +1 -1
  140. package/schemas/probability-render-input.schema.json +1 -1
  141. package/schemas/probability-scenario-set.schema.json +1 -1
  142. package/schemas/probability-sequence-input.schema.json +1 -1
  143. package/schemas/probability-simulate-input.schema.json +1 -1
  144. package/schemas/probability-sweep-input.schema.json +1 -1
  145. package/server.json +3 -3
@@ -6,7 +6,7 @@ Use the three technology tools directly from the target mod.
6
6
 
7
7
  ## Inspect
8
8
 
9
- `hoi4.tech_inspect` provides eight focused modes:
9
+ `hoi4.tech_inspect` provides nine focused modes:
10
10
 
11
11
  - `scan`: build the technology graph and report its inventory, diagnostics, analysis limits, and revision. Small graphs include the complete graph in the report; large graphs return exact counts, grouped findings, samples, and the revision for focused follow-up queries.
12
12
  - `folders`: list folder roots and source placements, or inspect one `folderId`.
@@ -16,6 +16,7 @@ Use the three technology tools directly from the target mod.
16
16
  - `bonus_coverage`: show which technologies or categories are covered by discovered research bonuses.
17
17
  - `lint`: filter source-linked findings by classification, diagnostic code, folder, or technology.
18
18
  - `impact`: find the definitions, placements, edges, grants, bonuses, unlocks, localisation, sprites, and files affected by a proposed removal or rename.
19
+ - `helper_expansion`: stream source-linked scripted-effect call paths and helper-owned technology references with bounded pages and revision-bound continuation.
19
20
 
20
21
  Example trace:
21
22
 
@@ -45,7 +46,10 @@ Impact mode takes a subject with `kind` set to `technology`, `category`, `folder
45
46
 
46
47
  Findings are separated into confirmed errors, probable defects, design warnings, and unresolved analysis. Roots, grant-only technologies, early dates, zero AI weights, repeated effects, and routing nodes are evaluated in context instead of being treated as automatic defects. The viewer keeps its authoritative graph in memory while the linked scan artifact remains a bounded summary; use its revision with the focused inspect modes or a render resource to inspect the relevant records.
47
48
 
48
- Game-backed and otherwise large workspaces automatically use focused analysis mode. It keeps direct grants, bonuses, unlocks, definitions, and the source-linked scripted-effect call index while deferring the full helper projection that can otherwise make a vanilla-plus-mod scan take minutes or exhaust the server process. The result is marked partial and names this boundary in `analysisBoundary`; no direct source evidence is discarded.
49
+ Ordinary technology inspection uses the materialized graph and its explicit helper-depth and projection limits.
50
+ A truncated helper expansion reports incomplete coverage.
51
+ For a large helper closure, [bounded helper expansion](helper-expansion.md) uses the structural call inventory and streams source-linked paths without first materializing the full projection.
52
+ It preserves separate conditional call sites and identifies source, cycle, and depth boundaries without simulating trigger outcomes.
49
53
 
50
54
  ## Render
51
55
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "hoi4-agent-tools",
3
3
  "mcpName": "io.github.klimPaskov/hoi4-agent-tools",
4
- "version": "3.0.9",
5
- "description": "Analyze HOI4 events, tech trees, AI weights, and MTTH; build focus trees, GUIs, and maps.",
4
+ "version": "3.2.0",
5
+ "description": "Analyze HOI4 events, decisions, impact, tech, AI, and MTTH; build focus trees, GUIs, and maps.",
6
6
  "type": "module",
7
7
  "license": "Apache-2.0",
8
8
  "author": "HOI4 Agent Tools contributors",
@@ -22,6 +22,8 @@
22
22
  "clausewitz",
23
23
  "focus-trees",
24
24
  "event-chains",
25
+ "impact-analysis",
26
+ "decisions",
25
27
  "technology-trees",
26
28
  "doctrines",
27
29
  "ai-weights",
@@ -39,6 +41,7 @@
39
41
  "docs/README.md",
40
42
  "docs/setup.md",
41
43
  "docs/events.md",
44
+ "docs/analysis.md",
42
45
  "docs/technology.md",
43
46
  "docs/probability.md",
44
47
  "docs/research/probability-adapter-evidence.md",
@@ -47,6 +50,8 @@
47
50
  "docs/map.md",
48
51
  "docs/http.md",
49
52
  "docs/development.md",
53
+ "docs/jobs.md",
54
+ "docs/helper-expansion.md",
50
55
  "docs/images/readme/",
51
56
  "examples/clients/",
52
57
  "examples/probability/",
@@ -99,23 +104,27 @@
99
104
  },
100
105
  "dependencies": {
101
106
  "@fontsource-variable/roboto": "5.3.0",
107
+ "@modelcontextprotocol/core": "2.0.0",
108
+ "@modelcontextprotocol/node": "2.0.0",
102
109
  "@modelcontextprotocol/sdk": "1.30.0",
110
+ "@modelcontextprotocol/server": "2.0.0",
103
111
  "express": "5.2.1",
104
112
  "fast-glob": "3.3.3",
105
113
  "fontkit": "2.0.4",
106
114
  "iconv-lite": "0.7.3",
107
115
  "jose": "6.2.8",
108
- "sharp": "0.35.3",
116
+ "sharp": "0.35.4",
109
117
  "zod": "4.4.3"
110
118
  },
111
119
  "devDependencies": {
112
120
  "@eslint/js": "10.0.1",
121
+ "@modelcontextprotocol/client": "2.0.0",
113
122
  "@modelcontextprotocol/inspector": "2.1.0",
114
123
  "@types/express": "5.0.6",
115
124
  "@types/fontkit": "2.0.9",
116
125
  "@types/node": "22.20.1",
117
126
  "@types/pixelmatch": "5.2.6",
118
- "@vitest/coverage-v8": "4.1.10",
127
+ "@vitest/coverage-v8": "4.1.11",
119
128
  "ajv": "8.20.0",
120
129
  "ajv-formats": "3.0.1",
121
130
  "eslint": "10.8.1",
@@ -125,14 +134,14 @@
125
134
  "tsx": "4.23.11",
126
135
  "typescript": "6.0.3",
127
136
  "typescript-eslint": "8.66.0",
128
- "vitest": "4.1.10"
137
+ "vitest": "4.1.11"
129
138
  },
130
139
  "overrides": {
131
140
  "@hono/node-server": "2.1.0",
132
141
  "brace-expansion": "5.0.9",
133
142
  "fast-uri": "3.1.7",
134
143
  "qs": "6.16.0",
135
- "hono": "4.13.1",
144
+ "hono": "4.13.8",
136
145
  "nanoid": "3.3.18",
137
146
  "ip-address": "10.4.0",
138
147
  "postcss": "8.5.26",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.0.9/schemas/configuration.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/continuous-focus-palette.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/custom-weighted-pool.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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": {
@@ -0,0 +1,290 @@
1
+ {
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.0/schemas/decision-inspect-input.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "workspaceId": {
7
+ "$ref": "#/$defs/__schema0"
8
+ },
9
+ "mode": {
10
+ "$ref": "#/$defs/__schema1"
11
+ },
12
+ "id": {
13
+ "$ref": "#/$defs/__schema2"
14
+ },
15
+ "scenarios": {
16
+ "$ref": "#/$defs/__schema3"
17
+ },
18
+ "proposedSources": {
19
+ "$ref": "#/$defs/__schema13"
20
+ },
21
+ "expectedRevision": {
22
+ "$ref": "#/$defs/__schema15"
23
+ },
24
+ "refresh": {
25
+ "$ref": "#/$defs/__schema16"
26
+ }
27
+ },
28
+ "additionalProperties": false,
29
+ "$defs": {
30
+ "__schema0": {
31
+ "default": "current",
32
+ "type": "string",
33
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
34
+ },
35
+ "__schema1": {
36
+ "default": "inventory",
37
+ "type": "string",
38
+ "enum": [
39
+ "inventory",
40
+ "inspect",
41
+ "compare"
42
+ ]
43
+ },
44
+ "__schema2": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 512
48
+ },
49
+ "__schema3": {
50
+ "default": [],
51
+ "maxItems": 64,
52
+ "type": "array",
53
+ "items": {
54
+ "$ref": "#/$defs/__schema4"
55
+ }
56
+ },
57
+ "__schema4": {
58
+ "type": "object",
59
+ "properties": {
60
+ "id": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 512
64
+ },
65
+ "actor": {
66
+ "type": "string",
67
+ "maxLength": 256
68
+ },
69
+ "date": {
70
+ "type": "string",
71
+ "maxLength": 64
72
+ },
73
+ "state": {
74
+ "$ref": "#/$defs/__schema5"
75
+ },
76
+ "flags": {
77
+ "maxItems": 10000,
78
+ "type": "array",
79
+ "items": {
80
+ "$ref": "#/$defs/__schema9"
81
+ }
82
+ },
83
+ "eventTargets": {
84
+ "type": "object",
85
+ "propertyNames": {
86
+ "type": "string",
87
+ "maxLength": 512
88
+ },
89
+ "additionalProperties": {
90
+ "type": "string",
91
+ "maxLength": 512
92
+ }
93
+ },
94
+ "scopes": {
95
+ "type": "object",
96
+ "propertyNames": {
97
+ "$ref": "#/$defs/__schema10"
98
+ },
99
+ "additionalProperties": {
100
+ "$ref": "#/$defs/__schema11"
101
+ }
102
+ },
103
+ "candidateOverrides": {
104
+ "type": "object",
105
+ "propertyNames": {
106
+ "type": "string",
107
+ "maxLength": 512
108
+ },
109
+ "additionalProperties": {
110
+ "type": "boolean"
111
+ }
112
+ },
113
+ "closedFlags": {
114
+ "type": "boolean"
115
+ }
116
+ },
117
+ "required": [
118
+ "id",
119
+ "state"
120
+ ],
121
+ "additionalProperties": false
122
+ },
123
+ "__schema5": {
124
+ "type": "object",
125
+ "propertyNames": {
126
+ "$ref": "#/$defs/__schema6"
127
+ },
128
+ "additionalProperties": {
129
+ "$ref": "#/$defs/__schema7"
130
+ }
131
+ },
132
+ "__schema6": {
133
+ "type": "string",
134
+ "minLength": 1,
135
+ "maxLength": 1024
136
+ },
137
+ "__schema7": {
138
+ "anyOf": [
139
+ {
140
+ "$ref": "#/$defs/__schema8"
141
+ },
142
+ {
143
+ "maxItems": 10000,
144
+ "type": "array",
145
+ "items": {
146
+ "$ref": "#/$defs/__schema8"
147
+ }
148
+ }
149
+ ]
150
+ },
151
+ "__schema8": {
152
+ "anyOf": [
153
+ {
154
+ "type": "string",
155
+ "maxLength": 4096
156
+ },
157
+ {
158
+ "type": "number"
159
+ },
160
+ {
161
+ "type": "boolean"
162
+ },
163
+ {
164
+ "type": "null"
165
+ }
166
+ ]
167
+ },
168
+ "__schema9": {
169
+ "type": "string",
170
+ "minLength": 1,
171
+ "maxLength": 512
172
+ },
173
+ "__schema10": {
174
+ "type": "string",
175
+ "minLength": 1,
176
+ "maxLength": 128
177
+ },
178
+ "__schema11": {
179
+ "type": "object",
180
+ "properties": {
181
+ "id": {
182
+ "type": "string",
183
+ "minLength": 1,
184
+ "maxLength": 512
185
+ },
186
+ "type": {
187
+ "type": "string",
188
+ "enum": [
189
+ "country",
190
+ "state",
191
+ "character",
192
+ "unit_leader",
193
+ "operative",
194
+ "strategic_region",
195
+ "province",
196
+ "unknown"
197
+ ]
198
+ },
199
+ "actor": {
200
+ "type": "string",
201
+ "maxLength": 256
202
+ },
203
+ "state": {
204
+ "$ref": "#/$defs/__schema5"
205
+ },
206
+ "flags": {
207
+ "maxItems": 10000,
208
+ "type": "array",
209
+ "items": {
210
+ "$ref": "#/$defs/__schema12"
211
+ }
212
+ },
213
+ "eventTargets": {
214
+ "type": "object",
215
+ "propertyNames": {
216
+ "type": "string",
217
+ "maxLength": 512
218
+ },
219
+ "additionalProperties": {
220
+ "type": "string",
221
+ "maxLength": 512
222
+ }
223
+ },
224
+ "weight": {
225
+ "anyOf": [
226
+ {
227
+ "type": "number"
228
+ },
229
+ {
230
+ "type": "string",
231
+ "maxLength": 1024
232
+ }
233
+ ]
234
+ }
235
+ },
236
+ "required": [
237
+ "id",
238
+ "state"
239
+ ],
240
+ "additionalProperties": false
241
+ },
242
+ "__schema12": {
243
+ "type": "string",
244
+ "minLength": 1,
245
+ "maxLength": 512
246
+ },
247
+ "__schema13": {
248
+ "minItems": 1,
249
+ "maxItems": 64,
250
+ "type": "array",
251
+ "items": {
252
+ "$ref": "#/$defs/__schema14"
253
+ }
254
+ },
255
+ "__schema14": {
256
+ "type": "object",
257
+ "properties": {
258
+ "relativePath": {
259
+ "type": "string",
260
+ "minLength": 1,
261
+ "maxLength": 1024
262
+ },
263
+ "content": {
264
+ "anyOf": [
265
+ {
266
+ "type": "string",
267
+ "maxLength": 8388608
268
+ },
269
+ {
270
+ "type": "null"
271
+ }
272
+ ]
273
+ }
274
+ },
275
+ "required": [
276
+ "relativePath",
277
+ "content"
278
+ ],
279
+ "additionalProperties": false
280
+ },
281
+ "__schema15": {
282
+ "type": "string",
283
+ "pattern": "^[a-f0-9]{64}$"
284
+ },
285
+ "__schema16": {
286
+ "default": false,
287
+ "type": "boolean"
288
+ }
289
+ }
290
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.0.9/schemas/event-feature-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/focus-plan.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/focus-planning-sidecar.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/gui-animation-source.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/gui-helper.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.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/v3.0.9/schemas/gui-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.0/schemas/gui-scenario.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -0,0 +1,44 @@
1
+ {
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.0/schemas/helper-expansion-request.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "rootIds": {
7
+ "minItems": 1,
8
+ "maxItems": 2000,
9
+ "type": "array",
10
+ "items": {
11
+ "$ref": "#/$defs/__schema0"
12
+ }
13
+ },
14
+ "maxDepth": {
15
+ "type": "integer",
16
+ "minimum": 1,
17
+ "maximum": 256
18
+ },
19
+ "maxRecords": {
20
+ "type": "integer",
21
+ "minimum": 1,
22
+ "maximum": 5000
23
+ },
24
+ "maxWork": {
25
+ "type": "integer",
26
+ "minimum": 1,
27
+ "maximum": 100000
28
+ },
29
+ "continuationUri": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 8192,
33
+ "pattern": "^hoi4-agent:\\/\\/"
34
+ }
35
+ },
36
+ "additionalProperties": false,
37
+ "$defs": {
38
+ "__schema0": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 1024
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.2.0/schemas/helper-expansion-summary.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "complete": {
7
+ "type": "boolean"
8
+ },
9
+ "finished": {
10
+ "type": "boolean"
11
+ },
12
+ "sourceComplete": {
13
+ "type": "boolean"
14
+ },
15
+ "maxDepth": {
16
+ "$ref": "#/$defs/__schema0"
17
+ },
18
+ "records": {
19
+ "$ref": "#/$defs/__schema0"
20
+ },
21
+ "totalRecords": {
22
+ "$ref": "#/$defs/__schema0"
23
+ },
24
+ "work": {
25
+ "$ref": "#/$defs/__schema0"
26
+ },
27
+ "totalWork": {
28
+ "$ref": "#/$defs/__schema0"
29
+ },
30
+ "completedRoots": {
31
+ "$ref": "#/$defs/__schema0"
32
+ },
33
+ "totalRoots": {
34
+ "$ref": "#/$defs/__schema0"
35
+ },
36
+ "cycles": {
37
+ "$ref": "#/$defs/__schema0"
38
+ },
39
+ "depthStops": {
40
+ "$ref": "#/$defs/__schema0"
41
+ },
42
+ "continuationUri": {
43
+ "type": "string",
44
+ "maxLength": 8192,
45
+ "pattern": "^hoi4-agent:\\/\\/"
46
+ }
47
+ },
48
+ "required": [
49
+ "complete",
50
+ "finished",
51
+ "sourceComplete",
52
+ "maxDepth",
53
+ "records",
54
+ "totalRecords",
55
+ "work",
56
+ "totalWork",
57
+ "completedRoots",
58
+ "totalRoots",
59
+ "cycles",
60
+ "depthStops"
61
+ ],
62
+ "additionalProperties": false,
63
+ "$defs": {
64
+ "__schema0": {
65
+ "type": "integer",
66
+ "minimum": 0,
67
+ "maximum": 9007199254740991
68
+ }
69
+ }
70
+ }