hoi4-agent-tools 3.8.1 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +1 -1
  3. package/dist/bin/http.js +2 -0
  4. package/dist/bin/setup.js +5 -2
  5. package/dist/bin/stdio.js +29 -1
  6. package/dist/hoi4_agent_tools/core/configuration.js +8 -0
  7. package/dist/hoi4_agent_tools/core/engine.js +27 -8
  8. package/dist/hoi4_agent_tools/core/index.js +45 -20
  9. package/dist/hoi4_agent_tools/core/job-worker-host.js +40 -2
  10. package/dist/hoi4_agent_tools/core/job-worker.js +14 -0
  11. package/dist/hoi4_agent_tools/core/scenario-model.js +1 -1
  12. package/dist/hoi4_agent_tools/core/server-registry.js +138 -0
  13. package/dist/hoi4_agent_tools/core/server-status-resource.js +22 -0
  14. package/dist/hoi4_agent_tools/core/source/cache.js +89 -20
  15. package/dist/hoi4_agent_tools/event/service.js +7 -0
  16. package/dist/hoi4_agent_tools/gui/renderer.js +8 -2
  17. package/dist/hoi4_agent_tools/gui/scenario-generator.js +56 -0
  18. package/dist/hoi4_agent_tools/gui/scenario.js +2 -0
  19. package/dist/hoi4_agent_tools/gui/studio.js +31 -12
  20. package/dist/hoi4_agent_tools/gui/validators.js +22 -0
  21. package/dist/hoi4_agent_tools/mcp/resources/register-modern.js +13 -1
  22. package/dist/hoi4_agent_tools/mcp/resources/register.js +6 -0
  23. package/dist/hoi4_agent_tools/mcp/tools/reference.js +1 -1
  24. package/dist/hoi4_agent_tools/mcp/tools/technology.js +5 -2
  25. package/dist/hoi4_agent_tools/mcp/transports/negotiated-stdio.js +9 -0
  26. package/dist/hoi4_agent_tools/mcp/transports/stdio-lifetime.js +79 -0
  27. package/dist/hoi4_agent_tools/reference/event-popups.js +87 -0
  28. package/dist/hoi4_agent_tools/reference/operations.js +151 -1
  29. package/dist/hoi4_agent_tools/reference/player-text.js +158 -0
  30. package/dist/hoi4_agent_tools/reference/script-validation.js +315 -33
  31. package/dist/hoi4_agent_tools/reference/source-locate.js +1 -1
  32. package/dist/hoi4_agent_tools/schemas/gui-requests.js +18 -4
  33. package/dist/hoi4_agent_tools/schemas/script-validation.js +40 -7
  34. package/dist/hoi4_agent_tools/schemas/technology.js +4 -2
  35. package/dist/hoi4_agent_tools/technology/service.js +7 -0
  36. package/dist/hoi4_agent_tools/version.js +1 -1
  37. package/docs/gui.md +25 -0
  38. package/docs/jobs.md +8 -0
  39. package/docs/reference.md +38 -0
  40. package/docs/setup.md +11 -0
  41. package/docs/tools.md +1 -1
  42. package/npm-shrinkwrap.json +12 -8
  43. package/package.json +1 -1
  44. package/schemas/configuration.schema.json +163 -128
  45. package/schemas/continuous-focus-palette.schema.json +1 -1
  46. package/schemas/custom-weighted-pool.schema.json +1 -1
  47. package/schemas/decision-inspect-input.schema.json +1 -1
  48. package/schemas/event-feature-manifest.schema.json +1 -1
  49. package/schemas/focus-plan.schema.json +1 -1
  50. package/schemas/focus-planning-sidecar.schema.json +1 -1
  51. package/schemas/gui-animation-source.schema.json +1 -1
  52. package/schemas/gui-helper.schema.json +1 -1
  53. package/schemas/gui-scenario.schema.json +38 -22
  54. package/schemas/helper-expansion-request.schema.json +1 -1
  55. package/schemas/helper-expansion-summary.schema.json +1 -1
  56. package/schemas/impact-inspect-input.schema.json +1 -1
  57. package/schemas/map-operation.schema.json +1 -1
  58. package/schemas/mechanic-test-input.schema.json +1 -1
  59. package/schemas/operation-result.schema.json +1 -1
  60. package/schemas/package-check-input.schema.json +1 -1
  61. package/schemas/package-manifest.schema.json +1 -1
  62. package/schemas/probability-analysis-result.schema.json +1 -1
  63. package/schemas/probability-compare-input.schema.json +1 -1
  64. package/schemas/probability-evaluate-input.schema.json +1 -1
  65. package/schemas/probability-inspect-input.schema.json +1 -1
  66. package/schemas/probability-render-input.schema.json +1 -1
  67. package/schemas/probability-scenario-set.schema.json +1 -1
  68. package/schemas/probability-sequence-input.schema.json +1 -1
  69. package/schemas/probability-simulate-input.schema.json +1 -1
  70. package/schemas/probability-sweep-input.schema.json +1 -1
  71. package/schemas/reference-context-input.schema.json +1 -1
  72. package/schemas/reference-read-input.schema.json +1 -1
  73. package/schemas/reference-search-input.schema.json +1 -1
  74. package/schemas/scenario-suite.schema.json +1 -1
  75. package/schemas/scenario-test-input.schema.json +1 -1
  76. package/schemas/script-validate-input.schema.json +60 -36
  77. package/schemas/shared-scenario.schema.json +1 -1
  78. package/schemas/source-lookup-input.schema.json +1 -1
  79. package/server.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/continuous-focus-palette.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/continuous-focus-palette.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/custom-weighted-pool.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/custom-weighted-pool.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/decision-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/decision-inspect-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/event-feature-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/event-feature-manifest.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/focus-plan.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/focus-plan.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/focus-planning-sidecar.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/focus-planning-sidecar.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/gui-animation-source.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/gui-animation-source.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/gui-helper.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/gui-helper.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/gui-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/gui-scenario.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -54,38 +54,44 @@
