hoi4-agent-tools 0.2.0 → 1.0.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 (428) hide show
  1. package/CHANGELOG.md +12 -118
  2. package/README.md +35 -127
  3. package/SECURITY.md +5 -7
  4. package/dist/bin/http.js +0 -1
  5. package/dist/bin/setup.js +141 -92
  6. package/dist/bin/stdio.js +0 -1
  7. package/dist/hoi4_agent_tools/core/artifacts.js +0 -1
  8. package/dist/hoi4_agent_tools/core/canonical.js +0 -1
  9. package/dist/hoi4_agent_tools/core/configuration.js +28 -28
  10. package/dist/hoi4_agent_tools/core/diagnostic-collector.js +0 -1
  11. package/dist/hoi4_agent_tools/core/diagnostics.js +0 -1
  12. package/dist/hoi4_agent_tools/core/diff.js +0 -1
  13. package/dist/hoi4_agent_tools/core/engine.js +6 -21
  14. package/dist/hoi4_agent_tools/core/image-diff.js +0 -1
  15. package/dist/hoi4_agent_tools/core/index.js +0 -1
  16. package/dist/hoi4_agent_tools/core/render-budget.js +0 -1
  17. package/dist/hoi4_agent_tools/core/result.js +0 -1
  18. package/dist/hoi4_agent_tools/core/scanner.js +0 -1
  19. package/dist/hoi4_agent_tools/core/server-state.js +0 -1
  20. package/dist/hoi4_agent_tools/core/source/encoding.js +0 -1
  21. package/dist/hoi4_agent_tools/core/source/index.js +0 -1
  22. package/dist/hoi4_agent_tools/core/source/lexer.js +0 -1
  23. package/dist/hoi4_agent_tools/core/source/limits.js +0 -1
  24. package/dist/hoi4_agent_tools/core/source/localisation.js +0 -1
  25. package/dist/hoi4_agent_tools/core/source/parser.js +0 -1
  26. package/dist/hoi4_agent_tools/core/source/rewrite.js +0 -1
  27. package/dist/hoi4_agent_tools/core/svg-text.js +0 -1
  28. package/dist/hoi4_agent_tools/core/transaction-limits.js +0 -1
  29. package/dist/hoi4_agent_tools/core/transactions.js +2 -30
  30. package/dist/hoi4_agent_tools/core/workspace.js +112 -396
  31. package/dist/hoi4_agent_tools/focus/compiler.js +0 -1
  32. package/dist/hoi4_agent_tools/focus/continuous-render.js +0 -1
  33. package/dist/hoi4_agent_tools/focus/drift.js +0 -1
  34. package/dist/hoi4_agent_tools/focus/geometry.js +0 -1
  35. package/dist/hoi4_agent_tools/focus/importer.js +0 -1
  36. package/dist/hoi4_agent_tools/focus/index.js +0 -1
  37. package/dist/hoi4_agent_tools/focus/layout.js +0 -1
  38. package/dist/hoi4_agent_tools/focus/limits.js +0 -1
  39. package/dist/hoi4_agent_tools/focus/lint.js +0 -1
  40. package/dist/hoi4_agent_tools/focus/model.js +0 -1
  41. package/dist/hoi4_agent_tools/focus/native-effects.js +0 -1
  42. package/dist/hoi4_agent_tools/focus/planning.js +0 -1
  43. package/dist/hoi4_agent_tools/focus/presentation.js +0 -1
  44. package/dist/hoi4_agent_tools/focus/render.js +0 -1
  45. package/dist/hoi4_agent_tools/focus/service.js +7 -8
  46. package/dist/hoi4_agent_tools/focus/source-update.js +1 -2
  47. package/dist/hoi4_agent_tools/gui/animation-manifest.js +0 -1
  48. package/dist/hoi4_agent_tools/gui/assets.js +0 -1
  49. package/dist/hoi4_agent_tools/gui/dds.js +0 -1
  50. package/dist/hoi4_agent_tools/gui/helpers.js +1 -2
  51. package/dist/hoi4_agent_tools/gui/index.js +0 -1
  52. package/dist/hoi4_agent_tools/gui/layout.js +0 -1
  53. package/dist/hoi4_agent_tools/gui/limits.js +0 -1
  54. package/dist/hoi4_agent_tools/gui/renderer.js +0 -1
  55. package/dist/hoi4_agent_tools/gui/scenario.js +0 -1
  56. package/dist/hoi4_agent_tools/gui/source-graph.js +0 -1
  57. package/dist/hoi4_agent_tools/gui/source-patch.js +1 -2
  58. package/dist/hoi4_agent_tools/gui/studio.js +247 -104
  59. package/dist/hoi4_agent_tools/gui/tga.js +0 -1
  60. package/dist/hoi4_agent_tools/gui/types.js +0 -1
  61. package/dist/hoi4_agent_tools/gui/validators.js +0 -1
  62. package/dist/hoi4_agent_tools/map/bmp.js +0 -1
  63. package/dist/hoi4_agent_tools/map/diagnostic-limit.js +0 -1
  64. package/dist/hoi4_agent_tools/map/index.js +0 -1
  65. package/dist/hoi4_agent_tools/map/limits.js +2 -1
  66. package/dist/hoi4_agent_tools/map/model.js +0 -1
  67. package/dist/hoi4_agent_tools/map/operations.js +0 -1
  68. package/dist/hoi4_agent_tools/map/render.js +0 -1
  69. package/dist/hoi4_agent_tools/map/service.js +171 -33
  70. package/dist/hoi4_agent_tools/map/validation.js +0 -1
  71. package/dist/hoi4_agent_tools/mcp/resources/register.js +61 -187
  72. package/dist/hoi4_agent_tools/mcp/security/auth.js +1 -2
  73. package/dist/hoi4_agent_tools/mcp/server/base-tools.js +24 -750
  74. package/dist/hoi4_agent_tools/mcp/server/create.js +3 -12
  75. package/dist/hoi4_agent_tools/mcp/server/output-schemas.js +0 -71
  76. package/dist/hoi4_agent_tools/mcp/server/progress.js +0 -1
  77. package/dist/hoi4_agent_tools/mcp/server/result.js +24 -30
  78. package/dist/hoi4_agent_tools/mcp/server/transaction-execution.js +10 -14
  79. package/dist/hoi4_agent_tools/mcp/tools/focus.js +219 -275
  80. package/dist/hoi4_agent_tools/mcp/tools/gui.js +149 -250
  81. package/dist/hoi4_agent_tools/mcp/tools/map.js +256 -337
  82. package/dist/hoi4_agent_tools/mcp/tools/mods.js +54 -0
  83. package/dist/hoi4_agent_tools/mcp/transports/bounded-stdio.js +0 -1
  84. package/dist/hoi4_agent_tools/mcp/transports/event-store.js +0 -1
  85. package/dist/hoi4_agent_tools/mcp/transports/http.js +1 -12
  86. package/dist/hoi4_agent_tools/mcp/transports/protocol-gate.js +0 -1
  87. package/dist/hoi4_agent_tools/runtime.js +5 -2
  88. package/dist/hoi4_agent_tools/schemas/common.js +1 -2
  89. package/dist/hoi4_agent_tools/schemas/focus.js +0 -1
  90. package/dist/hoi4_agent_tools/schemas/map.js +0 -1
  91. package/dist/hoi4_agent_tools/schemas/transaction.js +0 -1
  92. package/dist/hoi4_agent_tools/version.js +1 -2
  93. package/docs/README.md +8 -21
  94. package/docs/development.md +22 -0
  95. package/docs/focus.md +40 -0
  96. package/docs/gui.md +37 -0
  97. package/docs/http.md +53 -0
  98. package/docs/map.md +39 -0
  99. package/docs/setup.md +39 -0
  100. package/package.json +10 -11
  101. package/server.json +3 -12
  102. package/dist/bin/http.d.ts +0 -3
  103. package/dist/bin/http.d.ts.map +0 -1
  104. package/dist/bin/http.js.map +0 -1
  105. package/dist/bin/setup.d.ts +0 -3
  106. package/dist/bin/setup.d.ts.map +0 -1
  107. package/dist/bin/setup.js.map +0 -1
  108. package/dist/bin/stdio.d.ts +0 -3
  109. package/dist/bin/stdio.d.ts.map +0 -1
  110. package/dist/bin/stdio.js.map +0 -1
  111. package/dist/hoi4_agent_tools/core/artifacts.d.ts +0 -117
  112. package/dist/hoi4_agent_tools/core/artifacts.d.ts.map +0 -1
  113. package/dist/hoi4_agent_tools/core/artifacts.js.map +0 -1
  114. package/dist/hoi4_agent_tools/core/canonical.d.ts +0 -13
  115. package/dist/hoi4_agent_tools/core/canonical.d.ts.map +0 -1
  116. package/dist/hoi4_agent_tools/core/canonical.js.map +0 -1
  117. package/dist/hoi4_agent_tools/core/configuration.d.ts +0 -138
  118. package/dist/hoi4_agent_tools/core/configuration.d.ts.map +0 -1
  119. package/dist/hoi4_agent_tools/core/configuration.js.map +0 -1
  120. package/dist/hoi4_agent_tools/core/diagnostic-collector.d.ts +0 -18
  121. package/dist/hoi4_agent_tools/core/diagnostic-collector.d.ts.map +0 -1
  122. package/dist/hoi4_agent_tools/core/diagnostic-collector.js.map +0 -1
  123. package/dist/hoi4_agent_tools/core/diagnostics.d.ts +0 -26
  124. package/dist/hoi4_agent_tools/core/diagnostics.d.ts.map +0 -1
  125. package/dist/hoi4_agent_tools/core/diagnostics.js.map +0 -1
  126. package/dist/hoi4_agent_tools/core/diff.d.ts +0 -22
  127. package/dist/hoi4_agent_tools/core/diff.d.ts.map +0 -1
  128. package/dist/hoi4_agent_tools/core/diff.js.map +0 -1
  129. package/dist/hoi4_agent_tools/core/engine.d.ts +0 -57
  130. package/dist/hoi4_agent_tools/core/engine.d.ts.map +0 -1
  131. package/dist/hoi4_agent_tools/core/engine.js.map +0 -1
  132. package/dist/hoi4_agent_tools/core/image-diff.d.ts +0 -14
  133. package/dist/hoi4_agent_tools/core/image-diff.d.ts.map +0 -1
  134. package/dist/hoi4_agent_tools/core/image-diff.js.map +0 -1
  135. package/dist/hoi4_agent_tools/core/index.d.ts +0 -64
  136. package/dist/hoi4_agent_tools/core/index.d.ts.map +0 -1
  137. package/dist/hoi4_agent_tools/core/index.js.map +0 -1
  138. package/dist/hoi4_agent_tools/core/index.public.d.ts +0 -16
  139. package/dist/hoi4_agent_tools/core/index.public.d.ts.map +0 -1
  140. package/dist/hoi4_agent_tools/core/index.public.js +0 -16
  141. package/dist/hoi4_agent_tools/core/index.public.js.map +0 -1
  142. package/dist/hoi4_agent_tools/core/render-budget.d.ts +0 -51
  143. package/dist/hoi4_agent_tools/core/render-budget.d.ts.map +0 -1
  144. package/dist/hoi4_agent_tools/core/render-budget.js.map +0 -1
  145. package/dist/hoi4_agent_tools/core/result.d.ts +0 -45
  146. package/dist/hoi4_agent_tools/core/result.d.ts.map +0 -1
  147. package/dist/hoi4_agent_tools/core/result.js.map +0 -1
  148. package/dist/hoi4_agent_tools/core/scanner.d.ts +0 -28
  149. package/dist/hoi4_agent_tools/core/scanner.d.ts.map +0 -1
  150. package/dist/hoi4_agent_tools/core/scanner.js.map +0 -1
  151. package/dist/hoi4_agent_tools/core/server-state.d.ts +0 -31
  152. package/dist/hoi4_agent_tools/core/server-state.d.ts.map +0 -1
  153. package/dist/hoi4_agent_tools/core/server-state.js.map +0 -1
  154. package/dist/hoi4_agent_tools/core/source/encoding.d.ts +0 -10
  155. package/dist/hoi4_agent_tools/core/source/encoding.d.ts.map +0 -1
  156. package/dist/hoi4_agent_tools/core/source/encoding.js.map +0 -1
  157. package/dist/hoi4_agent_tools/core/source/index.d.ts +0 -7
  158. package/dist/hoi4_agent_tools/core/source/index.d.ts.map +0 -1
  159. package/dist/hoi4_agent_tools/core/source/index.js.map +0 -1
  160. package/dist/hoi4_agent_tools/core/source/lexer.d.ts +0 -30
  161. package/dist/hoi4_agent_tools/core/source/lexer.d.ts.map +0 -1
  162. package/dist/hoi4_agent_tools/core/source/lexer.js.map +0 -1
  163. package/dist/hoi4_agent_tools/core/source/limits.d.ts +0 -21
  164. package/dist/hoi4_agent_tools/core/source/limits.d.ts.map +0 -1
  165. package/dist/hoi4_agent_tools/core/source/limits.js.map +0 -1
  166. package/dist/hoi4_agent_tools/core/source/localisation.d.ts +0 -20
  167. package/dist/hoi4_agent_tools/core/source/localisation.d.ts.map +0 -1
  168. package/dist/hoi4_agent_tools/core/source/localisation.js.map +0 -1
  169. package/dist/hoi4_agent_tools/core/source/parser.d.ts +0 -44
  170. package/dist/hoi4_agent_tools/core/source/parser.d.ts.map +0 -1
  171. package/dist/hoi4_agent_tools/core/source/parser.js.map +0 -1
  172. package/dist/hoi4_agent_tools/core/source/rewrite.d.ts +0 -10
  173. package/dist/hoi4_agent_tools/core/source/rewrite.d.ts.map +0 -1
  174. package/dist/hoi4_agent_tools/core/source/rewrite.js.map +0 -1
  175. package/dist/hoi4_agent_tools/core/svg-text.d.ts +0 -34
  176. package/dist/hoi4_agent_tools/core/svg-text.d.ts.map +0 -1
  177. package/dist/hoi4_agent_tools/core/svg-text.js.map +0 -1
  178. package/dist/hoi4_agent_tools/core/transaction-limits.d.ts +0 -9
  179. package/dist/hoi4_agent_tools/core/transaction-limits.d.ts.map +0 -1
  180. package/dist/hoi4_agent_tools/core/transaction-limits.js.map +0 -1
  181. package/dist/hoi4_agent_tools/core/transactions.d.ts +0 -164
  182. package/dist/hoi4_agent_tools/core/transactions.d.ts.map +0 -1
  183. package/dist/hoi4_agent_tools/core/transactions.js.map +0 -1
  184. package/dist/hoi4_agent_tools/core/workspace.d.ts +0 -68
  185. package/dist/hoi4_agent_tools/core/workspace.d.ts.map +0 -1
  186. package/dist/hoi4_agent_tools/core/workspace.js.map +0 -1
  187. package/dist/hoi4_agent_tools/focus/compiler.d.ts +0 -10
  188. package/dist/hoi4_agent_tools/focus/compiler.d.ts.map +0 -1
  189. package/dist/hoi4_agent_tools/focus/compiler.js.map +0 -1
  190. package/dist/hoi4_agent_tools/focus/continuous-render.d.ts +0 -32
  191. package/dist/hoi4_agent_tools/focus/continuous-render.d.ts.map +0 -1
  192. package/dist/hoi4_agent_tools/focus/continuous-render.js.map +0 -1
  193. package/dist/hoi4_agent_tools/focus/drift.d.ts +0 -22
  194. package/dist/hoi4_agent_tools/focus/drift.d.ts.map +0 -1
  195. package/dist/hoi4_agent_tools/focus/drift.js.map +0 -1
  196. package/dist/hoi4_agent_tools/focus/geometry.d.ts +0 -17
  197. package/dist/hoi4_agent_tools/focus/geometry.d.ts.map +0 -1
  198. package/dist/hoi4_agent_tools/focus/geometry.js.map +0 -1
  199. package/dist/hoi4_agent_tools/focus/importer.d.ts +0 -9
  200. package/dist/hoi4_agent_tools/focus/importer.d.ts.map +0 -1
  201. package/dist/hoi4_agent_tools/focus/importer.js.map +0 -1
  202. package/dist/hoi4_agent_tools/focus/index.d.ts +0 -14
  203. package/dist/hoi4_agent_tools/focus/index.d.ts.map +0 -1
  204. package/dist/hoi4_agent_tools/focus/index.js.map +0 -1
  205. package/dist/hoi4_agent_tools/focus/layout.d.ts +0 -5
  206. package/dist/hoi4_agent_tools/focus/layout.d.ts.map +0 -1
  207. package/dist/hoi4_agent_tools/focus/layout.js.map +0 -1
  208. package/dist/hoi4_agent_tools/focus/limits.d.ts +0 -9
  209. package/dist/hoi4_agent_tools/focus/limits.d.ts.map +0 -1
  210. package/dist/hoi4_agent_tools/focus/limits.js.map +0 -1
  211. package/dist/hoi4_agent_tools/focus/lint.d.ts +0 -14
  212. package/dist/hoi4_agent_tools/focus/lint.d.ts.map +0 -1
  213. package/dist/hoi4_agent_tools/focus/lint.js.map +0 -1
  214. package/dist/hoi4_agent_tools/focus/model.d.ts +0 -307
  215. package/dist/hoi4_agent_tools/focus/model.d.ts.map +0 -1
  216. package/dist/hoi4_agent_tools/focus/model.js.map +0 -1
  217. package/dist/hoi4_agent_tools/focus/native-effects.d.ts +0 -9
  218. package/dist/hoi4_agent_tools/focus/native-effects.d.ts.map +0 -1
  219. package/dist/hoi4_agent_tools/focus/native-effects.js.map +0 -1
  220. package/dist/hoi4_agent_tools/focus/planning.d.ts +0 -15
  221. package/dist/hoi4_agent_tools/focus/planning.d.ts.map +0 -1
  222. package/dist/hoi4_agent_tools/focus/planning.js.map +0 -1
  223. package/dist/hoi4_agent_tools/focus/presentation.d.ts +0 -24
  224. package/dist/hoi4_agent_tools/focus/presentation.d.ts.map +0 -1
  225. package/dist/hoi4_agent_tools/focus/presentation.js.map +0 -1
  226. package/dist/hoi4_agent_tools/focus/render.d.ts +0 -39
  227. package/dist/hoi4_agent_tools/focus/render.d.ts.map +0 -1
  228. package/dist/hoi4_agent_tools/focus/render.js.map +0 -1
  229. package/dist/hoi4_agent_tools/focus/service.d.ts +0 -82
  230. package/dist/hoi4_agent_tools/focus/service.d.ts.map +0 -1
  231. package/dist/hoi4_agent_tools/focus/service.js.map +0 -1
  232. package/dist/hoi4_agent_tools/focus/source-update.d.ts +0 -6
  233. package/dist/hoi4_agent_tools/focus/source-update.d.ts.map +0 -1
  234. package/dist/hoi4_agent_tools/focus/source-update.js.map +0 -1
  235. package/dist/hoi4_agent_tools/gui/animation-manifest.d.ts +0 -37
  236. package/dist/hoi4_agent_tools/gui/animation-manifest.d.ts.map +0 -1
  237. package/dist/hoi4_agent_tools/gui/animation-manifest.js.map +0 -1
  238. package/dist/hoi4_agent_tools/gui/assets.d.ts +0 -71
  239. package/dist/hoi4_agent_tools/gui/assets.d.ts.map +0 -1
  240. package/dist/hoi4_agent_tools/gui/assets.js.map +0 -1
  241. package/dist/hoi4_agent_tools/gui/dds.d.ts +0 -17
  242. package/dist/hoi4_agent_tools/gui/dds.d.ts.map +0 -1
  243. package/dist/hoi4_agent_tools/gui/dds.js.map +0 -1
  244. package/dist/hoi4_agent_tools/gui/helpers.d.ts +0 -101
  245. package/dist/hoi4_agent_tools/gui/helpers.d.ts.map +0 -1
  246. package/dist/hoi4_agent_tools/gui/helpers.js.map +0 -1
  247. package/dist/hoi4_agent_tools/gui/index.d.ts +0 -15
  248. package/dist/hoi4_agent_tools/gui/index.d.ts.map +0 -1
  249. package/dist/hoi4_agent_tools/gui/index.js.map +0 -1
  250. package/dist/hoi4_agent_tools/gui/layout.d.ts +0 -6
  251. package/dist/hoi4_agent_tools/gui/layout.d.ts.map +0 -1
  252. package/dist/hoi4_agent_tools/gui/layout.js.map +0 -1
  253. package/dist/hoi4_agent_tools/gui/limits.d.ts +0 -25
  254. package/dist/hoi4_agent_tools/gui/limits.d.ts.map +0 -1
  255. package/dist/hoi4_agent_tools/gui/limits.js.map +0 -1
  256. package/dist/hoi4_agent_tools/gui/renderer.d.ts +0 -18
  257. package/dist/hoi4_agent_tools/gui/renderer.d.ts.map +0 -1
  258. package/dist/hoi4_agent_tools/gui/renderer.js.map +0 -1
  259. package/dist/hoi4_agent_tools/gui/scenario.d.ts +0 -66
  260. package/dist/hoi4_agent_tools/gui/scenario.d.ts.map +0 -1
  261. package/dist/hoi4_agent_tools/gui/scenario.js.map +0 -1
  262. package/dist/hoi4_agent_tools/gui/source-graph.d.ts +0 -7
  263. package/dist/hoi4_agent_tools/gui/source-graph.d.ts.map +0 -1
  264. package/dist/hoi4_agent_tools/gui/source-graph.js.map +0 -1
  265. package/dist/hoi4_agent_tools/gui/source-patch.d.ts +0 -13
  266. package/dist/hoi4_agent_tools/gui/source-patch.d.ts.map +0 -1
  267. package/dist/hoi4_agent_tools/gui/source-patch.js.map +0 -1
  268. package/dist/hoi4_agent_tools/gui/studio.d.ts +0 -86
  269. package/dist/hoi4_agent_tools/gui/studio.d.ts.map +0 -1
  270. package/dist/hoi4_agent_tools/gui/studio.js.map +0 -1
  271. package/dist/hoi4_agent_tools/gui/tga.d.ts +0 -16
  272. package/dist/hoi4_agent_tools/gui/tga.d.ts.map +0 -1
  273. package/dist/hoi4_agent_tools/gui/tga.js.map +0 -1
  274. package/dist/hoi4_agent_tools/gui/types.d.ts +0 -322
  275. package/dist/hoi4_agent_tools/gui/types.d.ts.map +0 -1
  276. package/dist/hoi4_agent_tools/gui/types.js.map +0 -1
  277. package/dist/hoi4_agent_tools/gui/validators.d.ts +0 -8
  278. package/dist/hoi4_agent_tools/gui/validators.d.ts.map +0 -1
  279. package/dist/hoi4_agent_tools/gui/validators.js.map +0 -1
  280. package/dist/hoi4_agent_tools/map/bmp.d.ts +0 -62
  281. package/dist/hoi4_agent_tools/map/bmp.d.ts.map +0 -1
  282. package/dist/hoi4_agent_tools/map/bmp.js.map +0 -1
  283. package/dist/hoi4_agent_tools/map/diagnostic-limit.d.ts +0 -5
  284. package/dist/hoi4_agent_tools/map/diagnostic-limit.d.ts.map +0 -1
  285. package/dist/hoi4_agent_tools/map/diagnostic-limit.js.map +0 -1
  286. package/dist/hoi4_agent_tools/map/index.d.ts +0 -8
  287. package/dist/hoi4_agent_tools/map/index.d.ts.map +0 -1
  288. package/dist/hoi4_agent_tools/map/index.js.map +0 -1
  289. package/dist/hoi4_agent_tools/map/limits.d.ts +0 -13
  290. package/dist/hoi4_agent_tools/map/limits.d.ts.map +0 -1
  291. package/dist/hoi4_agent_tools/map/limits.js.map +0 -1
  292. package/dist/hoi4_agent_tools/map/model.d.ts +0 -269
  293. package/dist/hoi4_agent_tools/map/model.d.ts.map +0 -1
  294. package/dist/hoi4_agent_tools/map/model.js.map +0 -1
  295. package/dist/hoi4_agent_tools/map/operations.d.ts +0 -401
  296. package/dist/hoi4_agent_tools/map/operations.d.ts.map +0 -1
  297. package/dist/hoi4_agent_tools/map/operations.js.map +0 -1
  298. package/dist/hoi4_agent_tools/map/render.d.ts +0 -90
  299. package/dist/hoi4_agent_tools/map/render.d.ts.map +0 -1
  300. package/dist/hoi4_agent_tools/map/render.js.map +0 -1
  301. package/dist/hoi4_agent_tools/map/service.d.ts +0 -81
  302. package/dist/hoi4_agent_tools/map/service.d.ts.map +0 -1
  303. package/dist/hoi4_agent_tools/map/service.js.map +0 -1
  304. package/dist/hoi4_agent_tools/map/validation.d.ts +0 -23
  305. package/dist/hoi4_agent_tools/map/validation.d.ts.map +0 -1
  306. package/dist/hoi4_agent_tools/map/validation.js.map +0 -1
  307. package/dist/hoi4_agent_tools/mcp/prompts/register.d.ts +0 -4
  308. package/dist/hoi4_agent_tools/mcp/prompts/register.d.ts.map +0 -1
  309. package/dist/hoi4_agent_tools/mcp/prompts/register.js +0 -72
  310. package/dist/hoi4_agent_tools/mcp/prompts/register.js.map +0 -1
  311. package/dist/hoi4_agent_tools/mcp/registry/metadata.d.ts +0 -9
  312. package/dist/hoi4_agent_tools/mcp/registry/metadata.d.ts.map +0 -1
  313. package/dist/hoi4_agent_tools/mcp/registry/metadata.js +0 -10
  314. package/dist/hoi4_agent_tools/mcp/registry/metadata.js.map +0 -1
  315. package/dist/hoi4_agent_tools/mcp/resources/register.d.ts +0 -5
  316. package/dist/hoi4_agent_tools/mcp/resources/register.d.ts.map +0 -1
  317. package/dist/hoi4_agent_tools/mcp/resources/register.js.map +0 -1
  318. package/dist/hoi4_agent_tools/mcp/security/auth.d.ts +0 -24
  319. package/dist/hoi4_agent_tools/mcp/security/auth.d.ts.map +0 -1
  320. package/dist/hoi4_agent_tools/mcp/security/auth.js.map +0 -1
  321. package/dist/hoi4_agent_tools/mcp/server/base-tools.d.ts +0 -47
  322. package/dist/hoi4_agent_tools/mcp/server/base-tools.d.ts.map +0 -1
  323. package/dist/hoi4_agent_tools/mcp/server/base-tools.js.map +0 -1
  324. package/dist/hoi4_agent_tools/mcp/server/create.d.ts +0 -5
  325. package/dist/hoi4_agent_tools/mcp/server/create.d.ts.map +0 -1
  326. package/dist/hoi4_agent_tools/mcp/server/create.js.map +0 -1
  327. package/dist/hoi4_agent_tools/mcp/server/output-schemas.d.ts +0 -138
  328. package/dist/hoi4_agent_tools/mcp/server/output-schemas.d.ts.map +0 -1
  329. package/dist/hoi4_agent_tools/mcp/server/output-schemas.js.map +0 -1
  330. package/dist/hoi4_agent_tools/mcp/server/progress.d.ts +0 -8
  331. package/dist/hoi4_agent_tools/mcp/server/progress.d.ts.map +0 -1
  332. package/dist/hoi4_agent_tools/mcp/server/progress.js.map +0 -1
  333. package/dist/hoi4_agent_tools/mcp/server/result.d.ts +0 -232
  334. package/dist/hoi4_agent_tools/mcp/server/result.d.ts.map +0 -1
  335. package/dist/hoi4_agent_tools/mcp/server/result.js.map +0 -1
  336. package/dist/hoi4_agent_tools/mcp/server/transaction-execution.d.ts +0 -31
  337. package/dist/hoi4_agent_tools/mcp/server/transaction-execution.d.ts.map +0 -1
  338. package/dist/hoi4_agent_tools/mcp/server/transaction-execution.js.map +0 -1
  339. package/dist/hoi4_agent_tools/mcp/tools/focus.d.ts +0 -5
  340. package/dist/hoi4_agent_tools/mcp/tools/focus.d.ts.map +0 -1
  341. package/dist/hoi4_agent_tools/mcp/tools/focus.js.map +0 -1
  342. package/dist/hoi4_agent_tools/mcp/tools/gui.d.ts +0 -117
  343. package/dist/hoi4_agent_tools/mcp/tools/gui.d.ts.map +0 -1
  344. package/dist/hoi4_agent_tools/mcp/tools/gui.js.map +0 -1
  345. package/dist/hoi4_agent_tools/mcp/tools/map.d.ts +0 -5
  346. package/dist/hoi4_agent_tools/mcp/tools/map.d.ts.map +0 -1
  347. package/dist/hoi4_agent_tools/mcp/tools/map.js.map +0 -1
  348. package/dist/hoi4_agent_tools/mcp/transports/bounded-stdio.d.ts +0 -58
  349. package/dist/hoi4_agent_tools/mcp/transports/bounded-stdio.d.ts.map +0 -1
  350. package/dist/hoi4_agent_tools/mcp/transports/bounded-stdio.js.map +0 -1
  351. package/dist/hoi4_agent_tools/mcp/transports/event-store.d.ts +0 -26
  352. package/dist/hoi4_agent_tools/mcp/transports/event-store.d.ts.map +0 -1
  353. package/dist/hoi4_agent_tools/mcp/transports/event-store.js.map +0 -1
  354. package/dist/hoi4_agent_tools/mcp/transports/http.d.ts +0 -28
  355. package/dist/hoi4_agent_tools/mcp/transports/http.d.ts.map +0 -1
  356. package/dist/hoi4_agent_tools/mcp/transports/http.js.map +0 -1
  357. package/dist/hoi4_agent_tools/mcp/transports/protocol-gate.d.ts +0 -15
  358. package/dist/hoi4_agent_tools/mcp/transports/protocol-gate.d.ts.map +0 -1
  359. package/dist/hoi4_agent_tools/mcp/transports/protocol-gate.js.map +0 -1
  360. package/dist/hoi4_agent_tools/runtime.d.ts +0 -4
  361. package/dist/hoi4_agent_tools/runtime.d.ts.map +0 -1
  362. package/dist/hoi4_agent_tools/runtime.js.map +0 -1
  363. package/dist/hoi4_agent_tools/schemas/common.d.ts +0 -74
  364. package/dist/hoi4_agent_tools/schemas/common.d.ts.map +0 -1
  365. package/dist/hoi4_agent_tools/schemas/common.js.map +0 -1
  366. package/dist/hoi4_agent_tools/schemas/focus.d.ts +0 -784
  367. package/dist/hoi4_agent_tools/schemas/focus.d.ts.map +0 -1
  368. package/dist/hoi4_agent_tools/schemas/focus.js.map +0 -1
  369. package/dist/hoi4_agent_tools/schemas/index.d.ts +0 -5
  370. package/dist/hoi4_agent_tools/schemas/index.d.ts.map +0 -1
  371. package/dist/hoi4_agent_tools/schemas/index.js +0 -5
  372. package/dist/hoi4_agent_tools/schemas/index.js.map +0 -1
  373. package/dist/hoi4_agent_tools/schemas/map.d.ts +0 -654
  374. package/dist/hoi4_agent_tools/schemas/map.d.ts.map +0 -1
  375. package/dist/hoi4_agent_tools/schemas/map.js.map +0 -1
  376. package/dist/hoi4_agent_tools/schemas/transaction.d.ts +0 -259
  377. package/dist/hoi4_agent_tools/schemas/transaction.d.ts.map +0 -1
  378. package/dist/hoi4_agent_tools/schemas/transaction.js.map +0 -1
  379. package/dist/hoi4_agent_tools/version.d.ts +0 -6
  380. package/dist/hoi4_agent_tools/version.d.ts.map +0 -1
  381. package/dist/hoi4_agent_tools/version.js.map +0 -1
  382. package/dist/index.d.ts +0 -3
  383. package/dist/index.d.ts.map +0 -1
  384. package/dist/index.js +0 -3
  385. package/dist/index.js.map +0 -1
  386. package/docs/adr/0001-runtime-and-language.md +0 -16
  387. package/docs/adr/0002-lossless-source-model.md +0 -18
  388. package/docs/adr/0003-image-and-font-codecs.md +0 -18
  389. package/docs/adr/0004-focus-layout.md +0 -16
  390. package/docs/adr/0005-offline-rendering.md +0 -18
  391. package/docs/adr/0006-mcp-sdk-and-protocol.md +0 -16
  392. package/docs/adr/0007-storage-and-transactions.md +0 -24
  393. package/docs/adr/0008-test-strategy.md +0 -18
  394. package/docs/adr/0009-packaging-and-registry.md +0 -16
  395. package/docs/adr/0010-unsupported-and-refusal-policy.md +0 -18
  396. package/docs/adr/0011-http-security.md +0 -16
  397. package/docs/adr/0012-autonomous-rewrites.md +0 -55
  398. package/docs/adr/README.md +0 -14
  399. package/docs/agent-integration.md +0 -146
  400. package/docs/architecture.md +0 -76
  401. package/docs/artifacts.md +0 -136
  402. package/docs/compatibility.md +0 -33
  403. package/docs/completion-report.md +0 -122
  404. package/docs/configuration.md +0 -305
  405. package/docs/focus-workflow.md +0 -197
  406. package/docs/gui-workflow.md +0 -125
  407. package/docs/limitations.md +0 -32
  408. package/docs/map-workflow.md +0 -95
  409. package/docs/performance.md +0 -117
  410. package/docs/release.md +0 -222
  411. package/docs/research/mcp-2026-07-10.md +0 -52
  412. package/docs/research/source-ledger.md +0 -68
  413. package/docs/security.md +0 -145
  414. package/docs/self-hosting.md +0 -170
  415. package/docs/testing.md +0 -43
  416. package/docs/third-party-notices.md +0 -11
  417. package/docs/transactions.md +0 -180
  418. package/docs/troubleshooting.md +0 -54
  419. package/schemas/configuration.schema.json +0 -795
  420. package/schemas/continuous-focus-palette.schema.json +0 -325
  421. package/schemas/focus-plan.schema.json +0 -927
  422. package/schemas/focus-planning-sidecar.schema.json +0 -379
  423. package/schemas/gui-animation-source.schema.json +0 -176
  424. package/schemas/gui-helper.schema.json +0 -301
  425. package/schemas/gui-scenario.schema.json +0 -298
  426. package/schemas/map-operation.schema.json +0 -2284
  427. package/schemas/operation-result.schema.json +0 -344
  428. package/schemas/transaction-manifest.schema.json +0 -685
