hoi4-agent-tools 3.0.8 → 3.1.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 +35 -1
- package/README.md +4 -0
- package/dist/bin/stdio.js +23 -12
- package/dist/hoi4_agent_tools/core/analysis-checkpoints.js +82 -0
- package/dist/hoi4_agent_tools/core/artifact-resource.js +173 -0
- package/dist/hoi4_agent_tools/core/artifacts.js +84 -2
- package/dist/hoi4_agent_tools/core/condition-evaluator.js +399 -0
- package/dist/hoi4_agent_tools/core/condition-model.js +1 -0
- package/dist/hoi4_agent_tools/core/condition-schema.js +42 -0
- package/dist/hoi4_agent_tools/core/dependency-pages.js +216 -0
- package/dist/hoi4_agent_tools/core/dependency-walk.js +266 -0
- package/dist/hoi4_agent_tools/core/domain-validation.js +188 -0
- package/dist/hoi4_agent_tools/core/engine.js +48 -5
- package/dist/hoi4_agent_tools/core/helper-expansion.js +186 -0
- package/dist/hoi4_agent_tools/core/index-segments.js +137 -0
- package/dist/hoi4_agent_tools/core/index.js +47 -4
- package/dist/hoi4_agent_tools/core/job-controls.js +109 -0
- package/dist/hoi4_agent_tools/core/job-executor.js +190 -0
- package/dist/hoi4_agent_tools/core/job-service.js +112 -0
- package/dist/hoi4_agent_tools/core/job-store.js +641 -0
- package/dist/hoi4_agent_tools/core/job-transactions.js +126 -0
- package/dist/hoi4_agent_tools/core/job-worker-host.js +200 -0
- package/dist/hoi4_agent_tools/core/job-worker.js +62 -0
- package/dist/hoi4_agent_tools/core/operation-context.js +31 -0
- package/dist/hoi4_agent_tools/core/operation-result.js +412 -0
- package/dist/hoi4_agent_tools/core/operation-tasks.js +382 -0
- package/dist/hoi4_agent_tools/core/persistent-analysis-cache.js +383 -0
- package/dist/hoi4_agent_tools/core/result.js +1 -0
- package/dist/hoi4_agent_tools/core/scanner.js +15 -75
- package/dist/hoi4_agent_tools/core/scenario-state.js +97 -0
- package/dist/hoi4_agent_tools/core/semantic-dependencies.js +233 -0
- package/dist/hoi4_agent_tools/core/shared-request-capacity.js +74 -25
- package/dist/hoi4_agent_tools/core/source/cache.js +107 -0
- package/dist/hoi4_agent_tools/core/source/parser.js +11 -1
- package/dist/hoi4_agent_tools/core/transaction-execution.js +134 -0
- package/dist/hoi4_agent_tools/core/transactions.js +80 -27
- package/dist/hoi4_agent_tools/event/graph.js +214 -290
- package/dist/hoi4_agent_tools/event/helper-expansion.js +33 -0
- package/dist/hoi4_agent_tools/event/job-operations.js +51 -0
- package/dist/hoi4_agent_tools/event/operations.js +179 -0
- package/dist/hoi4_agent_tools/event/service.js +67 -15
- package/dist/hoi4_agent_tools/event/source-analysis.js +5 -4
- package/dist/hoi4_agent_tools/focus/job-operations.js +77 -0
- package/dist/hoi4_agent_tools/focus/tool-operations.js +669 -0
- package/dist/hoi4_agent_tools/focus/tool-support.js +123 -0
- package/dist/hoi4_agent_tools/gui/job-operations.js +81 -0
- package/dist/hoi4_agent_tools/gui/scenario-conditions.js +119 -0
- package/dist/hoi4_agent_tools/gui/scenario-generator.js +59 -73
- package/dist/hoi4_agent_tools/gui/scenario.js +3 -0
- package/dist/hoi4_agent_tools/gui/studio.js +5 -2
- package/dist/hoi4_agent_tools/gui/tool-operations.js +270 -0
- package/dist/hoi4_agent_tools/map/job-operations.js +76 -0
- package/dist/hoi4_agent_tools/map/tool-operations.js +493 -0
- package/dist/hoi4_agent_tools/mcp/prompts/probability.js +25 -0
- package/dist/hoi4_agent_tools/mcp/prompts/register-modern.js +29 -0
- package/dist/hoi4_agent_tools/mcp/resources/register-modern.js +34 -0
- package/dist/hoi4_agent_tools/mcp/resources/register.js +4 -150
- package/dist/hoi4_agent_tools/mcp/server/base-tools.js +3 -219
- package/dist/hoi4_agent_tools/mcp/server/create-modern-operations.js +188 -0
- package/dist/hoi4_agent_tools/mcp/server/create.js +16 -6
- package/dist/hoi4_agent_tools/mcp/server/instructions.js +2 -0
- package/dist/hoi4_agent_tools/mcp/server/job-task-store.js +67 -0
- package/dist/hoi4_agent_tools/mcp/server/legacy-task-tools.js +20 -0
- package/dist/hoi4_agent_tools/mcp/server/modern-tasks.js +168 -0
- package/dist/hoi4_agent_tools/mcp/server/progress.js +17 -15
- package/dist/hoi4_agent_tools/mcp/server/request-lifecycle.js +43 -0
- package/dist/hoi4_agent_tools/mcp/server/result.js +2 -412
- package/dist/hoi4_agent_tools/mcp/server/task-request-context.js +9 -0
- package/dist/hoi4_agent_tools/mcp/server/task-tool-catalog.js +14 -0
- package/dist/hoi4_agent_tools/mcp/server/task-tool-definition.js +1 -0
- package/dist/hoi4_agent_tools/mcp/server/transaction-execution.js +1 -123
- package/dist/hoi4_agent_tools/mcp/tools/chaosx.js +38 -21
- package/dist/hoi4_agent_tools/mcp/tools/event.js +24 -315
- package/dist/hoi4_agent_tools/mcp/tools/focus.js +34 -1039
- package/dist/hoi4_agent_tools/mcp/tools/gui.js +19 -504
- package/dist/hoi4_agent_tools/mcp/tools/job.js +46 -0
- package/dist/hoi4_agent_tools/mcp/tools/map.js +21 -600
- package/dist/hoi4_agent_tools/mcp/tools/probability.js +39 -463
- package/dist/hoi4_agent_tools/mcp/tools/technology.js +40 -304
- package/dist/hoi4_agent_tools/mcp/transports/http.js +58 -1
- package/dist/hoi4_agent_tools/mcp/transports/modern-task-routing.js +109 -0
- package/dist/hoi4_agent_tools/mcp/transports/negotiated-stdio.js +121 -0
- package/dist/hoi4_agent_tools/probability/job-operations.js +58 -0
- package/dist/hoi4_agent_tools/probability/operations.js +183 -0
- package/dist/hoi4_agent_tools/probability/scenario-state.js +2 -95
- package/dist/hoi4_agent_tools/probability/service.js +24 -3
- package/dist/hoi4_agent_tools/probability/trigger-evaluator.js +1 -287
- package/dist/hoi4_agent_tools/schemas/common.js +2 -0
- package/dist/hoi4_agent_tools/schemas/event.js +72 -1
- package/dist/hoi4_agent_tools/schemas/focus-requests.js +189 -0
- package/dist/hoi4_agent_tools/schemas/gui-requests.js +193 -0
- package/dist/hoi4_agent_tools/schemas/helper-expansion.js +58 -0
- package/dist/hoi4_agent_tools/schemas/map-requests.js +85 -0
- package/dist/hoi4_agent_tools/schemas/probability-requests.js +168 -0
- package/dist/hoi4_agent_tools/schemas/technology.js +90 -1
- package/dist/hoi4_agent_tools/schemas/transaction.js +1 -0
- package/dist/hoi4_agent_tools/technology/graph.js +83 -78
- package/dist/hoi4_agent_tools/technology/helper-expansion.js +33 -0
- package/dist/hoi4_agent_tools/technology/job-operations.js +60 -0
- package/dist/hoi4_agent_tools/technology/operations.js +125 -0
- package/dist/hoi4_agent_tools/technology/service.js +89 -15
- package/dist/hoi4_agent_tools/technology/source-analysis.js +2 -1
- package/dist/hoi4_agent_tools/version.js +1 -1
- package/docs/README.md +2 -0
- package/docs/development.md +2 -0
- package/docs/events.md +7 -2
- package/docs/gui.md +3 -1
- package/docs/helper-expansion.md +78 -0
- package/docs/http.md +2 -0
- package/docs/jobs.md +85 -0
- package/docs/technology.md +6 -2
- package/package.json +11 -5
- package/schemas/configuration.schema.json +1 -1
- package/schemas/continuous-focus-palette.schema.json +1 -1
- package/schemas/custom-weighted-pool.schema.json +1 -1
- package/schemas/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 +189 -33
- package/schemas/helper-expansion-request.schema.json +44 -0
- package/schemas/helper-expansion-summary.schema.json +70 -0
- package/schemas/map-operation.schema.json +1 -1
- package/schemas/operation-result.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/server.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.0/schemas/gui-scenario.schema.json",
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
@@ -33,44 +33,50 @@
|
|
|
33
33
|
"stateValues": {
|
|
34
34
|
"$ref": "#/$defs/__schema14"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"scopes": {
|
|
37
37
|
"$ref": "#/$defs/__schema15"
|
|
38
38
|
},
|
|
39
|
+
"conditionResults": {
|
|
40
|
+
"$ref": "#/$defs/__schema18"
|
|
41
|
+
},
|
|
42
|
+
"variables": {
|
|
43
|
+
"$ref": "#/$defs/__schema20"
|
|
44
|
+
},
|
|
39
45
|
"flags": {
|
|
40
|
-
"$ref": "#/$defs/
|
|
46
|
+
"$ref": "#/$defs/__schema21"
|
|
41
47
|
},
|
|
42
48
|
"lists": {
|
|
43
|
-
"$ref": "#/$defs/
|
|
49
|
+
"$ref": "#/$defs/__schema22"
|
|
44
50
|
},
|
|
45
51
|
"localisation": {
|
|
46
|
-
"$ref": "#/$defs/
|
|
52
|
+
"$ref": "#/$defs/__schema23"
|
|
47
53
|
},
|
|
48
54
|
"values": {
|
|
49
|
-
"$ref": "#/$defs/
|
|
55
|
+
"$ref": "#/$defs/__schema24"
|
|
50
56
|
},
|
|
51
57
|
"scriptedGui": {
|
|
52
|
-
"$ref": "#/$defs/
|
|
58
|
+
"$ref": "#/$defs/__schema25"
|
|
53
59
|
},
|
|
54
60
|
"visibility": {
|
|
55
|
-
"$ref": "#/$defs/
|
|
61
|
+
"$ref": "#/$defs/__schema26"
|
|
56
62
|
},
|
|
57
63
|
"elementStates": {
|
|
58
|
-
"$ref": "#/$defs/
|
|
64
|
+
"$ref": "#/$defs/__schema27"
|
|
59
65
|
},
|
|
60
66
|
"selectedFrames": {
|
|
61
|
-
"$ref": "#/$defs/
|
|
67
|
+
"$ref": "#/$defs/__schema28"
|
|
62
68
|
},
|
|
63
69
|
"scrollOffsets": {
|
|
64
|
-
"$ref": "#/$defs/
|
|
70
|
+
"$ref": "#/$defs/__schema29"
|
|
65
71
|
},
|
|
66
72
|
"guiCosts": {
|
|
67
|
-
"$ref": "#/$defs/
|
|
73
|
+
"$ref": "#/$defs/__schema30"
|
|
68
74
|
},
|
|
69
75
|
"scriptCosts": {
|
|
70
|
-
"$ref": "#/$defs/
|
|
76
|
+
"$ref": "#/$defs/__schema31"
|
|
71
77
|
},
|
|
72
78
|
"expectations": {
|
|
73
|
-
"$ref": "#/$defs/
|
|
79
|
+
"$ref": "#/$defs/__schema32"
|
|
74
80
|
}
|
|
75
81
|
},
|
|
76
82
|
"required": [
|
|
@@ -194,6 +200,156 @@
|
|
|
194
200
|
"$ref": "#/$defs/__schema13"
|
|
195
201
|
},
|
|
196
202
|
"__schema15": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"propertyNames": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"maxLength": 256
|
|
207
|
+
},
|
|
208
|
+
"additionalProperties": {
|
|
209
|
+
"type": "object",
|
|
210
|
+
"properties": {
|
|
211
|
+
"id": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"minLength": 1,
|
|
214
|
+
"maxLength": 256
|
|
215
|
+
},
|
|
216
|
+
"type": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"enum": [
|
|
219
|
+
"country",
|
|
220
|
+
"state",
|
|
221
|
+
"character",
|
|
222
|
+
"unit_leader",
|
|
223
|
+
"operative",
|
|
224
|
+
"strategic_region",
|
|
225
|
+
"province",
|
|
226
|
+
"unknown"
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"actor": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"maxLength": 256
|
|
232
|
+
},
|
|
233
|
+
"state": {
|
|
234
|
+
"default": {},
|
|
235
|
+
"type": "object",
|
|
236
|
+
"propertyNames": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
"additionalProperties": {
|
|
240
|
+
"anyOf": [
|
|
241
|
+
{
|
|
242
|
+
"$ref": "#/$defs/__schema16"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"maxItems": 10000,
|
|
246
|
+
"type": "array",
|
|
247
|
+
"items": {
|
|
248
|
+
"$ref": "#/$defs/__schema16"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"flags": {
|
|
255
|
+
"maxItems": 10000,
|
|
256
|
+
"type": "array",
|
|
257
|
+
"items": {
|
|
258
|
+
"$ref": "#/$defs/__schema17"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"eventTargets": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"propertyNames": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"additionalProperties": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"maxLength": 256
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"weight": {
|
|
272
|
+
"anyOf": [
|
|
273
|
+
{
|
|
274
|
+
"type": "number"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "string",
|
|
278
|
+
"maxLength": 256
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"required": [
|
|
284
|
+
"id"
|
|
285
|
+
],
|
|
286
|
+
"additionalProperties": false
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"__schema16": {
|
|
290
|
+
"anyOf": [
|
|
291
|
+
{
|
|
292
|
+
"type": "string",
|
|
293
|
+
"maxLength": 16384
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "number"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "boolean"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "null"
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"__schema17": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"maxLength": 256
|
|
309
|
+
},
|
|
310
|
+
"__schema18": {
|
|
311
|
+
"maxItems": 10000,
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"$ref": "#/$defs/__schema19"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"__schema19": {
|
|
318
|
+
"type": "object",
|
|
319
|
+
"properties": {
|
|
320
|
+
"token": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"sourcePath": {
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
"state": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"enum": [
|
|
329
|
+
"true",
|
|
330
|
+
"false",
|
|
331
|
+
"unresolved"
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"localisationKey": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"unresolved": {
|
|
338
|
+
"type": "array",
|
|
339
|
+
"items": {
|
|
340
|
+
"type": "string"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"required": [
|
|
345
|
+
"token",
|
|
346
|
+
"sourcePath",
|
|
347
|
+
"state",
|
|
348
|
+
"unresolved"
|
|
349
|
+
],
|
|
350
|
+
"additionalProperties": false
|
|
351
|
+
},
|
|
352
|
+
"__schema20": {
|
|
197
353
|
"default": {},
|
|
198
354
|
"type": "object",
|
|
199
355
|
"propertyNames": {
|
|
@@ -203,7 +359,7 @@
|
|
|
203
359
|
"type": "number"
|
|
204
360
|
}
|
|
205
361
|
},
|
|
206
|
-
"
|
|
362
|
+
"__schema21": {
|
|
207
363
|
"default": {},
|
|
208
364
|
"type": "object",
|
|
209
365
|
"propertyNames": {
|
|
@@ -213,7 +369,7 @@
|
|
|
213
369
|
"type": "boolean"
|
|
214
370
|
}
|
|
215
371
|
},
|
|
216
|
-
"
|
|
372
|
+
"__schema22": {
|
|
217
373
|
"default": {},
|
|
218
374
|
"type": "object",
|
|
219
375
|
"propertyNames": {
|
|
@@ -227,7 +383,7 @@
|
|
|
227
383
|
}
|
|
228
384
|
}
|
|
229
385
|
},
|
|
230
|
-
"
|
|
386
|
+
"__schema23": {
|
|
231
387
|
"default": {},
|
|
232
388
|
"type": "object",
|
|
233
389
|
"propertyNames": {
|
|
@@ -237,15 +393,15 @@
|
|
|
237
393
|
"type": "string"
|
|
238
394
|
}
|
|
239
395
|
},
|
|
240
|
-
"
|
|
396
|
+
"__schema24": {
|
|
241
397
|
"default": {},
|
|
242
398
|
"$ref": "#/$defs/__schema13"
|
|
243
399
|
},
|
|
244
|
-
"
|
|
400
|
+
"__schema25": {
|
|
245
401
|
"default": {},
|
|
246
402
|
"$ref": "#/$defs/__schema13"
|
|
247
403
|
},
|
|
248
|
-
"
|
|
404
|
+
"__schema26": {
|
|
249
405
|
"default": {},
|
|
250
406
|
"type": "object",
|
|
251
407
|
"propertyNames": {
|
|
@@ -255,7 +411,7 @@
|
|
|
255
411
|
"type": "boolean"
|
|
256
412
|
}
|
|
257
413
|
},
|
|
258
|
-
"
|
|
414
|
+
"__schema27": {
|
|
259
415
|
"default": {},
|
|
260
416
|
"type": "object",
|
|
261
417
|
"propertyNames": {
|
|
@@ -265,7 +421,7 @@
|
|
|
265
421
|
"$ref": "#/$defs/__schema8"
|
|
266
422
|
}
|
|
267
423
|
},
|
|
268
|
-
"
|
|
424
|
+
"__schema28": {
|
|
269
425
|
"default": {},
|
|
270
426
|
"type": "object",
|
|
271
427
|
"propertyNames": {
|
|
@@ -277,7 +433,7 @@
|
|
|
277
433
|
"maximum": 9007199254740991
|
|
278
434
|
}
|
|
279
435
|
},
|
|
280
|
-
"
|
|
436
|
+
"__schema29": {
|
|
281
437
|
"default": {},
|
|
282
438
|
"type": "object",
|
|
283
439
|
"propertyNames": {
|
|
@@ -288,7 +444,7 @@
|
|
|
288
444
|
"minimum": 0
|
|
289
445
|
}
|
|
290
446
|
},
|
|
291
|
-
"
|
|
447
|
+
"__schema30": {
|
|
292
448
|
"default": {},
|
|
293
449
|
"type": "object",
|
|
294
450
|
"propertyNames": {
|
|
@@ -298,7 +454,7 @@
|
|
|
298
454
|
"type": "number"
|
|
299
455
|
}
|
|
300
456
|
},
|
|
301
|
-
"
|
|
457
|
+
"__schema31": {
|
|
302
458
|
"default": {},
|
|
303
459
|
"type": "object",
|
|
304
460
|
"propertyNames": {
|
|
@@ -308,7 +464,7 @@
|
|
|
308
464
|
"type": "number"
|
|
309
465
|
}
|
|
310
466
|
},
|
|
311
|
-
"
|
|
467
|
+
"__schema32": {
|
|
312
468
|
"default": {
|
|
313
469
|
"visible": [],
|
|
314
470
|
"hidden": [],
|
|
@@ -322,7 +478,7 @@
|
|
|
322
478
|
"maxItems": 10000,
|
|
323
479
|
"type": "array",
|
|
324
480
|
"items": {
|
|
325
|
-
"$ref": "#/$defs/
|
|
481
|
+
"$ref": "#/$defs/__schema33"
|
|
326
482
|
}
|
|
327
483
|
},
|
|
328
484
|
"hidden": {
|
|
@@ -330,33 +486,33 @@
|
|
|
330
486
|
"maxItems": 10000,
|
|
331
487
|
"type": "array",
|
|
332
488
|
"items": {
|
|
333
|
-
"$ref": "#/$defs/
|
|
489
|
+
"$ref": "#/$defs/__schema33"
|
|
334
490
|
}
|
|
335
491
|
},
|
|
336
492
|
"containedBy": {
|
|
337
493
|
"default": {},
|
|
338
494
|
"type": "object",
|
|
339
495
|
"propertyNames": {
|
|
340
|
-
"$ref": "#/$defs/
|
|
496
|
+
"$ref": "#/$defs/__schema33"
|
|
341
497
|
},
|
|
342
498
|
"additionalProperties": {
|
|
343
|
-
"$ref": "#/$defs/
|
|
499
|
+
"$ref": "#/$defs/__schema33"
|
|
344
500
|
}
|
|
345
501
|
},
|
|
346
502
|
"centeredOn": {
|
|
347
503
|
"default": {},
|
|
348
504
|
"type": "object",
|
|
349
505
|
"propertyNames": {
|
|
350
|
-
"$ref": "#/$defs/
|
|
506
|
+
"$ref": "#/$defs/__schema33"
|
|
351
507
|
},
|
|
352
508
|
"additionalProperties": {
|
|
353
|
-
"$ref": "#/$defs/
|
|
509
|
+
"$ref": "#/$defs/__schema33"
|
|
354
510
|
}
|
|
355
511
|
}
|
|
356
512
|
},
|
|
357
513
|
"additionalProperties": false
|
|
358
514
|
},
|
|
359
|
-
"
|
|
515
|
+
"__schema33": {
|
|
360
516
|
"type": "string",
|
|
361
517
|
"minLength": 1,
|
|
362
518
|
"maxLength": 256
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.0/schemas/helper-expansion-request.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"rootIds": {
|
|
7
|
+
"minItems": 1,
|
|
8
|
+
"maxItems": 2000,
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/$defs/__schema0"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"maxDepth": {
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"minimum": 1,
|
|
17
|
+
"maximum": 256
|
|
18
|
+
},
|
|
19
|
+
"maxRecords": {
|
|
20
|
+
"type": "integer",
|
|
21
|
+
"minimum": 1,
|
|
22
|
+
"maximum": 5000
|
|
23
|
+
},
|
|
24
|
+
"maxWork": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"minimum": 1,
|
|
27
|
+
"maximum": 100000
|
|
28
|
+
},
|
|
29
|
+
"continuationUri": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"maxLength": 8192,
|
|
33
|
+
"pattern": "^hoi4-agent:\\/\\/"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"$defs": {
|
|
38
|
+
"__schema0": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1,
|
|
41
|
+
"maxLength": 1024
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.0/schemas/helper-expansion-summary.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"complete": {
|
|
7
|
+
"type": "boolean"
|
|
8
|
+
},
|
|
9
|
+
"finished": {
|
|
10
|
+
"type": "boolean"
|
|
11
|
+
},
|
|
12
|
+
"sourceComplete": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"maxDepth": {
|
|
16
|
+
"$ref": "#/$defs/__schema0"
|
|
17
|
+
},
|
|
18
|
+
"records": {
|
|
19
|
+
"$ref": "#/$defs/__schema0"
|
|
20
|
+
},
|
|
21
|
+
"totalRecords": {
|
|
22
|
+
"$ref": "#/$defs/__schema0"
|
|
23
|
+
},
|
|
24
|
+
"work": {
|
|
25
|
+
"$ref": "#/$defs/__schema0"
|
|
26
|
+
},
|
|
27
|
+
"totalWork": {
|
|
28
|
+
"$ref": "#/$defs/__schema0"
|
|
29
|
+
},
|
|
30
|
+
"completedRoots": {
|
|
31
|
+
"$ref": "#/$defs/__schema0"
|
|
32
|
+
},
|
|
33
|
+
"totalRoots": {
|
|
34
|
+
"$ref": "#/$defs/__schema0"
|
|
35
|
+
},
|
|
36
|
+
"cycles": {
|
|
37
|
+
"$ref": "#/$defs/__schema0"
|
|
38
|
+
},
|
|
39
|
+
"depthStops": {
|
|
40
|
+
"$ref": "#/$defs/__schema0"
|
|
41
|
+
},
|
|
42
|
+
"continuationUri": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"maxLength": 8192,
|
|
45
|
+
"pattern": "^hoi4-agent:\\/\\/"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"complete",
|
|
50
|
+
"finished",
|
|
51
|
+
"sourceComplete",
|
|
52
|
+
"maxDepth",
|
|
53
|
+
"records",
|
|
54
|
+
"totalRecords",
|
|
55
|
+
"work",
|
|
56
|
+
"totalWork",
|
|
57
|
+
"completedRoots",
|
|
58
|
+
"totalRoots",
|
|
59
|
+
"cycles",
|
|
60
|
+
"depthStops"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"$defs": {
|
|
64
|
+
"__schema0": {
|
|
65
|
+
"type": "integer",
|
|
66
|
+
"minimum": 0,
|
|
67
|
+
"maximum": 9007199254740991
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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.0
|
|
2
|
+
"$id": "https://github.com/klimPaskov/hoi4-agent-tools/blob/v3.1.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": {
|
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": "Analyze HOI4 events, tech trees, AI weights, and MTTH; build focus trees, GUIs, and maps.",
|
|
6
|
-
"version": "3.0
|
|
6
|
+
"version": "3.1.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.0
|
|
16
|
+
"version": "3.1.0",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|