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.
- package/CHANGELOG.md +24 -1
- package/README.md +1 -1
- package/dist/bin/http.js +2 -0
- package/dist/bin/setup.js +5 -2
- package/dist/bin/stdio.js +29 -1
- package/dist/hoi4_agent_tools/core/configuration.js +8 -0
- package/dist/hoi4_agent_tools/core/engine.js +27 -8
- package/dist/hoi4_agent_tools/core/index.js +45 -20
- package/dist/hoi4_agent_tools/core/job-worker-host.js +40 -2
- package/dist/hoi4_agent_tools/core/job-worker.js +14 -0
- package/dist/hoi4_agent_tools/core/scenario-model.js +1 -1
- package/dist/hoi4_agent_tools/core/server-registry.js +138 -0
- package/dist/hoi4_agent_tools/core/server-status-resource.js +22 -0
- package/dist/hoi4_agent_tools/core/source/cache.js +89 -20
- package/dist/hoi4_agent_tools/event/service.js +7 -0
- package/dist/hoi4_agent_tools/gui/renderer.js +8 -2
- package/dist/hoi4_agent_tools/gui/scenario-generator.js +56 -0
- package/dist/hoi4_agent_tools/gui/scenario.js +2 -0
- package/dist/hoi4_agent_tools/gui/studio.js +31 -12
- package/dist/hoi4_agent_tools/gui/validators.js +22 -0
- package/dist/hoi4_agent_tools/mcp/resources/register-modern.js +13 -1
- package/dist/hoi4_agent_tools/mcp/resources/register.js +6 -0
- package/dist/hoi4_agent_tools/mcp/tools/reference.js +1 -1
- package/dist/hoi4_agent_tools/mcp/tools/technology.js +5 -2
- package/dist/hoi4_agent_tools/mcp/transports/negotiated-stdio.js +9 -0
- package/dist/hoi4_agent_tools/mcp/transports/stdio-lifetime.js +79 -0
- package/dist/hoi4_agent_tools/reference/event-popups.js +87 -0
- package/dist/hoi4_agent_tools/reference/operations.js +151 -1
- package/dist/hoi4_agent_tools/reference/player-text.js +158 -0
- package/dist/hoi4_agent_tools/reference/script-validation.js +315 -33
- package/dist/hoi4_agent_tools/reference/source-locate.js +1 -1
- package/dist/hoi4_agent_tools/schemas/gui-requests.js +18 -4
- package/dist/hoi4_agent_tools/schemas/script-validation.js +40 -7
- package/dist/hoi4_agent_tools/schemas/technology.js +4 -2
- package/dist/hoi4_agent_tools/technology/service.js +7 -0
- package/dist/hoi4_agent_tools/version.js +1 -1
- package/docs/gui.md +25 -0
- package/docs/jobs.md +8 -0
- package/docs/reference.md +38 -0
- package/docs/setup.md +11 -0
- package/docs/tools.md +1 -1
- package/npm-shrinkwrap.json +12 -8
- package/package.json +1 -1
- package/schemas/configuration.schema.json +163 -128
- package/schemas/continuous-focus-palette.schema.json +1 -1
- package/schemas/custom-weighted-pool.schema.json +1 -1
- package/schemas/decision-inspect-input.schema.json +1 -1
- package/schemas/event-feature-manifest.schema.json +1 -1
- package/schemas/focus-plan.schema.json +1 -1
- package/schemas/focus-planning-sidecar.schema.json +1 -1
- package/schemas/gui-animation-source.schema.json +1 -1
- package/schemas/gui-helper.schema.json +1 -1
- package/schemas/gui-scenario.schema.json +38 -22
- package/schemas/helper-expansion-request.schema.json +1 -1
- package/schemas/helper-expansion-summary.schema.json +1 -1
- package/schemas/impact-inspect-input.schema.json +1 -1
- package/schemas/map-operation.schema.json +1 -1
- package/schemas/mechanic-test-input.schema.json +1 -1
- package/schemas/operation-result.schema.json +1 -1
- package/schemas/package-check-input.schema.json +1 -1
- package/schemas/package-manifest.schema.json +1 -1
- package/schemas/probability-analysis-result.schema.json +1 -1
- package/schemas/probability-compare-input.schema.json +1 -1
- package/schemas/probability-evaluate-input.schema.json +1 -1
- package/schemas/probability-inspect-input.schema.json +1 -1
- package/schemas/probability-render-input.schema.json +1 -1
- package/schemas/probability-scenario-set.schema.json +1 -1
- package/schemas/probability-sequence-input.schema.json +1 -1
- package/schemas/probability-simulate-input.schema.json +1 -1
- package/schemas/probability-sweep-input.schema.json +1 -1
- package/schemas/reference-context-input.schema.json +1 -1
- package/schemas/reference-read-input.schema.json +1 -1
- package/schemas/reference-search-input.schema.json +1 -1
- package/schemas/scenario-suite.schema.json +1 -1
- package/schemas/scenario-test-input.schema.json +1 -1
- package/schemas/script-validate-input.schema.json +60 -36
- package/schemas/shared-scenario.schema.json +1 -1
- package/schemas/source-lookup-input.schema.json +1 -1
- package/server.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
"
|
|
57
|
+
"closedFlags": {
|
|
58
58
|
"$ref": "#/$defs/__schema32"
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"background": {
|
|
61
61
|
"$ref": "#/$defs/__schema33"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"lists": {
|
|
64
64
|
"$ref": "#/$defs/__schema34"
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"localisation": {
|
|
67
67
|
"$ref": "#/$defs/__schema35"
|
|
68
68
|
},
|
|
69
|
-
"
|
|
69
|
+
"values": {
|
|
70
70
|
"$ref": "#/$defs/__schema36"
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"scriptedGui": {
|
|
73
73
|
"$ref": "#/$defs/__schema37"
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"visibility": {
|
|
76
76
|
"$ref": "#/$defs/__schema38"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"elementStates": {
|
|
79
79
|
"$ref": "#/$defs/__schema39"
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"selectedFrames": {
|
|
82
82
|
"$ref": "#/$defs/__schema40"
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"scrollOffsets": {
|
|
85
85
|
"$ref": "#/$defs/__schema41"
|
|
86
86
|
},
|
|
87
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
494
|
+
"__schema36": {
|
|
479
495
|
"default": {},
|
|
480
496
|
"$ref": "#/$defs/__schema23"
|
|
481
497
|
},
|
|
482
|
-
"
|
|
498
|
+
"__schema37": {
|
|
483
499
|
"default": {},
|
|
484
500
|
"$ref": "#/$defs/__schema23"
|
|
485
501
|
},
|
|
486
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
"
|
|
8
|
-
"type": "string",
|
|
9
|
-
"pattern": "^[a-z][a-z0-9_-]{0,63}$"
|
|
7
|
+
"$ref": "#/$defs/__schema0"
|
|
10
8
|
},
|
|
11
9
|
"source": {
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
"$ref": "#/$defs/__schema1"
|
|
11
|
+
},
|
|
12
|
+
"path": {
|
|
13
|
+
"$ref": "#/$defs/__schema2"
|
|
15
14
|
},
|
|
16
15
|
"kind": {
|
|
17
|
-
"
|
|
18
|
-
"enum": [
|
|
19
|
-
"effect",
|
|
20
|
-
"trigger"
|
|
21
|
-
]
|
|
16
|
+
"$ref": "#/$defs/__schema3"
|
|
22
17
|
},
|
|
23
18
|
"scope": {
|
|
24
|
-
"$ref": "#/$defs/
|
|
19
|
+
"$ref": "#/$defs/__schema4"
|
|
25
20
|
},
|
|
26
21
|
"documentation": {
|
|
27
|
-
"
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": [
|
|
30
|
-
"game_doc",
|
|
31
|
-
"script_doc"
|
|
32
|
-
]
|
|
22
|
+
"$ref": "#/$defs/__schema6"
|
|
33
23
|
},
|
|
34
24
|
"bindings": {
|
|
35
|
-
"
|
|
36
|
-
"maxItems": 16,
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": {
|
|
39
|
-
"$ref": "#/$defs/__schema1"
|
|
40
|
-
}
|
|
25
|
+
"$ref": "#/$defs/__schema7"
|
|
41
26
|
},
|
|
42
27
|
"limit": {
|
|
43
|
-
"
|
|
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
|
-
"
|
|
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/
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
16
|
+
"version": "3.10.0",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|