@@ -1,654 +0,0 @@
1
- import { z } from 'zod/v4';
2
- export declare const mapOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
- kind: z.ZodLiteral<"move_state_provinces">;
4
- sourceStateId: z.ZodNumber;
5
- targetStateId: z.ZodNumber;
6
- provinceIds: z.ZodArray<z.ZodNumber>;
7
- distribution: z.ZodObject<{
8
- stateValues: z.ZodLiteral<"retain-in-current-states">;
9
- ownership: z.ZodLiteral<"retain-in-current-states">;
10
- provinceBuildings: z.ZodLiteral<"follow-province">;
11
- victoryPoints: z.ZodLiteral<"follow-province">;
12
- ports: z.ZodLiteral<"follow-province">;
13
- supplyNodes: z.ZodLiteral<"follow-province">;
14
- railways: z.ZodLiteral<"follow-province">;
15
- positions: z.ZodLiteral<"follow-province">;
16
- strategicRegion: z.ZodEnum<{
17
- "require-same": "require-same";
18
- "move-to-target-region": "move-to-target-region";
19
- }>;
20
- }, z.core.$strict>;
21
- id: z.ZodString;
22
- summary: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strict>, z.ZodObject<{
24
- kind: z.ZodLiteral<"add_normal_adjacency">;
25
- from: z.ZodNumber;
26
- to: z.ZodNumber;
27
- pixelTransfers: z.ZodArray<z.ZodObject<{
28
- x: z.ZodNumber;
29
- y: z.ZodNumber;
30
- sourceProvinceId: z.ZodNumber;
31
- targetProvinceId: z.ZodNumber;
32
- }, z.core.$strict>>;
33
- id: z.ZodString;
34
- summary: z.ZodOptional<z.ZodString>;
35
- }, z.core.$strict>, z.ZodObject<{
36
- kind: z.ZodLiteral<"remove_normal_adjacency">;
37
- from: z.ZodNumber;
38
- to: z.ZodNumber;
39
- pixelTransfers: z.ZodArray<z.ZodObject<{
40
- x: z.ZodNumber;
41
- y: z.ZodNumber;
42
- sourceProvinceId: z.ZodNumber;
43
- targetProvinceId: z.ZodNumber;
44
- }, z.core.$strict>>;
45
- id: z.ZodString;
46
- summary: z.ZodOptional<z.ZodString>;
47
- }, z.core.$strict>, z.ZodObject<{
48
- kind: z.ZodLiteral<"update_state">;
49
- stateId: z.ZodNumber;
50
- changes: z.ZodObject<{
51
- capital: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
- manpower: z.ZodOptional<z.ZodNumber>;
53
- category: z.ZodOptional<z.ZodString>;
54
- resources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
55
- stateBuildings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
56
- owner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- controller: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- cores: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
- claims: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
- victoryPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
- provinceId: z.ZodNumber;
62
- value: z.ZodNumber;
63
- }, z.core.$strict>>>;
64
- provinceBuildings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>>;
65
- }, z.core.$strict>;
66
- id: z.ZodString;
67
- summary: z.ZodOptional<z.ZodString>;
68
- }, z.core.$strict>, z.ZodObject<{
69
- kind: z.ZodLiteral<"split_state" | "create_state">;
70
- sourceStateId: z.ZodNumber;
71
- stateId: z.ZodOptional<z.ZodNumber>;
72
- provinceIds: z.ZodArray<z.ZodNumber>;
73
- name: z.ZodOptional<z.ZodString>;
74
- fileName: z.ZodOptional<z.ZodString>;
75
- localisation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
76
- method: z.ZodLiteral<"existing">;
77
- language: z.ZodLiteral<"l_english">;
78
- }, z.core.$strict>, z.ZodObject<{
79
- method: z.ZodLiteral<"upsert">;
80
- language: z.ZodLiteral<"l_english">;
81
- value: z.ZodString;
82
- file: z.ZodOptional<z.ZodString>;
83
- }, z.core.$strict>], "method">>;
84
- distribution: z.ZodObject<{
85
- manpower: z.ZodDiscriminatedUnion<[z.ZodObject<{
86
- method: z.ZodLiteral<"retain-in-source">;
87
- }, z.core.$strict>, z.ZodObject<{
88
- method: z.ZodLiteral<"proportional-by-land-pixels">;
89
- }, z.core.$strict>, z.ZodObject<{
90
- method: z.ZodLiteral<"exact">;
91
- source: z.ZodNumber;
92
- destination: z.ZodNumber;
93
- }, z.core.$strict>], "method">;
94
- resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
95
- method: z.ZodLiteral<"retain-in-source">;
96
- }, z.core.$strict>, z.ZodObject<{
97
- method: z.ZodLiteral<"proportional-by-land-pixels">;
98
- }, z.core.$strict>, z.ZodObject<{
99
- method: z.ZodLiteral<"exact">;
100
- source: z.ZodRecord<z.ZodString, z.ZodNumber>;
101
- destination: z.ZodRecord<z.ZodString, z.ZodNumber>;
102
- }, z.core.$strict>], "method">;
103
- stateBuildings: z.ZodDiscriminatedUnion<[z.ZodObject<{
104
- method: z.ZodLiteral<"retain-in-source">;
105
- }, z.core.$strict>, z.ZodObject<{
106
- method: z.ZodLiteral<"proportional-by-land-pixels">;
107
- }, z.core.$strict>, z.ZodObject<{
108
- method: z.ZodLiteral<"exact">;
109
- source: z.ZodRecord<z.ZodString, z.ZodNumber>;
110
- destination: z.ZodRecord<z.ZodString, z.ZodNumber>;
111
- }, z.core.$strict>], "method">;
112
- owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
113
- method: z.ZodLiteral<"copy-source">;
114
- }, z.core.$strict>, z.ZodObject<{
115
- method: z.ZodLiteral<"exact">;
116
- source: z.ZodNullable<z.ZodString>;
117
- destination: z.ZodNullable<z.ZodString>;
118
- }, z.core.$strict>], "method">;
119
- controller: z.ZodDiscriminatedUnion<[z.ZodObject<{
120
- method: z.ZodLiteral<"copy-source">;
121
- }, z.core.$strict>, z.ZodObject<{
122
- method: z.ZodLiteral<"exact">;
123
- source: z.ZodNullable<z.ZodString>;
124
- destination: z.ZodNullable<z.ZodString>;
125
- }, z.core.$strict>], "method">;
126
- cores: z.ZodDiscriminatedUnion<[z.ZodObject<{
127
- method: z.ZodLiteral<"copy-source">;
128
- }, z.core.$strict>, z.ZodObject<{
129
- method: z.ZodLiteral<"exact">;
130
- source: z.ZodArray<z.ZodString>;
131
- destination: z.ZodArray<z.ZodString>;
132
- }, z.core.$strict>], "method">;
133
- claims: z.ZodDiscriminatedUnion<[z.ZodObject<{
134
- method: z.ZodLiteral<"copy-source">;
135
- }, z.core.$strict>, z.ZodObject<{
136
- method: z.ZodLiteral<"exact">;
137
- source: z.ZodArray<z.ZodString>;
138
- destination: z.ZodArray<z.ZodString>;
139
- }, z.core.$strict>], "method">;
140
- victoryPoints: z.ZodLiteral<"follow-province">;
141
- provinceBuildings: z.ZodLiteral<"follow-province">;
142
- ports: z.ZodLiteral<"follow-province">;
143
- supplyNodes: z.ZodLiteral<"follow-province">;
144
- railways: z.ZodLiteral<"follow-province">;
145
- positions: z.ZodLiteral<"follow-province">;
146
- }, z.core.$strict>;
147
- id: z.ZodString;
148
- summary: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strict>, z.ZodObject<{
150
- kind: z.ZodLiteral<"split_state" | "create_state">;
151
- sourceStateId: z.ZodNumber;
152
- stateId: z.ZodOptional<z.ZodNumber>;
153
- provinceIds: z.ZodArray<z.ZodNumber>;
154
- name: z.ZodOptional<z.ZodString>;
155
- fileName: z.ZodOptional<z.ZodString>;
156
- localisation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
157
- method: z.ZodLiteral<"existing">;
158
- language: z.ZodLiteral<"l_english">;
159
- }, z.core.$strict>, z.ZodObject<{
160
- method: z.ZodLiteral<"upsert">;
161
- language: z.ZodLiteral<"l_english">;
162
- value: z.ZodString;
163
- file: z.ZodOptional<z.ZodString>;
164
- }, z.core.$strict>], "method">>;
165
- distribution: z.ZodObject<{
166
- manpower: z.ZodDiscriminatedUnion<[z.ZodObject<{
167
- method: z.ZodLiteral<"retain-in-source">;
168
- }, z.core.$strict>, z.ZodObject<{
169
- method: z.ZodLiteral<"proportional-by-land-pixels">;
170
- }, z.core.$strict>, z.ZodObject<{
171
- method: z.ZodLiteral<"exact">;
172
- source: z.ZodNumber;
173
- destination: z.ZodNumber;
174
- }, z.core.$strict>], "method">;
175
- resources: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
- method: z.ZodLiteral<"retain-in-source">;
177
- }, z.core.$strict>, z.ZodObject<{
178
- method: z.ZodLiteral<"proportional-by-land-pixels">;
179
- }, z.core.$strict>, z.ZodObject<{
180
- method: z.ZodLiteral<"exact">;
181
- source: z.ZodRecord<z.ZodString, z.ZodNumber>;
182
- destination: z.ZodRecord<z.ZodString, z.ZodNumber>;
183
- }, z.core.$strict>], "method">;
184
- stateBuildings: z.ZodDiscriminatedUnion<[z.ZodObject<{
185
- method: z.ZodLiteral<"retain-in-source">;
186
- }, z.core.$strict>, z.ZodObject<{
187
- method: z.ZodLiteral<"proportional-by-land-pixels">;
188
- }, z.core.$strict>, z.ZodObject<{
189
- method: z.ZodLiteral<"exact">;
190
- source: z.ZodRecord<z.ZodString, z.ZodNumber>;
191
- destination: z.ZodRecord<z.ZodString, z.ZodNumber>;
192
- }, z.core.$strict>], "method">;
193
- owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
194
- method: z.ZodLiteral<"copy-source">;
195
- }, z.core.$strict>, z.ZodObject<{
196
- method: z.ZodLiteral<"exact">;
197
- source: z.ZodNullable<z.ZodString>;
198
- destination: z.ZodNullable<z.ZodString>;
199
- }, z.core.$strict>], "method">;
200
- controller: z.ZodDiscriminatedUnion<[z.ZodObject<{
201
- method: z.ZodLiteral<"copy-source">;
202
- }, z.core.$strict>, z.ZodObject<{
203
- method: z.ZodLiteral<"exact">;
204
- source: z.ZodNullable<z.ZodString>;
205
- destination: z.ZodNullable<z.ZodString>;
206
- }, z.core.$strict>], "method">;
207
- cores: z.ZodDiscriminatedUnion<[z.ZodObject<{
208
- method: z.ZodLiteral<"copy-source">;
209
- }, z.core.$strict>, z.ZodObject<{
210
- method: z.ZodLiteral<"exact">;
211
- source: z.ZodArray<z.ZodString>;
212
- destination: z.ZodArray<z.ZodString>;
213
- }, z.core.$strict>], "method">;
214
- claims: z.ZodDiscriminatedUnion<[z.ZodObject<{
215
- method: z.ZodLiteral<"copy-source">;
216
- }, z.core.$strict>, z.ZodObject<{
217
- method: z.ZodLiteral<"exact">;
218
- source: z.ZodArray<z.ZodString>;
219
- destination: z.ZodArray<z.ZodString>;
220
- }, z.core.$strict>], "method">;
221
- victoryPoints: z.ZodLiteral<"follow-province">;
222
- provinceBuildings: z.ZodLiteral<"follow-province">;
223
- ports: z.ZodLiteral<"follow-province">;
224
- supplyNodes: z.ZodLiteral<"follow-province">;
225
- railways: z.ZodLiteral<"follow-province">;
226
- positions: z.ZodLiteral<"follow-province">;
227
- }, z.core.$strict>;
228
- id: z.ZodString;
229
- summary: z.ZodOptional<z.ZodString>;
230
- }, z.core.$strict>, z.ZodObject<{
231
- kind: z.ZodLiteral<"merge_states">;
232
- sourceStateIds: z.ZodArray<z.ZodNumber>;
233
- targetStateId: z.ZodNumber;
234
- distribution: z.ZodObject<{
235
- stateValues: z.ZodLiteral<"sum-into-target">;
236
- ownership: z.ZodLiteral<"retain-target">;
237
- controller: z.ZodLiteral<"retain-target">;
238
- cores: z.ZodLiteral<"union">;
239
- claims: z.ZodLiteral<"union">;
240
- victoryPoints: z.ZodLiteral<"follow-province">;
241
- provinceBuildings: z.ZodLiteral<"follow-province">;
242
- ports: z.ZodLiteral<"follow-province">;
243
- supplyNodes: z.ZodLiteral<"follow-province">;
244
- railways: z.ZodLiteral<"follow-province">;
245
- positions: z.ZodLiteral<"follow-province">;
246
- strategicRegion: z.ZodLiteral<"require-same">;
247
- }, z.core.$strict>;
248
- id: z.ZodString;
249
- summary: z.ZodOptional<z.ZodString>;
250
- }, z.core.$strict>, z.ZodObject<{
251
- kind: z.ZodLiteral<"split_province" | "create_province">;
252
- sourceProvinceId: z.ZodNumber;
253
- provinceId: z.ZodOptional<z.ZodNumber>;
254
- geometry: z.ZodDiscriminatedUnion<[z.ZodObject<{
255
- kind: z.ZodLiteral<"pixels">;
256
- pixels: z.ZodArray<z.ZodObject<{
257
- x: z.ZodNumber;
258
- y: z.ZodNumber;
259
- }, z.core.$strict>>;
260
- }, z.core.$strict>, z.ZodObject<{
261
- kind: z.ZodLiteral<"mask">;
262
- width: z.ZodNumber;
263
- height: z.ZodNumber;
264
- origin: z.ZodObject<{
265
- x: z.ZodNumber;
266
- y: z.ZodNumber;
267
- }, z.core.$strict>;
268
- selectedPixelCount: z.ZodNumber;
269
- sha256: z.ZodString;
270
- data: z.ZodString;
271
- }, z.core.$strict>, z.ZodObject<{
272
- kind: z.ZodLiteral<"polygon">;
273
- fillRule: z.ZodLiteral<"even-odd">;
274
- points: z.ZodArray<z.ZodObject<{
275
- x: z.ZodNumber;
276
- y: z.ZodNumber;
277
- }, z.core.$strict>>;
278
- }, z.core.$strict>], "kind">;
279
- definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
280
- method: z.ZodLiteral<"inherit-source">;
281
- overrides: z.ZodOptional<z.ZodObject<{
282
- color: z.ZodOptional<z.ZodObject<{
283
- r: z.ZodNumber;
284
- g: z.ZodNumber;
285
- b: z.ZodNumber;
286
- }, z.core.$strict>>;
287
- type: z.ZodOptional<z.ZodEnum<{
288
- sea: "sea";
289
- land: "land";
290
- lake: "lake";
291
- }>>;
292
- coastal: z.ZodOptional<z.ZodBoolean>;
293
- terrain: z.ZodOptional<z.ZodString>;
294
- continent: z.ZodOptional<z.ZodNumber>;
295
- }, z.core.$strict>>;
296
- }, z.core.$strict>, z.ZodObject<{
297
- method: z.ZodLiteral<"exact">;
298
- value: z.ZodObject<{
299
- color: z.ZodOptional<z.ZodObject<{
300
- r: z.ZodNumber;
301
- g: z.ZodNumber;
302
- b: z.ZodNumber;
303
- }, z.core.$strict>>;
304
- type: z.ZodEnum<{
305
- sea: "sea";
306
- land: "land";
307
- lake: "lake";
308
- }>;
309
- coastal: z.ZodBoolean;
310
- terrain: z.ZodString;
311
- continent: z.ZodNumber;
312
- }, z.core.$strict>;
313
- }, z.core.$strict>], "method">;
314
- distribution: z.ZodObject<{
315
- state: z.ZodEnum<{
316
- none: "none";
317
- "inherit-source": "inherit-source";
318
- }>;
319
- strategicRegion: z.ZodLiteral<"inherit-source">;
320
- victoryPoints: z.ZodLiteral<"retain-source">;
321
- provinceBuildings: z.ZodLiteral<"retain-source">;
322
- ports: z.ZodLiteral<"retain-source">;
323
- supplyNodes: z.ZodLiteral<"retain-source">;
324
- railways: z.ZodLiteral<"retain-source">;
325
- adjacencies: z.ZodLiteral<"retain-source">;
326
- positions: z.ZodLiteral<"retain-source">;
327
- entityLocators: z.ZodLiteral<"retain-source">;
328
- }, z.core.$strict>;
329
- id: z.ZodString;
330
- summary: z.ZodOptional<z.ZodString>;
331
- }, z.core.$strict>, z.ZodObject<{
332
- kind: z.ZodLiteral<"split_province" | "create_province">;
333
- sourceProvinceId: z.ZodNumber;
334
- provinceId: z.ZodOptional<z.ZodNumber>;
335
- geometry: z.ZodDiscriminatedUnion<[z.ZodObject<{
336
- kind: z.ZodLiteral<"pixels">;
337
- pixels: z.ZodArray<z.ZodObject<{
338
- x: z.ZodNumber;
339
- y: z.ZodNumber;
340
- }, z.core.$strict>>;
341
- }, z.core.$strict>, z.ZodObject<{
342
- kind: z.ZodLiteral<"mask">;
343
- width: z.ZodNumber;
344
- height: z.ZodNumber;
345
- origin: z.ZodObject<{
346
- x: z.ZodNumber;
347
- y: z.ZodNumber;
348
- }, z.core.$strict>;
349
- selectedPixelCount: z.ZodNumber;
350
- sha256: z.ZodString;
351
- data: z.ZodString;
352
- }, z.core.$strict>, z.ZodObject<{
353
- kind: z.ZodLiteral<"polygon">;
354
- fillRule: z.ZodLiteral<"even-odd">;
355
- points: z.ZodArray<z.ZodObject<{
356
- x: z.ZodNumber;
357
- y: z.ZodNumber;
358
- }, z.core.$strict>>;
359
- }, z.core.$strict>], "kind">;
360
- definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
361
- method: z.ZodLiteral<"inherit-source">;
362
- overrides: z.ZodOptional<z.ZodObject<{
363
- color: z.ZodOptional<z.ZodObject<{
364
- r: z.ZodNumber;
365
- g: z.ZodNumber;
366
- b: z.ZodNumber;
367
- }, z.core.$strict>>;
368
- type: z.ZodOptional<z.ZodEnum<{
369
- sea: "sea";
370
- land: "land";
371
- lake: "lake";
372
- }>>;
373
- coastal: z.ZodOptional<z.ZodBoolean>;
374
- terrain: z.ZodOptional<z.ZodString>;
375
- continent: z.ZodOptional<z.ZodNumber>;
376
- }, z.core.$strict>>;
377
- }, z.core.$strict>, z.ZodObject<{
378
- method: z.ZodLiteral<"exact">;
379
- value: z.ZodObject<{
380
- color: z.ZodOptional<z.ZodObject<{
381
- r: z.ZodNumber;
382
- g: z.ZodNumber;
383
- b: z.ZodNumber;
384
- }, z.core.$strict>>;
385
- type: z.ZodEnum<{
386
- sea: "sea";
387
- land: "land";
388
- lake: "lake";
389
- }>;
390
- coastal: z.ZodBoolean;
391
- terrain: z.ZodString;
392
- continent: z.ZodNumber;
393
- }, z.core.$strict>;
394
- }, z.core.$strict>], "method">;
395
- distribution: z.ZodObject<{
396
- state: z.ZodEnum<{
397
- none: "none";
398
- "inherit-source": "inherit-source";
399
- }>;
400
- strategicRegion: z.ZodLiteral<"inherit-source">;
401
- victoryPoints: z.ZodLiteral<"retain-source">;
402
- provinceBuildings: z.ZodLiteral<"retain-source">;
403
- ports: z.ZodLiteral<"retain-source">;
404
- supplyNodes: z.ZodLiteral<"retain-source">;
405
- railways: z.ZodLiteral<"retain-source">;
406
- adjacencies: z.ZodLiteral<"retain-source">;
407
- positions: z.ZodLiteral<"retain-source">;
408
- entityLocators: z.ZodLiteral<"retain-source">;
409
- }, z.core.$strict>;
410
- id: z.ZodString;
411
- summary: z.ZodOptional<z.ZodString>;
412
- }, z.core.$strict>, z.ZodObject<{
413
- kind: z.ZodLiteral<"merge_provinces">;
414
- sourceProvinceIds: z.ZodArray<z.ZodNumber>;
415
- targetProvinceId: z.ZodNumber;
416
- distribution: z.ZodObject<{
417
- membership: z.ZodLiteral<"require-same">;
418
- victoryPoints: z.ZodLiteral<"sum-into-target">;
419
- provinceBuildings: z.ZodLiteral<"sum-into-target">;
420
- references: z.ZodLiteral<"remap-to-target-and-deduplicate">;
421
- }, z.core.$strict>;
422
- id: z.ZodString;
423
- summary: z.ZodOptional<z.ZodString>;
424
- }, z.core.$strict>, z.ZodObject<{
425
- kind: z.ZodLiteral<"remove_province">;
426
- provinceId: z.ZodNumber;
427
- mergeIntoProvinceId: z.ZodNumber;
428
- distribution: z.ZodObject<{
429
- membership: z.ZodLiteral<"require-same">;
430
- victoryPoints: z.ZodLiteral<"sum-into-target">;
431
- provinceBuildings: z.ZodLiteral<"sum-into-target">;
432
- references: z.ZodLiteral<"remap-to-target-and-deduplicate">;
433
- }, z.core.$strict>;
434
- id: z.ZodString;
435
- summary: z.ZodOptional<z.ZodString>;
436
- }, z.core.$strict>, z.ZodObject<{
437
- kind: z.ZodLiteral<"update_province_definition">;
438
- provinceId: z.ZodNumber;
439
- changes: z.ZodObject<{
440
- color: z.ZodOptional<z.ZodObject<{
441
- r: z.ZodNumber;
442
- g: z.ZodNumber;
443
- b: z.ZodNumber;
444
- }, z.core.$strict>>;
445
- type: z.ZodOptional<z.ZodEnum<{
446
- sea: "sea";
447
- land: "land";
448
- lake: "lake";
449
- }>>;
450
- coastal: z.ZodOptional<z.ZodBoolean>;
451
- terrain: z.ZodOptional<z.ZodString>;
452
- continent: z.ZodOptional<z.ZodNumber>;
453
- }, z.core.$strict>;
454
- distribution: z.ZodOptional<z.ZodObject<{
455
- stateMembership: z.ZodDiscriminatedUnion<[z.ZodObject<{
456
- method: z.ZodLiteral<"retain">;
457
- }, z.core.$strict>, z.ZodObject<{
458
- method: z.ZodLiteral<"remove">;
459
- stateId: z.ZodNumber;
460
- }, z.core.$strict>, z.ZodObject<{
461
- method: z.ZodLiteral<"assign">;
462
- stateId: z.ZodNumber;
463
- }, z.core.$strict>], "method">;
464
- stateValues: z.ZodLiteral<"retain-in-current-states">;
465
- strategicRegion: z.ZodLiteral<"retain-membership">;
466
- victoryPoints: z.ZodEnum<{
467
- remove: "remove";
468
- "retain-if-valid": "retain-if-valid";
469
- }>;
470
- provinceBuildings: z.ZodEnum<{
471
- remove: "remove";
472
- "retain-if-valid": "retain-if-valid";
473
- }>;
474
- ports: z.ZodEnum<{
475
- remove: "remove";
476
- "retain-if-valid": "retain-if-valid";
477
- }>;
478
- supplyNodes: z.ZodEnum<{
479
- remove: "remove";
480
- "retain-if-valid": "retain-if-valid";
481
- }>;
482
- railways: z.ZodEnum<{
483
- "retain-if-valid": "retain-if-valid";
484
- "remove-containing": "remove-containing";
485
- }>;
486
- buildingPositions: z.ZodEnum<{
487
- remove: "remove";
488
- "retain-if-valid": "retain-if-valid";
489
- }>;
490
- unitPositions: z.ZodEnum<{
491
- remove: "remove";
492
- "retain-if-valid": "retain-if-valid";
493
- }>;
494
- entityLocators: z.ZodLiteral<"retain-at-coordinate">;
495
- adjacencies: z.ZodEnum<{
496
- "retain-if-valid": "retain-if-valid";
497
- "remove-referencing": "remove-referencing";
498
- }>;
499
- }, z.core.$strict>>;
500
- id: z.ZodString;
501
- summary: z.ZodOptional<z.ZodString>;
502
- }, z.core.$strict>, z.ZodObject<{
503
- kind: z.ZodLiteral<"move_region_provinces">;
504
- sourceRegionId: z.ZodNumber;
505
- targetRegionId: z.ZodNumber;
506
- provinceIds: z.ZodArray<z.ZodNumber>;
507
- distribution: z.ZodLiteral<"move-membership">;
508
- id: z.ZodString;
509
- summary: z.ZodOptional<z.ZodString>;
510
- }, z.core.$strict>, z.ZodObject<{
511
- kind: z.ZodLiteral<"add_adjacency">;
512
- adjacency: z.ZodObject<{
513
- from: z.ZodNumber;
514
- to: z.ZodNumber;
515
- type: z.ZodString;
516
- through: z.ZodNumber;
517
- startX: z.ZodNumber;
518
- startY: z.ZodNumber;
519
- stopX: z.ZodNumber;
520
- stopY: z.ZodNumber;
521
- rule: z.ZodString;
522
- comment: z.ZodString;
523
- }, z.core.$strict>;
524
- id: z.ZodString;
525
- summary: z.ZodOptional<z.ZodString>;
526
- }, z.core.$strict>, z.ZodObject<{
527
- kind: z.ZodLiteral<"remove_adjacency">;
528
- from: z.ZodNumber;
529
- to: z.ZodNumber;
530
- type: z.ZodOptional<z.ZodString>;
531
- id: z.ZodString;
532
- summary: z.ZodOptional<z.ZodString>;
533
- }, z.core.$strict>, z.ZodObject<{
534
- kind: z.ZodLiteral<"add_supply_node">;
535
- level: z.ZodNumber;
536
- provinceId: z.ZodNumber;
537
- id: z.ZodString;
538
- summary: z.ZodOptional<z.ZodString>;
539
- }, z.core.$strict>, z.ZodObject<{
540
- kind: z.ZodLiteral<"remove_supply_node">;
541
- provinceId: z.ZodNumber;
542
- id: z.ZodString;
543
- summary: z.ZodOptional<z.ZodString>;
544
- }, z.core.$strict>, z.ZodObject<{
545
- kind: z.ZodLiteral<"add_railway">;
546
- level: z.ZodNumber;
547
- provinces: z.ZodArray<z.ZodNumber>;
548
- id: z.ZodString;
549
- summary: z.ZodOptional<z.ZodString>;
550
- }, z.core.$strict>, z.ZodObject<{
551
- kind: z.ZodLiteral<"remove_railway">;
552
- index: z.ZodNumber;
553
- id: z.ZodString;
554
- summary: z.ZodOptional<z.ZodString>;
555
- }, z.core.$strict>, z.ZodObject<{
556
- kind: z.ZodLiteral<"upsert_building_position">;
557
- match: z.ZodObject<{
558
- stateId: z.ZodNumber;
559
- building: z.ZodString;
560
- occurrence: z.ZodOptional<z.ZodNumber>;
561
- }, z.core.$strict>;
562
- value: z.ZodObject<{
563
- stateId: z.ZodNumber;
564
- building: z.ZodString;
565
- x: z.ZodNumber;
566
- y: z.ZodNumber;
567
- z: z.ZodNumber;
568
- rotation: z.ZodNumber;
569
- adjacentSeaProvince: z.ZodNumber;
570
- }, z.core.$strict>;
571
- id: z.ZodString;
572
- summary: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strict>, z.ZodObject<{
574
- kind: z.ZodLiteral<"remove_building_position">;
575
- match: z.ZodObject<{
576
- stateId: z.ZodNumber;
577
- building: z.ZodString;
578
- occurrence: z.ZodOptional<z.ZodNumber>;
579
- }, z.core.$strict>;
580
- id: z.ZodString;
581
- summary: z.ZodOptional<z.ZodString>;
582
- }, z.core.$strict>, z.ZodObject<{
583
- kind: z.ZodLiteral<"upsert_unit_position">;
584
- match: z.ZodObject<{
585
- provinceId: z.ZodNumber;
586
- type: z.ZodNumber;
587
- occurrence: z.ZodOptional<z.ZodNumber>;
588
- }, z.core.$strict>;
589
- value: z.ZodObject<{
590
- provinceId: z.ZodNumber;
591
- type: z.ZodNumber;
592
- x: z.ZodNumber;
593
- y: z.ZodNumber;
594
- z: z.ZodNumber;
595
- rotation: z.ZodNumber;
596
- offset: z.ZodNumber;
597
- }, z.core.$strict>;
598
- id: z.ZodString;
599
- summary: z.ZodOptional<z.ZodString>;
600
- }, z.core.$strict>, z.ZodObject<{
601
- kind: z.ZodLiteral<"remove_unit_position">;
602
- match: z.ZodObject<{
603
- provinceId: z.ZodNumber;
604
- type: z.ZodNumber;
605
- occurrence: z.ZodOptional<z.ZodNumber>;
606
- }, z.core.$strict>;
607
- id: z.ZodString;
608
- summary: z.ZodOptional<z.ZodString>;
609
- }, z.core.$strict>, z.ZodObject<{
610
- kind: z.ZodLiteral<"upsert_weather_position">;
611
- match: z.ZodObject<{
612
- strategicRegionId: z.ZodNumber;
613
- size: z.ZodString;
614
- occurrence: z.ZodOptional<z.ZodNumber>;
615
- }, z.core.$strict>;
616
- value: z.ZodObject<{
617
- strategicRegionId: z.ZodNumber;
618
- x: z.ZodNumber;
619
- y: z.ZodNumber;
620
- z: z.ZodNumber;
621
- size: z.ZodString;
622
- }, z.core.$strict>;
623
- id: z.ZodString;
624
- summary: z.ZodOptional<z.ZodString>;
625
- }, z.core.$strict>, z.ZodObject<{
626
- kind: z.ZodLiteral<"remove_weather_position">;
627
- match: z.ZodObject<{
628
- strategicRegionId: z.ZodNumber;
629
- size: z.ZodString;
630
- occurrence: z.ZodOptional<z.ZodNumber>;
631
- }, z.core.$strict>;
632
- id: z.ZodString;
633
- summary: z.ZodOptional<z.ZodString>;
634
- }, z.core.$strict>, z.ZodObject<{
635
- kind: z.ZodLiteral<"update_entity_locator">;
636
- entity: z.ZodString;
637
- name: z.ZodString;
638
- position: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
639
- id: z.ZodString;
640
- summary: z.ZodOptional<z.ZodString>;
641
- }, z.core.$strict>], "kind">;
642
- export declare const mapAllocationRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
643
- kind: z.ZodLiteral<"state">;
644
- requestedId: z.ZodOptional<z.ZodNumber>;
645
- }, z.core.$strict>, z.ZodObject<{
646
- kind: z.ZodLiteral<"province">;
647
- requestedId: z.ZodOptional<z.ZodNumber>;
648
- requestedColor: z.ZodOptional<z.ZodObject<{
649
- r: z.ZodNumber;
650
- g: z.ZodNumber;
651
- b: z.ZodNumber;
652
- }, z.core.$strict>>;
653
- }, z.core.$strict>], "kind">;
654
- //# sourceMappingURL=map.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../src/hoi4_agent_tools/schemas/map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmS3B,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAoS7B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;4BASrC,CAAC"}