54
54
  "flags": {
55
55
  "$ref": "#/$defs/__schema31"
56
56
  },
57
- "lists": {
57
+ "closedFlags": {
58
58
  "$ref": "#/$defs/__schema32"
59
59
  },
60
- "localisation": {
60
+ "background": {
61
61
  "$ref": "#/$defs/__schema33"
62
62
  },
63
- "values": {
63
+ "lists": {
64
64
  "$ref": "#/$defs/__schema34"
65
65
  },
66
- "scriptedGui": {
66
+ "localisation": {
67
67
  "$ref": "#/$defs/__schema35"
68
68
  },
69
- "visibility": {
69
+ "values": {
70
70
  "$ref": "#/$defs/__schema36"
71
71
  },
72
- "elementStates": {
72
+ "scriptedGui": {
73
73
  "$ref": "#/$defs/__schema37"
74
74
  },
75
- "selectedFrames": {
75
+ "visibility": {
76
76
  "$ref": "#/$defs/__schema38"
77
77
  },
78
- "scrollOffsets": {
78
+ "elementStates": {
79
79
  "$ref": "#/$defs/__schema39"
80
80
  },
81
- "guiCosts": {
81
+ "selectedFrames": {
82
82
  "$ref": "#/$defs/__schema40"
83
83
  },
84
- "scriptCosts": {
84
+ "scrollOffsets": {
85
85
  "$ref": "#/$defs/__schema41"
86
86
  },
87
- "expectations": {
87
+ "guiCosts": {
88
88
  "$ref": "#/$defs/__schema42"
89
+ },
90
+ "scriptCosts": {
91
+ "$ref": "#/$defs/__schema43"
92
+ },
93
+ "expectations": {
94
+ "$ref": "#/$defs/__schema44"
89
95
  }
90
96
  },
91
97
  "required": [
@@ -452,6 +458,16 @@
452
458
  }
453
459
  },
454
460
  "__schema32": {
461
+ "type": "boolean"
462
+ },
463
+ "__schema33": {
464
+ "type": "string",
465
+ "enum": [
466
+ "scene",
467
+ "transparent"
468
+ ]
469
+ },
470
+ "__schema34": {
455
471
  "default": {},
456
472
  "type": "object",
457
473
  "propertyNames": {
@@ -465,7 +481,7 @@
465
481
  }
466
482
  }
467
483
  },
468
- "__schema33": {
484
+ "__schema35": {
469
485
  "default": {},
470
486
  "type": "object",
471
487
  "propertyNames": {
@@ -475,15 +491,15 @@
475
491
  "type": "string"
476
492
  }
477
493
  },
478
- "__schema34": {
494
+ "__schema36": {
479
495
  "default": {},
480
496
  "$ref": "#/$defs/__schema23"
481
497
  },
482
- "__schema35": {
498
+ "__schema37": {
483
499
  "default": {},
484
500
  "$ref": "#/$defs/__schema23"
485
501
  },
486
- "__schema36": {
502
+ "__schema38": {
487
503
  "default": {},
488
504
  "type": "object",
489
505
  "propertyNames": {
@@ -493,7 +509,7 @@
493
509
  "type": "boolean"
494
510
  }
495
511
  },
496
- "__schema37": {
512
+ "__schema39": {
497
513
  "default": {},
498
514
  "type": "object",
499
515
  "propertyNames": {
@@ -503,7 +519,7 @@
503
519
  "$ref": "#/$defs/__schema18"
504
520
  }
505
521
  },
506
- "__schema38": {
522
+ "__schema40": {
507
523
  "default": {},
508
524
  "type": "object",
509
525
  "propertyNames": {
@@ -515,7 +531,7 @@
515
531
  "maximum": 9007199254740991
516
532
  }
517
533
  },
518
- "__schema39": {
534
+ "__schema41": {
519
535
  "default": {},
520
536
  "type": "object",
521
537
  "propertyNames": {
@@ -526,7 +542,7 @@
526
542
  "minimum": 0
527
543
  }
528
544
  },
529
- "__schema40": {
545
+ "__schema42": {
530
546
  "default": {},
531
547
  "type": "object",
532
548
  "propertyNames": {
@@ -536,7 +552,7 @@
536
552
  "type": "number"
537
553
  }
538
554
  },
539
- "__schema41": {
555
+ "__schema43": {
540
556
  "default": {},
541
557
  "type": "object",
542
558
  "propertyNames": {
@@ -546,7 +562,7 @@
546
562
  "type": "number"
547
563
  }
548
564
  },
549
- "__schema42": {
565
+ "__schema44": {
550
566
  "default": {
551
567
  "visible": [],
552
568
  "hidden": [],
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/helper-expansion-request.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/helper-expansion-request.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/helper-expansion-summary.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/helper-expansion-summary.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/impact-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/impact-inspect-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/map-operation.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/map-operation.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "oneOf": [
5
5
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/mechanic-test-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/mechanic-test-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/v3.8.1/schemas/operation-result.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/operation-result.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.8.1/schemas/package-check-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/package-check-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/v3.8.1/schemas/package-manifest.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/package-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.8.1/schemas/probability-analysis-result.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-analysis-result.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.8.1/schemas/probability-compare-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-compare-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/v3.8.1/schemas/probability-evaluate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-evaluate-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/v3.8.1/schemas/probability-inspect-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-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/v3.8.1/schemas/probability-render-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-render-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/v3.8.1/schemas/probability-scenario-set.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-scenario-set.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.8.1/schemas/probability-sequence-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-sequence-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/v3.8.1/schemas/probability-simulate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-simulate-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/v3.8.1/schemas/probability-sweep-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/probability-sweep-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/v3.8.1/schemas/reference-context-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/reference-context-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/v3.8.1/schemas/reference-read-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/reference-read-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/v3.8.1/schemas/reference-search-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/reference-search-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/v3.8.1/schemas/scenario-suite.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/scenario-suite.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.8.1/schemas/scenario-test-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/scenario-test-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
@@ -1,59 +1,61 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/script-validate-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/script-validate-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "workspaceId": {
7
- "default": "current",
8
- "type": "string",
9
- "pattern": "^[a-z][a-z0-9_-]{0,63}$"
7
+ "$ref": "#/$defs/__schema0"
10
8
  },
11
9
  "source": {
12
- "type": "string",
13
- "minLength": 1,
14
- "maxLength": 64000
10
+ "$ref": "#/$defs/__schema1"
11
+ },
12
+ "path": {
13
+ "$ref": "#/$defs/__schema2"
15
14
  },
16
15
  "kind": {
17
- "type": "string",
18
- "enum": [
19
- "effect",
20
- "trigger"
21
- ]
16
+ "$ref": "#/$defs/__schema3"
22
17
  },
23
18
  "scope": {
24
- "$ref": "#/$defs/__schema0"
19
+ "$ref": "#/$defs/__schema4"
25
20
  },
26
21
  "documentation": {
27
- "default": "game_doc",
28
- "type": "string",
29
- "enum": [
30
- "game_doc",
31
- "script_doc"
32
- ]
22
+ "$ref": "#/$defs/__schema6"
33
23
  },
34
24
  "bindings": {
35
- "default": [],
36
- "maxItems": 16,
37
- "type": "array",
38
- "items": {
39
- "$ref": "#/$defs/__schema1"
40
- }
25
+ "$ref": "#/$defs/__schema7"
41
26
  },
42
27
  "limit": {
43
- "default": 12,
44
- "type": "integer",
45
- "minimum": 1,
46
- "maximum": 32
28
+ "$ref": "#/$defs/__schema9"
47
29
  }
48
30
  },
49
- "required": [
50
- "source",
51
- "kind",
52
- "scope"
53
- ],
54
31
  "additionalProperties": false,
55
32
  "$defs": {
56
33
  "__schema0": {
34
+ "default": "current",
35
+ "type": "string",
36
+ "pattern": "^[a-z][a-z0-9_-]{0,63}$"
37
+ },
38
+ "__schema1": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 64000
42
+ },
43
+ "__schema2": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "maxLength": 4096
47
+ },
48
+ "__schema3": {
49
+ "type": "string",
50
+ "enum": [
51
+ "effect",
52
+ "trigger"
53
+ ]
54
+ },
55
+ "__schema4": {
56
+ "$ref": "#/$defs/__schema5"
57
+ },
58
+ "__schema5": {
57
59
  "type": "string",
58
60
  "enum": [
59
61
  "country",
@@ -70,7 +72,23 @@
70
72
  "faction"
71
73
  ]
72
74
  },
73
- "__schema1": {
75
+ "__schema6": {
76
+ "default": "game_doc",
77
+ "type": "string",
78
+ "enum": [
79
+ "game_doc",
80
+ "script_doc"
81
+ ]
82
+ },
83
+ "__schema7": {
84
+ "default": [],
85
+ "maxItems": 16,
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "#/$defs/__schema8"
89
+ }
90
+ },
91
+ "__schema8": {
74
92
  "type": "object",
75
93
  "properties": {
76
94
  "name": {
@@ -79,7 +97,7 @@
79
97
  "maxLength": 256
80
98
  },
81
99
  "scope": {
82
- "$ref": "#/$defs/__schema0"
100
+ "$ref": "#/$defs/__schema5"
83
101
  }
84
102
  },
85
103
  "required": [
@@ -87,6 +105,12 @@
87
105
  "scope"
88
106
  ],
89
107
  "additionalProperties": false
108
+ },
109
+ "__schema9": {
110
+ "default": 12,
111
+ "type": "integer",
112
+ "minimum": 1,
113
+ "maximum": 32
90
114
  }
91
115
  }
92
116
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.8.1/schemas/shared-scenario.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/shared-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/v3.8.1/schemas/source-lookup-input.schema.json",
2
+ "$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.10.0/schemas/source-lookup-input.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
4
  "type": "object",
5
5
  "properties": {
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.klimPaskov/hoi4-agent-tools",
4
4
  "title": "HOI4 Agent Tools",
5
5
  "description": "HOI4 modding tools for agents: local references, visual previews, focus trees, interfaces and maps.",
6
- "version": "3.8.1",
6
+ "version": "3.10.0",
7
7
  "repository": {
8
8
  "url": "https://github.com/klimPaskov/hoi4-agent-tools",
9
9
  "source": "github"
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "hoi4-agent-tools",
16
- "version": "3.8.1",
16
+ "version": "3.10.0",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  }